/* ==========================================================================
   RPS Security — components.css (C)
   Loaded AFTER main.css. Every rule here relies on tokens defined in
   main.css :root. Naming convention documented at the top of main.css.

   CONTENTS
     1.  Sticky header · brand · primary nav · mobile drawer
     2.  Hero
     3.  Trust bar
     4.  Service cards
     5.  Feature / "Why RPS" list
     6.  Coverage (suburb chips + list)
     7.  Testimonials
     8.  Service detail blocks (services.html)
     9.  Stat blocks & PSIRA badge
     10. Contact / info cards
     11. Map embed
     12. Forms
     13. CTA band
     14. Footer
     15. WhatsApp floating button + pulse
     16. Placeholder ribbon (build-time only)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. STICKY HEADER
   Shrink behaviour: main.js adds .is-scrolled to .site-header past a
   threshold. CSS owns the animation, JS only owns the class.
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: var(--c-navy);
  border-bottom: 1px solid var(--border-on-dark);
  transition: background-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

.site-header.is-scrolled {
  background: rgba(10, 14, 26, 0.94);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  height: var(--nav-h-mobile);
  transition: height var(--dur) var(--ease);
}

@media (min-width: 1024px) {
  .site-header__inner { height: var(--nav-h); }
  .site-header.is-scrolled .site-header__inner { height: var(--nav-h-shrunk); }
}

/* --- Brand lockup --------------------------------------------------------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  color: var(--c-white);
  text-decoration: none;
  flex: none;
}

.brand:hover { color: var(--c-white); }

/* Text mark stands in until the client logo lands in assets/images. */
.brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--r-md);
  background: var(--c-red);
  color: var(--c-white);
  font-size: 0.9rem;
  font-weight: var(--fw-black);
  letter-spacing: 0.02em;
  transition: width var(--dur) var(--ease), height var(--dur) var(--ease);
}

.site-header.is-scrolled .brand__mark { width: 36px; height: 36px; }

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-size: 1.05rem;
  font-weight: var(--fw-black);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.brand__tagline {
  color: var(--ink-on-dark-muted);
  font-size: 0.6875rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0.04em;
}

@media (max-width: 400px) {
  .brand__tagline { display: none; }
}

/* --- Hamburger ------------------------------------------------------------ */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 9px;
  border: 0;
  border-radius: var(--r-md);
  background: transparent;
  flex: none;
}

.nav-toggle__bar {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: var(--r-full);
  background: var(--c-white);
  transition: transform var(--dur) var(--ease),
              opacity var(--dur-fast) var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
}

/* --- Primary nav ---------------------------------------------------------- */
/* Mobile: off-canvas drawer under the header. Desktop: inline row. */
.site-nav {
  position: fixed;
  inset: var(--nav-h-mobile) 0 auto 0;
  z-index: var(--z-drawer);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  max-height: calc(100dvh - var(--nav-h-mobile));
  overflow-y: auto;
  padding: var(--sp-5) var(--container-pad) var(--sp-7);
  background: var(--c-navy-700);
  border-bottom: 1px solid var(--border-on-dark);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              visibility var(--dur);
}

.site-nav.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.site-nav__list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  margin: 0;
}

.site-nav__link {
  display: block;
  padding: var(--sp-3) var(--sp-3);
  border-radius: var(--r-md);
  color: var(--ink-on-dark-muted);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease),
              background-color var(--dur-fast) var(--ease);
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  color: var(--c-white);
}

/* Active page state — set in the HTML per page, never by scroll JS. */
.site-nav__link.is-active {
  color: var(--c-white);
  background: rgba(214, 40, 40, 0.16);
}

.site-nav__cta { width: 100%; }

