:root {
  --navy: #0A1128;
  --slate: #1C2541;
  --slate-2: #2A3558;
  --blue: #2563EB;
  --blue-dark: #1D4ED8;
  --white: #FFFFFF;
  --bg: #F5F7FB;
  --text: #0F172A;
  --muted: #5B6478;
  --line: #E2E8F0;
  --success: #16A34A;
  --error: #DC2626;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 17, 40, 0.08);
  --header-h: 68px;
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5rem; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }
a { color: var(--blue); }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 1.25rem; }
.hidden { display: none !important; }
.hp { position: absolute; left: -9999px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10, 17, 40, 0.96); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255,255,255,0.06); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); position: relative; }
.brand { display: flex; align-items: center; gap: .65rem; color: var(--white); text-decoration: none; }
.brand-mark { width: 36px; height: 36px; border-radius: 9px; background: linear-gradient(135deg, var(--blue), #60A5FA); display: grid; place-items: center; font-weight: 800; }
.brand-text { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem; font-size: .95rem; }
.brand-sep { color: rgba(255,255,255,0.35); display: none; }
.brand-sub { color: rgba(255,255,255,0.7); font-size: .85rem; display: none; }

.nav-toggle { display: flex; flex-direction: column; gap: 5px; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle span { width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-menu { list-style: none; margin: 0; padding: 1rem 1.25rem 1.25rem; display: none; flex-direction: column; gap: .75rem; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,0.08); }
.nav-menu.open { display: flex; }
.nav-menu a { color: rgba(255,255,255,0.85); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav-menu a:hover { color: var(--white); }
.contact-badge { display: inline-block; padding: .4rem .85rem; border-radius: 999px; border: 1px solid rgba(37,99,235,0.6); background: rgba(37,99,235,0.15); color: var(--white) !important; font-size: .85rem !important; }
.contact-badge:hover { background: var(--blue); }
.contact-badge-dark { color: var(--blue) !important; background: rgba(37,99,235,0.08); border-color: rgba(37,99,235,0.3); text-decoration: none; font-weight: 600; }
.contact-badge-dark:hover { color: var(--white) !important; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.35rem; border-radius: 10px; font: 600 .95rem/1.2 var(--font); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .2s, transform .15s, box-shadow .2s, color .2s; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, .card:focus-visible { outline: 3px solid rgba(37,99,235,0.45); outline-offset: 2px; }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 6px 18px rgba(37,99,235,0.3); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-primary:disabled { opacity: .65; cursor: progress; }
.btn-ghost { color: var(--white); border-color: rgba(255,255,255,0.3); background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,0.08); }
.btn-ghost-dark { color: var(--slate); border-color: var(--line); background: var(--white); }
.btn-ghost-dark:hover { border-color: var(--slate); }
.btn-block { width: 100%; }

/* Hero */
.hero { background: radial-gradient(1000px 500px at 85% -10%, rgba(37,99,235,0.35), transparent 60%), linear-gradient(180deg, var(--navy), var(--slate)); color: var(--white); padding: 4.5rem 0 4rem; }
.hero-inner { max-width: 820px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 700; color: var(--blue); margin-bottom: .75rem; }
.hero .eyebrow { color: #93C5FD; }
.hero h1 { font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 800; }
.lead { font-size: 1.1rem; color: rgba(255,255,255,0.78); max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 2.5rem; }
.hero-stats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 1.5rem; }
.hero-stats strong { display: block; font-size: 1.35rem; }
.hero-stats span { font-size: .8rem; color: rgba(255,255,255,0.6); }

/* Sections */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head h2, .about h2, .offer-intro h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); color: var(--navy); }
.section-head p, .about p, .offer-intro p { color: var(--muted); }

/* Grid & Cards */
.grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); display: flex; flex-direction: column; cursor: pointer; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(10,17,40,0.12); border-color: rgba(37,99,235,0.4); }
.card.active { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,0.18), var(--shadow); }
.card h3 { font-size: 1.5rem; color: var(--navy); margin-top: 1rem; word-break: break-word; }
.card p { color: var(--muted); }
.card .price { font-size: 1.25rem; font-weight: 800; color: var(--navy); margin-top: auto; padding-top: .5rem; }
.price-note { font-size: .85rem; font-weight: 600; color: var(--muted); }
.badge { align-self: flex-start; display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: .3rem .65rem; border-radius: 999px; background: rgba(37,99,235,0.1); color: var(--blue); }
.badge-light { background: rgba(255,255,255,0.12); color: #BFDBFE; }

/* Detail */
.detail { background: linear-gradient(180deg, var(--slate), var(--navy)); color: var(--white); padding: 4rem 0; animation: fadeIn .4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.detail-head { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2rem; }
.detail-head h2 { font-size: clamp(2rem, 6vw, 3rem); margin-top: .75rem; word-break: break-word; }
.price-badge { align-self: flex-start; background: var(--blue); border-radius: 12px; padding: .9rem 1.2rem; box-shadow: 0 10px 30px rgba(37,99,235,0.35); }
.price-badge span { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; opacity: .85; }
.price-badge strong { font-size: 1.5rem; }
.price-badge small { display: block; font-size: .8rem; opacity: .85; }
.detail-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.block { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); padding: 1.5rem; }
.block h3 { font-size: 1.05rem; color: #BFDBFE; }
.block p { color: rgba(255,255,255,0.78); margin: 0; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.checklist li { position: relative; padding-left: 1.6rem; color: rgba(255,255,255,0.85); }
.checklist li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: #60A5FA; font-weight: 800; }
.detail-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

/* About */
.about { display: grid; gap: 2rem; }
.pillars { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.pillars li { border-left: 3px solid var(--blue); padding: .25rem 0 .25rem 1rem; }
.pillars h3 { color: var(--navy); font-size: 1.05rem; }
.pillars p { margin: 0; }

/* Offer */
.offer { display: grid; gap: 2rem; }
.offer-panel { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 1.5rem; box-shadow: var(--shadow); }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 0 1rem; }
label { font-size: .85rem; font-weight: 600; color: var(--slate); }
.optional { font-weight: 400; color: var(--muted); }
input, select { font: inherit; font-size: 1rem; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 10px; background: var(--white); color: var(--text); width: 100%; transition: border-color .2s, box-shadow .2s; }
input::placeholder { color: #94A3B8; font-size: .9rem; }
input:focus, select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,0.18); }
input.invalid, select.invalid { border-color: var(--error); }
select.flash { animation: flash 1s ease; }
@keyframes flash { 0%, 100% { box-shadow: none; } 30% { box-shadow: 0 0 0 4px rgba(37,99,235,0.35); } }
.form-error { color: var(--error); font-size: .9rem; background: rgba(220,38,38,0.06); border: 1px solid rgba(220,38,38,0.25); padding: .6rem .8rem; border-radius: 8px; }
.form-note { font-size: .8rem; color: var(--muted); text-align: center; margin: .9rem 0 0; }
.thank-you { text-align: center; padding: 1.5rem .5rem; outline: none; }
.thank-you h3 { color: var(--navy); font-size: 1.4rem; }
.thank-you p { color: var(--muted); max-width: 460px; margin: 0 auto 1.5rem; }
.check { width: 56px; height: 56px; border-radius: 50%; background: rgba(22,163,74,0.12); color: var(--success); display: grid; place-items: center; font-size: 1.6rem; font-weight: 800; margin: 0 auto 1rem; }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.72); padding: 3rem 0 1.5rem; font-size: .9rem; }
.site-footer a { color: #93C5FD; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand { color: var(--white); font-weight: 800; font-size: 1.2rem; margin-bottom: .5rem; }
.biz { margin: 0; display: grid; gap: 1rem; }
.biz dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,0.45); }
.biz dd { margin: .15rem 0 0; color: var(--white); font-weight: 600; }
.footer-bottom { padding-top: 1.25rem; display: flex; flex-direction: column; gap: .25rem; font-size: .8rem; }
.footer-bottom p { margin: 0; }
.legal-links { display: flex; flex-wrap: wrap; gap: 1.25rem; }

