:root {
  --bg: #0d1014;
  --bg-2: #12161c;
  --bg-3: #171c24;
  --line: #242b35;
  --text: #f1efea;
  --muted: #9aa3af;
  --accent: #d7a24a;
  --accent-2: #f0c274;
  --accent-dim: rgba(215, 162, 74, .12);
  --radius: 16px;
  --max: 1180px;
  --font-body: "Manrope", system-ui, -apple-system, Arial, sans-serif;
  --font-head: "Golos Text", "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--accent-2); text-decoration: none; }
a:hover { color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.18;
  margin: 0 0 .6em;
  font-weight: 700;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(30px, 5vw, 54px); }
h2 { font-size: clamp(24px, 3.4vw, 38px); }
h3 { font-size: clamp(19px, 2vw, 23px); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 16, 20, .86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 70px;
}
.logo {
  font-family: var(--font-head); font-weight: 700; font-size: 19px;
  color: var(--text); letter-spacing: -.01em; white-space: nowrap;
}
.logo span { color: var(--accent); }
.nav { display: flex; gap: 24px; align-items: center; }
.nav a { color: var(--muted); font-size: 15px; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.header-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #14100a; font-weight: 700; font-size: 15px;
  padding: 11px 18px; border-radius: 10px; white-space: nowrap;
}
.header-cta:hover { background: var(--accent-2); color: #14100a; }

.burger { display: none; background: none; border: 1px solid var(--line); color: var(--text);
  border-radius: 8px; width: 42px; height: 40px; font-size: 20px; cursor: pointer; }

/* hero */
.hero {
  position: relative;
  padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto -20%;
  height: 640px;
  background: radial-gradient(closest-side, rgba(215,162,74,.22), transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); font-weight: 700; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--accent); display: block; }
.hero p.lead { font-size: clamp(16px, 1.5vw, 19px); color: #d6d3cc; max-width: 40em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 12px; font-weight: 700; font-size: 16px;
  border: 1px solid transparent; cursor: pointer; transition: .18s;
}
.btn-primary { background: var(--accent); color: #14100a; }
.btn-primary:hover { background: var(--accent-2); color: #14100a; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-2); }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* hero card */
.hero-card {
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px;
}
.hero-card h3 { font-size: 17px; margin-bottom: 14px; color: var(--accent-2); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 30px; font-size: 15.5px; color: #ddd9d1; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent-dim); color: var(--accent);
  font-size: 12px; display: grid; place-items: center; font-weight: 700;
}

/* sections */
section { padding: clamp(44px, 6vw, 76px) 0; border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 34px; }
.section-head p { color: var(--muted); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }

.card {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px;
}
.card h3 { margin-bottom: 10px; }
.card p { color: #c9c5bd; font-size: 15.5px; }
.card .num {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--accent-dim); color: var(--accent);
  font-weight: 800; font-size: 15px; margin-bottom: 14px;
}

/* feature rows */
.feature { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.feature:first-child { border-top: 0; padding-top: 0; }
.feature .ico {
  width: 40px; height: 40px; border-radius: 11px;
  background: var(--accent-dim); color: var(--accent);
  display: grid; place-items: center; font-size: 18px;
}
.feature h3 { font-size: 18px; margin-bottom: 6px; }
.feature p { color: #c9c5bd; font-size: 15.5px; }

/* languages */
.lang-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lang-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.lang-card h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin-bottom: 12px; }
.lang-list { display: flex; flex-wrap: wrap; gap: 8px; }
.lang-list span {
  font-size: 14.5px; padding: 6px 12px; border-radius: 999px;
  background: var(--bg-3); border: 1px solid var(--line); color: #ddd9d1;
}

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.step { position: relative; padding: 24px 20px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); }
.step::before {
  counter-increment: s; content: counter(s);
  font-family: var(--font-head); font-weight: 800; font-size: 34px;
  color: rgba(215,162,74,.35); display: block; line-height: 1; margin-bottom: 12px;
}
.step h3 { font-size: 16.5px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--muted); }

/* spec table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
th { background: var(--bg-3); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
tr:last-child td { border-bottom: 0; }
td strong { color: var(--accent-2); }

/* cta band */
.cta-band {
  background: linear-gradient(120deg, rgba(215,162,74,.16), rgba(215,162,74,.04));
  border: 1px solid rgba(215,162,74,.28);
  border-radius: 20px; padding: clamp(28px, 4vw, 44px);
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 28px; align-items: center;
}
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { color: #d6d3cc; }

/* faq */
details {
  border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 20px; background: var(--bg-2); margin-bottom: 10px;
}
details[open] { border-color: rgba(215,162,74,.4); }
summary { cursor: pointer; font-weight: 600; font-size: 16.5px; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--accent); font-weight: 700; }
details[open] summary::after { content: "–"; }
details p { margin-top: 12px; color: #c9c5bd; font-size: 15.5px; }

/* form */
.form-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 10px;
  background: var(--bg); border: 1px solid var(--line); color: var(--text);
  font-family: inherit; font-size: 15.5px;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: 13.5px; color: var(--muted); margin-top: 12px; }

/* contacts */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.contact-item { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.contact-item .k { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 8px; }
.contact-item .v { font-size: 19px; font-weight: 700; font-family: var(--font-head); }

/* footer */
.site-footer { padding: 44px 0 34px; color: var(--muted); font-size: 14.5px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }
.footer-title { color: var(--text); font-family: var(--font-head); font-weight: 700; font-size: 18px; margin-bottom: 10px; }
.footer-bottom { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }

/* breadcrumbs */
.crumbs { font-size: 14px; color: var(--muted); padding: 22px 0 0; }
.crumbs a { color: var(--muted); }
.crumbs span { color: #6d7682; }

/* page hero */
.page-hero { padding: clamp(34px, 5vw, 60px) 0 clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line); }
.page-hero p { color: #d6d3cc; max-width: 46em; font-size: 17.5px; }

.placeholder {
  display: inline-block; padding: 2px 8px; border-radius: 6px;
  background: var(--accent-dim); color: var(--accent-2); font-size: 13px; font-weight: 600;
}

/* responsive */
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .grid-3, .lang-cols { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; top: 70px; left: 0; right: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
    padding: 18px 22px; gap: 16px;
  }
  .burger { display: block; }
  .grid-3, .grid-2, .lang-cols, .steps, .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .header-cta { display: none; }
}

.nav-cta { display: none; }
@media (max-width: 720px) {
  .nav-cta { display: block; margin-top: 6px; color: var(--accent) !important; font-weight: 600; }
}

/* ---- страница цен ---- */
.price { white-space: nowrap; color: var(--accent); font-weight: 600; }
.calc-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 18px; }
.calc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.calc-head h3 { font-size: 19px; }
.calc-meta { color: var(--muted); font-size: 13.5px; }
.calc-card .table-wrap { border: 0; }
.calc-card table { font-size: 15.5px; }
.calc-card table td:first-child { width: 40%; color: #d6d3cc; }
.calc-card table td:nth-child(2) { color: var(--muted); font-size: 14.5px; }
tr.total td { border-top: 2px solid rgba(215,162,74,.5); font-weight: 700; color: var(--text); font-size: 17px; padding-top: 14px; }
tr.total .price { font-size: 19px; }
.note-band { margin-top: 18px; padding: 16px 18px; border-left: 3px solid var(--accent); background: var(--bg-2); border-radius: 0 var(--radius) var(--radius) 0; color: #d6d3cc; font-size: 15px; line-height: 1.6; }
@media (max-width: 720px) {
  .calc-card { padding: 16px; }
  .calc-card table { font-size: 14.5px; }
  .calc-card table td:first-child { width: auto; }
  tr.total .price { font-size: 17px; }
}

.steps-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1080px) { .steps-5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .steps-5 { grid-template-columns: 1fr; } }

/* ---- таблицы как карточки на телефоне ---- */
@media (max-width: 720px) {
  .table-wrap { border: 0; border-radius: 0; overflow: visible; }
  .table-wrap table { display: block; width: 100%; border-collapse: collapse; }
  .table-wrap thead { display: none; }
  .table-wrap tbody { display: block; }
  .table-wrap tr {
    display: block;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 10px;
  }
  .table-wrap td {
    display: block;
    border: 0 !important;
    padding: 2px 0;
    white-space: normal;
  }
  .table-wrap td:first-child { font-weight: 600; font-size: 16px; color: var(--text); }
  .table-wrap td:not(:first-child) { font-size: 14.5px; color: var(--muted); }
  .table-wrap td.price, .table-wrap td .price { font-size: 17px; color: var(--accent); font-weight: 600; }
  .table-wrap tr.total { border-color: rgba(215,162,74,.5); }
  .table-wrap tr.total td { font-size: 16px; }
}

/* ---- короткие блоки-плитки ---- */
.facts { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-top:28px; }
.fact { border:1px solid var(--line); background:var(--bg-2); border-radius:14px; padding:16px 18px; }
.fact b { display:block; font-family:var(--font-head); font-size:24px; color:var(--accent); line-height:1.1; }
.fact span { display:block; margin-top:6px; font-size:13.5px; color:var(--muted); }
@media (max-width: 900px){ .facts{grid-template-columns:repeat(2,1fr);} }

.grid-4 { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
@media (max-width: 1000px){ .grid-4{grid-template-columns:repeat(2,1fr);} }
@media (max-width: 560px){ .grid-4{grid-template-columns:1fr;} }

.mini { background:var(--bg-2); border:1px solid var(--line); border-radius:14px; padding:18px; }
.mini h3 { font-size:16.5px; margin-bottom:6px; }
.mini p { color:#b9bec6; font-size:14.5px; line-height:1.5; }

.chips { display:flex; flex-wrap:wrap; gap:8px; }
.chips span, .chips a { border:1px solid var(--line); border-radius:999px; padding:7px 14px; font-size:14.5px; color:#d6d3cc; background:var(--bg-2); }

/* ---- бриф ---- */
.brief { background:var(--bg-2); border:1px solid var(--line); border-radius:20px; padding:26px; }
.brief-progress { height:4px; background:#232a34; border-radius:99px; overflow:hidden; margin-bottom:22px; }
.brief-progress i { display:block; height:100%; width:20%; background:var(--accent); transition:width .25s ease; }
.brief-step { display:none; }
.brief-step.active { display:block; }
.brief-step h3 { font-size:20px; margin-bottom:4px; }
.brief-step .hint { color:var(--muted); font-size:14.5px; margin-bottom:16px; }
.brief-opts { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; }
.brief-opt { position:relative; }
.brief-opt input { position:absolute; opacity:0; pointer-events:none; }
.brief-opt span {
  display:block; border:1px solid var(--line); border-radius:12px; padding:14px 16px;
  cursor:pointer; font-size:15px; color:#d6d3cc; transition:border-color .15s, background .15s;
}
.brief-opt input:checked + span { border-color:var(--accent); background:rgba(215,162,74,.1); color:var(--text); }
.brief-opt span:hover { border-color:#3a434f; }
.brief-nav { display:flex; gap:10px; justify-content:space-between; margin-top:22px; }
.brief-nav .btn { min-width:130px; }
.brief-field { margin-bottom:14px; }
.brief-field label { display:block; font-size:14px; color:var(--muted); margin-bottom:6px; }
.brief-field input, .brief-field textarea {
  width:100%; background:var(--bg-3); border:1px solid var(--line); border-radius:12px;
  padding:12px 14px; color:var(--text); font:inherit; font-size:15px;
}
.brief-field input:focus, .brief-field textarea:focus { outline:none; border-color:var(--accent); }
.brief-summary { background:var(--bg-3); border:1px solid var(--line); border-radius:12px; padding:14px 16px; font-size:14.5px; color:#c9c5bd; margin-bottom:16px; }
.brief-summary b { color:var(--text); font-weight:600; }
.brief-done { text-align:center; padding:26px 10px; }
.brief-done .big { font-size:22px; margin-bottom:8px; }
.brief-done p { color:var(--muted); }
@media (max-width: 620px){
  .brief { padding:18px; }
  .brief-opts { grid-template-columns:1fr; }
  .brief-nav { flex-direction:column-reverse; }
  .brief-nav .btn { width:100%; }
}