@media (min-width: 1024px) {
  .site-nav {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: var(--sp-5);
    max-height: none;
    overflow: visible;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .site-nav__list { flex-direction: row; gap: var(--sp-1); }

  .site-nav__link {
    position: relative;
    padding: var(--sp-2) var(--sp-3);
    background: transparent;
  }

  .site-nav__link::after {
    content: "";
    position: absolute;
    left: var(--sp-3);
    right: var(--sp-3);
    bottom: 0;
    height: 2px;
    border-radius: var(--r-full);
    background: var(--c-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--dur) var(--ease);
  }

  .site-nav__link:hover::after,
  .site-nav__link.is-active::after { transform: scaleX(1); }

  .site-nav__link.is-active { background: transparent; }

  .site-nav__cta { width: auto; }
}

/* Emergency call button — the one element that must never be hidden. */
.btn--emergency {
  background: var(--c-red);
  border-color: var(--c-red);
  color: var(--c-white);
  padding: 0.7em 1.15em;
  letter-spacing: 0.03em;
}

.btn--emergency:hover {
  background: var(--c-red-dark);
  border-color: var(--c-red-dark);
  color: var(--c-white);
  box-shadow: var(--shadow-red);
}

.btn--emergency .btn__icon { stroke-width: 2.2; }

/* --------------------------------------------------------------------------
   2. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(30rem, 82vh, 46rem);
  padding-block: var(--sp-10);
  background: var(--c-navy);
  color: var(--ink-on-dark-muted);
  overflow: hidden;
}

/* Compact variant for interior pages. */
.hero--compact {
  min-height: 0;
  padding-block: clamp(3rem, 8vw, 5.5rem);
}

/* Background photo layer. [PLACEHOLDER: HERO_PHOTO] is applied inline in the
   HTML as a background-image on this element so the swap point is obvious. */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-color: var(--c-navy-900);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Scrim keeps headline contrast legible over any photo. */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg,
      rgba(10, 14, 26, 0.96) 0%,
      rgba(10, 14, 26, 0.86) 45%,
      rgba(10, 14, 26, 0.62) 100%);
}

/* Thin red rule bleeding off the left edge — brand signature. */
.hero__scrim::after {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  width: 4px;
  height: 60%;
  background: var(--c-red);
}

.hero__inner { max-width: 46rem; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
  padding: var(--sp-2) var(--sp-4);
  border: 1px solid rgba(214, 40, 40, 0.5);
  border-radius: var(--r-full);
  background: var(--c-red-wash);
  color: var(--c-white);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
}

.hero__title {
  color: var(--c-white);
  margin-bottom: var(--sp-5);
}

.hero__title em {
  color: var(--c-red);
  font-style: normal;
}

.hero__text {
  max-width: 38rem;
  margin-bottom: var(--sp-6);
  color: var(--ink-on-dark-muted);
  font-size: var(--fs-md);
}

.hero__actions { margin-bottom: var(--sp-6); }

/* Slim inline reassurance strip under the hero CTAs. */
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-5);
  margin: 0;
  color: var(--ink-on-dark-muted);
  font-size: var(--fs-sm);
}

.hero__meta li {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.hero__meta li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: var(--r-full);
  background: var(--c-red);
  flex: none;
}

/* Page-title band used by interior pages instead of a full hero. */
.page-head {
  background: var(--c-navy);
  color: var(--ink-on-dark-muted);
  padding-block: clamp(2.75rem, 7vw, 4.5rem);
  border-bottom: 3px solid var(--c-red);
}

.page-head__title {
  color: var(--c-white);
  margin-bottom: var(--sp-3);
}

.page-head__text {
  max-width: 44rem;
  font-size: var(--fs-md);
}

/* Breadcrumb */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin: 0 0 var(--sp-4);
  color: var(--ink-on-dark-muted);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
}

.crumbs li + li::before {
  content: "/";
  margin-right: var(--sp-2);
  color: var(--c-red);
}

.crumbs a { text-decoration: none; }

/* --------------------------------------------------------------------------
   3. TRUST BAR
   Dark strip directly below the hero. Every figure is a [PLACEHOLDER].
   -------------------------------------------------------------------------- */
.trust-bar {
  background: var(--c-navy-700);
  border-block: 1px solid var(--border-on-dark);
  padding-block: var(--sp-6);
}

.trust-bar__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5) var(--sp-4);
  margin: 0;
  text-align: center;
}

@media (min-width: 720px) {
  .trust-bar__list { grid-template-columns: repeat(5, 1fr); }
}

.trust-bar__item {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  align-items: center;
  padding-inline: var(--sp-2);
}

@media (min-width: 720px) {
  .trust-bar__item + .trust-bar__item {
    border-left: 1px solid var(--border-on-dark);
  }
}

.trust-bar__figure {
  color: var(--c-white);
  font-size: clamp(1.5rem, 2.4vw, 2.125rem);
  font-weight: var(--fw-black);
  letter-spacing: var(--ls-tight);
  line-height: 1;
}

.trust-bar__figure .u-pending {
  color: var(--c-red);
}

.trust-bar__label {
  color: var(--ink-on-dark-muted);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   4. SERVICE CARDS
   -------------------------------------------------------------------------- */
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  height: 100%;
  padding: var(--sp-6) var(--sp-5) var(--sp-5);
  border: 1px solid var(--border-hairline);
  border-radius: var(--r-lg);
  background: var(--surface-card);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}

/* Red wipe that grows on hover. */
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--c-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

