/* Components - Buttons, Cards, Forms, and Reusable Elements */

/* Button System */
.btn {
  display: inline-block;
  padding: 1.25rem 3rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--color-gold);
  background: none;
  color: var(--color-text-light);
  cursor: pointer;
  transition: all var(--transition-medium);
  text-align: center;
}

.btn-primary {
  background: var(--color-gold);
  color: var(--color-dark-primary);
  border-color: var(--color-gold);
}

.btn-primary:hover {
  background: var(--color-gold-hover);
  border-color: var(--color-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(160, 113, 75, 0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--color-gold);
  border-color: var(--color-gold);
}

.btn-secondary:hover {
  background: rgba(160, 113, 75, 0.1);
  transform: translateY(-2px);
}

.btn-large {
  padding: 1.5rem 4rem;
  font-size: 1rem;
}

.btn-small {
  padding: 0.875rem 2rem;
  font-size: 0.875rem;
}

.cta-group {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Card System */
.card {
  display: block;
  background: var(--color-dark-secondary);
  border: 1px solid var(--color-dark-tertiary);
  color: inherit;
  padding: 3rem;
  text-decoration: none;
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.card:visited,
.card:hover,
.card:focus {
  color: inherit;
  text-decoration: none;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--color-gold);
  transition: height var(--transition-medium);
}

.card:hover {
  transform: translateY(-8px);
  border-color: var(--color-gold);
  box-shadow: 0 20px 40px rgba(61, 46, 38, 0.15);
}

.card:hover::before {
  height: 100%;
}

.card h3 {
  color: var(--color-gold);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.card p {
  color: var(--color-text-medium);
  line-height: 1.8;
}

/* Light Card Variant */
.card-light {
  background: var(--color-light-secondary);
  border-color: #B8A896;
  box-shadow: 0 4px 15px rgba(61, 46, 38, 0.05);
}

.card-light h3 {
  color: var(--color-text-dark);
}

.card-light p {
  color: #8B7968;
}

.card-light::before {
  height: 100%;
}

.card-light:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(61, 46, 38, 0.12);
  border-color: var(--color-gold);
}

.card-icon {
  color: var(--color-gold);
  margin-bottom: 1.25rem;
  display: block;
}

.card-collab {
  display: flex;
  flex-direction: column;
  padding: 2rem 2.25rem;
}

/* Background follows whichever section the card sits in — white on
 * .section-light, the usual beige on .section-dark — instead of always
 * being the fixed beige from the shared .card base. Same idea as
 * .svc-card on the services page. Scoped to .card-collab specifically so
 * it doesn't touch .card's other uses across the site (References,
 * Craft, etc). */
.section-light .card-collab {
  background: var(--color-light-secondary);
}
.section-dark .card-collab {
  background: var(--color-dark-secondary);
}

.card-collab p {
  flex: 1;
  margin-bottom: 0;
}

.card-collab .btn {
  margin-top: 1.75rem;
  align-self: flex-start;
  /* Same scale as .btn-small — the default .btn padding (1.25rem 3rem)
   * reads oversized against a card this compact. */
  padding: 0.875rem 2rem;
  font-size: 0.875rem;
}

/* Photo cards go side-by-side (image left, text right) instead of
 * stacking the image above the text like the icon variant — a fixed-size
 * image in a column layout either left empty space beside it (too small)
 * or had to go full-card-width to fill that space (too big). A row
 * layout lets the image stay a modest, fixed size because the text fills
 * the space beside it instead of below it. */
.card-collab--photo {
  flex-direction: row;
  align-items: flex-start;
  gap: 1.75rem;
}

.card-collab__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

/* Square on purpose — the source photos are all 1:1 (1254x1254) close-up
 * process shots, so a square frame shows the whole photo with no crop (a
 * wide landscape box, tried earlier, cut off the subject). Same gold-top
 * accent + soft shadow used on .svc-card, so it reads as a considered
 * "premium" photo rather than a plain-bordered thumbnail. */
.card-collab__image-wrap {
  flex-shrink: 0;
  width: 140px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-top: 3px solid var(--color-gold);
  box-shadow: 0 10px 30px rgba(61, 46, 38, 0.15), 0 2px 8px rgba(61, 46, 38, 0.08);
}

.card-collab__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.card:hover .card-collab__image {
  transform: scale(1.05);
}


/* Service/Model Card */
.model-card {
  background: linear-gradient(135deg, var(--color-dark-primary) 0%, var(--color-dark-secondary) 100%);
  border: 2px solid var(--color-dark-tertiary);
  border-left: 4px solid var(--color-gold);
  padding: 3rem;
  margin-bottom: 2rem;
}

.model-card h3 {
  color: var(--color-gold);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.model-card h4 {
  color: var(--color-gold);
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
}

.model-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.detail-item {
  padding: 1.5rem;
  background: rgba(184, 168, 150, 0.2);
  border-left: 3px solid var(--color-gold);
}

.detail-item h4 {
  color: var(--color-gold);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.detail-item p {
  color: var(--color-text-medium);
  line-height: 1.8;
}

/* Event Card */
.event-card {
  background: var(--color-dark-primary);
  border: 1px solid var(--color-dark-tertiary);
  padding: 2rem;
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 2rem;
  align-items: center;
  transition: all var(--transition-medium);
}

.event-card:hover {
  border-color: var(--color-gold);
  transform: translateX(5px);
}

.event-date {
  text-align: center;
  border-right: 2px solid var(--color-gold);
  padding-right: 2rem;
}

.event-day {
  font-size: 3rem;
  color: var(--color-gold);
  font-weight: 300;
  font-family: var(--font-display);
  line-height: 1;
}

.event-month {
  color: var(--color-text-medium);
  font-size: 1.1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.event-details h4 {
  color: var(--color-gold);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.event-location {
  color: var(--color-text-medium);
}

/* Form Elements */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
  letter-spacing: 0.75px;
  text-transform: uppercase;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: var(--color-dark-primary);
  border: 1px solid var(--color-dark-tertiary);
  color: var(--color-text-light);
  font-size: 1rem;
  font-family: var(--font-body);
  transition: all var(--transition-medium);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(160, 113, 75, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.form-error {
  color: #ff6b6b;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: none;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: #ff6b6b;
}

.form-group.error .form-error {
  display: block;
}

.checkbox-group {
  display: flex;
  align-items: start;
  gap: 0.5rem;
}

.checkbox-group input {
  width: auto;
  margin-top: 0.3rem;
  accent-color: var(--color-gold);
}

/* Multi-step Form */
.form-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
  position: relative;
}

.form-steps::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-dark-tertiary);
  z-index: 0;
}

.form-step-indicator {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-dark-tertiary);
  border: 2px solid var(--color-dark-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--color-text-medium);
  position: relative;
  z-index: 1;
  transition: all var(--transition-medium);
}

.form-step-indicator.active {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-dark-primary);
}

.form-step-indicator.completed {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-dark-primary);
}

.form-step-content {
  display: none;
}

.form-step-content.active {
  display: block;
}

/* Partner Logo Grid */
.partner-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.5rem 4rem;
  margin: 3rem 0;
}

