/* ==========================================================================
   The Glen Optometrists — Dynamic Vision
   Design system — clean, modern, elegant. Black / white with red accents.
   ========================================================================== */

:root {
  --black:      #0b0b0b;
  --ink:        #141414;   /* headings */
  --body:       #4c4c4c;   /* paragraph text */
  --muted:      #8a8a8a;   /* captions */
  --red:        #a8162a;   /* accent */
  --red-dark:   #85101f;
  --gold:       #d4a029;   /* review stars */
  --bg:         #ffffff;
  --bg-soft:    #f6f5f2;   /* subtle warm off-white */
  --line:       #e8e6e2;
  --line-dk:    rgba(255,255,255,.12);
  --whatsapp:   #25d366;

  --maxw: 1180px;
  --gutter: clamp(24px, 6vw, 100px);   /* .container side padding */
  --header-h: 76px;
  --ease: cubic-bezier(.4,0,.2,1);

  --ff: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff);
  color: var(--body);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* Keyboard users had no focus indicator anywhere on the site. */
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.section--dark :focus-visible, .site-header :focus-visible, .footer :focus-visible { outline-color: #fff; }

/* Anchors would otherwise land beneath the sticky header. */
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.skip-link {
  position: absolute; left: 20px; top: -100px; z-index: 1100;
  background: var(--red); color: #fff; padding: 12px 20px;
  font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

h1, h2, h3, h4, h5 { font-family: var(--ff); color: var(--ink); line-height: 1.14; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 600; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); }
p { color: var(--body); }
strong { color: var(--ink); font-weight: 700; }

/* ---------- Helpers ---------- */
.container { width: 100%; max-width: none; margin: 0 auto; padding: 0 var(--gutter); }
/* Scales the gap between the 620px and 900px band, where a flat 152px left
   small tablets with ~300px of dead space between sections. */
.section { padding: clamp(64px, 11vw, 152px) 0; }
.section--soft { background: var(--bg-soft); }
/* Same-background sections stack their padding; collapse the seam to one gap. */
.section--flush-top { padding-top: 0; }
.section--tight-bottom { padding-bottom: clamp(36px, 6vw, 84px); }
.section--dark { background: var(--black); color: #fff; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: rgba(255,255,255,.66); }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--red); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--red); }
.center .eyebrow { justify-content: center; }
.eyebrow--bare::before { display: none; }
.section--dark .eyebrow { color: var(--red); }
.section--dark .eyebrow::before { background: currentColor; }
.lead { font-size: 1.12rem; color: var(--body); line-height: 1.75; }
/* Even out a long centred lead so it doesn't end on a one-word orphan line. */
.lead--balance { text-wrap: balance; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head > h2 + .lead { margin-top: 14px; }
/* Two-column section head: heading left, lead text right (alternates with centered) */

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--ff); font-weight: 600; font-size: .76rem;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 15px 30px; border: 1px solid transparent; border-radius: 0;
  cursor: pointer; transition: background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--red); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--outline-white:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--whatsapp { background: var(--ink); color: #fff; }
.btn--whatsapp:hover { background: var(--red); }
.btn--light { background: #fff; color: var(--red); }
.btn--light:hover { background: var(--ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.textlink {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--red); font-weight: 700; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase;
  border-bottom: 1px solid currentColor; padding-bottom: 3px;
}
.textlink svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.textlink:hover svg { transform: translateX(4px); }

/* ==========================================================================
   Navigation (sticky black — desktop + mobile)
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: var(--black);
  border-bottom: 1px solid var(--line-dk);
  transition: box-shadow .25s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 2px 22px rgba(0,0,0,.4); }
/* The booking CTA only appears inside the panel on mobile — on desktop it lives
   in .nav__actions instead. */
.nav__cta { display: none; }
.nav { display: flex; align-items: center; justify-content: flex-start; height: var(--header-h); gap: 20px; }
/* Without this the logo's <a> is shrinkable (the img carries max-width:100%),
   so a full nav row collapses it to nothing instead of overflowing. */
.nav__logo { flex: 0 0 auto; }
.nav__logo img { height: 54px; width: auto; }
.nav__menu { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav__menu > li > a,
.nav__menu > li > .nav__services {
  font-size: .84rem; font-weight: 500; letter-spacing: .04em; color: rgba(255,255,255,.68);
  padding: 10px 12px; display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap; /* "About Us" and the phone wrapped mid-label at ~1280px */
  transition: color .18s var(--ease);
}
.nav__menu > li > .nav__services {
  font-family: inherit; background: none; border: 0; cursor: pointer;
}
.nav__menu > li > a:hover, .nav__menu > li.is-active > a,
.nav__menu > li > .nav__services:hover, .nav__menu > li.is-active > .nav__services { color: #fff; }
.nav__menu > li > a .caret,
.nav__menu > li > .nav__services .caret { width: 10px; height: 10px; transition: transform .2s var(--ease); }
.footer ul a:not([href]) { pointer-events: none; }
.nav__actions { display: flex; align-items: center; gap: 18px; }
.nav__phone { color: #fff; font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.nav__phone svg { width: 16px; height: 16px; color: var(--red); }
.nav__phone:hover { color: var(--red); }

/* The row runs out of space before the mobile breakpoint — drop the phone first,
   it is repeated in the footer, the banner and the booking modal. */
@media (max-width: 1120px) {
  .nav__actions .nav__phone { display: none; }
}
/* Between the phone dropping out and the hamburger appearing at 900, the logo +
   six nowrap links + CTA still overrun the row and clipped the CTA. */
@media (min-width: 901px) and (max-width: 1080px) {
  .nav { gap: 12px; }
  .nav__menu { gap: 0; }
  .nav__actions { gap: 10px; }
  .nav__logo img { height: 46px; }
  .nav__menu > li > a,
  .nav__menu > li > .nav__services { padding: 10px 7px; font-size: .78rem; }
  .nav__actions .btn { padding: 12px 14px; font-size: .68rem; letter-spacing: .08em; }
}

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px);
  background: #141414; border: 1px solid var(--line-dk);
  min-width: 0; width: max-content; padding: 8px; opacity: 0; visibility: hidden;
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s; z-index: 950;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown, .has-dropdown.open .dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.has-dropdown:hover > .nav__services .caret,
.has-dropdown.open > .nav__services .caret { transform: rotate(180deg); }
.dropdown a { display: flex; gap: 12px; align-items: center; padding: 12px 14px; transition: background .16s var(--ease); }
.dropdown a:hover { background: rgba(255,255,255,.05); }
.dropdown .d-ico { flex: 0 0 20px; color: var(--red); }
.dropdown .d-ico svg { width: 20px; height: 20px; }
.dropdown .d-title { font-weight: 600; font-size: .9rem; color: #fff; }
.dropdown .d-sub { font-size: .76rem; color: rgba(255,255,255,.45); display: block; }

/* Hamburger */
.nav__toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-dk); background: transparent; cursor: pointer; position: relative; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 2px; background: #fff;
  transform: translate(-50%,-50%); transition: .25s var(--ease);
}
.nav__toggle span::before { transform: translate(-50%,-7px); }
.nav__toggle span::after { transform: translate(-50%,5px); }
body.nav-open .nav__toggle span { background: transparent; }
body.nav-open .nav__toggle span::before { transform: translate(-50%,0) rotate(45deg); }
body.nav-open .nav__toggle span::after { transform: translate(-50%,0) rotate(-45deg); }
/* Must sit BELOW the header's stacking context (z-index 900). The nav panel
   lives inside the header, so it can never outrank it — a backdrop above 900
   would paint over the menu and swallow every tap. */
.nav__backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.55); opacity: 0; visibility: hidden; transition: .25s var(--ease); z-index: 890; }
body.nav-open .nav__backdrop { opacity: 1; visibility: visible; }

/* The floats and the banner are root-level at z-index 960-970, so they outrank
   the header's stacking context (900) and paint over the open menu panel. */
body.nav-open .wa-float,
body.nav-open .msg-float,
body.nav-open .promo-banner { opacity: 0; pointer-events: none; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { background: var(--bg); overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.02fr .98fr; gap: 64px; align-items: center; padding: 88px 0 96px; }
.hero__eyebrow { margin-bottom: 22px; }
.hero h1 { margin-bottom: 18px; }
.hero h1 em { font-style: italic; color: var(--red); font-weight: 500; }
.hero__copy { max-width: 600px; }
.hero__sub { font-size: 1.15rem; font-style: italic; color: var(--muted); margin-bottom: 22px; }
.hero p.lead { max-width: 500px; margin-bottom: 36px; }
.hero__media { position: relative; }
.hero__media img { width: 100%; aspect-ratio: 4/3.5; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; left: 0; right: 40%; bottom: -1px; height: 6px; background: var(--red); }
.hero__media .badge {
  position: absolute; left: -24px; bottom: 30px; background: var(--black); color: #fff;
  padding: 20px 24px; display: flex; align-items: center; gap: 14px; max-width: 230px;
}
.hero__media .badge b { font-size: 2rem; font-weight: 700; color: var(--red); line-height: 1; }
.hero__media .badge span { font-size: .82rem; color: rgba(255,255,255,.7); line-height: 1.35; }

/* ---------- Trust strip (slim black bar) ---------- */
.trust-strip { background: var(--black); }
.trust-strip__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; padding: 17px 0; }
.trust-strip__item { padding: 3px 54px; color: rgba(255,255,255,.72); font-size: .8rem; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; border-left: 1px solid rgba(255,255,255,.14); white-space: nowrap; }
.trust-strip__item:first-child { border-left: 0; }
.trust-strip__item b { color: var(--red); font-weight: 700; }

/* ==========================================================================
   Split / About
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--reverse { align-items: start; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; object-fit: cover; }
.split__media::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 45%; height: 6px; background: var(--red); }
/* Offset red frame — replicates the team-card treatment */
.split__media--plain::after { display: none; }
/* isolate so the z-index:-1 offset frame renders above a section background
   (e.g. section--soft) instead of being hidden behind it. */
.split__media--frame { isolation: isolate; }
.split__media--frame::after { display: none; }
.split__media--frame::before { content: ""; position: absolute; inset: 0; border: 1.5px solid var(--red); transform: translate(12px, 12px); z-index: -1; pointer-events: none; transition: transform .28s var(--ease); }
.split__media--frame:hover::before { transform: translate(16px, 16px); }
/* Team section — 50/50 with larger copy and a slightly smaller framed photo */
.split--team-alt.split--reverse { align-items: center; }
@media (min-width: 901px) {
  .split--team-alt.split--reverse .split__body { padding-left: 84px; }
}
.split--team-alt .split__body h2 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); line-height: 1.1; }
.split--team-alt .split__body .lead { font-size: 1.35rem; }
.split--team-alt .split__body > p { font-size: 1.1rem; }
.split--team-alt .split__media { max-width: 500px; margin-inline: auto; }
.split--team-alt .split__media img { height: auto; aspect-ratio: 1 / 1; }
/* Offset the red frame to the left of the photo for this section */
.split--team-alt .split__media--frame::before { transform: translate(-12px, 12px); }
.split--team-alt .split__media--frame:hover::before { transform: translate(-16px, 16px); }
/* Mobile-only image tweaks */
@media (max-width: 900px) {
  /* Signature exam photo: just reduce the height (it sat too tall) */
  .sig-exam-photo { height: 460px; }
  /* Glenvista team photo: show the whole image so all three staff fit */
  .glenvista-photo { height: auto; aspect-ratio: 1600 / 845; }
}
@media (max-width: 620px) {
  /* Nudge the hero image slightly right */
  .hero-photo { object-position: 40% center; }
}
/* Services "Premium Eye Examination" tile: zoom in on the patient +
   equipment (mobile and desktop; svc-tile already clips overflow). */
.svc-tile img.premium-tile { object-position: 80% 40%; transform: scale(1.35); transform-origin: 76% 40%; }
/* Hover zooms in further (like the other tiles) from the base scale, not out */
.svc-tile:hover img.premium-tile { transform: scale(1.42); }
/* About "Crafted in Germany" storefront: whole image on mobile; on desktop
   crop the image itself from the right (aspect 4/3 + object-position left) so
   it's less wide while filling the frame and keeping the logo in view. */
.germany-photo { height: auto; aspect-ratio: 3 / 2; }
@media (min-width: 901px) {
  .germany-photo { aspect-ratio: 4 / 3; object-position: left center; }
}
.pull-quote { font-size: clamp(1.25rem, 2vw, 1.6rem); font-style: italic; line-height: 1.5; color: var(--ink); font-weight: 500; padding-left: 24px; border-left: 3px solid var(--red); margin: 4px 0 26px; }
.split__body { max-width: 620px; }
.split__body p { margin-bottom: 36px; }
/* The plain copy column opposite .split__body had no paragraph spacing at all,
   so consecutive paragraphs ran together. */
.split > div:not(.split__body) > p + p { margin-top: 22px; }
/* Single-column (image moved to hero) intro */

/* Centered feature (no image) — black rule accent */
.feature-center { max-width: 1040px; margin: 0 auto; text-align: center; }
.feature-center .eyebrow { justify-content: center; }
.feature-center__rule { width: 60px; height: 3px; background: var(--ink); margin: 22px auto 28px; }
.section--dark .feature-center__rule { background: var(--red); }
.feature-center p { margin-bottom: 18px; }
.feature-center p:last-of-type { margin-bottom: 0; }
.feature-center .btn-row { justify-content: center; margin-top: 30px; }

/* Values — editorial numbered list */
.values { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(44px, 6vw, 100px); align-items: start; }

/* Numbered rows as one black panel under a centred head, rather than a black
   card inside a black section. Two columns so four rows don't run long. */
.values__list--panel { padding: clamp(30px, 3vw, 46px) clamp(28px, 3vw, 48px); }
.values__list--panel + .btn-row { margin-top: 40px; }
.section-head + .values__list--panel { margin-top: -12px; }
@media (min-width: 901px) {
  /* .values__list sets display:block later in the file — match its specificity. */
  .values__list.values__list--panel { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(40px, 5vw, 76px); }
  .values__list--panel .value-row:nth-child(-n+2) { border-top: 0; padding-top: 0; }
  .values__list--panel .value-row:nth-last-child(-n+2) { padding-bottom: 0; }
}
.values__intro { max-width: 400px; }
.values__intro p { margin-top: 18px; }
.values__list { display: block; }
.value-row { display: grid; grid-template-columns: auto 1fr; gap: clamp(22px, 3vw, 40px); align-items: start; padding: 30px 0; border-top: 1px solid var(--line); }
.value-row:last-child { padding-bottom: 0; }
.value-row__num { font-size: 1.7rem; font-weight: 700; color: var(--red); line-height: 1; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.value-row__text h3 { color: var(--ink); margin-bottom: 8px; }
.value-row__text p { font-size: .98rem; }

/* ---------- Numbered grid (square index tiles) ---------- */
.numgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 52px clamp(32px, 4vw, 56px); margin-top: 56px; }
/* Was an inline style, which outranked the media queries below and left the
   4th column clipped off-screen on phones. */
@media (min-width: 901px) { .numgrid--4 { grid-template-columns: repeat(4, 1fr); } }
.numgrid__item h3 { color: var(--ink); margin: 22px 0 10px; font-size: 1.12rem; }
.numgrid__item p { font-size: .96rem; }
.numgrid__n { width: 62px; height: 62px; display: grid; place-items: center; background: var(--bg-soft); border: 1px solid var(--line);
  font-size: 1.45rem; font-weight: 800; line-height: 1; color: #c7c2bb; font-variant-numeric: tabular-nums;
  transition: color .28s var(--ease), background .28s var(--ease), border-color .28s var(--ease); }
.numgrid__item:hover .numgrid__n { color: var(--red); background: #fff; border-color: #d9d5cf; }
@media (max-width: 900px) { .numgrid { grid-template-columns: repeat(2, 1fr); gap: 42px 36px; } }
@media (max-width: 560px) { .numgrid { grid-template-columns: 1fr; } }

/* ---------- Card accordion (light panels with a red top strip) ---------- */
.acc { max-width: none; margin-top: 52px; border-top: 0; display: grid; gap: 16px; }
.acc .faq__item { position: relative; background: #fff; border: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease); }
.acc .faq__item::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--red); }
.acc .faq__item:hover { border-color: #d9d5cf; box-shadow: 0 16px 36px rgba(0,0,0,.07); }
.acc .faq__q { color: var(--ink); padding: 28px 30px 26px; font-size: 1.08rem; }
.acc .faq__q:hover, .acc .faq__item.open .faq__q { color: var(--red); }
.acc .faq__a p { color: var(--body); padding: 0 30px 28px; font-size: .97rem; }
@media (max-width: 620px) { .acc .faq__q { padding: 24px 20px 22px; } .acc .faq__a p { padding: 0 20px 24px; } }

/* ---------- Ticklist ---------- */
.ticklist { display: grid; gap: 34px; margin: 40px 0 52px; }
.ticklist li { display: flex; gap: 14px; align-items: center; color: var(--ink); font-weight: 500; }
.ticklist li svg { flex: 0 0 22px; width: 22px; height: 22px; color: var(--red); }

/* ==========================================================================
   Service cards (red bottom strip on hover)
   ========================================================================== */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.svc {
  position: relative; background: var(--bg); border: 1px solid var(--line); padding: 34px 30px;
  display: flex; flex-direction: column; gap: 12px; overflow: hidden; transition: border-color .22s var(--ease);
}
.section--soft .svc { background: #fff; }
.svc::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 3px; width: 0; background: var(--red); transition: width .28s var(--ease); }
.svc:hover { border-color: #d9d5cf; }
.svc:hover::after { width: 100%; }
.svc h3 { color: var(--ink); }
.svc p { font-size: .95rem; flex: 1; }
.svc .textlink { align-self: flex-start; }

/* Full-image service tiles (home overview) */
.svc-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
/* Break out of the container so the tiles run edge to edge */
/* Full-bleed by cancelling the container's own padding. Do NOT use 100vw here:
   vw includes the scrollbar, so it renders wider than the content box and
   forces a horizontal scroll. Negative margins of exactly --gutter can't. */
.svc-tiles--full { margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); gap: 0; }
.svc-tile { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5; background: #1a1b1f; }
.svc-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
/* A portrait source in a landscape tile centres on the middle of a tall frame —
   for the eye-exam shot that lands on chairs and equipment, with both faces
   cropped away. Both heads sit in the top ~6-25% of that photo, so the crop has
   to start above 6% or it shaves the optometrist's head. Only the 16/10 phone
   tile crops vertically at all; wider tiles overflow horizontally, so this is a
   no-op there. */
.svc-tile--top img { object-position: 50% 8%; }
.svc-tile::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(0,0,0,.82), rgba(0,0,0,.15) 55%, rgba(0,0,0,0) 78%); transition: background .35s var(--ease); }
.svc-tile::before { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--red); z-index: 3; transition: width .3s var(--ease); }
.svc-tile__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 24px 22px; }
.svc-tile__body h3 { color: #fff; font-size: 1.12rem; line-height: 1.2; }
.svc-tile__body p { color: rgba(255,255,255,.8); font-size: .86rem; line-height: 1.5; margin: 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .4s var(--ease), opacity .3s var(--ease), margin .4s var(--ease); }
.svc-tile__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; color: #fff; font-weight: 700; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }
.svc-tile__link svg { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.svc-tile:hover img { transform: scale(1.05); }
.svc-tile:hover::before { width: 100%; }
.svc-tile:hover .svc-tile__body p { max-height: 96px; opacity: 1; margin: 10px 0 0; }
.svc-tile:hover .svc-tile__link svg { transform: translateX(4px); }
@media (hover: none) { .svc-tile__body p { max-height: 96px; opacity: 1; margin: 10px 0 0; } }
@media (max-width: 900px) { .svc-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .svc-tiles { grid-template-columns: 1fr; } .svc-tile { aspect-ratio: 16 / 10; } }

/* ---------- Component treatments on black sections ---------- */
/* Consecutive dark sections read as one continuous block. No divider; the
   doubled padding at the join is pulled in, the black lifts subtly towards
   the seam so the two share one surface, and a short red rule marks the
   handover so the transition reads as deliberate rather than accidental. */
.section--dark:has(+ .section--dark) {
  padding-bottom: 92px;
  background: linear-gradient(180deg, var(--black) 55%, #131417 100%);
}
.section--dark + .section--dark {
  border-top: 0; padding-top: 92px; position: relative;
  background: linear-gradient(180deg, #131417 0%, var(--black) 45%);
}
.section--dark + .section--dark::before {
  content: ""; position: absolute; top: 0; left: 50%;
  width: 1px; height: 64px; transform: translate(-50%, -32px);
  background: linear-gradient(180deg, rgba(255,255,255,.14), var(--red));
}
.section--dark + .section--brands { border-top: 0; }
.section--dark .svc { background: #1a1b1f; border-color: rgba(255,255,255,.09); }
.section--dark .svc h3 { color: #fff; }
.section--dark .svc p { color: rgba(255,255,255,.58); }
.section--dark .svc:hover { background: #212228; border-color: rgba(255,255,255,.2); }
.section--dark .ticklist li { color: #fff; }
.section--dark .review { background: #1a1b1f; border-color: rgba(255,255,255,.09); }
.section--dark .review:hover { background: #212228; border-color: rgba(255,255,255,.2); box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.section--dark .review p { color: #fff; }
.section--dark .review__who { border-top-color: rgba(255,255,255,.1); }
.section--dark .review__who .n { color: #fff; }

/* Simple value card */

/* ==========================================================================
   Brand marquee
   ========================================================================== */
.section--brands { padding: 56px 0; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; align-items: center; gap: 40px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track img { height: 54px; width: auto; object-fit: contain; opacity: .5;
  filter: brightness(0) invert(1);
  transition: opacity .2s var(--ease), transform .2s var(--ease); }
.marquee__track img:hover { opacity: .9; transform: translateY(-3px); }
/* On a light band the logos must read as black, not inverted to white */
.section--brands:not(.section--dark) .marquee__track img { filter: brightness(0); opacity: .45; }
.section--brands:not(.section--dark) .marquee__track img:hover { opacity: .85; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Team
   ========================================================================== */
/* The offset frame is drawn first, then the card's own opaque children paint over the
   half that overlaps the card — so only the protruding corner shows. */
.team-card { position: relative; background: #fff; border: 1px solid var(--line); }
.team-card::before { content: ""; position: absolute; inset: 0; border: 1.5px solid var(--red); transform: translate(12px, 12px); pointer-events: none; transition: transform .28s var(--ease); }
.team-card:hover::before { transform: translate(16px, 16px); }
.team-card__media { position: relative; background: #fff; }
.team-card__media img { width: 100%; aspect-ratio: 4/4.2; object-fit: cover; object-position: top center; display: block; }
.team-card__body { position: relative; background: #fff; padding: 24px 26px 28px; }
.team-card h3 { color: var(--ink); margin-bottom: 4px; }
.team-card .role { color: var(--red); font-weight: 600; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.team-card p { font-size: .92rem; }

/* Meet the team — editorial split */
.team-layout { display: grid; grid-template-columns: .82fr 1.2fr; gap: 60px; align-items: center; }
.team-layout__intro { max-width: 440px; }
.team-layout__intro .lead { margin: 2px 0 18px; }
.team-layout__intro > p { margin-bottom: 30px; }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }

/* Horizontal profile card — portrait beside the bio */
.profile { position: relative; display: grid; grid-template-columns: minmax(0, .78fr) 1fr; align-items: stretch;
  background: #fff; border: 1px solid var(--line);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease); }
.profile:hover { transform: translateY(-5px); border-color: #d9d5cf; box-shadow: 0 20px 44px rgba(0,0,0,.08); }
.profile__media { position: relative; overflow: hidden; background: #fff; }
.profile__media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.profile__body { position: relative; background: #fff; padding: 34px 32px; display: flex; flex-direction: column; justify-content: center; }
.profile__body h3 { color: var(--ink); margin-bottom: 4px; }
.profile__role { color: var(--red); font-weight: 600; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.profile__body p { font-size: .95rem; }
@media (max-width: 620px) {
  .profile { grid-template-columns: 1fr; }
  .profile__media img { aspect-ratio: 4 / 3.4; }
}
/* Team pyramid — lead member centered above the other two (About page) */
@media (min-width: 621px) {
  .team-pyramid .profile--lead { grid-column: 1 / -1; max-width: calc(50% - 12px); margin-inline: auto; }
}

/* ==========================================================================
   Reviews
   ========================================================================== */
/* Column layout + the auto margin on __who keeps the attribution rows aligned
   across cards when the quotes differ in length. */
.review { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); padding: 38px 32px 30px; overflow: hidden; transition: transform .32s var(--ease), border-color .32s var(--ease), background .32s var(--ease), box-shadow .32s var(--ease); }
.review:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,.12); }
.review:hover .review__quote { opacity: .24; transform: scale(1.08); }
.review__quote { transition: opacity .32s var(--ease), transform .32s var(--ease); }
.review__quote { font-family: Georgia, "Times New Roman", serif; font-size: 4.5rem; line-height: 1; color: var(--red); opacity: .14; position: absolute; top: 12px; right: 26px; }
.review .stars { color: var(--gold); letter-spacing: 3px; font-size: .95rem; margin-bottom: 16px; }
.review p { color: var(--ink); font-size: 1.02rem; line-height: 1.65; font-weight: 500; margin-bottom: 24px; }
.review__who { display: flex; align-items: center; gap: 13px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.review__who .n { display: block; font-weight: 700; color: var(--ink); font-size: .92rem; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { max-width: 800px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 26px 4px; font-family: var(--ff); font-weight: 600; font-size: 1.1rem; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 20px; transition: color .2s var(--ease); }
.faq__q:hover, .faq__item.open .faq__q { color: var(--red); }
.faq__q .ico { flex: 0 0 26px; height: 26px; width: 26px; position: relative; }
.faq__q .ico::before, .faq__q .ico::after { content: ""; position: absolute; top: 50%; left: 50%; background: currentColor; transition: transform .25s var(--ease); }
.faq__q .ico::before { width: 13px; height: 1.5px; transform: translate(-50%,-50%); }
.faq__q .ico::after { width: 1.5px; height: 13px; transform: translate(-50%,-50%); }
.faq__item.open .faq__q .ico::after { transform: translate(-50%,-50%) scaleY(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq__a p { padding: 0 4px 26px; font-size: 1rem; color: var(--body); }

/* FAQ — split intro + accordion */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.faq-layout__intro { position: sticky; top: calc(var(--header-h) + 28px); }
.faq-layout__intro .lead { margin: 6px 0 16px; }
.faq-layout__intro > p { margin-bottom: 24px; }
.faq-layout .faq { max-width: none; margin: 0; }

/* Face-shape section: scrolling heading + accordion beside the pinned frames guide */
.frameguide-layout { display: grid; grid-template-columns: 1fr minmax(0, 510px); gap: clamp(32px, 4vw, 64px); align-items: start; }
.frameguide-layout .faq { max-width: none; margin: 0; }
.frameguide__intro { margin-bottom: 30px; }
.frameguide__figure { margin: 0; position: sticky; top: calc(var(--header-h) + 28px); align-self: start; }
.frameguide__figure a { display: block; border: 1px solid var(--line); background: #fff; transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.frameguide__figure a:hover { box-shadow: 0 14px 34px rgba(0,0,0,.12); transform: translateY(-2px); }
.frameguide__figure img { display: block; width: 100%; height: auto; }
.frameguide__cap { display: block; margin-top: 12px; text-align: center; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 860px) { .frameguide-layout { grid-template-columns: 1fr; gap: 40px; } .frameguide__figure { position: static; } }

/* ==========================================================================
   CTA band (dark, red bottom strip)
   ========================================================================== */
.cta { position: relative; background: var(--red); color: #fff; }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 108px 0; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: 10px; }
.cta p { color: rgba(255,255,255,.82); max-width: 480px; }
.cta .eyebrow { color: rgba(255,255,255,.92); margin-bottom: 14px; }
.cta .eyebrow::before { background: currentColor; }
.cta .btn--outline-white:hover { color: var(--red); }
/* Centered promo band variant */

/* Black badge on light imagery */
.media-badge { position: absolute; right: 0; bottom: 0; background: var(--black); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 13px 20px; }

/* Black block inside the (white) FAQ section */

/* ==========================================================================
   Footer (red bottom strip)
   ========================================================================== */
.footer {
  position: relative;
  background: var(--black);
  color: rgba(255,255,255,.55);
  padding: 0;
}
/* The rule lives on the grid, not the footer edge: inset to the container it
   aligns with the columns below it instead of bleeding the full viewport. */
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.6fr; gap: 60px; padding: 88px 0 52px; border-top: 1px solid rgba(255,255,255,.07); border-bottom: 1px solid rgba(255,255,255,.07); }
/* Footer columns: keep logo first & Find Us last; swap Quick Links before Our Services */
.footer__grid > div:nth-child(1) { order: 1; }
.footer__grid > div:nth-child(2) { order: 3; }
.footer__grid > div:nth-child(3) { order: 2; }
.footer__grid > div:nth-child(4) { order: 4; }
/* height alone + the global img{max-width:100%} squashed this: the natural width
   at 72px (294px) exceeds the column, so the width clamped while the height held. */
.footer img.logo { height: auto; width: auto; max-height: 104px; max-width: 290px; margin-bottom: 22px; }
.footer__tagline { font-style: italic; color: rgba(255,255,255,.5); font-size: .95rem; margin-bottom: 14px; }
.footer__member { color: rgba(255,255,255,.32); font-size: .8rem; line-height: 1.7; max-width: 42ch; }
.footer h3 {
  position: relative; color: rgba(255,255,255,.34); font-size: .68rem; letter-spacing: .22em;
  text-transform: uppercase; font-weight: 700; margin-bottom: 22px; padding-bottom: 13px;
}
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 26px; height: 2px; background: var(--red); }
.footer ul { display: grid; gap: 13px; }
.footer ul a { color: rgba(255,255,255,.5); font-size: .875rem; transition: color .2s var(--ease); }
.footer ul a:hover { color: var(--red); }
.footer .contact li { display: flex; gap: 13px; font-size: .875rem; align-items: flex-start; margin-bottom: 15px; color: rgba(255,255,255,.5); line-height: 1.6; }
.footer .contact svg { flex: 0 0 16px; width: 16px; height: 16px; color: var(--red); margin-top: 4px; }
.footer .contact a { transition: color .2s var(--ease); }
.footer .contact a:hover { color: var(--red); }
.footer .social { display: flex; gap: 10px; margin-top: 24px; }
.footer .social a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.14);
  display: grid; place-items: center; color: rgba(255,255,255,.7);
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.footer .social a:hover { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-3px); }
.footer .social svg { width: 16px; height: 16px; }
.footer__bottom { margin-top: 0; padding: 26px 0 30px; }
.footer__bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .75rem; letter-spacing: .02em; color: rgba(255,255,255,.3); }
.footer__bottom a { color: rgba(255,255,255,.7); transition: color .18s var(--ease); }
.footer__bottom a:hover { color: #fff; }
.footer__bottom .credit { display: inline-flex; align-items: center; gap: 7px; margin-right: 200px; }
.footer__bottom .avily-logo { height: 20px; width: auto; display: block; opacity: .85; transition: opacity .18s var(--ease); }
.footer__bottom a:hover .avily-logo { opacity: 1; }
.footer__strip { height: 4px; background: linear-gradient(90deg, var(--red-dark), var(--red) 55%, var(--red-dark)); }

/* ==========================================================================
   Persistent WhatsApp float
   ========================================================================== */
.wa-float {
  position: fixed; right: 26px; bottom: 72px; z-index: 970;
  height: 58px; border-radius: 29px; background: var(--whatsapp); color: #fff;
  display: flex; align-items: center; white-space: nowrap;
  box-shadow: 0 8px 26px rgba(37,211,102,.42);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), bottom .3s var(--ease);
}
.wa-float svg { flex: 0 0 auto; width: 58px; height: 30px; padding: 0 14px; box-sizing: border-box; }
.wa-float__label {
  max-width: 0; opacity: 0; overflow: hidden;
  font-weight: 600; font-size: .95rem; padding-left: 0;
  transition: max-width .32s var(--ease), opacity .25s var(--ease), padding-left .32s var(--ease);
}
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(37,211,102,.52); }
.wa-float:hover .wa-float__label { max-width: 160px; opacity: 1; padding-left: 22px; }
/* Without this the label is dead markup on touch, and iOS sticky-hover latches
   it open after the first tap. */
@media (hover: none) {
  .wa-float__label { max-width: 160px; opacity: 1; padding-left: 22px; }
}
/* Desktop only — on a phone the pill eats the corner, so drop to a round icon.
   Must follow the (hover: none) rule above, which would otherwise show it. */
@media (max-width: 900px) {
  .wa-float__label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-float, .wa-float__label { transition: none; }
}

/* ==========================================================================
   Persistent thin banner (closes only via X)
   ========================================================================== */
.promo-banner {
  position: fixed; left: 50%; bottom: 20px; z-index: 960;
  /* Wide bar, single row. The text line (~500px) and both buttons (~370px)
     need ~890px of content width, so 820px forced them to wrap and the banner
     grew tall instead of long. */
  width: min(1100px, calc(100% - 24px));
  background: var(--black); border: 1px solid var(--red); border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
  transform: translate(-50%, calc(100% + 24px)); transition: transform .45s var(--ease);
}
body.banner-open .promo-banner { transform: translate(-50%, 0); }
.promo-banner__inner { padding: 14px 52px 14px 24px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; position: relative; }
.promo-banner__text { flex: 1 1 auto; min-width: 0; }
.promo-banner__text b { display: block; color: #fff; font-weight: 700; font-size: 1.05rem; line-height: 1.3; }
.promo-banner__text span { display: block; color: rgba(255,255,255,.6); font-size: .78rem; margin-top: 2px; }
.promo-banner__actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.promo-banner .btn { flex: 0 0 auto; padding: 12px 22px; font-size: .72rem; }
.promo-banner__close {
  position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; background: transparent; border: 0;
  color: rgba(255,255,255,.6); font-size: 1.3rem; line-height: 1; cursor: pointer; display: grid; place-items: center;
  border-radius: 50%; transition: background .18s var(--ease), color .18s var(--ease);
}
.promo-banner__close:hover { background: var(--red); color: #fff; }
/* From here up there is room for the text line and both buttons side by side
   (~890px of content), so pin them to one row and hold the address + hours on
   a single line. Below this the buttons drop to their own row instead. */
@media (min-width: 1000px) {
  .promo-banner__inner { flex-wrap: nowrap; }
  .promo-banner__text span { white-space: nowrap; }
}

/* ==========================================================================
   Booking modal
   ========================================================================== */
/* Flex + margin:auto, NOT grid/place-items:center — a centred grid item that
   outgrows its container overflows past the top edge and cannot be scrolled
   back to. The message form is ~665px tall and clips on a short phone. */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.62); backdrop-filter: blur(3px); z-index: 1000; display: flex; align-items: flex-start; justify-content: center; overflow-y: auto; overscroll-behavior: contain; padding: 20px; opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), visibility .25s var(--ease); }
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal { background: #fff; max-width: 430px; width: 100%; margin: auto; overflow: hidden; transform: translateY(16px); transition: transform .28s var(--ease); border-bottom: 5px solid var(--red); }
.modal-overlay.open .modal { transform: none; }
.modal__head { background: var(--black); color: #fff; padding: 32px 30px 26px; text-align: center; position: relative; }
.modal__head h3 { color: #fff; margin-bottom: 6px; }
.modal__head p { color: rgba(255,255,255,.66); font-size: .9rem; }
.modal__close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; background: rgba(255,255,255,.12); border: 0; color: #fff; cursor: pointer; font-size: 1.2rem; }
.modal__close:hover { background: var(--red); }
.modal__body { padding: 28px 30px 30px; text-align: center; }
.modal__phone { font-weight: 700; font-size: 1.9rem; color: var(--ink); display: block; margin-bottom: 4px; }
.modal__hours { font-size: .84rem; color: var(--muted); margin-bottom: 22px; }
.modal__body .btn { width: 100%; margin-bottom: 10px; }

/* ==========================================================================
   Leave-a-message float + form modal
   ========================================================================== */
/* "Leave a message" tab, attached flush to the bottom edge (East Rand style) */
.msg-float {
  position: fixed; right: 26px; bottom: 0; z-index: 965;
  background: var(--red); color: #fff; border: 0; cursor: pointer;
  padding: 12px 22px;
  font-family: var(--ff); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 -4px 16px rgba(0,0,0,.24);
  transition: box-shadow .22s var(--ease), background .22s var(--ease), bottom .3s var(--ease);
}
.msg-float:hover { background: var(--red-dark); box-shadow: 0 -6px 20px rgba(0,0,0,.3); }

.modal--form { max-width: 470px; }
/* Lighter header for the message form (default modal head is near-black) */
.modal--form .modal__head {
  background: var(--bg-soft); color: var(--ink); text-align: left;
  padding: 26px 30px 22px; border-bottom: 1px solid var(--line);
}
.modal--form .modal__head h3 { color: var(--ink); }
.modal--form .modal__head p { color: var(--body); }
.modal--form .modal__close { background: rgba(0,0,0,.06); color: var(--ink); }
.modal--form .modal__close:hover { background: var(--red); color: #fff; }
.msg-form { text-align: left; display: flex; flex-direction: column; gap: 15px; }
.msg-form label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: .8rem; font-weight: 600; color: var(--ink); letter-spacing: .02em;
}
.msg-form input, .msg-form textarea {
  font-family: var(--ff); font-size: .95rem; font-weight: 400; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 0; background: var(--bg-soft);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.msg-form input::placeholder, .msg-form textarea::placeholder { color: var(--muted); }
.msg-form input:focus, .msg-form textarea:focus { outline: none; border-color: var(--red); background: #fff; }
.msg-form textarea { resize: vertical; min-height: 108px; line-height: 1.6; }
.msg-form .btn { width: 100%; margin-top: 6px; }
.msg-form__done { text-align: center; color: var(--ink); font-weight: 500; padding: 24px 6px; }

/* ==========================================================================
   Interior page hero + prose (for other pages)
   ========================================================================== */
.page-hero { position: relative; background: var(--black); color: #fff; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 80% 20%; z-index: 0; }
/* Deeper through the middle than before: long headings ("Premium Eye Care
   Examination") run past the old .55 stop and washed out over bright imagery. */
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(0,0,0,.96) 0%, rgba(0,0,0,.9) 26%, rgba(0,0,0,.68) 52%, rgba(0,0,0,.3) 78%, rgba(0,0,0,0) 100%); }
/* Push the subject out from under the overlay when they sit left of centre.
   The mask dissolves the image's left edge into the black so the shift leaves no seam. */
.page-hero__bg--shift,
.page-hero__bg--push,
.page-hero__bg--nudge {
  --hero-shift: 22%;
  --hero-zoom: 1.08;
  transform: translateX(var(--hero-shift)) scale(var(--hero-zoom));
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.35) 8%, rgba(0,0,0,1) 24%);
  mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.35) 8%, rgba(0,0,0,1) 24%);
}
/* --shift also pans up; --push is the same move with the base framing kept,
   --nudge is a gentler version. The mask only clears to 24%, so don't raise
   --hero-shift past it without widening the mask to match. */
.page-hero__bg--shift { object-position: 80% 34%; }
.page-hero__bg--nudge { --hero-shift: 11%; --hero-zoom: 1.05; }
@media (max-width: 900px) {
  .page-hero__bg--shift,
  .page-hero__bg--push,
  .page-hero__bg--nudge { transform: none; -webkit-mask-image: none; mask-image: none; }
}
/* Pan the frame up or down when the subject sits low/high in the source image.
   Only bites at desktop width — a narrow viewport crops horizontally, not
   vertically, so there is no vertical overflow to pan through. */
.page-hero__bg--up { object-position: 80% 34%; }
.page-hero__bg--up-far { object-position: 80% 50%; }
.page-hero__bg--down { object-position: 80% 17%; }
/* A bright source (white walls, pale clothing) glares through the gradient and
   washes the copy out. Knock it back so the overlay reads as intended. */
.page-hero__bg--dim { filter: brightness(.78); }
/* Two lighter overlays, for heroes whose subject sits where the default gradient
   is still near-opaque. --mid keeps a usable scrim behind the copy; --soft goes
   further and suits a subject pushed well right of the text. */
.page-hero--mid::after {
  background: linear-gradient(90deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.84) 24%, rgba(0,0,0,.5) 50%, rgba(0,0,0,.18) 76%, rgba(0,0,0,0) 100%);
}
.page-hero--soft::after {
  background: linear-gradient(90deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.8) 20%, rgba(0,0,0,.38) 48%, rgba(0,0,0,.08) 72%, rgba(0,0,0,0) 88%);
}
/* The 90deg gradient assumes the copy sits in a narrow LEFT column. On a phone
   the copy is full-width, so every line's right half lands in the transparent
   tail and sits on bare image. Swap to a vertical scrim that covers the whole
   width. Must come after --soft, which otherwise wins on source order. */
@media (max-width: 900px) {
  .page-hero::after,
  .page-hero--mid::after,
  .page-hero--soft::after {
    background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.66) 50%, rgba(0,0,0,.82) 100%);
  }
}

.page-hero .container { position: relative; z-index: 2; }
.page-hero__inner { padding: 110px 0; max-width: 760px; min-height: 520px; display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 620px) { .page-hero__inner { padding: 76px 0; min-height: 380px; } }
.page-hero .eyebrow { color: var(--red); }
/* A shadow buys legibility over the bright patches of a photo without having to
   darken the image itself, which would flatten it. */
/* Body copy is the same pure white as the heading — dimmed white over a photo
   reads as low contrast, not as hierarchy. The paired shadow does two jobs: a
   tight one to hold the letter edges against bright pixels, a wide one to sink
   the whole block into the image. */
.page-hero h1 { color: #fff; margin-bottom: 14px; text-shadow: 0 1px 3px rgba(0,0,0,.55), 0 2px 24px rgba(0,0,0,.6); }
.page-hero p { color: #fff; font-size: 1.1rem; text-shadow: 0 1px 3px rgba(0,0,0,.6), 0 2px 18px rgba(0,0,0,.7); }
.prose { max-width: 780px; }
/* Effective date on the legal pages — quieter than body copy. */
.legal-date { color: var(--muted); font-size: 0.9rem; margin-bottom: 26px; }
.prose h2 { margin: 40px 0 14px; }
.prose h3 { margin: 30px 0 10px; }
.prose p { margin-bottom: 16px; }
.prose ul { display: grid; gap: 10px; margin: 0 0 18px; }
.prose ul li { position: relative; padding-left: 26px; color: var(--body); }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 8px; height: 8px; background: var(--red); }

/* ==========================================================================
   Visit us / map
   ========================================================================== */
.visit { border-top: 2px solid var(--black); }
.visit__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: stretch; margin-top: 8px; }
.visit__info { display: flex; flex-direction: column; }
.visit__list { display: grid; gap: 24px; }
.visit__list li { display: flex; gap: 16px; align-items: flex-start; }
.visit__ico { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 15%; background: var(--bg-soft); border: 1px solid var(--line); display: grid; place-items: center; color: var(--red); }
.visit__ico svg { width: 20px; height: 20px; }
.visit__list b { display: block; color: var(--ink); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; margin-bottom: 5px; }
.visit__list p { color: var(--body); font-size: .98rem; line-height: 1.6; }
.visit__list a { color: var(--body); transition: color .18s var(--ease); }
.visit__list a:hover { color: var(--red); }
.section--dark .visit__ico { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: var(--red); }
.section--dark .visit__list b { color: #fff; }
.section--dark .visit__list p,
.section--dark .visit__list a { color: rgba(255,255,255,.7); }
.section--dark .visit__list a:hover { color: #fff; }
.section--dark.visit { border-top: 0; }
.visit__info .btn-row { margin-top: auto; padding-top: 36px; }
.visit__map {
  overflow: hidden; border: 1px solid var(--line);
  min-height: 440px; box-shadow: 0 22px 55px rgba(0,0,0,.09);
}
.visit__map iframe { width: 100%; height: 100%; min-height: 440px; border: 0; display: block; filter: grayscale(.35) contrast(1.03); transition: filter .3s var(--ease); }
.visit__map:hover iframe { filter: none; }
@media (hover: none) { .visit__map iframe { filter: none; } }

/* Contact page: details beside the map, map matched to the column height */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: stretch; }
.contact-grid .visit__map { height: 100%; min-height: 0; box-shadow: 0 22px 55px rgba(0,0,0,.07); }
.contact-grid .visit__map iframe { min-height: 0; height: 100%; }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid .visit__map { min-height: 340px; }
  .contact-grid .visit__map iframe { min-height: 340px; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero__media { max-width: 560px; }
}
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .team-layout { grid-template-columns: 1fr; gap: 40px; }
  .team-layout__intro { max-width: none; }
  .faq-layout { grid-template-columns: 1fr; gap: 32px; }
  .faq-layout__intro { position: static; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse .split__media { order: 0; }
  .values { grid-template-columns: 1fr; gap: 36px; }
  .values__intro { max-width: none; }
  .visit__grid { grid-template-columns: 1fr; gap: 36px; }
  .visit__info .btn-row { padding-top: 8px; }
  .visit__map { min-height: 340px; }
  .visit__map iframe { min-height: 340px; }
  .trust-strip__item { padding: 4px 28px; font-size: .72rem; }

  .nav__toggle { display: block; flex: 0 0 44px; }
  .nav__actions .nav__phone { display: none; }
  /* The logo (409x100) and the nowrap CTA both floor at min-content, so together
     with the toggle they overflow a phone-width row and push the hamburger
     off-screen. Drop the CTA and shrink the logo — the CTA repeats in the panel. */
  .nav__actions .btn { display: none; }
  /* The tagline-free logo is a much wider aspect (409x60 vs 409x100), so the
     same height would render it far wider. Size it to match the old footprint. */
  .nav__logo img { height: 30px; }
  .nav__menu {
    position: fixed; top: 0; right: 0; height: 100dvh; width: min(340px, 86vw);
    background: var(--black); flex-direction: column; align-items: stretch; gap: 0;
    padding: calc(var(--header-h) + 14px) 20px 24px; border-left: 1px solid var(--line-dk);
    transform: translateX(100%); transition: transform .3s var(--ease), visibility .3s;
    z-index: 945; overflow-y: auto; visibility: hidden;
  }
  body.nav-open .nav__menu { transform: translateX(0); visibility: visible; }
  .nav__menu > li { border-bottom: 1px solid var(--line-dk); }
  .nav__menu > li:not(.nav__cta) > a,
  .nav__menu > li > .nav__services { padding: 16px 6px; font-size: 1rem; justify-content: space-between; width: 100%; }
  /* These must out-specify the desktop `.has-dropdown.open .dropdown` rule,
     which carries the absolute-position transform. */
  .has-dropdown > .dropdown { position: static; transform: none; opacity: 1; border: 0; min-width: 0; width: auto; padding: 0 0 10px 8px; max-height: 0; overflow: hidden; visibility: hidden; transition: max-height .3s var(--ease), visibility .3s; }
  .has-dropdown.open > .dropdown { max-height: 640px; visibility: visible; transform: none; }
  .dropdown .d-sub { display: none; }
  .nav__cta { display: block; border-bottom: 0; margin-top: 20px; }
  .nav__cta .btn { width: 100%; }

  /* The "Leave a message" tab sits over the banner in this band, not just on phones. */
  body.banner-open .msg-float { display: none; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  /* Retune the gutter itself, not the padding — full-bleed children cancel it
     with negative margins, and hardcoding padding here desyncs the two. */
  .container { --gutter: 20px; }
  .hero__media .badge { left: 12px; }
  .cta__inner { padding: 52px 0; }
  .promo-banner { bottom: 12px; width: calc(100% - 20px); }
  .promo-banner__inner { padding: 14px 46px 14px 18px; gap: 12px; }
  .promo-banner__text b { font-size: .95rem; }
  .promo-banner__text span { font-size: .78rem; }
  /* Actions take their own full-width row below the text, splitting it evenly. */
  .promo-banner__actions { flex: 1 1 100%; }
  .promo-banner .btn { flex: 1 1 0; min-width: 0; }
  .wa-float { right: 18px; bottom: 72px; height: 54px; }
  .wa-float svg { width: 54px; padding: 0 12px; }
  .msg-float { right: 18px; bottom: 0; font-size: .72rem; letter-spacing: .12em; padding: 10px 16px; }
  /* The banner's height varies with how its text wraps, so any fixed offset here
     eventually collides. The banner carries its own call CTA — hide the float. */
  body.banner-open .wa-float { display: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 40px; padding-top: 72px; }
  /* Left-aligned and narrowed so the copyright wraps to two lines and stays out
     of the right-hand corner, where the WhatsApp and "Leave a message" buttons
     sit. The extra bottom padding keeps the last line above the message tab. */
  .footer__bottom { margin-top: 48px; padding-bottom: 76px; }
  .footer__bottom .container { flex-direction: column; align-items: flex-start; text-align: left; }
  .footer__bottom .container > span:first-child { max-width: 29ch; }
  .footer__bottom .credit { margin-right: 0; }

  /* Wrapped items each drew a stray leading divider. */
  .trust-strip__item { border-left: 0; }

  /* Stacked dark sections kept their 92px join while everything else dropped to
     64px, so the dark blocks were the roomiest thing on the page. */
  .section--dark:has(+ .section--dark) { padding-bottom: 44px; }
  .section--dark + .section--dark { padding-top: 44px; }
  .hero__inner { padding: 56px 0 64px; }
}

/* Half a banner row stops fitting "Call 011 435 9080" (~194px with padding) at
   about this width, and .btn is nowrap — so stack the two buttons instead. */
@media (max-width: 520px) {
  .promo-banner__actions { flex-wrap: wrap; }
  .promo-banner__actions .btn { flex: 1 1 100%; }
}

/* Long labels (e.g. "WhatsApp 079 800 2176") cannot shrink while nowrap holds,
   and the modal/banner buttons are full-width — let them wrap on small phones. */
@media (max-width: 400px) {
  .btn { white-space: normal; text-align: center; }
  .modal__body .btn, .promo-banner .btn { padding-left: 16px; padding-right: 16px; }
}

/* ---------- Scroll reveal (fade + rise) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Interior components (service pages, cards, CTA bands, article layout)
   ========================================================================== */

/* Extra button variants */
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--navy { background: var(--ink); color: #fff; }
.btn--navy:hover { background: var(--red); }
.btn--lg { padding: 17px 36px; font-size: .8rem; }

.maxw-720 { max-width: 720px; }
.maxw-980 { max-width: 980px; }
.btn-row.center-row { justify-content: center; margin-top: 44px; }
@media (min-width: 761px) {
  .check--2col { grid-template-columns: 1fr 1fr; gap: 16px clamp(40px, 5vw, 72px); }
}

/* Numbered service card (services grid) */
.svc-card {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  background: #fff; border: 1px solid var(--line); padding: 40px 30px 30px;
  overflow: hidden; transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.svc-card::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 3px; width: 0; background: var(--red); transition: width .3s var(--ease); }
.svc-card:hover { transform: translateY(-5px); border-color: #d9d5cf; box-shadow: 0 20px 44px rgba(0,0,0,.08); }
.svc-card:hover::after { width: 100%; }
.svc-card__num { position: absolute; z-index: 2; top: 12px; right: 18px; font-size: 2.2rem; font-weight: 700; color: #fff; line-height: 1; letter-spacing: -.03em; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.svc-card h3 { color: var(--ink); font-size: 1.12rem; }
.svc-card p { font-size: .93rem; flex: 1; }
.svc-card .textlink { align-self: flex-start; margin-top: 4px; }

/* Standalone feature card (values, highlights) */
.card { background: #fff; border: 1px solid var(--line); padding: 38px 32px; transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease); }
.card:hover { transform: translateY(-5px); border-color: #d9d5cf; box-shadow: 0 20px 44px rgba(0,0,0,.08); }
.card__ico { width: 52px; height: 52px; display: grid; place-items: center; color: var(--red); background: var(--bg-soft); border: 1px solid var(--line); margin-bottom: 22px; }
.card__ico svg { width: 26px; height: 26px; }
.card h3 { color: var(--ink); margin-bottom: 10px; }
.card p { font-size: .96rem; }
.section--dark .card { background: #1a1b1f; border-color: rgba(255,255,255,.09); }
.section--dark .card h3 { color: #fff; }
.section--dark .card p { color: rgba(255,255,255,.58); }
.section--dark .card strong { color: #fff; }
.section--dark .card__ico { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }

/* Card variant: accent strip across the top instead of an icon */
.card--strip { position: relative; padding-top: 40px; }
.card--strip::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--red); }
/* Wrapper opt-in: a finer strip on the cards inside */
.strip-thin .card--strip::before { height: 2px; }

/* Pyramid: one card centred on top, the rest in a row beneath */

/* Card variant: accent strip down the left edge */
.card--rail { position: relative; padding-left: 34px; }
.card--rail::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--red); }

/* Card variant: solid black panel on a light section */
.card--ink { background: var(--black); border-color: var(--black); }
.card--ink:hover { border-color: var(--black); box-shadow: 0 20px 44px rgba(0,0,0,.18); }
.card--ink h3 { color: #fff; }
.card--ink p { color: rgba(255,255,255,.62); }
.card--ink strong { color: #fff; }
.card--ink ul.check li { color: rgba(255,255,255,.72); }
/* Numbered value rows on a dark background (panelled or bare) */
.card--ink .value-row,
.section--dark .value-row { border-top-color: rgba(255,255,255,.12); }
.section--dark .value-row__text h3 { color: #fff; }
.section--dark .value-row__text p { color: rgba(255,255,255,.62); }
.card--ink .value-row:first-child,
.section--dark .card .value-row:first-child { border-top: 0; padding-top: 0; }
.card--ink .value-row__text h3,
.section--dark .card .value-row__text h3 { color: #fff; }
.card--ink .value-row__text p,
.section--dark .card .value-row__text p { color: rgba(255,255,255,.62); }

/* Caption chip anchored on a split image */

/* Full-width CTA band */
.cta-band { background: var(--ink); color: #fff; border-top: 3px solid var(--red); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 44px; padding: 66px 0; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 10px; max-width: 22ch; }
.cta-band p { color: rgba(255,255,255,.62); max-width: 460px; }
.cta-band .btn-row { flex-shrink: 0; }
/* flex-shrink:0 pins the row at max-content, so the nowrap buttons can never
   wrap and they drag the page wider than the phone. Let it shrink on mobile —
   must come after the rule above, since a media query adds no specificity. */
@media (max-width: 620px) {
  .cta-band .btn-row { flex-shrink: 1; }
}

/* Red variant */
/* The dark rule only reads as a divider against a dark section above it; over a
   light one it's just a stray line, so earn it from the previous sibling. */
.cta-band--red { background: var(--red); border-top: 0; }
.section--dark + .cta-band--red { border-top: 3px solid var(--ink); }
.cta-band--red p { color: rgba(255,255,255,.82); }
.cta-band--red .btn--primary { background: #fff; color: var(--red); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.cta-band--red .btn--primary:hover { background: #fff; color: var(--red); transform: translateY(-3px); box-shadow: 0 14px 28px rgba(0,0,0,.22); }
.cta-band--red .btn--primary:active { transform: translateY(-1px); box-shadow: 0 8px 16px rgba(0,0,0,.2); }
@media (prefers-reduced-motion: reduce) {
  .cta-band--red .btn--primary { transition: none; }
  .cta-band--red .btn--primary:hover { transform: none; }
}

/* Article layout: prose + sticky sidebar */

/* Accented note within prose */
.callout { background: var(--bg-soft); border-left: 3px solid var(--red); padding: 24px 28px; margin: 30px 0; }
.callout p { margin: 0; color: var(--ink); font-style: italic; }

/* Ticked list (overrides the default red-square bullet) */
.prose ul.check { gap: 14px; }
.prose ul.check li { padding-left: 32px; }
.prose ul.check li::before {
  content: ""; left: 4px; top: 4px; width: 7px; height: 12px;
  background: none; border: solid var(--red); border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Tick in ink rather than red */
ul.check--ink li::before,
.prose ul.check--ink li::before { border-color: var(--ink); }

/* Arrowhead marker instead of a tick */
ul.check--arrow li::before,
.prose ul.check--arrow li::before {
  width: 7px; height: 7px; left: 4px; top: 7px;
  background: none; border: solid var(--red); border-width: 2px 2px 0 0;
  transform: rotate(45deg);
}

/* Modal icon badge */
.m-ico { width: 56px; height: 56px; margin: 0 auto 14px; display: grid; place-items: center; background: rgba(255,255,255,.1); border-radius: 50%; color: #fff; }
.m-ico svg { width: 26px; height: 26px; }

/* Brand name tiles (brands page) */
.brand-group { color: var(--ink); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  display: flex; align-items: center; gap: 16px; margin: 0 0 22px; }
.brand-group::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.brand-group + .brand-grid { margin-bottom: 56px; }
.brand-grid:last-child { margin-bottom: 0; }
.brand-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.brand-tile { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 86px; padding: 18px 16px; background: #fff; border: 1px solid var(--line); font-weight: 600; color: var(--ink); font-size: .98rem; transition: border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
/* Lift + shadow only — the tile no longer turns red on hover. */
.brand-tile:hover { border-color: #d9d5cf; transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.07); }
/* On a black section */
.section--dark .brand-group { color: #fff; }
.section--dark .brand-group::after { background: rgba(255,255,255,.14); }
.section--dark .brand-tile { background: #1a1b1f; border-color: rgba(255,255,255,.09); color: #fff; }
.section--dark .brand-tile:hover { background: #212228; border-color: rgba(255,255,255,.22); transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,.35); }

/* Contact form card (contact page) */
.form-card { background: #fff; border: 1px solid var(--line); border-bottom: 4px solid var(--red); padding: 40px; box-shadow: 0 22px 55px rgba(0,0,0,.07); }
/* Narrow, taller form: single column of fields, roomier textarea */
.form-card--narrow { max-width: 560px; margin: 0 auto; padding: 46px 44px; }
.form-card--narrow .contact-form { gap: 22px; }
.form-card--narrow .contact-form textarea { min-height: 190px; }
.form-card h2 { margin-bottom: 6px; }
.form-card > p { color: var(--body); margin-bottom: 24px; }
.contact-form { display: grid; gap: 16px; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: .8rem; font-weight: 600; color: var(--ink); letter-spacing: .02em; }
.contact-form input, .contact-form textarea {
  font-family: var(--ff); font-size: .95rem; font-weight: 400; color: var(--ink);
  padding: 13px 15px; border: 1px solid var(--line); background: var(--bg-soft);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--muted); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--red); background: #fff; }
.contact-form textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.contact-form .btn { margin-top: 4px; }
.contact-form__done { text-align: center; color: var(--ink); font-weight: 500; padding: 20px 6px; }

/* Inline submission error, injected by js/ContactUs.js when the Worker
   rejects a post or the network fails. */
.form-error { margin-top: 14px; padding: 12px 14px; border-radius: 8px; background: #fdecec; border: 1px solid #f0b4b4; color: #8c1c1c; font-size: 0.94rem; line-height: 1.45; }
.form-error[hidden] { display: none; }

@media (max-width: 900px) {
  .cta-band__inner { padding: 52px 0; }
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .form-card { padding: 28px 22px; }
  .contact-form .form-row { grid-template-columns: 1fr; }
}

/* Reusable ticked list outside prose */
ul.check { display: grid; gap: 12px; }
ul.check li { position: relative; padding-left: 30px; color: var(--body); }
ul.check li::before { content: ""; position: absolute; left: 4px; top: 5px; width: 7px; height: 12px; border: solid var(--red); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.section--dark ul.check li { color: rgba(255,255,255,.72); }

/* Numbered service card used as a static block (no link) */
.svc-card--static { cursor: default; }
.svc-card--static:hover { transform: none; box-shadow: none; border-color: var(--line); }
.svc-card--static:hover::after { width: 0; }
/* Numbered static cards sit on white — no icon, red visible number */
.svc-card--static .svc-card__num { color: var(--red); text-shadow: none; }
.section--dark .svc-card { background: #1a1b1f; border-color: rgba(255,255,255,.09); }
.section--dark .svc-card h3 { color: #fff; }
.section--dark .svc-card p { color: rgba(255,255,255,.58); }
.section--dark .svc-card--static:hover { border-color: rgba(255,255,255,.09); }

/* ==========================================================================
   Promotions page
   ========================================================================== */
/* DV promotions feature (dark, two column) */
.dv-promos-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: stretch; }
.dv-feature { background: rgba(255,255,255,.03); border: 1px solid var(--line-dk); padding: 44px 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.dv-feature .tag { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 16px; }
.dv-feature h3 { color: #fff; font-size: 1.5rem; margin-bottom: 14px; }
.dv-feature p { color: rgba(255,255,255,.6); }
.info-list { display: grid; gap: 22px; }
.info-list__row { display: flex; gap: 16px; align-items: flex-start; }
.info-list__ico { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 15%; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); display: grid; place-items: center; color: var(--red); }
.info-list__ico svg { width: 20px; height: 20px; }
.info-list__row b { display: block; color: #fff; font-size: .95rem; margin-bottom: 4px; }
.info-list__row p { color: rgba(255,255,255,.6); font-size: .9rem; line-height: 1.6; }

/* Offer types (hairline grid) */
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 52px; }
.offer-card { background: #fff; padding: 44px 36px; transition: background .2s var(--ease); }
.offer-card:hover { background: var(--bg-soft); }
.offer-card .card__ico { margin-bottom: 20px; }
.offer-card h3 { color: var(--ink); margin-bottom: 12px; }
.offer-card p { font-size: .95rem; }

/* Deals grid */
.deals-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.deal-card { background: #fff; border: 1px solid var(--line); overflow: hidden; transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.deal-card:hover { box-shadow: 0 14px 34px rgba(0,0,0,.1); transform: translateY(-3px); }
.deal-img-wrap { background: var(--bg-soft); display: flex; align-items: center; justify-content: center; padding: 24px; min-height: 210px; }
.deal-img-wrap img { width: 100%; height: 190px; object-fit: contain; }
.deal-body { padding: 26px 28px 30px; }
.deal-title { font-size: 1.08rem; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.deal-price { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.deal-now { font-size: 1.12rem; font-weight: 700; color: var(--red); }
.deal-was { font-size: .82rem; color: var(--muted); text-decoration: line-through; }
.deal-desc { font-size: .9rem; color: var(--body); line-height: 1.65; }
.deals-terms { margin-top: 28px; font-size: .82rem; line-height: 1.6; color: var(--muted); max-width: 780px; }
.section--dark .deals-terms { color: rgba(255,255,255,.5); }

@media (max-width: 900px) {
  .dv-promos-inner { grid-template-columns: 1fr; gap: 28px; }
  .offer-grid { grid-template-columns: 1fr; }
  .deals-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .deals-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   404 — page not found
   ========================================================================== */
.notfound { text-align: center; }
.notfound__inner { max-width: 640px; margin: 0 auto; display: grid; gap: 18px; justify-items: center; }
.notfound h1 { font-size: clamp(1.9rem, 5vw, 2.9rem); color: var(--ink); }
.notfound .lead { margin: 0; }
.notfound .btn-row { margin-top: 10px; }
.notfound__links { width: 100%; margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--line); }
.notfound__links ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 14px; }
.notfound__links a { color: var(--body); border-bottom: 1px solid var(--line); transition: color .18s var(--ease), border-color .18s var(--ease); }
.notfound__links a:hover { color: var(--red); border-color: var(--red); }
