/*
 * NoMoldWNC — Site components
 * Layout + chrome + repeated UI patterns. Mirrors the Pure Maintenance UK
 * component anatomies (buttons, eyebrow pill, mega-menu, cards, CTA band,
 * marquee, footer) on the sky-blue theme.
 */

/* ── Layout ────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad-x-desk);
}
@media (max-width: 768px) {
  .container { padding-inline: var(--container-pad-x-mob); }
}
.section { padding-block: var(--section-py-default); }
.section--compact { padding-block: var(--section-py-compact); }
.section--alt { background-color: var(--color-surface-section); border-top: 1px solid rgba(241,245,249,0.6); }
.section--navy { background: linear-gradient(180deg, var(--color-brand-navy) 0%, var(--color-brand-deep) 100%); color: #dde7f6; }
.section--navy .t-h2 { color: #ffffff; }
/* On navy, gradient type flips to the periwinkle→ice ramp — the navy→steel
   brand gradient would sink into the background. */
.section--navy .t-gradient { background-image: var(--gradient-light-on-dark); }
.section--navy .t-lead { color: rgba(255,255,255,0.82); }
.section--navy .eyebrow { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.20); color: rgba(255,255,255,0.92); box-shadow: none; backdrop-filter: blur(6px); }
.section--navy .eyebrow .dot { background: var(--color-brand-secondary); }

/* ── Buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: inherit;
  font-size: var(--font-size-button);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--tracking-tight);
  padding: 1.15rem 2.25rem;
  border-radius: var(--radius-button);
  border: none;
  cursor: pointer;
  transition: all 0.4s var(--ease-brand);
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; transition: transform var(--duration-standard) var(--ease-brand); }
.btn-brand {
  background-image: var(--gradient-brand);
  color: var(--color-text-inverse);
  box-shadow: 0 10px 24px -10px rgba(12,49,129,0.45);
}
.btn-brand:hover { opacity: 0.96; box-shadow: var(--shadow-brand-button); }
.btn-brand:hover svg { transform: translateX(4px); }
.btn-secondary {
  background-color: var(--color-surface-card);
  border: 1px solid var(--color-border-default);
  color: var(--color-text-body);
}
.btn-secondary:hover {
  border-color: var(--color-brand-mid);
  color: var(--color-brand-primary);
  background-color: #fafcff;
}
.btn--sm { padding: 0.8rem 1.4rem; font-size: 0.95rem; }
/* white CTA used on gradient bands */
.btn-onbrand {
  background: #ffffff;
  color: var(--color-brand-deep);
  box-shadow: 0 14px 30px -10px rgba(15,23,42,0.25);
}
.btn-onbrand:hover { opacity: 0.95; transform: translateY(-1px); }
.btn-onbrand:hover svg { transform: translateX(4px); }
.btn-ghost-light {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.45);
  color: #fff;
  backdrop-filter: blur(8px);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.18); }

/* ── Eyebrow pill (live dot) ───────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-subtle);
  font-size: var(--font-size-eyebrow);
  font-weight: var(--font-weight-extrabold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  color: var(--color-text-secondary);
  white-space: nowrap;
}
.eyebrow--dark {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.22);
  backdrop-filter: blur(10px);
  color: rgba(255,255,255,0.92);
  box-shadow: none;
}
.eyebrow .dot {
  position: relative;
  width: 0.55rem; height: 0.55rem;
  border-radius: 9999px;
  background: var(--color-brand-primary);
  flex-shrink: 0;
}
.eyebrow--dark .dot { background: #fff; }
.eyebrow .dot::after {
  content: ""; position: absolute; inset: 0;
  border-radius: 9999px; background: inherit;
  animation: pm-ping 1s cubic-bezier(0,0,0.2,1) infinite;
}
@keyframes pm-ping { 75%,100% { transform: scale(2.2); opacity: 0; } }

/* ── Icon chip ─────────────────────────────────────────────────── */
.icon-chip {
  width: 2.5rem; height: 2.5rem;
  border-radius: var(--radius-sm);
  background: var(--color-surface-subtle);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--color-brand-primary);
}
.icon-chip svg { width: 18px; height: 18px; }
.icon-chip { transition: color var(--duration-standard) ease, background-color var(--duration-standard) ease, background-image var(--duration-standard) ease; }
.icon-chip--lg { width: 3.5rem; height: 3.5rem; border-radius: var(--radius-md); }
.icon-chip--lg svg { width: 24px; height: 24px; }

