/* obd-anapa.ru — лендинг «Горгиппия Морская». Без фреймворков. */
:root {
  --sand: #faf5ee;
  --cream: #fffaf3;
  --paper: #ffffff;
  --ink: #1f2a30;
  --muted: #5f6b70;
  --line: #ece2d3;
  --terra: #c65f3c;
  --terra-dark: #a94b2c;
  --terra-soft: #f8e6dc;
  --sage: #4f8461;
  --sage-dark: #3b6a4c;
  --sage-soft: #e6efe5;
  --sea: #1d5a86;
  --sea-soft: #e3eef6;
  --gold: #e7b75f;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 18px 50px -20px rgba(60, 40, 20, .28);
  --shadow-sm: 0 6px 20px -10px rgba(60, 40, 20, .25);
  --serif: "Lora", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
  --header-h: 72px;
  --accent-color: var(--terra); /* используется стилями cookie-баннера */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--sand); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sea); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(30px, 4.2vw, 46px); letter-spacing: -.01em; }
h3 { font-size: 20px; font-weight: 800; }
p { margin: 0 0 1em; }
nobr, .nw { white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--white { background: var(--paper); }
.section--cream { background: var(--cream); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--terra); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 680px; }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { text-align: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }
.section-head--center .eyebrow::after { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.ico { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Buttons */
.btn { --bg: var(--terra); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border: 0; border-radius: 999px; font: 800 16px/1 var(--sans); white-space: nowrap; text-decoration: none; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s; }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn--primary { background: var(--terra); color: #fff; box-shadow: 0 12px 28px -12px rgba(198, 95, 60, .8); }
.btn--primary:hover { background: var(--terra-dark); transform: translateY(-2px); }
.btn--ghost { background: rgba(255, 255, 255, .14); color: #fff; border: 1.5px solid rgba(255, 255, 255, .55); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .26); }
.btn--outline { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--sage { background: var(--sage); color: #fff; }
.btn--sage:hover { background: var(--sage-dark); }
.btn--sm { min-height: 46px; padding: 0 20px; font-size: 15px; }
.btn .ico { font-size: 20px; }

/* Header */
.header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); display: flex; align-items: center; color: #fff; transition: background .3s, box-shadow .3s, color .3s; }
.header.is-solid { background: rgba(255, 250, 243, .96); color: var(--ink); box-shadow: 0 4px 24px -12px rgba(0, 0, 0, .25); backdrop-filter: blur(10px); }
.header .wrap { display: flex; align-items: center; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; margin-right: auto; white-space: nowrap; }
.logo img { width: 42px; height: 42px; border-radius: 10px; background: #fff; padding: 3px; }
.logo b { display: block; font-family: var(--serif); font-size: 19px; line-height: 1.1; }
.logo small { display: block; font-size: 12px; opacity: .8; }
.nav { display: flex; gap: 20px; }
.nav a { color: inherit; text-decoration: none; font-weight: 700; font-size: 15px; opacity: .9; white-space: nowrap; }
@media (min-width: 1281px) { .nav .nav__extra { display: none; } }
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.header__phone { color: inherit; text-decoration: none; font-weight: 800; white-space: nowrap; }
.header__phone small { display: block; font-weight: 500; font-size: 11px; opacity: .75; }
.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .16); color: inherit; cursor: pointer; font-size: 24px; align-items: center; justify-content: center; }
.header.is-solid .burger { background: var(--line); }
@media (max-width: 1280px) {
  .nav { position: fixed; inset: var(--header-h) 12px auto; flex-direction: column; gap: 0; padding: 10px; background: var(--cream); color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); display: none; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 16px; border-radius: 12px; font-size: 17px; }
  .nav a:hover { background: var(--sand); text-decoration: none; }
  .burger { display: inline-flex; }
  .header .btn { display: none; }
}
@media (max-width: 560px) {
  :root { --header-h: 64px; }
  .header__phone small { display: none; }
  .header__phone span { display: none; }
  .header__phone { width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .16); display: inline-flex; align-items: center; justify-content: center; font-size: 22px; }
  .header.is-solid .header__phone { background: var(--line); }
  .logo small { display: none; }
  .logo b { font-size: 17px; }
}
@media (min-width: 561px) { .header__phone .ico { display: none; } }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 40%; animation: heroZoom 18s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(24, 22, 20, .78) 0%, rgba(24, 22, 20, .5) 42%, rgba(24, 22, 20, 0) 72%),
  linear-gradient(0deg, rgba(24, 22, 20, .55) 0%, rgba(24, 22, 20, 0) 40%),
  linear-gradient(180deg, rgba(24, 22, 20, .45) 0%, rgba(24, 22, 20, 0) 22%); }
