:root {
  --bg: #f5f7fa;
  --surface: #ffffff;
  --surface-muted: #fafbfd;
  --text: #17212b;
  --muted: #5f6b76;
  --line: #d9e0e7;
  --accent: #1f5f8b;
  --accent-hover: #174a6d;
  --shadow: 0 4px 18px rgba(23, 33, 43, 0.04);
  --radius: 16px;
  --wrap: 980px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

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

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

.wrap {
  width: min(calc(100% - 2rem), var(--wrap));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(245, 247, 250, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.header-row,
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  white-space: nowrap;
}

.site-nav a:hover,
.contact-list a:hover {
  color: var(--text);
}

.hero {
  padding: 4rem 0 1.5rem;
}

.hero h1,
.section-heading h2 {
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  margin-bottom: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.75rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.95rem;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.button:hover {
  border-color: #bcc8d3;
  background: var(--surface-muted);
}

.button-solid {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
}

.button-solid:hover {
  border-color: var(--accent-hover);
  background: var(--accent-hover);
}

.contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.5;
}

.contact-list a {
  color: var(--text);
}

.promo-note {
  display: inline-block;
  margin: 1rem 0 0;
  padding: 0.45rem 0.8rem;
  border: 1px solid #c8d7e3;
  border-radius: 999px;
  background: #f9fbfd;
  color: var(--accent);
  font-size: 0.95rem;
  max-width: 100%;
}

.section {
  padding: 1rem 0 3rem;
}

.section-heading {
  margin-bottom: 1rem;
}

.section-heading h2 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  margin-bottom: 0;
}

.grid {
  display: grid;
  gap: 1rem;
}

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

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

.card {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.card h3 {
  margin-bottom: 0.8rem;
  font-size: 1.15rem;
}

.simple-list {
  padding-left: 1rem;
  margin-bottom: 0;
  color: var(--muted);
}

.simple-list li + li {
  margin-top: 0.45rem;
}

.stat-card {
  min-height: 190px;
}

.stat {
  margin-bottom: 0.65rem;
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.rate-card {
  min-height: 160px;
}

.rate-price {
  margin-bottom: 0.65rem;
  color: var(--text);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.rate-label {
  color: var(--muted);
}

.stat-label,
.card p,
.site-footer {
  color: var(--muted);
}

.featured {
  border-color: #c8d7e3;
  background: #f9fbfd;
}

.package-tier {
  margin-bottom: 0.35rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.package-price {
  margin-bottom: 1rem;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 1rem;
}

.full-width {
  max-width: 100%;
}

@media (max-width: 900px) {
  .two-col,
  .three-col {
    grid-template-columns: 1fr;
  }

  .header-row,
  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header {
    position: static;
    backdrop-filter: none;
  }

  .hero {
    padding: 2.5rem 0 1rem;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 9vw, 3.4rem);
  }

  .section {
    padding: 0.75rem 0 2rem;
  }

  .section-heading h2 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .contact-list {
    font-size: 1.02rem;
    gap: 0.55rem 1rem;
  }

  .promo-note {
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .rate-card,
  .stat-card {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(calc(100% - 1.25rem), var(--wrap));
  }

  .header-row,
  .footer-row {
    gap: 0.75rem;
    padding: 0.85rem 0;
  }

  .brand {
    font-size: 0.95rem;
  }

  .site-nav {
    gap: 0.55rem 0.85rem;
  }

  .site-nav a {
    font-size: 0.88rem;
  }

  .hero-actions,
  .contact-list {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero h1 {
    margin-bottom: 0.75rem;
  }

  .button {
    width: 100%;
    min-height: 44px;
    padding: 0.7rem 1rem;
  }

  .promo-note {
    width: 100%;
    border-radius: 14px;
  }

  .card {
    padding: 1.05rem;
  }

  .card h3 {
    font-size: 1.05rem;
  }

  .simple-list {
    padding-left: 0.95rem;
    font-size: 0.97rem;
  }

  .rate-price,
  .package-price,
  .stat {
    font-size: 2rem;
  }
}
