/* =========================================================================
   Gardens Reach Advisory — Design System
   "Ledger Precision" — editorial ledger, hairline rules, tabular numerals
   Class scheme: gr.<segment>-<part>  (dot-namespaced, escaped in CSS as gr\.x)
   ========================================================================= */

/* ---------- Design tokens ---------- */
:root{
  --site-bg:#ffffff;
  --site-surface:#f5f6f8;
  --site-text:#14181c;
  --site-muted:#5b6470;
  --site-accent:#1456d6;

  --gr-accent2:#d8dbe0;
  --gr-radius:8px;
  --gr-band-pad: clamp(56px, 9vw, 84px);
  --gr-header-h: 84px;

  --font-head:'Rubik', system-ui, sans-serif;
  --font-body:'Source Serif 4', Georgia, serif;
}

/* ---------- Reset ---------- */
*,*::before,*::after{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%; scroll-behavior:smooth;}
html,body{overflow-x:hidden; max-width:100%;}
body{
  margin:0;
  background:var(--site-bg);
  color:var(--site-text);
  font-family:var(--font-body);
  font-size:1rem;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}
img,svg{max-width:100%; display:block;}
ul,ol{margin:0;padding:0;list-style:none;}
a{color:var(--site-accent); text-decoration:none;}
button{font:inherit; cursor:pointer;}
input,textarea,select{font:inherit;}
h1,h2,h3,h4{
  font-family:var(--font-head);
  color:var(--site-text);
  font-weight:600;
  line-height:1.18;
  margin:0 0 .5em;
  letter-spacing:-0.01em;
}
p{margin:0 0 1em;}
::selection{background:var(--site-accent); color:#fff;}
:focus-visible{outline:2px solid var(--site-accent); outline-offset:3px; border-radius:2px;}

/* ---------- Layout primitives ---------- */
.gr\.shell{
  width:100%;
  max-width:1280px;
  margin-inline:auto;
  padding-inline:20px;
}
@media(min-width:768px){ .gr\.shell{ padding-inline:40px; } }

.gr\.grid-12{
  display:grid;
  grid-template-columns:repeat(12, 1fr);
  gap:24px;
}
.gr\.start-2,.gr\.start-3,.gr\.start-5{ grid-column: 1 / -1; }
@media(min-width:768px){
  .gr\.start-2{ grid-column: 2 / -1; }
  .gr\.start-3{ grid-column: 3 / -1; }
  .gr\.start-5{ grid-column: 5 / -1; }
}

.gr\.band{
  padding-block: var(--gr-band-pad);
  position:relative;
}
.gr\.band + .gr\.band{ border-top:1px solid var(--gr-accent2); }
.gr\.band-surface{ background:var(--site-surface); }

.gr\.rule{ border:none; border-top:1px solid var(--gr-accent2); margin:0; }

/* Section head with signature tabular-numeral index */
.gr\.eyebrow{
  display:block;
  font-family:var(--font-head);
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:.75rem;
  color:var(--site-muted);
  margin-bottom:14px;
}
.gr\.section-head{
  display:flex;
  align-items:flex-end;
  gap:22px;
  margin-bottom:44px;
  flex-wrap:wrap;
}
.gr\.index-mark{
  font-family:var(--font-head);
  font-weight:700;
  font-variant-numeric:tabular-nums;
  font-size:clamp(2.4rem, 5vw, 4rem);
  line-height:.9;
  color:var(--site-accent);
  letter-spacing:-.02em;
}
.gr\.section-head h2{ margin:0; font-size:clamp(1.7rem, 3vw, 2.6rem); }
.gr\.section-sub{
  max-width:640px;
  color:var(--site-muted);
  font-size:1.05rem;
  margin-top:18px;
}

/* ---------- Buttons ---------- */
.gr\.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:15px 30px;
  border-radius:var(--gr-radius);
  font-family:var(--font-head);
  font-weight:600;
  font-size:.95rem;
  border:1px solid transparent;
  transition:background .2s ease,color .2s ease,border-color .2s ease;
  min-height:44px;
}
.gr\.btn-primary{ background:var(--site-accent); color:#fff; }
.gr\.btn-primary:hover{ background:#0e46b3; }
.gr\.btn-ghost{ background:transparent; color:var(--site-text); border-color:var(--gr-accent2); }
.gr\.btn-ghost:hover{ border-color:var(--site-accent); color:var(--site-accent); }
.gr\.btn-invert{ background:#fff; color:var(--site-text); }
.gr\.btn-invert:hover{ background:var(--gr-accent2); }

/* ---------- Header: minimal, transparent over hero ---------- */
#masthead-wdz{
  position:fixed;
  top:0; left:0; right:0;
  z-index:100;
  padding-block:26px;
  border-bottom:1px solid transparent;
  transition:background .3s ease, padding .3s ease, border-color .3s ease;
}
#masthead-wdz.is-scrolled{
  background:rgba(255,255,255,.97);
  border-bottom-color:var(--gr-accent2);
  padding-block:14px;
}
.gr\.header-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.gr\.brand-mark{
  display:inline-flex;
  align-items:center;
  gap:11px;
  color:#fff;
  transition:color .3s ease;
}
#masthead-wdz.is-scrolled .gr\.brand-mark{ color:var(--site-text); }
.gr\.brand-icon{ width:30px; height:30px; flex:none; }
.gr\.brand-word{
  font-family:var(--font-head);
  font-weight:700;
  font-size:1.3rem;
  letter-spacing:-.01em;
  white-space:nowrap;
}
.gr\.nav-primary{ display:none; }
@media(min-width:900px){
  .gr\.nav-primary{ display:block; }
  .gr\.nav-primary ul{ display:flex; gap:38px; }
  .gr\.nav-primary a{
    color:#fff;
    font-family:var(--font-head);
    font-weight:500;
    font-size:.94rem;
    padding-bottom:5px;
    border-bottom:1px solid transparent;
    transition:color .3s ease, border-color .2s ease;
  }
  #masthead-wdz.is-scrolled .gr\.nav-primary a{ color:var(--site-text); }
  .gr\.nav-primary a:hover{ border-color:currentColor; }
}
.gr\.header-cta{ display:none; }
@media(min-width:1100px){
  .gr\.header-cta{ display:inline-flex; }
}

/* Burger */
.gr\.burger{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width:38px; height:38px;
  background:none; border:none;
  color:#fff;
  transition:color .3s ease;
}
#masthead-wdz.is-scrolled .gr\.burger{ color:var(--site-text); }
.gr\.burger span{ display:block; width:100%; height:2px; background:currentColor; }
@media(min-width:900px){ .gr\.burger{ display:none; } }

/* Drawer */
#veil-cl8{
  position:fixed; inset:0;
  background:rgba(20,24,28,.5);
  opacity:0; pointer-events:none;
  transition:opacity .3s ease;
  z-index:150;
}
#veil-cl8.is-open{ opacity:1; pointer-events:auto; }
#slideout-f8q{
  position:fixed; top:0; right:0;
  height:100%;
  width:min(320px, 86vw);
  background:var(--site-bg);
  border-left:1px solid var(--gr-accent2);
  z-index:200;
  padding:28px 30px;
  transform:translateX(100%);
  transition:transform .3s ease;
  overflow-y:auto;
}
#slideout-f8q.is-open{ transform:translateX(0); }
.gr\.drawer-close{
  background:none; border:none;
  font-size:1.4rem; color:var(--site-text);
  margin-left:auto; display:block;
  width:44px; height:44px;
}
.gr\.drawer-nav{ display:flex; flex-direction:column; gap:6px; margin-top:36px; }
.gr\.drawer-nav a{
  display:block;
  padding:14px 0;
  border-bottom:1px solid var(--gr-accent2);
  font-family:var(--font-head);
  font-weight:600;
  font-size:1.1rem;
  color:var(--site-text);
}
@media(min-width:900px){ #slideout-f8q,#veil-cl8{ display:none; } }

/* ---------- Hero: full-bleed background + centered text ---------- */
.gr\.hero-full{
  position:relative;
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.gr\.hero-full img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
}
.gr\.hero-full::before{
  content:'';
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(15,19,23,.5) 0%, rgba(15,19,23,.72) 100%);
}
.gr\.hero-lead{
  position:relative; z-index:2;
  max-width:840px;
  text-align:center;
  color:#fff;
  padding-inline:24px;
}
.gr\.hero-lead .gr\.eyebrow{ color:rgba(255,255,255,.8); }
.gr\.hero-lead h1{
  color:#fff;
  font-size:clamp(2.4rem, 6vw, 4.3rem);
  margin-bottom:.4em;
}
.gr\.hero-lead p{
  color:rgba(255,255,255,.88);
  font-size:clamp(1.05rem, 2vw, 1.3rem);
  max-width:620px;
  margin-inline:auto 1.4em;
}
.gr\.hero-actions{
  display:flex; gap:16px; justify-content:center; flex-wrap:wrap;
  margin-top:8px;
}

