:root{
  --ink:#111418; --muted:#5b6470; --line:#e3e7ec; --bg:#ffffff; --bg-alt:#f6f8fa;
  --brand:#1b4dd1; --brand-dark:#12379a; --warn:#b45309; --radius:14px;
  --shadow:0 1px 2px rgba(17,20,24,.06),0 8px 24px rgba(17,20,24,.06);
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  color:var(--ink); background:var(--bg); line-height:1.55; font-size:16px;
  -webkit-font-smoothing:antialiased;
}
a{color:var(--brand); text-decoration:none}
a:hover{text-decoration:underline}
h1,h2,h3{line-height:1.2; margin:0 0 .6em}
h1{font-size:clamp(28px,4vw,44px); letter-spacing:-.02em}
h2{font-size:clamp(22px,2.6vw,30px); letter-spacing:-.01em}
h3{font-size:18px}
p{margin:0 0 1em}
.wrap{max-width:1120px; margin:0 auto; padding:0 20px}

/* header */
.site-header{position:sticky; top:0; z-index:20; background:rgba(255,255,255,.92); backdrop-filter:blur(8px); border-bottom:1px solid var(--line)}
.header-row{display:flex; align-items:center; gap:24px; height:64px}
.logo{font-size:17px; letter-spacing:.02em; color:var(--ink); white-space:nowrap}
.logo b{color:var(--brand)}
.nav{display:flex; gap:20px; margin-left:8px}
.nav a{color:var(--muted); font-size:15px}
.nav a:hover{color:var(--ink); text-decoration:none}
.header-actions{margin-left:auto; display:flex; gap:10px}

/* buttons */
.btn{display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:11px 18px;
  border-radius:10px; font-size:15px; font-weight:600; border:1px solid transparent; cursor:pointer;
  transition:background .15s,border-color .15s,color .15s}
