/* ==========================================================================
   Components
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Scroll progress
   -------------------------------------------------------------------------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--marine-blue), var(--aqua-mint));
  z-index: var(--z-toast);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   2. Top utility bar
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--surface-2);
  border-bottom: 1px solid var(--hairline);
  font-size: var(--fs-sm);
  overflow: hidden;
  height: var(--topbar-h);
  transition: height var(--t-hover) var(--ease-buoy),
              opacity var(--t-hover) var(--ease-buoy);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  height: var(--topbar-h);
}
.topbar__contact { display: flex; align-items: center; gap: var(--sp-5); flex-wrap: wrap; }
.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--text-mute);
  text-decoration: none;
  transition: color var(--t-micro) var(--ease-out);
  white-space: nowrap;
}
.topbar__item:hover { color: var(--marine-blue); }
.topbar__item svg { width: 15px; height: 15px; flex-shrink: 0; }

.social { display: flex; align-items: center; gap: var(--sp-2); }
.social__link {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  color: var(--text-mute);
  border: 1px solid transparent;
  transition: color var(--t-micro) var(--ease-out),
              border-color var(--t-micro) var(--ease-out),
              background-color var(--t-micro) var(--ease-out);
}
.social__link:hover {
  color: var(--marine-blue);
  border-color: var(--glass-edge);
  background: rgba(5,83,156,.08);
}
.social__link svg { width: 16px; height: 16px; }

/* --------------------------------------------------------------------------
   3. Sticky shrinking header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-hover) var(--ease-buoy),
              background-color var(--t-hover) var(--ease-buoy),
              box-shadow var(--t-hover) var(--ease-buoy);
}
.site-header.is-stuck {
  border-bottom-color: var(--hairline);
  background: rgba(255,255,255,.96);
  box-shadow: var(--shadow-md);
}
/* Shrink: the utility bar retracts on scroll */
.site-header.is-stuck .topbar { height: 0; opacity: 0; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  height: var(--header-h);
  transition: height var(--t-hover) var(--ease-buoy);
}

/* Brand slot — image only. No hardcoded text title (see build notes). */
.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  transition: transform var(--t-hover) var(--ease-buoy);
  transform-origin: left center;
}
.brand__img {
  height: 62px;
  width: auto;
  transition: height var(--t-hover) var(--ease-buoy);
}
.site-header.is-stuck .brand__img { height: 48px; }

.nav__list { display: flex; align-items: center; gap: var(--sp-1); }
.nav__link {
  position: relative;
  display: inline-block;
  padding: var(--sp-3) var(--sp-4);
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-body);
  text-decoration: none;
  white-space: nowrap;
  border-radius: var(--r-sm);
  transition: color var(--t-micro) var(--ease-out);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: var(--sp-4); right: var(--sp-4);
  bottom: 6px;
  height: 2px;
  background: var(--marine-blue);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t-hover) var(--ease-buoy);
}
.nav__link:hover, .nav__link:focus-visible { color: var(--marine-blue); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__link[aria-current="page"] { color: var(--marine-blue); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

/* Mega dropdown */
.nav__item { position: relative; }
.nav__item--has-mega > .nav__link { display: inline-flex; align-items: center; gap: 6px; }
.nav__chev { width: 12px; height: 12px; transition: transform var(--t-micro) var(--ease-out); }
.nav__item--has-mega:hover .nav__chev,
.nav__item--has-mega:focus-within .nav__chev { transform: rotate(180deg); }

.mega {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translate(-50%, 10px);
  width: min(660px, 90vw);
  padding: var(--sp-4);
  background: var(--glass-strong);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: var(--z-dropdown);
  transition: opacity var(--t-hover) var(--ease-buoy),
              transform var(--t-hover) var(--ease-buoy),
              visibility var(--t-hover);
}
.nav__item--has-mega:hover .mega,
.nav__item--has-mega:focus-within .mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.mega__link {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3);
  border-radius: var(--r-md);
  text-decoration: none;
  color: var(--text-body);
  transition: background-color var(--t-micro) var(--ease-out),
              color var(--t-micro) var(--ease-out);
}
.mega__link:hover { background: rgba(5,83,156,.07); color: var(--marine-blue); }
.mega__thumb {
  width: 58px; height: 44px;
  object-fit: cover;
  border-radius: var(--r-sm);
  flex-shrink: 0;
  background: var(--surface-2);
}
.mega__name { display: block; font-weight: 600; color: var(--text-ink); font-size: 0.94rem; }
.mega__desc { display: block; font-size: 0.8rem; color: var(--text-mute); }

/* Burger */
.burger {
  display: none;
  width: 46px; height: 46px;
  place-items: center;
  border-radius: var(--r-sm);
  border: 1px solid var(--hairline);
}
.burger__box { width: 20px; height: 14px; position: relative; }
.burger__line {
  position: absolute;
  left: 0;
  width: 100%; height: 2px;
  background: var(--text-ink);
  border-radius: 2px;
  transition: transform var(--t-hover) var(--ease-buoy),
              opacity var(--t-micro) var(--ease-out);
}
.burger__line:nth-child(1) { top: 0; }
.burger__line:nth-child(2) { top: 6px; }
.burger__line:nth-child(3) { top: 12px; }
.burger[aria-expanded="true"] .burger__line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__line:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  padding: calc(var(--header-h) + var(--sp-6)) var(--gutter) var(--sp-8);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-hover) var(--ease-buoy), visibility var(--t-hover);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu__list { display: flex; flex-direction: column; gap: var(--sp-1); }
.mobile-menu__link {
  display: block;
  padding: var(--sp-4) var(--sp-2);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--hairline);
  min-height: 56px;
  opacity: 0;
  transform: translateY(16px);
}
.mobile-menu.is-open .mobile-menu__link {
  animation: menuIn 460ms var(--ease-buoy) forwards;
  animation-delay: calc(var(--i, 0) * 55ms);
}
.mobile-menu__link[aria-current="page"] { color: var(--marine-blue); }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 48px;
  padding: 0.85rem 1.65rem;
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: var(--r-pill);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition: background-color var(--t-hover) var(--ease-out),
              color var(--t-hover) var(--ease-out),
              border-color var(--t-hover) var(--ease-out),
              box-shadow var(--t-hover) var(--ease-out),
              transform var(--t-hover) var(--ease-buoy);
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn--primary {
  background: var(--marine-blue);
  color: #fff;                 /* 7.71:1 - AA */
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--marine-blue-lift);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn--primary:active { background: var(--marine-deep); }

