/* ============================================
   MADAO ROOFING SOLUTIONS — Design System
   Palette: Navy Deep / Steel Blue / Sky / Charcoal / Zinc / Fog
   Type: Oswald (display, condensed/industrial) + Inter (body) + Roboto Mono (specs/data)
   Signature: angled roof-pitch dividers + corrugated panel texture
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Inter:wght@400;500;600;700;800&family=Roboto+Mono:wght@400;500&display=swap');

:root{
  --navy: #0d2544;
  --navy-2: #0a1d38;
  --steel: #1f5f9e;
  --sky: #3fa9f5;
  --charcoal: #14181c;
  --zinc: #66707c;
  --zinc-light: #a6afb9;
  --fog: #f5f6f8;
  --fog-2: #eceef1;
  --white: #ffffff;

  --font-display: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'Roboto Mono', monospace;

  --container: 1180px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4{ font-family: var(--font-display); margin: 0; line-height: 1.08; letter-spacing: 0.01em; }
p{ margin: 0; }
button{ font-family: inherit; cursor: pointer; }

:focus-visible{
  outline: 3px solid var(--sky);
  outline-offset: 2px;
}

.wrap{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Eyebrow / labels ---------- */
.eyebrow{
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.eyebrow::before{
  content: "";
  width: 28px;
  height: 2px;
  background: var(--sky);
  display: inline-block;
}
.eyebrow.on-light{ color: var(--steel); }

/* ---------- Corrugated texture (signature) ---------- */
.corrugated{
  background-image: repeating-linear-gradient(
    90deg,
    rgba(255,255,255,0.05) 0px,
    rgba(255,255,255,0.05) 2px,
    transparent 2px,
    transparent 14px
  );
}
.corrugated-light{
  background-image: repeating-linear-gradient(
    90deg,
    rgba(13,37,68,0.05) 0px,
    rgba(13,37,68,0.05) 2px,
    transparent 2px,
    transparent 14px
  );
}

/* ---------- Roof-pitch divider (signature) ---------- */
.roof-divider{
  width: 100%;
  height: 64px;
  display: block;
  margin: 0;
}
.roof-divider--down-navy{ background: var(--navy); clip-path: polygon(0 0, 100% 0, 100% 0, 0 100%); }

/* ---------- Header / Nav ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  max-width: var(--container);
  margin: 0 auto;
  gap: 24px;
}
.nav-brand{
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-brand img{ height: 44px; width: auto; }
.nav-brand .brand-text{
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.03em;
  line-height: 1.15;
}
.nav-brand .brand-text span{
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--sky);
  letter-spacing: 0.14em;
  margin-top: 2px;
  font-weight: 400;
}
.nav-links{
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a{
  font-family: var(--font-display);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--zinc-light);
  font-weight: 500;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover, .nav-links a.active{
  color: var(--white);
  border-color: var(--sky);
}
.nav-cta{
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.nav-cta .btn-primary{ padding: 11px 18px; }
.nav-phone{
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--white);
  display: none;
}
.nav-toggle{
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 26px;
  padding: 4px 8px;
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: 2px;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{ background: var(--sky); color: var(--navy-2); }
.btn-primary:hover{ background: #63bcf7; }
.btn-outline{ background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-outline:hover{ border-color: var(--white); }
.btn-outline-navy{ background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover{ background: var(--navy); color: var(--white); }
.btn-block{ width: 100%; justify-content: center; }

/* ---------- Hero ---------- */
.hero{
  position: relative;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}
.hero-inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 96px 28px 120px;
  position: relative;
  z-index: 2;
}
.hero-roofline{
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.55;
  pointer-events: none;
}
.hero h1{
  font-size: clamp(40px, 6.2vw, 84px);
  color: var(--white);
  text-transform: uppercase;
  max-width: 900px;
}
.hero h1 em{
  font-style: normal;
  color: var(--sky);
}
.hero .lede{
  font-family: var(--font-body);
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--zinc-light);
  max-width: 560px;
  margin-top: 24px;
  font-weight: 400;
}
.hero-ctas{
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-bottom-cut{
  height: 70px;
  background: var(--fog);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

/* ---------- Page hero (interior pages, shorter) ---------- */
.page-hero{
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero .wrap{ padding-top: 72px; padding-bottom: 92px; position: relative; z-index: 2; }
.page-hero h1{
  font-size: clamp(34px, 5vw, 58px);
  text-transform: uppercase;
  color: var(--white);
  max-width: 760px;
}
.page-hero .lede{
  font-family: var(--font-body);
  color: var(--zinc-light);
  max-width: 620px;
  margin-top: 18px;
  font-size: 17px;
}
.page-hero-cut{
  height: 56px;
  background: var(--fog);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

/* ---------- Stats strip ---------- */
.stats-strip{
  background: var(--charcoal);
  color: var(--white);
}
.stats-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 40px 0;
}
.stat{
  text-align: center;
  padding: 0 16px;
  border-left: 1px solid rgba(255,255,255,0.1);
}
.stat:first-child{ border-left: none; }
.stat .num{
  font-family: var(--font-mono);
  font-size: clamp(26px, 3.4vw, 40px);
  color: var(--sky);
  font-weight: 500;
}
.stat .label{
  font-family: var(--font-display);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--zinc-light);
  margin-top: 6px;
}

/* ---------- Section basics ---------- */
.section{ padding: 96px 0; }
.section-tight{ padding: 72px 0; }
.section-fog{ background: var(--fog); }
.section-navy{ background: var(--navy); color: var(--white); }
.section-charcoal{ background: var(--charcoal); color: var(--white); }
.section-head{
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 52px;
  flex-wrap: wrap;
}
.section-head h2{
  font-size: clamp(28px, 3.6vw, 44px);
  text-transform: uppercase;
}
.section-head p{
  font-family: var(--font-body);
  color: var(--zinc);
  max-width: 420px;
  font-size: 15px;
}
.section-navy .section-head p, .section-charcoal .section-head p{ color: var(--zinc-light); }

/* ---------- Services grid ---------- */
.services-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--fog-2);
}
.service-card{
  background: var(--white);
  padding: 40px 32px;
  transition: background 0.2s;
  position: relative;
}
.service-card:hover{ background: var(--navy); color: var(--white); }
.service-card:hover .service-num,
.service-card:hover .service-desc{ color: var(--zinc-light); }
.service-card:hover h3{ color: var(--white); }
.service-card:hover .service-icon svg{ stroke: var(--sky); }
.service-num{
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--zinc-light);
  display: block;
  margin-bottom: 22px;
}
.service-icon{ margin-bottom: 18px; }
.service-icon svg{ width: 40px; height: 40px; stroke: var(--steel); transition: stroke 0.2s; }
.service-card h3{
  font-size: 21px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.service-desc{
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--zinc);
  transition: color 0.2s;
}
.service-link{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
  margin-top: 20px;
}
.service-card:hover .service-link{ color: var(--sky); }

