/* ==========================================================================
   HomiGo — A Friend to Every Home
   Design system implements DESIGN.md tokens. Plain CSS, no build step.
   ========================================================================== */

/* -- Fonts (self-hosted variable fonts, latin subset) -------------------- */

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../assets/fonts/bricolage-grotesque-variable.woff2') format('woff2');
}

@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../assets/fonts/instrument-sans-variable.woff2') format('woff2');
}

/* Logotype only — see the CSS comment on .logo for why this sits outside the
   committed display/body system. */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/poppins-bold.woff2') format('woff2');
}

/* -- Tokens ---------------------------------------------------------------- */

:root {
  /* Palette */
  --teal-900: #033D3D;   /* Midnight Teal — base */
  --white-50: #F5F7F7;   /* Soft White — page background */
  --yellow-400: #FFE154; /* Accent — one highlight per viewport */
  --blue-500: #007F96;   /* Mandarin Blue — secondary accent */

  /* Teal-tinted neutral ramp (never pure grey/black/white) */
  --teal-800: #0A4F4F;
  --teal-600: #2A6A6A;
  --teal-400: #5C8A8A;
  --teal-200: #A8C2C2;
  --teal-100: #E4EBEB;

  /* Fonts */
  --font-display: 'Bricolage Grotesque', 'Bricolage Grotesque Fallback', ui-sans-serif, sans-serif;
  --font-body: 'Instrument Sans', 'Instrument Sans Fallback', ui-sans-serif, sans-serif;

  /* Type scale — fluid, mobile-first */
  --text-hero: clamp(3rem, 14vw, 7.5rem);
  --text-h1: clamp(2.25rem, 1.3rem + 3.6vw, 4rem);
  --text-brand: clamp(2.5rem, 1.5rem + 5vw, 5.5rem);
  --text-h2: clamp(1.75rem, 1.1rem + 3vw, 3rem);
  --text-h3: clamp(1.125rem, 0.95rem + 0.8vw, 1.5rem);
  --text-body: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --text-caption: 0.875rem;

  /* Space — 4px base unit */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  --section-space: 80px;
  --max-width: 1200px;
  --gutter: 20px;

  /* Radius */
  --radius-pill: 999px;
  --radius-lg: 24px;
  --radius-md: 16px;

  /* Shadow — one soft, wide, low-opacity teal-tinted shadow only */
  --shadow-chip: 0 16px 32px -12px rgba(3, 61, 61, 0.28);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-section: 320ms;
  --dur-control: 150ms;
}

@media (min-width: 900px) {
  :root {
    --section-space: 140px;
    --gutter: 40px;
  }
}

/* -- Reset ------------------------------------------------------------------ */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--white-50);
  color: var(--teal-900);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, p, figure { margin: 0; }

/* Selection, focus, scrollbar — browser surfaces carry the design too */

::selection { background: var(--yellow-400); color: var(--teal-900); }

:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 2px;
  border-radius: 4px;
}

* { scrollbar-color: var(--teal-400) var(--teal-100); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--teal-100); }
::-webkit-scrollbar-thumb { background: var(--teal-400); border-radius: var(--radius-pill); border: 2px solid var(--teal-100); }

/* -- Typography ------------------------------------------------------------- */

h1, h2, h3, .font-display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-wrap: balance;
}

h2 { font-size: var(--text-h2); letter-spacing: -0.025em; }

.eyebrow-none { /* intentionally absent: no kicker above headings, per brief */ }

.subhead {
  font-size: var(--text-h3);
  font-weight: 500;
  color: var(--teal-800);
  text-wrap: balance;
}

.body-max {
  max-width: 65ch;
}

.caption {
  font-size: var(--text-caption);
  font-weight: 500;
  color: var(--teal-600);
}

.icon { width: 24px; height: 24px; flex-shrink: 0; }

/* -- Layout ------------------------------------------------------------------ */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-space);
}

.section--tight { padding-block: calc(var(--section-space) * 0.55); }

.section-head {
  max-width: 640px;
  margin-bottom: var(--space-12);
}

.section-head + .section-head { margin-top: 0; }