/* Aqua as a FILL with ink text measures 10.53:1 - the one safe way to use
   the mint green in a light theme. */
.btn--accent {
  background: var(--aqua-mint);
  color: var(--text-ink);
  box-shadow: var(--glow-aqua);
}
.btn--accent:hover { background: #2FD9A6; color: var(--text-ink); }

.btn--ghost {
  background: transparent;
  color: var(--marine-blue);
  border: 1px solid var(--glass-edge);
}
.btn--ghost:hover {
  background: rgba(5,83,156,.07);
  border-color: var(--marine-blue);
  color: var(--marine-blue);
}
/* Ghost sitting on the deep accent band */
.section--deep .btn--ghost,
.cta-band .btn--ghost {
  color: #fff;
  border-color: var(--hairline-deep);
}
.section--deep .btn--ghost:hover,
.cta-band .btn--ghost:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
  color: #fff;
}

.btn--on-light {
  background: var(--marine-blue);
  color: #fff;
}
.btn--on-light:hover { background: var(--marine-blue-lift); color: #fff; }

.btn--lg { min-height: 56px; padding: 1rem 2.1rem; font-size: 1.02rem; }
.btn--block { width: 100%; }

.btn[disabled], .btn[aria-busy="true"] { opacity: .6; pointer-events: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

/* --------------------------------------------------------------------------
   5. Glass card
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  padding: var(--sp-6);
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color var(--t-hover) var(--ease-out),
              box-shadow var(--t-hover) var(--ease-out),
              background-color var(--t-hover) var(--ease-out);
}
/* inner top highlight */
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--glass-edge), transparent);
  opacity: 0;
  transition: opacity var(--t-hover) var(--ease-out);
}
.card:hover::before { opacity: 1; }
.card:hover { border-color: var(--glass-edge); box-shadow: var(--shadow-md); }

.card--link { cursor: pointer; text-decoration: none; display: block; color: inherit; }

.card__icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  margin-bottom: var(--sp-4);
  border-radius: var(--r-md);
  background: rgba(5,83,156,.08);
  border: 1px solid var(--glass-edge);
  color: var(--marine-blue);
}
.card__icon svg { width: 24px; height: 24px; }
.card__title { margin-bottom: var(--sp-3); color: var(--text-ink); }
.card__text { color: var(--text-body); font-size: 0.97rem; }

.card__more {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--marine-blue);
}
.card__more svg { width: 16px; height: 16px; transition: transform var(--t-micro) var(--ease-out); }
.card--link:hover .card__more svg { transform: translateX(4px); }