/* ---------- About teaser split ---------- */
.split{
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 0;
}
.split-panel{
  background: var(--navy);
  color: var(--white);
  padding: 64px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.split-panel .quote{
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  text-transform: uppercase;
  line-height: 1.25;
  position: relative;
  z-index: 2;
}
.split-panel .quote-mark{
  font-family: var(--font-display);
  font-size: 90px;
  color: var(--sky);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: -10px;
}
.split-content{
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split-content p{
  font-size: 16.5px;
  color: var(--zinc);
  margin-bottom: 18px;
}
.split-content p:last-of-type{ margin-bottom: 28px; }

/* ---------- Projects grid ---------- */
.projects-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.project-card{
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--navy);
}
.project-card .proj-art{
  position: absolute; inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.project-card:hover .proj-art{ transform: scale(1.06); }
.project-card .proj-overlay{
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,37,68,0) 30%, rgba(10,25,45,0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  color: var(--white);
}
.project-card .proj-tag{
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 8px;
}
.project-card h3{
  font-size: 20px;
  text-transform: uppercase;
}
.project-card .proj-loc{
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--zinc-light);
  margin-top: 6px;
}

/* ---------- CTA banner ---------- */
.cta-banner{
  background: var(--steel);
  background-image: linear-gradient(115deg, var(--steel) 0%, #17487a 100%);
  color: var(--white);
  padding: 64px 0;
}
.cta-banner-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-banner h2{
  font-size: clamp(26px, 3.4vw, 38px);
  text-transform: uppercase;
  max-width: 560px;
}
.cta-banner-actions{
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Testimonials ---------- */
.testi-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.testi-card{
  background: var(--white);
  border: 1px solid var(--fog-2);
  padding: 32px;
}
.testi-card .stars{ color: var(--sky); font-family: var(--font-mono); letter-spacing: 2px; margin-bottom: 18px; font-size: 14px;}
.testi-card p.quote{
  font-size: 15.5px;
  color: var(--charcoal);
  margin-bottom: 22px;
}
.testi-name{ font-family: var(--font-display); text-transform: uppercase; font-size: 15px; }
.testi-role{ font-family: var(--font-mono); font-size: 12px; color: var(--zinc); margin-top: 2px; }

/* ---------- Footer ---------- */
.site-footer{
  background: var(--navy-2);
  color: var(--zinc-light);
  padding-top: 72px;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand{ display: flex; align-items: flex-start; gap: 12px; flex-direction: column; }
.footer-brand img{ height: 46px; margin-bottom: 6px; }
.footer-brand p{ font-size: 14px; color: var(--zinc-light); max-width: 260px; }
.footer-col h4{
  font-family: var(--font-display);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 18px;
}
.footer-col ul li{ margin-bottom: 12px; font-size: 14.5px; }
.footer-col ul li a:hover{ color: var(--sky); }
.footer-col .mono{ font-family: var(--font-mono); font-size: 13.5px; }
.footer-bottom{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--zinc);
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Contact page ---------- */
.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.contact-card{
  display: flex;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid var(--fog-2);
}
.contact-card .ic{ flex-shrink: 0; width: 42px; height: 42px; }
.contact-card .ic svg{ width: 100%; height: 100%; stroke: var(--steel); }
.contact-card h4{
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 15px;
  margin-bottom: 6px;
}
.contact-card p, .contact-card a{ font-size: 15px; color: var(--zinc); }
.contact-card a:hover{ color: var(--steel); }

.form-field{ margin-bottom: 20px; }
.form-field label{
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--zinc);
  margin-bottom: 8px;
}
.form-field input, .form-field select, .form-field textarea{
  width: 100%;
  border: 1px solid #d7dce1;
  background: var(--white);
  padding: 13px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--charcoal);
  border-radius: 2px;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus{
  outline: none;
  border-color: var(--steel);
}
.form-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ---------- Map block ---------- */
.map-block{
  background: var(--navy);
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
  margin-top: 32px;
}

/* ---------- Values / process (about page) ---------- */
.values-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.value-item .num{ font-family: var(--font-mono); color: var(--sky); font-size: 14px; margin-bottom: 14px; display:block; }
.value-item h3{ font-size: 18px; text-transform: uppercase; margin-bottom: 10px; }
.value-item p{ font-family: var(--font-body); font-size: 14.5px; color: var(--zinc-light); }

.process-list{ counter-reset: step; }
.process-item{
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 28px;
  padding: 30px 0;
  border-top: 1px solid var(--fog-2);
}
.process-item:last-child{ border-bottom: 1px solid var(--fog-2); }
.process-item .step-num{
  font-family: var(--font-mono);
  font-size: 32px;
  color: var(--sky);
}
.process-item h3{ font-size: 20px; text-transform: uppercase; margin-bottom: 8px; }
.process-item p{ font-family: var(--font-body); color: var(--zinc); font-size: 15px; max-width: 560px; }

/* ---------- Photo strip (about page) ---------- */
.photo-strip{
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 20px;
}
.photo-strip-item{
  aspect-ratio: 4/3;
  overflow: hidden;
}
.photo-strip-item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 720px){
  .photo-strip{ grid-template-columns: 1fr; }
}

/* ---------- Team ---------- */
.team-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.team-card .photo{
  aspect-ratio: 3/3.6;
  background: var(--navy);
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}
.team-card h3{ font-size: 17px; text-transform: uppercase; }
.team-card .role{ font-family: var(--font-mono); font-size: 12.5px; color: var(--steel); margin-top: 4px; }

/* ---------- Hero photo slideshow ---------- */
.hero-slideshow{
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}
.hero-slideshow .slide{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroSlide 18s infinite;
}
.hero-slideshow .slide:nth-child(1){ background-image: url('assets/hero/hero-1-finished-roof.jpg'); animation-delay: 0s; }
.hero-slideshow .slide:nth-child(2){ background-image: url('assets/hero/hero-2-stone-residence.jpg'); animation-delay: 6s; }
.hero-slideshow .slide:nth-child(3){ background-image: url('assets/hero/hero-3-crew-install.jpg'); animation-delay: 12s; }
.hero-slideshow::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10,25,45,0.94) 15%, rgba(10,25,45,0.72) 50%, rgba(10,25,45,0.5) 100%);
  z-index: 2;
}
@keyframes heroSlide{
  0%   { opacity: 0; }
  4%   { opacity: 1; }
  30%  { opacity: 1; }
  36%  { opacity: 0; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce){
  .hero-slideshow .slide{ animation: none; opacity: 0; }
  .hero-slideshow .slide:nth-child(1){ opacity: 1; }
}

/* ---------- Floating call / WhatsApp buttons ---------- */
.floating-cta{
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}
.fab{
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 18px 0 14px;
  border-radius: 30px;
  font-family: var(--font-display);
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  color: var(--white);
  box-shadow: 0 8px 24px rgba(0,0,0,0.28);
  transition: transform 0.15s ease;
}
.fab:hover{ transform: translateY(-2px); }
.fab-call{ background: var(--steel); }
.fab-whatsapp{ background: #25D366; }
.fab svg{ width: 22px; height: 22px; flex-shrink: 0; }
.fab-label{ white-space: nowrap; }
@media (max-width: 560px){
  .fab-label{ display: none; }
  .fab{ width: 52px; padding: 0; justify-content: center; }
  .floating-cta{ right: 16px; bottom: 16px; }
}

/* ---------- Quick call strip (inline CTA row) ---------- */
.quickcall-strip{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.quickcall-strip .btn svg{ width: 18px; height: 18px; }

/* ---------- WhatsApp Questionnaire ---------- */
.wa-quiz{
  border: 1px solid var(--fog-2);
  background: var(--white);
}
.wa-quiz-progress{
  display: flex;
  gap: 6px;
  padding: 24px 28px 0;
}
.wa-quiz-progress .dot{
  flex: 1;
  height: 3px;
  background: var(--fog-2);
  border-radius: 2px;
  transition: background 0.25s;
}
.wa-quiz-progress .dot.done{ background: var(--sky); }
.wa-quiz-body{ padding: 28px 28px 32px; min-height: 260px; }
.wa-quiz-step{ display: none; }
.wa-quiz-step.active{ display: block; animation: waFadeIn 0.3s ease; }
@keyframes waFadeIn{ from{ opacity:0; transform: translateY(6px);} to{ opacity:1; transform: translateY(0);} }
.wa-quiz-step .step-label{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 10px;
}
.wa-quiz-step h3{
  font-size: 22px;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.wa-options{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.wa-option{
  border: 1.5px solid #d7dce1;
  background: var(--white);
  padding: 16px 18px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--charcoal);
  text-align: left;
  border-radius: 2px;
  transition: border-color 0.15s, background 0.15s;
}
.wa-option:hover{ border-color: var(--steel); }
.wa-option.selected{ border-color: var(--steel); background: rgba(31,95,158,0.07); color: var(--steel); }
.wa-quiz-step input[type="text"]{
  width: 100%;
  border: 1px solid #d7dce1;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  border-radius: 2px;
}
.wa-quiz-step input[type="text"]:focus{ outline: none; border-color: var(--steel); }
.wa-quiz-nav{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 28px 28px;
  border-top: 1px solid var(--fog-2);
}
.wa-quiz-nav .btn-link{
  font-family: var(--font-display);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--zinc);
  background: none;
  border: none;
  padding: 10px 0;
}
.wa-quiz-nav .btn-link:disabled{ opacity: 0; pointer-events: none; }
.wa-quiz-summary{
  padding: 8px 0 4px;
}
.wa-quiz-summary .row{
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--fog-2);
  font-family: var(--font-body);
  font-size: 14.5px;
}
.wa-quiz-summary .row span:first-child{ color: var(--zinc); font-family: var(--font-mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.06em; }
.wa-quiz-summary .row span:last-child{ font-weight: 600; text-align: right; }

.text-center{ text-align: center; }
.mt-40{ margin-top: 40px; }

/* ---------- Responsive ---------- */
@media (min-width: 900px){
  .nav-phone{ display: block; }
}
@media (max-width: 1000px){
  .services-grid, .projects-grid, .testi-grid{ grid-template-columns: repeat(2, 1fr); }
  .stats-grid{ grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3){ border-left: none; }
  .split, .contact-grid{ grid-template-columns: 1fr; }
  .split-panel{ padding: 56px 40px; }
  .split-content{ padding: 48px 40px; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .values-grid{ grid-template-columns: repeat(2, 1fr); }
  .team-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px){
  .wrap{ padding: 0 20px; }
  .nav{ padding: 12px 20px; gap: 12px; }
  .nav-brand img{ height: 36px; }
  .nav-brand .brand-text{ font-size: 13px; }
  .nav-brand .brand-text span{ font-size: 9px; margin-top: 1px; }
  .nav-links{
    position: fixed;
    top: 65px; left: 0; right: 0; bottom: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 28px;
    gap: 4px;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
  }
  .nav-links.open{ transform: translateX(0); }
  .nav-links a{ width: 100%; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 16px; }
  .nav-toggle{ display: block; font-size: 24px; padding: 4px 4px 4px 8px; }
  .nav-cta .btn-primary{ padding: 10px 14px; font-size: 12.5px; }

  .hero-inner{ padding: 56px 20px 84px; }
  .hero-ctas{ flex-direction: column; align-items: stretch; }
  .hero-ctas .btn{ justify-content: center; }

  .page-hero .wrap{ padding-top: 52px; padding-bottom: 68px; }
  .hero-bottom-cut{ height: 44px; }
  .page-hero-cut{ height: 38px; }
  .quickcall-strip{ flex-direction: column; align-items: stretch; }
  .quickcall-strip .btn{ justify-content: center; }

  .services-grid, .projects-grid, .testi-grid, .stats-grid, .values-grid, .team-grid{ grid-template-columns: 1fr; }
  .stat{ border-left: none; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; }
  .stat:first-child{ border-top: none; padding-top: 0; }
  .service-card{ padding: 32px 24px; }

  .split-panel, .split-content{ padding: 44px 24px; }

  .form-row{ grid-template-columns: 1fr; }
  .cta-banner-inner{ flex-direction: column; align-items: stretch; }
  .cta-banner-actions{ flex-direction: column; align-items: stretch; width: 100%; }
  .cta-banner-actions .btn{ justify-content: center; }

  .footer-grid{ grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom{ flex-direction: column; align-items: flex-start; }
  .section{ padding: 64px 0; }

  .contact-card{ gap: 14px; }
  .wa-quiz-body{ padding: 22px 20px 26px; }
  .wa-quiz-progress{ padding: 20px 20px 0; }
  .wa-quiz-nav{ padding: 16px 20px 22px; }
  .wa-options{ grid-template-columns: 1fr 1fr; gap: 10px; }

  .process-item{ grid-template-columns: 56px 1fr; gap: 18px; }
  .process-item .step-num{ font-size: 24px; }
}
@media (max-width: 480px){
  h1{ word-break: break-word; }
  .hero h1{ font-size: 34px; }
  .page-hero h1{ font-size: 28px; }
  .nav-brand .brand-text span{ display: none; }
  .nav-cta .btn-primary .fab-label, .nav-cta .btn-primary{ white-space: nowrap; }
  .nav{ gap: 8px; }
  .eyebrow{ font-size: 11.5px; }
  .section-head h2{ font-size: 26px; }
  .wa-options{ grid-template-columns: 1fr; }
  .wa-option{ padding: 14px 16px; font-size: 14px; }
  .service-card{ padding: 28px 20px; }
  .btn{ padding: 13px 20px; font-size: 13px; }
  .contact-card{ flex-direction: row; align-items: flex-start; }
  .stats-grid{ padding: 32px 0; }
  .split-panel .quote{ font-size: 20px; }
}
@media (max-width: 360px){
  .nav-cta .btn-primary{ display: none; }
  .nav{ padding: 10px 16px; }
}
