/* ==========================================================================
   Гостевой дом «Белый инжир» · Витязево — стили
   Палитра: морская лазурь + тёплый песок + коралловый акцент
   ========================================================================== */

:root {
  --sea-900: #0b3a4a;
  --sea-700: #0f5b73;
  --sea-500: #178ba6;
  --sea-300: #7cc4d4;
  --sand-50: #fbf7f0;
  --sand-100: #f4ecdd;
  --sand-200: #e9dcc4;
  --coral: #e8734a;
  --coral-dark: #cf5b34;
  --ink: #17242a;
  --muted: #5c6b70;
  --line: #e7ddca;
  --white: #ffffff;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 4px 18px rgba(11, 58, 74, .08);
  --shadow-md: 0 14px 40px rgba(11, 58, 74, .14);
  --shadow-lg: 0 26px 70px rgba(11, 58, 74, .22);
  --maxw: 1180px;
  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.12; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); color: var(--sea-900); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

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

.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--sand { background: linear-gradient(180deg, var(--sand-100), var(--sand-50)); }
.section--sea  { background: radial-gradient(120% 120% at 80% 0%, var(--sea-700), var(--sea-900)); color: #eaf6f9; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--coral-dark); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--coral); border-radius: 2px; }
.section--sea .eyebrow { color: var(--sea-300); }
.section--sea .eyebrow::before { background: var(--sea-300); }
.section--sea h2 { color: #fff; }

.section-head { max-width: 680px; margin-bottom: 42px; }
.section-head p { color: var(--muted); font-size: 1.06rem; }
.section--sea .section-head p { color: #cfe7ee; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body); font-weight: 700; font-size: .98rem;
  padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--coral); color: #fff; box-shadow: 0 10px 24px rgba(232,115,74,.34); }
.btn--primary:hover { background: var(--coral-dark); box-shadow: 0 14px 30px rgba(232,115,74,.42); 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(4px); }
.btn--ghost:hover { background: rgba(255,255,255,.24); transform: translateY(-2px); }
.btn--dark { background: var(--sea-900); color: #fff; }
.btn--dark:hover { background: var(--sea-700); transform: translateY(-2px); }
.btn--lg { padding: 17px 34px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,247,240,.86); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__name { font-family: var(--font-head); font-size: 1.3rem; color: var(--sea-900); line-height: 1; }
.brand__sub { display: block; font-family: var(--font-body); font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--coral-dark); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-weight: 600; font-size: .95rem; color: var(--ink); transition: color .15s; }
.nav a:hover { color: var(--coral-dark); }
.header__cta { display: flex; align-items: center; gap: 14px; }
.header__phone { font-weight: 800; color: var(--sea-900); font-size: 1.02rem; white-space: nowrap; }
.header__phone span { display: block; font-size: .68rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--sea-900); margin: 5px 0; border-radius: 2px; transition: .25s; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11,58,74,.28) 0%, rgba(11,58,74,.15) 40%, rgba(11,58,74,.82) 100%);
}
.hero__inner { padding-bottom: clamp(40px, 6vw, 76px); padding-top: 120px; max-width: 760px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .84rem;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.4); backdrop-filter: blur(6px);
  padding: 8px 16px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.3rem, 5.6vw, 4.1rem); text-shadow: 0 2px 30px rgba(0,0,0,.3); }
.hero__lead { font-size: clamp(1.05rem, 2vw, 1.28rem); max-width: 620px; margin: 20px 0 30px; color: #f3fafc; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero__facts span {
  display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: .9rem;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28);
  padding: 8px 14px; border-radius: 999px;
}

/* ---------- Booking bar ---------- */
.booking {
  position: relative; z-index: 5; margin-top: -46px;
}
.booking__card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 20px; display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 16px; align-items: end;
  border: 1px solid var(--line);
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.field input, .field select, .form input, .form textarea, .form select {
  font-family: var(--font-body); font-size: 1rem; padding: 12px 14px; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); background: var(--sand-50); color: var(--ink); width: 100%;
  height: 48px; line-height: 1.2;
}
.form textarea { height: auto; }
/* iOS Safari рендерит input[type=date] слишком высокими — приводим к одной высоте */
input[type="date"] {
  -webkit-appearance: none; appearance: none;
  height: 48px; min-height: 48px; box-sizing: border-box;
}
input[type="date"]::-webkit-date-and-time-value { text-align: left; margin: 0; line-height: 22px; }
input[type="date"]::-webkit-calendar-picker-indicator { margin: 0 0 0 auto; opacity: .55; }
.field input:focus, .field select:focus, .form input:focus, .form textarea:focus {
  outline: none; border-color: var(--sea-500); background: #fff; box-shadow: 0 0 0 4px rgba(23,139,166,.12);
}

/* ---------- Features ---------- */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px;
  box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature__ico { width: 46px; height: 46px; color: var(--sea-500); margin-bottom: 14px; }
.feature h3 { font-family: var(--font-body); font-weight: 800; font-size: 1.05rem; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: .94rem; margin: 0; }

