/* ===== БАЗА ===== */
:root {
  --primary: #0b5e7a;
  --primary-dark: #084a60;
  --accent: #1fa3c9;
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #1e293b;
  --text-muted: #64748b;
  --radius: 14px;
  --shadow: 0 4px 24px rgba(11, 94, 122, 0.08);
  --max-width: 1140px;
  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HEADER ===== */
.site-header {
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--primary);
  letter-spacing: -.5px;
}
.logo span { color: var(--accent); }

.nav-list {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  font-weight: 500;
  font-size: .95rem;
  color: var(--text-muted);
  position: relative;
}
.nav-list a:hover,
.nav-list a.active { color: var(--primary); }

.nav-list a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  width: 24px; height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: .3s;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #0e7490 60%, var(--accent) 100%);
  color: #fff;
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.12) 0%, transparent 60%);
  pointer-events: none;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin: 0 0 16px;
  line-height: 1.2;
  position: relative;
}

.hero p {
  font-size: 1.15rem;
  max-width: 720px;
  margin: 0 auto 32px;
  opacity: .92;
  position: relative;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  background: #fff;
  color: var(--primary);
  font-weight: 700;
  border-radius: 50px;
  transition: transform .2s, box-shadow .2s;
  position: relative;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  color: var(--primary-dark);
}

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin: 0 0 12px;
  color: var(--primary-dark);
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0 0 48px;
  max-width: 640px;
}

/* ===== CARDS ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
  border: 1px solid rgba(0,0,0,.04);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(11, 94, 122, 0.14);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  color: var(--primary-dark);
}
.card p { margin: 0; color: var(--text-muted); font-size: .95rem; }

/* ===== FEATURE LIST ===== */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.feature-list li {
  background: var(--surface);
  padding: 18px 22px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  font-size: .95rem;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.feature-list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 800;
  flex-shrink: 0;
}

/* ===== CONTACTS ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-info p { margin: 0 0 8px; }
.contact-info strong { color: var(--primary-dark); }

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-family: inherit;
  font-size: .95rem;
  margin-bottom: 14px;
  background: var(--surface);
  transition: border-color .2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(31, 163, 201, .15);
}

.contact-form button {
  background: var(--primary);
  color: #fff;
  border: 0;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background .2s;
}
.contact-form button:hover { background: var(--primary-dark); }

/* ===== FOOTER ===== */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 48px 0 32px;
  font-size: .9rem;
}
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 24px;
  text-align: center;
  font-size: .85rem;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .nav-list {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--surface);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
  }
  .nav-list.open { display: flex; }
  .burger { display: flex; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 72px 0 56px; }
  .section { padding: 56px 0; }
}
