/* Additions on top of the supplied template CSS (css/style.css stays untouched
   so the template can be re-synced): real webfonts, motion and interaction
   polish, plus styling for the parts the template did not have. */

/* ---------- Real webfonts ----------
   Replaces the template's 1.9 MB of .otf files — one of which (its
   "Baskerville") was a Greek face missing 37 Latin letters. These are the
   genuine variable fonts, self-hosted, 87 KB for both, and font-display: swap
   so text is never invisible while they load. */
@font-face {
  font-family: 'Inter Site';
  src: url('../assets/fonts/inter-variable-latin.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Playfair Site';
  src: url('../assets/fonts/playfair-variable-latin.woff2') format('woff2-variations');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: 'Inter Site', 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main h1,
main h2,
.service-content h3,
.result-video h3,
.expert-signature,
.testimonial-layout blockquote,
.faq-item summary {
  font-family: 'Playfair Site', Georgia, 'Times New Roman', serif;
}

/* The template sets these headings at Inter's weights; Playfair needs less. */
main h2 {
  font-weight: 500;
}

.hero h1 {
  letter-spacing: -.015em;
}

.section-head h2,
.why-us h2,
.consultation h2,
.products h2 {
  letter-spacing: -.01em;
}

.faq-item summary {
  font-size: 18px;
  font-weight: 500;
}

/* The template only sizes h2 inside .section-head/.why-us/.consultation/
   .products, so the Expertise and Testimonial headings fell back to the
   browser default (~28px) and read as sub-headings. Match the rest. */
.expert-copy h2,
.testimonial-layout h2 {
  font-size: clamp(30px, 3.4vw, 47px);
  line-height: 1.05;
  margin: 0 0 14px;
}

/* ---------- "Qavi At Work" strip ----------
   The template styles each strip image as one full-width band 115px tall,
   which only works for a pre-composed wide collage. Real photographs — these
   are portrait phone shots — need to sit side by side as cards. */
.celeb-track {
  overflow-x: auto;
  justify-content: center;
  gap: 16px;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

.celeb-track::-webkit-scrollbar {
  display: none;
}

.celeb-track img {
  flex: 0 0 auto;
  width: auto;
  height: 340px;
  max-width: 100%;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 6px;
  scroll-snap-align: center;
}

@media (max-width: 640px) {
  .celeb-track img {
    height: 260px;
  }
}

/* Sticky header sits over anchor targets — offset every scroll destination. */
html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 90px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.form-status,
.form-error {
  max-width: 720px;
  margin: 0 auto 18px;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.5;
  list-style: none;
}

.form-status {
  background: #f2f6ee;
  border: 1px solid #c9d8bb;
  color: #33471f;
}

.form-error {
  background: #fdf1f1;
  border: 1px solid #e6bcbc;
  color: #7d2b2b;
}

.form-error li + li {
  margin-top: 6px;
}

.footer .form-status,
.footer .form-error {
  max-width: none;
  margin: 10px 0 0;
  padding: 8px 12px;
  font-size: 13px;
}

/* ---------- Motion: scroll reveals ----------
   Elements marked data-reveal start hidden and animate in once, when they first
   enter the viewport. --d staggers siblings. Nothing is hidden without JS: the
   no-js class never gets removed, so content stays visible if scripts fail. */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.22, .61, .36, 1), transform .7s cubic-bezier(.22, .61, .36, 1);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}

[data-reveal='left'] {
  transform: translateX(-30px);
}

[data-reveal='right'] {
  transform: translateX(30px);
}

[data-reveal='scale'] {
  transform: scale(.96);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.no-js [data-reveal] {
  opacity: 1;
  transform: none;
}

/* ---------- Header: condenses and lifts on scroll ---------- */
.site-header {
  transition: height .3s ease, box-shadow .3s ease, background-color .3s ease;
  backdrop-filter: saturate(180%) blur(8px);
}

.site-header.is-scrolled {
  height: 64px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 6px 24px rgba(16, 19, 19, .08);
}

.site-header.is-scrolled .brand img {
  transform: scale(.9);
}

.brand img {
  transition: transform .3s ease;
}

/* Nav links: gold rule that grows from the centre, and marks the section you
   are actually looking at. */
.main-nav a {
  position: relative;
  transition: color .2s ease;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: -6px;
  height: 2px;
  background: var(--gold);
  transition: left .25s ease, right .25s ease;
}

.main-nav a:hover,
.main-nav a.is-current {
  color: var(--olive);
}

.main-nav a:hover::after,
.main-nav a.is-current::after {
  left: 0;
  right: 0;
}

/* ---------- Reading progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--gold), #e2c98d);
  z-index: 60;
  pointer-events: none;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease, color .22s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(16, 19, 19, .16);
}

.btn:active {
  transform: translateY(0);
}

/* Light sweep across the gold button on hover. */
.btn-gold::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-18deg);
  transition: left .55s ease;
}

