/* ========================================================================
   Tokens — lifted from the original site (see okna_new/brand-spec.md).
   Orange #fc6c31 is the signature accent; Ubuntu is the signature type.
   ======================================================================== */
:root{
  --bg:        #fbfbfa;
  --surface:   #ffffff;
  --surface-2: #f4f2ee;
  --fg:        #262523;
  --ink:       #14130f;
  --muted:     #6f6c66;
  --border:    #e6e3dd;
  --border-2:  #d9d5cc;
  --accent:    #fc6c31;
  --accent-2:  #e75a1d;
  --accent-warm:#f99928;
  --accent-soft:#fff2ea;
  --shadow-sm: 0 1px 2px rgba(20,19,15,.05), 0 1px 1px rgba(20,19,15,.03);
  --shadow-md: 0 12px 32px -12px rgba(20,19,15,.14), 0 4px 8px -4px rgba(20,19,15,.06);
  --shadow-lg: 0 28px 60px -20px rgba(20,19,15,.22);
  --radius:    14px;
  --radius-sm: 8px;
  --radius-lg: 22px;
  --maxw:      1240px;
  --font:      'Ubuntu', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --mono:      'Ubuntu Mono', ui-monospace, Menlo, monospace;
}

*,*::before,*::after{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body{
  font-family:var(--font);
  color:var(--fg);
  background:var(--bg);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  overflow-x:hidden;
}
img{ max-width:100%; height:auto; display:block; }
button,input,textarea,select{ font:inherit; color:inherit; }
a{ color:inherit; text-decoration:none; }
a:hover{ color:var(--accent); }
h1,h2,h3,h4{ margin:0; color:var(--ink); font-weight:700; letter-spacing:-0.02em; text-wrap:balance; }
p{ margin:0; text-wrap:pretty; }

.container{ max-width:var(--maxw); margin:0 auto; padding:0 24px; }
.section{ padding: clamp(56px, 8vw, 96px) 0; }
.section-tight{ padding: clamp(40px, 6vw, 64px) 0; }
.section-title{
  font-size: clamp(28px, 3.4vw, 44px);
  line-height:1.1;
  margin-bottom:16px;
}
.section-lead{ color:var(--muted); font-size:17px; max-width:64ch; }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font: 500 12px/1 var(--font);
  text-transform:uppercase; letter-spacing:0.14em;
  color:var(--accent);
  padding:8px 14px;
  background:var(--accent-soft);
  border-radius:999px;
  margin-bottom:18px;
}
.eyebrow::before{
  content:''; width:6px; height:6px; border-radius:999px; background:var(--accent);
}