/* ── Section heading block ─────────────────────────────────────── */
.heading-block { max-width: 56rem; margin-inline: auto; text-align: center; }
.heading-block > * + * { margin-top: 1.6rem; }
.heading-block .t-lead { max-width: 42rem; margin-inline: auto; }
.heading-block + .card-grid,
.heading-block + .feature-grid { margin-top: 3.5rem; }
@media (min-width:1024px){ .heading-block > * + * { margin-top: 2.2rem; } }

/* ── Promo bar ─────────────────────────────────────────────────── */
/* Periwinkle bar with navy type — the logo's own color pairing. */
.promobar {
  background: linear-gradient(90deg, #8fb1dc 0%, #aac5e7 100%);
  color: var(--color-brand-deep);
  text-align: center;
  padding: 0.55rem 1rem;
  font-size: 0.72rem;
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
}
.promobar a { font-weight: var(--font-weight-black); text-decoration: underline; text-underline-offset: 2px; }

/* ── Navbar ────────────────────────────────────────────────────── */
/* Let the injected header's children (promo bar + nav) participate in the
   body's flow so the sticky navbar can travel the full page height instead
   of being trapped inside the short #site-header wrapper. */
#site-header { display: contents; }
.nav-wrap {
  position: sticky; top: 0; z-index: 50;
  padding-top: 0.75rem;
}
.navbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  padding: 0.7rem 0;
}
.nav-shell {
  margin: 0 auto;
  max-width: var(--container-max);
  border-radius: var(--radius-pill);
  padding-inline: 1.5rem;
  border: 1px solid transparent;
  transition: background var(--duration-medium) ease, box-shadow var(--duration-medium) ease,
              border-color var(--duration-medium) ease, backdrop-filter var(--duration-medium) ease;
}
/* Solid (floating glass island) — default on interior pages, on scroll for the video hero */
.nav-wrap.solid .nav-shell {
  background-color: var(--color-glass-bg);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-color: var(--color-glass-border);
  box-shadow: var(--shadow-glass);
}
/* Transparent (sitting on the hero video) */
.nav-wrap.transparent .nav-shell { background: transparent; box-shadow: none; border-color: transparent; }
.nav-wrap.transparent .nav-link,
.nav-wrap.transparent .nav-phone { color: #ffffff; }
.nav-wrap.transparent .nav-link:hover { color: #ffffff; opacity: 0.8; }
.nav-wrap.transparent .nav-phone {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.45);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.nav-wrap.transparent .nav-phone:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.6); }
.nav-wrap.transparent .nav-phone svg { color: #ffffff; }
.nav-wrap.transparent .nav-burger { color: #ffffff; }
/* Full-color logo artwork holds up on the dark hero; a soft shadow lifts it
   off the video instead of flattening it to a white silhouette. */
.nav-wrap.transparent .nav-logo img { filter: drop-shadow(0 2px 10px rgba(6,25,49,0.45)); }

.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 56px; width: auto; transition: filter var(--duration-medium) ease; }
.nav-links { display: flex; align-items: center; gap: 0.35rem; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.65rem 0.95rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-text-body);
  letter-spacing: var(--tracking-tight);
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--duration-standard) ease, background var(--duration-standard) ease;
}
.nav-link:hover { color: var(--color-text-primary); }
.nav-link svg { width: 15px; height: 15px; transition: transform var(--duration-standard) ease; }
.nav-item:hover .nav-link[data-haspopup] { color: var(--color-brand-primary); }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }

