:root {
  --bg: #f5f7fa;
  --bg-soft: #eef3f7;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --text: #1d2a36;
  --muted: #617181;
  --line: #d6e0e8;
  --primary: #355a74;
  --primary-soft: #dfe9f0;
  --dark: #243442;
  --shadow: 0 20px 55px rgba(27, 47, 64, 0.12);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(83, 123, 153, 0.08), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f5f7fa 100%);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(calc(100% - 32px), var(--container)); margin: 0 auto; }
.narrow { width: min(calc(100% - 32px), 860px); margin: 0 auto; }
.topbar {
  background: #f1f5f8;
  border-bottom: 1px solid rgba(53, 90, 116, 0.08);
  font-size: 14px;
}
.topbar-inner {
  display: flex;
  gap: 14px 24px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 0;
}
.topbar-item a:hover, .footer-links a:hover, .main-nav a:hover, .text-link:hover { color: var(--primary); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(255,255,255,0.9);
  border-bottom: 1px solid rgba(53, 90, 116, 0.08);
}
.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 16px 0;
  position: relative;
}
.brand { display: inline-flex; align-items: center; gap: 14px; min-width: 0; }
.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: linear-gradient(135deg, #355a74, #89a3b6);
  box-shadow: 0 10px 24px rgba(53, 90, 116, 0.24);
  flex: 0 0 auto;
}
.brand-text { display: grid; line-height: 1.02; }
.brand-text strong {
  font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.brand-text span { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.18em; }
.main-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 15px;
  align-items: center;
}
.main-nav a { font-weight: 600; }
.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.94);
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.hero { padding: 72px 0 36px; }
.hero-grid, .split-grid, .contact-grid, .footer-grid, .cards-grid, .articles-grid { display: grid; }
.hero-grid { grid-template-columns: 1.08fr .92fr; gap: 44px; align-items: center; }
.hero-copy h1, .page-hero h1,
.section h2, .section-head h2, .faq-item h2, .article-card h2, .prose h2,
.service-card h3, .footer-brand {
  font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
}
.hero-copy h1, .page-hero h1 { font-size: clamp(38px, 5vw, 64px); line-height: 1.02; margin: 0 0 18px; letter-spacing: -0.05em; }
.hero-copy p, .page-hero p, .section-head p, .prose p, .faq-item p, .article-card p { color: var(--muted); }
.eyebrow, .section-kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px;
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--primary);
}
.section-kicker.light { color: #c8d6e1; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 30px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 700;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 14px 30px rgba(53, 90, 116, 0.22); }
.btn-secondary { background: var(--surface); border: 1px solid var(--line); color: var(--text); }
.stat-list {
  list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr);
}
.stat-list li {
  background: rgba(255,255,255,0.8); border: 1px solid rgba(214, 224, 232, 0.9);
  border-radius: 18px; padding: 16px; backdrop-filter: blur(8px);
}
.stat-list strong { display: block; font-size: 17px; margin-bottom: 4px; }
.stat-list span { color: var(--muted); font-size: 14px; }
.card-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, #edf2f6, #dfe7ee);
  min-height: 340px;
}
.card-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(22,37,48,0.04));
  pointer-events: none;
}
.card-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-visual { min-height: 560px; }
.card-photo.tall { min-height: 520px; }
.section { padding: 84px 0; }
.section-soft { background: linear-gradient(180deg, rgba(238,243,247,.8), rgba(245,247,250,.55)); }
.section-dark { background: linear-gradient(135deg, #273847, #314a5d); color: #fff; }
.split-grid { grid-template-columns: 1fr 1fr; gap: 44px; }
.split-grid.align-center { align-items: center; }
.section h2, .section-head h2, .faq-item h2, .article-card h2, .prose h2 {
  font-size: clamp(28px, 4vw, 42px); line-height: 1.08; margin: 0 0 16px; letter-spacing: -0.045em;
}
.section-head.center { text-align: center; max-width: 760px; margin: 0 auto 36px; }
.cards-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card, .article-card, .faq-item, .contact-card, .prose {
  background: rgba(255,255,255,0.88); border: 1px solid rgba(214, 224, 232, 0.92); border-radius: 22px; box-shadow: var(--shadow);
}
.service-card { padding: 28px; }
.service-card h3 { margin: 0 0 10px; font-size: 22px; }
.service-card p { margin: 0; color: var(--muted); }
.steps { display: grid; gap: 14px; margin-top: 24px; }
.steps div {
  display: grid; grid-template-columns: 54px 1fr; gap: 14px; align-items: center;
  padding: 16px 18px; border-radius: 18px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
}
.steps strong {
  width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(255,255,255,0.14); font-size: 18px;
}
.contact-grid { grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
.contact-card { padding: 26px; }
.contact-row { padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-row:last-child { border-bottom: 0; }
.contact-row span { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 6px; }
.contact-row strong { font-size: 18px; }
.text-link { font-weight: 700; color: var(--primary); }
.page-hero { padding: 72px 0 18px; }
.page-hero.compact h1 { font-size: clamp(34px, 4.3vw, 54px); }
.faq-list { display: grid; gap: 18px; }
.faq-item, .article-card, .prose { padding: 28px; }
.faq-item h2, .article-card h2, .prose h2 { font-size: 24px; margin-bottom: 10px; }
.articles-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
.site-footer { background: #1f2c37; color: rgba(255,255,255,0.88); margin-top: 40px; }
.footer-grid { grid-template-columns: 1.2fr .9fr .8fr; gap: 32px; padding: 48px 0 28px; }
.footer-grid h3 { margin: 0 0 14px; font-size: 17px; color: #fff; }
.footer-brand { font-size: 24px; font-weight: 800; margin-bottom: 12px; color: #fff; letter-spacing: -0.04em; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-bottom { padding: 16px 0 28px; border-top: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.64); }
@media (max-width: 1080px) {
  .hero-grid, .split-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .articles-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 440px; }
  .card-photo.tall { min-height: 400px; }
}
@media (max-width: 760px) {
  .topbar { font-size: 13px; }
  .topbar-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px 0;
  }
  .menu-toggle { display: inline-flex; }
  .nav-wrap {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 16px;
  }
  .main-nav {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    background: rgba(255,255,255,0.98);
    border: 1px solid rgba(53, 90, 116, 0.1);
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 18px 38px rgba(23, 40, 55, 0.1);
  }
  .main-nav.is-open {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .main-nav a {
    padding: 12px 14px;
    border-radius: 14px;
  }
  .main-nav a:hover {
    background: var(--bg-soft);
  }
  .hero { padding-top: 42px; }
  .section { padding: 64px 0; }
  .stat-list, .cards-grid { grid-template-columns: 1fr; }
  .hero-copy h1, .page-hero h1 { line-height: 1.04; }
  .hero-visual { min-height: 320px; }
  .card-photo,
  .card-photo.tall { min-height: 300px; }
  .btn { width: 100%; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
}
