:root {
  --navy: #071d35;
  --blue: #0b4f9c;
  --green: #0a8f68;
  --light: #f5f8fc;
  --white: #fff;
  --text: #152238;
  --muted: #5d6878;
  --gold: #b78a16;
  --border: #dbe4ef;
  --danger: #8a1f11;
  --shadow: 0 16px 40px rgba(7, 29, 53, 0.1);
  --radius: 14px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--text); background: #fff; line-height: 1.65; }
body.modal-open { overflow: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: 0.65; }
:focus-visible { outline: 3px solid rgba(11, 79, 156, 0.55); outline-offset: 3px; }
.container { width: min(calc(100% - 32px), var(--container)); margin: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: #fff; color: var(--navy); padding: 10px 14px; z-index: 999; border-radius: 8px; box-shadow: var(--shadow); }
.skip-link:focus { left: 8px; }

.topbar { background: var(--navy); color: #dce8f5; font-size: 0.82rem; }
.topbar .container { display: flex; gap: 20px; justify-content: space-between; align-items: center; min-height: 38px; }
.topbar-items { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.topbar a:hover { color: #fff; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(219, 228, 239, 0.9); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 22px; position: relative; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; }
.logo:hover { text-decoration: none; }
.logo-mark { flex: 0 0 auto; width: 58px; height: 42px; display: grid; place-items: center; }
.logo-mark img { width: 100%; height: 100%; display: block; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 20px; list-style: none; padding: 0; margin: 0; }
.nav-links a { font-weight: 650; font-size: 0.92rem; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -8px; width: 0; height: 2px; background: var(--green); transition: width 0.2s ease; }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.menu-toggle { display: none; min-width: 44px; min-height: 44px; border: 1px solid var(--border); border-radius: 10px; background: #fff; font-size: 1.35rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 11px 18px; border-radius: 10px; border: 1px solid transparent; font-weight: 750; transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease; text-align: center; }
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 10px 24px rgba(10, 143, 104, 0.23); }
.btn-primary:hover { background: #087b5a; }
.btn-secondary { background: var(--blue); color: #fff; }
.btn-outline { border-color: #b9c7d8; background: #fff; color: var(--text); }
.btn-outline:hover { background: #f7fbff; }
.btn-ghost { background: transparent; color: var(--blue); }
.button-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

.hero { background: radial-gradient(circle at 80% 20%, rgba(11, 79, 156, 0.12), transparent 35%), linear-gradient(180deg, #fff, var(--light)); padding: 88px 0 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr); gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--green); font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; }
h1, h2, h3 { line-height: 1.16; }
.hero h1, .page-hero h1 { font-size: clamp(2.45rem, 5vw, 4.6rem); line-height: 1.06; margin: 18px 0; max-width: 12ch; }
.page-hero h1 { max-width: 14ch; }
.hero p, .page-hero p, .section-head p, .card p, .cta p { color: var(--muted); }
.hero p { font-size: 1.08rem; max-width: 650px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0; }
.trust-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.trust-item { display: flex; gap: 9px; color: #344054; font-size: 0.92rem; }
.tick { color: var(--green); font-weight: 900; }
.dashboard { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); }
.dashboard-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dashboard-top h2 { margin: 4px 0 0; font-size: 1.35rem; }
.mini-badge { padding: 6px 10px; border-radius: 999px; background: #e7f7f1; color: var(--green); font-size: 0.75rem; font-weight: 800; white-space: nowrap; }
.chart { height: 180px; margin: 22px 0; border-radius: 16px; background: linear-gradient(180deg, rgba(11, 79, 156, 0.12), transparent), repeating-linear-gradient(0deg, transparent, transparent 35px, #e9eef5 36px); position: relative; overflow: hidden; }
.chart::after { content: ""; position: absolute; inset: 35px 20px 25px; background: linear-gradient(135deg, transparent 10%, var(--blue) 10% 12%, transparent 12% 32%, var(--green) 32% 34%, transparent 34% 50%, var(--blue) 50% 52%, transparent 52%); opacity: 0.75; }
.dashboard-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.metric, .result-item { background: var(--light); padding: 14px; border-radius: 12px; }
.metric strong, .result-item strong { display: block; font-weight: 800; }
.floating-card { position: absolute; right: -18px; bottom: -32px; background: var(--navy); color: #fff; padding: 18px; border-radius: 14px; width: 230px; box-shadow: var(--shadow); }
.floating-card small { display: block; color: #cbd7e3; margin: 4px 0 12px; }

.section { padding: 82px 0; }
.section.alt { background: var(--light); }
.section-head { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 34px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 8px 0; }
.trust-strip { margin-top: -30px; position: relative; z-index: 2; }
.trust-panel { background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); border-radius: 16px; padding: 24px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.stat { text-align: center; }
.stat strong { font-size: 1.35rem; color: var(--blue); display: block; }
.stat span { font-size: 0.82rem; color: var(--muted); }
.audience-tabs, .filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.audience-tab, .filter-btn { min-height: 44px; border: 1px solid var(--border); background: #fff; padding: 10px 14px; border-radius: 999px; font-weight: 750; }
.audience-tab.active, .filter-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.audience-panel, .info-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 28px; }
.info-panel { display: block; }
.info-list { margin: 0; padding-left: 1.2rem; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: transform 0.22s ease, box-shadow 0.22s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card[hidden] { display: none; }
.icon-box { flex: 0 0 auto; width: 48px; min-width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: #eaf2fb; color: var(--blue); font-weight: 900; }
.card h2, .card h3 { margin: 16px 0 8px; font-size: 1.25rem; }
.card-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 24px; }
.step-num { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; font-weight: 900; }
.calculator { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr); gap: 28px; align-items: start; }
.form-card, .result-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 26px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full, .result-item.full { grid-column: 1 / -1; }
.checkbox-field label { display: flex; gap: 10px; align-items: flex-start; }
label { font-weight: 750; font-size: 0.9rem; }
input, select, textarea { width: 100%; min-height: 44px; padding: 12px 14px; border: 1px solid #b9c7d8; border-radius: 10px; background: #fff; color: var(--text); font-size: 1rem; }
textarea { resize: vertical; }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--danger); }
.field-error { min-height: 1.2em; color: var(--danger); font-size: 0.85rem; }
.form-status { min-height: 1.3em; color: var(--muted); font-size: 0.92rem; }
.result-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.result-item small { display: block; color: var(--muted); }
.notice, .security-note { padding: 14px 16px; border-radius: 10px; font-size: 0.9rem; }
.notice { background: #fff7dd; border: 1px solid #e2c96d; color: #5f4b08; }
.security-note { background: #fff4f2; border: 1px solid #e1aaa2; color: #74251b; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why { padding: 18px; border-radius: 12px; background: #fff; border: 1px solid var(--border); }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 14px; background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td { padding: 16px; border-bottom: 1px solid var(--border); text-align: left; }
th { background: #eef4fa; }
.page-hero { padding: 72px 0; background: linear-gradient(180deg, #eef5fb, #fff); }
.breadcrumbs { font-size: 0.86rem; color: var(--muted); margin-bottom: 10px; }
.breadcrumbs a { color: var(--blue); }
.search-box { max-width: 420px; margin-bottom: 20px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 1fr); gap: 30px; align-items: start; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.article-card { overflow: hidden; padding: 0; }
.article-visual { min-height: 160px; background: linear-gradient(135deg, #dceaf7, #e9f7f2); display: grid; place-items: center; font-size: 2rem; color: var(--blue); font-weight: 900; }
.article-body { padding: 22px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr); gap: 26px; }
.contact-list { display: grid; gap: 14px; }
.contact-item { display: flex; gap: 12px; padding: 16px; background: #fff; border: 1px solid var(--border); border-radius: 12px; }
.map-placeholder { min-height: 250px; margin-top: 20px; background: #e8eef5; border-radius: 14px; display: grid; place-items: center; color: var(--muted); text-align: center; padding: 20px; }
.cta { background: linear-gradient(135deg, var(--navy), #0a355d); color: #fff; border-radius: 20px; padding: 46px; }
.cta p { color: #cbd7e3; max-width: 650px; }
.footer { background: #061729; color: #d2deea; padding: 64px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 30px; }
.footer-title { color: #fff; font-size: 1rem; margin: 0 0 12px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin: 8px 0; }
.footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 34px; padding-top: 20px; font-size: 0.83rem; }
.modal { position: fixed; inset: 0; background: rgba(4, 18, 32, 0.68); display: none; place-items: center; padding: 20px; z-index: 300; }
.modal.open { display: grid; }
.modal-card { background: #fff; max-width: 620px; width: min(100%, 620px); border-radius: 18px; padding: 26px; max-height: min(90vh, 760px); overflow: auto; box-shadow: var(--shadow); }
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.close-modal { min-width: 44px; min-height: 44px; border: 1px solid var(--border); border-radius: 10px; background: #fff; font-size: 1.5rem; }
.toast { position: fixed; right: 20px; bottom: 20px; max-width: min(420px, calc(100vw - 40px)); background: var(--navy); color: #fff; padding: 14px 18px; border-radius: 10px; transform: translateY(140px); transition: transform 0.25s ease; z-index: 400; }
.toast.show { transform: translateY(0); }
.cookie { position: fixed; left: 20px; bottom: 20px; max-width: 420px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); padding: 18px; border-radius: 14px; z-index: 250; }
.back-top { position: fixed; right: 18px; bottom: 82px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--blue); color: #fff; display: none; z-index: 220; }
.back-top.show { display: grid; place-items: center; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.45s ease, transform 0.45s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .nav-links { gap: 14px; }
  .nav-actions { display: none; }
}
@media (max-width: 980px) {
  .menu-toggle { display: inline-grid; place-items: center; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; position: absolute; top: 78px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 16px; border: 1px solid var(--border); box-shadow: var(--shadow); border-radius: 0 0 14px 14px; }
  .nav-links.open a { display: block; padding: 10px 6px; }
  .hero-grid, .calculator, .split, .contact-grid, .audience-panel { grid-template-columns: 1fr; }
  .cards, .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-panel { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .floating-card { right: 10px; }
  .topbar .container { justify-content: center; }
  .topbar-items:last-child { display: none; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 72px; }
  .topbar { display: none; }
  .container { width: min(calc(100% - 24px), var(--container)); }
  .nav-wrap { min-height: 68px; }
  .nav-links.open { top: 68px; }
  .hero { padding: 54px 0 56px; }
  .hero h1, .page-hero h1 { font-size: clamp(2.1rem, 12vw, 2.7rem); max-width: 100%; }
  .page-hero { padding: 52px 0; }
  .trust-list, .form-grid, .result-grid, .cards, .blog-grid, .steps, .why-grid, .trust-panel, .footer-grid, .dashboard-cards { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .section-head { display: block; }
  .floating-card { position: static; width: auto; margin-top: 14px; }
  .cta { padding: 30px 22px; border-radius: 16px; }
  .hero-actions .btn, .button-row .btn { width: 100%; }
  .cookie { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .back-top { bottom: 96px; }
  .modal { padding: 10px; align-items: start; }
  .modal-card { max-height: calc(100vh - 20px); padding: 20px; }
  input, select, textarea { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .topbar, .site-header, .footer, .btn, .cookie, .back-top, .toast, .modal { display: none !important; }
  .section, .page-hero { padding: 20px 0; }
  .result-card, .form-card { border: 0; padding: 0; }
  body { color: #000; }
}

address { font-style: normal; }
.map-placeholder { gap: 10px; line-height: 1.5; }
.map-placeholder span { max-width: 520px; }

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