.service-card:hover::before,
.service-card:focus-within::before { transform: scaleX(1); }

.service-card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: var(--c-red-wash);
  color: var(--c-red);
  flex: none;
}

.service-card__icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card__title {
  font-size: var(--fs-lg);
  margin: 0;
}

/* Stretched link makes the whole card clickable without nesting anchors. */
.service-card__title a {
  text-decoration: none;
}

.service-card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.service-card__text {
  color: var(--ink-muted);
  font-size: var(--fs-sm);
  margin: 0;
}

.service-card__more {
  margin-top: auto;
  padding-top: var(--sp-3);
  color: var(--c-red);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
}

/* Dark variant for use inside .section--dark */
.section--dark .service-card {
  background: var(--c-navy-700);
  border-color: var(--border-on-dark);
  box-shadow: none;
}

.section--dark .service-card__title { color: var(--c-white); }
.section--dark .service-card__text { color: var(--ink-on-dark-muted); }

/* --------------------------------------------------------------------------
   5. FEATURE LIST ("Why RPS")
   -------------------------------------------------------------------------- */
.feature {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-full);
  border: 2px solid var(--c-red);
  color: var(--c-red);
  flex: none;
}

.feature__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature__title {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  margin-bottom: var(--sp-1);
}

.feature__text {
  color: var(--ink-muted);
  font-size: var(--fs-sm);
  margin: 0;
}

/* Simple red-tick list */
.tick-list {
  display: grid;
  gap: var(--sp-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.tick-list li {
  position: relative;
  padding-left: 2rem;
  font-size: var(--fs-sm);
}

.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 1.1rem;
  height: 0.6rem;
  border-left: 2.5px solid var(--c-red);
  border-bottom: 2.5px solid var(--c-red);
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   6. COVERAGE
   -------------------------------------------------------------------------- */
.suburb-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr));
  gap: var(--sp-2) var(--sp-4);
  margin: 0;
  padding: 0;
  list-style: none;
}

.suburb-list li {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding-block: var(--sp-2);
  border-bottom: 1px solid var(--border-hairline);
  font-size: var(--fs-sm);
}

.suburb-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: var(--r-full);
  background: var(--c-red);
  flex: none;
}

/* Compact chip row for the homepage coverage preview. */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: var(--sp-2) var(--sp-4);
  border: 1px solid var(--border-hairline);
  border-radius: var(--r-full);
  background: var(--surface-card);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
}

.section--dark .chip {
  background: var(--c-navy-700);
  border-color: var(--border-on-dark);
  color: var(--c-white);
}

/* --------------------------------------------------------------------------
   7. TESTIMONIALS
   -------------------------------------------------------------------------- */
.quote-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  height: 100%;
  padding: var(--sp-6) var(--sp-5);
  border: 1px solid var(--border-hairline);
  border-left: 3px solid var(--c-red);
  border-radius: var(--r-md);
  background: var(--surface-card);
  box-shadow: var(--shadow-sm);
}

.quote-card__mark {
  color: var(--c-red);
  font-size: 2.5rem;
  font-weight: var(--fw-black);
  line-height: 0.6;
}

.quote-card__text {
  margin: 0;
  font-size: var(--fs-sm);
  font-style: italic;
}

.quote-card__cite {
  margin-top: auto;
  color: var(--ink-strong);
  font-size: var(--fs-sm);
  font-style: normal;
  font-weight: var(--fw-bold);
}

.quote-card__meta {
  display: block;
  color: var(--ink-muted);
  font-size: var(--fs-xs);
  font-weight: var(--fw-regular);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   8. SERVICE DETAIL BLOCKS (services.html)
   -------------------------------------------------------------------------- */
.service-block {
  padding-block: var(--section-y-tight);
  border-bottom: 1px solid var(--border-hairline);
  scroll-margin-top: calc(var(--nav-h) + var(--sp-5));
}

.service-block:last-of-type { border-bottom: 0; }

.service-block__index {
  display: block;
  margin-bottom: var(--sp-2);
  color: var(--c-red);
  font-size: var(--fs-xs);
  font-weight: var(--fw-black);
  letter-spacing: var(--ls-wider);
}

.service-block__head {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-4);
}

.service-block__title { margin: 0; }

.service-block__body > * + * { margin-top: var(--sp-4); }

/* Sticky in-page jump nav for the 8 services. */
.jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.jump-nav a {
  display: inline-flex;
  padding: var(--sp-2) var(--sp-4);
  border: 1px solid var(--border-on-dark);
  border-radius: var(--r-full);
  color: var(--c-white);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease);
}

