/* ==========================================================================
   GenInteractive site styles (sits on top of Bootstrap 5)
   Design tokens first; change colours and fonts here.
   ========================================================================== */

@font-face {
    font-family: "Inter";
    src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Sora";
    src: url("../fonts/sora-latin-wght-normal.woff2") format("woff2");
    font-weight: 100 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --navy: #0B1426;
    --navy-2: #111C33;
    --charcoal: #1C2331;
    --cyan: #22C7E8;
    --cyan-ink: #0A7A94; /* cyan darkened for text on light backgrounds (5:1 contrast) */
    --ink: #0F172A;
    --muted: #475569;
    --line: #E2E8F0;
    --bg: #F5F7FA;
    --white: #FFFFFF;
    --on-dark: #CBD5E1;
    --radius: 14px;
    --glass-dark: rgba(17, 28, 51, .72);
    --glass-light: rgba(255, 255, 255, .72);
    --glass-line: rgba(255, 255, 255, .16);
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --font-head: "Sora", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

    --bs-body-font-family: var(--font-body);
    --bs-body-color: var(--ink);
    --bs-body-bg: var(--white);
    --bs-link-color: var(--cyan-ink);
    --bs-link-hover-color: var(--navy);
}

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { font-family: var(--font-body); color: var(--ink); line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); letter-spacing: -0.01em; line-height: 1.2; }
a { text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 2000;
    background: var(--cyan); color: var(--navy); padding: .75rem 1.25rem; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn { font-weight: 600; border-radius: 10px; padding: .65rem 1.4rem; transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease; }
.btn-lg { padding: .85rem 1.8rem; font-size: 1.05rem; }
.btn-sm { padding: .45rem 1.1rem; }
.btn:hover { transform: translateY(-1px); }
.btn-gen { background: var(--cyan); border: 2px solid var(--cyan); color: var(--navy); }
.btn-gen:hover, .btn-gen:focus { background: #4DD6F1; border-color: #4DD6F1; color: var(--navy); }
.btn-gen-outline { background: transparent; border: 2px solid rgba(255, 255, 255, .45); color: var(--white); }
.btn-gen-outline:hover, .btn-gen-outline:focus { border-color: var(--white); background: rgba(255, 255, 255, .08); color: var(--white); }
.btn-gen-dark { background: var(--navy); border: 2px solid var(--navy); color: var(--white); }
.btn-gen-dark:hover, .btn-gen-dark:focus { background: var(--charcoal); border-color: var(--charcoal); color: var(--white); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(11, 20, 38, .84); border-bottom: 1px solid rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(16px) saturate(125%); backdrop-filter: blur(16px) saturate(125%); transition: box-shadow .2s ease, background-color .2s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .25); }
.site-header .navbar { padding: .6rem 0; }
.navbar-brand { padding: 0; margin-right: 1.5rem; }
.navbar-dark .navbar-toggler { border-color: rgba(255, 255, 255, .35); }
.navbar-dark .nav-link { color: rgba(255, 255, 255, .78); font-weight: 500; padding: .5rem .9rem; position: relative; }
.navbar-dark .nav-link:hover, .navbar-dark .nav-link:focus { color: var(--white); }
.navbar-dark .nav-link.active { color: var(--white); }
.navbar-dark .nav-link.active::after {
    content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .15rem; height: 2px; background: var(--cyan);
}
.nav-cta { color: var(--navy) !important; }
@media (max-width: 991.98px) {
    .navbar-collapse { padding: .75rem 0 1rem; }
    .nav-cta { display: inline-block; margin-top: .5rem; }
}

/* ---------- Logo ---------- */
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--white); }
.brand-symbol {
    flex: none;
    width: 40px;
    height: 40px;
    padding: 3px;
    border-radius: 7px;
    background: var(--white) url("../unnamed_logo.jpeg") center / contain no-repeat;
    color: transparent;
}
.brand-symbol path, .brand-symbol rect { display: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; letter-spacing: .12em; }
.brand-sub { font-size: .56rem; font-weight: 600; letter-spacing: .3em; color: var(--cyan); margin-top: .4rem; }
@media (max-width: 380px) { .brand-name { font-size: .95rem; } .brand-sub { letter-spacing: .2em; } }