.partner-logo {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(100%);
  opacity: 0.4;
  transition: all var(--transition-medium);
}

.partner-logo__img {
  height: 100%;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
}

.partner-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Process Steps */
.process-steps {
  display: flex;
  justify-content: space-between;
  margin: 3rem 0;
  position: relative;
  flex-wrap: wrap;
  gap: 2rem;
}

.process-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
  min-width: 150px;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--color-gold);
  color: var(--color-dark-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 auto 1rem;
  font-family: var(--font-display);
}

.step-title {
  color: var(--color-gold);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.75px;
}

.step-desc {
  color: var(--color-text-medium);
  font-size: 0.9375rem;
}

/* FAQ Accordion */
.faq-list {
  border-top: 1px solid var(--color-dark-tertiary);
  margin-top: 2.5rem;
}

.faq-item {
  border-bottom: 1px solid var(--color-dark-tertiary);
}

.faq-question {
  all: unset;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  cursor: pointer;
  padding: 1.5rem 0;
  color: #875F3E;
  font-size: 1.125rem;
  font-weight: 400;
  font-family: var(--font-display);
  letter-spacing: 0.15px;
  gap: 1.5rem;
  text-align: left;
  transition: opacity 0.2s ease;
}

.faq-question:hover {
  opacity: 0.8;
}

.faq-question:focus-visible {
  outline: 2px solid #875F3E;
  outline-offset: 4px;
  border-radius: 2px;
}

