/* «Фрегат» — v1, 13.09.2026. Морская палитра: глубокий синий, белый парус, закатный оранжевый. */
:root {
  --navy: #0F2A44;
  --navy-2: #1B4468;
  --sky: #DCEBF5;
  --foam: #F3F8FB;
  --paper: #FFFFFF;
  --ink: #0E2033;
  --muted: #52657A;
  --line: #D6E2EB;
  --sun: #F59A3C;
  --sun-hover: #E98A28;
  --sun-ink: #231202;
  --teal: #1F7A8C;
  --error: #B42318;
  --ok: #1D7A3E;
  --serif: "Prata", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", Arial, sans-serif;
  --r: 14px;
  --r-lg: 24px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; text-wrap: balance; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.005em; }
h1 { font-size: clamp(2.2rem, 1.3rem + 3vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.6rem); }
h3 { font: 700 1.125rem/1.3 var(--sans); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
section[id] { scroll-margin-top: 84px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.kicker { font: 700 .8125rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #F9C58B; }
.kicker-dark { color: var(--teal); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .15s, border-color .15s; }
.btn .ico { width: 18px; height: 18px; }
.btn-sun { background: var(--sun); color: var(--sun-ink); }
.btn-sun:hover { background: var(--sun-hover); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-line { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-line:hover { border-color: var(--navy); }
.btn-block { width: 100%; min-height: 56px; font-size: 1.0625rem; }

/* шапка */
.hdr { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--line); }
.hdr-in { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-img { width: 52px; height: auto; }
.logo-img-ftr { width: 56px; }
.logo-word { display: flex; flex-direction: column; line-height: 1.1; }
.logo-word b { font: 400 1.5rem/1 var(--serif); color: var(--navy); }
.logo-word span { font-size: .75rem; color: var(--muted); letter-spacing: .04em; }
.hdr-nav { display: flex; gap: 26px; margin-left: 20px; }
.hdr-nav a { text-decoration: none; font-weight: 600; font-size: .9375rem; }
.hdr-nav a:hover { color: var(--teal); }
.hdr-contact { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; line-height: 1.25; }
.hdr-tel { font: 800 1.125rem/1.2 var(--sans); text-decoration: none; white-space: nowrap; }
.hdr-addr { font-size: .8125rem; color: var(--muted); }
.hdr-call { display: none; }

/* hero */
.hero { position: relative; overflow: hidden; color: #fff; background: #0F2A44; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(9,26,46,.78) 0%, rgba(9,26,46,.62) 30%, rgba(9,26,46,.22) 48%, rgba(9,26,46,0) 58%), linear-gradient(180deg, rgba(9,26,46,.35) 0%, rgba(9,26,46,0) 40%); pointer-events: none; }
.hero-copy { text-shadow: 0 1px 2px rgba(5,18,32,.55), 0 2px 18px rgba(5,18,32,.45); }
.hero-sky { position: absolute; inset: 0; pointer-events: none; }
/* сцена из слоёв Astra: небо и море, корабль стоит на месте и качается, передние волны ходят */
.hs-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.hs-glow { position: absolute; left: 54%; top: 72%; width: 36vw; height: 36vw; border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(255, 214, 140, .34) 0%, rgba(255, 190, 110, 0) 62%); }
.hs-ship { position: absolute; z-index: 1; left: 6%; bottom: 5%; width: clamp(280px, 27vw, 430px); transform-origin: 50% 94%; }
/* корпус плавно уходит в воду: низ корпуса и пена под ним растворяются в море за кораблём */
.hs-ship img { display: block; width: 100%; height: auto; -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 6px), transparent 100%); mask-image: linear-gradient(180deg, #000 calc(100% - 6px), transparent 100%); }
.hs-waves { position: absolute; z-index: 1; left: -24px; bottom: -2px; width: calc(100% + 48px); max-width: none; height: calc(5% + 34px); object-fit: cover; object-position: 50% 0; filter: brightness(.72); -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 32px); mask-image: linear-gradient(180deg, transparent 0, #000 32px); }
@media (prefers-reduced-motion: no-preference) {
  .hs-ship { animation: shipBob 6s ease-in-out infinite; }
  .hs-waves { animation: wavesDrift 8s ease-in-out -2s infinite; }
  .hs-glow { animation: sunBreath 7s ease-in-out infinite; }
  .dest-card::before { transition: transform .7s cubic-bezier(.2,.7,.2,1); }
  .dest-card:hover::before { transform: scale(1.06); }
}
@keyframes shipBob { 0%, 100% { transform: translateY(3px) rotate(-.6deg); } 50% { transform: translateY(-3px) rotate(.6deg); } }
@keyframes wavesDrift { 0%, 100% { transform: translateX(-8px); } 50% { transform: translateX(8px); } }
@keyframes sunBreath { 0%, 100% { opacity: .7; } 50% { opacity: 1; } }
@keyframes shipBobM { 0%, 100% { transform: translateY(2px) rotate(-.35deg); } 50% { transform: translateY(-2px) rotate(.35deg); } }
@keyframes wavesDriftM { 0%, 100% { transform: translateX(-4px); } 50% { transform: translateX(4px); } }
.motion-ready .reveal { opacity: 0; transform: translateY(8px); transition: opacity .28s ease-out, transform .28s ease-out; transition-delay: calc(var(--i, 0) * 40ms); }
.motion-ready .reveal.is-in { opacity: 1; transform: none; }
.hero-in { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 460px; gap: 56px; align-items: start; padding-top: 72px; padding-bottom: 96px; }
.hero-copy { display: grid; gap: 20px; align-content: start; padding-bottom: 260px; }
.hero h1 { color: #fff; max-width: 13ch; }
.hero-lede { font-size: 1.1875rem; color: rgba(255,255,255,.9); max-width: 46ch; }
.hero-points { display: grid; gap: 10px; margin-top: 6px; }
.hero-points li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.hero-points .ico { color: #FFD9A0; margin-top: 3px; }

/* форма */
.pick { background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: 30px; box-shadow: 0 30px 70px rgba(8,22,38,.35); display: grid; gap: 14px; }
.pick-title { font-size: 1.75rem; }
.pick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.f { display: grid; gap: 5px; min-width: 0; }
.f label, .f legend { font-weight: 700; font-size: .875rem; }
.f select, .f input[type="tel"] { width: 100%; min-height: 50px; padding: 0 14px; border: 1.5px solid #C5D3DE; border-radius: 12px; background: #fff; font: 500 1rem/1 var(--sans); color: var(--ink); }
.f select { appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%230F2A44' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; text-overflow: ellipsis; }
.f select:focus, .f input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(31,122,140,.18); }
/* поля-кнопки: даты и туристы */
.f-label { font-weight: 700; font-size: .875rem; }
.f-span { grid-column: 1 / -1; }
.f-trigger { width: 100%; min-height: 50px; padding: 0 36px 0 14px; border: 1.5px solid #C5D3DE; border-radius: 12px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%230F2A44' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center / 18px no-repeat; text-align: left; font: 500 1rem/1.25 var(--sans); color: var(--ink); cursor: pointer; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; transition: border-color .15s; }
.f-trigger:hover { border-color: var(--navy-2); }
.f-trigger:focus-visible { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(31,122,140,.18); }
.f-trigger.is-empty { color: var(--muted); }
.is-error .f-trigger { border-color: var(--error); }
.nowrap { white-space: nowrap; }

/* окна: календарь, туристы, документы */
html.has-modal { overflow: hidden; }
.sheet, .doc { border: 0; padding: 0; color: var(--ink); background: #fff; box-shadow: 0 30px 80px rgba(8,22,38,.35); }
.sheet { width: min(680px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); border-radius: 22px; padding: 22px 26px 24px; overflow: auto; }
.sheet-people { width: min(460px, calc(100vw - 32px)); }
.sheet::backdrop, .doc::backdrop { background: rgba(9,26,46,.55); }
@media (prefers-reduced-motion: no-preference) {
  .sheet[open], .doc[open] { animation: sheetIn .24s cubic-bezier(.2,.7,.2,1); }
}
@keyframes sheetIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.sheet-head, .doc-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.sheet-head h2, .doc-head h2 { font-size: 1.5rem; }
.sheet-close { flex: none; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--foam); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.sheet-close:hover { background: var(--sky); }
.sheet-foot { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.cal-hint { margin: 6px 0 14px; color: var(--muted); font-size: .9375rem; }
.cal-hint.is-error { color: var(--error); font-weight: 600; }
.office-hours { margin-top: 10px; color: var(--muted); font-size: .9375rem; }
.cal { position: relative; }
.cal-months { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.cal-nav { position: absolute; top: 0; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border: 1.5px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer; }
.cal-nav:hover:not(:disabled) { border-color: var(--navy); }
.cal-nav:disabled { opacity: .35; cursor: default; }
.cal-nav .ico { width: 18px; height: 18px; }
.cal-prev { left: 0; } .cal-prev .ico { transform: rotate(180deg); }
.cal-next { right: 0; }
.cal-title { line-height: 40px; text-align: center; font-weight: 800; }
.cal-week, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal-week span { padding: 8px 0 6px; text-align: center; font-size: .75rem; font-weight: 700; color: var(--muted); }
.cal-week span:nth-child(n+6) { color: #B45309; }
.cal-day { position: relative; height: 42px; border: 0; border-radius: 10px; background: none; font-weight: 600; font-variant-numeric: tabular-nums; cursor: pointer; }
@media (hover: hover) { .cal-day:hover:not(:disabled) { background: var(--foam); } }
.cal-day:disabled { color: #B8C4CE; cursor: default; }
.cal-day.in-range, .cal-day.in-range:hover { border-radius: 0; background: #E1EDF5; }
.cal-day.is-start, .cal-day.is-end, .cal-day.is-start:hover, .cal-day.is-end:hover { background: var(--navy); color: #fff; }
.cal-day.is-start { border-radius: 10px 0 0 10px; }
.cal-day.is-end { border-radius: 0 10px 10px 0; }
.cal-day.is-start.is-end { border-radius: 10px; }
.cal-day.is-today::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--sun); }
.chk { display: inline-flex; gap: 10px; align-items: center; margin-top: 14px; font-weight: 600; cursor: pointer; }
.chk input { width: 18px; height: 18px; accent-color: var(--navy); }
.step-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.step-row b { display: block; }
.step-row small { color: var(--muted); font-size: .8125rem; }
.stepper { display: flex; align-items: center; gap: 14px; }
.stepper button { width: 44px; height: 44px; border: 1.5px solid #C5D3DE; border-radius: 50%; background: #fff; font-size: 1.375rem; line-height: 1; cursor: pointer; }
.stepper button:hover:not(:disabled) { border-color: var(--navy); }
.stepper button:disabled { opacity: .35; cursor: default; }
.stepper output { min-width: 2ch; text-align: center; font-size: 1.125rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.kids { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 14px; }
.kids:empty { display: none; }
.kids .f select { min-height: 46px; }
.kids .is-error select { border-color: var(--error); }
.kids-hint { margin-top: 10px; color: var(--muted); font-size: .8125rem; }
.kids-err { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: #FDECEA; color: var(--error); font-size: .875rem; font-weight: 600; }
.doc { width: min(720px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); border-radius: 20px; overflow: auto; }
.doc-head { position: sticky; top: 0; padding: 18px 24px; background: #fff; border-bottom: 1px solid var(--line); }
.doc-head h2 { font-size: 1.375rem; }
.doc-body { display: grid; gap: 10px; padding: 18px 24px 26px; font-size: .9375rem; }
.doc-body h3 { margin-top: 8px; }
.doc-date { color: var(--muted); font-size: .8125rem; }
.inline-link { padding: 0; border: 0; background: none; color: var(--teal); font: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.inline-link:hover { color: var(--navy); }
@media (max-width: 720px) { .cal-months { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .sheet, .doc { width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: 22px 22px 0 0; max-height: 90dvh; }
  .sheet { padding: 18px 18px calc(18px + env(safe-area-inset-bottom)); }
  .sheet-foot .btn { flex: 1; }
  .kids { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 560px) {
  .sheet[open], .doc[open] { animation: sheetUp .26s cubic-bezier(.2,.7,.2,1); }
}
@keyframes sheetUp { from { transform: translateY(40px); opacity: .6; } to { transform: none; opacity: 1; } }

.reply { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.reply legend { width: 100%; margin-bottom: 6px; }
.reply label { position: relative; cursor: pointer; }
.reply input { position: absolute; opacity: 0; }
.reply span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border: 1.5px solid #C5D3DE; border-radius: 999px; font-weight: 600; font-size: .9375rem; }
.reply input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.reply input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.err { display: none; color: var(--error); font-size: .8125rem; }
.is-error input[type="tel"] { border-color: var(--error); }
.is-error .err { display: block; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .8125rem !important; font-weight: 500 !important; color: var(--muted); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--navy); flex: none; }
.pick-fine { font-size: .8125rem; color: var(--muted); text-align: center; }
.hp { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; border: 0; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.status { padding: 12px 14px; border-radius: 12px; font-size: .9375rem; }
.status.is-ok { background: #E7F4EA; color: var(--ok); }
.status.is-fail { background: #FDECEA; color: var(--error); }
.status a { color: inherit; font-weight: 700; }

/* доверие */
.trust { background: var(--navy); color: #fff; }
.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 26px; padding-bottom: 26px; }
.trust p { display: flex; gap: 14px; align-items: flex-start; }
.trust .ico { width: 24px; height: 24px; color: #F9C58B; margin-top: 2px; }
.trust b { display: block; font-weight: 700; }
.trust span { color: rgba(255,255,255,.78); font-size: .9375rem; }

/* секции */
.sec { padding: 96px 0; }
.sec-tint { background: var(--foam); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 40px; }
.sec-head p { color: var(--muted); max-width: 40ch; text-align: right; }

/* направления: иллюстрации Astra, текст на тёмной нижней части */
.dest { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dest-card { position: relative; display: grid; gap: 6px; align-content: end; min-height: 340px; padding: 24px; border: 0; border-radius: var(--r-lg); text-align: left; color: #fff; cursor: pointer; overflow: hidden;
  background: #0F2A44 var(--img) center top / cover no-repeat; transition: transform .15s, box-shadow .15s; }
.dest-card::before { content: ""; position: absolute; inset: 0; background: var(--img) center top / cover no-repeat; }
.dest-any::before { display: none; }
.dest-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,42,68,0) 35%, rgba(15,42,68,.55) 62%, rgba(15,42,68,.92) 100%); }
.dest-card > * { position: relative; z-index: 1; }
@media (hover: hover) { .dest-card:hover { transform: translateY(-1px); box-shadow: 0 16px 36px rgba(15,42,68,.22); } }
.dest-card h3 { font: 400 2rem/1.1 var(--serif); }
.dest-card p { color: rgba(255,255,255,.9); }
.dest-go { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; margin-top: 6px; }
.dest-any { background: #fff; color: var(--navy); border: 2px dashed #B9CAD8; }
.dest-any::after { display: none; }
.dest-any p { color: var(--muted); }
.dest-any .dest-tag { position: static; display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: .8125rem; font-weight: 600; justify-self: start; margin-bottom: 8px; background: var(--foam); color: var(--navy); backdrop-filter: none; }
.dest-any { grid-column: 1 / -1; min-height: 0; grid-template-columns: 1fr minmax(240px, 380px); align-items: center; align-content: center; gap: 32px; padding: 28px 40px; }
.dest-any-text { display: grid; gap: 8px; justify-items: start; max-width: 52ch; }
.dest-any-art { width: 100%; height: auto; mix-blend-mode: multiply; transition: transform .5s; }
@media (hover: hover) { .dest-any:hover .dest-any-art { transform: rotate(-2deg) scale(1.03); } }

/* как подбираем */
.how { display: grid; grid-template-columns: 1fr 2fr; gap: 56px; }
.how-head { display: grid; gap: 14px; align-content: start; }
.how-head p { color: var(--muted); font-size: 1.0625rem; }
.how-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.how-steps li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; background: #fff; border-radius: var(--r-lg); padding: 24px; }
.how-steps li > span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: #fff; font: 400 1.25rem/1 var(--serif); }
.how-steps p { color: var(--muted); margin-top: 4px; }

/* почему */
.why h2 { max-width: 22ch; margin-bottom: 40px; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-grid article { display: grid; gap: 10px; align-content: start; padding-top: 22px; border-top: 3px solid var(--navy); }
.why-grid .ico { width: 30px; height: 30px; color: var(--teal); stroke-width: 1.8; }
.why-grid p { color: var(--muted); }


/* круизы */
.cruise { background: var(--navy); color: #fff; }
.cruise-in { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.cruise-copy { display: grid; gap: 18px; justify-items: start; }
.cruise h2 { color: #fff; }
.cruise .kicker { color: #F9C58B; }
.cruise-lede { max-width: 48ch; color: rgba(255,255,255,.86); font-size: 1.125rem; }
.cruise-points { display: grid; gap: 14px; margin: 4px 0; }
.cruise-points li { display: flex; gap: 14px; align-items: flex-start; }
.cruise-points .ico { flex: none; width: 24px; height: 24px; margin-top: 2px; color: #F9C58B; }
.cruise-points span { color: rgba(255,255,255,.78); }
.cruise-points b { display: block; color: #fff; }
.cruise-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 6px; }
.cruise-tel { display: inline-flex; gap: 10px; align-items: center; color: #fff; font-weight: 800; font-size: 1.25rem; text-decoration: none; }
.cruise-tel .ico { color: #F9C58B; }
.cruise-art img { width: 100%; border-radius: var(--r-lg); box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.ftr-legal p + p { margin-top: 6px; }
.ftr-docs { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.ftr .inline-link { color: rgba(255,255,255,.8); }
.ftr .inline-link:hover { color: #fff; }

/* офис */
.office { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.office-art { position: relative; padding-bottom: 56px; }
.office-pic { display: block; width: 100%; height: auto; border-radius: var(--r-lg); box-shadow: 0 24px 50px rgba(15,42,68,.18); }
.office-map { position: absolute; right: -20px; bottom: 0; width: 46%; border: 5px solid #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 16px 36px rgba(15,42,68,.25); transition: transform .2s; }
.office-map img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
@media (hover: hover) { .office-map:hover { transform: translateY(-3px); } }
.office-info { display: grid; gap: 16px; justify-items: start; }
.office-info > p { color: var(--muted); font-size: 1.0625rem; }
.office-mail { display: block; width: fit-content; margin-top: 12px; font-weight: 600; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.office-mail:hover { color: var(--ink, #10213A); text-decoration-thickness: 2px; }
.office-tel { display: inline-flex; align-items: center; gap: 10px; font: 800 1.5rem/1 var(--sans); text-decoration: none; color: var(--navy); }
.office-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.map-credit { font-size: .75rem !important; }

/* вопросы */
.faq-wrap { display: grid; grid-template-columns: 1fr 2fr; gap: 56px; align-items: start; }
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-weight: 700; font-size: 1.0625rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 400 1.75rem/1 var(--serif); color: var(--teal); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 64ch; }

/* подвал */
.ftr { background: var(--navy); color: #fff; padding: 48px 0 28px; }
.ftr-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.ftr-brand { display: flex; gap: 14px; align-items: center; }
.ftr-brand b { font: 400 1.5rem/1 var(--serif); }
.ftr-brand p { color: rgba(255,255,255,.7); font-size: .9375rem; margin-top: 4px; }
.logo-mark-light { background: #fff; border: 0; }
.ftr-contacts { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; }
.ftr-contacts a { font-weight: 700; text-decoration: none; white-space: nowrap; }
.ftr-contacts a:first-child { font-size: 1.25rem; }
.ftr-legal { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.6); font-size: .8125rem; }

.dock { display: none; }

@media (max-width: 1080px) {
  .hdr-nav { display: none; }
  .hero-in { grid-template-columns: 1fr 420px; gap: 32px; }
  .why-grid { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .how { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 860px) {
  .wrap { padding: 0 20px; }
  .hdr-in { min-height: 64px; gap: 12px; }
  .hdr-contact, .hdr-cta { display: none; }
  .hdr-call { display: grid; place-items: center; margin-left: auto; width: 44px; height: 44px; border-radius: 50%; background: var(--foam); color: var(--navy); }
  .logo-img { width: 44px; }
  .hero-in { grid-template-columns: 1fr; margin-top: -28px; padding-top: 0; padding-bottom: 40px; gap: 28px; }
  .hero-copy { padding-bottom: 0; }
  /* телефон: видео полосой над текстом, края растворяются в синий */
  .hero-sky { position: relative; inset: auto; display: block; aspect-ratio: 16 / 9; max-height: 420px; }
  .hero-sky::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 14%; background: linear-gradient(180deg, rgba(22,57,92,0) 0%, #16395C 100%); }
  .hs-ship { left: 7%; bottom: 17%; width: 46%; animation-name: shipBobM; animation-duration: 7s; }
  .hs-waves { bottom: -1px; height: calc(17% + 16px); animation-name: wavesDriftM; animation-duration: 9s; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16px); mask-image: linear-gradient(180deg, transparent 0, #000 16px); }
  .hs-ship img { -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 3px), transparent 100%); mask-image: linear-gradient(180deg, #000 calc(100% - 3px), transparent 100%); }
  .hero-in { row-gap: 18px; }
  .hero-lede { font-size: 1.0625rem; }
  .pick { margin-top: 6px; }
  .hs-glow { top: 70%; width: 70vw; height: 70vw; }
  /* телефон: форма выше списка преимуществ */
  .hero-copy { display: contents; }
  .hero-copy > .kicker { order: 1; } .hero h1 { order: 2; } .hero-lede { order: 3; } .pick { order: 4; } .hero-points { order: 5; }
  .hero::before { display: none; }
  .hero { background: linear-gradient(180deg, #16395C 0%, #1F4E77 55%, #0F2A44 100%); }
  .pick { padding: 22px 18px; }
  .pick-grid { grid-template-columns: 1fr; }
  .trust-row { grid-template-columns: 1fr; gap: 16px; }
  .sec { padding: 64px 0; }
  .sec-head { flex-direction: column; align-items: start; gap: 10px; margin-bottom: 28px; }
  .sec-head p { text-align: left; }
  .dest { grid-template-columns: 1fr 1fr; gap: 12px; }
  .dest-card { min-height: 260px; padding: 18px; }
  .dest-card h3 { font-size: 1.5rem; }
  .dest-card p { font-size: .875rem; }
  .how-steps { grid-template-columns: 1fr; }
  .office { grid-template-columns: 1fr; gap: 24px; }
  .cruise-in { grid-template-columns: 1fr; gap: 28px; }
  .cruise-art { order: -1; }
  .office-art { padding-bottom: 40px; }
  .office-map { right: 10px; width: 52%; border-width: 4px; }
  .dest-any { grid-template-columns: 1fr 180px; gap: 16px; padding: 22px; }
  .faq-wrap { grid-template-columns: 1fr; gap: 20px; }
  .ftr-in { flex-direction: column; align-items: flex-start; }
  .dock { display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -6px 20px rgba(15,42,68,.12); }
  .dock .btn { min-height: 48px; padding: 0 10px; }
  body { padding-bottom: 70px; }
}
@media (max-width: 520px) {
  .dest { grid-template-columns: 1fr; }
  .dest-card { min-height: 280px; }
  .dest-any { grid-template-columns: 1fr; }
  .dest-any-art { order: -1; max-width: 240px; justify-self: center; }
  .why-grid { grid-template-columns: 1fr; }
}

/* согласие на cookie и Метрику (появляется только при подключённом счётчике) */
.consent-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70; display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 780px; margin: 0 auto; padding: 14px 16px 14px 22px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 18px 50px rgba(8, 22, 38, .28); font-size: .9375rem; }
.consent-actions { display: flex; flex: none; gap: 8px; }
.consent-bar .btn { min-height: 42px; padding: 0 18px; }
@media (max-width: 860px) {
  .consent-bar { flex-direction: column; align-items: stretch; bottom: 80px; }
  .consent-actions .btn { flex: 1; }
}