/* ---------- Hero and page headers ---------- */
.hero { background: var(--navy); color: var(--white); padding: 5rem 0 5.5rem; overflow: hidden; }
.eyebrow { color: var(--cyan); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; margin-bottom: 1rem; }
.hero-title { color: var(--white); font-weight: 700; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.accent { color: var(--cyan); }
.hero-lead { color: var(--on-dark); font-size: 1.15rem; max-width: 40rem; margin-top: 1.25rem; }
.hero-art { width: 100%; max-width: 460px; height: auto; display: block; margin-left: auto; }

.showcase-section { background: var(--bg); }
.showcase { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 18px 45px rgba(11, 20, 38, .10); }
.showcase .carousel-inner { aspect-ratio: 1200 / 896; background: var(--white); }
.showcase .carousel-item { height: 100%; transition: opacity .7s ease-in-out; }
.showcase-image { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.showcase-caption { position: absolute; right: 1rem; bottom: 1rem; left: 1rem; padding: 1.15rem 4.5rem 1.15rem 1.35rem; border: 1px solid var(--glass-line); border-radius: 12px; background: var(--glass-dark); color: var(--on-dark); box-shadow: 0 12px 30px rgba(0, 0, 0, .18); -webkit-backdrop-filter: blur(14px) saturate(125%); backdrop-filter: blur(14px) saturate(125%); }
.showcase-caption .kicker { margin-bottom: .25rem; }
.showcase-caption p:last-child { margin: 0; }
.showcase .carousel-indicators { z-index: 3; bottom: .75rem; justify-content: flex-end; margin: 0 1.5rem 0 0; }
.showcase .carousel-indicators [data-bs-target] { width: 2rem; height: .2rem; margin: 0 .2rem; border: 0; opacity: .55; background-color: var(--white); }
.showcase .carousel-indicators .active { opacity: 1; background-color: var(--cyan); }
.showcase .carousel-control-prev, .showcase .carousel-control-next { z-index: 4; width: 4.5rem; opacity: .9; }
.showcase .carousel-control-prev-icon, .showcase .carousel-control-next-icon { width: 2.5rem; height: 2.5rem; padding: .5rem; border-radius: 50%; background-color: rgba(11, 20, 38, .8); background-size: 55%; }
@media (max-width: 575.98px) {
    .showcase-caption { padding: 1rem 1.25rem 3.25rem; }
    .showcase .carousel-indicators { justify-content: center; margin: 0 0 .75rem; }
    .showcase .carousel-control-prev, .showcase .carousel-control-next { width: 2.75rem; }
}

.page-hero { background: var(--navy); color: var(--white); padding: 4rem 0 3.5rem; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 700; }
.page-hero .hero-lead { margin-top: 1rem; }
.jump-links a { display: inline-block; color: var(--white); border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; padding: .35rem 1rem; font-size: .9rem; text-decoration: none; }
.jump-links a:hover, .jump-links a:focus { border-color: var(--cyan); color: var(--cyan); }

/* ---------- Sections ---------- */
.section { padding: 5.5rem 0; }
.section-alt { background: var(--bg); }
.section-dark { background: var(--charcoal); color: var(--on-dark); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-head { max-width: 42rem; margin-bottom: 3rem; }
.kicker { color: var(--cyan-ink); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; margin-bottom: .75rem; }
.section-dark .kicker { color: var(--cyan); }
.section-title { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; margin-bottom: 1rem; }
.lead-text { font-size: 1.2rem; color: var(--ink); }
.body-text { color: var(--muted); font-size: 1.05rem; }
.section-dark .body-text { color: var(--on-dark); }
.note { font-size: .92rem; color: var(--muted); border-left: 3px solid var(--cyan); padding-left: .9rem; }
@media (max-width: 767.98px) { .section { padding: 3.5rem 0; } .hero { padding: 3.5rem 0 4rem; } }

.card-link { font-weight: 600; text-decoration: none; color: var(--cyan-ink); }
.card-link:hover, .card-link:focus { color: var(--navy); text-decoration: underline; }

/* ---------- Cards ---------- */
.service-card, .info-card, .feature { height: 100%; background: var(--glass-light); border: 1px solid rgba(255, 255, 255, .9); border-radius: var(--radius); box-shadow: 0 10px 28px rgba(11, 20, 38, .05); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.service-card { padding: 1.75rem; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(11, 20, 38, .10); border-color: #B6EAF5; }
.service-card h3 { font-size: 1.2rem; margin: 1rem 0 .6rem; }
.service-card p { color: var(--muted); flex: 1; }
.icon-box { width: 56px; height: 56px; border-radius: 12px; background: var(--navy); color: var(--cyan); display: inline-flex; align-items: center; justify-content: center; margin-bottom: .5rem; }
.info-card { padding: 1.75rem; }
.info-card h3 { font-size: 1.05rem; margin-bottom: 1rem; }
.info-card-accent { background: var(--glass-dark); border-color: var(--glass-line); box-shadow: 0 14px 36px rgba(0, 0, 0, .14); }
.info-card-accent h3 { color: var(--white); }
.info-card-accent .check-list li { color: var(--on-dark); }
.feature { padding: 1.5rem 1.5rem 1.5rem 1.75rem; position: relative; border-left: 4px solid var(--cyan); }
.feature h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.feature p { color: var(--muted); margin: 0; }
.feature-mark { display: none; }

/* ---------- Lists ---------- */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 1.75rem; margin-bottom: .6rem; color: var(--muted); }
.check-list li::before {
    content: ""; position: absolute; left: 0; top: .5em; width: .9rem; height: .5rem;
    border-left: 2px solid var(--cyan-ink); border-bottom: 2px solid var(--cyan-ink); transform: rotate(-45deg);
}
.info-card-accent .check-list li::before { border-color: var(--cyan); }
@media (min-width: 768px) { .check-list-cols { columns: 2; column-gap: 2rem; } .check-list-cols li { break-inside: avoid; } }

/* ---------- Process ---------- */
.process { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(3, 1fr); counter-reset: none; }
.process-step { border-top: 2px solid rgba(255, 255, 255, .15); padding-top: 1.25rem; position: relative; }
.process-step::before { content: ""; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; background: var(--cyan); }
.process-step h3 { font-size: 1.1rem; margin: .4rem 0 .5rem; }
.process-step p { margin: 0; color: var(--on-dark); }
.step-num { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: var(--cyan); }
.process-light .process-step { border-top-color: var(--line); }
.process-light .process-step h3 { color: var(--navy); }
.process-light .process-step p { color: var(--muted); }
.process-light .step-num { color: var(--cyan-ink); }
@media (max-width: 991.98px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .process { grid-template-columns: 1fr; } }

/* ---------- About statements ---------- */
.statement { border: 1px solid var(--glass-line); border-radius: var(--radius); padding: 2rem; height: 100%; background: rgba(17, 28, 51, .42); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.statement-text { color: var(--white); font-family: var(--font-head); font-size: 1.25rem; line-height: 1.5; margin: 0; }

/* ---------- FAQ ---------- */
.faq .accordion-item { border: 1px solid var(--line); border-radius: var(--radius) !important; margin-bottom: .75rem; overflow: hidden; background: var(--white); }
.faq .accordion-button { font-family: var(--font-head); font-weight: 600; color: var(--navy); padding: 1.15rem 1.4rem; background: var(--white); box-shadow: none; }
.faq .accordion-button:not(.collapsed) { color: var(--navy); background: #EAF9FD; }
.faq .accordion-button:focus { box-shadow: 0 0 0 3px rgba(34, 199, 232, .45); }
.faq .accordion-body { color: var(--muted); padding: 1.1rem 1.4rem 1.4rem; }
.faq-group-title { font-size: 1.2rem; margin: 2.5rem 0 1rem; color: var(--cyan-ink); font-weight: 700; }
.faq-group-title:first-child { margin-top: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: var(--white); padding: 5rem 0; }
.cta-band h2 { color: var(--white); font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 700; }
.cta-band p { color: var(--on-dark); max-width: 38rem; margin: 1rem auto 2rem; font-size: 1.1rem; }

/* ---------- Forms ---------- */
.form-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: 0 10px 30px rgba(11, 20, 38, .05); }
.form-success { text-align: center; padding: 3rem 2rem; border-color: #A7E8F5; }
.form-label { font-weight: 600; font-size: .92rem; color: var(--navy); }
.req { color: #B42318; }
.optional { color: var(--muted); font-weight: 400; }
.form-control, .form-select { border-radius: 10px; border-color: #CBD5E1; padding: .7rem .9rem; }
.form-control:focus, .form-select:focus { border-color: var(--cyan-ink); box-shadow: 0 0 0 3px rgba(34, 199, 232, .35); }
.form-check-input:checked { background-color: var(--cyan-ink); border-color: var(--cyan-ink); }
.invalid-feedback { font-size: .88rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.contact-list li { margin-bottom: .6rem; color: var(--muted); }
.contact-label { display: block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); font-weight: 600; }
.next-steps { padding-left: 1.2rem; margin: 0; color: var(--muted); }
.next-steps li { margin-bottom: .4rem; }

/* ---------- Legal ---------- */
.legal h2 { font-size: 1.25rem; margin: 2.2rem 0 .75rem; }
.legal p, .legal li { color: var(--muted); }
.draft-banner { background: #FFF7E0; border: 1px solid #F1D88A; color: #5B4500; border-radius: 10px; padding: 1rem 1.25rem; margin-bottom: 1.5rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-dark); padding: 4.5rem 0 2rem; }
.footer-brand { display: inline-block; text-decoration: none; }
.footer-text { margin: 1.25rem 0; max-width: 24rem; }
.footer-heading { font-family: var(--font-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin-bottom: 1rem; font-weight: 600; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover, .site-footer a:focus { color: var(--cyan); text-decoration: underline; }
.footer-bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between; font-size: .9rem; }

/* ---------- Scroll reveal (only active when JavaScript runs) ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal.d2 { transition-delay: .08s; }
.js .reveal.d3 { transition-delay: .16s; }
.js .reveal.d4 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .btn, .service-card, .showcase .carousel-item { transition: none; }
    .btn:hover, .service-card:hover { transform: none; }
}


/* ---------- Static version additions ---------- */
.form-panel .alert { margin-bottom: 1.25rem; }
.form-success:focus { outline: none; }
