﻿:root {
    --bg: #fff9ef;
    --ink: #232c38;
    --muted: #5a6678;
    --line: #d5ddeb;
    --brand-a: #ff6f61;
    --brand-b: #2f8bff;
    --brand-c: #12a78a;
    --card: #ffffff;
    --shadow: 0 14px 32px rgba(20, 36, 60, 0.12);
    --radius-lg: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: "Segoe UI", "Trebuchet MS", Tahoma, sans-serif;
    color: var(--ink);
    line-height: 1.68;
    background:
        radial-gradient(900px 380px at -20% -10%, rgba(255, 111, 97, 0.2), transparent 50%),
        radial-gradient(760px 320px at 120% 0%, rgba(47, 139, 255, 0.16), transparent 50%),
        #fffdf7;
}

main {
    flex: 1 0 auto;
    overflow: hidden;
}

img {
    width: 100%;
    max-width: 100%;
    display: block;
    border-radius: 14px;
    object-fit: cover;
}

a {
    color: #1f63c8;
    text-decoration-color: rgba(31, 99, 200, 0.45);
    text-underline-offset: 3px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

a:hover {
    color: #124a9f;
    text-decoration-color: #124a9f;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid #0d66e8;
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    top: -48px;
    left: 10px;
    z-index: 1200;
    background: #0f4cab;
    color: #fff;
    border-radius: 8px;
    padding: 0.55rem 0.9rem;
}

.skip-link:focus {
    top: 10px;
}

.container {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
}

.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    z-index: 1300;
    background: rgba(9, 23, 39, 0.08);
}

#progressBar {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--brand-a), var(--brand-b), var(--brand-c));
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1100;
    backdrop-filter: blur(8px);
    background: rgba(255, 252, 245, 0.88);
    border-bottom: 1px solid rgba(184, 198, 221, 0.7);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.8rem 0;
}

.logo {
    margin: 0;
    font-weight: 800;
    color: #27364b;
    text-decoration: none;
}

.menu-toggle {
    display: none;
    border: 1px solid #98b6dc;
    background: #fff;
    color: #194577;
    border-radius: 10px;
    padding: 0.45rem 0.75rem;
    font-weight: 700;
}

.header-nav {
    display: block;
}

.menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.menu a {
    display: inline-block;
    text-decoration: none;
    color: #1f3045;
    font-weight: 700;
    font-size: 0.94rem;
    border-radius: 999px;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.56);
    padding: 0.45rem 0.72rem;
}

.menu a:hover,
.menu a.is-active,
.menu a[aria-current="page"],
.menu a.section-active {
    border-color: #aac3e4;
    background: #fff;
}

.section {
    padding: 4.2rem 0;
}

.hero {
    padding-top: 5.3rem;
}

.hero-grid,
.split-grid {
    display: grid;
    grid-template-columns: 1.08fr 1fr;
    gap: 1.2rem;
    align-items: center;
}

.split-grid.reverse {
    grid-template-columns: 1fr 1.08fr;
}

.eyebrow {
    display: inline-block;
    border-radius: 999px;
    padding: 0.28rem 0.75rem;
    font-size: 0.88rem;
    font-weight: 800;
    color: #713120;
    background: linear-gradient(90deg, rgba(255, 183, 140, 0.8), rgba(255, 233, 170, 0.72));
}

h1 {
    margin-top: 0.6rem;
    margin-bottom: 0.9rem;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.08;
}

h2 {
    margin-top: 0;
    margin-bottom: 0.85rem;
    font-size: clamp(1.5rem, 2.2vw, 2.05rem);
    line-height: 1.2;
}

.card {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: linear-gradient(175deg, #fff, #fffaf2);
    box-shadow: var(--shadow);
    padding: 1.3rem;
}

.hero figure,
.split-grid figure {
    border: 1px solid #d8e1ef;
    border-radius: var(--radius-lg);
    background: #fff;
    padding: 0.65rem;
    box-shadow: var(--shadow);
}

figure img {
    aspect-ratio: 3 / 2;
}

.pill-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.pill-links a {
    text-decoration: none;
    font-weight: 700;
    color: #1f4d8d;
    border: 1px solid #b4c8e5;
    border-radius: 999px;
    background: #f1f7ff;
    padding: 0.45rem 0.75rem;
}

.notice {
    border-left: 5px solid #d96540;
    background: #fff7f1;
    border-radius: 0 10px 10px 0;
    padding: 0.55rem 0.7rem 0.55rem 0.8rem;
}

.faq-list {
    display: grid;
    gap: 0.75rem;
}

.faq-item {
    border: 1px solid #cfdbea;
    border-radius: 14px;
    background: #fff;
}

.faq-toggle {
    width: 100%;
    text-align: left;
    border: 0;
    color: #1f334c;
    background: transparent;
    padding: 0.92rem;
}

.faq-content {
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 0.92rem;
    transition: max-height 0.35s ease, opacity 0.28s ease, padding 0.28s ease;
}

.faq-content.open {
    opacity: 1;
    padding: 0 0.92rem 0.92rem;
}

.contact-list {
    padding-left: 1.1rem;
}

#contactForm {
    display: grid;
    gap: 0.6rem;
}