.btn:hover{text-decoration:none}
.btn-primary{background:var(--brand); color:#fff}
.btn-primary:hover{background:var(--brand-dark)}
.btn-ghost{background:#fff; color:var(--ink); border-color:var(--line)}
.btn-ghost:hover{border-color:#c9d1db}
.btn-sm{padding:8px 14px; font-size:14px}

/* hero */
.hero{padding:72px 0 56px; background:linear-gradient(180deg,#f8faff 0%,#fff 100%); border-bottom:1px solid var(--line)}
.hero .lead{font-size:clamp(17px,1.6vw,20px); color:var(--muted); max-width:760px}
.doors{display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-top:34px}
.door{display:flex; flex-direction:column; gap:4px; padding:20px; border:1px solid var(--line);
  border-radius:var(--radius); background:#fff; box-shadow:var(--shadow); color:var(--ink)}
.door:hover{text-decoration:none; border-color:#c9d6f5; transform:translateY(-1px)}
.door-accent{border-color:#c7d4f7; background:#f4f7ff}
.door-kicker{font-size:12px; text-transform:uppercase; letter-spacing:.06em; color:var(--muted)}
.door-title{font-size:19px; font-weight:700}
.door-note{font-size:14px; color:var(--muted)}

/* sections */
.section{padding:64px 0; border-bottom:1px solid var(--line)}
.section-alt{background:var(--bg-alt)}
.section-note{color:var(--muted); max-width:720px}
.grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:16px; margin-top:24px}
.grid-3{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.card{background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:22px; box-shadow:var(--shadow)}
.card-featured{border-color:#c7d4f7; box-shadow:0 2px 4px rgba(27,77,209,.08),0 12px 32px rgba(27,77,209,.10)}
.card-badge{display:inline-block; font-size:12px; font-weight:700; letter-spacing:.04em;
  padding:4px 9px; border-radius:999px; background:#eef3ff; color:var(--brand-dark); margin-bottom:10px}
.card p{color:var(--muted); font-size:15px}
.card-actions{display:flex; gap:8px; flex-wrap:wrap; margin-top:14px}

.steps{margin:18px 0 0; padding-left:22px; color:var(--muted); max-width:820px}
.steps li{margin-bottom:12px}
.steps b{color:var(--ink)}

.two-col{display:grid; grid-template-columns:1.1fr .9fr; gap:40px; align-items:center}
.checklist{list-style:none; padding:0; margin:0 0 20px}
.checklist li{position:relative; padding-left:26px; margin-bottom:9px; color:var(--muted); font-size:15px}
.checklist li::before{content:""; position:absolute; left:0; top:.45em; width:14px; height:14px;
  border-radius:50%; background:#e8efff; box-shadow:inset 0 0 0 4px var(--brand)}

.panel{background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:24px; box-shadow:var(--shadow)}
.panel-title{font-weight:700; margin-bottom:14px}
.progress{height:10px; background:#eef1f5; border-radius:999px; overflow:hidden}
.progress span{display:block; height:100%; background:var(--brand); border-radius:999px}
.panel-figures{display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:18px}
.panel-figures div{display:flex; flex-direction:column}
.panel-figures b{font-size:20px}
.panel-figures span{font-size:13px; color:var(--muted)}
.panel-warn{margin-top:16px; padding:10px 12px; border-radius:10px; background:#fff7ed; color:var(--warn);
  font-size:14px; border:1px solid #fed7aa}

.price{font-size:30px; font-weight:700; margin-bottom:14px}
.price span{font-size:15px; font-weight:500; color:var(--muted)}
.fine{font-size:13px; color:var(--muted)}

/* footer */
.site-footer{background:#0f1319; color:#c9d1db; padding:48px 0 24px; font-size:14px}
.site-footer .logo{color:#fff; margin-bottom:10px}
.footer-grid{display:grid; grid-template-columns:1.4fr 1fr 1.2fr; gap:32px}
.footer-title{font-weight:700; color:#fff; margin-bottom:10px}
.footer-links{list-style:none; padding:0; margin:0}
.footer-links li{margin-bottom:7px}
.site-footer a{color:#c9d1db}
.site-footer a:hover{color:#fff}
.footer-bottom{display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap;
  margin-top:36px; padding-top:18px; border-top:1px solid #232833; color:#8b95a3; font-size:13px}

/* forms */
.crumbs{font-size:13px; color:var(--muted); margin-bottom:14px}
.form-layout{display:grid; grid-template-columns:1.35fr .65fr; gap:32px; align-items:start; margin-top:26px}
.doc-form{display:flex; flex-direction:column; gap:18px}
.doc-form fieldset{border:1px solid var(--line); border-radius:var(--radius); padding:20px; margin:0; background:#fff}
.doc-form legend{font-weight:700; font-size:15px; padding:0 8px; color:var(--ink)}
.field{display:flex; flex-direction:column; gap:6px; margin-bottom:16px}
.field:last-child{margin-bottom:0}
.field label{font-size:14px; font-weight:600}
.field input[type=text], .field input[type=date], .field input[type=number], .field textarea, .field select{
  width:100%; padding:11px 13px; border:1px solid var(--line); border-radius:10px;
  font-size:15px; font-family:inherit; color:var(--ink); background:#fff;
}
.field textarea{resize:vertical; line-height:1.5}
.field input:focus, .field textarea:focus{outline:none; border-color:#9db6f0; box-shadow:0 0 0 3px rgba(27,77,209,.10)}
.hint{font-size:12.5px; color:var(--muted); line-height:1.45}
.error{font-size:12.5px; color:#b42318; font-weight:600}
.field-error input, .field-error textarea{border-color:#f3b3ad; background:#fff8f7}
.agree{display:flex; gap:10px; align-items:flex-start; font-size:13.5px; color:var(--muted)}
.agree input{margin-top:3px}
.btn-block{width:100%}
.form-aside{display:flex; flex-direction:column; gap:14px; position:sticky; top:84px}
.card-muted{background:var(--bg-alt)}
.demand{font-size:22px; font-weight:700; color:var(--brand-dark); margin:0 0 6px}

/* document preview */
.doc{background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:38px 42px;
  margin:24px 0; box-shadow:var(--shadow); font-family:Georgia,"Times New Roman",serif; font-size:15px; line-height:1.65}
.doc p{margin:0 0 12px}
.doc-strong{font-weight:700}
.doc-table{width:100%; border-collapse:collapse; margin:14px 0; font-family:inherit; font-size:14px}
.doc-table th, .doc-table td{border:1px solid #c9ced6; padding:8px 10px; text-align:left; vertical-align:top}
.doc-table th{background:#f2f4f7; font-weight:700}
.doc-actions{display:flex; gap:10px; flex-wrap:wrap; margin:18px 0}
.upsell{margin-top:28px; padding:16px 18px; border-radius:12px; background:#f4f7ff; border:1px solid #c7d4f7; font-size:14.5px}
.legal{max-width:820px}
.legal h2{font-size:20px; margin-top:32px}
.legal ul{padding-left:22px; color:var(--muted)}

/* cookie */
.cookie-bar{position:fixed; left:0; right:0; bottom:0; z-index:50; background:#11161d; color:#dfe5ec;
  padding:12px 0; font-size:14px; box-shadow:0 -4px 20px rgba(0,0,0,.18)}
.cookie-bar a{color:#9db6f0}
.cookie-row{display:flex; align-items:center; gap:16px; justify-content:space-between; flex-wrap:wrap}
.cookie-actions{display:flex; gap:8px}
.cookie-bar .btn-ghost{background:transparent; color:#dfe5ec; border-color:#3a4452}

@media print{
  .site-header, .site-footer, .doc-actions, .upsell, .crumbs, .lead{display:none !important}
  .doc{border:0; box-shadow:none; padding:0; margin:0; font-size:12pt}
  .section{padding:0; border:0}
}

@media (max-width:900px){
  .form-layout{grid-template-columns:1fr}
  .form-aside{position:static}
  .doc{padding:22px 18px}
  .doors{grid-template-columns:1fr}
  .two-col{grid-template-columns:1fr; gap:24px}
  .footer-grid{grid-template-columns:1fr; gap:24px}
  .nav{display:none}
  .hero{padding:44px 0 36px}
}
