:root {
  --navy: #1B365D;
  --navy-deep: #12243F;
  --accent: #2B5A8F;
  --text: #2C3340;
  --muted: #5B6472;
  --bg: #FFFFFF;
  --alt: #F3F6FA;
  --border: #D7DFEA;
  --white: #FFFFFF;
  --radius: 14px;
  --font: Inter, system-ui, sans-serif;
  --header: 76px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); }
body { font-family: var(--font); color: var(--text); line-height: 1.65; background: var(--bg); }
img { max-width: 100%; display: block; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--navy); }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.top-bar {
  background: var(--navy-deep);
  color: rgba(255,255,255,.75);
  font-size: .8rem;
  padding: 8px 0;
}
.top-bar a { color: rgba(255,255,255,.8); }
.top-bar a:hover { color: var(--white); }
.top-bar__inner { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header);
}
.logo img { height: 52px; width: auto; }

.nav { display: flex; align-items: center; gap: 24px; }
.nav a { color: var(--text); font-weight: 600; font-size: .92rem; }
.nav a:hover { color: var(--navy); }
.nav__cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 10px 18px;
  border-radius: 10px;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  border: 0;
  background: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--navy); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 10px;
  font-weight: 700;
  border: 2px solid transparent;
  font-family: inherit;
  cursor: pointer;
}
.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--accent); color: var(--white); }
.btn--ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--ghost:hover { background: var(--navy); color: var(--white); }
.btn--full { width: 100%; }

.hero {
  padding: 72px 0 80px;
  background:
    radial-gradient(circle at 88% 12%, rgba(27,54,93,.12), transparent 42%),
    linear-gradient(180deg, #F6F8FC 0%, #FFFFFF 100%);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 48px;
  align-items: center;
}
.badge {
  display: inline-block;
  background: rgba(27,54,93,.08);
  color: var(--navy);
  font-weight: 700;
  font-size: .78rem;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.meaning {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.35rem, 2.6vw, 1.95rem);
  line-height: 1.35;
  color: var(--navy);
  letter-spacing: .01em;
  margin: 0 0 18px;
}

.meaning__init {
  font-style: italic;
  font-weight: 600;
  font-size: 1.22em;
  color: var(--accent);
  border-bottom: 1.5px solid rgba(43, 90, 143, .45);
  padding: 0 1px;
}
.hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -.03em;
  margin-bottom: 16px;
}
.hero__lead { color: var(--muted); font-size: 1.08rem; margin-bottom: 28px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero__panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 32px;
  box-shadow: 0 18px 50px rgba(27,54,93,.08);
  text-align: center;
}
.hero__logo { height: 120px; width: auto; margin: 0 auto 12px; }
.hero__panel > p { color: var(--muted); font-size: .85rem; margin-bottom: 24px; }
.hero__metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hero__metrics div { background: var(--alt); border-radius: 12px; padding: 14px 8px; }
.hero__metrics strong { display: block; color: var(--navy); font-size: 1.25rem; letter-spacing: -.02em; line-height: 1.15; margin-bottom: 4px; }
.hero__metrics span { font-size: .72rem; color: var(--muted); line-height: 1.35; }

.section { padding: 84px 0; }
.section--alt { background: var(--alt); }
.section--navy { background: var(--navy); color: var(--white); }

.section__header { max-width: 740px; margin: 0 auto 48px; text-align: center; }
.section__header--light p { color: rgba(255,255,255,.75); }
.section__label {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section--navy .section__label { color: #9BB6D6; }
.section h2, .feature h2, .split h2, .contact h2 {
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  color: var(--navy);
  letter-spacing: -.02em;
  line-height: 1.2;
  margin-bottom: 14px;
}
.section--navy h2 { color: var(--white); }
.section__header p, .feature p, .split p { color: var(--muted); }

.modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.module-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.module-card h3 { color: var(--navy); margin-bottom: 8px; }
.module-card p { color: var(--muted); font-size: .92rem; }

.feature {
  display: grid;
  grid-template-columns: 1.35fr .75fr;
  gap: 40px;
  align-items: start;
}
.feature p { margin-bottom: 14px; }
.check-list { list-style: none; margin-top: 16px; }
.check-list li { padding: 6px 0 6px 18px; position: relative; }
.check-list li::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--navy);
  border-radius: 50%;
  position: absolute;
  left: 0; top: 12px;
}