.btn-gold:hover::before {
  left: 120%;
}

/* ---------- Cards ---------- */
.service-card {
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 18px 40px rgba(16, 19, 19, .12);
}

.service-card img {
  transition: transform .6s cubic-bezier(.22, .61, .36, 1);
}

.service-card:hover img {
  transform: scale(1.06);
}

.service-content a {
  display: inline-block;
  transition: transform .25s ease, color .25s ease;
}

.service-card:hover .service-content a {
  transform: translateX(4px);
  color: var(--gold);
}

.result-video,
.ba-card {
  transition: transform .35s ease, box-shadow .35s ease;
}

.result-video:hover,
.ba-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(16, 19, 19, .18);
}

.ba-card img {
  transition: transform .7s cubic-bezier(.22, .61, .36, 1);
}

.ba-card:hover img {
  transform: scale(1.07);
}

.celeb-track img {
  transition: transform .4s ease, filter .4s ease;
  filter: grayscale(.25);
}

.celeb-track img:hover {
  transform: scale(1.03);
  filter: grayscale(0);
}

.why-grid > div {
  transition: transform .3s ease;
}

.why-grid > div:hover {
  transform: translateY(-4px);
}

.why-grid b {
  transition: color .3s ease;
}

.why-grid > div:hover b {
  color: var(--gold);
}

/* Hero thumbnails */
.video-mini {
  transition: transform .3s ease, box-shadow .3s ease;
}

.video-mini:hover {
  transform: translateX(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .35);
}

/* Trust numbers: counted up by site.js, so keep them from reflowing. */
.trust-grid strong {
  font-variant-numeric: tabular-nums;
  transition: color .3s ease;
}

.trust-grid > div:hover strong {
  color: var(--gold);
}

/* Form fields */
.contact-form input,
.contact-form select,
.contact-form textarea {
  transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 154, 75, .18);
}

/* ---------- Respect the user's motion preference ---------- */
@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  [data-reveal].is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover,
  .service-card:hover,
  .result-video:hover,
  .ba-card:hover,
  .why-grid > div:hover,
  .video-mini:hover {
    transform: none;
  }

  .service-card:hover img,
  .ba-card:hover img,
  .celeb-track img:hover {
    transform: none;
  }

  .btn-gold::before,
  .scroll-progress {
    display: none;
  }

  .wa-float {
    animation: none;
  }
}

/* Floating WhatsApp button, as on faremaster. Green is WhatsApp's own brand
   colour and is kept deliberately — it is what users recognise. */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, .45);
  z-index: 99;
  transition: transform .2s;
}

.wa-float:hover,
.wa-float:focus-visible {
  transform: scale(1.06);
  color: #fff;
}

.wa-float:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* Slow attention pulse — one ring, not a distraction. */
.wa-float::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: wa-pulse 2.8s ease-out infinite;
}

@keyframes wa-pulse {
  0% { transform: scale(1); opacity: .7; }
  70% { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

@media (max-width: 640px) {
  .wa-float {
    bottom: 16px;
    right: 16px;
    width: 52px;
    height: 52px;
  }
}

/* WhatsApp link inside the contact card. */
.contact-item .wa-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #128c4a;
  font-weight: 500;
}

.contact-item .wa-link:hover {
  text-decoration: underline;
}

/* FAQ accordion. Native <details>/<summary> — keyboard accessible, no JS, and
   the answers stay in the HTML for crawlers even while collapsed. */
.faq-section {
  background: var(--cream);
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  background: var(--white);
  border-radius: 10px;
  margin-bottom: 12px;
  box-shadow: 0 1px 2px rgba(16, 19, 19, .04);
}

.faq-item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  flex: none;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  color: var(--gold);
  transition: transform .2s;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item summary:hover {
  color: var(--olive);
}

.faq-item summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
  border-radius: 10px;
}

