:root {
    --bg: #ffffff;
    --panel: #ffffff;
    --panel-2: #f8fafc;
    --text: #0f172a;
    --muted: rgba(15, 23, 42, 0.72);
    --border: rgba(15, 23, 42, 0.14);
    --accent: #2563eb;
    --accent-2: #10b981;
    --shadow: 0 12px 40px rgba(2, 6, 23, 0.12);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.5;
}

[hidden] {
    display: none !important;
}

.no-scroll {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(12px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 220px;
}

.logo {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: var(--shadow);
}

.brand-name {
    font-weight: 800;
    letter-spacing: 0.2px;
}

.brand-tagline {
    color: var(--muted);
    font-size: 13px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-link {
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--muted);
    font-weight: 600;
    font-size: 14px;
}

.nav-link:hover {
    background: rgba(15, 23, 42, 0.05);
    color: var(--text);
}

.nav-link.is-active {
    background: rgba(37, 99, 235, 0.10);
    color: var(--text);
    border: 1px solid rgba(37, 99, 235, 0.28);
}

.nav-toggle {
    display: none;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.9);
    color: var(--text);
    border-radius: 12px;
    padding: 10px 12px;
}

.nav-toggle-lines {
    display: block;
    width: 18px;
    height: 12px;
    background:
        linear-gradient(var(--text), var(--text)) 0 0 / 100% 2px,
        linear-gradient(var(--text), var(--text)) 0 50% / 100% 2px,
        linear-gradient(var(--text), var(--text)) 0 100% / 100% 2px;
    background-repeat: no-repeat;
    opacity: 0.85;
}

.hero {
    padding: 56px 0 18px;
    position: relative;
    overflow: hidden;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    inset: auto;
    width: 680px;
    height: 680px;
    border-radius: 999px;
    pointer-events: none;
    filter: blur(0px);
    opacity: 0.7;
}

.hero::before {
    top: -360px;
    left: -260px;
    background: radial-gradient(circle at 40% 40%, rgba(37, 99, 235, 0.14), transparent 62%);
}

.hero::after {
    top: -380px;
    right: -320px;
    background: radial-gradient(circle at 55% 45%, rgba(16, 185, 129, 0.12), transparent 64%);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 20px;
    align-items: start;
    position: relative;
}

.hero-copy h1 {
    font-size: clamp(28px, 4vw, 44px);
    margin: 0 0 10px;
    line-height: 1.1;
}

.hero-copy p {
    margin: 0 0 18px;
    color: var(--muted);
    max-width: 52ch;
}

.hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 14px;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.btn-primary {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.95), rgba(16, 185, 129, 0.88));
    box-shadow: var(--shadow);
    color: #ffffff;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--border);
    color: var(--text);
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary:hover {
    box-shadow: 0 18px 55px rgba(2, 6, 23, 0.16);
}

.btn-secondary:hover {
    border-color: rgba(15, 23, 42, 0.22);
}

.features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 14px 0 0;
}

.feature {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 10px;
    align-items: start;
    padding: 10px 12px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.86);
}

.icon {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.14);
    color: rgba(37, 99, 235, 0.95);
}

.icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

.feature-title {
    font-weight: 800;
    font-size: 13px;
    line-height: 1.2;
}

.feature-text {
    color: var(--muted);
    font-weight: 600;
    font-size: 12.5px;
    margin-top: 2px;
}

.hero-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.meta-pill {
    display: inline-flex;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    color: var(--muted);
    background: rgba(255, 255, 255, 0.9);
    font-size: 13px;
}

.hero-card {
    background: linear-gradient(180deg, rgba(248, 250, 252, 1), rgba(255, 255, 255, 1));
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 18px;
    box-shadow: var(--shadow);
}

.card-title {
    font-weight: 800;
    margin-bottom: 10px;
}

.checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
    color: var(--muted);
}

.checklist li {
    display: flex;
    gap: 10px;
}

.checklist li::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 3px;
    margin-top: 6px;
    background: rgba(57, 217, 138, 0.85);
    box-shadow: 0 0 0 3px rgba(57, 217, 138, 0.15);
}

.section {
    padding: 56px 0;
}

