:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-soft: #eef4fb;
  --text: #132033;
  --muted: #5b687a;
  --primary: #0f4c81;
  --primary-dark: #0a345a;
  --accent: #d8a32a;
  --border: #dce5f0;
  --shadow: 0 20px 60px rgba(14, 45, 85, 0.13);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}
a { color: inherit; }
.wrap { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 0; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { width: 78px; height: 78px; object-fit: contain; }
.brand strong { display: block; font-size: clamp(1.5rem, 2.8vw, 2.45rem); letter-spacing: -0.04em; color: var(--primary-dark); line-height: 1.05; }
.brand small { display: block; color: var(--muted); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 18px; font-weight: 700; }
.nav-links a { text-decoration: none; color: var(--text); }
.nav-cta { background: var(--primary); color: #fff !important; padding: 10px 16px; border-radius: 999px; }
.menu-button { display: none; border: 0; background: var(--primary); color: #fff; border-radius: 12px; padding: 8px 12px; font-size: 1.2rem; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 70px;
  background:
    radial-gradient(circle at 10% 10%, rgba(216,163,42,0.18), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #eef5ff 100%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) 370px; gap: 42px; align-items: center; }
.eyebrow { margin: 0 0 12px; color: var(--accent); font-weight: 900; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.83rem; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 16px; }
h1 { font-size: clamp(2.45rem, 5vw, 5rem); letter-spacing: -0.06em; max-width: 920px; }
h2 { font-size: clamp(2rem, 3.2vw, 3.4rem); letter-spacing: -0.05em; }
h3 { font-size: 1.25rem; color: var(--primary-dark); }
.lead { font-size: 1.22rem; color: var(--muted); max-width: 820px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}
.primary { background: var(--primary); color: #fff; box-shadow: 0 16px 35px rgba(15,76,129,0.22); }
.secondary { background: #fff; color: var(--primary-dark); border: 1px solid var(--border); }
.full { width: 100%; }

.keyword-strip { display: flex; flex-wrap: wrap; gap: 10px; }
.keyword-strip span {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 800;
  color: var(--primary-dark);
  font-size: 0.92rem;
}
.hero-card {
  background: var(--primary-dark);
  color: #fff;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-card h2 { font-size: 1.55rem; color: #fff; }
.hero-card ul { padding-left: 22px; margin: 0; }
.hero-card li { margin: 10px 0; }

.section { padding: 76px 0; }
.alt { background: var(--surface-soft); }
.section-intro { max-width: 950px; color: var(--muted); font-size: 1.1rem; margin-bottom: 28px; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 10px 35px rgba(14,45,85,0.08);
}
.card p { color: var(--muted); }
.card ul, .consult-list ul { margin: 14px 0 0; padding-left: 20px; }
.card li, .consult-list li { margin: 8px 0; }

.topic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.topic-grid > div {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px;
  border: 1px solid var(--border);
}
.topic-grid p { color: var(--muted); }

.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 430px; gap: 40px; align-items: start; }
.consult-list {
  background: var(--primary-dark);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.consult-list p { margin-top: 0; font-weight: 900; }

.contact-section { background: linear-gradient(135deg, #0f4c81, #092a49); color: #fff; }
.contact-section .eyebrow { color: #ffd66c; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(330px, 520px); gap: 42px; }
.contact-box {
  margin-top: 22px;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 20px;
}
.contact-form {
  background: #fff;
  color: var(--text);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.contact-form label { display: block; font-weight: 800; margin-bottom: 14px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  margin-top: 6px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  font: inherit;
}
.form-note { font-size: 0.84rem; color: var(--muted); }

.footer { background: #071f36; color: #dbe8f5; padding: 30px 0; }
.footer-grid { display: flex; justify-content: space-between; gap: 20px; }
.footer a { display: inline-block; margin-left: 16px; color: #fff; font-weight: 800; }

.result-page { min-height: 100vh; display: grid; place-items: center; padding: 30px; }
.result-card { background: #fff; border-radius: var(--radius); padding: 34px; max-width: 620px; box-shadow: var(--shadow); border-top: 8px solid var(--primary); }
.result-card.error { border-top-color: #b42318; }
.result-card.success { border-top-color: #138a45; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu-button { display: block; }
  .nav-links.open {
    display: grid;
    position: absolute;
    top: 100%;
    left: 18px;
    right: 18px;
    background: #fff;
    padding: 18px;
    border-radius: 16px;
    box-shadow: var(--shadow);
  }
  .hero-grid, .cards, .topic-grid, .two-col, .contact-grid { grid-template-columns: 1fr; }
  .brand img { width: 62px; height: 62px; }
  .footer-grid { display: block; }
  .footer a { margin: 8px 12px 0 0; }
}