/* Mega menu */
.megamenu {
  position: absolute; top: calc(100% + 0.6rem); left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 380px;
  background: #fff;
  border: 1px solid var(--color-border-subtle);
  border-radius: 1.75rem;
  box-shadow: var(--shadow-menu);
  padding: 0.7rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--duration-standard) ease, transform var(--duration-standard) ease, visibility var(--duration-standard);
}
/* Invisible bridge so the cursor can cross the gap without losing :hover */
.megamenu::before {
  content: ""; position: absolute;
  left: 0; right: 0; top: -0.9rem; height: 0.9rem;
}
.nav-item:hover .megamenu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega-item {
  display: flex; align-items: flex-start; gap: 0.9rem;
  padding: 0.85rem;
  border-radius: 1.1rem;
  transition: background var(--duration-standard) ease;
}
.mega-item:hover { background: #f3f7fc; }
.mega-item:hover .icon-chip { background: #fff; box-shadow: var(--shadow-subtle); }
.mega-item:hover .mega-title { color: var(--color-brand-primary); }
.mega-title {
  display: block;
  font-size: 0.78rem; font-weight: var(--font-weight-black);
  text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--color-text-primary);
  transition: color var(--duration-standard) ease;
}
.mega-desc { display: block; font-size: 0.74rem; color: var(--color-text-tertiary); font-weight: var(--font-weight-medium); margin-top: 0.2rem; line-height: 1.45; }

.nav-cta { display: flex; align-items: center; gap: 0.75rem; }
/* Match the Get a Quote button to the call button's compact size */
.nav-cta .btn { padding: 0.6rem 1.05rem; font-size: 0.82rem; }
.nav-cta .btn svg { width: 16px; height: 16px; }
.nav-phone {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.82rem; font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  padding: 0.6rem 1.05rem;
  border-radius: var(--radius-button);
  border: 1px solid var(--color-border-default);
  background: rgba(154,185,223,0.14);
  transition: background var(--duration-standard) ease, border-color var(--duration-standard) ease, color var(--duration-standard) ease;
}
.nav-phone:hover { border-color: var(--color-brand-mid); background: rgba(154,185,223,0.24); }
.nav-phone svg { width: 16px; height: 16px; color: var(--color-brand-primary); }

/* Mobile */
.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; color: var(--color-text-primary); }
.nav-burger svg { width: 26px; height: 26px; }
.mobile-menu { display: none; }
@media (max-width: 1024px) {
  .nav-links, .nav-phone { display: none; }
  .nav-burger { display: inline-flex; }
  .mobile-menu {
    display: block;
    position: fixed; inset: 0;
    background: rgba(247,252,254,0.98);
    backdrop-filter: blur(8px);
    z-index: 60;
    padding: 1.5rem;
    transform: translateX(100%);
    transition: transform var(--duration-medium) var(--ease-brand);
    overflow-y: auto;
  }
  .mobile-menu.open { transform: translateX(0); }
}
.mobile-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.mobile-top img { height: 40px; }
.mobile-close { background: none; border: none; cursor: pointer; color: var(--color-text-primary); }
.mobile-close svg { width: 28px; height: 28px; }
.mobile-group { border-top: 1px solid var(--color-border-subtle); padding: 1.1rem 0; }
.mobile-group:first-of-type { border-top: none; }
.mobile-group-title { font-size: 0.7rem; font-weight: var(--font-weight-black); text-transform: uppercase; letter-spacing: var(--tracking-label); color: var(--color-text-tertiary); margin-bottom: 0.75rem; }
.mobile-link { display: block; padding: 0.6rem 0; font-size: 1.15rem; font-weight: var(--font-weight-bold); color: var(--color-text-primary); letter-spacing: var(--tracking-tight); }
.mobile-menu .btn { width: 100%; margin-top: 1.5rem; }

/* ── Cards ─────────────────────────────────────────────────────── */
.card-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 700px) and (max-width: 899px) { .card-grid--3 { grid-template-columns: repeat(2, 1fr); } }

.service-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-subtle);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow var(--duration-slow) ease, border-color var(--duration-slow) ease, transform var(--duration-slow) ease;
}
.service-card:hover { box-shadow: var(--shadow-card-hover); border-color: var(--color-border-brand-30); transform: translateY(-4px); }
/* Gradient border on hover — thick top, thin sides & bottom (mask keeps the rounded corners) */
.service-card::after {
  content: ""; position: absolute; inset: 0; z-index: 3;
  border-radius: inherit;
  padding: 5px 1.5px 1.5px 1.5px;
  background: var(--gradient-brand);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; pointer-events: none;
  transition: opacity var(--duration-medium) ease;
}
.service-card:hover::after { opacity: 1; }
.service-card .card-media {
  aspect-ratio: 16/10; margin: 0.7rem 0.7rem 0; border-radius: 2.3rem; overflow: hidden; position: relative;
}
.service-card .card-media img,
.card-media .placeholder {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(18%);
  transition: filter var(--duration-cinematic) ease, transform var(--duration-cinematic) ease;
}
.service-card:hover .card-media img,
.service-card:hover .card-media .placeholder { filter: grayscale(0); transform: scale(1.05); }
.card-body { padding: 1.6rem 1.9rem 2rem; display: flex; flex-direction: column; gap: 0.85rem; flex: 1; }
.card-body .card-eyebrow { font-size: var(--font-size-eyebrow); font-weight: var(--font-weight-extrabold); text-transform: uppercase; letter-spacing: var(--tracking-label); color: var(--color-brand-primary); }
.card-body h3 { font-size: 1.5rem; }
.card-body p { font-size: 1rem; color: var(--color-text-secondary); }
.card-link {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.85rem; font-weight: var(--font-weight-bold);
  color: var(--color-brand-primary); margin-top: auto; padding-top: 0.5rem;
}
.card-link svg { width: 16px; height: 16px; transition: transform var(--duration-standard) var(--ease-brand); }
.card-link:hover svg { transform: translateX(4px); }

