:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --surface-2: #eef3f8;
  --text: #102033;
  --muted: #5d6b7c;
  --brand: #0b1f3a;
  --brand-2: #123b6d;
  --accent: #d7a64a;
  --accent-2: #f4d48d;
  --line: rgba(16, 32, 51, .12);
  --shadow: 0 22px 70px rgba(11, 31, 58, .12);
  --radius: 28px;
  --radius-sm: 18px;
  --container: 1180px;
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand-2); }
button, input, textarea { font: inherit; }
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.section { padding: 96px 0; }
.section--soft { background: linear-gradient(180deg, #eef3f8 0%, #f7f8fb 100%); }
.section--dark {
  background: radial-gradient(circle at top left, rgba(215,166,74,.28), transparent 34%), var(--brand);
  color: #fff;
}
.skip-link {
  position: absolute; left: -999px; top: 12px; z-index: 1000;
  background: #fff; padding: 10px 14px; border-radius: 10px;
}
.skip-link:focus { left: 12px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 248, 251, .82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(16,32,51,.08);
}
.header__inner { height: 78px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -.02em; color: var(--brand); }
.brand span { font-size: 1.06rem; }
.nav { display: flex; gap: 22px; align-items: center; margin-left: auto; color: var(--muted); font-size: .95rem; }
.nav a { transition: color .2s ease; }
.nav a:hover { color: var(--brand); }
.header-phone { font-weight: 700; color: var(--brand); white-space: nowrap; }
.burger { display: none; border: 0; background: transparent; width: 42px; height: 42px; padding: 8px; margin-left: auto; }
.burger span { display: block; height: 2px; background: var(--brand); margin: 6px 0; border-radius: 3px; }

.hero { padding: 82px 0 76px; overflow: hidden; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: -30% -20% auto auto; width: 680px; height: 680px;
  background: radial-gradient(circle, rgba(215,166,74,.28), transparent 60%); pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; }
.eyebrow { margin: 0 0 12px; color: var(--accent); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 800; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.045em; margin: 0; color: inherit; }
h1 { font-size: clamp(2.6rem, 6vw, 5.7rem); max-width: 820px; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: 1.35rem; }
.hero__lead { font-size: clamp(1.1rem, 2vw, 1.32rem); color: var(--muted); max-width: 720px; margin: 28px 0 0; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.btn {
  display: inline-flex; justify-content: center; align-items: center; gap: 8px;
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 800; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #1f1705; box-shadow: 0 18px 32px rgba(215,166,74,.24); }
.btn--primary:hover { color: #1f1705; }
.btn--ghost { border-color: var(--line); background: rgba(255,255,255,.72); color: var(--brand); }
.btn--light { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #fff; }
.btn--small { min-height: 42px; padding-inline: 18px; }
.hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 42px 0 0; }
.hero__stats div { background: rgba(255,255,255,.78); border: 1px solid var(--line); border-radius: 20px; padding: 18px; box-shadow: 0 12px 30px rgba(11,31,58,.06); }
.hero__stats dt { font-size: 1.25rem; font-weight: 900; color: var(--brand); }
.hero__stats dd { margin: 4px 0 0; color: var(--muted); font-size: .92rem; }
.hero__visual { border-radius: var(--radius); overflow: hidden; filter: drop-shadow(var(--shadow)); }

.trustbar { padding: 18px 0; background: var(--brand); color: #fff; }
.trustbar__inner { display: flex; gap: 10px; justify-content: space-between; flex-wrap: wrap; }
.trustbar span { opacity: .86; font-weight: 800; font-size: .95rem; }

.section-head { max-width: 780px; margin-bottom: 42px; }
.section-head p:last-child { color: var(--muted); font-size: 1.08rem; margin: 16px 0 0; }
.section--dark .section-head p:last-child { color: rgba(255,255,255,.72); }
.cards, .services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 28px; box-shadow: 0 16px 44px rgba(11,31,58,.07); min-height: 100%;
}
.card__icon { margin-bottom: 22px; }
.card p { color: var(--muted); }
ul { padding-left: 1.1em; margin: 16px 0 0; color: var(--muted); }
li + li { margin-top: 8px; }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split__content > p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.steps li { display: grid; grid-template-columns: 58px 1fr; column-gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px; }
.steps span { grid-row: 1 / 3; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 900; }
.steps p { margin: 4px 0 0; color: var(--muted); }

.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case { padding: 30px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 44px rgba(11,31,58,.07); }
.case__tag { display: inline-flex; padding: 7px 12px; border-radius: 999px; background: var(--surface-2); color: var(--brand); font-weight: 800; font-size: .84rem; margin-bottom: 18px; }
.case p { color: var(--muted); }
.case strong { display: block; margin-top: 18px; }
.case span { color: var(--muted); }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.price-card { position: relative; padding: 30px; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.07); }
.price-card--accent { background: #fff; color: var(--text); transform: translateY(-12px); }
.price-card__price { font-size: 2rem; line-height: 1; font-weight: 900; margin: 24px 0 14px; color: var(--accent-2); }
.price-card--accent .price-card__price { color: var(--brand); }
.price-card p:not(.price-card__price), .price-card ul { color: rgba(255,255,255,.74); }
.price-card--accent p:not(.price-card__price), .price-card--accent ul { color: var(--muted); }
.badge { position: absolute; top: 18px; right: 18px; border-radius: 999px; padding: 6px 10px; background: var(--accent); color: #1f1705; font-weight: 900; font-size: .78rem; }

.request-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 44px; align-items: start; }
.request-copy p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.notice { margin-top: 24px; padding: 18px; border-radius: 18px; border: 1px solid rgba(215,166,74,.38); background: rgba(215,166,74,.12); }
.contact-panel { display: grid; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.contact-panel h3 { margin: 0; font-size: 1.35rem; }
.contact-panel p { margin: 0; color: var(--muted); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-hints { margin: 4px 0 0; padding-left: 20px; color: var(--muted); }
.contact-hints li + li { margin-top: 8px; }

.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 44px; }
.accordion { display: grid; gap: 14px; }
details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; }
summary { cursor: pointer; font-weight: 900; font-size: 1.05rem; }
details p { color: var(--muted); margin-bottom: 0; }

.contacts__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 30px; align-items: stretch; }
.contacts__card, .contacts-visual { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: 0 16px 44px rgba(11,31,58,.07); }
.contact-list { list-style: none; padding: 0; }
.small { color: var(--muted); font-size: .9rem; }

.legal-page h1 { font-size: clamp(2.2rem, 5vw, 4.5rem); }
.legal-layout { max-width: 920px; }
.legal-lead { margin: 22px 0 0; color: var(--muted); font-size: 1.12rem; max-width: 760px; }
.legal-card {
  margin-top: 36px; padding: 34px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 44px rgba(11,31,58,.07);
}
.legal-card h2 { font-size: 1.35rem; margin-top: 30px; letter-spacing: -.02em; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card p { color: var(--muted); }
.legal-card a { color: var(--brand-2); text-decoration: underline; text-underline-offset: 3px; }
.legal-updated { margin-top: 30px; font-weight: 800; color: var(--brand) !important; }

.cookie-banner {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 300;
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
  width: min(calc(100% - 40px), 1040px); margin-inline: auto; padding: 18px 20px;
  background: rgba(255,255,255,.96); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 18px 50px rgba(11,31,58,.18); backdrop-filter: blur(16px);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__text { max-width: 800px; }
.cookie-banner strong { display: block; margin-bottom: 4px; color: var(--brand); font-size: 1rem; }
.cookie-banner p { margin: 0; color: var(--muted); font-size: .92rem; }
.cookie-banner a { color: var(--brand-2); text-decoration: underline; text-underline-offset: 3px; }

.site-footer { background: #061426; color: #fff; padding: 48px 0 24px; }
.footer__grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 30px; }
.brand--footer { color: #fff; }
.site-footer p, .site-footer a { color: rgba(255,255,255,.72); }
.site-footer a { display: block; margin: 8px 0; }
.footer__title { font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 12px; }
.footer__bottom { display: flex; gap: 16px; justify-content: space-between; padding-top: 26px; margin-top: 28px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.58); font-size: .88rem; }


.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }


@media (max-width: 980px) {
  .nav, .header-phone { display: none; }
  .burger { display: block; }
  .nav.is-open { display: grid; position: absolute; left: 20px; right: 20px; top: 78px; margin: 0; padding: 18px; background: #fff; border-radius: 18px; box-shadow: var(--shadow); }
  .hero__grid, .split, .request-grid, .faq-grid, .contacts__grid { grid-template-columns: 1fr; }
  .cards, .services-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: 1fr; }
  .price-card--accent { transform: none; }
}
@media (max-width: 680px) {
  .container { width: min(100% - 28px, var(--container)); }
  .section { padding: 70px 0; }
  .hero { padding-top: 56px; }
  .hero__stats, .cards, .services-grid, .pricing-grid, .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
  .cookie-banner { flex-direction: column; align-items: stretch; left: 14px; right: 14px; bottom: 14px; width: auto; }
  .legal-card { padding: 24px; }
}