.mini-list {
  list-style: none;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.section--alt .mini-list { background: var(--white); }
.mini-list li {
  padding: 8px 0 8px 18px;
  position: relative;
  font-weight: 600;
  color: var(--navy);
}
.mini-list li::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  position: absolute;
  left: 0; top: 14px;
}

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.info-card--dark {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 26px;
}
.info-card--dark h3 { color: var(--white); margin-bottom: 10px; }
.info-card--dark p { color: rgba(255,255,255,.75); font-size: .95rem; }
.navy-extra {
  margin-top: 28px;
  text-align: center;
  color: rgba(255,255,255,.78);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}
.quote-stack blockquote {
  background: var(--alt);
  border-left: 4px solid var(--navy);
  padding: 24px;
  border-radius: 0 14px 14px 0;
  font-size: 1.05rem;
  color: var(--navy);
}
.muted { color: var(--muted); margin-top: 16px; font-size: .9rem; }

.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-links { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.contact-links a { font-weight: 700; color: var(--navy); }

.form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  display: grid;
  gap: 14px;
}
.form label { font-weight: 600; font-size: .88rem; color: var(--navy); display: grid; gap: 6px; }
.form input, .form select, .form textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27,54,93,.14);
}
.form-note { font-size: .75rem; color: var(--muted); text-align: center; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.2em; text-align: center; font-size: .88rem; margin: 8px 0 0; }
.form-status--ok { color: #15803d; }
.form-status--err { color: #b91c1c; }

.footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,.7);
  padding: 48px 0 20px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 28px;
}
.footer img { height: 48px; width: auto; margin-bottom: 12px; }
.footer h4 {
  color: var(--white);
  margin-bottom: 12px;
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.footer a { display: block; color: rgba(255,255,255,.7); margin-bottom: 8px; }
.footer a:hover { color: var(--white); }
.footer__copy {
  text-align: center;
  font-size: .8rem;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 16px;
}

.fade-in { opacity: 0; transform: translateY(16px); transition: .5s ease; }
.fade-in.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero__grid, .modules, .feature, .split, .contact__grid, .cards-3, .footer__inner {
    grid-template-columns: 1fr;
  }
  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    top: var(--header);
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 20px 24px;
    gap: 0;
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--border); }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
}

.privacy-modal[hidden] { display: none !important; }
.privacy-modal {
  position: fixed; inset: 0; z-index: 300; display: flex;
  align-items: center; justify-content: center; padding: 20px;
}
.privacy-modal__backdrop { position: absolute; inset: 0; background: rgba(15, 17, 23, .62); }
.privacy-modal__box {
  position: relative; width: min(680px, 100%); max-height: min(86vh, 760px);
  background: #fff; border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.25);
  display: flex; flex-direction: column; overflow: hidden;
}
.privacy-modal__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 22px; border-bottom: 1px solid var(--border);
}
.privacy-modal__head h2 { font-size: 1.2rem; color: var(--navy); margin: 0; }
.privacy-modal__close {
  border: 0; background: transparent; font-size: 1.6rem; line-height: 1;
  cursor: pointer; color: var(--text); padding: 4px 8px;
}
.privacy-modal__body {
  padding: 20px 22px 28px; overflow-y: auto; color: var(--text);
  font-size: .92rem; line-height: 1.6;
}
.privacy-modal__body h3 { color: var(--navy); font-size: 1rem; margin: 18px 0 8px; }
.privacy-modal__body p, .privacy-modal__body li { margin-bottom: 8px; }
.privacy-modal__body ul { padding-left: 18px; }
.privacy-modal__updated { font-size: .8rem; color: var(--muted); margin-top: 20px; }

.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200;
  background: #111827; color: #f3f4f6; border-radius: 14px; padding: 18px 20px;
  box-shadow: 0 12px 40px rgba(0,0,0,.28);
}
.cookie-banner__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 1100px; margin: 0 auto; }
.cookie-banner p { font-size: .9rem; line-height: 1.5; margin: 0; }
.cookie-banner a { color: #93c5fd; }
.cookie-banner__actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-banner__btn { border: 0; border-radius: 8px; padding: 10px 16px; font-weight: 700; cursor: pointer; font-family: inherit; }
.cookie-banner__btn--ok { background: #1B365D; color: #fff; }
.cookie-banner__btn--ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); }
@media (max-width: 700px) { .cookie-banner__inner { flex-direction: column; align-items: stretch; } }