.faq-item .faq-answer {
  padding: 0 24px 22px;
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
}

/* "Developed by DIZ Write Code" credit, matching the faremaster footer. */
.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.dev-credit {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  line-height: 1.2;
  text-decoration: none;
  transition: opacity .15s;
}

.dev-credit:hover {
  opacity: .85;
}

.dev-credit .dev-credit-label {
  font-size: 13px;
  letter-spacing: .3px;
  font-weight: 500;
  color: inherit;
}

.dev-credit img {
  height: 56px;
  width: auto;
  background: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}

@media (max-width: 640px) {
  .footer-bottom-row {
    justify-content: center;
    text-align: center;
  }
}

/* ==========================================================================
   Service detail pages (/services/…)
   Built from the same tokens as the template so the pages read as one site.
   ========================================================================== */
.service-hero {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 42px 0 64px;
}

.crumbs {
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 34px;
}

.crumbs a {
  color: var(--muted);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--gold);
}

.crumbs span {
  margin: 0 8px;
}

.crumbs span[aria-current] {
  margin: 0;
  color: var(--ink);
}

.service-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}

.service-hero h1 {
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 1.04;
  margin: 0 0 18px;
  font-weight: 500;
}

.service-hero .lead {
  font-size: 18px;
  line-height: 1.65;
  color: #4a4e49;
  max-width: 560px;
  margin: 0 0 30px;
}

.service-hero img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 6px;
}

.service-body-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 64px;
  align-items: start;
}

.service-copy p {
  font-size: 17px;
  line-height: 1.8;
  color: #4a4e49;
  max-width: none;
  margin: 0 0 22px;
}

.service-aside {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px;
  position: sticky;
  top: 100px;
}

.service-aside h2 {
  font-size: 24px;
  margin: 0 0 18px;
}

.service-aside .feature-list {
  margin-bottom: 24px;
}

.service-highlights {
  background: var(--cream);
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.highlight-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px 26px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.highlight-grid article:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 16px 34px rgba(16, 19, 19, .1);
}

.highlight-grid b {
  display: block;
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--gold);
  margin-bottom: 12px;
}

.highlight-grid h3 {
  font-size: 19px;
  margin: 0 0 10px;
}

.highlight-grid p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
  max-width: none;
}

.process-list {
  list-style: none;
  counter-reset: step;
  max-width: 820px;
  margin: 0 auto;
  padding: 0;
}

.process-list li {
  display: flex;
  gap: 24px;
  padding: 0 0 32px;
  position: relative;
}

.process-list li:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: 4px;
  width: 1px;
  background: var(--line);
}

.step-number {
  flex: none;
  width: 47px;
  height: 47px;
  border-radius: 50%;
  background: var(--olive);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
}

.process-list h3 {
  font-size: 19px;
  margin: 10px 0 8px;
}

.process-list p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
  max-width: none;
}

@media (max-width: 900px) {
  .service-hero-grid,
  .service-body-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .service-aside {
    position: static;
  }

  .service-hero img {
    height: 280px;
  }
}

/* ==========================================================================
   Real client media
   The supplied clips are phone footage in 9:16, but the template's video slots
   were drawn for landscape. Reshape them to portrait so faces are not cropped
   to a horizontal strip.
   ========================================================================== */
.result-video {
  min-height: 0;
  aspect-ratio: 9 / 16;
  max-height: 620px;
}

.result-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.video-grid {
  align-items: start;
}

/* Hero background: a vertical clip cropped to a wide band would show a strip
   across the middle of the face, so bias the crop towards the head. */
.hero-video {
  object-position: center 12%;
}

/* Before/after photographs are wide pairs — show the whole frame, not a crop. */
.ba-card img {
  object-fit: contain;
  background: var(--cream);
}