/* Card sitting on the deep accent band */
.section--deep .card,
.cta-band .card {
  background: var(--glass-deep);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-color: var(--hairline-deep);
}
.section--deep .card__title { color: var(--text-on-deep); }
.section--deep .card__text  { color: var(--text-on-deep-body); }
.section--deep .card__icon  {
  background: rgba(69,230,182,.12);
  border-color: rgba(69,230,182,.30);
  color: var(--aqua-mint);
}
.section--deep .card__more { color: var(--aqua-mint); }

/* --------------------------------------------------------------------------
   6. Product card
   -------------------------------------------------------------------------- */
.product-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.product-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-2);
}
.product-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-buoy), filter 700ms var(--ease-buoy);
}
.product-card:hover .product-card__media img { transform: scale(1.06); filter: saturate(1.12); }
.product-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(4,36,64,.55) 100%);
}
.product-card__tag {
  position: absolute;
  top: var(--sp-3); left: var(--sp-3);
  z-index: 2;
  padding: 5px 11px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--marine-blue);
  border-radius: var(--r-pill);
  font-weight: 600;
}
.product-card__body { padding: var(--sp-5); flex: 1; display: flex; flex-direction: column; }
.product-card__title { font-size: 1.22rem; margin-bottom: var(--sp-2); color: var(--text-ink); }
.product-card__text { font-size: 0.93rem; color: var(--text-body); flex: 1; }

/* --------------------------------------------------------------------------
   7. Stats
   -------------------------------------------------------------------------- */
.stat { text-align: center; padding: var(--sp-5) var(--sp-3); }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1;
  color: var(--marine-blue);
  letter-spacing: -0.04em;
}
.stat__label {
  margin-top: var(--sp-2);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.section--deep .stat__num { color: var(--aqua-mint); }
.section--deep .stat__label { color: var(--text-on-deep-mute); }

/* --------------------------------------------------------------------------
   8. Partner marquee
   -------------------------------------------------------------------------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: var(--sp-4);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  width: max-content;
  animation: marquee 46s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
/* These partner marks are dark-ink logos on transparent backgrounds, so they
   disappear against the dark canvas. Each sits on a light chip instead of
   being filtered — readable, and it keeps every brand's real colours. */
.marquee__item {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  height: 72px;
  padding: 0 var(--sp-5);
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-hover) var(--ease-buoy),
              box-shadow var(--t-hover) var(--ease-out);
}
.marquee__item img {
  max-height: 42px;
  width: auto;
  object-fit: contain;
  opacity: .82;
  transition: opacity var(--t-hover) var(--ease-out);
}
.marquee__item:hover { box-shadow: var(--shadow-md); }
.marquee__item:hover img { opacity: 1; }
.section--deep .marquee__item { background: #fff; border-color: transparent; }

/* --------------------------------------------------------------------------
   9. Google reviews
   -------------------------------------------------------------------------- */
.reviews__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  margin-bottom: var(--sp-6);
}
.rating-badge {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.rating-badge__score {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--text-ink);
}
.rating-badge__meta { font-size: 0.86rem; color: var(--text-mute); }

.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 16px; height: 16px; color: var(--star-gold); }
.stars--empty svg { color: var(--text-mute); opacity: .4; }

/* Category filter tabs */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-6);
}
.filter-tab {
  min-height: 44px;
  padding: 0.6rem 1.15rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-body);
  background: transparent;
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: color var(--t-micro) var(--ease-out),
              background-color var(--t-micro) var(--ease-out),
              border-color var(--t-micro) var(--ease-out);
}
.filter-tab { background: var(--card); }
.filter-tab:hover { color: var(--marine-blue); border-color: var(--glass-edge); }
.filter-tab[aria-selected="true"] {
  background: var(--marine-blue);
  border-color: var(--marine-blue);
  color: #fff;
}

.reviews__grid { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.reviews__grid.is-swapping { opacity: 0; transform: translateY(8px); }
.reviews__grid { transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out); }

.review { display: flex; flex-direction: column; gap: var(--sp-3); }
.review__top { display: flex; align-items: center; gap: var(--sp-3); }
.review__avatar {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--marine-blue);
  color: #fff;
  font-weight: 700;
  font-family: var(--font-display);
}
.review__name { font-weight: 600; color: var(--text-ink); font-size: 0.96rem; }
.review__date { font-size: 0.8rem; color: var(--text-mute); }
.review__text { font-size: 0.95rem; color: var(--text-body); }
.review__cat {
  align-self: flex-start;
  margin-top: auto;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--aqua-ink);
  background: rgba(15,112,82,.08);
  border: 1px solid rgba(15,112,82,.22);
  border-radius: var(--r-pill);
}
.review__g { position: absolute; top: var(--sp-5); right: var(--sp-5); width: 18px; height: 18px; opacity: .85; }