.jump-nav a:hover {
  background: var(--c-red);
  border-color: var(--c-red);
  color: var(--c-white);
}

/* --------------------------------------------------------------------------
   9. STAT BLOCKS & PSIRA BADGE
   -------------------------------------------------------------------------- */
.stat {
  padding: var(--sp-5);
  border-radius: var(--r-lg);
  border: 1px solid var(--border-hairline);
  background: var(--surface-card);
  text-align: center;
}

.stat__figure {
  display: block;
  color: var(--c-red);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: var(--fw-black);
  line-height: 1;
  margin-bottom: var(--sp-2);
}

.stat__label {
  color: var(--ink-muted);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
}

/* Compliance badge — PSIRA registration is a legal display requirement. */
.psira-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  border: 1px solid var(--c-red);
  border-radius: var(--r-md);
  background: var(--c-red-wash);
}

.psira-badge__icon {
  width: 34px;
  height: 34px;
  flex: none;
  fill: none;
  stroke: var(--c-red);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.psira-badge__label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--ink-muted);
}

.psira-badge__value {
  display: block;
  color: var(--ink-strong);
  font-size: var(--fs-md);
  font-weight: var(--fw-black);
}

/* --------------------------------------------------------------------------
   10. CONTACT / INFO CARDS
   -------------------------------------------------------------------------- */
.info-card {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  padding: var(--sp-5);
  border: 1px solid var(--border-hairline);
  border-radius: var(--r-lg);
  background: var(--surface-card);
  height: 100%;
}

.info-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--c-red);
  color: var(--c-white);
  flex: none;
}

.info-card__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.info-card__label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: var(--sp-1);
}

.info-card__value {
  display: block;
  color: var(--ink-strong);
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.info-card__note {
  margin: var(--sp-1) 0 0;
  color: var(--ink-muted);
  font-size: var(--fs-xs);
}

/* --------------------------------------------------------------------------
   11. MAP EMBED
   -------------------------------------------------------------------------- */
.map-embed {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid var(--border-hairline);
  overflow: hidden;
  background: var(--surface-alt);
  aspect-ratio: 16 / 10;
}

@media (min-width: 900px) {
  .map-embed { aspect-ratio: 16 / 9; }
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --------------------------------------------------------------------------
   12. FORMS
   -------------------------------------------------------------------------- */
.form-card {
  padding: var(--sp-6) var(--sp-5);
  border-radius: var(--r-lg);
  background: var(--surface-card);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-hairline);
}

@media (min-width: 700px) {
  .form-card { padding: var(--sp-7); }
}

.form { display: grid; gap: var(--sp-4); }

.form__row {
  display: grid;
  gap: var(--sp-4);
}

@media (min-width: 620px) {
  .form__row--2 { grid-template-columns: 1fr 1fr; }
}

.field { display: grid; gap: var(--sp-2); }

.field__label {
  color: var(--ink-strong);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
}

.field__label .req { color: var(--c-red); }

.field__control {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border-hairline);
  border-radius: var(--r-md);
  background: var(--c-white);
  color: var(--ink-strong);
  font-size: var(--fs-base);
  transition: border-color var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease);
}

.field__control::placeholder { color: var(--c-grey-400); }

.field__control:hover { border-color: var(--c-grey-400); }

.field__control:focus {
  outline: none;
  border-color: var(--c-red);
  box-shadow: 0 0 0 3px var(--c-red-wash);
}

textarea.field__control {
  min-height: 8rem;
  resize: vertical;
}

/* Native select arrow replaced with an inline SVG chevron. */
select.field__control {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.05rem;
}

.field__hint {
  color: var(--ink-muted);
  font-size: var(--fs-xs);
}

/* Validation state — applied by main.js on submit, never on first paint. */
.field.has-error .field__control {
  border-color: var(--c-red);
  background: var(--c-red-wash);
}

.field__error {
  display: none;
  color: var(--c-red);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
}

.field.has-error .field__error { display: block; }