.section-alt {
    background: var(--panel-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-head {
    margin-bottom: 18px;
}

.section-head h2 {
    margin: 0 0 6px;
    font-size: 28px;
}

.section-head p {
    margin: 0;
    color: var(--muted);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.panel {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 18px;
}

.panel h3 {
    margin: 0 0 8px;
}

.panel p {
    margin: 0 0 14px;
    color: var(--muted);
}

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.badge {
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid rgba(37, 99, 235, 0.26);
    background: rgba(37, 99, 235, 0.08);
    font-weight: 700;
    font-size: 13px;
}

.steps {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
    display: grid;
    gap: 8px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.card {
    border-radius: 18px;
    border: 1px solid var(--border);
    background: var(--panel);
    padding: 14px;
    min-height: 220px;
}

.card-media {
    height: 120px;
    border-radius: 14px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(16, 185, 129, 0.10));
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.card h3 {
    margin: 0 0 6px;
}

.card p {
    margin: 0;
    color: var(--muted);
}

.alert {
    border-radius: 16px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    margin-bottom: 14px;
}

.alert-error {
    background: rgba(255, 77, 79, 0.12);
    border-color: rgba(255, 77, 79, 0.35);
}

.alert-success {
    background: rgba(57, 217, 138, 0.12);
    border-color: rgba(57, 217, 138, 0.35);
}

.form {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 18px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-content: start;
}

.field {
    display: grid;
    gap: 6px;
}

.field-full {
    grid-column: 1 / -1;
}

label {
    color: var(--muted);
    font-weight: 700;
    font-size: 13px;
}

input,
textarea {
    width: 100%;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.98);
    color: var(--text);
    padding: 11px 12px;
    outline: none;
}

input:focus,
textarea:focus {
    border-color: rgba(37, 99, 235, 0.55);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
}

textarea {
    resize: vertical;
    min-height: 140px;
}

.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.checkbox {
    grid-column: 1 / -1;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--muted);
    font-weight: 600;
    font-size: 13px;
}

.checkbox input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--accent);
}

.form-actions {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 2px;
}

.form-hint {
    color: var(--muted);
    font-weight: 600;
    font-size: 13px;
}

.contact-box {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 18px;
}

.contact-box h3 {
    margin: 0 0 12px;
}

.contact-list {
    display: grid;
    gap: 10px;
    color: var(--muted);
}

.contact-row {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 10px;
}

.contact-key {
    font-weight: 800;
    color: rgba(15, 23, 42, 0.92);
}

.map {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--panel);
    box-shadow: var(--shadow);
}

.map iframe {
    width: 100%;
    height: 380px;
    border: 0;
    display: block;
}

.site-footer {
    border-top: 1px solid var(--border);
    padding: 22px 0;
    background: var(--panel-2);
}

.footer-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-brand {
    font-weight: 900;
    letter-spacing: 0.2px;
}

.footer-muted {
    color: var(--muted);
    font-size: 13px;
}

.footer-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
    color: var(--muted);
    font-weight: 700;
    font-size: 13px;
}

.footer-links a:hover {
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.inline-link {
    color: rgba(37, 99, 235, 0.95);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.inline-link:hover {
    color: rgba(37, 99, 235, 1);
}

.legal h3 {
    margin: 16px 0 8px;
    font-size: 16px;
}

.legal h3:first-child {
    margin-top: 0;
}

.legal p {
    margin: 0;
    color: var(--muted);
    font-weight: 600;
}

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.9);
    border-top: 1px solid var(--border);
    backdrop-filter: blur(12px);
}

.cookie-inner {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-text {
    color: var(--muted);
    font-weight: 700;
    font-size: 13px;
}

.btn-small {
    padding: 9px 12px;
    border-radius: 12px;
    font-size: 13px;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 18px;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.4);
}

.modal-dialog {
    position: relative;
    width: min(760px, 100%);
    max-height: min(78vh, 760px);
    overflow: auto;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 70px rgba(2, 6, 23, 0.18);
}

.modal-header {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.98);
}

.modal-title {
    font-weight: 900;
    letter-spacing: 0.2px;
}

.modal-close {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.96);
    color: var(--text);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.modal-close:hover {
    border-color: rgba(15, 23, 42, 0.22);
}

.modal-body {
    padding: 16px;
}

.footer-right {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    color: var(--muted);
    font-weight: 700;
    font-size: 13px;
}

@media (max-width: 920px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav {
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        margin: 0 auto;
        width: min(1120px, calc(100% - 32px));
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 10px;
        border: 1px solid var(--border);
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: var(--shadow);
    }

    .nav.is-open {
        display: flex;
    }

    .nav-link {
        padding: 12px 12px;
    }
}
