/* ==========================================================================
   location-level3.css — Level 3 (sub-service) composition
   Namespace: .gv-l3  (used together with .gv-sys on the same <main>)
   Foundations live in gv-system.css. Only Level-3 composition belongs here.
   Nothing in this file may affect header, footer, Level 1, Level 2 or admin.
   ========================================================================== */

/* ---------- hero: split composition ---------- */
.gv-l3 .gv-hero{position:relative;padding:0;margin:0;background:var(--gv-warm);overflow:hidden}
.gv-l3 .gv-hero__grid{display:grid;grid-template-columns:1fr}
.gv-l3 .gv-hero__text{
  padding-block:clamp(26px,3vw,44px) clamp(30px,3.4vw,48px);
  padding-inline:clamp(18px,3vw,32px);
  display:flex;flex-direction:column;justify-content:center;
}
.gv-l3 .gv-hero h1{
  font-size:var(--gv-fs-display);line-height:1.06;letter-spacing:-.026em;max-width:20ch;
}
.gv-l3 .gv-hero__media{position:relative;overflow:hidden;background:var(--gv-cool-2);aspect-ratio:3/2;order:-1}
.gv-l3 .gv-hero__media picture{display:block;width:100%;height:100%}
.gv-l3 .gv-hero__media img{
  display:block;width:100%;height:100%;object-fit:cover;object-position:46% 50%;
}

/* ---------- intro ---------- */
.gv-l3 .gv-intro__body{
  border-left:3px solid var(--gv-red);padding-left:clamp(20px,2.6vw,34px);max-width:72ch;
}
.gv-l3 .gv-intro__body p{font-size:var(--gv-fs-lead);line-height:1.62}

/* ---------- prose: asymmetric editorial ---------- */
.gv-l3 .gv-split{display:grid;grid-template-columns:1fr;gap:26px}
.gv-l3 .gv-split h2{margin:0}
.gv-l3 .gv-split__body{max-width:66ch}
.gv-l3 .gv-split__body p:last-of-type strong{font-weight:600}

/* ---------- two-state decision surface ---------- */
.gv-l3 .gv-states{
  display:grid;grid-template-columns:1fr;margin-top:var(--gv-gap);
  background:var(--gv-white);border:1px solid var(--gv-line);
  border-radius:var(--gv-radius);overflow:hidden;
}
.gv-l3 .gv-state{padding:30px 28px;border-top:1px solid var(--gv-line)}
.gv-l3 .gv-state:first-child{border-top:0}
.gv-l3 .gv-state__label{
  display:block;font-weight:700;font-size:var(--gv-fs-h3);line-height:1.3;
  color:var(--gv-ink);margin:0 0 10px;letter-spacing:-.01em;max-width:none;
}
.gv-l3 .gv-state__label::before{
  content:"";display:block;width:32px;height:3px;background:var(--gv-red);margin-bottom:14px;
}
.gv-l3 .gv-state p{font-size:var(--gv-fs-small);line-height:1.6;color:var(--gv-muted);margin:0}

/* ---------- checklist ---------- */
.gv-l3 .gv-check{
  display:grid;grid-template-columns:1fr;gap:1px;margin-top:var(--gv-gap);
  background:var(--gv-line);border:1px solid var(--gv-line);
  border-radius:var(--gv-radius-sm);overflow:hidden;
}
.gv-l3 .gv-check li{
  list-style:none;background:var(--gv-white);padding:18px 20px;
  display:flex;align-items:center;gap:12px;
  font-size:var(--gv-fs-small);font-weight:600;color:var(--gv-ink);
}
.gv-l3 .gv-check li::before{
  content:"";flex:0 0 auto;width:9px;height:9px;border-radius:50%;
  background:rgb(var(--thm-rgb) / .22);box-shadow:inset 0 0 0 2px var(--gv-red);
}
.gv-l3 ul.gv-check{margin:var(--gv-gap) 0 0;padding:0}

