/* =========================================================
   SOS CONTRACTS · GLOBAL STYLES
   ========================================================= */

/* ---- DESIGN TOKENS ---- */
:root{
  --navy:        #1B2845;
  --navy-dark:   #131B30;
  --navy-soft:   #2A3658;
  --red:         #C8202F;
  --red-dark:    #A8161F;
  --white:       #FFFFFF;
  --cream:       #F4EFE6;
  --cream-deep:  #ECE5D6;
  --slate:       #6B6B85;
  --body:        #4A4A4A;
  --ink:         #1B2845;
  --border:      #E5E5E5;
  --border-soft: #EFEAE0;

  --f-head: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --maxw: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(64px, 8vw, 112px);

  --radius: 4px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 2px rgba(19,27,48,.06), 0 1px 1px rgba(19,27,48,.04);
  --shadow:    0 12px 28px -16px rgba(19,27,48,.25), 0 2px 6px -2px rgba(19,27,48,.08);
  --shadow-lg: 0 30px 60px -30px rgba(19,27,48,.35), 0 8px 18px -8px rgba(19,27,48,.12);
}

/* ---- RESET ---- */
*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--f-body);
  font-size:17px;
  line-height:1.65;
  color:var(--body);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
@media (min-width:768px){ body{ font-size:18px; } }
img,svg{ display:block; max-width:100%; }
a{ color:var(--navy); text-decoration:none; text-underline-offset:3px; }
a:hover{ color:var(--red); }
button{ font:inherit; }
h1,h2,h3,h4{
  font-family:var(--f-head); color:var(--ink); margin:0 0 .4em;
  letter-spacing:-0.015em; line-height:1.1; font-weight:700; text-wrap:balance;
}
h1{ font-size:clamp(36px, 5.6vw, 56px); letter-spacing:-0.025em; font-weight:800; }
h2{ font-size:clamp(30px, 3.4vw, 40px); letter-spacing:-0.02em; }
h3{ font-size:clamp(20px, 1.6vw, 22px); }
p{ margin:0 0 1em; text-wrap:pretty; }
.lede{ font-size:clamp(17px, 1.4vw, 19px); color:var(--slate); }
::selection{ background:var(--navy); color:var(--white); }

