:root {
  --dark: #0e0f22;
  --accent: #cc3000;
  --accent-hover: #a82800;
  --accent-light: #ff3c00;
  --brand-green: #27804a;
  --bg: #ffffff;
  --surface: #f1f5f9;
  --line: #e2e8f0;
  --text: #151923;
  --muted: #475569;
  --on-dark: #cbd5e1;
  --plate: #0e0f22;
  --radius: 8px;
  --header-h: 64px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font: 400 17px/1.65 var(--font); color: var(--text); background: var(--bg); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.wrap { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }

h1, h2, h3 { margin: 0 0 14px; line-height: 1.2; font-weight: 800; }
h1 { font-size: clamp(28px, 4.2vw, 44px); }
h2 { font-size: clamp(24px, 3vw, 32px); }
h3 { font-size: 20px; margin-top: 28px; }
p { margin: 0 0 16px; }
section { padding: 44px 0; }
section section { padding: 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border: 2px solid var(--accent); border-radius: 999px; background: var(--accent); color: #ffffff; font-weight: 700; text-decoration: none; text-align: center; cursor: pointer; }
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-sm { min-height: 40px; padding: 0 18px; }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: var(--surface); color: var(--accent-hover); }
.btn-light { background: var(--accent-light); border-color: var(--accent-light); color: var(--dark); }
.btn-light:hover { background: #ff6a3d; border-color: #ff6a3d; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 900; background: var(--accent-light); border-bottom: 0; }
.site-header .btn { background: var(--brand-green); border-color: #ffffff; color: #ffffff; }
.site-header .btn:hover { background: #1f6a3b; }
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.logo { display: block; flex: none; }
.logo img { height: 34px; width: auto; }
.footer-logo { width: auto; }
.menu { margin-left: auto; }
.menu ul { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.menu a { display: block; padding: 10px 14px; border-radius: 999px; color: #ffffff; font-weight: 700; text-decoration: none; }
.menu a:hover { background: rgba(14, 15, 34, 0.25); color: #ffffff; }
.burger { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid #ffffff; border-radius: var(--radius); background: transparent; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; margin: 5px auto; background: #ffffff; }

/* breadcrumbs */
.breadcrumbs { padding-top: 16px; font-size: 14px; color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li + li::before { content: "\203A"; margin-right: 6px; }

/* hero */
.hero { padding: 28px 0 48px; background: var(--surface); }
.hero .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.badge { display: inline-block; margin-bottom: 16px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: #ffffff; color: var(--muted); font-size: 14px; }
.lead { font-size: 19px; color: var(--muted); }
.stats { display: grid; gap: 16px; margin: 0; padding: 24px; border-radius: var(--radius); background: var(--dark); list-style: none; }
.stats li { padding-bottom: 14px; border-bottom: 1px solid rgba(203, 213, 209, 0.25); }
.stats li:last-child { padding-bottom: 0; border-bottom: 0; }
.stat-value { display: block; color: var(--accent-light); font-size: 30px; font-weight: 800; line-height: 1.2; }
.stat-label { display: block; color: var(--on-dark); font-size: 15px; }

/* brand card */
.brand-card { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #ffffff; }
.brand-plate { display: flex; align-items: center; justify-content: center; align-self: start; padding: 12px; border-radius: var(--radius); background: var(--plate); }
.brand-plate img { width: 100%; max-width: 150px; }

table { width: 100%; margin-bottom: 16px; border-collapse: collapse; }
th, td { padding: 10px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
th { width: 38%; background: var(--surface); font-weight: 700; }

/* content blocks */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: center; }
.split img { border: 1px solid var(--line); border-radius: var(--radius); }
.phone { max-width: 300px; margin-inline: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 16px; padding: 0; list-style: none; }
.chips li { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 15px; font-weight: 600; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; margin: 0 0 16px; padding: 0; list-style: none; }
.grid li { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #ffffff; font-weight: 700; }
.alt { background: var(--surface); }
.steps { margin: 0 0 16px; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; margin-bottom: 12px; padding: 4px 0 4px 52px; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #ffffff; font-weight: 800; }
.note { padding: 16px 20px; border-left: 4px solid var(--accent); border-radius: var(--radius); background: var(--surface); }
.accent { color: var(--accent); font-weight: 700; }

/* faq */
details { margin-bottom: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: #ffffff; }
summary { position: relative; padding: 16px 52px 16px 20px; font-weight: 700; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 24px; font-weight: 700; }
details[open] summary::after { content: "\2212"; }
details p { margin: 0; padding: 0 20px 18px; color: var(--muted); }

/* footer */
.site-footer { padding: 44px 0 28px; background: var(--dark); color: var(--on-dark); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 0.8fr 1fr 1fr 1.3fr 1fr; gap: 32px; }
.footer-title { margin: 0 0 12px; color: #ffffff; font-weight: 700; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--accent-light); }
.site-footer p { margin-bottom: 12px; }
.footer-logo { height: 34px; width: auto; margin-bottom: 12px; }
.footer-bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(203, 213, 209, 0.25); }

/* sticky button and popup */
.sticky-cta { display: none; }
.popup { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 16px; background: rgba(14, 15, 34, 0.72); }
.popup[hidden] { display: none; }
.popup-box { position: relative; width: min(420px, 100%); padding: 28px 24px 24px; border-radius: var(--radius); background: #ffffff; text-align: center; }
.popup-box .brand-plate { width: 150px; margin: 0 auto 16px; }
.popup-title { margin: 0 0 8px; font-size: 22px; font-weight: 800; line-height: 1.25; }
.popup-box .btn { width: 100%; margin-top: 8px; }
.popup-close { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--surface); color: var(--dark); font-size: 22px; line-height: 1; cursor: pointer; }

@media (max-width: 900px) {
  .burger { display: block; margin-left: 0; }
  .menu { position: absolute; top: var(--header-h); left: 0; right: 0; display: none; margin: 0; border-bottom: 0; background: var(--accent-light); }
  .menu-open .menu { display: block; }
  .menu ul { flex-direction: column; gap: 0; padding: 8px 16px 12px; }
  .menu a { padding: 12px 8px; border-radius: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.35); }
  .site-header .btn-sm { margin-left: auto; }
  .hero .wrap, .split, .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  body { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
  section { padding: 32px 0; }
  .brand-card { grid-template-columns: 1fr; padding: 18px; }
  .brand-plate { max-width: 180px; }
  th, td { padding: 8px 10px; }
  .sticky-cta { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 1000; box-shadow: 0 6px 20px rgba(14, 15, 34, 0.35); }
}

@media (max-width: 420px) {
  .logo img { height: 28px; }
  .site-header .btn-sm { padding: 0 12px; font-size: 14px; }
}