.hero__inner { position: relative; padding-top: calc(var(--header-h) + 48px); padding-bottom: 48px; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: end; }
.hero__badge { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px; border-radius: 999px; background: rgba(79, 132, 97, .92); font-weight: 800; font-size: 14px; letter-spacing: .02em; box-shadow: 0 8px 24px -10px rgba(0, 0, 0, .5); }
.hero__badge i { width: 10px; height: 10px; border-radius: 50%; background: #b9f5c8; box-shadow: 0 0 0 0 rgba(185, 245, 200, .9); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(185, 245, 200, 0); } 100% { box-shadow: 0 0 0 0 rgba(185, 245, 200, 0); } }
.hero h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(40px, 6.4vw, 84px); line-height: 1.02; letter-spacing: -.02em; margin: 22px 0 18px; text-shadow: 0 2px 30px rgba(0, 0, 0, .3); }
.hero h1 .kicker { display: block; font-family: var(--sans); font-size: clamp(15px, 1.5vw, 19px); font-weight: 700; letter-spacing: .04em; margin-bottom: 14px; opacity: .92; }
.hero h1 em { font-style: italic; color: #ffd9a8; }
.hero__sub { font-size: clamp(17px, 1.7vw, 21px); max-width: 600px; opacity: .95; margin-bottom: 26px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero__video { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; text-decoration: none; padding: 0 8px; min-height: 54px; }
.hero__video span.play { width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .2); display: grid; place-items: center; backdrop-filter: blur(6px); }
.keycard { background: var(--cream); color: var(--ink); border-radius: var(--radius); padding: 24px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55); position: relative; }
.keycard__icon { width: 56px; height: 56px; border-radius: 16px; background: var(--terra-soft); color: var(--terra); display: grid; place-items: center; font-size: 30px; margin-bottom: 14px; }
.keycard b { display: block; font-family: var(--serif); font-size: 24px; line-height: 1.15; margin-bottom: 8px; }
.keycard p { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.keycard__price { display: flex; align-items: baseline; gap: 8px; padding-top: 14px; border-top: 1px dashed var(--line); }
.keycard__price small { color: var(--muted); font-weight: 600; }
.keycard__price strong { font-size: 30px; font-weight: 800; color: var(--terra); letter-spacing: -.01em; }
.hero__facts { position: relative; background: rgba(255, 250, 243, .97); color: var(--ink); }
.hero__facts ul { list-style: none; margin: 0 auto; padding: 0 20px; max-width: var(--wrap); display: grid; grid-template-columns: repeat(4, 1fr); }
.hero__facts li { display: flex; gap: 14px; align-items: center; padding: 22px 18px; border-left: 1px solid var(--line); }
.hero__facts li:first-child { border-left: 0; padding-left: 0; }
.hero__facts .ico { font-size: 30px; color: var(--sage); }
.hero__facts b { display: block; font-size: 18px; line-height: 1.2; }
.hero__facts span { font-size: 14px; color: var(--muted); line-height: 1.35; display: block; }
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .keycard { display: none; }
  .hero__facts ul { grid-template-columns: repeat(2, 1fr); padding: 0; }
  .hero__facts li { padding: 16px 20px; border-left: 0; border-top: 1px solid var(--line); }
  .hero__facts li:first-child { padding-left: 20px; }
  .hero__facts li:nth-child(even) { border-left: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .hero { min-height: auto; }
  .hero__top { min-height: calc(100svh - 132px); display: flex; flex-direction: column; justify-content: flex-end; }
  .hero h1 .kicker span { display: none; }
  .hero__bg img { object-position: 58% 30%; }
  .hero::before { background:
    linear-gradient(0deg, rgba(24, 22, 20, .92) 0%, rgba(24, 22, 20, .7) 38%, rgba(24, 22, 20, 0) 68%),
    linear-gradient(180deg, rgba(24, 22, 20, .5) 0%, rgba(24, 22, 20, 0) 20%); }
  .hero__inner { padding-bottom: 28px; padding-top: calc(var(--header-h) + 24px); }
  .hero h1 { margin: 16px 0 12px; }
  .hero__sub { font-size: 16px; margin-bottom: 18px; }
  .hero__price-m { display: flex !important; }
  .hero__actions .btn--primary { flex: 1 1 100%; }
  .hero__video { min-height: 44px; }
  .hero__facts li { gap: 10px; padding: 14px 16px; }
  .hero__facts li:first-child { padding-left: 16px; }
  .hero__facts .ico { font-size: 24px; }
  .hero__facts b { font-size: 15px; }
  .hero__facts span { font-size: 12.5px; }
}
.hero__price-m { display: none; align-items: baseline; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.hero__price-m strong { font-size: 30px; font-weight: 800; color: #ffd9a8; }
.hero__price-m > span { font-size: 14px; opacity: .85; }

/* Trust strip */
.trust { background: var(--paper); border-bottom: 1px solid var(--line); }
.trust .wrap { display: flex; align-items: center; gap: 32px; padding-top: 26px; padding-bottom: 26px; flex-wrap: wrap; justify-content: space-between; }
.trust__stats { display: flex; gap: 36px; flex-wrap: wrap; }
.trust__stats div b { display: block; font-family: var(--serif); font-size: 34px; line-height: 1; color: var(--terra); }
.trust__stats div span { font-size: 14px; color: var(--muted); }
.trust__banks { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.trust__banks small { color: var(--muted); font-size: 13px; }
.trust__banks img { height: 30px; width: auto; filter: grayscale(1); opacity: .7; transition: .2s; }
.trust__banks img:hover { filter: none; opacity: 1; }

/* Ready section */
.ready { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.gallery { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; aspect-ratio: 1.05; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery figure:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(255, 250, 243, .94); color: var(--ink); font-size: 13px; font-weight: 800; padding: 6px 12px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; }
.gallery figcaption .ico { color: var(--sage); }
.checklist { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist .ico { font-size: 24px; color: var(--sage); margin-top: 1px; background: var(--sage-soft); border-radius: 50%; padding: 4px; width: 32px; height: 32px; }
.checklist b { display: block; }
.checklist span { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .ready { grid-template-columns: 1fr; } .gallery { aspect-ratio: 1.2; } }

/* Plans */
.plans__tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; justify-content: center; }
.plans__tab { border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); font: 700 15px var(--sans); padding: 11px 20px; border-radius: 999px; cursor: pointer; transition: .2s; }
.plans__tab:hover { border-color: var(--terra); }
.plans__tab.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.plans__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 22px; }
.plan { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan[hidden] { display: none; }
.plan__img { position: relative; border: 0; padding: 18px; background: #fff; cursor: zoom-in; height: 280px; display: block; width: 100%; border-bottom: 1px solid var(--line); }
.plan__img img { display: block; width: 100%; height: 100%; object-fit: contain; }
.plan__tag { position: absolute; top: 14px; left: 14px; background: var(--sage-soft); color: var(--sage-dark); font: 800 12px var(--sans); letter-spacing: .04em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.plan__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.plan__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.plan__type { font-size: 16px; margin: 0; }
.plan__type span { font-weight: 600; color: var(--muted); }
.plan__stock { flex: none; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--sea-soft); color: var(--sea); white-space: nowrap; }
.plan__stock--low { background: var(--terra-soft); color: var(--terra-dark); }
.plan__title { font-family: var(--serif); font-size: 21px; font-weight: 700; line-height: 1.25; margin-bottom: 8px; }
.plan__text { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.plan__chips { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.plan__chips li { font-size: 12.5px; font-weight: 600; background: var(--sand); border: 1px solid var(--line); padding: 3px 10px; border-radius: 999px; color: var(--muted); }
.plan__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 16px; border-top: 1px dashed var(--line); }
.plan__price { font-size: 22px; font-weight: 800; white-space: nowrap; }
.plan__price small { font-size: 14px; font-weight: 600; color: var(--muted); }
.plans__note { text-align: center; color: var(--muted); font-size: 14px; margin: 26px auto 0; max-width: 760px; }
.portal { margin-top: 40px; display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 28px 32px; border-radius: var(--radius); background: var(--ink); color: #fff; }
.portal__icon { width: 64px; height: 64px; border-radius: 18px; background: rgba(255, 255, 255, .1); display: grid; place-items: center; font-size: 32px; color: var(--gold); }
.portal b { font-family: var(--serif); font-size: 24px; display: block; margin-bottom: 4px; }
.portal p { margin: 0; opacity: .8; font-size: 15px; }
.portal__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.portal .btn--outline { color: #fff; border-color: rgba(255, 255, 255, .5); }
.portal .btn--outline:hover { background: #fff; color: var(--ink); }
@media (max-width: 860px) { .portal { grid-template-columns: 1fr; text-align: left; padding: 24px; } .portal__actions .btn { flex: 1 1 100%; } }
@media (max-width: 400px) { .plans__grid { grid-template-columns: 1fr; } .plan__img { height: 240px; } }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--rev > :first-child { order: 2; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; }
.split__sticker { position: absolute; right: -14px; bottom: -18px; background: var(--terra); color: #fff; border-radius: 18px; padding: 16px 20px; font-weight: 800; line-height: 1.25; box-shadow: var(--shadow); max-width: 220px; }
.split__sticker small { display: block; font-weight: 600; opacity: .85; font-size: 13px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } .split__sticker { right: 12px; } }

/* Finish compare */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px 0 28px; }
.compare > div { border-radius: var(--radius-sm); padding: 18px; border: 1px solid var(--line); background: var(--paper); }
.compare > div.is-best { border: 2px solid var(--terra); background: var(--terra-soft); }
.compare h3 { font-size: 16px; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.compare h3 em { font-style: normal; font-size: 11px; background: var(--terra); color: #fff; padding: 3px 8px; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase; }
.compare ul { margin: 0; padding-left: 18px; font-size: 14.5px; color: var(--muted); }
.compare li { margin-bottom: 4px; }
@media (max-width: 520px) { .compare { grid-template-columns: 1fr; } }

/* Mortgage */
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.offer { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px 26px; display: flex; flex-direction: column; position: relative; box-shadow: var(--shadow-sm); }
.offer--hot { background: var(--ink); color: #fff; border-color: var(--ink); }
.offer__label { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--terra); margin-bottom: 10px; }
.offer--hot .offer__label { color: var(--gold); }
.offer__rate { font-family: var(--serif); font-size: 58px; font-weight: 700; line-height: 1; margin-bottom: 4px; letter-spacing: -.02em; }
.offer__rate small { font-size: 22px; font-family: var(--sans); font-weight: 700; }
.offer__term { font-weight: 800; font-size: 18px; margin-bottom: 14px; }
.offer p { color: var(--muted); font-size: 15px; flex: 1; }
.offer--hot p { color: rgba(255, 255, 255, .78); }
.offer .btn { width: 100%; margin-top: 8px; }
.offer__ribbon { position: absolute; top: -12px; right: 22px; background: var(--terra); color: #fff; font-size: 12px; font-weight: 800; padding: 6px 12px; border-radius: 999px; letter-spacing: .04em; }
.extras { margin-top: 26px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.extras > div { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: var(--radius-sm); background: var(--sand); }
.extras .ico { font-size: 26px; color: var(--sea); margin-top: 2px; }
.extras b { display: block; font-size: 15px; line-height: 1.3; }
.extras span { font-size: 13.5px; color: var(--muted); display: block; line-height: 1.4; margin-top: 2px; }
@media (max-width: 980px) { .offers { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } .extras { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .extras { grid-template-columns: 1fr; } }

/* Trade-in */
.tradein { background: linear-gradient(135deg, var(--sage) 0%, var(--sage-dark) 100%); color: #fff; border-radius: calc(var(--radius) + 8px); padding: clamp(32px, 5vw, 60px); display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 4vw, 56px); align-items: center; position: relative; overflow: hidden; }
.tradein::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .06); right: -140px; top: -160px; }
.tradein h2 { color: #fff; }
.tradein .eyebrow { color: #d6f0dc; }
.tradein p { opacity: .9; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: s; position: relative; z-index: 1; }
.steps li { counter-increment: s; display: flex; gap: 16px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius-sm); padding: 16px 18px; }
.steps li::before { content: counter(s); flex: none; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--sage-dark); font-weight: 800; display: grid; place-items: center; }
.steps b { display: block; }
.steps span { font-size: 14.5px; opacity: .85; }
.tradein .btn--primary { background: #fff; color: var(--sage-dark); box-shadow: none; }
.tradein .btn--primary:hover { background: var(--cream); }
@media (max-width: 900px) { .tradein { grid-template-columns: 1fr; } }

/* Parking */
.parking-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0 26px; }
.parking-facts div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; }
.parking-facts b { display: block; font-size: 16px; }
.parking-facts span { font-size: 14px; color: var(--muted); }

/* Sea */
.sea { position: relative; color: #fff; overflow: hidden; isolation: isolate; }
.sea__bg { position: absolute; inset: 0; z-index: -2; }
.sea__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.sea::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 40, 64, .86) 0%, rgba(10, 40, 64, .55) 55%, rgba(10, 40, 64, .2) 100%); }
.sea h2 { color: #fff; }
.sea .eyebrow { color: #a8d7f5; }
.sea .lead { color: rgba(255, 255, 255, .88); }
.sea__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 36px; }
.sea__grid div { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--radius-sm); padding: 20px; backdrop-filter: blur(8px); }
.sea__grid b { display: block; font-family: var(--serif); font-size: 30px; line-height: 1.1; margin-bottom: 4px; }
.sea__grid span { font-size: 14.5px; opacity: .88; }
@media (max-width: 900px) { .sea__grid { grid-template-columns: 1fr 1fr; } }

/* Process */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: p; }
.process li { counter-increment: p; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; position: relative; }
.process li::before { content: "0" counter(p); display: block; font-family: var(--serif); font-size: 34px; font-weight: 700; color: var(--line); line-height: 1; margin-bottom: 14px; }
.process li:last-child { background: var(--terra); color: #fff; border-color: var(--terra); }
.process li:last-child::before { color: rgba(255, 255, 255, .45); }
.process li:last-child p { color: rgba(255, 255, 255, .9); }
.process h3 { font-size: 17px; margin-bottom: 6px; }
.process p { font-size: 14.5px; color: var(--muted); margin: 0; }
@media (max-width: 1000px) { .process { grid-template-columns: 1fr 1fr; } .process li:last-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

/* Reviews */
.reviews { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 380px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 20px 22px; margin: 0 -20px; scrollbar-width: thin; }
.review { scroll-snap-align: start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.review__stars { color: var(--gold); letter-spacing: 2px; font-size: 18px; margin-bottom: 10px; }
.review p { font-size: 15.5px; flex: 1; }
.review__who { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 14px; }
.review__who img, .review__who i { width: 44px; height: 44px; border-radius: 50%; flex: none; }
.review__who i { background: var(--sage-soft); color: var(--sage-dark); display: grid; place-items: center; font-style: normal; font-weight: 800; }
.review__who b { display: block; font-size: 15px; }
.review__who span { font-size: 13px; color: var(--muted); }
.reviews-nav { display: flex; gap: 8px; justify-content: flex-end; }
.reviews-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper); cursor: pointer; font-size: 20px; color: var(--ink); display: grid; place-items: center; }
.reviews-nav button:hover { border-color: var(--ink); }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }

/* Developer / geography */
.geo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.geo__card { border-radius: var(--radius); overflow: hidden; background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s; }
a.geo__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.geo__card .geo__top { padding: 22px 22px 0; }
.geo__city { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: var(--sea); text-transform: uppercase; letter-spacing: .06em; }
.geo__card h3 { font-family: var(--serif); font-size: 22px; margin: 8px 0 6px; }
.geo__card p { color: var(--muted); font-size: 15px; padding: 0 22px; }
.geo__card .geo__more { margin: auto 22px 22px; font-weight: 800; color: var(--terra); display: inline-flex; align-items: center; gap: 6px; }
.geo__badge { display: inline-block; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--sage-soft); color: var(--sage-dark); margin-left: 6px; }
.geo__card--accent { background: var(--sea); color: #fff; border-color: var(--sea); }
.geo__card--accent .geo__city { color: #a8d7f5; }
.geo__card--accent p { color: rgba(255, 255, 255, .85); }
.cities { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 22px 22px; margin: auto 0 0; list-style: none; }
.cities li { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; }
.tech { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.tech > div { display: flex; gap: 12px; padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.tech .ico { font-size: 26px; color: var(--terra); }
.tech b { display: block; }
.tech span { font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .geo, .tech { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 800; font-size: 17px; padding: 20px 36px 20px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; font-size: 20px; color: var(--terra); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding-bottom: 20px; color: var(--muted); }
.faq details > div p:last-child, .faq ul { margin-bottom: 0; }

/* Final CTA + contacts */
.final { background: var(--terra); color: #fff; border-radius: calc(var(--radius) + 8px); padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
.final h2 { color: #fff; }
.final p { opacity: .92; }
.final__actions { display: grid; gap: 12px; }
.final .btn--primary { background: #fff; color: var(--terra-dark); box-shadow: none; }
.final .btn--ghost { border-color: rgba(255, 255, 255, .6); }
@media (max-width: 860px) { .final { grid-template-columns: 1fr; } }
.contacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 40px 0 24px; }
.contacts > div { display: flex; gap: 14px; align-items: flex-start; padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.contacts .ico { font-size: 26px; color: var(--terra); margin-top: 2px; }
.contacts b { display: block; }
.contacts p { margin: 0; font-size: 15px; color: var(--muted); }
.contacts a { font-weight: 800; color: var(--ink); text-decoration: none; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 400px; background: var(--paper); }
@media (max-width: 860px) { .contacts { grid-template-columns: 1fr; } }

/* Footer */
.footer { background: #1b2328; color: rgba(255, 255, 255, .72); padding: 56px 0 32px; font-size: 14px; }
.footer a { color: #fff; }
.footer__top { display: grid; grid-template-columns: 1.2fr 1fr 1.4fr; gap: 32px; padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer .logo { color: #fff; margin-bottom: 14px; }
.footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; }
.social a:hover { background: rgba(255, 255, 255, .18); }
.social svg { width: 20px; height: 20px; max-height: 20px; }
.social path { fill: #fff; }
.footer__legal { padding-top: 24px; font-size: 12.5px; line-height: 1.55; color: rgba(255, 255, 255, .5); }
.footer__legal p { margin-bottom: .8em; }
@media (max-width: 860px) { .footer__top { grid-template-columns: 1fr; } }

/* Lead dialog */
.lead-dialog { border: 0; padding: 0; border-radius: var(--radius); width: min(520px, calc(100vw - 24px)); max-height: calc(100vh - 24px); background: var(--cream); color: var(--ink); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .5); }
.lead-dialog::backdrop { background: rgba(20, 24, 28, .6); backdrop-filter: blur(4px); }
.lead-dialog__head { padding: 26px 26px 8px; position: relative; }
.lead-dialog__head h3 { font-family: var(--serif); font-size: 25px; margin: 0 40px 6px 0; }
.lead-dialog__head p { color: var(--muted); font-size: 15px; margin: 0; }
.lead-dialog__close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--sand); cursor: pointer; font-size: 22px; color: var(--ink); }
.lead-dialog__body { padding: 8px 18px 22px; min-height: 200px; }
.lead-dialog__alt { display: flex; gap: 10px; padding: 0 26px 24px; flex-wrap: wrap; }
.lead-dialog__alt a { flex: 1; min-height: 46px; }
.zoom-dialog { border: 0; padding: 12px; border-radius: var(--radius); background: #fff; max-width: min(900px, 96vw); }
.zoom-dialog::backdrop { background: rgba(20, 24, 28, .75); }
.zoom-dialog img { max-height: 82vh; width: auto; margin: 0 auto; }
.zoom-dialog button { position: absolute; top: 10px; right: 10px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--sand); font-size: 22px; cursor: pointer; }

/* Mobile sticky CTA */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 250, 243, .97); box-shadow: 0 -8px 24px -10px rgba(0, 0, 0, .25); transform: translateY(110%); transition: transform .3s; }
  .mbar.is-visible { transform: none; }
  .mbar .btn { min-height: 50px; }
  .mbar .btn--outline { padding: 0 18px; }
  body { padding-bottom: 76px; }
  .cookie-wrapper { bottom: calc(80px + env(safe-area-inset-bottom)) !important; right: 12px !important; left: 12px; width: auto !important; max-width: none !important; }
}

/* Cookie-баннер: компактный вид, логика прежняя */
.cookie-wrapper { max-width: 340px !important; padding: 14px 16px !important; border-radius: 16px !important; background: var(--paper) !important; border: 1px solid var(--line); box-shadow: var(--shadow) !important; display: none; align-items: center; gap: 12px; }
.cookie-wrapper.show { display: flex !important; }
.cookie-wrapper h4 { display: none; }
.cookie-wrapper .cookie-data { margin: 0 !important; }
.cookie-wrapper .cookie-data p { font-size: 13px !important; line-height: 1.4; margin: 0; color: var(--muted) !important; }
.cookie-wrapper .cookie-buttons { margin: 0 !important; width: auto !important; }
.cookie-buttons .cookie-button { width: auto !important; padding: 10px 16px !important; border-radius: 999px !important; font: 700 14px var(--sans); }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg img, .hero__badge i { animation: none; }
}
@media (max-width: 760px) { .cookie-wrapper { max-width: none !important; } }