@media (max-width: 720px) {
  .result-video {
    max-height: none;
  }
}

/* The card eyebrow carries words now ("NON-SURGICAL SOLUTION"), not just a
   numeral, so give it the same treatment as the section eyebrows. */
.service-card .card-kicker {
  font-size: 11px;
  letter-spacing: .16em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold);
}

/* Social links in the footer. */
.social-row {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: inherit;
  transition: background-color .2s ease, transform .2s ease, color .2s ease;
}

.social-row a:hover {
  background: var(--gold);
  color: #111;
  transform: translateY(-2px);
}

.social-row a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Captions under the personality photographs. */
.celeb-item {
  flex: 0 0 auto;
  margin: 0;
  text-align: center;
}

.celeb-item figcaption {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--ink);
}

/* The images inside a figure need the sizing that was on the bare img. */
.celeb-track .celeb-item img {
  height: 340px;
  width: auto;
  max-width: 100%;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 6px;
}

@media (max-width: 640px) {
  .celeb-track .celeb-item img {
    height: 260px;
  }
}

/* ==========================================================================
   Product ranges on the "Our Products" page
   ========================================================================== */
.product-range.alt {
  background: var(--cream);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 26px;
  max-width: 1080px;
  margin: 0 auto;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.product-range.alt .product-card {
  background: var(--white);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 20px 44px rgba(16, 19, 19, .13);
}

/* The patches are photographed on white, so give them a soft ground and let
   the whole object show rather than cropping into it. */
.product-shot {
  background: linear-gradient(160deg, #f4f1ea, #e9e5db);
  padding: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 235px;
}

.product-shot img {
  max-width: 100%;
  max-height: 190px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform .5s cubic-bezier(.22, .61, .36, 1);
}

.product-card:hover .product-shot img {
  transform: scale(1.06);
}

.product-body {
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-body h3 {
  font-size: 21px;
  margin: 0 0 10px;
}

.product-body p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 18px;
  max-width: none;
  flex: 1;
}

.product-link {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color .25s ease, transform .25s ease;
  display: inline-block;
}

.product-card:hover .product-link {
  color: var(--gold);
  transform: translateX(3px);
}

/* ==========================================================================
   Services dropdown
   The template's nav was flat anchors; the detail pages need a way in.
   ========================================================================== */
.has-submenu {
  position: relative;
  display: flex;
  align-items: center;
}

.has-submenu > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.has-submenu .caret {
  font-size: 8px;
  line-height: 1;
  transition: transform .2s ease;
}

.has-submenu:hover .caret,
.has-submenu:focus-within .caret {
  transform: rotate(180deg);
}

.submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 232px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(16, 19, 19, .14);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 60;
}

/* A gap between trigger and panel would drop the hover, so bridge it. */
.has-submenu::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 14px;
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu,
.has-submenu.open .submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 4px);
}

.submenu a {
  display: block;
  padding: 10px 14px;
  border-radius: 5px;
  font-size: 12px;
  letter-spacing: .02em;
  text-transform: none;
  font-weight: 500;
  white-space: nowrap;
  color: var(--ink);
  transition: background-color .18s ease, color .18s ease;
}

.submenu a::after {
  display: none;
}

.submenu a:hover,
.submenu a:focus-visible {
  background: var(--cream);
  color: var(--olive);
}

.submenu .submenu-all {
  border-top: 1px solid var(--line);
  border-radius: 0 0 5px 5px;
  margin-top: 4px;
  padding-top: 12px;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Inside the mobile drawer the panel sits inline, always open. */
@media (max-width: 900px) {
  .has-submenu {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .has-submenu::after {
    display: none;
  }

  .submenu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    border: 0;
    border-left: 2px solid var(--line);
    border-radius: 0;
    padding: 4px 0 4px 12px;
    margin: 6px 0 4px;
    min-width: 0;
  }

  .has-submenu:hover .submenu,
  .has-submenu.open .submenu {
    transform: none;
  }

  .submenu a {
    padding: 7px 0;
  }

  .submenu .submenu-all {
    border-top: 0;
    padding-top: 7px;
    margin-top: 0;
  }

  .has-submenu .caret {
    display: none;
  }
}

/* Product scroller — arrows appear once a range outgrows one row. */
.product-scroller {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
}

.product-scroller.is-scrollable .product-grid {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px;
  margin: -4px;
  flex: 1;
}

.product-scroller.is-scrollable .product-grid::-webkit-scrollbar {
  display: none;
}

.product-scroller.is-scrollable .product-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
}