/* ---------- page_hero variants ---------- */
/* type-only */
.gr\.hero-type{
  padding-block: calc(var(--gr-header-h) + 76px) var(--gr-band-pad);
  text-align:center;
}
.gr\.hero-type h1{ font-size:clamp(2.2rem, 5vw, 3.6rem); }
.gr\.hero-type p{ max-width:640px; margin-inline:auto; color:var(--site-muted); font-size:1.1rem; }

/* side image */
.gr\.hero-side{
  display:grid;
  grid-template-columns:1fr;
  gap:40px;
  align-items:center;
  padding-block: calc(var(--gr-header-h) + 60px) var(--gr-band-pad);
}
@media(min-width:900px){
  .gr\.hero-side{ grid-template-columns:1.05fr .95fr; gap:56px; }
}
.gr\.hero-side-copy h1{ font-size:clamp(2.1rem, 4.4vw, 3.2rem); }
.gr\.hero-side-copy p{ color:var(--site-muted); font-size:1.08rem; }
.gr\.hero-side-media{
  aspect-ratio:4/5;
  border-radius:var(--gr-radius);
  overflow:hidden;
  background:var(--site-surface);
}
.gr\.hero-side-media img{ width:100%; height:100%; object-fit:cover; display:block; }

/* centered compact */
.gr\.hero-compact{
  text-align:center;
  max-width:760px;
  margin-inline:auto;
  padding-block: calc(var(--gr-header-h) + 70px) 56px;
}
.gr\.hero-compact h1{ font-size:clamp(2rem, 4.4vw, 3.2rem); }
.gr\.hero-compact p{ color:var(--site-muted); font-size:1.08rem; }

