:root {
  --navy: #0c162a;
  --accent: #c34909;
  --accent-dark: #a63d07;
  --accent-light: #f26522;
  --bg: #ffffff;
  --bg-alt: #f5f6f8;
  --text: #1a1f2b;
  --muted: #4a5568;
  --border: #d9dde5;
  --radius: 14px;
  --font: "Trebuchet MS", Verdana, "Segoe UI", sans-serif;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--accent-dark); }
a:hover { color: var(--accent); }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
section[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.accent { color: var(--accent-light); }
.strong-text { font-weight: 700; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  color: #ffffff;
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}
.logo-link { display: inline-flex; align-items: center; }
.logo-link img { display: block; height: 36px; width: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.main-nav a { color: #ffffff; text-decoration: none; font-weight: 700; }
.main-nav a:hover { color: var(--accent-light); }
.header-cta { white-space: nowrap; }
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 2px solid var(--accent-light);
  border-radius: 0;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: #ffffff;
  margin: 0 auto;
  position: relative;
  content: "";
}
.nav-toggle span::before { position: absolute; top: -6px; left: 0; }
.nav-toggle span::after { position: absolute; top: 6px; left: 0; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 24px;
  background: var(--accent);
  color: #ffffff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--accent);
  border-radius: 0;
  cursor: pointer;
  text-align: center;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #ffffff; }
.btn-ghost { background: transparent; color: var(--accent-dark); }
.btn-ghost:hover { background: var(--accent-dark); color: #ffffff; }
.btn-ghost-light { background: transparent; color: #ffffff; border-color: var(--accent-light); }
.btn-ghost-light:hover { background: var(--accent-light); border-color: var(--accent-light); color: var(--navy); }
.btn-small { padding: 9px 16px; font-size: .95rem; }

/* Hero */
.hero { background: var(--navy); color: #ffffff; text-align: center; padding: 56px 0 64px; }
.hero .container { max-width: 820px; }
.badge {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--accent-light);
  color: var(--accent-light);
  border-radius: 999px;
  font-size: .9rem;
  margin-bottom: 20px;
}
.hero p { color: #e6e9f0; font-size: 1.15rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin: 26px 0 18px; }
.hero-facts { color: #cbd2e0; font-size: .95rem; margin: 0; }

/* Sections */
.block { padding: 56px 0; }
.block-alt { background: var(--bg-alt); }
.block > .container > p:first-of-type { max-width: 780px; }

.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps li {
  counter-increment: step;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px 18px 68px;
  position: relative;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 16px;
  width: 36px;
  height: 36px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.steps .step-title { display: block; font-weight: 700; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.brand-card { display: flex; flex-direction: column; gap: 14px; }
.brand-logo-box {
  background: #121212;
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
}
.brand-logo-box img { max-height: 64px; width: auto; }
.facts { list-style: none; margin: 0; padding: 0; }
.facts li { padding: 9px 0; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; gap: 16px; }
.facts li:last-child { border-bottom: 0; }
.facts .label { color: var(--muted); }
.facts .value { font-weight: 700; text-align: right; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); }
th { background: var(--navy); color: #ffffff; }

.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.note { border-left: 4px solid var(--accent); background: var(--bg); padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0; }

/* FAQ */
.faq-list { display: grid; gap: 12px; }
.faq-list details { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 0 20px; }
.faq-list summary { cursor: pointer; font-weight: 700; padding: 16px 0; }
.faq-list details[open] summary { color: var(--accent-dark); }
.faq-list details p { padding-bottom: 8px; }

/* Footer */
.site-footer { background: var(--navy); color: #ffffff; padding: 48px 0 28px; }
.footer-cols { display: grid; grid-template-columns: 2fr 1fr 2fr; gap: 32px; }
.site-footer h2 { font-size: 1.05rem; color: #ffffff; }
.site-footer p, .site-footer li { color: #cbd2e0; font-size: .95rem; }
.site-footer a { color: var(--accent-light); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-logo { display: block; margin-bottom: 14px; height: 34px; width: auto; }
.footer-bottom { border-top: 1px solid #2a3652; margin-top: 28px; padding-top: 18px; font-size: .9rem; color: #cbd2e0; }
.age-badge {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 2px solid var(--accent-light);
  border-radius: 50%;
  color: #ffffff;
  font-weight: 700;
  margin-right: 10px;
}


/* Sticky mobile CTA */
.sticky-cta { display: none; }

/* Popup */
.offer-popup {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(12, 22, 42, .72);
  display: grid;
  place-items: center;
  padding: 16px;
}
.offer-popup[hidden] { display: none; }
.offer-box {
  background: var(--bg);
  border-radius: var(--radius);
  max-width: 420px;
  width: 100%;
  padding: 26px;
  text-align: center;
}
.offer-box .brand-logo-box { margin-bottom: 16px; }
.offer-actions { display: grid; gap: 10px; margin-top: 18px; }
.popup-note { margin: 14px 0 0; font-size: .85rem; color: var(--muted); }
.btn-link { background: transparent; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font-family: inherit; font-size: .95rem; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 12px 16px 20px;
    border-top: 1px solid #2a3652;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { display: block; padding: 10px 0; }
  .grid-2, .cards-3, .footer-cols { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .block { padding: 40px 0; }
  .sticky-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--navy);
    border-top: 2px solid var(--accent-light);
  }
  .sticky-cta .btn { display: block; width: 100%; }
}

@media (min-width: 768px) {
  .sticky-cta { display: none; }
}
