/* Homepage enhancements: testimonials, package comparison matrix,
   desktop sticky CTA. Uses existing design tokens from styles.css.
   Isolated to avoid touching the main stylesheet. */

/* ---- Testimonials ---- */
.testimonials {
  padding: clamp(3rem, 6vw, 5.5rem) clamp(1.25rem, 5vw, 4rem);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.testimonials .section-heading {
  max-width: 720px;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.testimonials .section-heading .eyebrow {
  color: var(--teal);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(1rem, 2.4vw, 1.6rem);
  max-width: 1120px;
  margin: 0 auto;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 2.4vw, 1.9rem);
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.05);
}

.testimonial-card .quote-mark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.6rem;
  line-height: 0.6;
  color: var(--coral);
  margin-bottom: 0.4rem;
}

.testimonial-card blockquote {
  margin: 0 0 1.25rem;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--ink);
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--paper);
}

.testimonial-author .ta-name {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
}

.testimonial-author .ta-role {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.35;
}

.testimonial-author .ta-role a {
  color: var(--teal);
  text-decoration: none;
}

.testimonial-author .ta-role a:hover {
  text-decoration: underline;
}

.testimonials-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  margin: clamp(1.5rem, 3vw, 2.25rem) auto 0;
  max-width: 640px;
}

/* ---- Logo wall ---- */
.logo-wall {
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.25rem, 5vw, 4rem);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.logo-wall-heading {
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 clamp(1.5rem, 3vw, 2.25rem);
}

.logo-wall-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(0.75rem, 2vw, 1.5rem);
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}

@media (max-width: 760px) {
  .logo-wall-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

.logo-wall-grid li {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem;
  min-height: 64px;
}

.logo-wall-grid img {
  max-width: 100%;
  max-height: 46px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.62;
  transition: filter 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.logo-wall-grid img:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.04);
}

/* ---- Package comparison matrix ---- */
.pricing-compare {
  max-width: 980px;
  margin: clamp(2rem, 4vw, 3rem) auto 0;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

.pricing-compare-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.pricing-compare table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.pricing-compare caption {
  caption-side: top;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
}

.pricing-compare th,
.pricing-compare td {
  padding: 0.85rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

.pricing-compare thead th {
  background: var(--paper);
  color: var(--ink);
  font-size: 0.95rem;
  vertical-align: top;
  position: sticky;
  top: 0;
}

.pricing-compare thead th .pc-price {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal);
}

.pricing-compare thead th.pc-feature-head {
  background: transparent;
}

.pricing-compare th[scope="row"] {
  text-align: left;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}

.pricing-compare tbody tr:nth-child(even) td,
.pricing-compare tbody tr:nth-child(even) th[scope="row"] {
  background: rgba(15, 118, 110, 0.03);
}

.pricing-compare .pc-emph {
  background: rgba(239, 106, 90, 0.06);
}

.pricing-compare thead th.pc-emph {
  background: rgba(239, 106, 90, 0.12);
}

.pricing-compare .pc-badge {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: var(--coral);
  border-radius: 999px;
  padding: 2px 9px;
}

.pricing-compare .pc-yes {
  color: var(--teal);
  font-weight: 700;
}

.pricing-compare .pc-no {
  color: rgba(17, 24, 39, 0.28);
}

.pricing-compare tfoot td {
  padding-top: 1.1rem;
}

.pricing-compare .pc-cta {
  border-bottom: none;
}

/* ---- Desktop sticky CTA ---- */
.desktop-sticky-cta {
  display: none;
}

@media (min-width: 861px) {
  .desktop-sticky-cta {
    position: fixed;
    z-index: 35;
    right: 22px;
    bottom: 22px;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.15rem;
    border-radius: 999px;
    background: var(--coral);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 14px 34px rgba(239, 106, 90, 0.4);
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, background 0.18s ease;
  }

  /* Reveal once the hero is scrolled past; hide again near the brief/footer. */
  body.scrolled-past-hero .desktop-sticky-cta {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  body.brief-in-view .desktop-sticky-cta,
  body.footer-in-view .desktop-sticky-cta {
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
  }

  .desktop-sticky-cta:hover {
    background: #e15848;
  }

  .desktop-sticky-cta::before {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 0 6px 10px;
    border-color: transparent transparent transparent #fff;
  }
}

/* Packages reassurance band */
.package-assurance {
  max-width: 980px;
  margin: clamp(2rem, 4vw, 3rem) auto 0;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: 18px;
  background: linear-gradient(120deg, rgba(15, 118, 110, 0.07), rgba(239, 106, 90, 0.07));
}
.package-assurance > strong {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.9rem;
}
.package-assurance ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 1.5rem;
}
@media (max-width: 640px) {
  .package-assurance ul { grid-template-columns: 1fr; }
}
.package-assurance li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--ink);
}
.package-assurance li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--teal);
  font-weight: 700;
}