/* ---------- About split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 54px; align-items: center; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split__badge {
  position: absolute; left: -18px; bottom: -18px; background: var(--coral); color: #fff;
  border-radius: var(--radius-sm); padding: 16px 20px; box-shadow: var(--shadow-md); text-align: center;
}
.split__badge b { font-family: var(--font-head); font-size: 2rem; display: block; line-height: 1; }
.split__badge span { font-size: .8rem; opacity: .95; }
.checklist { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.checklist li { position: relative; padding-left: 30px; font-weight: 600; color: var(--ink); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 19px; height: 19px; border-radius: 50%;
  background: var(--sea-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* ---------- Rooms ---------- */
.rooms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.room {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s;
}
.room:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.room__media { position: relative; aspect-ratio: 3/2; overflow: hidden; }
.room__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.room:hover .room__media img { transform: scale(1.06); }
.room__tag {
  position: absolute; top: 12px; left: 12px; background: rgba(11,58,74,.82); color: #fff;
  font-size: .78rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(4px);
}
.room__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.room__body h3 { font-family: var(--font-body); font-weight: 800; font-size: 1.16rem; color: var(--sea-900); }
.room__spec { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; }
.room__spec span { font-size: .82rem; font-weight: 600; color: var(--muted); background: var(--sand-100); padding: 5px 11px; border-radius: 8px; }
.room__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.room__price b { font-family: var(--font-head); font-size: 1.6rem; color: var(--sea-900); }
.room__price small { display: block; color: var(--muted); font-size: .78rem; }

