* { box-sizing: border-box; }

:root {
  --bg: #eef3f8;
  --surface: #ffffff;
  --ink: #0f1f2d;
  --muted: #5a6c7d;
  --line: #d7e1ea;
  --brand: #0d3c60;
  --brand-2: #1a6da6;
  --brand-dark: #082a44;
  --accent: #ef8a17;
  --accent-soft: #fff2e0;
  --shadow: 0 18px 40px rgba(11, 32, 52, 0.08);
  --radius: 8px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

[id] { scroll-margin-top: 96px; }

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #e9f0f6 0%, #f6f9fb 100%);
  font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }

.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(248, 251, 253, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(215, 225, 234, 0.95);
}

.topbar-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark { width: 40px; height: 40px; flex: 0 0 auto; }

.brand-text strong { display: block; font-size: 15px; line-height: 1.2; letter-spacing: -0.01em; }
.brand-text span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: flex-end; }
.nav a { color: var(--muted); font-size: 14px; font-weight: 600; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand); }
.nav a[aria-current="page"] { position: relative; }

.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--accent);
}

.topbar-actions { display: flex; align-items: center; gap: 16px; min-width: 0; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  flex: 0 0 auto;
}

.lang-switch button {
  min-width: 40px;
  padding: 6px 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease;
}