/* -- Buttons ------------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0 var(--space-6);
  min-height: 56px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
  transition: transform var(--dur-control) var(--ease-out), background-color var(--dur-control) var(--ease-out), border-color var(--dur-control) var(--ease-out);
}

.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--teal-900);
  color: var(--white-50);
}
.btn--primary:hover { background: var(--teal-800); transform: translateY(-1px); }
.btn--primary .icon { color: var(--white-50); }

.btn--secondary {
  background: transparent;
  color: var(--teal-900);
  border: 1.5px solid var(--teal-900);
}
.btn--secondary:hover { background: var(--teal-100); transform: translateY(-1px); }

.btn--compact { min-height: 44px; padding: 0 var(--space-5); font-size: 0.9375rem; }

.btn--on-teal.btn--secondary {
  color: var(--white-50);
  border-color: var(--white-50);
}
.btn--on-teal.btn--secondary:hover { background: rgba(245, 247, 247, 0.12); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-weight: 600;
  color: var(--blue-500);
  border-bottom: 1.5px solid transparent;
  transition: border-color var(--dur-control) var(--ease-out), gap var(--dur-control) var(--ease-out);
}
.text-link:hover { border-color: currentColor; gap: var(--space-2); }
.text-link .icon { width: 18px; height: 18px; }

/* -- Header -------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white-50);
  border-bottom: 1px solid var(--teal-100);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-4);
}

/* Brand name treatment: every literal "HomiGo" mention on the page renders
   in Poppins Bold, by request. DESIGN.md's type system bans Poppins
   site-wide as an overused default; this is a deliberate, scoped exception
   for the brand name itself — surrounding copy, headings, and the hero
   headline stay on the committed Bricolage Grotesque / Instrument Sans
   system. Only weight 700 is self-hosted, so the name always renders bold. */
.brand {
  font-family: 'Poppins', var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.logo {
  font-family: 'Poppins', var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  color: var(--teal-900);
}

.site-nav {
  display: none;
  gap: var(--space-8);
}

.site-nav a {
  font-weight: 500;
  color: var(--teal-800);
  padding-block: var(--space-1);
  border-bottom: 1.5px solid transparent;
  transition: border-color var(--dur-control) var(--ease-out), color var(--dur-control) var(--ease-out);
}
.site-nav a:hover { color: var(--teal-900); border-color: var(--blue-500); }

.header-actions { display: flex; align-items: center; gap: var(--space-3); }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--teal-100);
}
.nav-toggle .icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .icon--menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: block; }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--teal-100);
  padding: var(--space-6) 0;
}
.mobile-nav.is-open { display: block; }
.mobile-nav ul { display: flex; flex-direction: column; gap: var(--space-1); }
.mobile-nav a {
  display: block;
  padding: var(--space-3) 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  border-bottom: 1px solid var(--teal-100);
}

.header-actions .btn--header { display: none; }

@media (min-width: 900px) {
  .site-nav { display: flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
  .header-actions .btn--header { display: inline-flex; }
}

/* -- Header contact dropdown ------------------------------------------------------ */

.contact-dropdown { position: relative; }

.contact-dropdown .btn svg { transition: transform var(--dur-control) var(--ease-out); }
.contact-dropdown .btn[aria-expanded="true"] svg { transform: rotate(180deg); }

.contact-menu {
  position: absolute;
  top: calc(100% + var(--space-2));
  right: 0;
  min-width: 180px;
  background: var(--white-50);
  border: 1px solid var(--teal-100);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-chip);
  padding: var(--space-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--dur-control) var(--ease-out), transform var(--dur-control) var(--ease-out), visibility var(--dur-control);
}
.contact-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.contact-menu a {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3);
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--teal-900);
}
.contact-menu a:hover { background: var(--teal-100); }
.contact-menu .icon { color: var(--blue-500); width: 18px; height: 18px; }

/* -- Sticky mobile CTA bar ------------------------------------------------------ */

.mobile-cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: flex;
  gap: var(--space-3);
  padding: var(--space-3) var(--gutter);
  padding-bottom: calc(var(--space-3) + env(safe-area-inset-bottom));
  background: var(--white-50);
  border-top: 1px solid var(--teal-100);
  box-shadow: 0 -12px 24px -16px rgba(3, 61, 61, 0.2);
}
.mobile-cta-bar .btn { flex: 1; min-height: 52px; }

@media (min-width: 900px) {
  .mobile-cta-bar { display: none; }
}

/* -- Hero ------------------------------------------------------------------------ */

.hero {
  padding-top: var(--space-12);
  padding-bottom: var(--space-16);
}

.hero__grid {
  display: grid;
  gap: var(--space-16);
  align-items: center;
}

.hero__grid > * { min-width: 0; }

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 55fr 45fr;
    gap: var(--space-12);
  }
}

.hero__headline {
  font-size: var(--text-h1);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--teal-900);
  text-wrap: balance;
}