/* ---------- credentials: cards pairing credential + guarantee ---------- */
.gr\.credentials-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
  gap:24px;
}
.gr\.card-credential{
  background:var(--site-surface);
  border:1px solid var(--gr-accent2);
  border-radius:var(--gr-radius);
  padding:32px;
}
.gr\.credential-title{
  font-family:var(--font-head);
  font-weight:600;
  font-size:1.15rem;
  margin-bottom:16px;
  display:flex; align-items:center; gap:12px;
}
.gr\.credential-title i{ color:var(--site-accent); }
.gr\.credential-divider{ border-top:1px solid var(--gr-accent2); margin:16px 0; }
.gr\.credential-guarantee{ color:var(--site-muted); font-size:.98rem; margin:0; }

/* ---------- sectors: list rows ---------- */
.gr\.list-sector{ display:flex; flex-direction:column; }
.gr\.sector-row{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
  padding-block:26px;
  border-top:1px solid var(--gr-accent2);
}
.gr\.sector-row:last-child{ border-bottom:1px solid var(--gr-accent2); }
@media(min-width:768px){
  .gr\.sector-row{ grid-template-columns: 1fr 2fr; gap:32px; align-items:baseline; }
}
.gr\.sector-name{ font-family:var(--font-head); font-weight:600; font-size:1.2rem; }
.gr\.sector-change{ color:var(--site-muted); margin:0; }

/* ---------- metrics_panel: scoring table with weightings ---------- */
.gr\.table-metrics{
  width:100%;
  border-collapse:collapse;
  font-size:.98rem;
}
.gr\.table-metrics th,.gr\.table-metrics td{
  text-align:left;
  padding:16px 18px;
  border-bottom:1px solid var(--gr-accent2);
  vertical-align:middle;
}
.gr\.table-metrics th{
  font-family:var(--font-head);
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:.72rem;
  color:var(--site-muted);
}
.gr\.table-metrics tbody tr:hover{ background:var(--site-surface); }
.gr\.weight-bar{
  position:relative; height:6px; width:100%; min-width:80px;
  background:var(--gr-accent2); border-radius:4px; overflow:hidden;
}
.gr\.weight-bar span{ position:absolute; inset:0; background:var(--site-accent); border-radius:4px; }
.gr\.table-metrics-wrap{ overflow-x:auto; }

