/* ============ GetCover Pro — design system ============ */
@font-face {
  font-family: 'Literata';
  src: url('/assets/fonts/literata-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 200 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
  font-family: 'Literata';
  src: url('/assets/fonts/literata-cyrillic-wght-normal.woff2') format('woff2-variations');
  font-weight: 200 900; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  src: url('/assets/fonts/manrope-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
  font-family: 'Manrope';
  src: url('/assets/fonts/manrope-cyrillic-wght-normal.woff2') format('woff2-variations');
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  --paper: #FAF7F1;
  --paper-2: #F2EDE3;
  --white: #FFFFFF;
  --ink: #113038;
  --ink-soft: #1C4650;
  --body: #43616B;
  --line: rgba(17, 48, 56, .12);
  --line-soft: rgba(17, 48, 56, .07);
  --gold: #B8923F;
  --gold-deep: #9A7830;
  --gold-tint: #F4EBD7;
  --cream-text: #EDF3EF;
  --cream-dim: rgba(237, 243, 239, .72);
  --serif: 'Literata', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --shadow-1: 0 2px 10px rgba(17, 48, 56, .05), 0 16px 44px rgba(17, 48, 56, .08);
  --shadow-2: 0 4px 18px rgba(17, 48, 56, .08), 0 30px 70px rgba(17, 48, 56, .14);
  --r: 20px;
  --r-lg: 28px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--sans); font-size: 16.5px; line-height: 1.68; color: var(--body);
  background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden; /* фолбэк для старых браузеров */
  overflow-x: clip;   /* не создаёт scroll-контейнер — position:sticky продолжает работать */
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); font-weight: 560; line-height: 1.14; letter-spacing: -.012em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); }
/* Русские слова длиннее — заголовки чуть компактнее, чтобы строки читались фразами, а не по слову */
html[lang="ru"] h1 { font-size: clamp(1.9rem, 4.2vw, 3.05rem); }
html[lang="ru"] h2 { font-size: clamp(1.55rem, 2.9vw, 2.2rem); }
h2 { font-size: clamp(1.7rem, 3.3vw, 2.5rem); }
h3 { font-size: 1.16rem; line-height: 1.32; }
p { text-wrap: pretty; }
strong { color: var(--ink); font-weight: 650; }
::selection { background: var(--gold-tint); color: var(--ink); }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 840px; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 0 0 12px 0; z-index: 200; }
.skip-link:focus { left: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans); font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-lg { padding: 17px 32px; font-size: 1.02rem; }
.btn-sm { padding: 10px 20px; font-size: .88rem; }
.btn-primary {
  background: linear-gradient(180deg, #1E4A55 0%, var(--ink) 55%, #0C242B 100%); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 1px 2px rgba(12,36,43,.4), 0 10px 26px rgba(17, 48, 56, .28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 2px 4px rgba(12,36,43,.4), 0 16px 38px rgba(17, 48, 56, .36); }
.btn-primary:active { transform: translateY(0); box-shadow: inset 0 2px 6px rgba(0,0,0,.3); }
.btn-gold {
  background: linear-gradient(180deg, #D2A857 0%, var(--gold) 55%, #A5822F 100%); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 1px 2px rgba(122,94,30,.45), 0 10px 26px rgba(184, 146, 63, .4);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 2px 4px rgba(122,94,30,.45), 0 16px 38px rgba(184, 146, 63, .5); }
.btn-gold:active { transform: translateY(0); box-shadow: inset 0 2px 6px rgba(90,66,15,.4); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: rgba(255, 255, 255, .75); box-shadow: 0 2px 8px rgba(17,48,56,.06), inset 0 1px 0 #fff; }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); background: #fff; box-shadow: 0 8px 22px rgba(17,48,56,.12), inset 0 1px 0 #fff; }
.btn-ghost-light { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .1); transform: translateY(-2px); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--gold-deep); border-bottom: 1.5px solid transparent; transition: gap .18s ease; }
.text-link:hover { gap: 12px; }
.text-link svg { width: 18px; height: 18px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 247, 241, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { border-bottom-color: var(--line-soft); box-shadow: 0 4px 24px rgba(17, 48, 56, .06); }
.header-in { display: flex; align-items: center; gap: 28px; height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo-mark { width: 34px; height: 37px; }
.logo-word { font-family: var(--serif); font-size: 1.42rem; font-weight: 640; color: var(--ink); letter-spacing: -.015em; }
.logo-pro { color: var(--gold); font-style: italic; margin-left: 2px; font-weight: 560; }
.logo-light .logo-word { color: #fff; }
.logo-light .logo-mark path:first-child { fill: rgba(255,255,255,.14); }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a { padding: 9px 13px; border-radius: 999px; font-weight: 650; font-size: .93rem; color: var(--ink-soft); transition: background .15s ease, color .15s ease; white-space: nowrap; }
.main-nav a:hover { background: rgba(17, 48, 56, .06); color: var(--ink); }
.main-nav a.active { background: var(--ink); color: #fff; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: .86rem; color: var(--ink-soft); padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; transition: border-color .15s ease, background .15s ease; }
.lang-switch:hover { border-color: var(--ink); background: #fff; }
.lang-switch svg { width: 16px; height: 16px; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 10px; cursor: pointer; }
.burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; }

@media (max-width: 1020px) {
  .main-nav, .header-cta, .site-header .header-actions .lang-switch { display: none; }
  .burger { display: flex; }
  .header-actions { margin-left: auto; }
  .mobile-menu {
    display: flex; flex-direction: column; gap: 10px; padding: 18px 24px 28px;
    background: var(--paper); border-bottom: 1px solid var(--line-soft);
    position: absolute; left: 0; right: 0; top: 76px;
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: transform .22s ease, opacity .22s ease;
    box-shadow: 0 30px 60px rgba(17, 48, 56, .12);
  }
  .mobile-menu.open { transform: none; opacity: 1; pointer-events: auto; }
  .mobile-menu nav { display: flex; flex-direction: column; }
  .mobile-menu nav a { padding: 13px 6px; font-size: 1.08rem; font-weight: 650; color: var(--ink); border-bottom: 1px solid var(--line-soft); }
  .mobile-menu nav a.active { color: var(--gold-deep); }
  .mobile-menu .btn { margin-top: 8px; }
  .mobile-menu .lang-switch { align-self: flex-start; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding: 72px 0 84px; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; clip-path: inset(-200vh 0 -200vh 0); }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; }
.blob-a { width: 520px; height: 520px; right: -140px; top: -160px; background: radial-gradient(circle, #E7D9B8 0%, transparent 70%); }
.blob-b { width: 420px; height: 420px; left: -160px; bottom: -200px; background: radial-gradient(circle, #CFE0DA 0%, transparent 70%); }
.hero-in { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero-copy { min-width: 0; }
.eyebrow {
  font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 18px; display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ''; width: 26px; height: 1.5px; background: var(--gold); flex: none; }
.eyebrow-light { color: #D9BE7E; }
.eyebrow-light::before { background: #D9BE7E; }
.hero h1 { margin-bottom: 22px; }
.hero-lead { font-size: 1.14rem; line-height: 1.66; max-width: 56ch; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-badges li { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 650; color: var(--ink-soft); }
.hero-badges svg { width: 18px; height: 18px; color: var(--gold); }

.hero-photo { position: relative; justify-self: center; }
.photo-arch {
  width: min(430px, 82vw); border-radius: 300px 300px 26px 26px; overflow: hidden;
  box-shadow: var(--shadow-2); position: relative; z-index: 1;
}
.photo-arch::after { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 1px solid rgba(255,255,255,.4); pointer-events: none; }
.hero-photo::before {
  content: ''; position: absolute; inset: -14px -14px auto auto; width: 78%; height: 88%;
  border: 1.5px solid var(--gold); border-radius: 300px 300px 26px 26px; opacity: .55; z-index: 0;
  transform: translate(14px, -14px);
}
.float-chip {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.7); border-radius: 16px; padding: 12px 16px;
  box-shadow: var(--shadow-1); font-size: .84rem; font-weight: 700; color: var(--ink);
  animation: floaty 7s ease-in-out infinite;
}
.float-chip svg { width: 20px; height: 20px; color: var(--gold); flex: none; }
/* Чипы всегда в нижней четверти фото (зона пиджака) — лицо не перекрывают ни на одном разрешении */
.chip-license { left: -26px; bottom: 36px; }
.chip-free { right: -22px; top: auto; bottom: 108px; animation-delay: -3.5s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@media (prefers-reduced-motion: reduce) { .float-chip { animation: none; } }

.hero-service { padding: 64px 0 60px; }
.hero-service .hero-lead { max-width: 62ch; }
.breadcrumbs { display: flex; gap: 10px; font-size: .85rem; font-weight: 650; color: var(--body); margin-bottom: 22px; }
.breadcrumbs a { color: var(--gold-deep); }
.breadcrumbs a:hover { text-decoration: underline; }

/* ---------- sections ---------- */
section { position: relative; }
.sec-head { max-width: 720px; margin-bottom: 44px; }
.sec-head h2 { margin-bottom: 14px; }
.sec-lead { font-size: 1.06rem; }

.trust-sec { padding: 26px 0 64px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust-item { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r); padding: 26px 24px; box-shadow: 0 1px 4px rgba(17,48,56,.03); }
.trust-item h3 { font-family: var(--sans); font-size: 1rem; font-weight: 800; margin-bottom: 8px; }
.trust-item p { font-size: .9rem; line-height: 1.6; }

.products-sec { padding: 72px 0; background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  padding: 30px 28px; display: flex; flex-direction: column; gap: 12px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); border-color: rgba(184, 146, 63, .35); }
.card-tag { align-self: flex-start; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-deep); background: var(--gold-tint); padding: 5px 12px; border-radius: 999px; }
.product-card h3 { font-size: 1.5rem; }
.product-card p { font-size: .95rem; flex: 1; }
.card-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 750; font-size: .92rem; color: var(--ink); margin-top: 4px; }
.card-more svg { width: 18px; height: 18px; transition: transform .2s ease; color: var(--gold); }
.card:hover .card-more svg { transform: translateX(5px); }

.how-sec { padding: 84px 0; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 28px; counter-reset: step; }
.step { position: relative; padding-top: 14px; }
.step-num { font-family: var(--serif); font-size: 3.4rem; font-weight: 300; font-style: italic; color: transparent; -webkit-text-stroke: 1.2px var(--gold); display: block; line-height: 1; margin-bottom: 14px; }
.step h3 { margin-bottom: 10px; }
.step p { font-size: .93rem; }

.why-sec { padding: 92px 0; background: var(--ink); color: var(--cream-dim); border-radius: 48px; margin: 0 14px; }
.why-sec h2 { color: var(--cream-text); margin-bottom: 20px; }
.why-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.why-copy p { margin-bottom: 16px; line-height: 1.72; }
.why-copy strong { color: var(--cream-text); }
.example-card {
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--r-lg); padding: 34px 32px; backdrop-filter: blur(6px);
}
.example-card h3 { color: var(--cream-text); font-size: 1.35rem; margin-bottom: 22px; }
.example-card > p { font-size: .92rem; line-height: 1.65; }
.example-vs { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.ex-plan { flex: 1; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 18px; text-align: center; }
.ex-plan.ex-good { border-color: var(--gold); background: rgba(184, 146, 63, .14); }
.ex-price { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; color: var(--cream-text); display: block; }
.ex-price small { font-size: .85rem; color: var(--cream-dim); font-family: var(--sans); }
.ex-ded { font-size: .78rem; font-weight: 700; letter-spacing: .02em; }
.ex-good .ex-ded { color: #E3C98A; }
.ex-vs { font-family: var(--serif); font-style: italic; color: var(--cream-dim); }

.carriers-sec { padding: 84px 0 64px; }
.carrier-group { display: flex; align-items: flex-start; gap: 22px; padding: 20px 0; border-top: 1px solid var(--line-soft); }
.carrier-group:last-child { border-bottom: 1px solid var(--line-soft); }
.carrier-label { flex: none; width: 170px; font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); padding-top: 8px; }
.carrier-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.carrier-item {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .9rem; font-weight: 750; color: var(--ink-soft); letter-spacing: -.005em;
  background: var(--white); border: 1px solid var(--line-soft); padding: 7px 16px 7px 8px; border-radius: 14px;
  box-shadow: 0 1px 3px rgba(17,48,56,.05), 0 6px 16px rgba(17,48,56,.05);
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.carrier-item:hover { border-color: rgba(184,146,63,.45); transform: translateY(-3px); box-shadow: 0 4px 10px rgba(17,48,56,.08), 0 16px 30px rgba(17,48,56,.1); }
.carrier-mono {
  width: 32px; height: 32px; border-radius: 10px; color: #fff; display: grid; place-items: center;
  font-size: .68rem; font-weight: 800; letter-spacing: .01em; flex: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), inset 0 -6px 12px rgba(0,0,0,.15);
}
.carrier-item.has-logo { padding: 10px 20px; min-height: 54px; }
.carrier-item.has-logo img { width: auto; max-width: 170px; object-fit: contain; }

.about-teaser { padding: 40px 0 88px; }
.about-grid { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: center; }
.about-photo { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-2); transform: rotate(-2deg); }
.about-photo img { transform: rotate(2deg) scale(1.06); }
.about-copy h2 { margin-bottom: 16px; }
.about-copy p { margin-bottom: 20px; }

/* ---------- faq ---------- */
.faq-sec { padding: 72px 0; background: var(--paper-2); border-radius: 48px; margin: 0 14px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 4px; font-family: var(--serif); font-size: 1.13rem; font-weight: 570; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq-ico { flex: none; width: 34px; height: 34px; border: 1.5px solid var(--line); border-radius: 50%; display: grid; place-items: center; transition: transform .25s ease, background .2s ease, border-color .2s ease; }
.faq-ico svg { width: 14px; height: 14px; }
.faq details[open] .faq-ico { transform: rotate(45deg); background: var(--ink); border-color: var(--ink); color: #fff; }
.faq-a { padding: 0 44px 24px 4px; }
.faq-a p { font-size: .98rem; }

/* ---------- cta band ---------- */
.cta-band-sec { padding: 80px 0 20px; }
.cta-band {
  position: relative; overflow: hidden; background: var(--ink); border-radius: var(--r-lg);
  padding: 64px 56px; text-align: center; color: var(--cream-dim);
}
.cta-band h2 { color: var(--cream-text); margin-bottom: 14px; }
.cta-band p { max-width: 62ch; margin: 0 auto 30px; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; position: relative; }
.cta-blob { position: absolute; width: 560px; height: 560px; border-radius: 50%; right: -180px; top: -260px; background: radial-gradient(circle, rgba(184, 146, 63, .35) 0%, transparent 68%); filter: blur(30px); }

/* ---------- lead form ---------- */
.lead-sec { padding: 84px 0 96px; }
.lead-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.lead-info h2 { margin-bottom: 14px; }
.lead-contacts { display: flex; flex-direction: column; gap: 14px; margin-top: 30px; }
.lead-contacts > a { display: inline-flex; align-items: center; gap: 12px; font-weight: 750; font-size: 1.05rem; color: var(--ink); }
.lead-contacts > a:hover span { text-decoration: underline; }
.lead-contacts svg { width: 20px; height: 20px; color: var(--gold); flex: none; }
.footer-msg { display: flex; gap: 10px; margin-top: 6px; }
.chip-wa, .chip-tg { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 750; padding: 10px 18px; border-radius: 999px; color: #fff !important; transition: transform .18s ease, box-shadow .18s ease; }
.chip-wa { background: linear-gradient(180deg, #2ED573 0%, #1FAF5A 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 6px 16px rgba(31, 175, 90, .35); }
.chip-tg { background: linear-gradient(180deg, #3FB5F1 0%, #1D93D2 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 6px 16px rgba(29, 147, 210, .35); }
.chip-wa:hover, .chip-tg:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 10px 24px rgba(0,0,0,.25); }
.chip-wa svg, .chip-tg svg { width: 17px; height: 17px; }

.lead-card { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 40px; box-shadow: var(--shadow-1); }
.lead-form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; flex: 1; }
.field-row { display: flex; gap: 16px; }
.field label { font-size: .84rem; font-weight: 750; color: var(--ink); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: .98rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 13px; padding: 13px 16px;
  transition: border-color .15s ease, background .15s ease; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: #fff; }
.field textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }
.form-privacy { font-size: .78rem; color: var(--body); opacity: .8; }
.form-success { text-align: center; padding: 30px 10px; }
.success-ico { width: 64px; height: 64px; margin: 0 auto 18px; color: var(--gold); }
.success-ico svg { width: 100%; height: 100%; }
.form-success h3 { font-size: 1.6rem; margin-bottom: 10px; }
.form-success p { margin-bottom: 20px; }

/* ---------- service pages ---------- */
.included-sec { padding: 30px 0 60px; }
.included-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 26px; }
.included-col, .who-col { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 38px 36px; }
.who-col { background: var(--ink); border: none; }
.included-col h2, .who-col h2 { font-size: 1.4rem; margin-bottom: 22px; }
.who-col h2 { color: var(--cream-text); }
.check-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; font-weight: 600; color: var(--ink-soft); }
.check-list svg { width: 19px; height: 19px; color: var(--gold); flex: none; margin-top: 2px; }
.who-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.who-list li { position: relative; padding-left: 24px; color: var(--cream-dim); font-size: .95rem; }
.who-list li::before { content: ''; position: absolute; left: 0; top: .58em; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }

.content-sec { padding: 48px 0 30px; }
.content-block { margin-bottom: 48px; }
.content-block h2 { margin-bottom: 18px; }
.content-block p { margin-bottom: 15px; font-size: 1.02rem; line-height: 1.74; }
.bio-p { font-size: 1.06rem !important; }

/* — оформленные описания на страницах услуг — */
.cb-split { display: grid; grid-template-columns: 300px 1fr; gap: 24px 56px; margin-bottom: 72px; align-items: start; }
.cb-head { position: sticky; top: 96px; }
.cb-num {
  display: block; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 3.6rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.2px var(--gold); margin-bottom: 14px;
}
.cb-head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.cb-head::after { content: ''; display: block; width: 44px; height: 2px; background: var(--gold); margin-top: 18px; border-radius: 2px; }
.cb-body > p { font-size: 1.03rem; line-height: 1.76; margin-bottom: 16px; }
.term-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 6px 0 20px; }
.term-card {
  position: relative; background: var(--white); border: 1px solid var(--line-soft); border-radius: 18px;
  padding: 24px 24px 22px; overflow: hidden;
  box-shadow: 0 1px 3px rgba(17,48,56,.04), 0 10px 26px rgba(17,48,56,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.term-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--gold), rgba(184,146,63,.25)); }
.term-card:hover { transform: translateY(-3px); box-shadow: 0 4px 10px rgba(17,48,56,.07), 0 22px 44px rgba(17,48,56,.12); }
.term-card h3 { font-size: 1.06rem; margin-bottom: 8px; }
.term-card p { font-size: .92rem; line-height: 1.64; margin: 0; }

.other-sec { padding: 20px 0 90px; }
.other-title { font-size: 1.4rem; margin-bottom: 22px; }
.other-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.other-card { flex-direction: row; align-items: center; justify-content: space-between; padding: 24px 26px; }
.other-card h3 { font-size: 1.15rem; }

/* ---------- about page ---------- */
.bio-sec { padding: 24px 0 20px; }
.license-sec { padding: 30px 0 40px; }
.license-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 26px; align-items: start; }
.license-card { background: var(--gold-tint); border: 1px solid rgba(184, 146, 63, .3); border-radius: var(--r-lg); padding: 38px 36px; }
.license-card h2 { font-size: 1.4rem; margin-bottom: 20px; }
.license-card .check-list { grid-template-columns: 1fr; }
.values-col { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 38px 36px; }
.values-col h2 { font-size: 1.4rem; margin-bottom: 22px; }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.value-item h3 { font-family: var(--sans); font-size: .98rem; font-weight: 800; margin-bottom: 6px; }
.value-item p { font-size: .9rem; }

/* ---------- contact page ---------- */
.contact-sec { padding: 30px 0 40px; }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 26px; align-items: start; }
.contact-card, .book-card { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 38px 36px; }
.contact-card h2, .book-card h2 { font-size: 1.4rem; margin-bottom: 20px; }
.contact-ways { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 28px; }
.contact-ways a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line-soft); border-radius: 16px; transition: border-color .18s ease, transform .18s ease; }
.contact-ways a:hover { border-color: var(--gold); transform: translateY(-2px); }
.contact-ways svg { width: 24px; height: 24px; color: var(--gold); flex: none; }
.contact-ways span { display: flex; flex-direction: column; }
.contact-ways strong { font-size: .95rem; color: var(--ink); }
.contact-ways small { font-size: .78rem; color: var(--body); }
.contact-sub { display: flex; align-items: center; gap: 9px; font-family: var(--sans); font-size: .95rem; font-weight: 800; margin: 22px 0 6px; }
.contact-sub svg { width: 18px; height: 18px; color: var(--gold); }
.book-card { background: var(--ink); border: none; color: var(--cream-dim); }
.book-card h2 { color: var(--cream-text); }
.book-card p { margin-bottom: 26px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--cream-dim); padding: 72px 0 36px; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .8fr 1.1fr; gap: 44px; padding-bottom: 44px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-brand p { font-size: .92rem; margin-top: 16px; max-width: 34ch; }
.footer-area { opacity: .75; font-size: .85rem !important; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.socials a { font-size: .8rem; font-weight: 700; color: var(--cream-dim); border: 1px solid rgba(255,255,255,.18); padding: 6px 14px; border-radius: 999px; transition: border-color .18s ease, color .18s ease; }
.socials a:hover { border-color: var(--gold); color: #fff; }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col h3 { font-family: var(--sans); font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #D9BE7E; margin-bottom: 6px; }
.footer-col a { color: var(--cream-dim); font-size: .93rem; transition: color .15s ease; display: inline-flex; align-items: flex-start; gap: 9px; }
.footer-col a:hover { color: #fff; }
.footer-contact svg { width: 17px; height: 17px; flex: none; margin-top: 4px; color: var(--gold); }
.footer-legal { padding-top: 28px; }
.footer-legal p { font-size: .76rem; line-height: 1.6; opacity: .55; margin-bottom: 9px; max-width: 110ch; }

/* ---------- декоративные мокапы-карточки (размытые, плавающие) ---------- */
.deco-card {
  position: absolute; width: 250px; border-radius: 18px; padding: 18px 20px; pointer-events: none;
  animation: deco-float 11s ease-in-out infinite;
}
.deco-light {
  background: linear-gradient(160deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.66) 100%);
  border: 1px solid rgba(255,255,255,.85);
  box-shadow: 0 8px 20px rgba(17,48,56,.08), 0 34px 70px rgba(17,48,56,.14), inset 0 1px 0 #fff;
  color: var(--ink);
}
.deco-dark {
  background: linear-gradient(160deg, #1C4650 0%, #0F2B33 100%);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 10px 24px rgba(17,48,56,.2), 0 40px 80px rgba(17,48,56,.3), inset 0 1px 0 rgba(255,255,255,.14);
  color: var(--cream-text);
}
.dc-top { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.dc-top svg { width: 18px; height: 20px; color: var(--ink); }
.deco-dark .dc-top svg { color: rgba(255,255,255,.25); }
.dc-top span { font-family: var(--serif); font-weight: 640; font-size: .88rem; letter-spacing: -.01em; }
.dc-top span i { color: var(--gold); font-style: italic; }
.dc-plan { margin-left: auto; font-style: normal; font-size: .62rem; font-weight: 800; letter-spacing: .08em; background: var(--gold-tint); color: var(--gold-deep); padding: 3px 9px; border-radius: 99px; }
.dc-lines i { display: block; height: 7px; border-radius: 4px; background: currentColor; opacity: .12; margin-bottom: 7px; }
.dc-lines i.short { width: 55%; } .dc-lines i.mid { width: 78%; }
.dc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.dc-chip { width: 34px; height: 24px; border-radius: 6px; background: linear-gradient(140deg, #E3CD96, var(--gold)); box-shadow: inset 0 1px 0 rgba(255,255,255,.5); }
.dc-price { font-family: var(--serif); font-size: 1.35rem; font-weight: 640; color: var(--ink); }
.dc-price i { font-size: .72rem; font-style: normal; color: var(--body); font-family: var(--sans); }
.dc-id { font-family: ui-monospace, monospace; letter-spacing: .18em; font-size: .95rem; color: rgba(255,255,255,.75); margin-bottom: 12px; }
@keyframes deco-float { 0%, 100% { transform: translateY(0) rotate(var(--tilt, 0deg)); } 50% { transform: translateY(-14px) rotate(var(--tilt, 0deg)); } }
@media (prefers-reduced-motion: reduce) { .deco-card { animation: none; } }
/* Сквозной фоновый слой: карточки живут за контентом всей страницы,
   уходят под панели секций и не обрезаются на границах блоков. */
main { position: relative; }
main > section { position: relative; z-index: 1; }
.page-deco { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.pd-1 { --tilt: -9deg; right: 10%; top: 90px; filter: blur(2px); opacity: .6; animation-delay: -2s; }
.pd-2 { --tilt: 7deg; left: -64px; top: 11%; filter: blur(3.5px); opacity: .5; width: 230px; }
.pd-3 { --tilt: 8deg; right: -46px; top: 34%; filter: blur(2.5px); opacity: .5; animation-delay: -5s; }
.pd-4 { --tilt: -7deg; left: -50px; top: 58%; filter: blur(4px); opacity: .4; width: 220px; animation-delay: -8s; }
.pd-5 { --tilt: -8deg; right: 6%; top: 81%; filter: blur(3px); opacity: .45; animation-delay: -3s; }
.dc-5 { --tilt: -8deg; right: -50px; bottom: -60px; filter: blur(2.5px); opacity: .28; }
.hero .wrap { position: relative; }
.page-home .pd-1 { right: 44%; top: 120px; } /* на главной справа фото — карточку к центру */

/* ---------- дополнительный объём ---------- */
.trust-item { box-shadow: 0 1px 3px rgba(17,48,56,.04), 0 12px 28px rgba(17,48,56,.07); }
.card { box-shadow: 0 1px 3px rgba(17,48,56,.04), 0 12px 30px rgba(17,48,56,.07); }
.included-col { box-shadow: var(--shadow-1); }
.who-col { box-shadow: 0 20px 50px rgba(17,48,56,.25); }
.license-card { box-shadow: 0 14px 36px rgba(184,146,63,.18); }
.values-col, .contact-card { box-shadow: var(--shadow-1); }
.book-card { box-shadow: 0 24px 56px rgba(17,48,56,.3); }
.cta-band { box-shadow: 0 30px 70px rgba(17,48,56,.35); }
.why-sec { box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 34px 80px rgba(17,48,56,.22); }
.lead-card { box-shadow: 0 2px 6px rgba(17,48,56,.05), 0 30px 70px rgba(17,48,56,.13); }
.photo-arch { box-shadow: 0 10px 24px rgba(17,48,56,.14), 0 46px 90px rgba(17,48,56,.22); }
.step-num { text-shadow: 0 14px 30px rgba(184,146,63,.35); }

/* ---------- футер: нижняя строка + лейбл разработчика ---------- */
.footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; justify-content: space-between; }
.dev-credit { color: var(--cream-dim); opacity: .5; font-size: .76rem; border-bottom: 1px dotted rgba(255,255,255,.35); transition: opacity .2s ease; }
.dev-credit:hover { opacity: .95; color: #fff; }

/* ---------- reveal animation ---------- */
html.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s cubic-bezier(.2,.65,.3,1), transform .7s cubic-bezier(.2,.65,.3,1); }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero-in { grid-template-columns: 1fr; gap: 48px; }
  .hero-photo { order: -1; }
  .photo-arch { width: min(360px, 78vw); }
  .trust-grid, .products-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .why-grid, .lead-grid, .included-grid, .license-grid, .contact-grid, .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 340px; }
  .why-sec, .faq-sec { border-radius: 32px; margin: 0 8px; }
  .other-grid { grid-template-columns: 1fr; }
  .cb-split { grid-template-columns: 1fr; gap: 8px; margin-bottom: 52px; }
  .cb-head { position: static; }
  .cb-head::after { margin-bottom: 20px; }
  .page-home .pd-1 { right: -50px; top: 60px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: 40px 0 56px; }
  .btn { white-space: normal; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .trust-grid, .products-grid, .steps { grid-template-columns: 1fr; }
  .check-list { grid-template-columns: 1fr; }
  .contact-ways { grid-template-columns: 1fr; }
  .field-row { flex-direction: column; gap: 18px; }
  .lead-card { padding: 28px 22px; }
  .cta-band { padding: 44px 26px; }
  .values-grid { grid-template-columns: 1fr; }
  /* чипы не должны перекрывать лицо: уводим их в нижнюю часть фото */
  .float-chip { font-size: .76rem; padding: 9px 12px; }
  .chip-free { right: -6px; top: auto; bottom: 96px; flex-direction: row; align-items: center; gap: 7px; }
  .chip-license { left: -8px; bottom: 26px; }
  .deco-card { width: 190px; }
  .pd-2, .pd-4, .dc-5 { display: none; }
  .pd-1 { opacity: .45; }
  .pd-3 { opacity: .4; }
  .term-cards { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: flex-start; }
  .carrier-group { flex-direction: column; gap: 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .why-sec { padding: 60px 0; }
}