/* Legal modals */
body.modal-open { overflow: hidden; }
.legal-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.legal-backdrop { position: absolute; inset: 0; background: rgba(10, 17, 40, 0.7); backdrop-filter: blur(3px); }
.legal-panel { position: relative; background: var(--white); color: var(--text); border-radius: var(--radius); box-shadow: 0 24px 60px rgba(10,17,40,0.35); width: 100%; max-width: 640px; max-height: calc(100vh - 2rem); overflow-y: auto; padding: 2rem 1.5rem 1.5rem; outline: none; animation: fadeIn .25s ease; }
.legal-panel h2 { color: var(--navy); font-size: 1.5rem; padding-right: 2rem; }
.legal-panel p { color: var(--muted); margin: 0; }
.legal-close { position: absolute; top: .75rem; right: .75rem; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--slate); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.legal-close:hover { border-color: var(--slate); }
.legal-close:focus-visible { outline: 3px solid rgba(37,99,235,0.45); outline-offset: 2px; }

/* Tablet */
@media (min-width: 640px) {
  .brand-sep, .brand-sub { display: inline; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr 1fr; }
  .offer-panel { padding: 2rem; }
  .legal-panel { padding: 2.5rem 2.25rem 2.25rem; }
  .detail-head { flex-direction: row; justify-content: space-between; align-items: flex-end; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

/* Desktop */
@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .nav-menu { display: flex; position: static; flex-direction: row; align-items: center; gap: 1.75rem; padding: 0; background: none; border: 0; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .detail-grid { grid-template-columns: repeat(3, 1fr); }
  .about { grid-template-columns: 1fr 1fr; align-items: center; }
  .offer { grid-template-columns: 5fr 7fr; align-items: start; }
  .footer-grid { grid-template-columns: 1fr 2fr; }
  .biz { grid-template-columns: repeat(3, 1fr); }
  .hero { padding: 6rem 0 5rem; }
}