.product-scroller .slider-arrow {
  flex: none;
}

.product-scroller .slider-arrow[hidden] {
  visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .product-scroller.is-scrollable .product-grid {
    scroll-behavior: auto;
  }
}

@media (max-width: 720px) {
  .product-scroller .slider-arrow {
    display: none;
  }

  .product-scroller.is-scrollable .product-card {
    flex-basis: 78%;
  }
}

/* Patch names read as product codes — set them in caps. */
.product-body h3 {
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 19px;
}

/* ==========================================================================
   Testimonials — carousel of cards
   ========================================================================== */
.testimonials-section {
  background: linear-gradient(180deg, #fafafa, var(--cream));
}

/* Eyebrow with a rule either side. */
.eyebrow.ruled {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.eyebrow.ruled::before,
.eyebrow.ruled::after {
  content: '';
  width: 42px;
  height: 1px;
  background: var(--gold);
  opacity: .8;
}

.testimonial-carousel {
  margin-top: 8px;
}

.testimonial-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid #ece9e1;
  border-radius: 16px;
  padding: 32px 30px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(16, 19, 19, .05);
  transition: transform .35s ease, box-shadow .35s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 46px rgba(16, 19, 19, .1);
}

.testimonial-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}

.testimonial-card .quote-mark {
  font-family: 'Playfair Site', Georgia, serif;
  font-size: 62px;
  line-height: .7;
  color: var(--gold);
}

.testimonial-card .stars {
  color: var(--gold);
  font-size: 15px;
  letter-spacing: 3px;
  white-space: nowrap;
}

.testimonial-card blockquote {
  margin: 0 0 26px;
  font-family: 'Inter Site', sans-serif;
  font-style: italic;
  font-size: 16.5px;
  line-height: 1.72;
  color: #2f3330;
  flex: 1;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid #e6e1d6;
  padding-top: 20px;
}

.testimonial-person img,
.testimonial-person .avatar-initials {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  flex: none;
  object-fit: cover;
}

.testimonial-person .avatar-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--olive);
  color: var(--white);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: .04em;
}

.testimonial-person b {
  display: block;
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 3px;
}

.testimonial-person span {
  display: block;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
}

/* Dots */
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
}

.testimonial-dots button {
  width: 9px;
  height: 9px;
  border: 0;
  padding: 0;
  border-radius: 50%;
  background: #cfcabd;
  cursor: pointer;
  transition: background-color .25s ease, transform .25s ease;
}

.testimonial-dots button:hover {
  background: #b0a894;
}

.testimonial-dots button[aria-selected='true'] {
  background: var(--gold);
  transform: scale(1.25);
}

.testimonial-dots:empty {
  display: none;
}

/* Paged mode: the track scrolls, the dots move it. */
.testimonial-carousel.is-paged .testimonial-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 6px;
  margin: -6px;
}

.testimonial-carousel.is-paged .testimonial-track::-webkit-scrollbar {
  display: none;
}

.testimonial-carousel.is-paged .testimonial-card {
  flex: 0 0 calc((100% - 52px) / 3);
  scroll-snap-align: start;
}

@media (max-width: 980px) {
  .testimonial-track,
  .testimonial-carousel.is-paged .testimonial-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .testimonial-card,
  .testimonial-carousel.is-paged .testimonial-card {
    flex: 0 0 calc((100% - 26px) / 2);
    scroll-snap-align: start;
  }
}

@media (max-width: 640px) {
  .testimonial-card,
  .testimonial-carousel.is-paged .testimonial-card {
    flex-basis: 86%;
  }

  .testimonial-card .quote-mark {
    font-size: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-carousel.is-paged .testimonial-track {
    scroll-behavior: auto;
  }

  .testimonial-card:hover {
    transform: none;
  }
}