.faq-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.faq-icon::before {
  width: 100%;
  height: 1.5px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.faq-icon::after {
  width: 1.5px;
  height: 100%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.faq-item.is-open .faq-icon::after {
  opacity: 0;
  transform: translateX(-50%) scaleY(0);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s ease;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer-body {
  padding-bottom: 1.75rem;
  color: var(--color-text-medium);
  line-height: 1.85;
  font-size: 0.9375rem;
}

.faq-answer-body p {
  margin-bottom: 0.875rem;
}

.faq-answer-body p:last-child {
  margin-bottom: 0;
}

.faq-answer-body ul,
.faq-answer-body ol {
  margin: 0.25rem 0 0.875rem 1.25rem;
}

.faq-answer-body li {
  margin-bottom: 0.25rem;
}

.faq-answer-body a,
.faq-link {
  color: var(--color-gold) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
  transition: color var(--transition-medium);
}

.faq-answer-body a:hover,
.faq-link:hover {
  color: var(--color-gold-hover) !important;
}

.faq-video {
  margin-top: 1.25rem;
  aspect-ratio: 16 / 9;
  background: var(--color-dark-tertiary);
  border-radius: 2px;
  overflow: hidden;
}

.faq-video iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Image with Caption */
.image-block {
  position: relative;
  overflow: hidden;
}

.image-block img {
  width: 100%;
  height: auto;
  display: block;
  filter: contrast(1.05) brightness(0.98);
  transition: transform 0.5s ease;
}

.image-block:hover img {
  transform: scale(1.05);
}

.image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(61, 46, 38, 0.9), transparent);
  color: var(--color-text-light);
  padding: 2rem 1.5rem 1rem;
  font-size: 0.875rem;
  letter-spacing: 0.5px;
}

/* Responsive Components */
@media (max-width: 768px) {
  .btn {
    padding: 1rem 2rem;
    font-size: 0.875rem;
  }

  .card {
    padding: 2rem;
  }

  .model-card {
    padding: 2rem;
  }

  .event-card {
    grid-template-columns: 1fr;
  }

  .event-date {
    border-right: none;
    border-bottom: 2px solid var(--color-gold);
    padding-right: 0;
    padding-bottom: 1rem;
  }

  .model-details {
    grid-template-columns: 1fr;
  }

  .process-steps {
    flex-direction: column;
    align-items: center;
  }

}

@media (max-width: 640px) {
  .cta-group {
    flex-direction: column;
    gap: 1rem;
  }

  .btn {
    width: 100%;
  }
}

/* Special Projects highlight block */
.special-projects__title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--color-gold);
  letter-spacing: 1.5px;
  margin-bottom: 1.5rem;
}

.special-projects__text {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.85;
  margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
  .special-projects__title {
    font-size: 1.75rem;
  }

  .special-projects__text {
    font-size: 1rem;
  }
}

.section--includes .grid-4 {
  padding-top: 2.25rem;;
  gap: 1.25rem;
}

.section--includes .card {
  padding: 1.75rem 2rem;
}

.section-cta {
  text-align: center;
  margin-top: 3rem;
}

.section-cta .btn {
  padding-left: 2.25rem;
  padding-right: 2.25rem;
}

/* Why Brands Choose PGI */
.section--why .section-title {
  font-size: 2.2rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem 1.25rem;
  margin-top: 2.5rem;
}
.why-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}
.why-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}
/* Card grid — every card-style block on the services page (Includes, CMT,
 * White Label, Private Label, Karma Collection, Development & Sampling,
 * Innovation, Development & Support Services) uses one of these column
 * counts, with identical gap/margin/breakpoints, instead of each section
 * having its own one-off wrapper. Deliberately NOT the sitewide .grid-2/
 * .grid-3 utilities (used on other pages) — those collapse to a single
 * column already at 1024px, which is too eager for a card grid and was
 * making Private Label / Karma stack while everything else stayed
 * multi-column. This one collapses at the same breakpoints as the rest
 * of the services page. */
.svc-grid {
  display: grid;
  gap: 2.5rem;
  margin-top: 2.5rem;
}
.svc-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.svc-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
/* auto-fit (not a fixed repeat(4,1fr)): with exactly 4 cards this still
 * fills the row as 4 even columns, but if a 5th (or 6th) card gets added
 * later it reflows to fit them evenly in the row instead of stranding one
 * narrow orphan card — no template/CSS change needed when the card count
 * changes. Below 1024px the media queries still force an explicit column
 * count for predictable stacking. */
.svc-grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* Unified content card — the one card style used across every card-style
 * block on the services page. Transparent by default so it always shows
 * through to whatever section it's placed in (works on both the white
 * .section-light and beige .section-dark "Latte" sections without needing
 * a per-section override) — definition comes from the border, top gold
 * accent and shadow, not a fill color.
 * (Not used on the homepage — index.html's .why-card/.card-collab
 * sections keep their own look, untouched by this rule.) */
.svc-card {
  background: transparent;
  border: 1px solid var(--color-dark-tertiary);
  border-top: 3px solid var(--color-gold);
  padding: 2rem 1.75rem 2.25rem;
  box-shadow: 0 2px 20px rgba(61, 46, 38, 0.07), 0 1px 4px rgba(61, 46, 38, 0.04);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.svc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 40px rgba(61, 46, 38, 0.13);
  border-color: var(--color-gold);
}
.svc-card__num {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-gold);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.svc-card__title {
  font-weight: 600;
  color: var(--color-text-dark);
  font-size: 0.9375rem;
}
.svc-card__text {
  font-size: 0.8125rem;
  color: #7A6A5A;
  line-height: 1.75;
}