/* Honest empty state — never padded with invented testimonials */
.reviews__empty {
  padding: var(--sp-8) var(--sp-5);
  text-align: center;
  border: 1px dashed rgba(11,31,51,.22);
  border-radius: var(--r-lg);
  background: var(--surface-1);
}
.reviews__empty p { color: var(--text-body); margin-bottom: var(--sp-5); max-width: 46ch; margin-inline: auto; }

/* --------------------------------------------------------------------------
   10. Forms
   -------------------------------------------------------------------------- */
.form { display: grid; gap: var(--sp-5); }
.form__row { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

.field { position: relative; display: flex; flex-direction: column; }
.field__label {
  margin-bottom: var(--sp-2);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-body);
}
/* Mint is 1.59:1 on white — invisible as text (see tokens.css). The required
   marker is text on a light surface, so it takes the ink green at 6.07:1. */
.field__req { color: var(--aqua-ink); }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.8rem 1rem;
  color: var(--text-ink);
  background: var(--card);
  border: 1px solid rgba(11,31,51,.20);
  border-radius: var(--r-md);
  transition: border-color var(--t-micro) var(--ease-out),
              box-shadow var(--t-micro) var(--ease-out),
              background-color var(--t-micro) var(--ease-out);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-mute); }

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234E6779' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 2.6rem;
  cursor: pointer;
}
.field select option { background: #fff; color: var(--text-ink); }

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--marine-blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(5,83,156,.16);
}

.field__error {
  display: none;
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--danger);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--danger); }
.field.has-error .field__error { display: flex; align-items: center; gap: 6px; }

/* Honeypot — visually and programmatically hidden from humans */
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }

.form__status {
  padding: var(--sp-4);
  border-radius: var(--r-md);
  font-size: 0.92rem;
  border: 1px solid var(--hairline);
}
.form__status:empty { display: none; }
.form__status[data-state="error"] { border-color: var(--danger); color: var(--danger); }
.form__status[data-state="ok"] { border-color: var(--aqua-ink); color: var(--aqua-ink); }

/* Spinner in submit button */
.btn__spinner {
  width: 17px; height: 17px;
  border: 2px solid rgba(11,31,51,.28);
  border-top-color: var(--text-ink);
  border-radius: 50%;
  display: none;
}
.btn[aria-busy="true"] .btn__spinner { display: block; animation: spin 700ms linear infinite; }
.btn[aria-busy="true"] .btn__icon { display: none; }

/* --------------------------------------------------------------------------
   11. Breadcrumbs
   -------------------------------------------------------------------------- */
.crumbs { padding-block: var(--sp-5) 0; font-size: 0.86rem; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); }
.crumbs li { display: flex; align-items: center; gap: var(--sp-2); color: var(--text-mute); }
.crumbs li:not(:last-child)::after { content: "/"; color: var(--text-mute); opacity: .5; }
.crumbs a { color: var(--text-mute); text-decoration: none; }
.crumbs a:hover { color: var(--marine-blue); }
.crumbs [aria-current="page"] { color: var(--text-ink); }

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink-deep);
  color: var(--text-on-deep-body);
  border-top: 1px solid var(--hairline);
  padding-block: var(--sp-8) var(--sp-5);
  position: relative;
}
.site-footer .footer__grid { border-bottom-color: var(--hairline-deep); }
.footer__grid {
  display: grid;
  gap: var(--sp-7);
  grid-template-columns: 1.4fr repeat(3, 1fr);
  margin-bottom: var(--sp-7);
}
.footer__brandimg { height: 66px; width: auto; margin-bottom: var(--sp-4); }
.footer__tag {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--aqua-mint);
  margin-bottom: var(--sp-4);
}
.footer__about { font-size: 0.93rem; color: var(--text-on-deep-body); margin-bottom: var(--sp-5); max-width: 40ch; }
.site-footer .social__link { color: var(--text-on-deep-mute); }
.site-footer .social__link:hover { color: var(--aqua-mint); background: rgba(255,255,255,.10); border-color: var(--hairline-deep); }
.footer__h {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-on-deep);
  margin-bottom: var(--sp-4);
}
.footer__list { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer__list a {
  font-size: 0.92rem;
  color: var(--text-on-deep-body);
  text-decoration: none;
  transition: color var(--t-micro) var(--ease-out), padding-left var(--t-micro) var(--ease-out);
}
.footer__list a:hover { color: var(--aqua-mint); padding-left: 5px; }
.footer__contact { display: flex; flex-direction: column; gap: var(--sp-4); font-size: 0.92rem; }
.footer__contact a, .footer__contact address {
  display: flex;
  gap: var(--sp-3);
  color: var(--text-on-deep-body);
  text-decoration: none;
  font-style: normal;
  transition: color var(--t-micro) var(--ease-out);
}
.footer__contact a:hover { color: var(--aqua-mint); }
.footer__contact svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 4px; color: var(--aqua-mint); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--hairline-deep);
  font-size: 0.87rem;
  color: var(--text-on-deep-mute);
}
.footer__credit a {
  color: var(--aqua-mint);
  font-weight: 600;
  text-decoration: none;
}
.footer__credit a:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   13. Sticky mobile action bar
   -------------------------------------------------------------------------- */
