/* =========================================================
   BluePeak Core Solutions LLC — Stylesheet
   Design language: clinical trust + home-care warmth
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root{
  --navy: #16303F;
  --navy-deep: #0E2029;
  --slate: #4A7A8C;
  --slate-light: #EAF1F3;
  --sand: #F7F3EA;
  --sand-dark: #EDE5D5;
  --sage: #7FA88F;
  --sage-dark: #5F8873;
  --amber: #E38B3F;
  --amber-dark: #C96F27;
  --ink: #232A2E;
  --ink-soft: #5B6870;
  --white: #FFFFFF;
  --line: rgba(22,48,63,0.14);
  --shadow-sm: 0 2px 8px rgba(14,32,41,0.08);
  --shadow-md: 0 8px 28px rgba(14,32,41,0.12);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 22px;
  --max-width: 1180px;
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;
}

/* ---------- Reset ---------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
button{ font-family: inherit; cursor: pointer; }
h1,h2,h3,h4{
  font-family: var(--font-display);
  color: var(--navy-deep);
  margin: 0 0 0.5em;
  line-height: 1.15;
  font-weight: 600;
}
p{ margin: 0 0 1em; }
.container{
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
section{ padding: clamp(48px, 8vw, 96px) 0; }

:focus-visible{
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

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

/* ---------- Utility ---------- */
.eyebrow{
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--sage-dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.eyebrow::before{
  content: "";
  width: 22px;
  height: 2px;
  background: var(--amber);
  display: inline-block;
}
.section-head{
  max-width: 640px;
  margin-bottom: 42px;
}
.section-head.center{ margin-left: auto; margin-right: auto; text-align: center; }
.text-muted{ color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn-primary{
  background: var(--amber);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover{ background: var(--amber-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline{
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: var(--white);
}
.btn-outline:hover{ background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.btn-navy{
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover{ background: var(--navy-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-sm{ padding: 10px 20px; font-size: 0.88rem; }

/* ---------- Header ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(247,243,234,0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}
.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.18rem;
  color: var(--navy-deep);
  flex-shrink: 0;
}
.brand-mark{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(155deg, var(--navy) 0%, var(--slate) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.brand-mark svg{ width: 26px; height: 26px; }
.brand-text{ display: flex; flex-direction: column; line-height: 1.15; }
.brand-text small{
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  font-weight: 500;
  text-transform: uppercase;
}

.main-nav{
  display: flex;
  align-items: center;
  gap: 6px;
}
.main-nav a{
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  transition: background 0.15s ease, color 0.15s ease;
  position: relative;
}
.main-nav a:hover{ background: var(--slate-light); color: var(--navy-deep); }
.main-nav a.active{ color: var(--navy-deep); background: var(--sand-dark); font-weight: 600; }

.header-actions{
  display: flex;
  align-items: center;
  gap: 14px;
}
.tfn-chip{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy-deep);
  padding: 9px 16px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.tfn-chip:hover{ border-color: var(--sage); transform: translateY(-1px); }
.tfn-chip svg{ width: 16px; height: 16px; color: var(--sage-dark); flex-shrink: 0; }

.nav-toggle{
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: var(--white);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-toggle svg{ width: 20px; height: 20px; }

/* ---------- Mobile Nav ---------- */
@media (max-width: 900px){
  .main-nav{
    position: fixed;
    inset: 0 0 0 auto;
    top: 73px;
    width: min(320px, 82vw);
    height: calc(100vh - 73px);
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 22px;
    gap: 4px;
    box-shadow: -12px 0 32px rgba(14,32,41,0.16);
    transform: translateX(105%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }
  .main-nav.open{ transform: translateX(0); }
  .main-nav a{ padding: 14px 16px; border-bottom: 1px solid var(--line); border-radius: 8px; }
  .nav-toggle{ display: inline-flex; }
  .tfn-chip span.chip-label{ display: none; }
  .nav-scrim{
    display: none;
    position: fixed; inset: 73px 0 0 0; background: rgba(14,32,41,0.35); z-index: 400;
  }
  .nav-scrim.open{ display: block; }
}
@media (max-width: 480px){
  .tfn-chip{ padding: 9px 12px; }
}

/* ---------- Hero ---------- */
.hero{
  position: relative;
  background: radial-gradient(120% 140% at 15% 0%, #1D4356 0%, var(--navy) 46%, var(--navy-deep) 100%);
  color: var(--white);
  overflow: hidden;
  padding: clamp(64px, 10vw, 120px) 0 clamp(56px, 9vw, 96px);
}
.hero::before{
  content:"";
  position: absolute;
  right: -8%;
  top: -18%;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(127,168,143,0.28) 0%, rgba(127,168,143,0) 68%);
  pointer-events: none;
}
.hero-grid{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-eyebrow{
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: #BFE0CE;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}
.hero-eyebrow::before{ content:""; width: 22px; height: 2px; background: var(--amber); }
.hero h1{
  color: var(--white);
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  max-width: 15ch;
  letter-spacing: -0.01em;
}
.hero p.lede{
  color: rgba(255,255,255,0.82);
  font-size: 1.1rem;
  max-width: 46ch;
  margin-bottom: 30px;
}
.hero-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 38px;
}
.hero-facts{
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: clamp(18px, 4vw, 36px);
}
.hero-fact b{
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--white);
}
.hero-fact span{
  font-size: 0.82rem;
  color: rgba(255,255,255,0.68);
}

/* Signature: Supply Tag panel in hero */
.tag-panel{
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px 26px 26px;
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
  transform: rotate(1.2deg);
}
.tag-panel::before{
  content:"";
  position: absolute;
  top: 22px; left: -13px;
  width: 26px; height: 26px;
  background: radial-gradient(120% 140% at 15% 0%, #1D4356 0%, var(--navy) 46%, var(--navy-deep) 100%);
  border-radius: 50%;
  border: 3px solid var(--sand);
}
.tag-panel .tag-code{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  text-transform: uppercase;
}
.tag-panel h3{ font-size: 1.2rem; margin: 10px 0 14px; }
.tag-panel .perf{
  border-top: 1.5px dashed var(--line);
  margin: 16px 0;
}
.tag-panel ul{ display: flex; flex-direction: column; gap: 10px; }
.tag-panel li{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.tag-panel li svg{ width: 18px; height: 18px; flex-shrink: 0; color: var(--sage-dark); margin-top: 2px; }

@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; }
  .tag-panel{ transform: none; max-width: 420px; }
  .hero-facts{ grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Strip / trust bar ---------- */
.trust-strip{
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.trust-strip .container{
  display: flex;
  flex-wrap: wrap;
  gap: 20px 36px;
  align-items: center;
  justify-content: center;
  padding-top: 22px;
  padding-bottom: 22px;
}
.trust-item{
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy-deep);
}
.trust-item svg{ width: 20px; height: 20px; color: var(--sage-dark); flex-shrink: 0; }

/* ---------- Category / Supply Tag Cards ---------- */
.grid-3{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-2{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 900px){
  .grid-3{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px){
  .grid-3, .grid-2{ grid-template-columns: 1fr; }
}

.supply-tag{
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 24px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.supply-tag::before{
  content:"";
  position: absolute;
  top: 24px; left: -9px;
  width: 18px; height: 18px;
  background: var(--sand);
  border-radius: 50%;
  border: 3px solid var(--sand-dark);
}
.supply-tag:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--sage);
}
.supply-tag .tag-code{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--sage-dark);
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}
.supply-tag .icon-wrap{
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--slate-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.supply-tag .icon-wrap svg{ width: 26px; height: 26px; color: var(--navy); }
.supply-tag h3{ font-size: 1.12rem; margin-bottom: 8px; }
.supply-tag p{ color: var(--ink-soft); font-size: 0.94rem; margin-bottom: 14px; }
.supply-tag .perf{ border-top: 1.5px dashed var(--line); margin: 14px 0 12px; }
.supply-tag .tag-footer{
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}
.supply-tag .tag-footer a{
  font-weight: 600;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.supply-tag .tag-footer a:hover{ color: var(--amber-dark); }
.supply-tag .tag-footer a svg{ width: 14px; height: 14px; }
.stock-note{ color: var(--ink-soft); }

/* ---------- Two-column feature ---------- */
.feature-split{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(30px, 6vw, 72px);
  align-items: center;
}
@media (max-width: 900px){
  .feature-split{ grid-template-columns: 1fr; }
}
.feature-visual{
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 34px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.feature-visual::after{
  content:"";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 10%, rgba(127,168,143,0.35), transparent 60%);
}
.checklist{ position: relative; z-index: 1; display: flex; flex-direction: column; gap: 18px; }
.checklist li{ display: flex; gap: 14px; align-items: flex-start; }
.checklist .num{
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--navy-deep);
  background: var(--sage);
  min-width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
}
.checklist strong{ display: block; margin-bottom: 3px; color: var(--white); }
.checklist span{ color: rgba(255,255,255,0.72); font-size: 0.92rem; }

/* ---------- CTA band ---------- */
.cta-band{
  background: linear-gradient(120deg, var(--sage-dark), var(--sage));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 6vw, 56px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-band h2{ color: var(--white); font-size: clamp(1.5rem, 3vw, 2rem); max-width: 26ch; margin-bottom: 6px; }
.cta-band p{ color: rgba(255,255,255,0.88); margin-bottom: 0; }
.cta-band-actions{ display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Testimonials ---------- */
.quote-card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  height: 100%;
}
.quote-card .stars{ color: var(--amber); letter-spacing: 2px; margin-bottom: 12px; font-size: 0.95rem; }
.quote-card p{ color: var(--ink-soft); font-style: italic; }
.quote-card footer{ font-weight: 600; color: var(--navy-deep); font-size: 0.92rem; font-style: normal; }

/* ---------- Service area / map style block ---------- */
.info-panel{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 44px);
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero{
  background: var(--navy);
  color: var(--white);
  padding: clamp(52px, 8vw, 80px) 0 clamp(40px, 6vw, 64px);
  position: relative;
  overflow: hidden;
}
.page-hero::before{
  content:"";
  position: absolute; right: -10%; top: -30%;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(127,168,143,0.28), transparent 70%);
}
.page-hero .eyebrow{ color: #BFE0CE; }
.page-hero h1{ color: var(--white); font-size: clamp(1.9rem, 4vw, 2.7rem); max-width: 22ch; position: relative; z-index: 1; }
.page-hero p{ color: rgba(255,255,255,0.82); max-width: 56ch; position: relative; z-index: 1; margin-bottom: 0; }
.breadcrumb{
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.breadcrumb a:hover{ color: var(--white); }

/* ---------- Content pages (privacy/terms) ---------- */
.legal-wrap{
  max-width: 820px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 52px);
}
.legal-wrap h2{ font-size: 1.3rem; margin-top: 2em; }
.legal-wrap h2:first-child{ margin-top: 0; }
.legal-wrap p, .legal-wrap li{ color: var(--ink-soft); }
.legal-wrap ul{ padding-left: 1.2em; list-style: disc; margin-bottom: 1em; }
.legal-wrap li{ margin-bottom: 0.4em; }
.legal-updated{
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--sage-dark);
  background: var(--slate-light);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 28px;
}
.legal-nav{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.legal-nav a{
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}
.legal-nav a:hover{ background: var(--slate-light); }

/* ---------- Forms ---------- */
.form-card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 5vw, 42px);
}
.form-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px){ .form-row{ grid-template-columns: 1fr; } }
.field{ margin-bottom: 20px; }
.field label{
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy-deep);
  margin-bottom: 7px;
}
.field .req{ color: var(--amber-dark); }
.field input,
.field select,
.field textarea{
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  background: var(--sand);
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus{
  outline: none;
  border-color: var(--sage);
  background: var(--white);
}
.field textarea{ resize: vertical; min-height: 130px; }
.field small.error{
  display: none;
  color: #B4432F;
  font-size: 0.8rem;
  margin-top: 6px;
  font-weight: 600;
}
.field.invalid input,
.field.invalid select,
.field.invalid textarea{ border-color: #B4432F; }
.field.invalid small.error{ display: block; }
.form-note{
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 6px;
}
.form-success{
  display: none;
  align-items: flex-start;
  gap: 12px;
  background: var(--slate-light);
  border: 1px solid var(--sage);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 24px;
}
.form-success.show{ display: flex; }
.form-success svg{ width: 22px; height: 22px; color: var(--sage-dark); flex-shrink: 0; margin-top: 2px; }
.form-success strong{ display: block; color: var(--navy-deep); margin-bottom: 3px; }

/* ---------- Contact info cards ---------- */
.contact-grid{
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 32px;
  align-items: flex-start;
}
@media (max-width: 900px){ .contact-grid{ grid-template-columns: 1fr; } }
.contact-card{
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.contact-card:last-child{ border-bottom: none; }
.contact-card .icon-wrap{
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--slate-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-card .icon-wrap svg{ width: 22px; height: 22px; color: var(--navy); }
.contact-card h4{ font-family: var(--font-body); font-weight: 700; font-size: 1rem; margin-bottom: 4px; color: var(--navy-deep); }
.contact-card p{ margin-bottom: 0; color: var(--ink-soft); font-size: 0.94rem; }
.contact-card a{ color: var(--navy); font-weight: 600; }
.contact-card a:hover{ color: var(--amber-dark); }

.hours-table{ width: 100%; border-collapse: collapse; margin-top: 10px; }
.hours-table td{ padding: 8px 0; font-size: 0.92rem; border-bottom: 1px dashed var(--line); }
.hours-table td:last-child{ text-align: right; font-weight: 600; color: var(--navy-deep); }

/* ---------- Accordion (FAQ) ---------- */
.accordion-item{
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  margin-bottom: 14px;
  overflow: hidden;
}
.accordion-trigger{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
  background: none;
  border: none;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy-deep);
  font-family: var(--font-body);
}
.accordion-trigger svg{ width: 20px; height: 20px; flex-shrink: 0; transition: transform 0.2s ease; color: var(--sage-dark); }
.accordion-item.open .accordion-trigger svg{ transform: rotate(45deg); }
.accordion-panel{
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}
.accordion-panel-inner{ padding: 0 22px 20px; color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Footer ---------- */
.site-footer{
  background: var(--navy-deep);
  color: rgba(255,255,255,0.78);
  padding: 64px 0 28px;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 900px){
  .footer-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .footer-grid{ grid-template-columns: 1fr; }
}
.footer-brand .brand{ color: var(--white); margin-bottom: 14px; }
.footer-brand p{ font-size: 0.92rem; max-width: 32ch; }
.footer-col h5{
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 700;
}
.footer-col ul{ display: flex; flex-direction: column; gap: 11px; }
.footer-col a{ font-size: 0.92rem; }
.footer-col a:hover{ color: var(--white); }
.footer-tfn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.footer-tfn svg{ width: 18px; height: 18px; color: var(--sage); }
.footer-bottom{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 26px;
  font-size: 0.82rem;
}
.footer-bottom a:hover{ color: var(--white); }
.disclaimer{
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  margin-top: 18px;
  max-width: 80ch;
}

/* ---------- Back to top ---------- */
.back-to-top{
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
  z-index: 300;
  border: none;
}
.back-to-top.show{ opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover{ background: var(--sage-dark); }
.back-to-top svg{ width: 20px; height: 20px; }

/* ---------- Reveal on scroll ---------- */
.reveal{ opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in{ opacity: 1; transform: translateY(0); }

/* ---------- Misc pages: about ---------- */
.stat-row{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
@media (max-width: 760px){ .stat-row{ grid-template-columns: repeat(2, 1fr); } }
.stat-row .stat b{
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--navy-deep);
}
.stat-row .stat span{ font-size: 0.85rem; color: var(--ink-soft); }

.value-card{
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.value-card .icon-wrap{
  width: 50px; height: 50px; border-radius: 14px;
  background: var(--sand-dark);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.value-card .icon-wrap svg{ width: 24px; height: 24px; color: var(--sage-dark); }
.value-card h4{ font-family: var(--font-body); font-weight: 700; margin-bottom: 5px; color: var(--navy-deep); }
.value-card p{ font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 0; }

/* ---------- Alt background section ---------- */
.section-alt{ background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
