:root {
  --ink: #0B2239;
  --deep: #071A2E;
  --sea: #0E4D64;
  --foam: #F4F1EA;
  --gold: #C9A24B;
  --white: #fff;
}

* {
  box-sizing: border-box;
  margin: 0;
}

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

body {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--white);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

section {
  padding: 72px 20px;
}

h1,
h2,
p,
ul {
  overflow-wrap: break-word;
}

h1,
h2 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  margin-bottom: 40px;
  font-size: clamp(1.7rem, 4.5vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-align: center;
}

section > h2 {
  max-width: 920px;
  margin-right: auto;
  margin-left: auto;
}

.nav {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  background: rgba(7, 26, 46, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav-inner {
  display: flex;
  max-width: 1120px;
  margin: auto;
  padding: 10px 12px;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.nav-link {
  padding: 8px 10px;
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  opacity: 0.85;
  transition: color 0.2s ease, opacity 0.2s ease, border-color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--gold);
  opacity: 1;
}

.nav-link--accent {
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 999px;
  opacity: 1;
}

.nav-link--accent:hover,
.nav-link--accent:focus-visible {
  color: #231a05;
  background: var(--gold);
  border-color: var(--gold);
}

.sticky-cta {
  position: fixed;
  z-index: 60;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 15px;
  overflow: hidden;
  color: #231a05;
  background: var(--gold);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.sticky-cta.show {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  padding: 0;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  isolation: isolate;
  background: var(--deep);
}

.hero-video {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 26, 46, 0.35), rgba(7, 26, 46, 0.45)),
    linear-gradient(90deg, rgba(7, 26, 46, 0.12), rgba(7, 26, 46, 0));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 96px 20px 60px;
}

.hero-suptitle, .hero-supertitle {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  letter-spacing: 0.35em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero-title {
  margin-bottom: 16px;
  font-size: clamp(2rem, 6vw, 3.8rem);
  line-height: 1.08;
}

.hero-subtitle {
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
}

.hero-actions,
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 16px 30px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  color: #231a05;
  background: var(--gold);
  box-shadow: 0 10px 30px rgba(201, 162, 75, 0.35);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: #d5b362;
  box-shadow: 0 14px 34px rgba(201, 162, 75, 0.45);
}

.btn--ghost {
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  background: transparent;
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
}

.contrast {
  background: var(--foam);
}

.contrast-grid {
  display: grid;
  max-width: 1120px;
  margin: 0 auto;
  gap: 18px;
  grid-template-columns: 1fr;
}

.contrast-card {
  position: relative;
  display: flex;
  min-height: 320px;
  overflow: hidden;
  border-radius: 20px;
  align-items: flex-end;
  color: #fff;
  isolation: isolate;
  background: var(--sea);
}

.contrast-img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.contrast-card:hover .contrast-img {
  transform: scale(1.035);
}

.contrast-card--dull .contrast-img {
  filter: grayscale(1) brightness(0.82) contrast(0.9);
}

.contrast-card::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
}

.contrast-card--dull::after {
  background: rgba(60, 60, 60, 0.45);
}

.contrast-card--yacht::after {
  background: rgba(14, 77, 100, 0.35);
}

.contrast-list {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 28px;
  list-style: none;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35);
}

.contrast-list li {
  font-size: 1rem;
  line-height: 1.4;
}

.contrast-list li + li {
  margin-top: 10px;
}

.contrast-list li::before {
  margin-right: 8px;
  color: var(--gold);
  content: "—";
  font-weight: 700;
}

.contrast-caption {
  max-width: 820px;
  margin: 36px auto 0;
  color: var(--ink);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.5;
  text-align: center;
}

.dolphins {
  position: relative;
  display: flex;
  min-height: 90svh;
  padding: 0;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  isolation: isolate;
  background: var(--deep);
}

.dolphins-img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dolphins::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(7, 26, 46, 0.45);
  content: "";
}

.dolphins-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 80px 24px;
}

.dolphins h2 {
  margin-bottom: 28px;
  font-size: clamp(2rem, 5vw, 3rem);
}

.dolphins p {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.12rem;
  line-height: 1.6;
}

.dolphins p:last-child {
  margin-bottom: 0;
  color: var(--gold);
  font-weight: 600;
}

.comfort {
  color: var(--ink);
  background: #fff;
}

.comfort-grid {
  display: grid;
  max-width: 1120px;
  margin: 0 auto;
  gap: 16px;
  grid-template-columns: 1fr;
}

.comfort-card {
  min-width: 0;
  padding: 26px 20px;
  color: var(--ink);
  background: var(--foam);
  border: 1px solid rgba(11, 34, 57, 0.05);
  border-radius: 18px;
  font-size: 0.98rem;
  line-height: 1.45;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.comfort-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(11, 34, 57, 0.08);
}

.comfort-card img {
  width: 100%;
  margin-bottom: 14px;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  object-fit: cover;
}