/* ========================================================================
   Buttons
   ======================================================================== */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:14px 24px;
  border-radius:999px;
  font-weight:500;
  font-size:15px;
  letter-spacing:0.01em;
  cursor:pointer;
  border:1px solid transparent;
  transition: transform .18s ease, background .18s, color .18s, box-shadow .18s, opacity .18s;
  text-align:center;
  white-space:nowrap;
}
.btn-primary{
  background:var(--accent);
  color:#fff;
  box-shadow: 0 12px 24px -12px rgba(252,108,49,.6), inset 0 -2px 0 rgba(0,0,0,.12);
}
.btn-primary:hover{ background:var(--accent-2); color:#fff; transform:translateY(-1px); }
.btn[disabled]{ opacity:.55; cursor:default; pointer-events:none; }
.btn-ghost{
  background:transparent;
  border-color:var(--border-2);
  color:var(--ink);
}
.btn-ghost:hover{ border-color:var(--accent); color:var(--accent); }
.btn-lg{ padding:18px 30px; font-size:16px; }
.btn svg{ width:18px; height:18px; }

/* ========================================================================
   Header
   ======================================================================== */
.top-bar{
  background:var(--ink);
  color:#e7e4dc;
  font-size:13px;
}
.top-bar-inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:24px; padding:10px 0;
}
.top-bar .marks{ display:flex; gap:20px; color:#a8a49a; }
.top-bar .marks span{ display:inline-flex; align-items:center; gap:8px; }
.top-bar .marks svg{ width:14px; height:14px; color:var(--accent); }

.header{
  position:sticky; top:0; z-index:50;
  background:rgba(251,251,250,.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom:1px solid var(--border);
}
.header-inner{
  display:grid;
  grid-template-columns: auto 1fr auto;
  align-items:center;
  gap:32px;
  padding:16px 0;
}
.logo{
  display:flex; align-items:center; gap:12px;
  font-weight:700; color:var(--ink); letter-spacing:-0.01em;
}
.logo-mark{
  width:44px; height:44px; border-radius:12px;
  background:linear-gradient(135deg, var(--ink), #2b2925);
  display:grid; place-items:center; color:var(--accent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  flex:0 0 auto;
}
.logo-mark svg{ width:22px; height:22px; }
.logo .brand-name{ font-size:15px; line-height:1.15; }
.logo .brand-sub{ display:block; color:var(--muted); font-weight:400; font-size:12px; letter-spacing:0.06em; text-transform:uppercase; margin-top:2px; }

.nav{ display:flex; gap:28px; justify-self:center; }
.nav a{ font-size:14px; color:var(--fg); }
.nav a:hover{ color:var(--accent); }

.header-cta{ display:flex; align-items:center; gap:16px; }
.header-phone{
  font-family:var(--mono); font-weight:700; font-size:16px; color:var(--ink);
  letter-spacing:0.02em;
}
.header-phone small{ display:block; font: 400 11px/1 var(--font); color:var(--muted); letter-spacing:0.06em; text-transform:uppercase; margin-bottom:4px; }

/* ========================================================================
   Hero
   ======================================================================== */
.hero{
  position:relative;
  overflow:hidden;
  padding: clamp(48px, 6vw, 88px) 0 clamp(56px, 7vw, 96px);
  background:
    radial-gradient(1200px 500px at 90% -10%, rgba(252,108,49,.10), transparent 60%),
    radial-gradient(800px 400px at -10% 30%, rgba(50,103,228,.06), transparent 60%),
    var(--bg);
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items:center;
}
.hero h1{
  font-size: clamp(34px, 4.6vw, 62px);
  line-height:1.05;
  letter-spacing:-0.028em;
  margin-bottom:24px;
}
.hero h1 mark{
  background: linear-gradient(180deg, transparent 62%, rgba(252,108,49,.35) 62%);
  color:inherit; padding:0 4px;
}
.hero-lead{
  font-size:17px; color:var(--muted); margin-bottom:28px; max-width:52ch;
}
.hero-benefits{
  list-style:none; padding:0; margin:0 0 32px;
  display:grid; gap:12px;
}
.hero-benefits li{
  display:flex; align-items:flex-start; gap:12px;
  font-size:15px; color:var(--ink);
}
.hero-benefits .tick{
  flex:0 0 auto;
  width:24px; height:24px; border-radius:50%;
  background:var(--accent-soft); color:var(--accent);
  display:grid; place-items:center;
}
.hero-benefits svg{ width:14px; height:14px; stroke-width:2.4; }

.hero-cta-row{
  display:flex; flex-wrap:wrap; align-items:center; gap:14px 22px;
}
.hero-note{ font-size:13px; color:var(--muted); display:inline-flex; align-items:center; gap:8px; }
.hero-note svg{ width:14px; height:14px; color:var(--accent); }

/* Hero picture: layered card + window hotspots */
.hero-visual{
  position:relative;
  width:100%;
  aspect-ratio: 4/5;
  max-width:520px;
  margin-left:auto;
  min-height:520px;
}
.hero-card{
  position:absolute; inset:0;
  border-radius:var(--radius-lg);
  overflow:hidden;
  background:
    radial-gradient(80% 60% at 50% 100%, rgba(252,108,49,0.16), transparent 70%),
    linear-gradient(180deg, oklch(96% 0.012 60), oklch(93% 0.020 60));
  box-shadow: var(--shadow-lg);
  border:1px solid var(--border);
}
.hero-card img{
  width:100%; height:100%; object-fit:contain; object-position:center bottom;
  padding: 24px 24px 0;
}
.hero-badge{
  position:absolute; z-index:2;
  background:var(--ink); color:#fff;
  padding:14px 18px; border-radius:16px;
  box-shadow: var(--shadow-md);
  display:flex; align-items:center; gap:14px;
  border:1px solid rgba(255,255,255,.08);
}
.hero-badge .num{
  font: 700 28px/1 var(--font); color:var(--accent); letter-spacing:-0.02em;
}
.hero-badge .lbl{ font-size:12px; color:#c9c6be; letter-spacing:0.06em; text-transform:uppercase; line-height:1.3; max-width:16ch; }
.hero-badge-top{ top:-24px; left:-32px; }
.hero-badge-bottom{ bottom:-24px; right:-24px; }
.hotspot{
  position:absolute;
  width:36px; height:36px; border-radius:50%;
  background:var(--accent); color:#fff;
  display:grid; place-items:center;
  cursor:pointer;
  border:0;
  box-shadow: 0 0 0 6px rgba(252,108,49,.22), 0 4px 10px rgba(0,0,0,.2);
  transition: transform .2s;
  z-index:3;
}
.hotspot:hover{ transform: scale(1.08); }
.hotspot::after{
  content: attr(data-tip);
  position:absolute;
  bottom: calc(100% + 12px); left:50%;
  transform: translateX(-50%);
  background:var(--ink); color:#fff;
  font-size:13px; font-weight:400;
  padding:10px 14px; border-radius:10px;
  white-space:normal; width:max-content; max-width:220px;
  box-shadow: var(--shadow-md);
  opacity:0; pointer-events:none;
  transition: opacity .2s, transform .2s;
  line-height:1.35;
}
.hotspot:hover::after,
.hotspot:focus-visible::after{ opacity:1; transform: translateX(-50%) translateY(-4px); }
.hotspot span{ font-weight:700; font-size:16px; line-height:1; }
.hs-1{ top:18%; left:20%; }
.hs-2{ top:52%; right:18%; }
.hs-3{ bottom:22%; left:38%; }

/* ========================================================================
   Trust strip
   ======================================================================== */
.trust{
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
  background:var(--surface);
}
.trust-inner{
  display:grid; grid-template-columns: repeat(4, 1fr);
  gap:24px; padding:28px 0;
}
.trust-item{ display:flex; align-items:center; gap:14px; }
.trust-item .icn{
  width:44px; height:44px; border-radius:12px; background:var(--accent-soft); color:var(--accent);
  display:grid; place-items:center; flex:0 0 auto;
}
.trust-item svg{ width:22px; height:22px; }
.trust-item .icn img{ width:26px; height:26px; object-fit:contain; display:block; }
.trust-item strong{ display:block; color:var(--ink); font-size:15px; line-height:1.2; }
.trust-item span{ color:var(--muted); font-size:13px; }

/* ========================================================================
   Services
   ======================================================================== */
.services-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:24px;
  margin-top:36px;
}
.service-card{
  position:relative;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:0;
  overflow:hidden;
  display:grid;
  grid-template-rows: 260px 1fr;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-2);
}
.service-media{
  position:relative;
  background: linear-gradient(180deg, #f4f2ee 0%, #eae6dd 100%);
  display:grid; place-items:center;
  overflow:hidden;
}
.service-media img{ max-width:75%; max-height:80%; object-fit:contain; }
.service-price{
  position:absolute; top:20px; left:20px;
  background:var(--surface); color:var(--ink);
  padding:8px 14px; border-radius:999px;
  font: 700 14px/1 var(--font);
  box-shadow: var(--shadow-sm);
  border:1px solid var(--border);
}
.service-price em{ font-style:normal; color:var(--muted); font-weight:400; margin-right:4px; }
.service-body{
  padding:26px 28px 28px;
  display:flex; flex-direction:column; gap:18px;
}
.service-card h3{
  font-size:22px; line-height:1.2; letter-spacing:-0.015em;
}
.service-cta{
  display:inline-flex; align-items:center; gap:8px;
  color:var(--accent); font-weight:500; font-size:14px;
  margin-top:auto;
}
.service-cta svg{ width:14px; height:14px; transition:transform .2s; }
.service-card:hover .service-cta svg{ transform: translateX(4px); }

/* ========================================================================
   Calculator / Quiz
   ======================================================================== */
.calc{
  background:linear-gradient(135deg, #14130f 0%, #201d18 100%);
  color:#f1eee6;
  border-radius: 28px;
  padding: clamp(40px, 5vw, 64px);
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items:center;
  border:1px solid #2b2925;
}
.calc::before{
  content:''; position:absolute; inset:auto -80px -80px auto;
  width:340px; height:340px; border-radius:50%;
  background: radial-gradient(circle, rgba(252,108,49,.35), transparent 60%);
}
.calc h2{ color:#fff; font-size: clamp(26px, 3vw, 38px); line-height:1.15; }
.calc-lead{ color:#c8c4b9; margin-top:14px; font-size:16px; max-width:44ch; }
.calc-note{ color:#8a867d; font-size:13px; margin-top:14px; max-width:52ch; }
.calc .eyebrow{ background:rgba(252,108,49,.14); color:#ffb98f; }
.calc-form{
  position:relative;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  border-radius:20px;
  padding:28px;
  backdrop-filter: blur(10px);
}
.calc-step-head{
  display:flex; justify-content:space-between; align-items:center; margin-bottom:18px;
  gap:16px;
  color:#a8a49a; font-size:13px; letter-spacing:0.08em; text-transform:uppercase;
}
.calc-step-head strong{ color:#fff; font-weight:500; }
.calc-progress{
  height:4px; background:rgba(255,255,255,.08); border-radius:999px; overflow:hidden; margin-bottom:26px;
}
.calc-progress span{
  display:block; height:100%;
  background:linear-gradient(90deg, var(--accent), var(--accent-warm));
  width:20%; transition: width .35s;
}
.calc-q{ font-size:18px; color:#fff; margin-bottom:20px; font-weight:500; }
.calc-options{ display:grid; grid-template-columns: repeat(2, 1fr); gap:12px; margin-bottom:24px; }
.calc-opt{
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.10);
  color:#e9e6df;
  padding:16px 18px;
  border-radius:14px;
  text-align:left;
  cursor:pointer;
  transition: background .18s, border .18s, transform .18s;
  font-size:14px;
}
.calc-opt:hover{ background:rgba(252,108,49,.10); border-color:var(--accent); }
.calc-opt.selected{
  background:var(--accent); color:#fff; border-color:var(--accent);
}
.calc-actions{ display:flex; justify-content:space-between; align-items:center; gap:12px; }
.calc-back{
  background:transparent; border:0; color:#a8a49a; cursor:pointer;
  font-size:13px; letter-spacing:0.04em;
  display:inline-flex; align-items:center; gap:6px;
}
.calc-back:hover{ color:#fff; }
.calc-back[disabled]{ opacity:.35; cursor:default; }
.calc-back svg{ width:16px; height:16px; }
.calc-final{
  text-align:center;
}
.calc-final h3{ color:#fff; font-size:22px; margin-bottom:10px; }
.calc-final p{ color:#c8c4b9; margin-bottom:22px; }
.calc-final input{
  width:100%;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
  border-radius:12px;
  padding:14px 16px;
  color:#fff;
  margin-bottom:12px;
}
.calc-final input::placeholder{ color:#8a867d; }
.calc-final .fineprint{ color:#8a867d; font-size:12px; margin-top:14px; margin-bottom:0; }
.calc-success{
  text-align:center;
  padding: 24px 0;
}
.calc-success .icn{
  width:64px; height:64px; border-radius:50%;
  background:rgba(252,108,49,.16); color:var(--accent);
  display:grid; place-items:center; margin:0 auto 18px;
}
.calc-success .icn svg{ width:30px; height:30px; }
.calc-success h3{ color:#fff; font-size:22px; margin-bottom:10px; }
.calc-success p{ color:#c8c4b9; }

/* ========================================================================
   Benefits (why german)
   ======================================================================== */
.benefits-head{
  display:grid; grid-template-columns: 1.1fr 1fr; gap:40px; align-items:end; margin-bottom:48px;
}
.benefits-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:20px;
}
.benefit{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:28px;
  display:flex; flex-direction:column; gap:16px;
  transition: border-color .2s, transform .2s;
}
.benefit:hover{ border-color:var(--accent); transform: translateY(-3px); }
.benefit-icn{
  width:64px; height:64px; border-radius:16px;
  background:var(--accent-soft);
  display:grid; place-items:center;
}
.benefit-icn img{ width:40px; height:40px; object-fit:contain; }
.benefit h3{
  font-size:17px; line-height:1.25; text-transform:none;
}
.benefit p{ color:var(--muted); font-size:14.5px; }

/* ========================================================================
   Portfolio
   ======================================================================== */
.portfolio{
  background:var(--surface);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}
.portfolio-head{
  display:grid; grid-template-columns: 1fr auto; gap:24px; align-items:end;
  margin-bottom:40px;
}
.portfolio-head .stat{
  text-align:right;
}
.portfolio-head .stat b{
  display:block; font: 700 clamp(40px, 5vw, 64px)/1 var(--font); color:var(--accent);
  letter-spacing:-0.03em;
}
.portfolio-head .stat span{ color:var(--muted); font-size:13px; letter-spacing:0.05em; text-transform:uppercase; }

.cases-grid{
  display:grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap:24px;
}
.case{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  overflow:hidden;
  display:flex; flex-direction:column;
}
.case-media{ position:relative; aspect-ratio:5/3; overflow:hidden; background:#eae6dd; }
.case-media img{ width:100%; height:100%; object-fit:cover; transition: transform .5s; }
.case:hover .case-media img{ transform: scale(1.03); }
.case-body{ padding:24px 26px 26px; display:flex; flex-direction:column; gap:12px; flex:1; }
.case-loc{
  display:inline-flex; align-items:center; gap:6px;
  color:var(--muted); font-size:13px; letter-spacing:0.02em;
}
.case-loc svg{ width:12px; height:12px; }
.case h3{ font-size:19px; line-height:1.2; }
.case-desc{ color:var(--muted); font-size:14.5px; }
.case-review{
  margin:14px 0 0; padding-top:16px; border-top:1px solid var(--border);
  font-size:14px; color:var(--fg); line-height:1.6;
  position:relative; padding-left:24px;
}
.case-review::before{
  content:'\201C'; position:absolute; left:0; top:-4px;
  color:var(--accent); font: 700 30px/1 var(--font);
}
.case-review .author{ display:block; margin-top:10px; color:var(--muted); font-size:13px; }

.portfolio-cta{
  display:flex; justify-content:center; margin-top:40px;
}

/* ========================================================================
   Guarantees
   ======================================================================== */
.guarantee{
  background: var(--ink);
  color:#f1eee6;
  border-radius: 28px;
  padding: clamp(40px, 5vw, 64px);
  display:grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items:center;
  position:relative;
  overflow:hidden;
}
.guarantee::before{
  content:''; position:absolute; inset:-40% -20% auto auto;
  width:600px; height:600px;
  background: radial-gradient(circle, rgba(252,108,49,.18), transparent 60%);
}
.guarantee .eyebrow{ background:rgba(252,108,49,.14); color:#ffb98f; }
.guarantee h2{ color:#fff; font-size: clamp(28px, 3.4vw, 44px); line-height:1.1; position:relative; }
.guarantee-list{ list-style:none; padding:0; margin:0; display:grid; gap:18px; position:relative; }
.guarantee-list li{
  display:grid; grid-template-columns: 40px 1fr; gap:16px; align-items:flex-start;
}
.guarantee-list .icn{
  width:40px; height:40px; border-radius:12px;
  background: rgba(252,108,49,.15);
  color:var(--accent);
  display:grid; place-items:center;
}
.guarantee-list svg{ width:20px; height:20px; }
.guarantee-list .icn img{ width:24px; height:24px; object-fit:contain; display:block; }
.guarantee-list strong{ display:block; color:#fff; font-size:15px; font-weight:500; margin-bottom:3px; }
.guarantee-list span{ color:#a8a49a; font-size:14px; }

/* ========================================================================
   Measure / call-out form
   ======================================================================== */
.measure{
  display:grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items:center;
}
.measure-copy .eyebrow{ margin-bottom:20px; }
.measure-copy h2{ font-size: clamp(28px, 3.4vw, 40px); line-height:1.1; margin-bottom:20px; }
.measure-copy p{ color:var(--muted); font-size:15.5px; margin-bottom:14px; }
.measure-list{ list-style:none; padding:0; margin:18px 0 0; display:grid; gap:12px; }
.measure-list li{ display:flex; gap:12px; align-items:flex-start; font-size:15px; color:var(--ink); }
.measure-list .dot{
  flex:0 0 auto; width:22px; height:22px; border-radius:50%;
  background:var(--accent-soft); color:var(--accent);
  display:grid; place-items:center;
}
.measure-list svg{ width:12px; height:12px; stroke-width:3; }

.callform{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:32px;
  box-shadow: var(--shadow-md);
  display:flex; flex-direction:column; gap:14px;
}
.callform h3{ font-size:20px; line-height:1.2; margin-bottom:8px; }
.callform p{ color:var(--muted); font-size:14px; }
.field{ display:flex; flex-direction:column; gap:6px; }
.field label{ font-size:12px; color:var(--muted); letter-spacing:0.06em; text-transform:uppercase; }
.field input{
  border:1px solid var(--border-2);
  border-radius:12px;
  padding:14px 16px;
  background:var(--surface);
  transition: border-color .18s, box-shadow .18s;
}
.field input:focus{
  outline:none; border-color:var(--accent);
  box-shadow: 0 0 0 4px rgba(252,108,49,.12);
}
.consent{
  font-size:12px; color:var(--muted); line-height:1.5;
}
.consent a{ color:var(--accent); text-decoration:underline; }

/* Honeypot: visually hidden from humans, visible to bots */
.hp-field{
  position:absolute !important;
  width:1px; height:1px; overflow:hidden;
  clip:rect(0 0 0 0); clip-path:inset(50%);
  white-space:nowrap; border:0; padding:0; margin:-1px;
}

/* ========================================================================
   ALTCHA captcha — брендовый фирменный чекбокс (виджет в light DOM).
   ======================================================================== */
altcha-widget{ display:block; }
altcha-widget .altcha{
  border:1px solid var(--border-2);
  background:var(--surface);
  border-radius:14px;
  padding:14px 16px;
  font-family:var(--font);
  font-size:14px;
  color:var(--fg);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
altcha-widget .altcha:hover{ border-color:var(--accent); }
altcha-widget .altcha[data-state="verifying"]{
  border-color:var(--accent);
  box-shadow: 0 0 0 4px rgba(252,108,49,.10);
}
altcha-widget .altcha[data-state="verified"]{
  border-color:#bfe5c5;
  background:#f4fbf5;
}
altcha-widget .altcha-main{
  display:flex; align-items:center; gap:12px; margin:0;
}
/* прячем стандартный логотип/футер полностью */
altcha-widget .altcha-footer,
altcha-widget .altcha-logo{ display:none !important; }

/* Кастомный чекбокс */
altcha-widget .altcha-checkbox{
  display:inline-flex; align-items:center; position:relative;
  width:26px; height:26px; flex:0 0 auto;
}
altcha-widget .altcha-checkbox input[type="checkbox"]{
  appearance:none; -webkit-appearance:none; margin:0; cursor:pointer;
  width:26px; height:26px; border-radius:8px;
  border:2px solid var(--border-2); background:var(--surface);
  transition: border-color .18s, background .18s, box-shadow .18s;
  position:relative;
}
altcha-widget .altcha-checkbox input[type="checkbox"]:hover{ border-color:var(--accent); }
altcha-widget .altcha-checkbox input[type="checkbox"]:focus-visible{
  outline:none; box-shadow: 0 0 0 4px rgba(252,108,49,.18);
}
altcha-widget .altcha-checkbox input[type="checkbox"]:checked{
  background:var(--accent); border-color:var(--accent);
}
altcha-widget .altcha-checkbox input[type="checkbox"]:checked::after{
  content:''; position:absolute; left:8px; top:3.5px;
  width:6px; height:12px;
  border:solid #fff; border-width:0 2.5px 2.5px 0;
  transform: rotate(45deg);
}
/* Спиннер ALTCHA — перекрашиваем в акцент */
altcha-widget .altcha-checkbox .altcha-spinner,
altcha-widget .altcha-spinner{
  width:24px !important; height:24px !important;
  color:var(--accent) !important;
}
altcha-widget .altcha-label{ padding:0; }
altcha-widget .altcha-label label{ cursor:pointer; color:var(--ink); font-weight:500; }
altcha-widget .altcha-error{ color:#b3261e; font-size:13px; }

/* Тёмная форма квиза */
.calc-form altcha-widget{ margin-bottom:12px; }
.calc-form altcha-widget .altcha{
  background:rgba(255,255,255,.04);
  border-color:rgba(255,255,255,.14);
  color:#e9e6df;
}
.calc-form altcha-widget .altcha:hover{ border-color:var(--accent); }
.calc-form altcha-widget .altcha[data-state="verified"]{
  background:rgba(252,108,49,.10); border-color:var(--accent);
}
.calc-form altcha-widget .altcha-checkbox input[type="checkbox"]{
  background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.22);
}
.calc-form altcha-widget .altcha-checkbox input[type="checkbox"]:checked{
  background:var(--accent); border-color:var(--accent);
}
.calc-form altcha-widget .altcha-label label{ color:#e9e6df; }

/* Form status messages */
.form-status{
  display:none;
  border-radius:12px;
  padding:12px 16px;
  font-size:14px;
  line-height:1.45;
}
.form-status.ok{
  display:block;
  background:#eef9ef; color:#1d7a2c; border:1px solid #bfe5c5;
}
.form-status.err{
  display:block;
  background:#fdeeee; color:#b3261e; border:1px solid #f2c4c1;
}
.callform-success{
  text-align:center;
  padding:24px 0;
}
.callform-success .icn{
  width:64px; height:64px; border-radius:50%;
  background:var(--accent-soft); color:var(--accent);
  display:grid; place-items:center; margin:0 auto 18px;
}
.callform-success .icn svg{ width:30px; height:30px; }
.callform-success h3{ margin-bottom:8px; }
.callform-success p{ color:var(--muted); }

/* ========================================================================
   Contacts
   ======================================================================== */
.contacts{
  background:var(--surface);
  border-top:1px solid var(--border);
}
.contacts-grid{
  display:grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items:stretch;
}
.contacts-copy .eyebrow{ margin-bottom:20px; }
.contacts-copy h2{ font-size: clamp(28px, 3.4vw, 40px); margin-bottom:8px; }
.contacts-copy .sub{ color:var(--muted); font-size:15.5px; margin-bottom:28px; }
.contacts-list{ display:grid; gap:20px; }
.contact-item{ display:grid; grid-template-columns: 46px 1fr; gap:14px; align-items:flex-start; }
.contact-item .icn{
  width:46px; height:46px; border-radius:14px;
  background:var(--accent-soft); color:var(--accent);
  display:grid; place-items:center;
}
.contact-item svg{ width:22px; height:22px; }
.contact-item .icn img{ width:26px; height:26px; object-fit:contain; display:block; }
.contact-item small{ display:block; color:var(--muted); font-size:12px; letter-spacing:0.06em; text-transform:uppercase; margin-bottom:4px; }
.contact-item strong{ display:block; font-size:16px; color:var(--ink); font-weight:500; }
.contact-item .phone{ font-family:var(--mono); font-weight:700; font-size:20px; letter-spacing:0.02em; }

.map-card{
  border-radius:var(--radius-lg);
  overflow:hidden; border:1px solid var(--border);
  min-height:420px;
  background:var(--surface-2);
  position:relative;
}
.map-card iframe{
  position:absolute; inset:0;
  width:100%; height:100%; border:0; display:block;
}

/* ========================================================================
   Footer
   ======================================================================== */
.footer{
  background:var(--ink); color:#a8a49a;
  padding: 56px 0 32px;
  margin-top: 40px;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap:32px;
  padding-bottom: 32px;
  border-bottom:1px solid #2b2925;
}
.footer h4{ color:#fff; font-size:14px; letter-spacing:0.08em; text-transform:uppercase; margin-bottom:16px; font-weight:500; }
.footer a, .footer p{ color:#a8a49a; font-size:14px; line-height:1.7; }
.footer a:hover{ color:#fff; }
.footer .brand-mini{ display:flex; align-items:center; gap:12px; margin-bottom:14px; }
.footer .brand-mini .logo-mark{ width:38px; height:38px; }
.footer .brand-mini .logo-mark svg{ width:18px; height:18px; }
.footer .brand-mini strong{ color:#fff; font-size:15px; }
.footer-bottom{
  padding-top:24px;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px;
  font-size:12.5px; color:#6f6c66; letter-spacing:0.02em;
}
.footer-bottom .ogrn{ font-family:var(--mono); }

/* ========================================================================
   Legal / text pages (политика конфиденциальности)
   ======================================================================== */
.legal-hero{
  padding: clamp(40px, 6vw, 72px) 0 clamp(24px, 3vw, 40px);
}
.legal-hero h1{
  font-size: clamp(26px, 3.4vw, 42px);
  line-height:1.15;
  max-width: 26ch;
}
.legal-body{
  padding-bottom: clamp(56px, 8vw, 96px);
}
.legal{
  max-width: 860px;
  background: var(--surface);
  border:1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 48px);
  box-shadow: var(--shadow-sm);
}
.legal h1, .legal h2, .legal h3{
  font-size:18px;
  line-height:1.35;
  margin: 28px 0 12px;
}
.legal h1:first-child{ margin-top:0; }
.legal h1 strong{ font-size:inherit !important; }
.legal p{
  margin: 0 0 14px;
  font-size:15px;
  color: var(--fg);
  line-height:1.7;
}
.legal ol{
  margin: 0 0 14px;
  padding-left: 22px;
  font-size:15px;
  line-height:1.7;
}
.legal ol li{ margin-bottom: 10px; }
.legal strong{ color: var(--ink); }
.legal .header h1{
  font-size:20px;
  margin-bottom:16px;
}
.breadcrumbs{
  display:inline-flex; align-items:center; gap:8px;
  font-size:13px; color:var(--muted);
  margin-bottom:18px;
}
.breadcrumbs a{ color:var(--accent); }
.breadcrumbs svg{ width:12px; height:12px; }

/* ========================================================================
   Utility
   ======================================================================== */
.tabular{ font-variant-numeric: tabular-nums; }

/* ========================================================================
   Responsive
   ======================================================================== */
@media (max-width: 1080px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-visual{ margin: 40px auto 0; max-width:440px; }
  .services-grid{ grid-template-columns: 1fr; }
  .benefits-grid{ grid-template-columns: repeat(2, 1fr); }
  .benefits-head{ grid-template-columns: 1fr; gap:16px; }
  .cases-grid{ grid-template-columns: 1fr; }
  .calc{ grid-template-columns: 1fr; }
  .guarantee{ grid-template-columns: 1fr; }
  .measure{ grid-template-columns: 1fr; }
  .contacts-grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .nav{ display:none; }
}
@media (max-width: 720px){
  .trust-inner{ grid-template-columns: repeat(2, 1fr); gap:16px 20px; padding:24px 0; }
  .benefits-grid{ grid-template-columns: 1fr; }
  .hero h1{ font-size: clamp(30px, 8vw, 40px); }
  .header-inner{ grid-template-columns: minmax(0,1fr) auto; gap:14px; align-items:center; }
  .logo{ gap:10px; min-width:0; }
  .logo-mark{ width:40px; height:40px; border-radius:11px; }
  .logo-mark svg{ width:20px; height:20px; }
  .logo .brand-name{ font-size:13.5px; line-height:1.2; }
  .logo .brand-sub{ display:none; }
  .header-phone{ font-size:16px; white-space:nowrap; }
  .header-phone small{ display:none; }
  .top-bar .marks{ gap:12px; font-size:12px; }
  .top-bar .marks span:last-child{ display:none; }
  .top-bar-inner > .marks:last-child{ display:none; }
  .top-bar .marks span:last-child{ display:none; }
  .service-card{ grid-template-rows: 200px 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
  .portfolio-head{ grid-template-columns: 1fr; }
  .portfolio-head .stat{ text-align:left; }
  .calc-options{ grid-template-columns: 1fr; }
  .header-cta .btn{ display:none; }
  .calc-step-head span:last-child{ display:none; }
  .map-card{ min-height:320px; }
}
@media (max-width: 480px){
  .container{ padding:0 18px; }
  .section{ padding: 56px 0; }
  .header-inner{ gap:10px; padding:14px 0; }
  .logo{ gap:9px; }
  .logo-mark{ width:38px; height:38px; }
  .logo .brand-name{ font-size:13px; }
  .header-phone{ font-size:15px; }
  .hero-visual{ min-height:0; aspect-ratio: 4/4.6; max-width:100%; }
  .hero-badge-top{ top:-14px; left:-8px; padding:10px 14px; }
  .hero-badge-bottom{ bottom:-14px; right:-8px; padding:10px 14px; }
  .hero-badge .num{ font-size:22px; }
  .calc-form{ padding:22px 18px; }
  .callform{ padding:24px 20px; }
  .btn-lg{ padding:16px 22px; font-size:15px; }
  .hero .btn-lg{ width:100%; }
}