.hero__tagline {
  margin-top: var(--space-4);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-h3);
  color: var(--blue-500);
}

.hero__positioning {
  margin-top: var(--space-5);
  max-width: 46ch;
  font-size: 1.125rem;
  color: var(--teal-800);
}

.hero__services {
  margin-top: var(--space-6);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--teal-600);
  letter-spacing: -0.005em;
}

.hero__actions {
  margin-top: var(--space-8);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.trust-badges {
  margin-top: var(--space-10);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6) var(--space-8);
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--teal-900);
}
.trust-badge .icon { color: var(--teal-900); width: 22px; height: 22px; }

.hero__proof {
  margin-top: var(--space-10);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-4);
}

.avatar-row {
  display: flex;
}
.avatar-row__item {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid var(--white-50);
  background: var(--teal-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-800);
}
.avatar-row__item:not(:first-child) { margin-left: -14px; }

.hero__rating-text { font-size: 0.9375rem; line-height: 1.35; }
.hero__rating-text strong { font-family: var(--font-display); font-weight: 700; font-variant-numeric: tabular-nums; }
.hero__rating-stars { color: var(--yellow-400); display: inline-flex; gap: 1px; vertical-align: -3px; }
.hero__rating-stars .icon { width: 15px; height: 15px; }

.hero__media {
  position: relative;
}

.hero__photo {
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--white-50);
  border-radius: var(--radius-pill);
  padding: var(--space-2) var(--space-4) var(--space-2) var(--space-2);
  box-shadow: var(--shadow-chip);
  max-width: 210px;
}

.review-chip--top { top: -5%; right: -6%; }
.review-chip--bottom { bottom: 6%; left: -8%; }

@media (max-width: 480px) {
  .review-chip--top { top: -4%; right: 2%; }
  .review-chip--bottom { bottom: 4%; left: 2%; }
}

.review-chip__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal-200);
  color: var(--teal-800);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8125rem;
}

.review-chip__body { line-height: 1.25; }
.review-chip__name { font-weight: 700; font-size: 0.8125rem; }
.review-chip__meta { font-size: 0.75rem; color: var(--teal-600); display: flex; align-items: center; gap: 3px; }
.review-chip__meta .icon { width: 12px; height: 12px; color: var(--yellow-400); }

/* -- Media placeholder ------------------------------------------------------------ */

.media-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(135deg, var(--teal-100) 0 2px, transparent 2px 14px),
    var(--teal-800);
  color: var(--white-50);
  display: flex;
  align-items: flex-end;
  padding: var(--space-4);
}

.media-placeholder__label {
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(3, 61, 61, 0.55);
  padding: var(--space-1) var(--space-2);
  border-radius: 6px;
  line-height: 1.4;
}

/* -- Services ----------------------------------------------------------------------- */

.services-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-6);
  border: 1px solid var(--teal-100);
  border-radius: var(--radius-md);
  background: var(--white-50);
  transition: border-color var(--dur-control) var(--ease-out), transform var(--dur-control) var(--ease-out);
}
.service-card:hover { border-color: var(--teal-400); transform: translateY(-2px); }

.service-card__head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--teal-100);
  color: var(--teal-900);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
}

.service-card p { color: var(--teal-800); }

.service-card--soon { border-style: dashed; }
.service-card--soon .service-card__icon { background: var(--teal-100); color: var(--teal-600); }

.pill-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: var(--space-1);
  padding: 3px var(--space-3);
  border-radius: var(--radius-pill);
  background: var(--yellow-400);
  color: var(--teal-900);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* -- Why HomiGo ------------------------------------------------------------------------ */

.trust-list {
  display: grid;
  gap: var(--space-8) var(--space-10);
  grid-template-columns: 1fr;
}
@media (min-width: 780px) {
  .trust-list { grid-template-columns: repeat(2, 1fr); }
}

.trust-item {
  display: flex;
  gap: var(--space-4);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--teal-100);
}

.trust-item__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--teal-900);
  color: var(--white-50);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-item h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: var(--space-1);
}
.trust-item p { color: var(--teal-800); }

/* -- Reviews ------------------------------------------------------------------------------- */

.reviews-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr;
}
@media (min-width: 780px) {
  .reviews-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .review-card--featured { grid-column: span 3; grid-row: span 2; }
  .review-card--a { grid-column: span 3; }
  .review-card--b { grid-column: span 3; }
  .review-card--c { grid-column: span 6; }
}

