:root {
  --ink: #16242b;
  --muted: #5d6b72;
  --sea: #0f5f73;
  --sea-dark: #073946;
  --forest: #2f6f54;
  --moss: #dfeadf;
  --rock: #eef2f3;
  --stone: #c7d0d3;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(12, 35, 43, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, Arial, Helvetica, sans-serif;
  background: #f8faf9;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(7, 57, 70, 0.82), rgba(7, 57, 70, 0));
}

.logo,
.main-nav,
.hero-actions,
.contact-list {
  display: flex;
  align-items: center;
}

.logo {
  gap: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.logo-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.main-nav {
  gap: 22px;
  font-size: 0.95rem;
}

.main-nav a,
.header-cta {
  opacity: 0.92;
}

.main-nav a:hover,
.header-cta:hover {
  opacity: 1;
}

.header-cta {
  padding: 11px 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(100deg, rgba(7, 34, 43, 0.92) 0%, rgba(7, 34, 43, 0.62) 48%, rgba(7, 34, 43, 0.24) 100%),
    url("https://commons.wikimedia.org/wiki/Special:FilePath/%D0%9C%D0%B0%D1%8F%D0%BA_%D0%90%D0%BD%D0%B8%D0%B2%D0%B0.jpg");
  background-position: center;
  background-size: cover;
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 140px;
  background: linear-gradient(180deg, rgba(248, 250, 249, 0), #f8faf9);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, 1120px);
  padding: 150px clamp(20px, 5vw, 64px) 86px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #a9d8d4;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 980px;
  margin-bottom: 22px;
  font-size: clamp(2.45rem, 6vw, 5.35rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 770px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

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

.button-primary {
  color: var(--white);
  background: var(--forest);
  box-shadow: 0 16px 34px rgba(18, 83, 60, 0.28);
}

.button-primary:hover {
  background: #255f47;
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.button-outline {
  color: var(--sea-dark);
  border-color: var(--stone);
  background: var(--white);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 820px;
  margin: 44px 0 0;
}

.hero-facts div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.hero-facts dt {
  font-size: 1.2rem;
  font-weight: 900;
}

.hero-facts dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.section {
  padding: clamp(70px, 10vw, 120px) clamp(20px, 5vw, 64px);
}

.section-heading {
  max-width: 840px;
  margin-bottom: 42px;
}

.section-heading.compact {
  max-width: 760px;
}

.section-heading h2,
.contact-copy h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.07rem;
}

.benefits-grid,
.places-grid,
.program-grid,
.reviews-grid {
  display: grid;
  gap: 18px;
}

.benefits-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.benefit,
.place-card,
.program-card,
.review-card {
  border: 1px solid #dbe3e5;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(18, 48, 56, 0.06);
}

.benefit {
  padding: 26px;
}

.benefit-icon {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--forest);
  font-weight: 900;
}

.benefit h3,
.place-card h3,
.program-card h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.benefit p,
.place-card p,
.program-card p,
.review-card p,
.program-card li {
  color: var(--muted);
}

.places {
  background: linear-gradient(180deg, var(--rock), #f8faf9);
}

.places-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.place-card {
  min-height: 220px;
  padding: 24px;
}

.place-card.featured {
  grid-column: span 2;
  color: var(--white);
  background:
    linear-gradient(140deg, rgba(7, 57, 70, 0.92), rgba(47, 111, 84, 0.78)),
    url("https://commons.wikimedia.org/wiki/Special:FilePath/Lighthouse_Aniva.jpg");
  background-position: center;
  background-size: cover;
}

.place-card.featured p {
  color: rgba(255, 255, 255, 0.86);
}

.programs {
  background: #f8faf9;
}

.program-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.program-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 30px;
}

.program-card.popular {
  border-color: rgba(47, 111, 84, 0.42);
  box-shadow: var(--shadow);
}

.program-kicker {
  margin-bottom: 0;
  color: var(--sea);
  font-weight: 900;
}

.program-card ul {
  display: grid;
  gap: 8px;
  margin: 0 0 8px;
  padding-left: 19px;
}

.program-card .button {
  width: 100%;
  margin-top: auto;
}

.badge {
  align-self: flex-start;
  padding: 7px 10px;
  color: var(--white);
  border-radius: 8px;
  background: var(--sea);
  font-size: 0.82rem;
  font-weight: 800;
}

.reviews {
  background: var(--sea-dark);
  color: var(--white);
}

.reviews .section-heading p {
  color: #bcd4d8;
}

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

.review-card {
  padding: 28px;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
}

.review-card p {
  color: rgba(255, 255, 255, 0.83);
}

.rating {
  margin-bottom: 18px;
  color: #f7c948;
  font-size: 1.05rem;
  letter-spacing: 0;
}

.review-card footer {
  color: #cfe4e6;
  font-weight: 800;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  gap: clamp(28px, 6vw, 76px);
  padding: clamp(76px, 10vw, 126px) clamp(20px, 5vw, 64px);
  background:
    linear-gradient(120deg, rgba(238, 242, 243, 0.92), rgba(223, 234, 223, 0.86)),
    url("https://commons.wikimedia.org/wiki/Special:FilePath/Cape_Tihii_and_Zametny_Island._Sakhalin_coast_of_Sea_of_Okhotsk.JPG");
  background-position: center;
  background-size: cover;
}

.contact-copy {
  max-width: 690px;
}

.contact-list {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.contact-list a {
  padding: 12px 16px;
  border: 1px solid rgba(15, 95, 115, 0.22);
  border-radius: 8px;
  color: var(--sea-dark);
  background: rgba(255, 255, 255, 0.7);
  font-weight: 800;
}

.lead-form {
  display: grid;
  gap: 15px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.lead-form h2 {
  margin-bottom: 4px;
  font-size: 1.65rem;
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: var(--sea-dark);
  font-size: 0.92rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cad5d8;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--forest);
  font-size: 0.9rem;
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 5vw, 64px);
  color: #cbd7da;
  background: #10262d;
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1060px) {
  .main-nav {
    display: none;
  }

  .benefits-grid,
  .places-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .program-grid,
  .reviews-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .site-header {
    padding: 14px 16px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 94vh;
  }

  .hero-content {
    padding: 118px 18px 62px;
  }

  h1 {
    font-size: 2.38rem;
    line-height: 1.03;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-facts,
  .benefits-grid,
  .places-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .place-card.featured {
    grid-column: auto;
  }

  .section,
  .contact-section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .benefit,
  .place-card,
  .program-card,
  .review-card,
  .lead-form {
    padding: 22px;
  }

  .contact-list {
    align-items: stretch;
    flex-direction: column;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