.comfort-icon {
  display: block;
  margin-bottom: 12px;
  font-size: 1.8rem;
  line-height: 1;
}

.comfort-caption {
  max-width: 900px;
  margin: 40px auto 0;
  font-size: 1.1rem;
  line-height: 1.55;
  text-align: center;
}

.comfort-closing {
  max-width: 760px;
  margin: 14px auto 0;
  color: var(--sea);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.inclusive {
  color: #fff;
  background: var(--deep);
}

.inclusive-grid {
  display: grid;
  max-width: 760px;
  margin: 0 auto;
  gap: 8px 40px;
  grid-template-columns: 1fr;
}

.inclusive-list {
  padding: 0;
  list-style: none;
}

.inclusive-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.45;
}

.inclusive-price {
  max-width: 760px;
  margin: 44px auto 0;
  color: var(--gold);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.safety {
  color: var(--ink);
  background: var(--foam);
}

.safety-grid {
  display: grid;
  max-width: 1000px;
  margin: 0 auto;
  gap: 32px;
  grid-template-columns: 1fr;
  align-items: center;
}

.safety-media img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 20px;
}

.safety-body h2 {
  margin-bottom: 28px;
  text-align: left;
}

.safety-list {
  max-width: 720px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.safety-list li {
  position: relative;
  padding: 14px 0 14px 34px;
  border-bottom: 1px solid rgba(11, 34, 57, 0.1);
  line-height: 1.5;
}

.safety-list li::before {
  position: absolute;
  top: 14px;
  left: 0;
  color: var(--sea);
  content: "✓";
  font-weight: 700;
}

.safety-closing {
  max-width: 720px;
  margin: 32px auto 0;
  font-size: 1.12rem;
  font-style: italic;
  line-height: 1.55;
  text-align: left;
}

.social {
  position: relative;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.social-bg {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.social::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(7, 26, 46, 0.72);
  content: "";
}

.social-content {
  position: relative;
  z-index: 2;
}

.social-list {
  max-width: 680px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.social-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  line-height: 1.5;
}

.social-list strong {
  color: var(--gold);
}

.social-closing {
  max-width: 720px;
  margin: 30px auto 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.55;
  text-align: center;
}

.cta {
  position: relative;
  padding: 0;
  overflow: hidden;
  color: #fff;
  text-align: center;
  isolation: isolate;
  background: var(--deep);
}

.cta-img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(7, 26, 46, 0.55);
  content: "";
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: auto;
  padding: 100px 24px;
}

.cta h2 {
  margin-bottom: 20px;
  font-size: clamp(1.6rem, 4.5vw, 2.6rem);
}

.cta-subtitle {
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.1rem;
  line-height: 1.55;
}

.cta-urgency {
  margin-bottom: 36px;
  color: var(--gold);
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  font-weight: 700;
  line-height: 1.35;
}

.footer {
  padding: 44px 20px;
  color: rgba(255, 255, 255, 0.8);
  background: var(--deep);
  text-align: center;
}

.footer-logo {
  margin-bottom: 14px;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.footer-contacts {
  display: flex;
  margin-bottom: 16px;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-contacts a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contacts a:hover,
.footer-contacts a:focus-visible {
  color: #e1c577;
}

.footer-legal {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.85rem;
  opacity: 0.7;
}

.footer-legal a {
  color: inherit;
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

@media (max-width: 767px) {
  body {
    padding-bottom: 76px;
  }

  .safety-body h2,
  .safety-closing {
    text-align: center;
  }
}

@media (min-width: 768px) {
  section {
    padding: 120px 24px;
  }

  .sticky-cta {
    display: none;
  }

  .nav-inner {
    padding-right: 24px;
    padding-left: 24px;
  }

  .contrast-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contrast-card {
    min-height: 380px;
  }

  .comfort-grid {
    grid-template-columns: 1fr 1fr;
  }

  .inclusive-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer {
    padding-right: 24px;
    padding-left: 24px;
  }
}

@media (min-width: 900px) {
  .safety-grid {
    gap: 48px;
    grid-template-columns: 0.85fr 1.15fr;
  }
}

@media (min-width: 1100px) {
  .hero-content {
    padding-top: 112px;
    padding-bottom: 72px;
  }

  .contrast-card {
    min-height: 430px;
  }

  .contrast-list {
    padding: 34px;
  }

  .comfort-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .comfort-card {
    padding: 30px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .nav-link,
  .comfort-card,
  .contrast-img,
  .sticky-cta,
  .footer-contacts a {
    transition: none;
  }
}
/* Аудит-фиксы: подписи сторон контраста */
.contrast-label {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 16px;
  margin: 0;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(7, 26, 46, 0.55);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.contrast-card--yacht .contrast-label {
  background: rgba(201, 162, 75, 0.9);
  color: #231a05;
}

/* Аудит-фикс: анти-CLS для safety-изображения */
.safety-media img {
  aspect-ratio: 3 / 4;
}