/* ---------- media-split ---------- */
.gv-l3 .gv-media{display:grid;grid-template-columns:1fr;gap:var(--gv-gap);align-items:start}
.gv-l3 .gv-media__body{max-width:64ch}
.gv-l3 .gv-media__factors{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 20px;
  margin-top:26px;padding-top:22px;border-top:1px solid var(--gv-line);list-style:none;padding-left:0;
}
.gv-l3 .gv-media__factors li{
  font-size:var(--gv-fs-small);font-weight:600;color:var(--gv-ink);
  display:flex;align-items:center;gap:10px;
}
.gv-l3 .gv-media__factors li::before{
  content:"";flex:0 0 auto;width:16px;height:2px;background:var(--gv-red);
}

/* ---------- feature grid ---------- */
.gv-l3 .gv-features{
  display:grid;grid-template-columns:1fr;gap:1px;margin-top:var(--gv-gap);
  background:var(--gv-line);border:1px solid var(--gv-line);
  border-radius:var(--gv-radius);overflow:hidden;
}
.gv-l3 .gv-features div{background:var(--gv-white);padding:26px 22px}
.gv-l3 .gv-features span{
  display:block;font-weight:600;font-size:var(--gv-fs-h3);line-height:1.3;color:var(--gv-ink);
}
.gv-l3 .gv-features span::before{
  content:"";display:block;width:26px;height:2px;background:var(--gv-red);margin-bottom:14px;
}

/* ---------- process steps ---------- */
.gv-l3 .gv-steps{
  display:grid;grid-template-columns:1fr;gap:1px;margin-top:var(--gv-gap);
  background:var(--gv-line);border:1px solid var(--gv-line);
  border-radius:var(--gv-radius);overflow:hidden;
}
.gv-l3 .gv-steps div{
  background:var(--gv-white);padding:24px 22px;display:flex;align-items:center;gap:16px;
}
.gv-l3 .gv-steps b{
  flex:0 0 auto;font-size:13px;font-weight:700;letter-spacing:.06em;color:var(--gv-red);
  font-variant-numeric:tabular-nums;
}
.gv-l3 .gv-steps span{font-size:var(--gv-fs-small);font-weight:600;line-height:1.35;color:var(--gv-ink)}
.gv-l3 .gv-steps__after{display:grid;grid-template-columns:1fr;gap:var(--gv-gap);margin-top:var(--gv-gap)}
.gv-l3 .gv-steps__after .gv-prose{max-width:62ch}

/* ---------- dark pull ---------- */
.gv-l3 .gv-pull__grid{display:grid;grid-template-columns:1fr;gap:var(--gv-gap)}
.gv-l3 .gv-pull__lead{
  font-size:clamp(21px,2.2vw,30px);line-height:1.22;font-weight:700;color:#fff;
  max-width:18ch;margin:22px 0 0;letter-spacing:-.018em;
}
.gv-l3 .gv-pull__body p{color:rgb(255 255 255 / .88);max-width:64ch}
.gv-l3 .gv-pull__body{border-left:3px solid var(--gv-red);padding-left:clamp(20px,2.6vw,30px)}

/* ---------- FAQ ---------- */
.gv-l3 .gv-faq{max-width:920px}
.gv-l3 .gv-faq details{border-bottom:1px solid var(--gv-line)}
.gv-l3 .gv-faq details:first-child{border-top:1px solid var(--gv-line)}
.gv-l3 .gv-faq summary{
  display:flex;gap:20px;align-items:flex-start;justify-content:space-between;
  padding:22px 0;cursor:pointer;list-style:none;
}
.gv-l3 .gv-faq summary::-webkit-details-marker{display:none}
.gv-l3 .gv-faq__q{
  font-size:17.5px;font-weight:600;line-height:1.4;color:var(--gv-ink);margin:0;max-width:none;
}
.gv-l3 .gv-faq summary::after{
  content:"";flex:0 0 auto;width:11px;height:11px;margin-top:8px;
  border-right:2px solid var(--gv-red);border-bottom:2px solid var(--gv-red);
  transform:rotate(45deg);transition:transform .2s ease;
}
.gv-l3 .gv-faq details[open] summary::after{transform:rotate(-135deg)}
.gv-l3 .gv-faq summary:hover .gv-faq__q{color:var(--gv-red)}
.gv-l3 .gv-faq__a{padding:0 40px 24px 0}
.gv-l3 .gv-faq__a p{font-size:var(--gv-fs-small);line-height:1.62;color:var(--gv-muted);max-width:70ch}