label {
    font-weight: 700;
}

input,
textarea,
button {
    font: inherit;
}

input,
textarea {
    width: 100%;
    border: 1px solid #b7c6db;
    border-radius: 12px;
    padding: 0.62rem 0.72rem;
    background: #fff;
}

button {
    border: 1px solid #1f5fb7;
    border-radius: 11px;
    color: #fff;
    background: linear-gradient(180deg, #2d72d2, #215eaf);
    font-weight: 700;
    cursor: pointer;
    padding: 0.62rem 0.92rem;
}

.consent-row {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-weight: 600;
}

.consent-row input {
    width: auto;
    margin-top: 0.2rem;
}

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.status {
    min-height: 1.2rem;
    margin: 0.35rem 0 0;
    font-weight: 700;
}

.status.ok {
    color: #0f7c49;
}

.status.err {
    color: #9f271d;
}

.site-footer {
    margin-top: auto;
    background: linear-gradient(180deg, #1e314b, #18283d);
    color: #e9f1ff;
    padding: 1.2rem 0;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.site-footer a {
    color: #e9f1ff;
}

.site-footer a.is-active,
.site-footer a[aria-current="page"] {
    text-decoration: underline;
}

.cookie-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 1000;
    border-radius: 16px;
    border: 1px solid #b5c7df;
    background: #fff;
    box-shadow: 0 18px 36px rgba(10, 24, 43, 0.27);
}

.cookie-banner[hidden] {
    display: none !important;
}

.cookie-content {
    padding: 1rem;
}

.cookie-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(120px, 1fr));
    gap: 0.6rem;
}

.cookie-btn {
    width: 100%;
    border: 1px solid #86a6ce;
    background: #fff;
    color: #1e4f8b;
}

.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: rgba(10, 20, 34, 0.62);
    display: grid;
    place-items: center;
}

.cookie-modal[hidden] {
    display: none !important;
}

.cookie-modal-content {
    width: min(680px, calc(100% - 2rem));
    max-height: 88vh;
    overflow: auto;
    border-radius: 16px;
    border: 1px solid #c7d6ea;
    background: #fff;
    padding: 1.1rem;
}

.cookie-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: 1px solid #d4dfed;
    border-radius: 12px;
    padding: 0.68rem;
    margin-bottom: 0.55rem;
}

.cookie-switch {
    min-width: 95px;
    border: 1px solid #8aa7cf;
    background: #fff;
    color: #1f4f8d;
}

.cookie-switch[aria-pressed="true"] {
    background: #1f68c5;
    color: #fff;
    border-color: #1f68c5;
}

.cookie-switch-required {
    opacity: 0.75;
}

.cookie-modal-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(130px, 1fr));
    gap: 0.6rem;
}

.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 980px) {
    .hero-grid,
    .split-grid,
    .split-grid.reverse {
        grid-template-columns: 1fr;
    }

    .site-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
    }

    body {
        padding-top: 74px;
    }

    .menu-toggle {
        display: inline-block;
    }

    .header-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 252, 245, 0.98);
        border-bottom: 1px solid #cad9ec;
        padding: 0.7rem 1rem 1rem;
        display: none;
    }

    .header-nav.open {
        display: block;
    }

    .menu {
        width: 100%;
        flex-direction: column;
        gap: 0.45rem;
    }

    .menu a {
        width: 100%;
        border-radius: 10px;
        background: #fff;
        border-color: #d0dcec;
    }
}

@media (max-width: 760px) {
    .section {
        padding: 3.1rem 0;
    }

    .cookie-banner {
        left: 0.6rem;
        right: 0.6rem;
        bottom: 0.6rem;
    }

    .cookie-actions {
        grid-template-columns: 1fr;
    }

    .cookie-modal-content {
        width: calc(100% - 1rem);
        padding: 0.9rem;
    }

    .cookie-option {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-modal-actions {
        grid-template-columns: 1fr;
    }

    .footer-inner,
    .site-footer ul {
        flex-direction: column;
        align-items: flex-start;
    }
}

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

    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