/* ---------- process: 4 steps in a row ---------- */
.gr\.steps-process{
  display:grid;
  grid-template-columns:1fr;
  gap:32px;
}
@media(min-width:600px){ .gr\.steps-process{ grid-template-columns:repeat(2,1fr); } }
@media(min-width:1000px){ .gr\.steps-process{ grid-template-columns:repeat(4,1fr); } }
.gr\.step-item{ border-top:2px solid var(--site-accent); padding-top:20px; }
.gr\.step-num{
  display:block;
  font-family:var(--font-head); font-weight:700;
  font-variant-numeric:tabular-nums;
  font-size:1.9rem; color:var(--site-accent);
  margin-bottom:10px;
}
.gr\.step-item h3{ font-size:1.1rem; margin-bottom:8px; }
.gr\.step-item p{ color:var(--site-muted); font-size:.96rem; margin:0; }

/* ---------- process (alt): vertical timeline ---------- */
.gr\.timeline-process{ position:relative; padding-left:52px; }
.gr\.timeline-process::before{
  content:''; position:absolute; left:17px; top:6px; bottom:6px;
  width:1px; background:var(--gr-accent2);
}
.gr\.timeline-step{ position:relative; padding-bottom:48px; }
.gr\.timeline-step:last-child{ padding-bottom:0; }
.gr\.timeline-step::before{
  content:attr(data-step);
  position:absolute; left:-52px; top:0;
  width:36px; height:36px; border-radius:50%;
  background:var(--site-accent); color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-head); font-weight:600; font-size:.85rem;
}
.gr\.timeline-step h3{ font-size:1.12rem; margin-bottom:6px; }
.gr\.timeline-step p{ color:var(--site-muted); margin:0; }

/* ---------- benefits: numbered ---------- */
.gr\.benefits-list{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(260px,1fr));
  gap:36px;
}
.gr\.benefit-item{ border-top:1px solid var(--gr-accent2); padding-top:18px; }
.gr\.benefit-num{
  display:block;
  font-family:var(--font-head); font-weight:700;
  color:var(--site-accent); font-size:1.5rem;
  font-variant-numeric:tabular-nums;
  margin-bottom:8px;
}
.gr\.benefit-item h3{ font-size:1.08rem; margin-bottom:6px; }
.gr\.benefit-item p{ color:var(--site-muted); margin:0; font-size:.96rem; }

/* ---------- case_study: three-act layout ---------- */
.gr\.case-study{
  display:grid;
  grid-template-columns:1fr;
  gap:1px;
  background:var(--gr-accent2);
  border:1px solid var(--gr-accent2);
  border-radius:var(--gr-radius);
  overflow:hidden;
}
@media(min-width:900px){ .gr\.case-study{ grid-template-columns:repeat(3,1fr); } }
.gr\.case-act{ background:var(--site-bg); padding:36px 32px; }
.gr\.case-label{
  font-family:var(--font-head);
  text-transform:uppercase; letter-spacing:.1em;
  font-size:.72rem; color:var(--site-accent);
  display:block; margin-bottom:12px;
}
.gr\.case-act h3{ font-size:1.2rem; margin-bottom:10px; }
.gr\.case-act p{ color:var(--site-muted); margin:0; }

/* ---------- faq: accordion (shared component) ---------- */
[data-collapsible]{ border-top:1px solid var(--gr-accent2); }
[data-acc-item]{ border-bottom:1px solid var(--gr-accent2); }
.gr\.acc-head{
  width:100%;
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:22px 0;
  background:none; border:none; text-align:left;
  font-family:var(--font-head); font-weight:600; font-size:1.05rem;
  color:var(--site-text);
}
.gr\.acc-head i{ color:var(--site-accent); transition:transform .3s ease; flex:none; }
[data-acc-item].is-open .gr\.acc-head i{ transform:rotate(45deg); }
.gr\.acc-body{ max-height:0; overflow:hidden; transition:max-height .3s ease; }
[data-acc-item].is-open .gr\.acc-body{ max-height:600px; }
.gr\.acc-body-inner{ padding-bottom:24px; color:var(--site-muted); max-width:760px; }