/* ---------- final CTA ---------- */
.gv-l3 .gv-cta__grid{display:grid;grid-template-columns:1fr;gap:var(--gv-gap);align-items:center}
.gv-l3 .gv-cta__grid p{max-width:60ch;color:var(--gv-muted)}

/* ==========================================================================
   Breakpoints
   ========================================================================== */
@media (min-width:768px){
  .gv-l3 .gv-states{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gv-l3 .gv-state{border-top:0;border-left:1px solid var(--gv-line)}
  .gv-l3 .gv-state:first-child{border-left:0}
  .gv-l3 .gv-check{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gv-l3 .gv-features{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gv-l3 .gv-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (min-width:992px){
  .gv-l3 .gv-hero__grid{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:stretch}
  .gv-l3 .gv-hero__text{
    padding-block:clamp(34px,3.4vw,52px);
    padding-left:max(clamp(18px,3vw,32px), calc((100vw - var(--gv-wrap)) / 2 + 32px));
    padding-right:clamp(32px,3.4vw,56px);
  }
  .gv-l3 .gv-hero__media{aspect-ratio:auto;order:0;max-width:650px;justify-self:end;width:100%}
  .gv-l3 .gv-hero__media img{position:absolute;inset:0}
  .gv-l3 .gv-split{grid-template-columns:minmax(0,.62fr) minmax(0,1fr);gap:var(--gv-gap);align-items:start}
  .gv-l3 .gv-check{grid-template-columns:repeat(4,minmax(0,1fr))}
  .gv-l3 .gv-media{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:center}
  .gv-l3 .gv-media--flip .gv-media__body{order:2}
  .gv-l3 .gv-media--flip .gv-art{order:1}
  .gv-l3 .gv-features{grid-template-columns:repeat(4,minmax(0,1fr))}
  .gv-l3 .gv-steps{grid-template-columns:repeat(4,minmax(0,1fr))}
  .gv-l3 .gv-steps div{flex-direction:column;align-items:flex-start;gap:10px}
  .gv-l3 .gv-steps__after{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:center}
  .gv-l3 .gv-pull__grid{grid-template-columns:minmax(0,.8fr) minmax(0,1fr)}
  .gv-l3 .gv-cta__grid{grid-template-columns:minmax(0,1.4fr) auto}
  .gv-l3 .gv-cta__grid .gv-actions{margin-top:0;justify-content:flex-end}
}

@media (max-width:767.98px){
  .gv-l3 .gv-state{padding:24px 20px}
  .gv-l3 .gv-features div{padding:22px 18px}
  .gv-l3 .gv-steps div{padding:20px 18px}
  .gv-l3 .gv-media__factors{grid-template-columns:1fr}
  .gv-l3 .gv-faq__a{padding-right:0}
  .gv-l3 .gv-faq__q{font-size:16.5px}
  .gv-l3 .gv-actions .gv-btn{width:100%}
}

.gv-l3 .gv-features__art{margin-top:var(--gv-gap);max-width:760px}

/* ---------- refinement pass: image heights, module density ---------- */
.gv-l3 .gv-art--32{max-height:440px}
.gv-l3 .gv-features__art{margin-top:26px;max-width:700px;max-height:420px}
.gv-l3 .gv-steps__after .gv-art--32{max-height:360px}
.gv-l3 .gv-state{padding:30px}
.gv-l3 .gv-check li{padding:16px 18px}
.gv-l3 .gv-features div{padding:24px 20px}
.gv-l3 .gv-steps div{padding:22px 20px}
.gv-l3 .gv-faq summary{padding:18px 0}
.gv-l3 .gv-split__body p,.gv-l3 .gv-media__body p{max-width:70ch}
@media (max-width:767.98px){
  .gv-l3 .gv-state{padding:20px}
  .gv-l3 .gv-features div,.gv-l3 .gv-steps div{padding:18px}
}

/* ---------- phase B: dark section clipping + link refinement ---------- */
.gv-l3 .gv-pull__grid{align-items:start}
/* editorial links only — never breadcrumb, buttons or FAQ controls */
.gv-l3 .gv-intro__body a,
.gv-l3 .gv-split__body a,
.gv-l3 .gv-media__body a,
.gv-l3 .gv-prose a,
.gv-l3 .gv-pull__body a,
.gv-l3 .gv-cta__grid p a{
  text-decoration-thickness:1px;text-underline-offset:3px;
  text-decoration-color:rgb(var(--thm-rgb) / .5);
}
.gv-l3 .gv-intro__body a:hover,
.gv-l3 .gv-split__body a:hover,
.gv-l3 .gv-media__body a:hover,
.gv-l3 .gv-prose a:hover,
.gv-l3 .gv-pull__body a:hover,
.gv-l3 .gv-cta__grid p a:hover{text-decoration-color:var(--gv-red)}

/* ---------- six-point refinement ---------- */
/* 2 + 5 — single-column prose uses more of the container */
.gv-l3 .gv-prose,
.gv-l3 .gv-split__body,
.gv-l3 .gv-split__body p{max-width:none}
.gv-l3 .gv-split__body{max-width:74ch}
.gv-l3 .gv-intro__body{max-width:82ch}
.gv-l3 .gv-prose p{max-width:74ch}

/* 1 — details: copy beside image, strip below */
.gv-l3 .gv-features__top{align-items:center;margin-bottom:0}
.gv-l3 .gv-features__art{margin-top:0;max-width:none;max-height:none}
.gv-l3 .gv-features{margin-top:var(--gv-gap)}

/* 3 — dark section: key statement fills the left column */
.gv-l3 .gv-pull__lead{margin-top:26px}
.gv-l3 .gv-pull__lead p{
  font-size:clamp(21px,2.1vw,29px);line-height:1.24;font-weight:700;
  color:#fff;letter-spacing:-.018em;max-width:16ch;margin:0;
}

/* 6 — CTA breathing room before the global footer */
.gv-l3 .gv-cta__grid{padding-bottom:8px}
.gv-l3 section.gv-cta,
.gv-l3 .gv-bg-warm:last-of-type{padding-bottom:calc(var(--gv-sec) + 12px)}

/* ---------- B2: proportions from spec ---------- */
@media (min-width:992px){
  /* §4 hero — copy 55% / image 45% */
  .gv-l3 .gv-hero__grid{grid-template-columns:minmax(0,1.22fr) minmax(0,1fr)}
  .gv-l3 .gv-hero h1{max-width:22ch}

  /* §8 diagnostic — heading 32% / prose 66%, items across full grid */
  .gv-l3 .gv-check-sec__grid{display:grid;grid-template-columns:minmax(0,.48fr) minmax(0,1fr);gap:var(--gv-gap);align-items:start}

  /* §9 §11 §12 — content 56% / image 44% */
  .gv-l3 .gv-media{grid-template-columns:minmax(0,1.27fr) minmax(0,1fr)}
  .gv-l3 .gv-steps__after{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}

  /* §13 dark — left 38% / right 62% */
  .gv-l3 .gv-pull__grid{grid-template-columns:minmax(0,.61fr) minmax(0,1fr)}

  /* §15 CTA — copy 67% / button 33%, vertically centred */
  .gv-l3 .gv-cta__grid{grid-template-columns:minmax(0,2fr) minmax(0,1fr);align-items:center}
  .gv-l3 .gv-cta__grid .gv-actions{justify-content:flex-start}
}
/* §5 intro — capped and lighter */
.gv-l3 .gv-intro__body{max-width:880px}
/* §14 FAQ — wider, taller rows */
.gv-l3 .gv-faq{max-width:1060px}
.gv-l3 .gv-faq summary{padding:20px 0}
/* §13 key statement scale */
.gv-l3 .gv-pull__lead p{font-size:clamp(20px,1.8vw,24px);max-width:18ch}

/* §8 diagnostic — heading left, prose right, items across the full grid */
.gv-l3 .gv-check-sec__grid h2{margin:0}
.gv-l3 .gv-check-sec__body{max-width:70ch}
.gv-l3 .gv-check-sec__body p:last-child{margin-bottom:0}

/* ---------- mobile hero typography ---------- */
@media (max-width:767.98px){
  .gv-l3 .gv-hero h1{font-size:clamp(25px,6.6vw,30px);line-height:1.12;max-width:none;letter-spacing:-.02em}
  .gv-l3 .gv-hero .gv-eyebrow{font-size:10.5px;letter-spacing:.08em;margin-bottom:14px;flex-wrap:nowrap}
  .gv-l3 .gv-hero .gv-eyebrow::before{width:20px}
  .gv-l3 .gv-hero__text{padding-block:22px 28px}

  /* breadcrumb: drop the current page, it repeats the H1 below it */
  .gv-l3 .gv-crumb{padding-block:10px}
  .gv-l3 .gv-crumb li:last-child{display:none}
  .gv-l3 .gv-crumb li:nth-last-child(2)::after{content:"";}

  .gv-l3 h2{font-size:clamp(24px,6.4vw,30px);line-height:1.14;max-width:none}
}

/* ---------- 1440 final micro-polish ---------- */
/* 1 — completed-roof image gains height; crop biased to keep roof + mountains */
.gv-l3 .gv-steps__after .gv-art--32{max-height:none;aspect-ratio:auto}
.gv-l3 .gv-steps__after .gv-art{min-height:300px}
.gv-l3 .gv-steps__after .gv-art img{--fp:50% 42%;height:100%;min-height:300px}

/* 2 — technical strip reads as the section's conclusion */
.gv-l3 .gv-features{margin-top:28px}

/* 3 — six scope factors on a precise 3 x 2 grid */
.gv-l3 .gv-media__factors{align-items:start;row-gap:14px;column-gap:26px}
.gv-l3 .gv-media__factors li{align-items:baseline;line-height:1.35}
.gv-l3 .gv-media__factors li::before{position:relative;top:-4px}

/* 4 — CTA button sits closer to its copy */
.gv-l3 .gv-cta__grid p{max-width:66ch}
@media (min-width:992px){
  /* 3 — 3 x 2 at desktop */
  .gv-l3 .gv-media__factors{grid-template-columns:repeat(3,minmax(0,1fr))}
  /* 4 — copy 68% / CTA 32%, centred, less horizontal separation */
  .gv-l3 .gv-cta__grid{grid-template-columns:minmax(0,2.1fr) minmax(0,1fr);gap:clamp(20px,2vw,36px);align-items:center}
  .gv-l3 .gv-cta__grid .gv-actions{justify-content:flex-start;margin-top:0}
}
@media (min-width:768px) and (max-width:991.98px){
  .gv-l3 .gv-media__factors{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* ---------- <=1100px: four-column strips step to two ---------- */
@media (min-width:992px) and (max-width:1100px){
  .gv-l3 .gv-check,
  .gv-l3 .gv-features,
  .gv-l3 .gv-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gv-l3 .gv-steps div{flex-direction:row;align-items:center;gap:14px}
}