.review-card {
  border: 1px solid var(--teal-100);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.review-card--featured {
  background: var(--teal-900);
  color: var(--white-50);
  border-color: var(--teal-900);
}
.review-card--featured .review-card__quote { font-size: 1.25rem; font-family: var(--font-display); font-weight: 500; letter-spacing: -0.01em; }
.review-card--featured .review-card__name { color: var(--white-50); }
.review-card--featured .review-card__sample { color: var(--teal-200); }

.review-card__stars { display: inline-flex; gap: 2px; color: var(--yellow-400); }
.review-card__stars .icon { width: 16px; height: 16px; }

.review-card__quote { color: var(--teal-900); line-height: 1.5; }
.review-card--featured .review-card__quote { color: var(--white-50); }

.review-card__person { display: flex; align-items: center; gap: var(--space-3); margin-top: auto; }
.review-card__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--teal-200); color: var(--teal-800);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.8125rem;
  flex-shrink: 0;
}
.review-card--featured .review-card__avatar { background: rgba(245, 247, 247, 0.16); color: var(--white-50); }
.review-card__name { font-weight: 700; font-size: 0.9375rem; }
.review-card__sample { font-size: 0.6875rem; color: var(--teal-400); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }

/* -- Service area ------------------------------------------------------------------------------ */

.area-list {
  margin-top: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.area-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-pill);
  border: 1px solid var(--teal-100);
  font-weight: 600;
  color: var(--teal-800);
}
.area-pill .icon { width: 18px; height: 18px; color: var(--blue-500); }

/* -- Final CTA ---------------------------------------------------------------------------------- */

.final-cta {
  background: var(--teal-900);
  color: var(--white-50);
  text-align: center;
}
.final-cta__brand {
  font-family: 'Poppins', var(--font-display);
  font-weight: 700;
  font-size: var(--text-brand);
  letter-spacing: -0.015em;
  line-height: 1;
  color: var(--white-50);
  margin-bottom: var(--space-10);
}
.final-cta__brand span {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.125rem;
  letter-spacing: 0;
  margin-top: var(--space-3);
  color: var(--teal-200);
}
.final-cta h2 { color: var(--white-50); }
.final-cta__sub {
  margin: var(--space-4) auto 0;
  max-width: 42ch;
  color: var(--teal-200);
  font-size: 1.125rem;
}
.final-cta__actions {
  margin-top: var(--space-10);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
}
.final-cta__phone {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--white-50);
  border-bottom: 1.5px solid var(--teal-600);
}
.final-cta__phone:hover { border-color: var(--white-50); }

/* -- Footer -------------------------------------------------------------------------------------- */

.site-footer {
  background: var(--teal-900);
  color: var(--teal-200);
  padding-block: var(--space-16) var(--space-10);
}

.footer-grid {
  display: grid;
  gap: var(--space-10);
  grid-template-columns: 1fr;
}
@media (min-width: 780px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

.footer-brand .logo { color: var(--white-50); }
.footer-brand p { margin-top: var(--space-3); max-width: 32ch; color: var(--teal-200); }

.footer-social { margin-top: var(--space-5); display: flex; gap: var(--space-3); }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--teal-600);
  display: flex; align-items: center; justify-content: center;
  transition: border-color var(--dur-control) var(--ease-out), background-color var(--dur-control) var(--ease-out);
}
.footer-social a:hover { background: var(--teal-800); border-color: var(--white-50); }
.footer-social .icon { width: 18px; height: 18px; color: var(--white-50); }

.footer-heading {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white-50);
  margin-bottom: var(--space-4);
  font-size: 0.9375rem;
}

.footer-list { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-list a:hover { color: var(--white-50); }

.footer-contact-item { display: flex; align-items: flex-start; gap: var(--space-2); }
.footer-contact-item .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--teal-400); flex-shrink: 0; }

.footer-bottom {
  margin-top: var(--space-16);
  padding-top: var(--space-6);
  border-top: 1px solid var(--teal-600);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3);
  font-size: 0.8125rem;
  color: var(--teal-400);
}

/* -- Motion / scroll reveal ---------------------------------------------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur-section) var(--ease-out), transform var(--dur-section) var(--ease-out);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* -- Utility ---------------------------------------------------------------------------------------- */

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -60px;
  background: var(--teal-900);
  color: var(--white-50);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-md);
  z-index: 100;
  transition: top var(--dur-control) var(--ease-out);
}
.skip-link:focus { top: var(--space-4); }

main { padding-bottom: 76px; }
@media (min-width: 900px) {
  main { padding-bottom: 0; }
}