/* faq: two-column Q&A */
.gr\.faq-two-col{
  display:grid;
  grid-template-columns:1fr;
  gap:0 56px;
}
@media(min-width:800px){ .gr\.faq-two-col{ grid-template-columns:1fr 1fr; } }
.gr\.faq-two-col [data-collapsible]:first-child{ border-top:1px solid var(--gr-accent2); }

/* ---------- stats: row of big numbers ---------- */
.gr\.stats-row{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(160px,1fr));
  gap:32px;
  text-align:center;
}
.gr\.stat-item{ padding:0 8px; }
.gr\.stat-num{
  font-family:var(--font-head); font-weight:700;
  font-variant-numeric:tabular-nums;
  font-size:clamp(2.3rem, 5vw, 3.4rem);
  color:var(--site-accent);
  line-height:1;
}
.gr\.stat-label{
  margin-top:10px;
  text-transform:uppercase; letter-spacing:.06em;
  font-size:.78rem; color:var(--site-muted);
}

/* stats: inline within a sentence */
.gr\.stats-sentence{
  font-family:var(--font-head);
  font-weight:400;
  font-size:clamp(1.3rem, 2.6vw, 1.9rem);
  line-height:1.55;
  max-width:920px;
  color:var(--site-text);
}
.gr\.stats-sentence strong{
  color:var(--site-accent);
  font-weight:700;
  font-variant-numeric:tabular-nums;
}

/* ---------- inline_form / contact_form: two columns ---------- */
.gr\.form-split{
  display:grid;
  grid-template-columns:1fr;
  gap:48px;
}
@media(min-width:900px){ .gr\.form-split{ grid-template-columns:1fr 1fr; gap:64px; align-items:start; } }
.gr\.form-reassure h2{ font-size:clamp(1.6rem, 3vw, 2.2rem); }
.gr\.form-reassure p{ color:var(--site-muted); }
.gr\.reassure-points{ margin-top:24px; display:flex; flex-direction:column; gap:16px; }
.gr\.reassure-points li{ display:flex; gap:12px; align-items:flex-start; color:var(--site-text); }
.gr\.reassure-points i{ color:var(--site-accent); margin-top:3px; }

.gr\.form-contact,
.gr\.contact-form{
  display:flex; flex-direction:column; gap:20px;
  background:var(--site-surface);
  border:1px solid var(--gr-accent2);
  border-radius:var(--gr-radius);
  padding:clamp(24px,4vw,40px);
}
.gr\.field{ display:flex; flex-direction:column; gap:8px; }
.gr\.field label{ font-family:var(--font-head); font-weight:600; font-size:.85rem; }
.gr\.field input,.gr\.field textarea{
  border:1px solid var(--gr-accent2);
  border-radius:var(--gr-radius);
  padding:14px 16px;
  background:var(--site-bg);
  color:var(--site-text);
  font-family:var(--font-body);
  font-size:1rem;
  min-height:48px;
  transition:border-color .2s ease;
}
.gr\.field textarea{ min-height:140px; resize:vertical; }
.gr\.field input:focus,.gr\.field textarea:focus{ outline:none; border-color:var(--site-accent); }

/* ---------- split_feature: alternating rows ---------- */
.gr\.split-feature-row{
  display:grid;
  grid-template-columns:1fr;
  gap:36px;
  align-items:center;
  padding-block:40px;
}
.gr\.split-feature-row + .gr\.split-feature-row{ border-top:1px solid var(--gr-accent2); }
@media(min-width:800px){
  .gr\.split-feature-row{ grid-template-columns:1fr 1fr; gap:56px; }
  .gr\.split-feature-row.is-reverse .gr\.split-media{ order:2; }
  .gr\.split-feature-row.is-reverse .gr\.split-copy{ order:1; }
}
.gr\.split-media{
  aspect-ratio:4/3;
  border-radius:var(--gr-radius);
  overflow:hidden;
  background:var(--site-surface);
}
.gr\.split-media img{ width:100%; height:100%; object-fit:cover; }
.gr\.split-copy h3{ font-size:clamp(1.3rem, 2.4vw, 1.7rem); }
.gr\.split-copy p{ color:var(--site-muted); }

