@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

:root {
  color-scheme: light;
  --navy: #003264;
  --navy-deep: #001e3d;
  --orange: #ffa62e;
  --red: #f71b3d;
  --ink: #0b1f33;
  --muted: #53677b;
  --surface: #ffffff;
  --surface-soft: #f2f6fa;
  --line: #d9e2ea;
  --shadow: 0 16px 38px rgba(0, 50, 100, .11);
  --radius: 18px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #eef6ff;
  --muted: #afc0d1;
  --surface: #0a1b2d;
  --surface-soft: #10263c;
  --line: #294259;
  --shadow: 0 22px 55px rgba(0, 0, 0, .3);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, system-ui, sans-serif; font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--surface); }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 600; line-height: 1.12; letter-spacing: -.035em; }
h1 { max-width: 820px; margin-bottom: 20px; font-size: clamp(2.1rem, 3.2vw, 3rem); }
h2 { font-size: clamp(1.65rem, 2.6vw, 2.3rem); }
h3 { font-size: 1.28rem; }
p { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; background: var(--surface); padding: 10px 16px; }
.skip-link:focus { top: 16px; }
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(255,255,255,.12); background: linear-gradient(115deg, #001f42, #003b78); box-shadow: 0 8px 24px rgba(0,31,66,.16); }
.nav-wrap { max-width: 1440px; min-height: 76px; margin: auto; padding: 8px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; color: white; text-decoration: none; }
.brand img { width: 154px; height: auto; padding: 7px 11px; border-radius: 12px; background: white; box-shadow: 0 4px 14px rgba(0,0,0,.16); }
.brand span { max-width: 120px; color: rgba(255,255,255,.74); font-size: .68rem; font-weight: 600; line-height: 1.25; letter-spacing: .06em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a, .theme-toggle { min-height: 42px; text-decoration: none; font-weight: 600; padding: 8px 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; background: rgba(255,255,255,.035); color: rgba(255,255,255,.88); }
.site-nav a { display: inline-flex; align-items: center; white-space: nowrap; }
.site-nav a:hover { color: white; background: rgba(255,255,255,.1); }
.site-nav a[aria-current="page"] { color: var(--navy); background: white; box-shadow: 0 5px 16px rgba(0,0,0,.14); }
.site-nav .nav-login { margin-left: 5px; color: #302000; border-color: rgba(255,255,255,.25); background: var(--orange); }
.theme-toggle { cursor: pointer; font-size: 1.15rem; color: white; }
.nav-toggle { display: none; border: 0; background: transparent; padding: 9px; }
.nav-toggle span:not(.sr-only) { display: block; width: 25px; height: 2px; background: var(--ink); margin: 5px; }
.section { max-width: 1240px; margin: auto; padding: 64px 28px; }
.section-compact { padding-top: 44px; padding-bottom: 44px; }
.eyebrow { margin-bottom: 14px; color: var(--navy); text-transform: uppercase; font-size: .78rem; font-weight: 600; letter-spacing: .15em; }
:root[data-theme="dark"] .eyebrow { color: #73b3e7; }
.hero { position: relative; overflow: hidden; min-height: calc(100vh - 82px); display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 70px; }
.hero::before { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -120px; top: 40px; border-radius: 50%; background: radial-gradient(circle at 40% 40%, rgba(255,166,46,.35), rgba(247,27,61,.08) 48%, transparent 70%); }
.hero-copy > p:not(.eyebrow) { max-width: 650px; font-size: 1.16rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border: 1px solid var(--navy); border-radius: 12px; font-weight: 600; text-decoration: none; cursor: pointer; }
.button-primary { color: white; background: var(--navy); }
.button-primary:hover { background: var(--navy-deep); }
.button-secondary { color: var(--navy); background: transparent; }
:root[data-theme="dark"] .button-secondary { color: #9bc9ef; border-color: #6399c6; }
.hero-panel { position: relative; min-height: 470px; padding: 38px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); border-radius: 32px; background: linear-gradient(145deg, var(--surface), var(--surface-soft)); box-shadow: var(--shadow); }
.system-flow { position: relative; height: 210px; margin: 12px 0; }
.flow-core { position: absolute; z-index: 2; left: 50%; top: 50%; display: flex; width: 154px; height: 154px; transform: translate(-50%, -50%); flex-direction: column; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; color: white; background: linear-gradient(145deg, var(--navy), var(--navy-deep)); box-shadow: 0 18px 38px rgba(0,50,100,.22), inset 0 1px rgba(255,255,255,.18); }
.flow-core::after { content: ""; position: absolute; inset: -11px; border: 1px dashed color-mix(in srgb, var(--navy) 30%, transparent); border-radius: 50%; }
.flow-core span { font-size: 1.25rem; font-weight: 600; letter-spacing: .08em; }
.flow-core small { max-width: 110px; margin-top: 6px; color: rgba(255,255,255,.7); font-size: .68rem; line-height: 1.35; text-align: center; }
.flow-source { position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: var(--surface); box-shadow: 0 8px 22px rgba(0,50,100,.08); }
.flow-source small { font-weight: 600; }
.flow-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--navy); box-shadow: 0 0 0 5px color-mix(in srgb, var(--navy) 10%, transparent); }
.flow-mains { left: 2%; top: 21%; }
.flow-generator { left: 2%; bottom: 18%; }
.flow-generator .flow-dot { background: var(--orange); box-shadow: 0 0 0 5px rgba(255,166,46,.14); }
.flow-load { right: 2%; top: 43%; }
.flow-load .flow-dot { background: #168b5f; box-shadow: 0 0 0 5px rgba(22,139,95,.14); }
.flow-line { position: absolute; z-index: 1; height: 1px; transform-origin: left center; background: var(--line); }
.flow-line::after { content: ""; position: absolute; right: -1px; top: -3px; width: 7px; height: 7px; transform: rotate(45deg); border-top: 1px solid var(--navy); border-right: 1px solid var(--navy); }
.flow-line-left { left: 20%; top: 36%; width: 28%; transform: rotate(13deg); }
.flow-line-generator { left: 22%; bottom: 32%; width: 27%; transform: rotate(-12deg); }
.flow-line-right { left: 64%; top: 50%; width: 22%; }
.panel-status { display: flex; align-items: center; gap: 11px; font-weight: 500; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: #18a66a; box-shadow: 0 0 0 8px rgba(24,166,106,.12); }
.section-heading { max-width: 720px; margin-bottom: 36px; }
.value-grid, .product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card, .product-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 8px 24px rgba(0,50,100,.055); }
.value-card span { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 22px; border-radius: 12px; background: var(--surface-soft); color: var(--navy); font-weight: 600; }
.value-card h3 { font-size: 1.28rem; }
.band { background: var(--surface-soft); }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.fact-list { display: grid; gap: 14px; }
.fact { padding: 22px 24px; border-left: 3px solid var(--orange); background: var(--surface); box-shadow: 0 8px 25px rgba(0,50,100,.06); }
.fact strong { display: block; margin-bottom: 4px; }
.product-grid { grid-template-columns: 1fr; }
.product-card { position: relative; overflow: hidden; min-height: 440px; padding: 38px; }
.product-card h2 { margin-bottom: 16px; }
.product-card ul { padding-left: 20px; margin: 24px 0 32px; color: var(--muted); }
.product-card li { margin-bottom: 8px; }
.product-detail { overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: var(--surface); box-shadow: 0 15px 45px rgba(0,50,100,.08); }
.product-intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: 54px; align-items: center; padding: 48px; }
.product-intro h2 { margin-bottom: 4px; font-size: clamp(1.65rem, 2.6vw, 2.3rem); }
.product-full-name { margin-bottom: 20px; color: var(--ink); font-size: 1.08rem; font-weight: 600; }
.product-summary { max-width: 560px; margin-bottom: 28px; font-size: 1.05rem; }
.product-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.video-placeholder, .video-frame { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(145deg, var(--navy-deep), var(--navy)); }
.video-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: white; text-align: center; }
.video-placeholder::before { content: ""; position: absolute; inset: 0; opacity: .35; background: radial-gradient(circle at 75% 20%, var(--orange), transparent 32%), radial-gradient(circle at 20% 80%, var(--red), transparent 28%); }
.video-placeholder > * { position: relative; }
.video-placeholder strong { font-size: 1.15rem; }
.video-placeholder small { color: rgba(255,255,255,.72); }
.play-mark { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 8px; padding-left: 4px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; background: rgba(255,255,255,.12); }
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.video-library { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.video-card { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: 0 12px 34px rgba(0,50,100,.07); }
.video-card .video-frame { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.video-card-copy { padding: 24px; }
.video-card-copy h2 { margin-bottom: 10px; font-size: 1.35rem; }
.video-card-copy p { margin-bottom: 20px; }
.product-section { padding: 48px; border-top: 1px solid var(--line); }
.compact-heading { margin-bottom: 30px; }
.compact-heading h3 { margin: 0; font-size: clamp(1.65rem, 2.7vw, 2.35rem); }
.steps-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.step-card { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-soft); }
.step-card > span { display: block; margin-bottom: 24px; color: var(--orange); font-size: .78rem; font-weight: 600; letter-spacing: .12em; }
.step-card h4, .advantage h4 { margin: 0 0 8px; font-size: 1.04rem; line-height: 1.35; }
.step-card p, .advantage p { margin: 0; font-size: .92rem; line-height: 1.55; }
.advantages-section { background: var(--surface-soft); }
.advantages-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 30px; }
.advantage { display: flex; gap: 14px; padding: 18px; border-radius: 14px; background: var(--surface); }
.advantage > span { display: grid; place-items: center; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; color: white; background: #168b5f; font-weight: 600; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; }
.contact-card { padding: 34px; border-radius: var(--radius); background: var(--surface-soft); }
.contact-card a { color: var(--navy); font-weight: 600; }
:root[data-theme="dark"] .contact-card a { color: #8ec3ef; }
.contact-detail { display: grid; gap: 7px; padding: 22px 0; border-top: 1px solid var(--line); }
.contact-detail:first-of-type { padding-top: 6px; border-top: 0; }
.contact-detail h3 { margin: 0 0 7px; font-size: 1rem; letter-spacing: 0; }
.contact-detail address { display: grid; gap: 2px; color: var(--muted); font-style: normal; }
.contact-detail address strong { margin-bottom: 5px; color: var(--ink); }
.contact-detail > span { color: var(--muted); font-size: .9rem; }
.location-link { display: flex; align-items: center; gap: 10px; width: fit-content; margin-top: 12px; text-decoration: none; }
.location-link:hover, .whatsapp-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.location-pin { position: relative; display: grid; place-items: center; width: 24px; height: 24px; color: white; font-size: .42rem; border-radius: 50% 50% 50% 0; background: var(--red); transform: rotate(-45deg); }
.location-pin::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: white; }
.location-pin + span { line-height: 1.35; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9rem; }
.field input, .field textarea, .field select { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: var(--surface); }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { grid-column: 1 / -1; font-size: .86rem; }
.assessment-form fieldset { min-width: 0; margin: 0; border: 1px solid var(--line); border-radius: 16px; padding: 20px; background: var(--surface); }
.assessment-form legend { padding: 0 8px; font-weight: 700; }
.assessment-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.consent-fieldset { display: grid; gap: 12px; }
.consent-fieldset label { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); line-height: 1.45; }
.consent-fieldset input { width: 18px; height: 18px; margin-top: 2px; }
.page-hero { position: relative; max-width: none; padding: 48px max(28px, calc((100vw - 1184px) / 2)); overflow: hidden; background: linear-gradient(135deg, color-mix(in srgb, var(--navy) 8%, var(--surface)), var(--surface)); border-bottom: 1px solid var(--line); }
.page-hero::after { content: ""; position: absolute; right: 5%; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(255,166,46,.18), transparent 68%); pointer-events: none; }
.page-hero h1 { font-size: clamp(2.1rem, 3.2vw, 3rem); }
.page-hero p { max-width: 700px; font-size: 1.05rem; }
.policy-layout { display:grid; grid-template-columns:220px minmax(0,1fr); gap:56px; align-items:start; }
.policy-index { position:sticky; top:24px; display:grid; gap:10px; padding:18px; border:1px solid var(--line); border-radius:14px; background:var(--surface-soft); }
.policy-index a { color:var(--muted); text-decoration:none; font-size:.9rem; }
.policy-copy { display:grid; gap:34px; max-width:850px; }
.policy-copy section { scroll-margin-top:100px; padding-bottom:28px; border-bottom:1px solid var(--line); }
.policy-copy h2 { margin:0 0 12px; font-size:1.45rem; }
.policy-copy p,.policy-copy address { max-width:760px; margin:0 0 12px; color:var(--muted); line-height:1.65; font-style:normal; }
.policy-copy a { color:var(--navy); font-weight:600; }
.policy-updated { color:var(--muted); font-size:.86rem; }
.login-hero { padding-bottom: 38px; }
.access-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.access-card { display: flex; min-height: 360px; padding: 24px; flex-direction: column; justify-content: flex-start; gap: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 12px 32px rgba(0,50,100,.07); }
.access-card > div { display: flex; flex: 1; flex-direction: column; }
.access-card h2 { margin-bottom: 10px; font-size: 1.55rem; }
.access-card p { margin-bottom: 14px; }
.access-card .button { width: 100%; }
.access-icon { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid color-mix(in srgb, var(--navy) 20%, var(--line)); border-radius: 14px; color: var(--navy); background: color-mix(in srgb, var(--navy) 7%, var(--surface)); font-size: .8rem; font-weight: 600; letter-spacing: .08em; }
:root[data-theme="dark"] .access-icon { color: #9bc9ef; }
.role-list { display: flex; margin: auto 0 0; padding: 8px 0 0; flex-wrap: wrap; gap: 8px; list-style: none; }
.role-list li { padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: var(--surface-soft); font-size: .8rem; font-weight: 600; }
.access-note { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: 36px; padding: 26px; border-left: 4px solid var(--orange); border-radius: 0 18px 18px 0; background: var(--surface-soft); }
.access-note h2, .access-note p { margin-bottom: 0; }
.error-page { min-height: 68vh; display: flex; flex-direction: column; align-items: start; justify-content: center; }
.error-page h1 { font-size: clamp(2.2rem, 4vw, 3.7rem); }
.error-page > p:not(.eyebrow, .error-code) { max-width: 560px; }
.error-code { margin: 0 0 -10px; color: color-mix(in srgb, var(--navy) 12%, transparent); font-size: clamp(6rem, 18vw, 13rem); font-weight: 600; line-height: .85; letter-spacing: -.08em; }
.quote-dialog { width: min(720px, calc(100% - 30px)); border: 1px solid var(--line); border-radius: 24px; padding: 0; color: var(--ink); background: var(--surface); box-shadow: var(--shadow); }
.quote-dialog::backdrop { background: rgba(0, 20, 40, .62); backdrop-filter: blur(4px); }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.dialog-inner { padding: 34px; }
.dialog-head { display: flex; justify-content: space-between; gap: 20px; }
.dialog-close { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.site-footer { border-top: 1px solid var(--line); background: var(--surface-soft); }
.footer-grid, .footer-base { max-width: 1240px; margin: auto; padding: 60px 28px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; }
.footer-grid > div { display: flex; flex-direction: column; align-items: start; gap: 8px; }
.footer-grid a { color: var(--muted); text-decoration: none; }
.footer-grid strong { margin-bottom: 8px; }
.footer-base { padding-top: 20px; padding-bottom: 20px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }

@media (max-width: 860px) {
  .nav-toggle { display: block; border-radius: 10px; background: rgba(255,255,255,.1); }
  .nav-toggle span:not(.sr-only) { background: white; }
  .site-nav { display: none; position: absolute; inset: 76px 12px auto; padding: 14px; flex-direction: column; align-items: stretch; background: var(--surface); border: 1px solid var(--line); border-radius: 0 0 18px 18px; box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a { justify-content: flex-start; color: var(--ink); text-align: left; }
  .site-nav a:hover { color: var(--navy); background: var(--surface-soft); }
  .site-nav a[aria-current="page"] { color: white; background: var(--navy); }
  .site-nav .nav-login { margin: 4px 0 0; color: #302000; background: var(--orange); }
  .theme-toggle { width: 100%; color: var(--ink); text-align: left; }
  .hero { grid-template-columns: 1fr; padding-top: 80px; }
  .hero-panel { min-height: 360px; }
  .value-grid, .product-grid, .split, .contact-grid, .access-grid, .video-library, .policy-layout { grid-template-columns: 1fr; }
  .policy-index { position:static; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .access-card { min-height: auto; }
  .access-note { grid-template-columns: 1fr; gap: 12px; }
  .product-intro { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .nav-wrap { padding-inline: 18px; }
  .brand img { width: 142px; }
  .brand span { display: none; }
  .section { padding: 56px 20px; }
  .hero { min-height: auto; }
  h1 { font-size: clamp(2.15rem, 11vw, 3rem); }
  .hero-panel { min-height: 320px; padding: 26px; }
  .product-intro, .product-section { padding: 28px 22px; }
  .steps-grid, .advantages-grid { grid-template-columns: 1fr; }
  .form-grid, .assessment-grid { grid-template-columns: 1fr; }
  .field { grid-column: 1; }
  .footer-grid { grid-template-columns: 1fr; padding-inline: 20px; }
  .footer-grid > div:first-child { grid-column: 1; }
  .footer-base { padding-inline: 20px; flex-direction: column; }
  .policy-index { grid-template-columns:1fr; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
