﻿:root {
    --navy-900: #020d2b;
    --navy: #041a4a;
    --navy-light: #0a3272;
    --blue: #0b62c4;
    --sky: #4aa3ff;
    --orange: #ff7a00;
    --orange-light: #ff9a2e;
    --orange-dark: #c24e00;
    --green: #12945a;
    --text: #1a2742;
    --muted: #56627e;
    --surface: #f4f7fc;
    --border: #e0e7f2;
    --radius: 20px;
    --shadow: 0 10px 30px rgba(4, 26, 74, .08);
    --shadow-lg: 0 24px 60px rgba(4, 26, 74, .18);
    --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); line-height: 1.7; background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; }
a { color: var(--blue); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; color: var(--navy); letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1200px, 92%); margin: 0 auto; }
.narrow { max-width: 780px; }
.small { font-size: .85rem; color: var(--muted); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 14px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); transition: box-shadow .25s; }
.header.scrolled { box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 20px; }
.logo img { display: block; height: 66px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) { color: var(--navy); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 14px; border-radius: 30px; transition: background .2s, color .2s; }
.nav a:not(.btn):hover { background: var(--surface); }
.nav a.active:not(.btn) { color: var(--orange-dark); background: #fff2e5; }
.nav .btn { margin-left: 8px; }
.nav-toggle, .nav-button { display: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: linear-gradient(135deg, var(--orange-light), var(--orange)); color: var(--navy-900); font-weight: 800; text-decoration: none; padding: 14px 28px; border-radius: 40px; border: 2px solid transparent; cursor: pointer; font-size: 1rem; font-family: inherit; line-height: 1.3; box-shadow: 0 10px 24px rgba(255,122,0,.3); transition: transform .18s, box-shadow .18s, background .18s, color .18s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(255,122,0,.42); }
.btn-small { padding: 9px 20px; font-size: .9rem; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--border); box-shadow: none; }
.btn-outline:hover { border-color: var(--navy); box-shadow: none; }
.btn-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.35); box-shadow: none; }
.btn-light:hover { background: #fff; color: var(--navy); box-shadow: none; }

/* ---------- Dark backgrounds ---------- */
.hero, .page-head { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: radial-gradient(circle at 82% 18%, rgba(11,98,196,.65), transparent 45%), radial-gradient(circle at 8% 95%, rgba(255,122,0,.2), transparent 40%), linear-gradient(150deg, var(--navy-900), var(--navy) 55%, var(--navy-light)); }
.hero::before, .page-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000, transparent 75%); mask-image: radial-gradient(ellipse at 70% 30%, #000, transparent 75%); }
.hero h1, .page-head h1 { color: #fff; }
.hero { padding: 80px 0 120px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 48px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--orange-light), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pill { display: inline-flex; align-items: center; gap: 10px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.07); color: #ffc48a; font-weight: 700; font-size: .78rem; letter-spacing: .09em; text-transform: uppercase; padding: 7px 18px; border-radius: 40px; margin-bottom: 22px; }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(255,122,0,.22); }
.lead { font-size: 1.16rem; color: #cfdcf7; max-width: 580px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; padding: 0; margin: 34px 0 0; color: #dbe6fa; font-size: .92rem; font-weight: 600; }
.hero-points li::before { content: "\2713"; color: var(--orange-light); margin-right: 8px; font-weight: 800; }

.page-head { padding: 72px 0; }
.page-head p { color: #cfdcf7; font-size: 1.12rem; max-width: 700px; }
.page-head p a { color: #ffc48a; }
.page-head .icon { width: 64px; height: 64px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); }
.back { display: inline-block; margin-bottom: 20px; text-decoration: none; color: #ffc48a; font-weight: 700; font-size: .9rem; }

/* ---------- Illustrations ---------- */
.visual { position: relative; margin: 0; }
.visual figcaption { text-align: center; font-size: .72rem; letter-spacing: .04em; color: #8fa2c9; margin-top: 18px; }
.window { background: #fff; color: var(--text); border-radius: 18px; box-shadow: 0 40px 80px rgba(0,0,0,.45); overflow: hidden; }
.window-bar { display: flex; gap: 6px; align-items: center; padding: 11px 16px; background: #eef2f9; border-bottom: 1px solid var(--border); }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #c6d0e2; }
.window-bar span { margin-left: 10px; font-size: .74rem; font-weight: 700; color: var(--muted); }
.map { display: block; width: 100%; height: auto; }
.hero .window { margin-right: 54px; }
.phone { position: absolute; right: 0; bottom: 36px;width: 190px; background: var(--navy-900); border: 6px solid #101c3d; border-radius: 30px; padding: 14px 11px 18px; box-shadow: 0 30px 60px rgba(0,0,0,.55); color: #fff; }
.phone-top { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: .82rem; margin-bottom: 12px; }
.phone-top img { width: 24px; height: 24px; }
.phone-card { background: rgba(255,255,255,.09); border-radius: 12px; padding: 9px 11px; margin-bottom: 8px; font-size: .72rem; line-height: 1.45; color: #cfdcf7; }
.phone-card b { display: block; color: #fff; font-size: .76rem; }
.phone-button { background: var(--orange); color: var(--navy-900); text-align: center; border-radius: 12px; padding: 9px; font-weight: 800; font-size: .76rem; margin-top: 4px; }
.float { position: absolute; display: flex; align-items: center; gap: 12px; background: #fff; color: var(--text); border-radius: 14px; padding: 11px 16px; box-shadow: 0 18px 40px rgba(0,0,0,.3); font-size: .78rem; line-height: 1.4; animation: float 6s ease-in-out infinite; }
.float b { display: block; font-size: .84rem; }
.dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: var(--green); font-weight: 800; flex-shrink: 0; }
.dot.warn { background: var(--orange); }
.float.one { left: -22px; bottom: 54px; }
.float.two { right: 20px; top: -22px; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-10px); } }

.panel { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 24px; }
.panel-title { display: flex; justify-content: space-between; font-weight: 800; color: var(--navy); margin-bottom: 14px; }
.panel .window { box-shadow: none; border: 1px solid var(--border); }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; display: flex; gap: 16px; padding-bottom: 20px; }
.timeline li:not(:last-child)::before { content: ""; position: absolute; left: 16px; top: 36px; bottom: 2px; width: 2px; background: var(--border); }
.timeline b { display: block; line-height: 1.35; }
.timeline small { color: var(--muted); }
.registers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.registers div { border: 1px solid var(--border); border-radius: 14px; padding: 18px 16px; font-weight: 700; font-size: .92rem; background: var(--surface); }
.registers div::before { content: ""; display: block; width: 28px; height: 5px; border-radius: 4px; background: var(--orange); margin-bottom: 12px; }

/* ---------- Highlight strip ---------- */
.strip { position: relative; z-index: 2; margin-top: -56px; }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.strip-item { display: flex; gap: 14px; align-items: center; padding: 24px; }
.strip-item + .strip-item { border-left: 1px solid var(--border); }
.strip-item .icon { margin: 0; width: 48px; height: 48px; }
.strip-item b { display: block; color: var(--navy); line-height: 1.35; }
.strip-item span:last-child { font-size: .85rem; color: var(--muted); line-height: 1.5; display: block; }

/* ---------- Sections and cards ---------- */
.section { padding: 96px 0; scroll-margin-top: 84px; }
.section.alt, #attendance-tracking, #visitor-gate, #client-portal { background: var(--surface); }
.section.tight { padding: 64px 0; }
.heading { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.heading p { color: var(--muted); font-size: 1.08rem; }
.kicker { display: block; color: var(--orange-dark); text-transform: uppercase; letter-spacing: .12em; font-weight: 800; font-size: .76rem; margin-bottom: 12px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card { --accent: var(--orange); position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 28px; color: var(--text); text-decoration: none; overflow: hidden; box-shadow: var(--shadow); }
.card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--accent), transparent); opacity: 0; transition: opacity .25s; }
.card:hover::after { opacity: 1; }
.card p { color: var(--muted); font-size: .96rem; }
a.card { transition: transform .25s, box-shadow .25s, border-color .25s; }
a.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card.dark { background: linear-gradient(150deg, var(--navy), var(--navy-light)); border-color: transparent; }
.card.dark h3 { color: #fff; font-size: 1.35rem; }
.card.dark p { color: #cfdcf7; }
.card.dark .btn { margin-top: auto; align-self: flex-start; }
.icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(145deg, var(--navy-light), var(--navy)); color: var(--orange-light); margin-bottom: 20px; flex-shrink: 0; }
.icon svg { width: 55%; height: 55%; }
.more { display: block; margin-top: auto; padding-top: 6px; font-weight: 800; font-size: .92rem; color: var(--blue); text-decoration: none; }
a.card:hover .more { color: var(--orange-dark); }

.group-title { display: flex; gap: 20px; align-items: center; margin-bottom: 34px; }
.group-title .icon { margin: 0; }
.group-title h2 { margin: 0; }
.group-title h2 a { color: inherit; text-decoration: none; }
.group-title p { margin: 4px 0 0; color: var(--muted); }

.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.ticks li { position: relative; padding-left: 32px; margin-bottom: 11px; line-height: 1.55; font-size: .96rem; }
.ticks li::before { content: "\2713"; position: absolute; left: 0; top: 1px; width: 21px; height: 21px; border-radius: 50%; background: #fff0e0; color: var(--orange-dark); font-size: .72rem; font-weight: 800; display: grid; place-items: center; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chips a { color: #fff; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.07); border-radius: 30px; padding: 8px 18px; text-decoration: none; font-size: .88rem; font-weight: 600; transition: background .2s, border-color .2s; }
.chips a:hover { border-color: var(--orange); background: rgba(255,122,0,.18); }
.chips.dark { justify-content: center; margin: 0; }
.chips.dark a { color: var(--navy); border-color: var(--border); background: #fff; }
.chips.dark a:hover { border-color: var(--orange); background: #fff7ee; }

/* Alternating showcase rows */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.showcase + .showcase { margin-top: 112px; }
.showcase.flip > :first-child { order: 2; }
.showcase .ticks { margin: 24px 0 30px; }
.showcase > div > p { color: var(--muted); font-size: 1.05rem; }
.showcase .visual figcaption { color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { position: relative; counter-increment: step; text-align: center; padding: 0 10px; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 31px; left: calc(50% + 46px); width: calc(100% - 68px); border-top: 2px dashed rgba(255,255,255,.25); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 20px; background: linear-gradient(135deg, var(--orange-light), var(--orange)); color: var(--navy-900); font-weight: 800; font-size: 1.4rem; box-shadow: 0 14px 30px rgba(255,122,0,.35); }
.section.night { background: radial-gradient(circle at 50% 0%, rgba(11,98,196,.4), transparent 60%), var(--navy-900); }
.section.night h2, .section.night h3 { color: #fff; }
.section.night p { color: #b9c9ea; }
.section.night .kicker { color: var(--orange-light); }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 16px; margin-bottom: 14px; padding: 0 24px; }
.faq details[open] { box-shadow: var(--shadow); border-color: #ffd3a8; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 700; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--orange-dark); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); padding-bottom: 6px; }

/* Call to action */
.cta { padding: 24px 0 96px; background: #fff; }
.cta-inner { position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; padding: 56px; border-radius: 28px; color: #fff; background: radial-gradient(circle at 90% 20%, rgba(255,122,0,.45), transparent 40%), linear-gradient(135deg, var(--navy-900), var(--navy-light)); box-shadow: var(--shadow-lg); }
.cta h2 { color: #fff; }
.cta p { margin: 0; color: #cfdcf7; }
.cta-inner > div { max-width: 660px; }
.section.alt + .cta { background: var(--surface); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-grid .full { grid-column: 1 / -1; }
.form label { display: block; font-weight: 700; font-size: .88rem; color: var(--navy); margin: 16px 0 7px; }
.form input, .form select, .form textarea { width: 100%; padding: 13px 15px; border: 1.5px solid #cbd5e8; border-radius: 12px; font: inherit; font-size: .96rem; background: #fbfcfe; transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(11,98,196,.13); background: #fff; }
.form button { margin-top: 8px; }
.errors { color: #b3261e; }
.errors ul { padding-left: 20px; }
.validation-summary-valid { display: none; }
.input-validation-error { border-color: #b3261e !important; }
.trap { position: absolute; left: -9999px; }
.notice { background: #eaf7ef; border: 1px solid #a9d9bb; border-radius: var(--radius); padding: 32px; }
.aside { background: linear-gradient(155deg, var(--navy), var(--navy-light)); color: #dbe6fa; border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-lg); }
.aside h3 { color: #fff; }
.aside a { color: #ffc48a; font-weight: 700; word-break: break-word; }
.aside .ticks li::before { background: rgba(255,122,0,.2); color: var(--orange-light); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: #aebcda; padding: 72px 0 26px; font-size: .92rem; border-top: 4px solid var(--orange); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1.3fr 1fr 1fr; gap: 36px; }
.footer h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 18px; }
.footer a { display: block; color: #aebcda; text-decoration: none; margin-bottom: 10px; transition: color .2s; }
.footer a:hover { color: var(--orange-light); }
.footer-brand { display: flex; align-items: center; gap: 12px; font-size: 1.6rem; font-weight: 800; color: #fff; margin-bottom: 14px; }
.footer-brand img { width: 50px; height: 50px; }
.footer-brand b { color: var(--orange); }
.copyright { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 22px; font-size: .84rem; }

/* ---------- Scroll reveal (only when script is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.visible { opacity: 1; transform: none; }
.js a.card.reveal.visible:hover { transform: translateY(-6px); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .nav-button { display: flex; width: 46px; height: 46px; align-items: center; justify-content: center; cursor: pointer; border-radius: 12px; background: var(--surface); }
    .nav-button span, .nav-button span::before, .nav-button span::after { display: block; width: 22px; height: 3px; background: var(--navy); border-radius: 2px; }
    .nav-button span { position: relative; }
    .nav-button span::before, .nav-button span::after { content: ""; position: absolute; left: 0; }
    .nav-button span::before { top: -7px; }
    .nav-button span::after { top: 7px; }
    .nav-toggle { display: block; position: absolute; opacity: 0; width: 1px; height: 1px; }
    .nav-toggle:focus-visible + .nav-button { outline: 3px solid var(--orange); }
    .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg); flex-direction: column; align-items: stretch; gap: 8px; padding: 18px 4% 24px; text-align: center; max-height: calc(100vh - 84px); overflow-y: auto; }
    .nav .btn { margin: 4px 0 0; }
    .nav-toggle:checked ~ .nav { display: flex; }
    .hero-grid { grid-template-columns: 1fr; gap: 64px; }
    .hero .visual { width: min(640px, 100%); margin: 0 auto; }
    .cards.four, .strip-grid { grid-template-columns: repeat(2, 1fr); }
    .strip-item:nth-child(odd) { border-left: 0; }
    .strip-item:nth-child(n+3) { border-top: 1px solid var(--border); }
}
@media (max-width: 860px) {
    .showcase, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
    .showcase.flip > :first-child { order: 0; }
    .steps { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
    .steps li::after { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .section { padding: 68px 0; }
}
@media (max-width: 600px) {
    .logo img { height: 46px; }
    .header-inner { min-height: 72px; }
    .hero { padding: 48px 0 100px; }
    .hero .window { margin-right: 0; }
    .phone, .float { display: none; }
    .cards, .cards.four, .cards.two, .strip-grid, .steps, .form-grid, .footer-grid, .registers { grid-template-columns: 1fr; }
    .strip-item + .strip-item { border-left: 0; border-top: 1px solid var(--border); }
    .cta-inner { padding: 36px 26px; }
    .group-title { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .float { animation: none; }
    a.card, .btn { transition: none; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
}