/* ---------- Price table ---------- */
.price-wrap { margin-top: 40px; overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
table.prices { width: 100%; border-collapse: collapse; background: #fff; min-width: 620px; }
table.prices th, table.prices td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); }
table.prices thead th { background: var(--sea-900); color: #fff; font-weight: 700; font-size: .9rem; }
table.prices thead th:not(:first-child) { text-align: center; }
table.prices td:not(:first-child) { text-align: center; font-weight: 700; color: var(--sea-700); }
table.prices tbody tr:nth-child(even) { background: var(--sand-50); }
table.prices td:first-child { font-weight: 600; }
.price-note { color: var(--muted); font-size: .88rem; margin-top: 14px; }

/* ---------- Nearby ---------- */
.nearby-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 40px; margin-top: 10px; }
.nearby-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px dashed rgba(255,255,255,.22); }
.nearby-item .name { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.nearby-item .name svg { color: var(--sea-300); flex: none; }
.nearby-item .dist { font-weight: 800; color: #fff; white-space: nowrap; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
.gallery a { border-radius: var(--radius-sm); overflow: hidden; position: relative; box-shadow: var(--shadow-sm); }
.gallery a img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery a:hover img { transform: scale(1.07); }
.gallery .wide { grid-column: span 2; }
.gallery .tall { grid-row: span 2; }

/* ---------- Reviews ---------- */
.reviews-top { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-bottom: 34px; }
.rating-badge { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 26px; box-shadow: var(--shadow-sm); text-align: center; }
.rating-badge b { font-family: var(--font-head); font-size: 2.6rem; color: var(--sea-900); line-height: 1; }
.rating-badge .stars { color: var(--coral); letter-spacing: 2px; margin: 6px 0 2px; }
.rating-badge span { font-size: .84rem; color: var(--muted); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.review .stars { color: var(--coral); letter-spacing: 2px; margin-bottom: 12px; }
.review p { font-size: .97rem; color: #2f3d42; }
.review__author { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.review__ava { width: 42px; height: 42px; border-radius: 50%; background: var(--sea-500); color: #fff; display: grid; place-items: center; font-weight: 800; }
.review__author b { font-size: .95rem; }
.review__author span { font-size: .8rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; box-shadow: var(--shadow-sm); }
.faq__q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 18px 22px; font-family: var(--font-body); font-weight: 700; font-size: 1.04rem; color: var(--sea-900); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq__q::after { content: "+"; font-size: 1.5rem; color: var(--coral); transition: transform .25s; }
.faq__item.open .faq__q::after { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* ---------- Contact / CTA ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.contact-line { display: flex; gap: 14px; align-items: flex-start; }
.contact-line svg { color: var(--sea-300); flex: none; margin-top: 3px; }
.contact-line b { display: block; font-size: 1.05rem; }
.contact-line span { color: #cfe7ee; }
.messengers { display: flex; gap: 12px; margin-top: 4px; }
.messengers a { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); transition: .2s; }
.messengers a:hover { background: #fff; color: var(--sea-900); transform: translateY(-3px); }
.form { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-lg); color: var(--ink); }
.form h3 { font-family: var(--font-body); font-weight: 800; color: var(--sea-900); margin-bottom: 6px; }
.form p.small { color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .field { margin-bottom: 14px; }
.form .consent { font-size: .78rem; color: var(--muted); margin: 6px 0 16px; }
.form__done { display: none; text-align: center; padding: 20px; }
.form__done.show { display: block; }
.form__done svg { color: var(--sea-500); margin: 0 auto 12px; }

.map-embed { margin-top: 40px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid rgba(255,255,255,.2); }
.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer { background: #08313f; color: #bcd7de; padding: 54px 0 26px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; margin-bottom: 34px; }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: 1rem; margin: 0 0 14px; }
.footer a { color: #bcd7de; transition: color .15s; }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; font-size: .94rem; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; font-size: .82rem; color: #7fa3ac; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Sticky mobile call ---------- */
.mobile-bar { display: none; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; background: rgba(8,32,41,.94); z-index: 100; display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.show { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox__close { position: absolute; top: 22px; right: 26px; background: none; border: 0; color: #fff; font-size: 2.4rem; cursor: pointer; line-height: 1; }

/* ---------- Reveal on scroll (только при активном JS) ---------- */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
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: 1000px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .rooms-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .contact-grid { grid-template-columns: 1fr; }
  .nearby-grid { grid-template-columns: 1fr; }
  .booking__card { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
}

@media (max-width: 720px) {
  .nav, .header__phone span { display: none; }
  .header__cta .btn { display: none; }
  .burger { display: block; }
  .header.open .nav {
    display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--sand-50); border-bottom: 1px solid var(--line); padding: 8px 22px 18px;
  }
  .header.open .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); width: 100%; }
  .rooms-grid, .features-grid { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero { min-height: 82vh; }
  .hero__facts { margin-top: 22px; }
  .booking { margin-top: 14px; }           /* убираем наезд карточки на hero */
  .booking__card { grid-template-columns: 1fr; padding: 18px; gap: 13px; }
  .mobile-bar {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; gap: 10px; padding: 10px 14px;
    background: rgba(251,247,240,.95); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  }
  .mobile-bar .btn { flex: 1; }
  body { padding-bottom: 68px; }
}

/* --- Квиз: подбор номера --- */
.quiz { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 40px; }
.quiz__side h2 { margin: 14px 0 12px; }
.quiz__side p { color: var(--muted); font-size: 1.02rem; }
.quiz__progress { height: 4px; background: var(--sand-200); border-radius: 4px; margin-top: 28px; overflow: hidden; }
.quiz__bar { height: 100%; width: 0; background: var(--coral); border-radius: 4px; transition: width .3s ease; }
.quiz__counter { margin-top: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.quiz__form { min-height: 300px; display: flex; flex-direction: column; }
.quiz__form fieldset { border: 0; padding: 0; margin: 0; }
.quiz__form legend { font-weight: 800; font-size: 1.25rem; color: var(--sea-900); margin-bottom: 18px; }
.quiz__form .small { color: var(--muted); font-size: .92rem; margin: -8px 0 16px; }
.quiz__form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quiz__form .consent { font-size: .78rem; color: var(--muted); margin-top: 12px; }
.quiz__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quiz__opt { position: relative; display: flex; align-items: center; min-height: 58px; padding: 14px 18px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--sand-50); font-weight: 600; color: var(--ink); cursor: pointer; transition: border-color .18s, background .18s, transform .18s; }
.quiz__opt input { position: absolute; opacity: 0; pointer-events: none; }
.quiz__opt:hover { border-color: var(--sea-300); transform: translateY(-1px); }
.quiz__opt:has(input:checked) { border-color: var(--coral); background: #fff4ee; color: var(--coral-dark); box-shadow: 0 6px 18px rgba(232,115,74,.18); }
.quiz__opt:has(input:focus-visible) { outline: 2px solid var(--sea-500); outline-offset: 2px; }
.quiz__nav { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: auto; padding-top: 26px; }
.quiz__nav .btn[disabled] { opacity: .45; cursor: default; transform: none; }
.quiz [hidden] { display: none !important; }
.quiz__err { width: 100%; color: var(--coral-dark); font-size: .9rem; }
.quiz__done { text-align: center; padding: 30px 10px; color: var(--sea-700); }
.quiz__done h3 { color: var(--sea-900); margin: 12px 0 6px; }
@media (max-width: 900px) {
  .quiz { grid-template-columns: 1fr; gap: 28px; padding: 26px; }
  .quiz__opts, .quiz__form .row { grid-template-columns: 1fr; }
}

/* ── заглушка карты (вместо внешнего виджета Яндекса) ── */
.map-stub{position:relative;width:100%;min-height:340px;border-radius:14px;overflow:hidden;background:#EAF1F4}
.map-stub svg{position:absolute;inset:0;width:100%;height:100%}
.map-stub__pin{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:2;
  background:#fff;color:#17323F;padding:9px 18px;border-radius:22px;font-size:14.5px;font-weight:700;
  box-shadow:0 6px 18px rgba(20,40,60,.18);white-space:nowrap;
}
.map-stub__pin::before{
  content:'';position:absolute;left:50%;top:-20px;transform:translateX(-50%);
  width:12px;height:12px;border-radius:50%;background:#E4713F;box-shadow:0 0 0 4px rgba(228,113,63,.28);
}
.map-stub__note{
  position:absolute;left:0;right:0;bottom:0;z-index:2;background:rgba(255,255,255,.93);
  padding:10px 18px;font-size:12.5px;color:#6B7680;text-align:center;
}