/* ============================================================
   Hero featured video card (replaces decorative reel)
   ============================================================ */
.hero-featured-wrap {
  position: absolute;
  z-index: 2;
  right: clamp(18px, 6vw, 88px);
  bottom: 84px;
  width: min(36vw, 460px);
}

.hero-featured {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(12, 21, 28, 0.55);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
  cursor: pointer;
  text-align: left;
  backdrop-filter: blur(10px);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.hero-featured:hover,
.hero-featured:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: 0 34px 84px rgba(0, 0, 0, 0.5);
  outline: none;
}

.hero-featured-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.hero-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.hero-featured:hover .hero-featured-media img,
.hero-featured:focus-visible .hero-featured-media img {
  transform: scale(1.05);
}

.hero-featured-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 64px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(239, 106, 90, 0.94);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.22s ease, background 0.22s ease;
}

.hero-featured-play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent #fff;
}

.hero-featured:hover .hero-featured-play,
.hero-featured:focus-visible .hero-featured-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: #ef6a5a;
}

.hero-featured-bar {
  display: grid;
  gap: 3px;
  padding: 14px 18px 16px;
  background: linear-gradient(180deg, rgba(16, 24, 39, 0.2), rgba(16, 24, 39, 0.62));
}

.hero-featured-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f2b84b;
}

.hero-featured-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

/* Tidy hero proportions now that metrics + reel changed.
   Give the left copy room and keep it clear of the featured card. */
@media (min-width: 981px) {
  .hero .hero-content {
    max-width: min(54%, 640px);
    padding-bottom: 8px;
  }
}

/* Stack the featured card under the copy on narrower screens. */
@media (max-width: 980px) {
  .hero-featured-wrap {
    position: static;
    width: 100%;
    max-width: 460px;
    margin: 28px 0 4px;
  }
}

/* ============================================================
   Premium contact / brief section redesign
   ============================================================ */
.brief-section.brief-section--card {
  display: block;
  background: none;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1rem, 5vw, 4rem);
}

.brief-section.brief-section--card::before,
.brief-section.brief-section--card::after {
  content: none;
}

/* Turn the section itself into a single premium rounded band. */
.brief-section.brief-section--card {
  position: relative;
  max-width: 1120px;
  margin: clamp(2rem, 5vw, 4rem) auto;
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 12%, rgba(15, 118, 110, 0.10), transparent 40%),
    radial-gradient(circle at 92% 88%, rgba(239, 106, 90, 0.10), transparent 42%),
    linear-gradient(135deg, rgba(15, 118, 110, 0.06), rgba(239, 106, 90, 0.06)),
    #ffffff;
  border: 1px solid rgba(15, 118, 110, 0.14);
  box-shadow: 0 30px 80px rgba(17, 24, 39, 0.12);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(2rem, 4.5vw, 3.75rem);
}

@media (max-width: 820px) {
  .brief-section.brief-section--card {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: clamp(1.5rem, 6vw, 2.5rem);
  }
}

.brief-section.brief-section--card .brief-copy .eyebrow {
  color: var(--teal);
}

.brief-section.brief-section--card .brief-copy h2 {
  color: var(--ink);
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  line-height: 1.12;
  margin: 0.4rem 0 0.85rem;
}

.brief-section.brief-section--card .brief-copy > p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 0 1.75rem;
  max-width: 42ch;
}

.brief-reassure {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.brief-reassure li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}

.brief-reassure-mark {
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), #0d9488);
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.3);
}

.brief-reassure-mark::before {
  content: "\2713";
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1;
}

/* Form card on the right */
.brief-section.brief-section--card .brief-form {
  margin: 0;
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 18px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: 0 18px 50px rgba(17, 24, 39, 0.1);
}

.brief-section.brief-section--card .brief-form .button.primary {
  background: linear-gradient(135deg, var(--teal) 0%, var(--coral) 130%);
  border: none;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(239, 106, 90, 0.32);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.brief-section.brief-section--card .brief-form .button.primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 16px 38px rgba(239, 106, 90, 0.42);
}

.brief-section.brief-section--card .brief-submit-context {
  color: var(--muted);
}

/* Utility: accessible hidden heading kept for aria-labelledby */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