/* ---------- checklist: single centered ---------- */
.gr\.checklist{
  max-width:640px;
  margin-inline:auto;
  display:flex; flex-direction:column; gap:0;
}
.gr\.checklist-item{
  display:flex; gap:16px; align-items:flex-start;
  padding-block:20px;
  border-top:1px solid var(--gr-accent2);
}
.gr\.checklist-item:last-child{ border-bottom:1px solid var(--gr-accent2); }
.gr\.checklist-item i{ color:var(--site-accent); margin-top:4px; flex:none; }
.gr\.checklist-item p{ margin:0; }

/* ---------- audience: two columns (for you / not for you) ---------- */
.gr\.audience-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:1px;
  background:var(--gr-accent2);
  border:1px solid var(--gr-accent2);
  border-radius:var(--gr-radius);
  overflow:hidden;
}
@media(min-width:800px){ .gr\.audience-grid{ grid-template-columns:1fr 1fr; } }
.gr\.audience-col{ background:var(--site-bg); padding:clamp(28px,4vw,44px); }
.gr\.audience-col.is-no{ background:var(--site-surface); }
.gr\.audience-col h3{ font-size:1.2rem; margin-bottom:20px; }
.gr\.audience-col ul{ display:flex; flex-direction:column; gap:14px; }
.gr\.audience-col li{ display:flex; gap:12px; align-items:flex-start; color:var(--site-text); }
.gr\.audience-col.is-yes li i{ color:var(--site-accent); margin-top:3px; }
.gr\.audience-col.is-no li i{ color:var(--site-muted); margin-top:3px; }

/* ---------- testimonials: 3-up quote cards ---------- */
.gr\.testimonial-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(270px,1fr));
  gap:24px;
}
.gr\.card-testimonial{
  background:var(--site-surface);
  border:1px solid var(--gr-accent2);
  border-radius:var(--gr-radius);
  padding:32px;
  display:flex; flex-direction:column; gap:18px;
}
.gr\.testi-quote{ font-style:italic; font-size:1.05rem; margin:0; }
.gr\.testi-name{ font-family:var(--font-head); font-weight:600; font-size:.95rem; }
.gr\.testi-role{ color:var(--site-muted); font-size:.85rem; margin-top:-12px; }

