:root {
  --paper: #f7fbfc;
  --surface: #ffffff;
  --surface-blue: #edf7fd;
  --surface-soft-blue: #f0f7fc;
  --ink: #071a33;
  --ink-soft: #173354;
  --muted: #5f7185;
  --line: rgba(7, 26, 51, 0.12);
  --sky: #2f8fdc;
  --sky-dark: #126bb2;
  --heading: #071a33;
  --stone: #d7dde3;
  --shadow: 0 22px 70px rgba(7, 26, 51, 0.12);
  --radius: 8px;
  --max: 1180px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 16px clamp(20px, 4vw, 48px);
  border-bottom: 1px solid rgba(7, 26, 51, 0.08);
  background: rgba(247, 251, 252, 0.9);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.social-links,
.footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(7, 26, 51, 0.18);
  border-radius: 50%;
  color: var(--sky-dark);
  font-size: 12px;
  letter-spacing: 0;
}

.nav-links {
  justify-content: center;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a,
.footer a {
  transition: color 160ms ease;
}

.nav-links a:hover,
.footer a:hover {
  color: var(--sky-dark);
}

.header-cta,
.button,
.product-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.header-cta {
  padding: 0 18px;
  border: 1px solid rgba(7, 26, 51, 0.18);
  background: var(--surface);
  color: var(--ink);
}

.header-cta:hover,
.button:hover,
.product-link:hover {
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(24px, 4vw, 40px) 24px 22px;
}

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

.eyebrow {
  margin: 0 0 18px;
  color: var(--sky-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--heading);
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(54px, 8vw, 112px);
  line-height: 0.94;
}

h2 {
  max-width: 840px;
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.02;
}

h3 {
  font-size: clamp(25px, 2.3vw, 34px);
  line-height: 1.08;
}

.hero-lead {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.5;
}

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

.button {
  padding: 0 22px;
}

.button-primary {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #ffffff;
}

.button-secondary {
  border: 1px solid rgba(7, 26, 51, 0.18);
  background: var(--surface);
  color: var(--ink);
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0;
}

.hero-stats div {
  min-width: 0;
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.hero-stats dt {
  margin: 0;
  color: var(--sky-dark);
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1;
}

.hero-stats dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-photo {
  position: relative;
  justify-self: end;
  width: min(100%, 380px);
  margin: 0;
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(7, 26, 51, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  object-position: 50% 42%;
}

.hero-photo figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: clamp(70px, 9vw, 116px) 24px;
}

.section-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.intro-section {
  padding-top: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) 1fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}

.intro-kicker {
  margin: 0;
  color: var(--heading);
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.04;
}

.intro-text {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(19px, 2vw, 26px);
  line-height: 1.45;
}

.section-heading {
  display: grid;
  gap: 22px;
  margin-bottom: 44px;
}

.products-heading,
.contacts-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: clamp(28px, 5vw, 72px);
}

.products-heading p:last-child {
  margin: 0;
  color: var(--muted);
}

.facts-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 1px;
  background: var(--line);
  list-style: none;
}

.facts-list li {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 22px;
  min-height: 154px;
  padding: 34px 32px;
  background: var(--surface);
}

.facts-list span {
  color: var(--sky-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.facts-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(20px, 1.35vw, 23px);
  font-weight: 650;
  line-height: 1.42;
}

.products-section {
  background: var(--surface);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.product-card {
  display: flex;
  min-height: 390px;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdfe;
}

.product-card-blue {
  background: var(--surface-blue);
}

.product-card-soft-blue {
  background: var(--surface-soft-blue);
}

.product-card-navy {
  background: var(--ink);
  color: #ffffff;
}

.product-card h3 {
  margin-top: 12px;
}

.product-card p {
  color: var(--ink-soft);
}

.product-card p:not(.product-type) {
  margin: 18px 0 0;
}

.product-type {
  margin: 0;
  color: var(--sky-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.product-card-navy .product-type {
  color: #ffffff;
}

.product-card-navy h3,
.product-card-navy p {
  color: #ffffff;
}

.product-link {
  width: 100%;
  margin-top: 34px;
  padding: 0 18px;
  border: 1px solid rgba(7, 26, 51, 0.18);
  background: var(--surface);
  color: var(--ink);
}

.product-card-navy .product-link {
  border-color: rgba(255, 255, 255, 0.3);
}

.route-section {
  background: var(--ink);
  color: #ffffff;
}

.route-section h2,
.route-section .eyebrow {
  color: #ffffff;
}

.route-panel {
  display: grid;
  grid-template-columns: 0.62fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.route-list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 1px;
  background: rgba(255, 255, 255, 0.16);
  list-style: none;
}

.route-list li {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 20px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.06);
}

.route-list strong {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
}

.route-list span {
  color: rgba(255, 255, 255, 0.78);
}

.route-list a {
  color: #ffffff;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.45);
  text-underline-offset: 4px;
  transition: text-decoration-color 160ms ease;
}

.route-list a:hover {
  text-decoration-color: #ffffff;
}

.contacts-section {
  background: var(--paper);
}

.contacts-grid {
  display: grid;
}

.contacts-grid h2 {
  max-width: 740px;
}

.social-links {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.social-links a {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 160ms ease, border-color 160ms ease;
}

.social-links a:hover {
  border-color: rgba(47, 143, 220, 0.48);
  transform: translateY(-1px);
}

.social-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  color: #ffffff;
}

.social-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.social-icon-telegram {
  background: #229ed9;
}

.social-icon-instagram {
  background: linear-gradient(135deg, #405de6, #c13584, #fd1d1d);
}

.social-icon-youtube {
  background: #ff0033;
}

.social-copy {
  display: grid;
  gap: 4px;
}

.social-copy span {
  color: var(--muted);
  font-size: 13px;
}

.social-copy strong {
  color: var(--ink);
  font-size: 18px;
}

.footer {
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 4vw, 48px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer p {
  margin: 0;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .intro-grid,
  .products-heading,
  .route-panel,
  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-photo {
    justify-self: start;
    max-width: 430px;
  }

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

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .site-header {
    min-height: 68px;
    padding: 13px 16px;
  }

  .brand span:not(.brand-mark) {
    display: none;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 15px;
  }

  .hero {
    gap: 34px;
    padding: 30px 16px 28px;
  }

  h1 {
    font-size: clamp(44px, 15vw, 60px);
  }

  .hero-lead {
    font-size: 17px;
    line-height: 1.45;
  }

  .hero-actions {
    margin-top: 26px;
  }

  .hero-stats,
  .facts-list,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats div {
    display: grid;
    grid-template-columns: 72px 1fr;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
  }

  .hero-stats dd {
    margin-top: 0;
  }

  .hero-photo img {
    height: min(30vh, 250px);
    aspect-ratio: auto;
  }

  .hero-photo figcaption {
    display: none;
  }

  .section {
    padding: 66px 16px;
  }

  .intro-section {
    padding-top: 28px;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .facts-list li {
    min-height: auto;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    padding: 24px 18px;
  }

  .facts-list p {
    font-size: 18px;
    line-height: 1.45;
  }

  .product-card {
    min-height: 0;
    padding: 22px;
  }

  .route-list li {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px;
  }

  .footer {
    padding: 24px 16px;
  }
}