/* Honeypot — bots fill it, humans never see it. */
.form__honey {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form__consent {
  color: var(--ink-muted);
  font-size: var(--fs-xs);
  margin: 0;
}

/* Post-submit confirmation banner (shown via ?sent=1). */
.form-status {
  display: none;
  gap: var(--sp-3);
  align-items: flex-start;
  padding: var(--sp-4) var(--sp-5);
  margin-bottom: var(--sp-5);
  border-radius: var(--r-md);
  border-left: 3px solid var(--c-whatsapp-dark);
  background: rgba(37, 211, 102, 0.10);
  color: var(--ink-strong);
  font-size: var(--fs-sm);
}

.form-status.is-visible { display: flex; }

/* --------------------------------------------------------------------------
   13. CTA BAND
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  isolation: isolate;
  padding-block: var(--section-y-tight);
  background: var(--c-red);
  color: var(--c-white);
  overflow: hidden;
}

.cta-band__inner {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  align-items: flex-start;
}

@media (min-width: 900px) {
  .cta-band__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-7);
  }
}

.cta-band__title {
  color: var(--c-white);
  margin-bottom: var(--sp-2);
  font-size: var(--fs-xl);
}

.cta-band__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: var(--fs-sm);
}

.cta-band .btn--light:hover { background: var(--c-navy); border-color: var(--c-navy); color: var(--c-white); }

/* --------------------------------------------------------------------------
   14. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--c-navy-900);
  color: var(--ink-on-dark-muted);
  padding-top: var(--section-y-tight);
  border-top: 3px solid var(--c-red);
}

.site-footer__grid {
  display: grid;
  gap: var(--sp-7);
  padding-bottom: var(--sp-7);
}

@media (min-width: 700px) {
  .site-footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1000px) {
  .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; }
}

.site-footer__title {
  margin-bottom: var(--sp-4);
  color: var(--c-white);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
}

.site-footer__text {
  color: var(--ink-on-dark-muted);
  font-size: var(--fs-sm);
}

.site-footer__list {
  display: grid;
  gap: var(--sp-2);
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-sm);
}

.site-footer__list a {
  color: var(--ink-on-dark-muted);
  text-decoration: none;
}

.site-footer__list a:hover { color: var(--c-white); }

.site-footer__brand { margin-bottom: var(--sp-4); }

.site-footer__slogan {
  display: inline-block;
  margin-top: var(--sp-3);
  color: var(--c-red);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wide);
}

.site-footer__socials {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-4);
}

.social-link {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-on-dark);
  border-radius: var(--r-md);
  color: var(--c-white);
  transition: background-color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease);
}

.social-link:hover {
  background: var(--c-red);
  border-color: var(--c-red);
  color: var(--c-white);
}

.social-link svg { width: 20px; height: 20px; fill: currentColor; }

.site-footer__bar {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding-block: var(--sp-5);
  border-top: 1px solid var(--border-on-dark);
  color: var(--ink-on-dark-muted);
  font-size: var(--fs-xs);
}

@media (min-width: 800px) {
  .site-footer__bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-4);
  margin: 0;
  padding: 0;
  list-style: none;
}

/* --------------------------------------------------------------------------
   15. WHATSAPP FLOATING BUTTON
   Sits above everything; label collapses to an icon-only pill on mobile.
   -------------------------------------------------------------------------- */
.wa-fab {
  position: fixed;
  right: clamp(0.875rem, 3vw, 1.5rem);
  bottom: clamp(0.875rem, 3vw, 1.5rem);
  z-index: var(--z-fab);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  height: 56px;
  padding-inline: 15px;
  border-radius: var(--r-full);
  background: var(--c-whatsapp);
  color: var(--c-white);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  transition: background-color var(--dur) var(--ease),
              transform var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease);
}

.wa-fab:hover {
  background: var(--c-whatsapp-dark);
  color: var(--c-white);
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.34);
}

.wa-fab__icon {
  width: 26px;
  height: 26px;
  fill: currentColor;
  flex: none;
}

.wa-fab__label { display: none; }

@media (min-width: 560px) {
  .wa-fab { padding-inline: 20px; }
  .wa-fab__label { display: inline; }
}

/* Pulse ring — purely decorative, sits behind the pill. */
.wa-fab__pulse {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: var(--r-full);
  background: var(--c-whatsapp);
  animation: wa-pulse 2.4s var(--ease-out) infinite;
}

@keyframes wa-pulse {
  0%   { transform: scale(1);    opacity: 0.55; }
  70%  { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* Stop the ring while hovering so the label stays readable. */
.wa-fab:hover .wa-fab__pulse { animation-play-state: paused; opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .wa-fab__pulse { animation: none; opacity: 0; }
}

/* --------------------------------------------------------------------------
   16. PLACEHOLDER RIBBON
   Visual marker for unresolved client data. Every instance corresponds to an
   HTML comment `<!-- [PLACEHOLDER: NAME] -->` and must be removed on launch.
   -------------------------------------------------------------------------- */
.u-pending {
  display: inline-block;
  padding: 0 0.35em;
  border-bottom: 2px dashed currentColor;
  color: var(--c-red);
  font-weight: inherit;
}