/* ---------- cta_strip: split with contact info ---------- */
.gr\.cta-strip-split{
  display:grid;
  grid-template-columns:1fr;
  gap:32px;
  background:var(--site-text);
  color:#fff;
  border-radius:var(--gr-radius);
  padding:clamp(32px,5vw,56px);
}
@media(min-width:800px){ .gr\.cta-strip-split{ grid-template-columns:1.2fr .8fr; align-items:center; } }
.gr\.cta-strip-split h2{ color:#fff; }
.gr\.cta-strip-split p{ color:rgba(255,255,255,.78); }
.gr\.cta-contact{ display:flex; flex-direction:column; gap:12px; border-left:1px solid rgba(255,255,255,.2); padding-left:28px; }
@media(max-width:799px){ .gr\.cta-contact{ border-left:none; padding-left:0; border-top:1px solid rgba(255,255,255,.2); padding-top:24px; } }
.gr\.cta-contact a{ color:#fff; font-family:var(--font-head); font-weight:500; }

/* cta_strip: centered card */
.gr\.cta-card{
  text-align:center;
  max-width:720px;
  margin-inline:auto;
  background:var(--site-surface);
  border:1px solid var(--gr-accent2);
  border-radius:var(--gr-radius);
  padding:clamp(40px,6vw,64px) clamp(24px,5vw,48px);
}
.gr\.cta-card .gr\.btn{ margin-top:12px; }

/* ---------- Accordion generic wrapper spacing ---------- */
.gr\.faq-wrap{ max-width:820px; }

/* ---------- Footer: compact single row ---------- */
.gr\.footer-compact{
  background:var(--site-text);
  color:#fff;
  padding-block:30px;
}
.gr\.footer-row{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:20px 32px;
}
.gr\.footer-brand .gr\.brand-mark{ color:#fff; }
.gr\.footer-nav ul{ display:flex; flex-wrap:wrap; gap:22px; }
.gr\.footer-nav a{ color:rgba(255,255,255,.72); font-size:.88rem; }
.gr\.footer-nav a:hover{ color:#fff; }
.gr\.footer-contact{ display:flex; flex-wrap:wrap; gap:18px; font-size:.85rem; color:rgba(255,255,255,.72); }
.gr\.footer-contact a{ color:rgba(255,255,255,.72); }
.gr\.footer-contact a:hover{ color:#fff; }
.gr\.footer-legal{
  width:100%;
  display:flex; flex-wrap:wrap; align-items:center; gap:8px 18px;
  font-size:.78rem; color:rgba(255,255,255,.5);
  border-top:1px solid rgba(255,255,255,.14);
  padding-top:18px; margin-top:6px;
}
.gr\.footer-legal a{ color:rgba(255,255,255,.5); }
.gr\.footer-legal a:hover{ color:#fff; }

/* ---------- Swiper (glider-95r) ---------- */
.glider-95r{ padding-bottom:52px; }
.glider-95r .swiper-slide{ height:auto; }
.swiper-pagination-bullet{ background:var(--gr-accent2); opacity:1; }
.swiper-pagination-bullet-active{ background:var(--site-accent); }
.swiper-button-prev,.swiper-button-next{ color:var(--site-accent); }
.swiper-button-prev:after,.swiper-button-next:after{ font-size:1.1rem; }

/* ---------- Modal ---------- */
.site-modal{
  position:fixed; inset:0; z-index:300;
  display:flex; align-items:center; justify-content:center;
  padding:24px;
  background:rgba(15,19,23,.6);
  opacity:0; pointer-events:none;
  transition:opacity .25s ease;
}
.site-modal.is-open{ opacity:1; pointer-events:auto; }
.overlay-box-57x{
  position:relative;
  width:100%; max-width:520px;
  background:var(--site-bg);
  border:1px solid var(--gr-accent2);
  border-radius:var(--gr-radius);
  padding:clamp(28px,5vw,44px);
  transform:translateY(14px);
  transition:transform .25s ease;
}
.site-modal.is-open .overlay-box-57x{ transform:translateY(0); }
[data-hide-modal]{
  position:absolute; top:14px; right:14px;
  background:none; border:none;
  width:36px; height:36px;
  font-size:1.2rem; color:var(--site-muted);
}
[data-hide-modal]:hover{ color:var(--site-text); }

/* ---------- Legal page basics ---------- */
.gr\.legal-content h2{ margin-top:1.6em; font-size:1.4rem; }
.gr\.legal-content p{ color:var(--site-muted); }
.gr\.legal-content ul{ padding-left:1.2em; list-style:disc; color:var(--site-muted); margin-bottom:1em; }

/* ---------- Thanks page ---------- */
.gr\.thanks-panel{
  text-align:center;
  max-width:560px;
  margin-inline:auto;
  padding-block: calc(var(--gr-header-h) + 80px) var(--gr-band-pad);
}
.gr\.thanks-panel i{ font-size:2.4rem; color:var(--site-accent); margin-bottom:18px; }

/* ---------- Utility ---------- */
.gr\.center{ text-align:center; }
.gr\.mt-lg{ margin-top:48px; }

/* ---------- AOS-safe minimal fade (animation: minimal, no slide/zoom) ---------- */
[data-aos]{ transition-property:opacity !important; }
[data-aos="fade-up"]{ transform:none !important; }

/* ---------- Responsive guards ---------- */
@media(max-width:420px){
  .gr\.hero-lead h1{ font-size:2rem; }
}
img{ height:auto; }


/* --- cookie consent (per-site) --- */
.gdpr-t7k-overlay{position:fixed;inset:0;opacity:0;visibility:hidden;transition:.25s;z-index:9998;}
.gdpr-t7k-overlay.is-open{opacity:1;visibility:visible;}
.gdpr-t7k-panel{position:fixed;background:var(--site-surface,#fff);color:var(--site-text,#1a1a1a);
  box-shadow:0 20px 60px rgba(0,0,0,.28);padding:24px;opacity:0;visibility:hidden;transition:.25s;z-index:9999;}
.gdpr-t7k-panel.is-open{opacity:1;visibility:visible;}
.gdpr-t7k-panel h3{margin:0 0 8px;font-size:1.2rem;}
.gdpr-t7k-panel>p{margin:0 0 16px;color:var(--site-muted,#666);font-size:.95rem;}
.gdpr-t7k-cat{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-top:1px solid rgba(128,128,128,.2);}
.gdpr-t7k-cat h4{margin:0 0 2px;font-size:.98rem;}
.gdpr-t7k-cat p{margin:0;color:var(--site-muted,#777);font-size:.85rem;}
.gdpr-t7k-switch{position:relative;flex:0 0 auto;width:44px;height:24px;}
.gdpr-t7k-switch input{opacity:0;width:0;height:0;position:absolute;}
.gdpr-t7k-switch span{position:absolute;inset:0;background:#c9c9c9;border-radius:999px;transition:.2s;cursor:pointer;}
.gdpr-t7k-switch span::before{content:"";position:absolute;width:18px;height:18px;left:3px;top:3px;background:#fff;border-radius:50%;transition:.2s;}
.gdpr-t7k-switch input:checked+span{background:var(--site-accent,#2b7);}
.gdpr-t7k-switch input:checked+span::before{transform:translateX(20px);}
.gdpr-t7k-switch input:disabled+span{opacity:.6;cursor:not-allowed;}
.gdpr-t7k-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px;}
.gdpr-t7k-actions button{flex:1;min-width:140px;padding:11px 16px;border:none;border-radius:10px;font:inherit;font-weight:600;cursor:pointer;}
.gdpr-t7k-actions #gdpr-t7k-all{background:var(--site-accent,#2b7);color:#fff;}
.gdpr-t7k-actions #gdpr-t7k-save{background:transparent;color:var(--site-text,#222);border:1px solid rgba(128,128,128,.4);}
.gdpr-t7k-links{display:flex;gap:16px;margin-top:14px;font-size:.85rem;}
.gdpr-t7k-links a{color:var(--site-accent,#2b7);text-decoration:underline;}
.gdpr-t7k-trigger{position:fixed;left:18px;bottom:18px;width:44px;height:44px;border-radius:50%;border:none;cursor:pointer;
  background:var(--site-surface,#fff);color:var(--site-accent,#2b7);box-shadow:0 6px 18px rgba(0,0,0,.2);z-index:9997;font-size:1.1rem;}

.gdpr-t7k-overlay{background:rgba(0,0,0,.5);}
.gdpr-t7k-panel{left:50%;bottom:24px;transform:translate(-50%,20px);width:min(560px,calc(100% - 32px));border-radius:16px;}
.gdpr-t7k-panel.is-open{transform:translate(-50%,0);}
@media(max-width:520px){.gdpr-t7k-actions button{min-width:100%;}}
#action-dock-uz4{left:auto !important;right:18px !important;}
@media(max-width:520px){#action-dock-uz4{right:12px !important;}}


/* --- safety net (deterministic) --- */
*,*::before,*::after{box-sizing:border-box;}
html,body{overflow-x:hidden;overflow-x:clip;max-width:100%;}
img,svg,video,iframe,canvas{max-width:100%;}
table{max-width:100%;}
/* simpleParallax оборачивает <img> в свой .simpleParallax — заставляем обёртку
   тянуться на всю высоту родителя, а фото внутри — cover. Проценты безопасны:
   при родителе без заданной высоты height:100% откатывается к auto (без коллапса). */
.simpleParallax{display:block;width:100%;height:100%;}
.simpleParallax img{width:100%;height:100%;object-fit:cover;}
/* Браузерный дефолт для <blockquote> и <figure> — margin: 1em 40px. Модель берёт
   эти семантические теги для отзывов и карточек с подписью, но сбросить поля
   забывает: внутри карточки в 267px текст сжимался до 131px (по 40px с каждой
   стороны) и переносился по одному слову, а между карточками зияли пустоты.
   Сбрасываем только горизонтальные поля — вертикальные обычно задуманы. */
blockquote, figure { margin-left: 0; margin-right: 0; }
/* Вложенные фигуры внутри сеток тоже не должны добавлять отступ сбоку. */
figure > blockquote, figure > figcaption { margin-left: 0; margin-right: 0; }
/* Если AOS не поднялся (CDN недоступен, блокировщик) — main.js вешает .no-aos.
   Без этого элементы с data-aos остались бы с opacity:0 из aos.css, то есть
   половина страницы была бы невидимой. */
html.no-aos [data-aos]{opacity:1 !important;transform:none !important;}
/* Пользователи с prefers-reduced-motion получают контент сразу, без анимаций. */
@media(prefers-reduced-motion:reduce){
  [data-aos]{opacity:1 !important;transform:none !important;transition:none !important;}
}
