/* =========================================================
   SITE-SEO / Static satellite website
   Main stylesheet
   ========================================================= */

/* ---------- Base reset ---------- */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #263238;
  background: #f7f3ec;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: #1b6f86;
  text-decoration: none;
}

a:hover {
  color: #0f4f61;
  text-decoration: underline;
}

/* ---------- Variables ---------- */

:root {
  --bg: #f7f3ec;
  --paper: #ffffff;
  --paper-soft: #fbf7ef;
  --text: #263238;
  --muted: #66747b;

  /* Морская палитра */
  --accent: #1687a3;
  --accent-dark: #0d596d;
  --accent-deep: #13424d;
  --accent-soft: #e7f5f8;

  --sand: #d9c5a3;
  --border: #e8dece;
  --shadow: 0 18px 45px rgba(31, 43, 48, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --container: 1160px;
}

/* ---------- Layout helpers ---------- */

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 78px 0;
}

.section--soft {
  background: var(--paper-soft);
}

.section-title {
  margin: 0 0 18px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
  color: #203238;
  letter-spacing: -0.03em;
}

.section-lead {
  max-width: 760px;
  margin: 0 0 34px;
  font-size: 18px;
  color: var(--muted);
}

.text-muted {
  color: var(--muted);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 243, 236, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 222, 206, 0.9);
}

.header-inner {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  flex-direction: column;
  gap: 1px;
  color: var(--text);
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
}

.logo-main {
  font-size: 17px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-sub {
  font-size: 12px;
  color: var(--muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav a {
  font-size: 14px;
  color: #31464d;
}

.main-nav a.active {
  color: var(--accent);
  font-weight: 700;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--accent-dark);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(13, 89, 109, 0.22);
}

.header-cta:hover {
  background: var(--accent-deep);
  color: #fff;
  text-decoration: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--paper);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #26a7c2;
}

/*
  Поверх изображения лежит голубовато-бирюзовый слой.
  Он нужен, чтобы текст читался, но блок не выглядел слишком тёмным.
*/
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(18, 118, 146, 0.82),
      rgba(35, 164, 196, 0.58),
      rgba(103, 197, 218, 0.24)
    ),
    linear-gradient(
      0deg,
      rgba(10, 86, 107, 0.22),
      rgba(86, 190, 214, 0.10)
    );
  z-index: 1;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 54px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.94);
  background: rgba(255, 255, 255, 0.13);
  font-size: 13px;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.hero p {
  max-width: 620px;
  margin: 0 0 24px;
  font-size: clamp(16px, 1.8vw, 20px);
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-primary {
  background: #ffffff;
  color: #17333d;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.btn-primary:hover {
  color: #17333d;
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #fff;
  background: rgba(255, 255, 255, 0.10);
}

.btn-secondary:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
}

/* ---------- Cards and grids ---------- */

.grid {
  display: grid;
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: 0 10px 28px rgba(31, 43, 48, 0.06);
}

.card h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.25;
  color: #203238;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.image-card {
  overflow: hidden;
  padding: 0;
}

.image-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.image-card-content {
  padding: 26px;
}

/* ---------- Intro split ---------- */

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}

.split-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #ddd;
}

.split-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
}

.content-block p {
  margin: 0 0 18px;
  font-size: 17px;
}

.content-block p:last-child {
  margin-bottom: 0;
}

/* ---------- Feature list ---------- */

.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
}

.feature-dot {
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.feature-item strong {
  display: block;
  margin-bottom: 4px;
  color: #203238;
}

/* ---------- CTA band ---------- */

.cta-band {
  border-radius: var(--radius-lg);
  padding: 44px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(22, 135, 163, 0.98), rgba(13, 89, 109, 0.98)),
    #1687a3;
  box-shadow: var(--shadow);
}

.cta-band h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.cta-band p {
  max-width: 760px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.cta-band .btn-primary {
  background: #fff;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 42px 0;
  background: #203238;
  color: rgba(255, 255, 255, 0.76);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: start;
}

.footer-title {
  margin: 0 0 8px;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
}

.footer-text {
  max-width: 650px;
  margin: 0;
  font-size: 15px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .header-inner {
    min-height: 64px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 64px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 13px 12px;
    border-radius: 12px;
  }

  .main-nav a:hover {
    background: var(--paper-soft);
    text-decoration: none;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 420px;
  }

  .hero-content {
    padding: 56px 0;
  }

  .split,
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .split-image img {
    height: 360px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .section {
    padding: 56px 0;
  }

  .hero {
    min-height: 440px;
  }

  .hero-content {
    padding: 46px 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .card {
    padding: 22px;
  }

  .cta-band {
    padding: 30px 22px;
  }

  .image-card img,
  .split-image img {
    height: 280px;
  }
}