/* Image placeholder (no photo yet) */
.placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.6rem;
  background:
    var(--gradient-hero-accent),
    repeating-linear-gradient(45deg, #eef3fa 0 10px, #e6edf7 10px 20px);
  color: var(--color-brand-primary);
}
.placeholder svg { width: 34px; height: 34px; opacity: 0.7; }
.placeholder span { font-size: 0.66rem; font-weight: var(--font-weight-extrabold); text-transform: uppercase; letter-spacing: var(--tracking-label); color: var(--color-text-tertiary); }

/* Feature card (4-up) */
.feature-grid { display: grid; gap: 1.5rem; }
@media (min-width: 1024px){ .feature-grid--4 { grid-template-columns: repeat(4,1fr);} }
@media (min-width: 600px) and (max-width:1023px){ .feature-grid--4 { grid-template-columns: repeat(2,1fr);} }
.feature-card {
  background: var(--color-surface-section);
  border: 1px solid var(--color-border-subtle);
  border-radius: 2.2rem;
  padding: 2rem;
  box-shadow: var(--shadow-subtle);
  display: flex; flex-direction: column; gap: 1.25rem;
  position: relative;
  transition: box-shadow var(--duration-medium) ease, transform var(--duration-medium) ease;
}
.feature-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }
.feature-card:hover .icon-chip { background-image: var(--gradient-brand); background-color: transparent; color: #fff; }
.feature-card h3 { font-size: 1.15rem; letter-spacing: var(--tracking-tight); }
.feature-card p { font-size: 0.92rem; color: var(--color-text-secondary); line-height: 1.6; }

/* Stat block */
.stat-row { display: flex; flex-wrap: wrap; gap: 2.5rem 3.5rem; }
.stat .stat-num { font-size: 2.6rem; font-weight: var(--font-weight-black); letter-spacing: -0.04em; color: var(--color-text-primary); line-height: 1; }
.stat .stat-num .t-gradient { display: inline; }
.stat .stat-label { font-size: 0.7rem; font-weight: var(--font-weight-bold); text-transform: uppercase; letter-spacing: var(--tracking-label); color: var(--color-text-tertiary); margin-top: 0.55rem; }

/* Testimonial card */
.testi-card {
  position: relative; overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-card-lg);
  box-shadow: var(--shadow-subtle);
  padding: 2.5rem 2.5rem 2.2rem;
  display: flex; flex-direction: column; gap: 1.25rem;
  transition: box-shadow var(--duration-slow) ease, border-color var(--duration-slow) ease, transform var(--duration-slow) ease;
}
.testi-card:hover { box-shadow: var(--shadow-card-hover); border-color: var(--color-border-brand-30); transform: translateY(-4px); }
.testi-quotemark { position: absolute; top: 1.2rem; right: 1.6rem; color: var(--color-brand-primary); opacity: 0.07; }
.testi-quotemark svg { width: 90px; height: 90px; }
.testi-stars { display: flex; gap: 0.2rem; color: var(--color-accent-gold); }
.testi-stars svg { width: 18px; height: 18px; fill: currentColor; }
.testi-quote { font-size: 1.12rem; font-weight: var(--font-weight-bold); font-style: italic; color: var(--color-text-primary); line-height: 1.45; letter-spacing: var(--tracking-tight); }
.testi-author { display: flex; align-items: center; gap: 0.9rem; margin-top: auto; }
.testi-avatar { width: 2.8rem; height: 2.8rem; border-radius: 9999px; background-image: var(--gradient-brand); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: var(--font-weight-black); font-size: 0.95rem; flex-shrink: 0; }
.testi-name { font-size: 0.95rem; font-weight: var(--font-weight-extrabold); color: var(--color-text-primary); }
.testi-badge { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.62rem; font-weight: var(--font-weight-black); text-transform: uppercase; letter-spacing: var(--tracking-label); color: var(--color-brand-primary); background: var(--color-surface-subtle); padding: 0.3rem 0.6rem; border-radius: 9999px; margin-top: 0.25rem; }
.testi-badge svg { width: 11px; height: 11px; }