.lang-switch button:hover { color: var(--brand); }
.lang-switch button.is-active { background: var(--brand); color: #fff; }
.i18n-booting .lang-switch button { transition: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.16s ease, background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--brand); color: #fff; box-shadow: 0 12px 24px rgba(13, 60, 96, 0.18); }
.btn.primary:hover { background: var(--brand-dark); }
.btn.accent { background: var(--accent); color: #21160a; }
.btn.accent:hover { background: #d97a0d; }
.btn.secondary { border-color: var(--line); background: #fff; color: var(--ink); }
.btn.secondary:hover { border-color: #a9c0d1; }
.btn.light { background: #fff; color: var(--brand); }
.btn.small { min-height: 38px; padding: 0 14px; font-size: 13px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.eyebrow-dark { color: #f6c48b; background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.18); }
.eyebrow-soft { background: var(--accent-soft); border-color: #f4d6ae; }

.section { padding: 74px 0; }
.section-soft { background: #fff; }
.section-tint { background: #e8f0f6; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--brand-dark); color: #fff; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.section-head h2 { margin-top: 12px; font-size: clamp(26px, 3vw, 38px); line-height: 1.14; letter-spacing: -0.02em; }
.section-head p { max-width: 58ch; margin-top: 12px; color: var(--muted); }
.section-dark .section-head h2 { color: #fff; }
.section-dark .section-head p { color: #b9ccdb; }
.text-link { color: var(--brand); font-weight: 800; font-size: 14px; white-space: nowrap; }
.text-link span { color: var(--accent); }
.lead { color: var(--muted); font-size: 17px; }

.hero { padding: 46px 0 30px; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 34px; align-items: center; }

.hero-copy h1 {
  margin-top: 18px;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.hero-copy p { max-width: 56ch; margin-top: 18px; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.trust-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
.hero-benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.trust {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.85);
}

.trust strong { display: block; font-size: 19px; line-height: 1.15; color: var(--brand); }
.trust span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-visual {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border: 1px solid #c3d5e2;
  border-radius: 10px;
  background: #dde8f0;
  box-shadow: 0 26px 60px rgba(9, 38, 60, 0.16);
}

.hero-visual img { width: 100%; height: 100%; min-height: 470px; object-fit: cover; }

.hero-visual-label,
.hero-visual-caption {
  position: absolute;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: #fff;
  background: rgba(8, 42, 68, 0.84);
  font-size: 12px;
  letter-spacing: 0.05em;
}

.hero-visual-label { inset: 18px 18px auto; padding: 10px 14px; text-transform: uppercase; }
.hero-visual-label strong { color: #f7bd7c; }
.hero-visual-caption { inset: auto 0 0; padding: 14px 16px; }

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

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.card:hover { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(12, 42, 66, 0.12); border-color: #bcd0df; }

.card-media { height: 230px; overflow: hidden; background: #e4edf4; border-bottom: 1px solid var(--line); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { font-size: 20px; line-height: 1.25; color: var(--brand); letter-spacing: -0.01em; }
.card-body p { color: var(--muted); font-size: 14px; }
.card-foot { margin-top: auto; padding-top: 6px; }

.badge {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #9a5307;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.specs { display: flex; flex-wrap: wrap; gap: 8px; }
.spec {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #f6f9fb;
  color: #3b5568;
  font-size: 12px;
  font-weight: 600;
}

.bullet-list { display: grid; gap: 8px; color: var(--muted); font-size: 14px; }
.bullet-list li { position: relative; padding-left: 20px; }
.bullet-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--accent);
}

.feature {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  height: 100%;
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #e7f0f7;
  color: var(--brand);
  margin-bottom: 16px;
}

.feature h3 { font-size: 18px; color: var(--brand); margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 14px; }
.section-dark .feature { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.14); }
.section-dark .feature h3 { color: #fff; }
.section-dark .feature p { color: #b3c6d5; }
.section-dark .feature-icon { background: rgba(239, 138, 23, 0.16); color: #f7bd7c; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.step { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 10px;
}
.step strong { display: block; font-size: 17px; color: var(--brand); margin-bottom: 8px; }
.step span { display: block; color: var(--muted); font-size: 14px; }

.stat-band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.stat { padding: 24px; border-left: 3px solid var(--accent); background: rgba(255, 255, 255, 0.06); }
.section-soft .stat, .section-tint .stat { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--accent); }
.stat strong { display: block; font-size: clamp(28px, 3.4vw, 40px); line-height: 1; color: var(--brand); letter-spacing: -0.02em; }
.section-dark .stat strong { color: #fff; }
.stat span { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.section-dark .stat span { color: #b3c6d5; }

.split-callout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-callout h2 { margin-top: 14px; font-size: clamp(30px, 3.8vw, 48px); line-height: 1.08; letter-spacing: -0.02em; }
.split-callout p { max-width: 52ch; color: var(--muted); font-size: 17px; }
.section-dark .split-callout h2 { color: #fff; }
.section-dark .split-callout p { color: #bccfdd; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 14px; }
thead th {
  text-align: left;
  padding: 14px 16px;
  background: #e8f0f6;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
tbody td { padding: 13px 16px; border-bottom: 1px solid #eaf1f6; color: #2c4256; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: #f7fafc; }
tbody td:first-child { font-weight: 700; color: var(--brand); white-space: nowrap; }
.table-note { margin-top: 12px; color: var(--muted); font-size: 13px; }

.page-hero {
  padding: 60px 0 48px;
  background: #e6eef5;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 24ch;
  margin-top: 16px;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--brand);
  text-transform: uppercase;
}

.page-hero p { max-width: 62ch; margin-top: 16px; font-size: 17px; color: var(--muted); }
.page-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 13px; }
.breadcrumb a:hover { color: var(--brand); }

.media-split { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.media-split img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.media-split h2 { margin-top: 14px; font-size: clamp(26px, 3vw, 36px); line-height: 1.15; color: var(--brand); }
.media-split p { margin-top: 14px; color: var(--muted); }
.media-split .bullet-list { margin-top: 18px; }
.media-split.reverse .media-figure { order: 2; }

.media-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.media-grid img { width: 100%; height: 240px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }

.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 24px; align-items: start; }
.panel { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.panel h3 { font-size: 20px; color: var(--brand); }
.panel-intro { margin-top: 8px; color: var(--muted); font-size: 14px; }

.contact-list { display: grid; gap: 12px; margin-top: 20px; }
.contact-item { padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #f8fbfd; }
.contact-item small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.contact-item strong { display: block; margin-top: 6px; font-size: 17px; color: var(--brand); word-break: break-word; }
.contact-item strong a:hover { color: var(--accent); }
.contact-item span { display: block; margin-top: 6px; color: var(--brand-2); font-size: 13px; font-weight: 700; }
.contact-link { transition: border-color 0.16s ease, transform 0.16s ease; }
.contact-link:hover { border-color: #9dbcd2; transform: translateX(3px); }

.form { display: grid; gap: 16px; margin-top: 20px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: block; color: #33485b; font-size: 13px; font-weight: 700; }
.form input, .form select, .form textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfdfe;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: 2px solid rgba(26, 109, 166, 0.35);
  outline-offset: 1px;
  border-color: #8fb4cd;
}
.form textarea { min-height: 132px; resize: vertical; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.note { color: var(--muted); font-size: 13px; }

.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 18px 20px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--brand); font-size: 16px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--accent); font-weight: 800; }
.faq details[open] summary::after { content: "\2212"; }
.faq p { margin-top: 12px; color: var(--muted); font-size: 14px; }

.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px;
  border-radius: 10px;
  background: linear-gradient(120deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff;
}
.cta-band h2 { font-size: clamp(24px, 2.8vw, 34px); line-height: 1.15; letter-spacing: -0.02em; }
.cta-band p { margin-top: 10px; color: #cfe0ec; max-width: 56ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.footer { padding: 54px 0 34px; background: #0a2133; color: #a8bccb; font-size: 14px; }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 30px; }
.footer h4 { margin: 0 0 14px; color: #fff; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.footer ul { display: grid; gap: 9px; }
.footer .footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer .footer-brand strong { color: #fff; font-size: 15px; line-height: 1.25; }
.footer .footer-brand span { display: block; color: #8ba4b6; font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; }
.footer-bottom {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

@media (max-width: 1024px) {
  .grid-4, .trust-row, .stat-band, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3, .media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 18px 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 0 0 10px 10px;
    box-shadow: 0 22px 40px rgba(9, 32, 52, 0.16);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 2px; font-size: 15px; border-bottom: 1px solid #eef3f7; }
  .nav a[aria-current="page"]::after { display: none; }
  .nav .btn { margin-top: 14px; width: 100%; }
  .topbar { position: sticky; }
}

@media (max-width: 900px) {
  .hero-grid, .split-callout, .media-split, .contact-grid { grid-template-columns: 1fr; }
  .media-split.reverse .media-figure { order: 0; }
  .split-callout { gap: 28px; }
  .section { padding: 56px 0; }
}

@media (max-width: 640px) {
  .topbar-inner { min-height: 66px; gap: 12px; }
  .brand-text span { display: none; }
  .topbar-actions { gap: 10px; }
  .lang-switch button { min-width: 34px; padding: 6px 8px; font-size: 11px; }
  .nav-toggle { width: 38px; height: 38px; }
  .nav { left: 10px; right: 10px; }
  thead th, tbody td { padding: 11px 12px; }
  .hero { padding: 34px 0 26px; }
  .hero-copy h1 { font-size: 31px; }
  .page-hero h1 { font-size: 29px; }
  .hero-benefits, .trust-row, .grid-2, .grid-3, .grid-4, .stat-band, .steps, .media-grid, .field-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual, .hero-visual img { min-height: 340px; }
  .hero-visual-caption { flex-direction: column; gap: 2px; }
  .card-media { height: 210px; }
  .media-grid img { height: 210px; }
  .media-split img { min-height: 280px; }
  .cta-band { padding: 26px; }
  .panel { padding: 22px; }
  .section-head { flex-direction: column; align-items: flex-start; }
}
