@font-face { font-family: "Onest"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/onest-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/onest-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/onest-cyrillic-500-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/onest-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/onest-cyrillic-600-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/onest-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/onest-cyrillic-700-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/onest-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/unbounded-cyrillic-600-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/unbounded-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
/* Diving Vietnam — сайт. Палитра: глубина (ink), лагуна, пена, буй (CTA), песок. Шрифты: Unbounded (заголовки), Onest (текст). */
:root {
  --ink: #08324A; --ink2: #3E5B6B; --muted: #55707E; --line: #D5E3E5;
  --bg: #EEF5F5; --surface: #FFFFFF; --lagoon: #0E7C86; --lagoon-d: #0A5E66; --buoy: #F2631A; --buoy-d: #D4520F; --cta: #C94A0C; --cta-d: #A93D08;
  --sand: #F4ECDB; --wa: #15803D; --wa-d: #116A32;
  --fc-ex: #0E9466; --fc-ok: #5D9B2E; --fc-fair: #C48612; --fc-bad: #C9423A;
  --f-d: "Unbounded", "Onest", system-ui, sans-serif;
  --f-b: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r: 14px; --wrap: 1160px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
html.fc-lock { overflow: hidden; }
body { margin: 0; font: 17px/1.55 var(--f-b); color: var(--ink); background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: var(--lagoon-d); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--buoy); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--f-d); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(30px, 6.4vw, 60px); }
h2 { font-size: clamp(24px, 4vw, 38px); }
h3 { font-size: 19px; line-height: 1.25; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--ink2); max-width: 62ch; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
section { padding: 64px 0; }
section.tint { background: var(--surface); }
section.sand { background: var(--sand); }
section.deep { background: var(--ink); color: #E3F0F2; }
section.deep h2, section.deep h3 { color: #fff; }
section.deep a:not(.btn) { color: #8FE0E6; }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border-radius: 12px; border: 0;
  font: 600 17px/1 var(--f-b); text-decoration: none; cursor: pointer; color: #fff; background: var(--cta); }
.btn:hover { background: var(--cta-d); color: #fff; }
.btn.wa { background: var(--wa); }
.btn.wa:hover { background: var(--wa-d); }
.btn.tg { background: #1B6FA0; }
.btn.line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn.line:hover { background: var(--ink); color: #fff; }
.btn.light { background: #fff; color: var(--ink); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* прогноз — полоса */
.fc-strip { display: flex; align-items: center; gap: 14px; padding: 8px 20px; background: var(--ink); color: #CFE4E8; font-size: 14px; white-space: nowrap; overflow-x: auto; scrollbar-width: none; min-height: 42px; }
.fc-strip::-webkit-scrollbar { display: none; }
.fc-strip .fc-mut { color: #8AA9B2; }
.fc-s-lbl { font-weight: 700; color: #fff; }
.fc-s-score b { font-family: var(--f-d); font-size: 15px; }
.fc-s-score.fc-ex { color: #4BE0A6; } .fc-s-score.fc-ok { color: #A7DD6E; } .fc-s-score.fc-fair { color: #F2C15A; } .fc-s-score.fc-bad { color: #FF8C82; }
.fc-s-more { margin-left: auto; flex: none; font: 600 13px var(--f-b); color: var(--ink); background: #fff; border: 0; border-radius: 8px; padding: 6px 12px; cursor: pointer; }
.fc-s-more:hover { background: #FFE3D3; }

/* шапка */
.hdr { position: sticky; top: 0; z-index: 30; background: rgba(238, 245, 245, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.hdr .wrap { display: flex; align-items: center; gap: 18px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 600 15px/1.05 var(--f-d); }
.logo img { width: 42px; height: 42px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: 15px; }
.nav a:hover, .nav a[aria-current] { background: #DCEBEC; }
.hdr .btn { min-height: 42px; padding: 0 16px; font-size: 15px; }
.lang { font-weight: 700; font-size: 14px; text-decoration: none; color: var(--ink2); padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; font-size: 26px; color: var(--ink); cursor: pointer; }

/* первый экран */
.hero { position: relative; color: #fff; padding: 0; min-height: min(86vh, 720px); display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 50, 74, .05) 30%, rgba(8, 50, 74, .82) 78%, rgba(8, 50, 74, .95)); }
.hero .wrap { position: relative; z-index: 2; padding-top: 120px; padding-bottom: 48px; width: 100%; }
.hero h1 { max-width: 15ch; margin-bottom: 18px; text-wrap: balance; }
.hero .lead { color: #E3F0F2; margin-bottom: 26px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: 15px; color: #CFE4E8; }
.hero-meta b { color: #fff; font-family: var(--f-d); font-weight: 600; }
.price-tag { display: inline-flex; align-items: baseline; gap: 6px; }
.page-hero { padding: 56px 0 40px; }
.page-hero .lead { margin-bottom: 0; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }

/* «Ваш инструктор на весь день» */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 28px 36px; margin-top: 34px; }
.fact h3 { margin-bottom: 6px; }
.fact p { color: var(--ink2); margin: 0; }
.fact .ico { width: 44px; height: 44px; border-radius: 12px; background: #DCEBEC; display: grid; place-items: center; margin-bottom: 12px; font-size: 22px; }

/* день на лодке: профиль погружения */
.day { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; }
.profile { background: var(--surface); border-radius: var(--r); padding: 18px 18px 8px; border: 1px solid var(--line); }
.profile svg { width: 100%; height: auto; display: block; }
.profile .lbl { font: 500 12px var(--f-b); fill: var(--muted); }
.profile .lbl-d { font: 600 13px var(--f-b); fill: var(--ink); }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 0; }
.timeline time { font: 600 15px var(--f-d); color: var(--lagoon-d); padding-top: 2px; }
.timeline b { display: block; }
.timeline span { color: var(--ink2); font-size: 15px; }

/* цены */
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 30px; }
.pcard { background: var(--surface); border-radius: var(--r); padding: 22px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.pcard.main { border: 2px solid var(--buoy); }
.pcard h3 { margin: 0; }
.pcard .amt { font: 600 34px/1 var(--f-d); color: var(--ink); }
.pcard .amt small { font: 500 14px var(--f-b); color: var(--muted); margin-left: 4px; }
.pcard ul { margin: 0; padding-left: 18px; color: var(--ink2); font-size: 15px; }
.pcard .btn { margin-top: auto; min-height: 46px; font-size: 16px; }
.pcard .flag { align-self: flex-start; background: #FFE3D3; color: #9A3A0A; font-size: 13px; font-weight: 600; border-radius: 6px; padding: 3px 8px; }
.ptable { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--r); overflow: hidden; }
.ptable th, .ptable td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ptable th { font-size: 13px; color: var(--muted); font-weight: 600; background: #F6FAFA; }
.ptable td.p { font: 600 18px var(--f-d); white-space: nowrap; }
.ptable a { font-weight: 600; text-decoration: none; }
.pay { margin-top: 18px; color: var(--ink2); font-size: 15px; }

/* сертификации */
.agencies { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 36px; margin-top: 22px; }
.agencies img { height: 40px; width: auto; filter: grayscale(.15); }

/* команда */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 30px; }
.member img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 22%; border-radius: var(--r); background: #DCEBEC; }
.member h3 { margin: 14px 0 2px; }
.member .role { color: var(--lagoon-d); font-weight: 600; font-size: 15px; }
.member p { color: var(--ink2); font-size: 15px; margin: 6px 0 0; }

/* фото-лента */
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 26%); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 20px 12px; margin: 26px 0 0; scrollbar-width: thin; }
.gallery figure { margin: 0; scroll-snap-align: start; }
.gallery img { width: 100%; height: 340px; object-fit: cover; border-radius: var(--r); }
.gallery figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* блоки текста и списки */
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding: 8px 0 8px 30px; border-bottom: 1px solid var(--line); }
.checks li::before { content: "✓"; position: absolute; left: 4px; top: 8px; color: var(--lagoon); font-weight: 700; }
.checks.no li::before { content: "—"; color: var(--muted); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px 16px 60px; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font: 600 14px/30px var(--f-d); text-align: center; }
.steps b { display: block; margin-bottom: 2px; }
.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 24px 0; }
.kv div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.kv small { display: block; color: var(--muted); font-size: 13px; }
.kv b { font: 600 18px var(--f-d); }
.note { background: #E2F1F2; border-radius: 12px; padding: 14px 16px; color: var(--ink2); font-size: 15px; }
.course-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 14px; margin-top: 24px; }
.course { display: block; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.course:hover { border-color: var(--lagoon); color: var(--ink); }
.course b { font: 600 17px/1.25 var(--f-d); display: block; }
.course span { color: var(--ink2); font-size: 15px; display: block; margin-top: 6px; }
.course em { font-style: normal; font-weight: 700; color: var(--lagoon-d); display: block; margin-top: 8px; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 40px 18px 0; font-weight: 600; font-size: 18px; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font: 400 26px var(--f-b); color: var(--lagoon); }
.faq details[open] summary::after { content: "−"; }
.faq .a { padding: 0 0 18px; color: var(--ink2); max-width: 68ch; }
.faq h2.group { font-size: 22px; margin: 40px 0 6px; }

/* заявка */
.book { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.book .contacts { display: grid; gap: 10px; margin-top: 22px; }
.form { background: var(--surface); border-radius: var(--r); padding: 22px; color: var(--ink); }
.form label { display: block; font-size: 14px; color: var(--ink2); margin-bottom: 14px; }
.form input, .form select, .form textarea { display: block; width: 100%; margin-top: 5px; font: 16px var(--f-b); color: var(--ink); padding: 12px 13px; border: 1px solid #C3D6D9; border-radius: 10px; background: #fff; min-height: 50px; }
.form textarea { min-height: 84px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form .btn { width: 100%; }
.form .hp { position: absolute; left: -9999px; }
.form small.legal { display: block; color: var(--muted); font-size: 12px; margin-top: 10px; }
.dv-ok, .dv-err { padding: 12px 14px; border-radius: 10px; margin: 12px 0 0; }
.dv-ok { background: #DDF4E7; color: #14653F; }
.dv-err { background: #FDE6E3; color: #9B2C23; }

/* подвал */
.ftr { background: var(--ink); color: #BCD5DA; padding: 48px 0 110px; font-size: 15px; }
.ftr .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 30px; }
.ftr h3 { color: #fff; font-size: 15px; font-family: var(--f-b); font-weight: 700; margin-bottom: 10px; }
.ftr a { color: #E3F0F2; text-decoration: none; }
.ftr a:hover { text-decoration: underline; color: #fff; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ftr .copy { grid-column: 1 / -1; border-top: 1px solid #1C4C66; padding-top: 18px; color: #8AA9B2; font-size: 13px; }

/* нижние кнопки на телефоне */
.mbar { display: none; }

/* прогноз — окно и страница */
.fc-dialog { width: min(980px, 100vw); max-width: 100vw; max-height: 100dvh; height: auto; margin: auto; padding: 0; border: 0; border-radius: 18px; background: var(--bg); color: var(--ink); }
.fc-dialog::backdrop { background: rgba(4, 26, 38, .62); }
.fc-dialog[open] { display: flex; flex-direction: column; }
.fc-dbar { display: flex; align-items: center; gap: 12px; justify-content: space-between; padding: 14px 18px; background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; }
.fc-dbar b { display: block; font: 600 17px var(--f-d); }
.fc-x { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #E2ECEE; font-size: 28px; line-height: 1; color: var(--ink); cursor: pointer; }
.fc-x:hover { background: #D2E1E4; }
.fc-body { padding: 16px 18px 22px; overflow-y: auto; }
.fc-mut { color: var(--muted); }
.fc-small { font-size: 13px; }
.fc-warn { color: var(--fc-bad) !important; font-weight: 600; }
.fc-week { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(112px, 1fr); gap: 8px; overflow-x: auto; padding-bottom: 6px; }
.fc-day { text-align: left; font: inherit; color: inherit; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 4px; cursor: pointer; }
.fc-day[aria-pressed="true"] { border: 2px solid var(--ink); padding: 9px; }
.fc-dw { font-size: 13px; font-weight: 600; } .fc-dw span { color: var(--muted); font-weight: 400; }
.fc-sc { font: 600 22px var(--f-d); }
.fc-stripe { height: 4px; background: #E2ECEE; border-radius: 2px; overflow: hidden; } .fc-stripe span { display: block; height: 100%; }
.fc-vd { font-size: 13px; font-weight: 600; }
.fc-mini { font-size: 12px; color: var(--muted); line-height: 1.35; }
.fc-banner { background: #FFF3D6; border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.fc-detail { background: var(--surface); border-radius: 14px; padding: 16px; margin-top: 12px; border: 1px solid var(--line); }
.fc-detail h3 { font-size: 18px; margin: 0; } .fc-detail h4 { font: 600 15px var(--f-b); margin: 18px 0 8px; }
.fc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.fc-dhead { display: grid; grid-template-columns: 240px 1fr; gap: 14px; margin-top: 12px; align-items: start; }
.fc-score { border: 2px solid var(--line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.fc-score > b { font: 600 44px/1 var(--f-d); }
.fc-score { align-self: start; }
.fc-b-ex { border-color: #9ED9C2; } .fc-b-ok { border-color: #C2DDA6; } .fc-b-fair { border-color: #EBD199; } .fc-b-bad { border-color: #EDB0AB; }
.fc-of, .fc-parts, .fc-win { font-size: 13px; color: var(--muted); }
.fc-kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.fc-kv div { background: var(--bg); border-radius: 10px; padding: 8px 10px; } .fc-kv small { display: block; font-size: 12px; color: var(--muted); } .fc-kv b { font-size: 15px; }
.fc-spots { display: grid; gap: 10px; }
.fc-spot { display: grid; grid-template-columns: 150px 1fr 70px; gap: 12px; align-items: center; }
.fc-nm { font-weight: 600; } .fc-tp, .fc-why { font-size: 12px; color: var(--muted); }
.fc-ruler { position: relative; height: 10px; background: #E2ECEE; border-radius: 5px; }
.fc-fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--lagoon); border-radius: 5px; }
.fc-rng { position: absolute; top: -3px; bottom: -3px; border: 2px solid var(--ink); border-radius: 6px; }
.fc-vm { font: 600 15px var(--f-d); text-align: right; }
.fc-cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.fc-tips { margin: 0; padding-left: 18px; font-size: 15px; } .fc-tips li { margin-bottom: 6px; }
.fc-chips { display: flex; flex-wrap: wrap; gap: 6px; } .fc-chip { background: var(--bg); border-radius: 8px; padding: 5px 9px; font-size: 13px; }
.fc-tbl { overflow-x: auto; } .fc-tbl table { border-collapse: collapse; width: 100%; font-size: 13px; min-width: 760px; }
.fc-tbl th, .fc-tbl td { padding: 7px 8px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; } .fc-tbl th { color: var(--muted); font-weight: 600; }
.fc-pill { border-radius: 6px; padding: 2px 7px; font-weight: 700; }
.fc-pill.fc-ex { background: #D5F1E6; color: #0B7351; } .fc-pill.fc-ok { background: #E2F0D3; color: #456F21; } .fc-pill.fc-fair { background: #F8EBCC; color: #8A5E0B; } .fc-pill.fc-bad { background: #F7DAD7; color: #9B2C23; }
.fc-arr { display: inline-block; }
.fc-cta { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 18px; background: var(--ink); color: #E3F0F2; border-radius: 14px; padding: 16px; }
.fc-cta p { margin: 4px 0 0; font-size: 14px; color: #BCD5DA; }
.fc-go { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border-radius: 12px; background: var(--wa); color: #fff !important; font-weight: 600; text-decoration: none; }
.fc-upd { margin: 10px 0 0; }
.fc-state { background: var(--surface); border-radius: 14px; padding: 18px; } .fc-btn { margin-top: 8px; font: 600 15px var(--f-b); border: 0; border-radius: 10px; padding: 10px 16px; background: var(--ink); color: #fff; cursor: pointer; }
.fc-page .seg { display: inline-flex; background: #DCEBEC; border-radius: 10px; padding: 3px; margin: 12px 0 18px; }
.fc-page .seg button { font: 600 15px var(--f-b); border: 0; background: none; padding: 9px 16px; border-radius: 8px; cursor: pointer; color: var(--ink2); }
.fc-page .seg button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.fc-page .fc-body { padding: 0; overflow: visible; }

/* анкета-страница */
.anketa-wrap { max-width: 600px; margin: 0 auto; padding: 32px 16px 80px; }

/* адаптив */
@media (max-width: 980px) {
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; background: var(--surface); padding: 10px 12px 16px; border-bottom: 1px solid var(--line); box-shadow: 0 10px 24px rgba(8, 50, 74, .12); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 12px; font-size: 17px; }
  .burger { display: block; }
  .hdr .btn { display: none; }
  .lang { margin-left: 0; }
  .day, .cols2, .book { grid-template-columns: 1fr; gap: 28px; }
  .ftr .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 44px 0; }
  .wrap { padding: 0 16px; }
  .hero { min-height: 88svh; }
  .hero .wrap { padding-bottom: 30px; }
  .hero .btns .btn { flex: 1 1 100%; }
  .fc-strip { padding: 8px 16px; gap: 10px; font-size: 13px; }
  .fc-s-opt { display: none; }
  .gallery { grid-auto-columns: 74%; padding: 4px 16px 12px; }
  .gallery img { height: 300px; }
  .ftr .wrap { grid-template-columns: 1fr; }
  .form .row2 { grid-template-columns: 1fr; gap: 0; }
  .mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(238, 245, 245, .97); border-top: 1px solid var(--line); }
  .mbar .btn { flex: 1; min-height: 48px; font-size: 16px; padding: 0 10px; }
  .fc-dialog { border-radius: 0; height: 100dvh; width: 100vw; }
  .fc-dhead, .fc-cols { grid-template-columns: 1fr; }
  .fc-spot { grid-template-columns: 1fr 64px; } .fc-spot .fc-barw { grid-column: 1 / -1; grid-row: 2; }
  .ptable thead { display: none; } .ptable, .ptable tbody, .ptable tr, .ptable td { display: block; width: 100%; }
  .ptable tr { border-bottom: 1px solid var(--line); padding: 10px 0; } .ptable td { border: 0; padding: 4px 16px; }
}

/* ===== /qr/ — страница для Google Maps, QR и объявлений ===== */
.qr-hero { position: relative; min-height: min(78svh, 720px); display: flex; align-items: flex-end; color: #fff; background: var(--ink); overflow: hidden; }
.qr-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.qr-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 50, 74, .1) 25%, rgba(8, 50, 74, .85) 70%, rgba(8, 50, 74, .97)); }
.qr-in { position: relative; z-index: 2; width: 100%; max-width: 560px; margin: 0 auto; padding: 120px 20px 32px; box-sizing: border-box; }
.qr-in h1 { font-size: clamp(34px, 8.5vw, 52px); margin-bottom: 14px; text-wrap: balance; }
.qr-in .lead { color: #E3F0F2; margin-bottom: 22px; }
.qr-kicker { color: #CFE4E8; font-size: 15px; margin: 0 0 10px; }
.qr-big { width: 100%; justify-content: center; font-size: 18px; padding: 18px 20px; }
.qr-other { background: var(--sand); text-align: center; padding: 12px 16px; font-size: 15px; }
.qr-other a { font-weight: 600; margin-left: 6px; }
.qr-sec { padding: 28px 0 48px; }
.qr-col { max-width: 560px; margin: 0 auto; padding: 0 20px; }
.qr-col h2 { font-size: 26px; margin: 36px 0 14px; }
.qr-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.qr-chips div { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 8px; text-align: center; }
.qr-chips b { display: block; font: 600 20px/1.2 var(--f-d); color: var(--ink); }
.qr-chips span { display: block; font-size: 13px; line-height: 1.3; color: var(--ink2); margin-top: 4px; }
.qr-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; margin-bottom: 12px; }
.qr-card.main { border: 2px solid var(--buoy); }
.qr-card .flag { position: absolute; top: -12px; left: 16px; background: #FFE3D3; color: #9A3A0A; font-size: 13px; font-weight: 600; border-radius: 6px; padding: 3px 8px; }
.qr-card-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.qr-card h3 { font-size: 19px; margin: 0 0 2px; }
.qr-card .amt { text-align: right; white-space: nowrap; font: 600 26px/1 var(--f-d); color: var(--ink); }
.qr-card .amt small { display: block; font: 500 12px var(--f-b); color: var(--muted); margin-top: 4px; }
.qr-card .checks { margin: 12px 0 14px; }
.qr-card .btn { width: 100%; justify-content: center; }
.qr-small { font-size: 14px; }
.qr-steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 8px; }
.qr-steps li { counter-increment: s; display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-weight: 500; }
.qr-steps li::before { content: counter(s); flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font: 600 15px/32px var(--f-d); text-align: center; }
.qr-links { display: grid; gap: 10px; }
.qr-links .btn { width: 100%; justify-content: center; }
.qr-links .btn.light { box-shadow: inset 0 0 0 2px var(--ink); }
.qr-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; background: rgba(238, 245, 245, .96); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.qr-top .logo { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 600 16px var(--f-d); }
.qr-top .logo img { border-radius: 50%; }
.qr-lang { display: flex; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); }
.qr-lang button { min-width: 52px; min-height: 44px; border: 0; background: none; font: 600 15px var(--f-b); color: var(--ink2); cursor: pointer; }
.qr-lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.qr-h1 { font: 600 clamp(34px, 8.5vw, 52px)/1.08 var(--f-d); margin: 0 0 14px; text-wrap: balance; }
.qr-sites { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.qr-sites a { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 14px; background: var(--ink); color: #fff; text-decoration: none; }
.qr-sites b { font: 600 17px var(--f-d); }
.qr-sites span { font-size: 14px; color: #CFE4E8; }
.pg-qr { padding-bottom: 88px; }
.qr-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: linear-gradient(rgba(238, 245, 245, 0), rgba(238, 245, 245, .96) 40%); }
.qr-sticky .btn { width: 100%; max-width: 520px; margin: 0 auto; justify-content: center; display: flex; font-size: 17px; }