/* On white (.section-light) sections the gold accent moves to the left
 * edge instead of the top — CMT, Private Label, Development & Sampling,
 * Development & Support Services. Beige (.section-dark) sections keep the
 * default top accent. */
.section-light .svc-card {
  border-top: 1px solid var(--color-dark-tertiary);
  border-left: 3px solid var(--color-gold);
}

/* CMT Manufacturing cards — same svc-grid-4/svc-card as Includes and White
 * Label, just sized up: with no number badge, CMT's cards read visually
 * smaller than their neighbors at the same padding, so this bumps padding,
 * title size and minimum height without affecting the other svc-grid-4
 * sections. */
.section--cmt .svc-card {
  padding: 2.5rem 2rem 2.75rem 1.75rem;
  min-height: 190px;
}
.section--cmt .svc-card__title {
  font-size: 1.0625rem;
}
.section--cmt .svc-card__text {
  font-size: 0.875rem;
}

.why-card {
  background: #ffffff;
  border: 1px solid #E0D9CF;
  border-top: 3px solid var(--color-gold);
  padding: 1.375rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.why-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(61, 46, 38, 0.11);
  border-color: var(--color-gold);
}

.why-card__icon {
  color: #B8843F;
  line-height: 0;
  margin-bottom: 0.25rem;
}

.why-card__icon svg {
  stroke-width: 1.75;
}

.why-card__title {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.25px;
  color: var(--color-text-dark);
  margin: 0;
}

.why-card__text {
  font-size: 0.8125rem;
  color: #7A6A5A;
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Final CTA trust bar */
.final-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 2.5rem;
}

.final-trust__item {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.final-trust__divider {
  color: var(--color-gold);
  font-size: 0.875rem;
  opacity: 0.6;
}

@media (max-width: 640px) {
  .final-trust__divider {
    display: none;
  }

  .final-trust {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Meet Us in Person */
.meet-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.meet-card {
  background: var(--color-dark-primary);
  border: 1px solid var(--color-dark-tertiary);
  border-top: 3px solid var(--color-gold);
  padding: 2.25rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.meet-card__icon {
  color: var(--color-gold);
  line-height: 0;
}

.meet-card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-gold);
  margin: 0;
  letter-spacing: 0.5px;
}

.meet-card__text {
  font-size: 0.9375rem;
  color: var(--color-text-medium);
  line-height: 1.75;
  margin: 0;
  flex: 1;
}

.meet-card__cta {
  align-self: flex-start;
  margin-top: 0.5rem;
}

@media (max-width: 640px) {
  .meet-grid {
    grid-template-columns: 1fr;
  }
}

/* Reference Category Cards */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 0;
}

.ref-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.ref-card__img-wrap {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--color-dark-secondary);
}

.ref-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(75%);
  transition: filter 0.45s ease, transform 0.45s ease;
}

.ref-card:hover .ref-card__image {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.ref-card__body {
  margin-top: 1rem;
  padding-top: 0.875rem;
  padding-bottom: 0.25rem;
  border-top: 1px solid var(--color-gold);
}

.ref-card__title {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-dark);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.ref-card__desc {
  font-size: 0.75rem;
  color: #8B7968;
  line-height: 1.6;
  margin: 0;
}

.ref-cta {
  text-align: center;
  margin-top: 2.5rem;
}

@media (max-width: 900px) {
  .ref-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .ref-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

/* Video Modal */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-modal[hidden] {
  display: none;
}

.video-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
}

.video-modal__box {
  position: relative;
  z-index: 1;
  background: var(--color-dark-primary);
  border: 1px solid var(--color-dark-tertiary);
  width: min(720px, 92vw);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-modal__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.video-modal__close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
  opacity: 0.75;
  transition: opacity var(--transition-medium);
}

.video-modal__close:hover {
  opacity: 1;
}

/* ============================================
   SERVICES PAGE — RESPONSIVE
   ============================================ */

/* Tablet: 1024px */
@media (max-width: 1024px) {
  .svc-grid-3,
  .svc-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile: 768px */
@media (max-width: 768px) {
  .why-grid {
    grid-template-columns: 1fr;
  }

  .svc-grid-2,
  .svc-grid-3,
  .svc-grid-4 {
    grid-template-columns: 1fr;
  }

  .svc-card {
    padding: 1.5rem 1.25rem 1.75rem;
  }
}

/* Small mobile: 480px */
@media (max-width: 480px) {
  .svc-grid {
    margin-top: 2rem;
  }

  .section-cta .btn {
    width: 100%;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