/* ---- LAYOUT ---- */
.wrap{ width:100%; max-width:var(--maxw); margin-inline:auto; padding-inline:var(--gutter); }
section{ padding-block:var(--section-y); }
.eyebrow{
  font-family:var(--f-mono); font-size:12px; letter-spacing:.18em;
  text-transform:uppercase; color:var(--red); font-weight:500;
  margin-bottom:18px; display:inline-flex; align-items:center; gap:10px;
}
.eyebrow::before{ content:""; width:24px; height:1px; background:var(--red); display:inline-block; }
.eyebrow.on-dark{ color:#FFB6BC; }
.eyebrow.on-dark::before{ background:#FFB6BC; }

/* ---- BUTTONS ---- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:14px 22px; font-family:var(--f-head); font-weight:600; font-size:15px;
  letter-spacing:.005em; border-radius:var(--radius); border:1px solid transparent;
  cursor:pointer; transition:background .18s ease, color .18s ease, border-color .18s ease, transform .12s ease;
  white-space:nowrap; text-decoration:none;
}
.btn:active{ transform:translateY(1px); }
.btn--primary{ background:var(--red); color:#fff; }
.btn--primary:hover{ background:var(--red-dark); color:#fff; }
.btn--navy{ background:var(--navy); color:#fff; }
.btn--navy:hover{ background:var(--navy-dark); color:#fff; }
.btn--ghost{ background:transparent; color:var(--white); border-color:rgba(255,255,255,.32); }
.btn--ghost:hover{ background:rgba(255,255,255,.08); color:#fff; border-color:rgba(255,255,255,.6); }
.btn--outline{ background:transparent; color:var(--navy); border-color:var(--navy); }
.btn--outline:hover{ background:var(--navy); color:#fff; }
.btn .arr{ transition:transform .18s ease; }
.btn:hover .arr{ transform:translateX(3px); }

/* ---- HEADER ---- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.96);
  backdrop-filter:saturate(140%) blur(8px);
  border-bottom:1px solid var(--border);
}
.site-header__bar{ display:flex; align-items:center; gap:24px; height:76px; }
.brand{ display:flex; align-items:center; gap:12px; text-decoration:none; color:var(--navy); flex-shrink:0; }
.brand__mark{ width:44px; height:44px; flex-shrink:0; }
.brand__name{ font-family:var(--f-head); font-weight:800; font-size:18px; letter-spacing:.02em; line-height:1; color:var(--navy); }
.brand__sub{ font-family:var(--f-head); font-weight:500; font-size:11px; letter-spacing:.22em; text-transform:uppercase; color:var(--slate); line-height:1; margin-top:5px; }
.brand__logo{ height:46px; width:auto; display:block; }
@media (max-width:520px){ .brand__logo{ height:38px; } }
.brand__emblem{ width:46px; height:46px; border-radius:50%; flex-shrink:0; display:block; }

.nav{ display:none; }
@media (min-width:980px){ .nav{ display:flex; align-items:center; gap:6px; margin-left:auto; } }
.nav__link{
  display:inline-flex; align-items:center; gap:6px;
  padding:10px 14px; font-family:var(--f-head); font-weight:600; font-size:15px;
  color:var(--navy); border-radius:var(--radius); position:relative;
  background:transparent; border:0; cursor:pointer;
}
.nav__link:hover{ color:var(--red); background:transparent; }
.nav__link[aria-current="page"]{ color:var(--red); }
.nav__group{ position:relative; }
.nav__caret{ width:10px; height:10px; transition:transform .2s ease; }
.nav__group[aria-expanded="true"] .nav__caret{ transform:rotate(180deg); }
.nav__menu{
  position:absolute; top:calc(100% + 8px); left:0;
  background:#fff; border:1px solid var(--border);
  border-radius:var(--radius-lg); box-shadow:var(--shadow-lg);
  padding:10px; min-width:300px; display:none;
}
.nav__group[aria-expanded="true"] .nav__menu{ display:block; }
.nav__menu a{ display:flex; flex-direction:column; gap:2px; padding:10px 12px; border-radius:var(--radius); color:var(--navy); }
.nav__menu a:hover{ background:var(--cream); color:var(--red); }
.nav__menu .ml{ font-family:var(--f-head); font-weight:600; font-size:15px; line-height:1.2; }
.nav__menu .ms{ font-size:13px; color:var(--slate); font-family:var(--f-body); }

.header__cta{ display:none; align-items:center; gap:14px; }
@media (min-width:980px){ .header__cta{ display:flex; } }
.tel{ display:inline-flex; align-items:center; gap:8px; font-family:var(--f-head); font-weight:600; font-size:15px; color:var(--navy); }
.tel:hover{ color:var(--red); }
.tel svg{ width:16px; height:16px; }

.burger{
  margin-left:auto; display:inline-flex; align-items:center; justify-content:center;
  width:44px; height:44px; background:transparent; border:1px solid var(--border);
  border-radius:var(--radius); color:var(--navy); cursor:pointer;
}
@media (min-width:980px){ .burger{ display:none; } }
.mobile-menu{
  position:fixed; inset:76px 0 0 0; background:#fff;
  transform:translateY(-12px); opacity:0; pointer-events:none;
  transition:opacity .18s ease, transform .2s ease;
  z-index:40; overflow:auto; border-top:1px solid var(--border);
}
.mobile-menu.open{ opacity:1; transform:none; pointer-events:auto; }
.mobile-menu__inner{ padding:24px var(--gutter) 48px; }
.mobile-menu h4{ font-size:12px; letter-spacing:.18em; text-transform:uppercase; color:var(--slate); font-family:var(--f-mono); font-weight:500; margin:24px 0 8px; }
.mobile-menu a{ display:block; padding:12px 0; border-bottom:1px solid var(--border); font-family:var(--f-head); font-weight:600; font-size:18px; color:var(--navy); }
.mobile-menu .btn{ width:100%; margin-top:24px; padding:16px; font-size:16px; }

/* ---- HERO (HOME) ---- */
.hero{
  position:relative; background:var(--navy); color:#fff; overflow:hidden;
  padding-block:clamp(72px, 10vw, 140px) clamp(64px, 9vw, 120px);
}
.hero__pattern{
  position:absolute; inset:0;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 144' width='240' height='144'><defs><clipPath id='c'><rect width='240' height='144'/></clipPath></defs><g clip-path='url(%23c)' fill='none' stroke='%23ffffff' stroke-width='1.2'><rect width='240' height='144'/><line x1='0' y1='0' x2='240' y2='144'/><line x1='240' y1='0' x2='0' y2='144'/><line x1='120' y1='0' x2='120' y2='144' stroke-width='22'/><line x1='0' y1='72' x2='240' y2='72' stroke-width='22'/></g></svg>");
  background-size:480px 288px; background-position:center; opacity:.07; pointer-events:none;
}
.hero__pattern::after{ content:""; position:absolute; inset:0; background:radial-gradient(120% 80% at 50% 0%, transparent, var(--navy) 75%); }
.hero__inner{ position:relative; z-index:1; display:grid; gap:48px; grid-template-columns:1fr; align-items:center; }
@media (min-width:980px){ .hero__inner{ grid-template-columns:minmax(0, 1.15fr) minmax(0, 1fr); gap:64px; } }
.hero h1{ color:#fff; }
.hero h1 em{ color:#fff; font-style:normal; position:relative; display:inline-block; }
.hero h1 em::after{ content:""; position:absolute; left:0; right:0; bottom:0.06em; height:.18em; background:var(--red); z-index:-1; border-radius:1px; }
.hero__sub{ color:rgba(255,255,255,.78); font-size:clamp(17px, 1.6vw, 20px); max-width:54ch; margin-top:8px; }
.hero__ctas{ display:flex; flex-wrap:wrap; gap:14px; margin-top:32px; }
.hero__meta{ display:flex; flex-wrap:wrap; gap:18px 28px; margin-top:36px; padding-top:28px; border-top:1px solid rgba(255,255,255,.14); font-size:14px; color:rgba(255,255,255,.7); }
.hero__meta span{ display:inline-flex; align-items:center; gap:8px; }
.hero__meta svg{ width:14px; height:14px; color:#FFB6BC; }

.hero__visual{ position:relative; aspect-ratio: 4 / 5; border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-lg); background:#0E1428; }
@media (max-width:979px){ .hero__visual{ aspect-ratio: 4/3; } }
.hero__visual .ph{ width:100%; height:100%; }
.hero__visual .tag{ position:absolute; left:18px; top:18px; background:var(--red); color:#fff; font-family:var(--f-head); font-weight:700; font-size:11px; letter-spacing:.16em; text-transform:uppercase; padding:8px 12px; border-radius:var(--radius); }
.hero__visual .floatcard{ position:absolute; right:-16px; bottom:24px; background:#fff; color:var(--ink); padding:18px 20px; min-width:240px; border-radius:var(--radius-lg); box-shadow:var(--shadow-lg); font-family:var(--f-head); }
@media (max-width:520px){ .hero__visual .floatcard{ right:12px; left:12px; bottom:12px; min-width:0; } }
.floatcard .k{ font-family:var(--f-mono); font-size:11px; letter-spacing:.16em; color:var(--slate); text-transform:uppercase; }
.floatcard .v{ font-size:22px; font-weight:800; color:var(--navy); margin-top:4px; }
.floatcard .d{ font-size:13px; color:var(--slate); font-family:var(--f-body); margin-top:4px; font-weight:500; }
.hero__badge{
  display:inline-flex; align-items:center; gap:10px;
  background:var(--red); color:#fff;
  font-family:var(--f-head); font-weight:700; font-size:12px;
  letter-spacing:.18em; text-transform:uppercase;
  padding:8px 14px; border-radius:999px; margin-bottom:24px;
}
.hero__badge::before{
  content:""; width:6px; height:6px; border-radius:50%; background:#fff;
  box-shadow:0 0 0 0 rgba(255,255,255,.7); animation:pulse 2s infinite;
}
@keyframes pulse{
  0%{ box-shadow:0 0 0 0 rgba(255,255,255,.6); }
  70%{ box-shadow:0 0 0 8px rgba(255,255,255,0); }
  100%{ box-shadow:0 0 0 0 rgba(255,255,255,0); }
}
@media (prefers-reduced-motion: reduce){ .hero__badge::before{ animation:none; } }

/* ---- PAGE HERO (INNER PAGES) ---- */
.phero{
  position:relative; background:var(--navy); color:#fff; overflow:hidden;
  padding-block:clamp(72px, 9vw, 120px) clamp(56px, 7vw, 96px);
}
.phero__pattern{
  position:absolute; inset:0;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 144' width='240' height='144'><defs><clipPath id='c'><rect width='240' height='144'/></clipPath></defs><g clip-path='url(%23c)' fill='none' stroke='%23ffffff' stroke-width='1.2'><rect width='240' height='144'/><line x1='0' y1='0' x2='240' y2='144'/><line x1='240' y1='0' x2='0' y2='144'/><line x1='120' y1='0' x2='120' y2='144' stroke-width='22'/><line x1='0' y1='72' x2='240' y2='72' stroke-width='22'/></g></svg>");
  background-size:480px 288px; opacity:.05; pointer-events:none;
}
.phero__inner{ position:relative; z-index:1; max-width:60ch; }
.phero h1{ color:#fff; font-size:clamp(36px, 5vw, 52px); }
.phero p{ color:rgba(255,255,255,.78); font-size:clamp(17px, 1.5vw, 20px); margin-top:8px; }
.crumbs{
  font-family:var(--f-mono); font-size:12px; letter-spacing:.14em; text-transform:uppercase;
  color:rgba(255,255,255,.5); margin-bottom:24px;
  display:flex; gap:10px; flex-wrap:wrap;
}
.crumbs a{ color:rgba(255,255,255,.8); }
.crumbs a:hover{ color:#fff; }
.crumbs .sep{ color:rgba(255,255,255,.3); }
.phero__ctas{ display:flex; flex-wrap:wrap; gap:14px; margin-top:32px; }
.phero__meta{
  display:flex; flex-wrap:wrap; gap:24px 36px; margin-top:36px;
  padding-top:28px; border-top:1px solid rgba(255,255,255,.14);
  font-size:14px; color:rgba(255,255,255,.7);
}
.phero__meta b{ color:#fff; font-weight:700; }

/* ---- STATS BAR ---- */
.stats{ background:var(--cream); padding-block:clamp(36px, 5vw, 56px); }
.stats__grid{ display:grid; gap:0; grid-template-columns:1fr; }
@media (min-width:640px){ .stats__grid{ grid-template-columns:repeat(2, 1fr); } }
@media (min-width:980px){ .stats__grid{ grid-template-columns:repeat(4, 1fr); } }
.stat{ padding:24px; border-top:1px solid rgba(27,40,69,.12); }
@media (min-width:640px){
  .stat{ border-top:0; border-left:1px solid rgba(27,40,69,.12); }
  .stat:first-child{ border-left:0; }
}
@media (max-width:639px){ .stat:first-child{ border-top:0; } }
.stat__v{ font-family:var(--f-head); font-weight:800; font-size:clamp(32px, 3.4vw, 44px); color:var(--navy); line-height:1; letter-spacing:-0.02em; display:flex; align-items:baseline; gap:2px; }
.stat__v sup{ font-size:.55em; font-weight:600; color:var(--red); top:-.4em; position:relative; }
.stat__l{ font-family:var(--f-body); font-size:14px; color:var(--slate); margin-top:10px; text-transform:uppercase; letter-spacing:.1em; font-weight:500; }

/* ---- SECTION HEADS ---- */
.shead{ display:grid; gap:24px; align-items:end; grid-template-columns:1fr; margin-bottom:56px; }
@media (min-width:880px){ .shead{ grid-template-columns:1.2fr 1fr; gap:48px; } }
.shead--single{ grid-template-columns:1fr !important; max-width:60ch; }

/* ---- PROMISES / FEATURE GRID ---- */
.fgrid{ display:grid; gap:1px; background:var(--border); grid-template-columns:1fr; border:1px solid var(--border); }
@media (min-width:768px){ .fgrid{ grid-template-columns:repeat(3, 1fr); } }
.fgrid--2{ }
@media (min-width:768px){ .fgrid--2{ grid-template-columns:repeat(2, 1fr); } }
@media (min-width:768px){ .fgrid--4{ grid-template-columns:repeat(2, 1fr); } }
@media (min-width:768px){ .fgrid--3{ grid-template-columns:repeat(3, 1fr); } }
@media (min-width:1080px){ .fgrid--4{ grid-template-columns:repeat(4, 1fr); } }
.fcell{ background:#fff; padding:clamp(28px, 3vw, 40px); display:flex; flex-direction:column; gap:16px; transition:background .2s ease; }
.fcell:hover{ background:var(--cream); }
.fcell__num{ font-family:var(--f-mono); font-size:13px; color:var(--red); font-weight:500; letter-spacing:.14em; }
.fcell h3{ font-size:22px; margin:0; }
.fcell p{ color:var(--body); margin:0; }
.fcell__rule{ width:36px; height:2px; background:var(--navy); margin-bottom:4px; }

/* ---- SERVICES GRID ---- */
.services{ background:#fff; }
.services__grid{ display:grid; gap:24px; grid-template-columns:repeat(auto-fill, minmax(280px, 1fr)); }
.svc{
  background:#fff; border:1px solid var(--border); border-top:3px solid var(--navy);
  border-radius:var(--radius-lg); overflow:hidden; display:flex; flex-direction:column;
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  text-decoration:none; color:inherit;
}
.svc:nth-child(odd){ border-top-color:var(--red); }
.svc:hover{ transform:translateY(-3px); box-shadow:var(--shadow); color:inherit; }
.svc__img{ aspect-ratio: 16/10; background:var(--cream); position:relative; overflow:hidden; }
.svc__img .ph{ position:absolute; inset:0; }
.svc__body{ padding:24px 24px 28px; }
.svc__cat{ font-family:var(--f-mono); font-size:11px; color:var(--slate); letter-spacing:.16em; text-transform:uppercase; margin-bottom:10px; }
.svc h3{ margin-bottom:8px; }
.svc p{ color:var(--body); font-size:15px; margin:0 0 18px; }
.svc__link{ display:inline-flex; align-items:center; gap:8px; font-family:var(--f-head); font-weight:600; font-size:14px; color:var(--navy); letter-spacing:.005em; }
.svc:hover .svc__link{ color:var(--red); }
.svc__link .arr{ transition:transform .18s ease; }
.svc:hover .svc__link .arr{ transform:translateX(3px); }

/* ---- HOW IT WORKS ---- */
.how{ background:var(--cream); }
.how__head{ margin-bottom:56px; max-width:60ch; }
.how__steps{ display:grid; gap:32px; grid-template-columns:1fr; counter-reset:step; }
@media (min-width:880px){
  .how__steps{ grid-template-columns:repeat(3, 1fr); gap:48px; position:relative; }
  .how__steps::before{ content:""; position:absolute; top:36px; left:8%; right:8%; height:1px; background:rgba(27,40,69,.18); z-index:0; }
}
.step{ position:relative; z-index:1; display:flex; flex-direction:column; gap:14px; }
.step__num{ width:72px; height:72px; border-radius:50%; background:#fff; border:1px solid rgba(27,40,69,.18); display:inline-flex; align-items:center; justify-content:center; font-family:var(--f-head); font-weight:800; font-size:26px; color:var(--navy); box-shadow:var(--shadow-sm); }
.step h3{ margin:0; font-size:22px; }
.step p{ color:var(--body); margin:0; font-size:15.5px; }

/* ---- TESTIMONIALS ---- */
.reviews{ background:#fff; }
.reviews__head{ margin-bottom:48px; max-width:60ch; }
.reviews__grid{ display:grid; gap:24px; grid-template-columns:1fr; }
@media (min-width:880px){ .reviews__grid{ grid-template-columns:repeat(2, 1fr); gap:32px; } }
.quote{ background:#fff; border:1px solid var(--border); border-radius:var(--radius-lg); padding:clamp(28px, 3vw, 40px); display:flex; flex-direction:column; gap:20px; position:relative; }
.quote::before{ content:"“"; position:absolute; top:8px; left:24px; font-family:var(--f-head); font-size:80px; line-height:1; color:var(--cream-deep); z-index:0; }
.quote__body{ font-family:var(--f-head); font-weight:500; font-size:clamp(18px, 1.6vw, 22px); line-height:1.45; color:var(--navy); letter-spacing:-0.01em; position:relative; z-index:1; }
.quote__by{ display:flex; align-items:center; gap:14px; padding-top:16px; border-top:1px solid var(--border); }
.quote__avatar{ width:44px; height:44px; border-radius:50%; background:var(--navy); color:#fff; display:flex; align-items:center; justify-content:center; font-family:var(--f-head); font-weight:700; font-size:15px; }
.quote__name{ font-family:var(--f-head); font-weight:600; color:var(--navy); font-size:15px; line-height:1.2; }
.quote__role{ font-size:13px; color:var(--slate); margin-top:2px; }
.stars{ display:inline-flex; gap:2px; color:var(--red); }
.stars svg{ width:16px; height:16px; }

/* ---- SUSTAINABILITY (reusable two-col image+copy) ---- */
.sus{ background:var(--cream); }
.sus__grid{ display:grid; gap:48px; grid-template-columns:1fr; align-items:center; }
@media (min-width:880px){ .sus__grid{ grid-template-columns:1fr 1fr; gap:80px; } }
.sus__img{ aspect-ratio: 5/4; border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow); }
.sus__bullets{ list-style:none; padding:0; margin:24px 0 0; display:flex; flex-direction:column; gap:14px; }
.sus__bullets li{ display:flex; gap:12px; align-items:flex-start; font-size:15.5px; }
.sus__check{ width:22px; height:22px; border-radius:50%; background:var(--navy); color:#fff; display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; margin-top:2px; }
.sus__check svg{ width:11px; height:11px; }

/* ---- CTA FINAL ---- */
.cta-final{ background:var(--navy); color:#fff; position:relative; overflow:hidden; }
.cta-final::before{
  content:""; position:absolute; inset:0;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 144' width='240' height='144'><defs><clipPath id='c'><rect width='240' height='144'/></clipPath></defs><g clip-path='url(%23c)' fill='none' stroke='%23ffffff' stroke-width='1.2'><rect width='240' height='144'/><line x1='0' y1='0' x2='240' y2='144'/><line x1='240' y1='0' x2='0' y2='144'/><line x1='120' y1='0' x2='120' y2='144' stroke-width='22'/><line x1='0' y1='72' x2='240' y2='72' stroke-width='22'/></g></svg>");
  background-size:480px 288px; opacity:.06;
}
.cta-final__inner{ position:relative; z-index:1; display:grid; gap:32px; grid-template-columns:1fr; align-items:center; }
@media (min-width:880px){ .cta-final__inner{ grid-template-columns:1.4fr 1fr; gap:64px; } }
.cta-final h2{ color:#fff; max-width:18ch; }
.cta-final p{ color:rgba(255,255,255,.78); max-width:50ch; margin-bottom:0; }
.cta-final__buttons{ display:flex; gap:14px; flex-wrap:wrap; justify-content:flex-start; }
@media (min-width:880px){ .cta-final__buttons{ justify-content:flex-end; } }

/* ---- ACCREDITATIONS STRIP ---- */
.accred{ background:#fff; border-top:1px solid var(--border); border-bottom:1px solid var(--border); padding-block:28px; }
.accred__row{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:24px; }
.accred__label{ font-family:var(--f-mono); font-size:12px; letter-spacing:.16em; text-transform:uppercase; color:var(--slate); font-weight:500; }
.accred__items{ display:flex; flex-wrap:wrap; gap:24px 40px; align-items:center; }
.accred__item{ display:inline-flex; align-items:center; gap:10px; font-family:var(--f-head); font-weight:600; font-size:14px; color:var(--navy); }
.accred__seal{ width:32px; height:32px; border-radius:4px; background:var(--cream); border:1px solid var(--border-soft); display:inline-flex; align-items:center; justify-content:center; color:var(--navy); }
.accred__seal svg{ width:18px; height:18px; }

/* ---- FOOTER ---- */
.footer{ background:var(--navy); color:rgba(255,255,255,.72); padding-block:64px 32px; }
.footer__grid{ display:grid; gap:40px; grid-template-columns:1fr; }
@media (min-width:640px){ .footer__grid{ grid-template-columns:repeat(2, 1fr); } }
@media (min-width:980px){ .footer__grid{ grid-template-columns:1.4fr 1fr 1fr 1fr; gap:64px; } }
.footer h4{ color:#fff; font-family:var(--f-head); font-weight:700; font-size:14px; letter-spacing:.06em; text-transform:uppercase; margin:0 0 18px; }
.footer__col ul{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:10px; }
.footer__col a{ color:rgba(255,255,255,.72); font-size:15px; }
.footer__col a:hover{ color:#fff; }
.footer__brand{ display:flex; flex-direction:column; gap:16px; }
.footer__brand .brand__name{ color:#fff; }
.footer__brand .brand__sub{ color:rgba(255,255,255,.55); }
.footer__addr{ font-size:14px; line-height:1.7; color:rgba(255,255,255,.65); }
.footer__cta-line a{ color:#fff; font-family:var(--f-head); font-weight:600; font-size:18px; display:inline-flex; align-items:center; gap:8px; }
.footer__cta-line a:hover{ color:#FFB6BC; }
.footer__bottom{ margin-top:48px; padding-top:24px; border-top:1px solid rgba(255,255,255,.12); display:flex; flex-wrap:wrap; gap:16px; align-items:center; justify-content:space-between; font-size:13px; color:rgba(255,255,255,.55); }
.footer__bottom a{ color:rgba(255,255,255,.7); }
.footer__bottom ul{ list-style:none; padding:0; margin:0; display:flex; flex-wrap:wrap; gap:24px; }

/* ---- WHATSAPP FAB ---- */
.wa-fab{
  position:fixed; right:18px; bottom:18px;
  width:56px; height:56px; border-radius:50%; background:#25D366; color:#fff;
  display:inline-flex; align-items:center; justify-content:center;
  box-shadow:0 10px 24px rgba(0,0,0,.18), 0 2px 4px rgba(0,0,0,.1);
  z-index:60; transition:transform .18s ease;
}
.wa-fab:hover{ transform:scale(1.05); color:#fff; }
.wa-fab svg{ width:28px; height:28px; }
@media (min-width:980px){ .wa-fab{ display:none; } }

/* ---- PLACEHOLDER IMAGES ---- */
.ph{
  background: repeating-linear-gradient(135deg, #DCD6C8 0 12px, #D4CDBC 12px 24px);
  color:#6B6B85;
  display:flex; align-items:center; justify-content:center; text-align:center;
  font-family:var(--f-mono); font-size:11px; letter-spacing:.16em; text-transform:uppercase;
  padding:24px;
}
.ph--dark{ background: repeating-linear-gradient(135deg, #1F2C4D 0 12px, #182241 12px 24px); color:rgba(255,255,255,.55); }
.ph span{ max-width:30ch; line-height:1.6; }

/* ---- REVEAL ON SCROLL ---- */
.reveal{ opacity:0; transform:translateY(16px); transition:opacity .7s ease, transform .7s ease; }
.reveal.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){ .reveal{ opacity:1; transform:none; transition:none; } }

/* ---- UTILITIES ---- */
.vh{ position:absolute !important; clip:rect(0 0 0 0); width:1px; height:1px; overflow:hidden; }
.pad-top-0{ padding-top:0; }
.pad-bottom-0{ padding-bottom:0; }
.bg-cream{ background:var(--cream); }
.bg-white{ background:#fff; }

/* =========================================================
   INNER-PAGE COMPONENTS
   ========================================================= */

/* ---- TWO-COL LAYOUT (copy + sidebar/image) ---- */
.split{ display:grid; gap:48px; grid-template-columns:1fr; align-items:start; }
@media (min-width:880px){ .split{ grid-template-columns:1.2fr 1fr; gap:80px; } }
.split--reverse > :first-child{ order:2; }
@media (max-width:879px){ .split--reverse > :first-child{ order:0; } }
.split__media{ aspect-ratio:4/3; border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow); position:sticky; top:96px; }
@media (max-width:879px){ .split__media{ position:static; } }

/* ---- SECTOR / CHIP LIST ---- */
.chips{ display:flex; flex-wrap:wrap; gap:10px; margin-top:16px; }
.chip{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 14px; border-radius:999px;
  background:#fff; border:1px solid var(--border);
  font-family:var(--f-head); font-weight:600; font-size:13px; color:var(--navy);
}
.chip__dot{ width:6px; height:6px; border-radius:50%; background:var(--red); }

/* ---- CHECK LIST (used inside split) ---- */
.checklist{ list-style:none; padding:0; margin:0; display:grid; gap:12px; grid-template-columns:1fr; }
@media (min-width:520px){ .checklist--2{ grid-template-columns:1fr 1fr; } }
.checklist li{ display:flex; gap:12px; align-items:flex-start; font-size:15.5px; color:var(--body); }
.checklist svg{ width:18px; height:18px; color:var(--red); flex-shrink:0; margin-top:3px; }

/* ---- PLAN / PRICE CARDS ---- */
.plans{ display:grid; gap:20px; grid-template-columns:1fr; }
@media (min-width:720px){ .plans{ grid-template-columns:repeat(3, 1fr); } }
.plan{
  background:#fff; border:1px solid var(--border); border-radius:var(--radius-lg);
  padding:28px; display:flex; flex-direction:column; gap:14px;
  transition:transform .2s ease, box-shadow .2s ease;
}
.plan:hover{ transform:translateY(-3px); box-shadow:var(--shadow); }
.plan--featured{ border-color:var(--navy); border-width:2px; position:relative; }
.plan--featured::before{
  content:"Most popular"; position:absolute; top:-12px; left:24px;
  background:var(--red); color:#fff;
  font-family:var(--f-head); font-weight:700; font-size:11px;
  letter-spacing:.16em; text-transform:uppercase;
  padding:6px 10px; border-radius:var(--radius);
}
.plan__cadence{ font-family:var(--f-mono); font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:var(--slate); }
.plan h3{ margin:0; font-size:22px; }
.plan__price{ font-family:var(--f-head); font-weight:800; font-size:32px; color:var(--navy); line-height:1; }
.plan__price small{ font-size:14px; color:var(--slate); font-weight:500; }
.plan__note{ font-size:13px; color:var(--slate); margin-top:-6px; }
.plan ul{ list-style:none; padding:0; margin:8px 0 0; display:flex; flex-direction:column; gap:8px; font-size:14.5px; }
.plan ul li{ display:flex; gap:10px; align-items:flex-start; }
.plan ul svg{ width:14px; height:14px; color:var(--red); flex-shrink:0; margin-top:5px; }
.plan .btn{ margin-top:auto; width:100%; }

/* ---- FAQ ---- */
.faq{ background:#fff; }
.faq__grid{ display:grid; gap:48px; grid-template-columns:1fr; align-items:start; }
@media (min-width:880px){ .faq__grid{ grid-template-columns:1fr 1.6fr; gap:64px; } }
.faq__list{ display:flex; flex-direction:column; }
.faq__item{ border-top:1px solid var(--border); }
.faq__item:last-child{ border-bottom:1px solid var(--border); }
.faq__q{
  width:100%; background:transparent; border:0; cursor:pointer;
  padding:22px 0; display:flex; gap:24px; align-items:flex-start;
  font-family:var(--f-head); font-weight:600; font-size:18px; color:var(--navy);
  text-align:left; letter-spacing:-0.005em;
}
.faq__q:hover{ color:var(--red); }
.faq__icon{ flex-shrink:0; width:22px; height:22px; border-radius:50%; border:1.5px solid var(--navy); display:inline-flex; align-items:center; justify-content:center; margin-top:2px; transition:transform .2s ease, background .2s ease, color .2s ease; color:var(--navy); }
.faq__item[aria-expanded="true"] .faq__icon{ transform:rotate(45deg); background:var(--red); border-color:var(--red); color:#fff; }
.faq__icon svg{ width:10px; height:10px; }
.faq__a{ max-height:0; overflow:hidden; transition:max-height .35s ease; }
.faq__a-inner{ padding:0 0 22px; max-width:64ch; color:var(--body); font-size:16px; }
.faq__item[aria-expanded="true"] .faq__a{ max-height:1000px; }

/* ---- ROOM CHECKLIST (EoT) ---- */
.rooms{ display:grid; gap:20px; grid-template-columns:1fr; }
@media (min-width:640px){ .rooms{ grid-template-columns:repeat(2, 1fr); } }
@media (min-width:980px){ .rooms{ grid-template-columns:repeat(3, 1fr); } }
.room{ background:#fff; border:1px solid var(--border); border-radius:var(--radius-lg); padding:24px; }
.room h3{ display:flex; align-items:center; gap:10px; font-size:18px; margin:0 0 12px; padding-bottom:12px; border-bottom:1px solid var(--border); }
.room h3::before{ content:""; width:8px; height:8px; background:var(--red); display:inline-block; }
.room ul{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:8px; font-size:14.5px; }
.room ul li{ display:flex; gap:10px; align-items:flex-start; color:var(--body); }
.room ul li::before{
  content:""; flex-shrink:0; width:12px; height:12px; margin-top:5px;
  background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23C8202F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M10 3L4.5 8.5 2 6'/></svg>") no-repeat center / contain;
}

/* ---- STAGE CARDS (after builders) ---- */
.stages{ display:grid; gap:20px; grid-template-columns:1fr; counter-reset:stage; }
@media (min-width:880px){ .stages{ grid-template-columns:repeat(3, 1fr); } }
.stage{ background:#fff; border:1px solid var(--border); border-radius:var(--radius-lg); padding:28px; display:flex; flex-direction:column; gap:14px; position:relative; overflow:hidden; }
.stage::before{
  counter-increment:stage; content:counter(stage, decimal-leading-zero);
  position:absolute; right:-12px; top:-24px;
  font-family:var(--f-head); font-weight:800; font-size:120px;
  color:var(--cream-deep); line-height:1; z-index:0;
}
.stage > *{ position:relative; z-index:1; }
.stage__tag{ font-family:var(--f-mono); font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:var(--red); }
.stage h3{ margin:0; font-size:22px; }
.stage p{ margin:0; color:var(--body); font-size:15px; }

/* ---- METHOD ROWS (carpet, window) ---- */
.methods{ display:flex; flex-direction:column; gap:0; border-top:1px solid var(--border); }
.method{
  display:grid; gap:16px 32px; grid-template-columns:1fr;
  padding:28px 0; border-bottom:1px solid var(--border);
  align-items:start;
}
@media (min-width:720px){ .method{ grid-template-columns:120px 1fr 1fr; } }
.method__num{ font-family:var(--f-mono); font-size:13px; letter-spacing:.16em; color:var(--red); font-weight:500; }
.method h3{ font-size:22px; margin:0; color:var(--navy); }
.method p{ margin:8px 0 0; color:var(--body); font-size:15.5px; }

/* ---- CONTACT FORM ---- */
.contact-grid{ display:grid; gap:48px; grid-template-columns:1fr; align-items:start; }
@media (min-width:880px){ .contact-grid{ grid-template-columns:1.3fr 1fr; gap:64px; } }
.cards-stack{ display:flex; flex-direction:column; gap:16px; }
.ccard{ background:#fff; border:1px solid var(--border); border-radius:var(--radius-lg); padding:24px; display:flex; gap:16px; align-items:flex-start; }
.ccard__icon{ width:44px; height:44px; flex-shrink:0; border-radius:8px; background:var(--cream); color:var(--navy); display:inline-flex; align-items:center; justify-content:center; }
.ccard__icon svg{ width:20px; height:20px; }
.ccard h3{ margin:0 0 4px; font-size:16px; }
.ccard p{ margin:0; font-size:14px; color:var(--slate); }
.ccard a{ font-family:var(--f-head); font-weight:600; color:var(--navy); }

.form{ background:#fff; border:1px solid var(--border); border-radius:var(--radius-lg); padding:clamp(24px, 3vw, 36px); display:flex; flex-direction:column; gap:18px; }
.form__row{ display:grid; gap:16px; grid-template-columns:1fr; }
@media (min-width:640px){ .form__row{ grid-template-columns:1fr 1fr; } }
.field{ display:flex; flex-direction:column; gap:6px; }
.field label{ font-family:var(--f-head); font-weight:600; font-size:13px; color:var(--navy); }
.field label .req{ color:var(--red); }
.field input, .field select, .field textarea{
  width:100%; padding:12px 14px; font:inherit; font-size:15px;
  background:#fff; color:var(--ink);
  border:1px solid var(--border); border-radius:var(--radius);
  transition:border-color .15s ease, box-shadow .15s ease;
}
.field textarea{ min-height:120px; resize:vertical; }
.field input:focus, .field select:focus, .field textarea:focus{
  outline:0; border-color:var(--navy);
  box-shadow:0 0 0 3px rgba(27,40,69,.12);
}
.field .help{ font-size:12px; color:var(--slate); }
.form .btn{ width:100%; padding:16px; font-size:16px; }
.form__legal{ font-size:12px; color:var(--slate); text-align:center; }
.form__status{ margin:4px 0 0; padding:14px 16px; border-radius:var(--radius-sm, 8px); font-size:14.5px; line-height:1.45; }
.form__status.is-ok{ background:#e9f4ee; color:#1c6b40; border:1px solid #bfe2cd; }
.form__status.is-err{ background:#fbecec; color:#9a2820; border:1px solid #f0c7c3; }

/* ---- TEAM / ABOUT ---- */
.values{ display:grid; gap:24px; grid-template-columns:1fr; }
@media (min-width:720px){ .values{ grid-template-columns:repeat(3, 1fr); } }
.value{ background:#fff; border-top:3px solid var(--navy); padding:28px 0 0; }
.value:nth-child(even){ border-top-color:var(--red); }
.value__num{ font-family:var(--f-mono); font-size:12px; letter-spacing:.18em; color:var(--red); }
.value h3{ margin:8px 0; font-size:22px; }
.value p{ margin:0; color:var(--body); font-size:15.5px; }

/* ---- SERVICE LEVEL TABLE ---- */
.matrix{
  width:100%; border-collapse:separate; border-spacing:0;
  font-size:14.5px;
  background:#fff; border:1px solid var(--border); border-radius:var(--radius-lg); overflow:hidden;
}
.matrix th, .matrix td{ padding:14px 16px; text-align:left; border-bottom:1px solid var(--border); vertical-align:top; }
.matrix th{ background:var(--cream); font-family:var(--f-head); font-weight:700; font-size:13px; letter-spacing:.04em; color:var(--navy); }
.matrix tr:last-child td{ border-bottom:0; }
.matrix td:not(:first-child){ text-align:center; color:var(--navy); }
.matrix .y{ color:var(--red); font-weight:700; }
.matrix .n{ color:var(--slate); }
@media (max-width:640px){
  .matrix{ font-size:13px; }
  .matrix th, .matrix td{ padding:10px 8px; }
}