.mobile-actions {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: var(--z-sticky);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--hairline);
  box-shadow: 0 -4px 20px rgba(5,83,156,.10);
  padding: var(--sp-2);
  gap: var(--sp-2);
  padding-bottom: calc(var(--sp-2) + env(safe-area-inset-bottom, 0px));
}
.mobile-actions__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 56px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--r-md);
  text-decoration: none;
  position: relative;
}
.mobile-actions__btn svg { width: 19px; height: 19px; }
.mobile-actions__btn--call { background: var(--marine-blue); color: #fff; }
.mobile-actions__btn--wa   { background: #128C4A; color: #fff; }
.mobile-actions__btn--wa::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--r-md);
  border: 2px solid #128C4A;
  animation: pulseRing 2.6s var(--ease-out) infinite;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   14. Popup modal
   -------------------------------------------------------------------------- */
.popup {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: grid;
  place-items: center;
  padding: var(--gutter);
  opacity: 0;
  visibility: hidden;
  transition: opacity 320ms var(--ease-out), visibility 320ms;
}
.popup.is-open { opacity: 1; visibility: visible; }
.popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4,36,64,.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.popup__card {
  position: relative;
  width: min(520px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  padding: var(--sp-7) var(--sp-6) var(--sp-6);
  text-align: center;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  box-shadow: 0 4px 10px rgba(4,36,64,.10), 0 30px 70px rgba(4,36,64,.22);
  transform: scale(.94) translateY(18px);
  transition: transform 420ms var(--ease-buoy);
}
.popup.is-open .popup__card { transform: scale(1) translateY(0); }
.popup__logo { height: 64px; width: auto; margin: 0 auto var(--sp-5); }
.popup__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--signal-amber);
  background: rgba(178,124,0,.10);
  border: 1px solid rgba(178,124,0,.32);
  border-radius: var(--r-pill);
}
.popup__badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--signal-amber);
  animation: blink 1.8s ease-in-out infinite;
}
.popup__title { font-size: clamp(1.4rem, 3.4vw, 1.85rem); margin-bottom: var(--sp-4); }
.popup__text { font-size: 0.98rem; color: var(--text-body); margin-bottom: var(--sp-3); }
.popup__text strong { color: var(--aqua-ink); }
.popup__actions { display: flex; flex-direction: column; gap: var(--sp-3); margin-top: var(--sp-6); }
.popup__later {
  min-height: 44px;
  font-size: 0.9rem;
  color: var(--text-mute);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.popup__later:hover { color: var(--marine-blue); }
.popup__close {
  position: absolute;
  top: var(--sp-3); right: var(--sp-3);
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  color: var(--text-mute);
  transition: color var(--t-micro) var(--ease-out), background-color var(--t-micro) var(--ease-out);
}
.popup__close:hover { color: var(--text-ink); background: rgba(11,31,51,.07); }
.popup__close svg { width: 19px; height: 19px; }

/* --------------------------------------------------------------------------
   15. Wave divider
   -------------------------------------------------------------------------- */
.wave-divider {
  position: absolute;
  left: 0; right: 0;
  width: 100%;
  height: clamp(50px, 7vw, 110px);
  pointer-events: none;
  line-height: 0;
  z-index: 2;
}
.wave-divider--bottom { bottom: -1px; }
.wave-divider--top { top: -1px; transform: rotate(180deg); }
.wave-divider svg { width: 100%; height: 100%; display: block; }
.wave-divider .w1 { opacity: .30; }
.wave-divider .w2 { opacity: .55; }
.wave-divider .w3 { opacity: 1; }
