/* NAOS Marine Service — дизайн-система (чистая переписка, 2026) */

/* ---------- Токены ---------- */
:root {
  --navy: #0a2c5d;
  --navy-2: #113b77;
  --blue: #164b96;
  --blue-hover: #1b58ad;
  --ink: #1a1a1a;
  --muted: #5b6470;
  --bg: #f6f6f6;
  --card: #ffffff;
  --card-grey: #ececec;
  --line: #e5e7eb;
  --r-lg: 30px;
  --r-md: 20px;
  --r-pill: 999px;
  --shadow: 0 10px 30px rgba(10, 44, 93, .10);
  --shadow-lg: 0 18px 44px rgba(10, 44, 93, .16);
  --wrap: 1200px;
  --font: 'Manrope', Arial, sans-serif;
}

/* ---------- База ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; font-weight: 800; }
.h-xl { font-size: clamp(34px, 4vw, 50px); line-height: .92; }
.h-lg { font-size: clamp(26px, 3.4vw, 37px); line-height: .9; letter-spacing: -.055em; font-weight: 700; }
.h-md { font-size: clamp(19px, 2vw, 24px); }
.accent { color: var(--blue); }
.on-dark { color: #fff; }
.lead { font-size: clamp(15px, 1.4vw, 18px); color: var(--muted); }
.eyebrow { font-size: 10.5px; font-weight: 400; letter-spacing: -.4px; color: #d4d4d4; margin-bottom: 30px; }
.section { padding: clamp(44px, 7vw, 84px) 0; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: var(--r-pill);
  font-weight: 700; font-size: 15px; letter-spacing: -.01em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 8px 22px rgba(10,44,93,.28); }
.btn-primary:hover { background: var(--blue-hover); }
.btn-light { background: #fff; color: var(--navy); box-shadow: 0 6px 18px rgba(0,0,0,.10); }
.btn-ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.btn-ghost.on-dark { color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); }
.btn .arr { font-weight: 400; transition: transform .18s ease; }
.btn:hover .arr { transform: translate(2px, -2px); }
.btn-sm { padding: 11px 20px; font-size: 14px; }
.btn-wide { width: 100%; }

/* ---------- Шапка ---------- */
.topbar {
  position: absolute; inset: 20px 0 auto; z-index: 60;
}
.topbar > .wrap { max-width: 1880px; }
.topbar-in {
  display: flex; align-items: center; gap: 10px;
  background: transparent; border-radius: 22px;
  padding: 0; box-shadow: none;
}
.topbar-in .nav a { color: #fff; }
.topbar-in .nav a:hover { color: #bcd0ee; }
.topbar-in .logo img { filter: brightness(0) invert(1); }
.topbar-in .langs { color: rgba(255,255,255,.55); }
.topbar-in .langs a:hover, .topbar-in .langs .cur { color: #fff; }
.topbar-in .msgrs a { background: #fff; }
.topbar-in .msgrs a:hover { background: #dbe6f5; }
.topbar-in .msgrs svg { fill: var(--navy); }
.topbar-in .phone-btn { background: var(--blue); }
.topbar-in .phone-btn:hover { background: var(--blue-hover); }
.topbar-in .burger { background: var(--blue); }
/* фиксированная при прокрутке — белая, как в оригинале */
.topbar.is-fixed .topbar-in { background: #fff; }
.topbar.is-fixed .nav a { color: var(--ink); }
.topbar.is-fixed .nav a:hover { color: var(--blue); }
.topbar.is-fixed .logo img { filter: none; }
.topbar.is-fixed .langs { color: #9aa3ad; }
.topbar.is-fixed .langs a:hover, .topbar.is-fixed .langs .cur { color: var(--navy); }
.topbar.is-fixed .msgrs a { background: var(--navy); }
.topbar.is-fixed .msgrs svg { fill: #fff; }
.topbar.is-fixed .phone-btn { background: var(--navy); }
.topbar.is-fixed { position: fixed; inset: 12px 0 auto; animation: bar-in .25s ease; }
@keyframes bar-in { from { transform: translateY(-24px); opacity: 0; } to { transform: none; opacity: 1; } }
.logo img { height: 29px; width: auto; }
.nav { display: flex; gap: 22px; margin-left: 4px; flex: 0 1 auto; }
.nav a { font-size: 11px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.nav a:hover { color: var(--blue); }
.langs { display: flex; gap: 10px; font-size: 10.5px; font-weight: 700; color: #9aa3ad; margin-left: auto; }
.langs a:hover, .langs .cur { color: var(--navy); }
.msgrs { display: flex; gap: 8px; }
.msgrs a { width: 31px; height: 31px; border-radius: 50%; background: var(--navy);
  display: flex; align-items: center; justify-content: center; transition: background .18s; }
.msgrs a:hover { background: var(--blue-hover); }
.msgrs svg { width: 15px; height: 15px; fill: #fff; }
.phone-btn { background: var(--navy); color: #fff; border-radius: var(--r-pill);
  padding: 8px 18px; font-size: 10.5px; font-weight: 700; white-space: nowrap; }
.phone-btn:hover { background: var(--blue-hover); }
.burger { display: none; width: 42px; height: 42px; border-radius: 50%; background: var(--navy);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px; flex: none; }
.burger span { width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: .2s; }

/* мобильное меню */
.mobmenu { position: fixed; inset: 0; background: var(--navy); z-index: 90;
  display: none; flex-direction: column; padding: 26px 24px; overflow: auto; }
.mobmenu.open { display: flex; }
.mobmenu-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 34px; }
.mobmenu-top img { height: 34px; filter: brightness(0) invert(1); }
.mobmenu-close { color: #fff; font-size: 30px; line-height: 1; padding: 6px 10px; }
.mobmenu nav { display: flex; flex-direction: column; gap: 4px; }
.mobmenu nav a { color: #fff; font-size: 22px; font-weight: 700; padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.12); }
.mobmenu-foot { margin-top: auto; padding-top: 30px; display: flex; flex-direction: column; gap: 14px; }
.mobmenu-foot .langs { color: rgba(255,255,255,.55); }
.mobmenu-foot .langs a:hover, .mobmenu-foot .langs .cur { color: #fff; }
.mobmenu-foot .contact { color: #fff; font-weight: 700; font-size: 18px; }

/* ---------- Хиро ---------- */
.hero { position: relative; display: flex; align-items: flex-end;
  margin: 10px 10px 0; height: min(51vw, 650px); min-height: 560px;
  border-radius: 20px; overflow: hidden; background: var(--navy); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4,18,40,.25) 0%, rgba(4,18,40,.05) 45%, rgba(4,18,40,.55) 100%); }
.hero-in { position: relative; width: 100%; padding: 130px 0 62px; }
.hero-in > .wrap { max-width: 1880px; padding: 0 30px; }
.hero-grid { display: flex; align-items: flex-end; gap: 26px; }
.hero-text { flex: 1 1 auto; color: #fff; max-width: 700px; }
.hero-tag { font-size: 10.5px; opacity: .8; margin-bottom: 20px; font-weight: 600; }
.hero-text p { margin-top: 14px; font-size: 12.5px; line-height: 1.35; opacity: .92; max-width: 350px; }
.hero-cards { display: flex; gap: 9px; flex: none; }
.hero-card { border-radius: 16px; padding: 15px; width: 184px; min-height: 120px;
  display: flex; flex-direction: column; transition: transform .18s ease; }
.hero-card:hover { transform: translateY(-3px); }
.hero-card.navy { background: var(--navy-2); color: #fff; }
.hero-card.light { background: #eef0ec; color: var(--ink); }
.hero-card b { font-size: 12.5px; line-height: 1.3; letter-spacing: -.01em; }
.hero-card small { margin-top: 6px; font-size: 8.5px; opacity: .8; line-height: 1.45; }
.hero-card .go { margin-top: auto; width: 35px; height: 21px; border-radius: var(--r-pill);
  background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 10px; }
.hero-card:hover .go { background: var(--blue-hover); }
.hero-card.light .go { background: #fff; color: var(--navy); box-shadow: var(--shadow); }
.hero-card .map { margin-top: auto; height: 74px; border-radius: 12px; overflow: hidden;
  background: #dfe3da url('/assets/img/map-dots.svg') center/cover no-repeat; position: relative; }
.hero-card .pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -60%);
  font-size: 26px; }

/* ---------- Карточки/сетки ---------- */
.panel { background: var(--card); border-radius: var(--r-lg); padding: clamp(26px, 4vw, 56px); }
.grid { display: grid; gap: 18px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 21px; align-items: start; }

.value-card { background: var(--card-grey); border-radius: var(--r-md); padding: 20px; min-height: 150px; }
.about-grid .value-card { min-height: 0; aspect-ratio: 1 / 1; padding: 20px; border-radius: 16px; display: flex; flex-direction: column; }
.about-grid .value-card b { font-size: clamp(16px, 1.5vw, 18.5px); line-height: 1; letter-spacing: -1px; color: #262e28; }
.about-grid .value-card p { font-size: 10.5px; line-height: 1.35; color: #656565; letter-spacing: -.4px; margin-top: auto; }
.h-grey { color: #e1e2e1; }
.ov-card.photo { min-height: 433px; }
.value-card b { display: block; font-size: 15.5px; margin-bottom: 8px; letter-spacing: -.01em; }
.value-card p { font-size: 13px; color: var(--muted); line-height: 1.5; }
.value-card.navy { background: var(--navy-2); }
.value-card.navy b { color: #fff; }
.value-card.navy p { color: rgba(255,255,255,.8); }
.value-card.photo { padding: 0; overflow: hidden; position: relative; }
.value-card.photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.value-card.photo b { position: relative; color: #fff; padding: 20px; z-index: 1; }
.value-card.photo::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(4,18,40,.55),rgba(4,18,40,.1)); }

/* сервисные карточки (сетка услуг) */
.svc-card { background: #f6f6f6; border-radius: 30px; padding: 0; overflow: hidden;
  display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.svc-card img { width: 100%; aspect-ratio: 368 / 195; object-fit: cover; border-radius: 30px 30px 0 0; }
.svc-card .in { padding: 8px 12px 12px; display: flex; flex-direction: column; flex: 1; }
.svc-card b { font-size: 20px; line-height: 1; letter-spacing: -.025em; color: #000; }
.svc-card .price { margin: 34px 0 22px; margin-top: auto; font-size: 14px; font-weight: 700; color: #515151; }
.svc-card .btn { margin-top: 0; width: 100%; height: 35px; padding: 6px 18px; justify-content: flex-start; gap: 14px; font-size: 14px; font-weight: 600; box-shadow: none; }
.svc-card.wide { background: var(--navy); border-radius: 30px; overflow: hidden; max-width: 66%; }
.svc-card.wide img { aspect-ratio: 743 / 247; border-radius: 0; }
.svc-card.wide b { display: block; background: transparent; color: #fff; padding: 14px 13px 0; font-size: 20px; }
.svc-card.wide .in { padding: 0; }
.svc-card.wide .price { padding: 7px 13px 0; margin: 0 0 21px; color: #fff; font-weight: 700; }
.svc-card.wide .btn { margin: 0 13px 12px; width: calc(100% - 26px); background: #f6f6f6; color: var(--navy); justify-content: space-between; box-shadow: none; }
@media (max-width: 960px) { .svc-card.wide { max-width: 100%; } }

/* карточки-обзор (белая/тёмная/фото) */
.ov-card { border-radius: 15px; padding: 20px; display: flex; flex-direction: column; min-height: 212px; }
.ov-card b { font-size: 18.5px; line-height: 1; letter-spacing: -.055em; margin-bottom: 38px; }
.ov-card p { font-size: 10.5px; color: #656565; line-height: 1.35; letter-spacing: -.4px; }
.ov-card .btn { margin-top: auto; align-self: flex-start; }
.ov-card.white { background: #fff; box-shadow: inset 0 0 0 1px #000; }
.ov-card.navy { background: var(--navy-2); }
.ov-card.navy b { color: #fff; }
.ov-card.navy p { color: #fff; }
.ov-card.photo { position: relative; overflow: hidden; color: #fff; justify-content: flex-end; }
.ov-card.photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ov-card.photo::before { content:""; position:absolute; inset:0; background: rgba(0,0,0,.5); }
.ov-card.photo b, .ov-card.photo p, .ov-card.photo .btn { position: relative; }
.ov-card.photo b { color:#fff; }
.ov-card.photo p { color: rgba(255,255,255,.85); }

/* тёмная секция доверия */
.dark-sec { position: relative; border-radius: var(--r-md); overflow: hidden; color: #fff;
  padding: clamp(30px, 5vw, 50px) clamp(20px, 2.4vw, 30px) clamp(40px, 18vw, 230px); background: var(--navy); }
.dark-sec > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left bottom; opacity: 1; filter: brightness(.6); }
.dark-sec::before { content:""; position:absolute; inset:0; background:none; }
.dark-sec > * { position: relative; }
@media (min-width: 961px) {
  .grid.trust-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .grid.trust-grid .tcard:nth-child(1) { grid-area: 1 / 1; }
  .grid.trust-grid .tcard:nth-child(2) { grid-area: 2 / 2; }
  .grid.trust-grid .tcard:nth-child(3) { grid-area: 1 / 3; }
  .grid.trust-grid .tcard:nth-child(4) { grid-area: 1 / 4; }
  .grid.trust-grid .tcard:nth-child(5) { grid-area: 2 / 4; }
}
.tcard { background: rgba(255,255,255,.15); border: 0;
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); border-radius: 15px; padding: 20px 18px 18px; min-height: 150px; position: relative; }
.tcard b { display: block; font-size: 18px; line-height: 1; letter-spacing: -1px; font-weight: 700; margin-bottom: 18px; padding-right: 64px; }
.tcard b .dot { position: absolute; top: 19px; right: 20px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--navy-2); color: #4d83ff; display: flex; align-items: center; justify-content: center; font-size: 12px; line-height: 1; }
.tcard p { font-size: 10px; color: #fff; letter-spacing: -.4px; line-height: 1.35; }

/* шаги */
.step { background: var(--card-grey); border-radius: 15px; padding: 20px; display: flex; gap: 20px; }
.steps-cta { display: flex; justify-content: space-between; align-items: center; width: 100%;
  background: var(--navy-2); border-radius: var(--r-pill); padding: 10px 24px; margin-top: 10px;
  font-weight: 600; font-size: 14.5px; letter-spacing: -.028em; color: #fff; transition: background .18s; }
.steps-cta:hover { background: #0d3266; }
.steps-cta .arr { width: auto; height: auto; border-radius: 0; background: transparent; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 15px; }
.step .n { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--navy);
  color: #fff; font-weight: 800; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.step b { display: block; font-size: 18.5px; line-height: 1; letter-spacing: -.055em; margin-bottom: 0; }
.step p { font-size: 10.5px; color: #656565; line-height: 1.35; letter-spacing: -.025em; }

/* тарифы */
.plan { background: transparent; display: flex; flex-direction: column; }
.plan .cover { height: 248px; position: relative; display: flex; align-items: center; justify-content: flex-start;
  border-radius: var(--r-md); overflow: hidden; }
.plan .cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.plan .cover span { position: relative; color: #fff; font-size: 28px; font-weight: 800; letter-spacing: -.02em;
  padding-left: 26px; text-shadow: 0 2px 14px rgba(0,0,0,.25); }
.plan .in { padding: 18px 2px 0; display: flex; flex-direction: column; flex: 1; }
.plan b { font-size: 25px; line-height: 1; letter-spacing: -.02em; }
.plan .price { color: var(--blue); font-weight: 800; margin: 6px 0 10px; }
.plan p { font-size: 14.5px; color: #1a1a1a; line-height: 1.3; margin-bottom: 16px; }
.plan ul { list-style: none; margin: 0 0 16px; display: flex; flex-direction: column; gap: 7px; }
.plan ul li { font-size: 13.5px; padding-left: 22px; position: relative; }
.plan ul li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 800; }
.plan .btn { margin-top: auto; align-self: flex-start; background: #164b96; color: #fff; box-shadow: none; font-weight: 400; padding: 12px 30px; }

/* ---------- Формы и попапы ---------- */
.popup { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 18px; }
.popup.open { display: flex; }
.popup .veil { position: absolute; inset: 0; background: rgba(4,14,32,.62); }
.popup .box { position: relative; background: #fff; border-radius: var(--r-md); width: 100%;
  max-width: 480px; max-height: 92vh; overflow: auto; padding: 30px 28px; animation: pop-in .22s ease; }
@keyframes pop-in { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
.popup .x { position: absolute; top: 14px; right: 16px; font-size: 26px; line-height: 1; color: #9aa3ad; padding: 4px 8px; }
.popup h3 { font-size: 22px; margin-bottom: 6px; letter-spacing: -.02em; }
.popup .sub { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15px; padding: 13px 14px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); border-color: transparent; }
.field .err { display: none; color: #c62828; font-size: 12.5px; margin-top: 5px; }
.field.bad input, .field.bad select { border-color: #c62828; }
.field.bad .err { display: block; }
.hp { position: absolute; left: -5000px; opacity: 0; pointer-events: none; }
.consent { font-size: 12px; color: #9aa3ad; margin-top: 12px; }
.consent a { color: var(--blue); }
.form-ok { display: none; text-align: center; padding: 26px 0 10px; }
.form-ok .ico { font-size: 42px; margin-bottom: 10px; }
.form-ok b { display: block; font-size: 19px; margin-bottom: 6px; }
.form-ok p { font-size: 14px; color: var(--muted); }
form.sent .form-fields { display: none; }
form.sent .form-ok { display: block; }

/* ---------- Футер ---------- */
footer.site { background: var(--navy); color: #cfd8e8; border-radius: var(--r-lg) var(--r-lg) 0 0;
  margin-top: clamp(30px, 5vw, 60px); }
.foot-top { display: flex; justify-content: center; padding: 40px 0 8px; }
.foot-top img { height: 44px; filter: brightness(0) invert(1); }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 26px;
  padding: 30px 0 34px; font-size: 13.5px; }
.foot-grid h4 { color: #fff; font-size: 14px; margin-bottom: 12px; }
.foot-grid a { display: block; padding: 3px 0; color: #cfd8e8; }
.foot-grid a:hover { color: #fff; }
.foot-note { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 0 22px;
  font-size: 12px; color: #93a3bd; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-msgrs { display: flex; gap: 10px; margin-top: 12px; }
.foot-msgrs a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center; }
.foot-msgrs a:hover { background: rgba(255,255,255,.24); }
.foot-msgrs svg { width: 17px; height: 17px; fill: #fff; }

/* ---------- Плавающая кнопка ---------- */
.naos-fab { position: fixed; right: 22px; bottom: 22px; z-index: 80;
  display: flex; align-items: center; gap: 10px; padding: 15px 24px; border-radius: var(--r-pill);
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%); color: #fff !important;
  font-weight: 700; font-size: 15px; letter-spacing: -.01em;
  box-shadow: 0 10px 30px rgba(10,44,93,.45); transition: transform .2s, box-shadow .2s; }
.naos-fab::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-pill);
  animation: fab-pulse 2.8s ease-out infinite; pointer-events: none; }
.naos-fab:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(10,44,93,.5); }
.naos-fab svg { width: 20px; height: 20px; fill: #fff; flex: none; }
@keyframes fab-pulse { 0% { box-shadow: 0 0 0 0 rgba(22,75,150,.5); } 70% { box-shadow: 0 0 0 18px rgba(22,75,150,0); } 100% { box-shadow: 0 0 0 0 rgba(22,75,150,0); } }

/* ---------- Прочее ---------- */
.center { text-align: center; }
.mt-lg { margin-top: clamp(24px, 3.5vw, 44px); }
.mt-md { margin-top: 20px; }
.sec-head { margin-bottom: clamp(20px, 3vw, 36px); max-width: 760px; }
.sec-head.split-head { display: flex; justify-content: space-between; gap: 40px; max-width: none; align-items: flex-start; }
.sec-head.split-head .lead { max-width: 420px; padding-top: 8px; }

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: flex; }
  .topbar .langs, .topbar .msgrs { display: none; }
}
@media (max-width: 960px) {
  .g3, .g4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .hero-grid { flex-direction: column; align-items: stretch; }
  .hero-cards { width: 100%; }
  .hero-card { flex: 1; width: auto; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .svc-card.wide { flex-direction: column; }
  .svc-card.wide img { width: 100%; height: 190px; min-height: 0; }
  .sec-head.split-head { flex-direction: column; gap: 10px; }
}
@media (max-width: 620px) {
  .g3, .g4, .g2 { grid-template-columns: 1fr; }
  .hero-cards { flex-direction: column; }
  .hero-in { padding-top: 104px; }
  .topbar-in { padding: 8px 10px 8px 16px; }
  .phone-btn { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
  .naos-fab { right: 14px; bottom: 14px; padding: 13px 18px; font-size: 14px; }
  .ov-card.photo { min-height: 320px; }
}
@media (prefers-reduced-motion: reduce) {
  .naos-fab::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Доп. раскладки ---------- */
.ov-grid { display: grid; grid-template-columns: 1fr 1fr 2.06fr 2.06fr; gap: 10px; align-items: start; }
.ov-col { display: flex; flex-direction: column; gap: 18px; }
.about-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.gua-split { display: grid; grid-template-columns: 1.25fr 1fr; gap: 22px; align-items: stretch; }
.gua-photo { position: relative; border-radius: var(--r-md); overflow: hidden; min-height: 300px;
  display: flex; align-items: flex-end; padding: 20px; }
.gua-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gua-photo .btn { position: relative; }
.hero video { width: 100%; height: 100%; object-fit: cover; }
.hero video.mob { display: none; }
@media (max-width: 960px) {
  .ov-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: repeat(3, 1fr); }
  .gua-split { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .ov-grid, .about-grid { grid-template-columns: 1fr; }
  .hero video.desk { display: none; }
  .hero video.mob { display: block; }
}
.hero-bg img.poster-m { display: none; }
@media (min-width: 621px) { .hero-bg img.poster-m { display: none !important; } }


/* ---------- Попиксельные правки (агенты зон) ---------- */

/* hero */
#about { padding-top: 0; }
#about .panel { position: relative; margin-top: -20px; }

/* hero */
.topbar-in .logo { flex: none; display: flex; align-items: center; justify-content: center;
  width: 100px; height: 40px; background: var(--navy-2); border-radius: var(--r-pill); }
.topbar-in .nav { background: var(--navy); border-radius: var(--r-pill); height: 40px;
  align-items: center; padding: 0 24px; }
.tb-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.tb-right .langs { color: rgba(255,255,255,.55); margin-right: 8px; }
.tb-right .langs a:hover, .tb-right .langs .cur { color: #fff; }
.topbar.is-fixed .tb-right .langs { color: #9aa3ad; }
.topbar.is-fixed .tb-right .langs a:hover, .topbar.is-fixed .tb-right .langs .cur { color: var(--navy); }
.tb-right .phone-btn { background: var(--blue); }
.tb-right .phone-btn:hover { background: var(--blue-hover); }
.topbar.is-fixed .tb-right .phone-btn { background: var(--navy); }
.tb-right .langs { margin-left: 0; }
.topbar.is-fixed .topbar-in { padding: 8px 16px; }
.topbar.is-fixed .topbar-in .logo { background: transparent; width: auto; }
.topbar.is-fixed .topbar-in .nav { background: transparent; }
.topbar.is-fixed .tb-right { background: transparent; padding: 0; }

/* hero */
.hero-card.light { background: #e9ece3 url('/assets/img/map-dots.svg') center / cover no-repeat; }
.hero-card.light .map { background: none; height: 0; margin: 0; border-radius: 0; }

/* about */
/* Зона «Обслужваме така…» (#about) — приведение к оригиналу Tilda */
#about .panel { border-radius: 16px; padding: 52px 21px 41px; }

/* about */
#about .h-lg { font-size: clamp(26px, 3vw, 37px); line-height: .8; font-weight: 700; letter-spacing: -2px; color: #262e28; max-width: 566px; }

/* about */
#about .lead { font-size: 12.5px; line-height: 1.35; color: #656565; letter-spacing: -.4px; max-width: 536px; }
#about .lead p:nth-child(3) { margin-top: 17px; }

/* about */
#about .eyebrow { font-size: 10.5px; font-weight: 400; color: #d4d4d4; letter-spacing: -.4px; margin-bottom: 31px; }

/* about */
.about-grid .value-card.navy { position: relative; overflow: hidden; }
.about-grid .value-card.navy b, .about-grid .value-card.navy p { position: relative; z-index: 1; }
.about-grid .value-card.navy b { font-size: 14.5px; letter-spacing: -.6px; margin-bottom: 0; color: #fff; }
.about-grid .value-card.navy p { font-size: 14.5px; font-weight: 700; line-height: 1; letter-spacing: -.6px; color: #fff; margin-top: 0; }
.about-grid .value-card.navy::after { content: ""; position: absolute; left: 3px; top: 57px; width: 158px; height: 158px; background: url('/assets/img/free-icon-yacht-8304-53dedf70.png') center / contain no-repeat; opacity: .3; transform: rotate(-10deg); pointer-events: none; }

/* about */
#about .about-grid { margin-top: 50px; }

/* about */
@media (max-width: 620px) { .about-grid .value-card { aspect-ratio: auto; min-height: 150px; } }

/* ovgrid */
/* Секция «Всичко, от което се нуждае…» — приведение к Tilda-оригиналу */
.ov-card .btn { width: 100%; align-self: stretch; justify-content: space-between; height: 26px; padding: 0 12px 0 14px; font-size: 10.5px; font-weight: 600; letter-spacing: -.4px; }
.ov-card.white .btn, .ov-card.navy .btn { background: var(--blue); color: #fff; box-shadow: none; }
.ov-card.white .btn:hover, .ov-card.navy .btn:hover { background: var(--blue-hover); }
.ov-card.photo .btn { background: #fff; color: var(--blue); box-shadow: none; margin-top: 15px; }
.ov-grid > .ov-card:nth-child(2) { background: #061a38; }
.ov-card.photo b { margin-bottom: auto; }
.ov-card.photo p { color: #fff; font-weight: 500; }
.h-blue { color: #5e7493; }
#services .sec-head.split-head { margin-bottom: 8px; }
#services .sec-head.split-head .lead { max-width: 459px; margin-right: 115px; padding-top: 15px; font-size: 12.5px; line-height: 1.35; letter-spacing: -.4px; color: #656565; }
@media (max-width: 960px) { #services .sec-head.split-head .lead { margin-right: 0; max-width: none; } }

/* svc */
.sec-white { background: #fff; border-radius: 30px; padding: 50px 0 64px; }

/* svc */
.grid.g3:has(> .svc-card) { column-gap: 48px; row-gap: 20px; }

/* trust */
/* тёмная секция «Доверете ни се…» — типографика и ширина как в Tilda */
@media (min-width: 961px) {
  .dark-sec { margin: 0 -30px; }
  .dark-sec .sec-head { max-width: 590px; margin-bottom: 0; }
  .dark-sec .h-lg { font-size: 36px; line-height: .8; letter-spacing: -2px; font-weight: 700; }
  .dark-sec .eyebrow { font-size: 10px; font-weight: 400; letter-spacing: -.4px; margin-bottom: 35px; }
}

/* tail */
.step > div { display: grid; grid-template-columns: 215px 1fr; column-gap: 30px; align-items: start; flex: 1; }
.grid.g2 { gap: 11px; }

/* tail */
.plan .cover span { display: none; }

/* tail */
.plan .btn .arr { display: none; }
.plan .btn:hover { background: #1b58ad; }

/* tail */
.gua-split .value-card { background: #fff; box-shadow: inset 0 0 0 1px #f2f2f2; border-radius: 15px; padding: 20px; min-height: 124px; }
.gua-split .value-card b { font-size: 18.5px; line-height: 1; letter-spacing: -.055em; margin-bottom: 14px; }
.gua-split .value-card p { font-size: 10.5px; color: #656565; line-height: 1.35; letter-spacing: -.025em; }

/* ---------- футер-карточка (как в оригинале) ---------- */
footer.site { background: transparent; border-radius: 0; margin-top: 20px; }
.foot-card { background: var(--navy); border-radius: 20px; padding: 52px 30px 30px; margin-bottom: 20px; color: #cfd8e8; }
.foot-top { display: flex; justify-content: center; padding: 0 0 14px; }
.foot-top img { height: 44px; filter: brightness(0) invert(1); }
.foot-slogan { text-align: center; font-size: 10.5px; color: #fff; margin-bottom: 30px; }
.foot-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.foot-cell { background: var(--navy-2); border-radius: 15px; padding: 20px; min-height: 186px;
  display: flex; flex-direction: column; }
.foot-cell b { color: #fff; font-size: 16.5px; margin-bottom: 12px; }
.foot-small { font-size: 10.5px; line-height: 1.6; color: #b8c6dd; margin-top: auto; }
.foot-small a { color: #dbe6f5; }
.foot-links { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 14px; font-size: 10.5px; }
.foot-links a { color: #dbe6f5; padding: 2px 0; }
.foot-links a:hover { color: #fff; }
.foot-cell .foot-msgrs { margin-top: 12px; }
@media (max-width: 960px) { .foot-cards { grid-template-columns: 1fr; } }
/* заголовки/кикеры секций (значения старой сетки) */
.h-lg { font-size: 37px; line-height: 1.05; }
.eyebrow { font-size: 10px; font-weight: 400; color: #9aa3ad; margin-bottom: 16px; }
.h-blue { color: #5e7493; }