/* ── CTA band ──────────────────────────────────────────────────── */
.cta-band {
  position: relative; overflow: hidden;
  background-image: linear-gradient(120deg, var(--color-brand-deep) 0%, var(--color-brand-navy) 45%, var(--color-brand-mid) 100%);
  padding-block: var(--section-py-spacious);
  color: #fff;
}
.cta-band .blob { position: absolute; border-radius: 9999px; background: rgba(255,255,255,0.12); filter: blur(50px); pointer-events: none; }
.cta-band .blob--1 { width: 30rem; height: 30rem; top: -10rem; right: -6rem; }
.cta-band .blob--2 { width: 24rem; height: 24rem; bottom: -12rem; left: -8rem; }
.cta-band .heading-block .t-h2 { color: #fff; }
.cta-band .heading-block .t-lead { color: rgba(255,255,255,0.85); }
.cta-band .cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2.5rem; }

/* ── Marquee ───────────────────────────────────────────────────── */
.marquee {
  position: relative; width: 100%; 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; width: max-content; align-items: center; gap: 4rem; animation: pm-marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes pm-marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.marquee img { height: 60px; width: auto; object-fit: contain; }
.marquee--onbrand img { filter: brightness(0) invert(1); opacity: 0.9; transition: opacity var(--duration-standard) ease; }
.marquee--onbrand img:hover { opacity: 1; }
.logo-text { font-size: 1.4rem; font-weight: var(--font-weight-black); letter-spacing: -0.03em; color: rgba(255,255,255,0.85); white-space: nowrap; }

/* ── Footer ────────────────────────────────────────────────────── */
.footer { background: linear-gradient(180deg, var(--color-brand-navy) 0%, var(--color-brand-navy-deep) 100%); color: #d2deef; padding-block: 4.5rem 2.5rem; }
.footer a { color: #d2deef; transition: color var(--duration-standard) ease; }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 3rem; grid-template-columns: 1.5fr repeat(3, 1fr); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 52px; background: #fff; padding: 0.5rem 0.7rem; border-radius: 0.8rem; }
.footer-brand p { color: #a9bce0; font-size: 0.95rem; margin-top: 1.1rem; max-width: 22rem; }
.footer-contact { margin-top: 1.4rem; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-contact a, .footer-contact span { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.92rem; }
.footer-contact svg { width: 16px; height: 16px; color: var(--color-brand-secondary); flex-shrink: 0; }
.footer-col h4 { font-size: 0.72rem; font-weight: var(--font-weight-black); text-transform: uppercase; letter-spacing: var(--tracking-label); color: #fff; margin-bottom: 1.2rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a { font-size: 0.92rem; color: #a9bce0; }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-top: 3.5rem; padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,0.12); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }
.footer-bottom p { color: #8aa0cd; font-size: 0.8rem; }
.footer-socials { display: flex; gap: 0.6rem; }
.footer-socials a { width: 2.3rem; height: 2.3rem; border-radius: 9999px; border: 1px solid rgba(255,255,255,0.12); display: inline-flex; align-items: center; justify-content: center; }
.footer-socials a:hover { background: rgba(255,255,255,0.08); }
.footer-socials svg { width: 16px; height: 16px; }

/* ── Fade-up on scroll ─────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ── Reduced motion ────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .eyebrow .dot::after { animation: none; }
  .marquee-track { animation: none; }
}

/* ── Forms ─────────────────────────────────────────────────────── */
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label { font-size: 0.72rem; font-weight: var(--font-weight-extrabold); text-transform: uppercase; letter-spacing: var(--tracking-label); color: var(--color-text-secondary); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; color: var(--color-text-primary);
  padding: 0.95rem 1.1rem;
  border: 1px solid var(--color-border-default);
  border-radius: 1rem;
  background: #fff;
  transition: border-color var(--duration-standard) ease, box-shadow var(--duration-standard) ease;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--color-brand-mid);
  box-shadow: 0 0 0 4px rgba(77,114,187,0.15);
}
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--color-status-danger); }
.field .err { font-size: 0.75rem; color: var(--color-status-danger); font-weight: var(--font-weight-bold); display: none; }
.field.invalid .err { display: block; }

/* ── Page header (interior pages) ──────────────────────────────── */
.page-hero { position: relative; overflow: hidden; padding-top: 4.5rem; padding-bottom: 3.5rem; }
.page-hero .hero-bg-accent { position: absolute; inset: 0; pointer-events: none; }
.page-hero-inner { position: relative; max-width: 52rem; }
.page-hero-inner > * + * { margin-top: 1.4rem; }
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; font-weight: var(--font-weight-bold); color: var(--color-text-tertiary); }
.breadcrumb a:hover { color: var(--color-brand-primary); }
.breadcrumb svg { width: 14px; height: 14px; }
.page-hero h1 { max-width: 16ch; }
.page-hero .t-lead { max-width: 46ch; }

/* Intro feature list on stub pages */
.stub-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem; align-items: start; }
@media (max-width: 880px) { .stub-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
.stub-copy > * + * { margin-top: 1.3rem; }
.stub-copy .t-body { font-size: 1.08rem; color: var(--color-text-secondary); }
.stub-points { list-style: none; margin: 0.5rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 1.1rem; }
.stub-points li { display: flex; align-items: flex-start; gap: 0.9rem; }
.stub-points .icon-chip { margin-top: 0.1rem; }
.stub-points h4 { font-size: 1.05rem; font-weight: var(--font-weight-bold); color: var(--color-text-primary); margin: 0 0 0.2rem; letter-spacing: var(--tracking-tight); }
.stub-points p { font-size: 0.95rem; color: var(--color-text-secondary); }
.stub-aside { background: #fff; border: 1px solid var(--color-border-subtle); border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: 2.2rem; }
.stub-aside .aside-media { aspect-ratio: 4/3; border-radius: 2rem; overflow: hidden; margin-bottom: 1.6rem; }
.stub-aside .aside-media .placeholder { width: 100%; height: 100%; }
.stub-aside h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.stub-aside p { font-size: 0.95rem; color: var(--color-text-secondary); margin-bottom: 1.4rem; }
.stub-aside .btn { width: 100%; }
.stub-note { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; font-weight: var(--font-weight-bold); text-transform: uppercase; letter-spacing: var(--tracking-label); color: var(--color-brand-primary); background: #eef3fb; border: 1px solid #d6e1f2; padding: 0.5rem 0.9rem; border-radius: var(--radius-pill); }
.stub-note svg { width: 14px; height: 14px; }

/* ── Contact page ──────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 0.85fr; gap: 3.5rem; align-items: start; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
.contact-form { background: #fff; border: 1px solid var(--color-border-subtle); border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: 2.6rem; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 520px) { .contact-form .form-row { grid-template-columns: 1fr; } }
.contact-form .field { margin-bottom: 1.2rem; }
.contact-form .btn { width: 100%; margin-top: 0.4rem; }
.form-success { display: none; flex-direction: column; align-items: center; text-align: center; gap: 1rem; padding: 2rem 1rem; }
.form-success.show { display: flex; }
.form-success .icon-chip { width: 4rem; height: 4rem; border-radius: 9999px; background: #e7f8f0; color: var(--color-status-success); }
.form-success .icon-chip svg { width: 30px; height: 30px; }
.form-success h3 { font-size: 1.5rem; }
.form-success p { color: var(--color-text-secondary); max-width: 28rem; }
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-card { background: #fff; border: 1px solid var(--color-border-subtle); border-radius: var(--radius-md); box-shadow: var(--shadow-subtle); padding: 1.6rem 1.7rem; display: flex; align-items: flex-start; gap: 1rem; }
.contact-card h4 { font-size: 0.72rem; font-weight: var(--font-weight-extrabold); text-transform: uppercase; letter-spacing: var(--tracking-label); color: var(--color-text-tertiary); margin-bottom: 0.35rem; }
.contact-card a, .contact-card p { font-size: 1.05rem; font-weight: var(--font-weight-bold); color: var(--color-text-primary); }
.contact-card a:hover { color: var(--color-brand-primary); }
.contact-card .sub { font-size: 0.88rem; font-weight: var(--font-weight-medium); color: var(--color-text-secondary); margin-top: 0.2rem; }
.contact-map { border-radius: var(--radius-card); overflow: hidden; aspect-ratio: 16/10; border: 1px solid var(--color-border-subtle); }
.contact-map .placeholder { width: 100%; height: 100%; }

/* ── Two-column hero (homepage origin; now used on service pages) ─ */
.hero { position: relative; padding-top: 4.5rem; padding-bottom: 4rem; overflow: hidden; }
.hero-accent { position: absolute; inset: 0; pointer-events: none; }
.hero-inner {
  position: relative;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem; align-items: center;
}
.hero-copy > * + * { margin-top: 1.6rem; }
.hero-copy .breadcrumb { margin-bottom: -0.4rem; }
.hero-title { max-width: 16ch; }
.hero-lead { max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-trust { display: flex; align-items: center; gap: 0.9rem; padding-top: 0.6rem; }
.hero-stars { display: flex; gap: 0.15rem; color: var(--color-accent-gold); }
.hero-stars svg { width: 18px; height: 18px; fill: currentColor; }
.hero-trust-text { font-size: 0.9rem; color: var(--color-text-secondary); line-height: 1.3; }
.hero-trust-text strong { color: var(--color-text-primary); }
.hero-trust-text span { display: block; font-size: 0.78rem; color: var(--color-text-tertiary); }

.hero-media { position: relative; }
.hero-rings { position: absolute; inset: -8%; display: grid; place-items: center; pointer-events: none; z-index: 0; }
.hero-rings span { position: absolute; border: 1.5px solid var(--color-border-subtle); border-radius: 9999px; }
.hero-rings span:nth-child(1) { width: 78%; height: 78%; }
.hero-rings span:nth-child(2) { width: 100%; height: 100%; }
.hero-rings span:nth-child(3) { width: 122%; height: 122%; opacity: 0.6; }
.hero-photo {
  position: relative; z-index: 1;
  aspect-ratio: 4/5; border-radius: var(--radius-hero); overflow: hidden;
  box-shadow: var(--shadow-image);
}
.hero-photo .placeholder { width: 100%; height: 100%; }
.hero-photo .placeholder svg { width: 46px; height: 46px; }
.hero-overlay {
  position: absolute; z-index: 2; left: -2.5rem; bottom: 2.5rem;
  width: 19rem; max-width: 80%;
  border-radius: 2rem; padding: 1.4rem 1.5rem;
  display: flex; flex-direction: column; gap: 0.7rem;
}
.hero-overlay-stars { display: flex; gap: 0.12rem; color: var(--color-accent-gold); }
.hero-overlay-stars svg { width: 15px; height: 15px; fill: currentColor; }
.hero-overlay p { font-size: 0.92rem; font-weight: var(--font-weight-bold); color: var(--color-text-primary); font-style: italic; line-height: 1.4; }
.hero-overlay-author { display: flex; align-items: center; gap: 0.65rem; }
.hero-overlay-author .testi-avatar { width: 2.3rem; height: 2.3rem; font-size: 0.8rem; }
.hero-overlay-author strong { font-size: 0.85rem; color: var(--color-text-primary); display: block; }
.ho-role { font-size: 0.72rem; color: var(--color-text-tertiary); }
.hero-badge {
  position: absolute; z-index: 2; right: -1rem; top: 2rem;
  background: #fff; border-radius: 1.2rem; padding: 0.9rem 1.1rem;
  box-shadow: var(--shadow-menu);
  display: flex; align-items: center; gap: 0.75rem;
}
.hero-badge strong { font-size: 1rem; font-weight: var(--font-weight-black); color: var(--color-text-primary); display: block; line-height: 1.1; }
.hero-badge span span, .hero-badge > span:last-child > span { font-size: 0.7rem; color: var(--color-text-tertiary); text-transform: uppercase; letter-spacing: var(--tracking-label); font-weight: var(--font-weight-bold); }

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-title, .hero-lead { max-width: none; }
  .hero-media { max-width: 26rem; margin-inline: auto; width: 100%; }
  .hero-overlay { left: 0.5rem; }
  .hero-badge { right: 0.5rem; }
}
