/* ===================== TOKENS ===================== */
:root {
    --bg: #f7fafc;
    --card: #ffffff;
    --text: #0f172a;
    --muted: #475569;
    --brand: #0ea5e9;
    --border: #e2e8f0;
}

/* ===================== BASE ===================== */
html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--bg);
}

.wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 36px;
}

    .logo img {
        height: 36px;
        width: auto;
        display: block;
    }

    .logo.big {
        height: 150px;
    }

        .logo.big img {
            height: 250px;
        }

.brand-text {
    font-weight: 800;
}

/* generic inline links group (used in nav too) */
.links a {
    margin-left: 14px;
    text-decoration: none;
    color: inherit;
}

.links .btn {
    margin-left: 18px;
}

/* ===================== BUTTONS ===================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid var(--border);
    text-decoration: none;
    font-weight: 700;
    transition: background .2s, opacity .2s;
}

.btn-primary {
    background: #0ea5e9;
    color: #fff;
    border: none;
}

    .btn-primary:hover {
        background: #0284c7;
    }

.btn-secondary {
    background: transparent;
    color: #0ea5e9;
    border: 2px solid #0ea5e9;
}

    .btn-secondary:hover {
        background: #e0f2fe;
    }

.btn.w-full {
    width: 100%;
    text-align: center;
}

.btn.lg {
    padding: 12px 18px;
    font-size: 16px;
}

/* ===================== SECTIONS & CARDS ===================== */
.section {
    padding: 28px 0;
}

    .section.alt {
        background: #f9fafb;
    }

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 8px 22px rgba(2,6,23,.05);
}

.muted {
    color: var(--muted);
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: #f0f9ff;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

/* grids reused across sections */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media(min-width:900px) {
    .grid-2 {
        grid-template-columns: repeat(2,1fr);
    }
}

.cards {
    display: grid;
    gap: 1.5rem;
}

.cards-1 {
    display: grid;
    gap: 16px;
}

.cards-2 {
    grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
}

.cards-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media(min-width:900px) {
    .cards-3 {
        grid-template-columns: repeat(3,1fr);
    }
}

/* ===================== HERO ===================== */
.hero {
    background: linear-gradient(135deg,#f8fafc,#ffffff);
    border-bottom: 1px solid var(--border);
    padding: 32px 0 28px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

@media(min-width:960px) {
    .hero-grid {
        grid-template-columns: 1.05fr .95fr;
    }
}

.hero-left h1 {
    margin: 8px 0;
    font-size: clamp(24px,4vw,38px);
}

.tag {
    color: var(--muted);
    margin: 0 0 14px;
}

/* hero benefits layout */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

@media(min-width:600px) {
    .benefits-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media(min-width:960px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}
/* tall stack on wide layout */

/* ===================== PRICING ===================== */
.plan .price {
    font-size: 28px;
    font-weight: 800;
    margin: 6px 0 10px;
}

.plan .unit {
    font-size: 14px;
    color: #6b7280;
    margin-left: 4px;
}

.plan ul {
    margin: 0 0 14px 18px;
}

.plan li {
    margin: 6px 0;
}

.plan.highlight {
    box-shadow: 0 0 0 2px #0ea5e9 inset;
}

.cards-1 .plan.wide {
    width: 100%;
    justify-self: center;
}

/* ===================== TABLES ===================== */
.table-wrap {
    overflow: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

    .table th, .table td {
        padding: 12px;
        border-bottom: 1px solid var(--border);
        text-align: left;
    }

    .table thead th {
        background: #f1f5f9;
    }

/* ===================== FORMS ===================== */
.h2 {
    font-size: clamp(22px,3vw,34px);
    margin: 0 0 6px;
}

.quote-card {
    margin-top: 12px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 10px 30px rgba(2,6,23,.06);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media(min-width:900px) {
    .form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    .field label {
        font-size: 13px;
        color: #475569;
        font-weight: 600;
    }

.input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #f8fafc;
}

    .input:focus {
        outline: none;
        border-color: #0ea5e9;
        box-shadow: 0 0 0 3px rgba(14,165,233,.20);
        background: #fff;
    }

.textarea {
    resize: vertical;
}

.col-span-2 {
    grid-column: 1 / -1;
}

.actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.ok {
    color: #16a34a;
    font-weight: 600;
}

/* ===================== FOOTER ===================== */
.footer {
    border-top: 1px solid var(--border);
    padding: 16px 0;
    background: #fff;
    margin-top: 10px;
    color: #111827;
    font-size: 14px;
    position: relative;
}

    .footer .wrap {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        flex-wrap: wrap;
    }

/* ===================== LANGUAGE SWITCH ===================== */
.lang-btn {
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 10px;
    padding: 8px 10px;
    font-weight: 600;
    cursor: pointer;
}

.lang-switch {
    cursor: pointer;
    font-weight: 600;
    color: #0f172a;
    font-size: .9rem;
    transition: color .2s;
    user-select: none;
}

    .lang-switch:hover {
        color: #0ea5e9;
    }

/* ===================== NAV (keep this near the END) ===================== */
.nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid var(--border);
}

    .nav .nav-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 56px;
    }

    .nav .brand {
        display: inline-flex;
        align-items: center;
        gap: .5rem;
        text-decoration: none;
    }

    .nav .logo img {
        height: 28px;
        width: auto;
    }

    /* desktop links: visible & pushed right */
    .nav .links {
        display: flex;
        align-items: center;
        gap: 20px;
        margin-left: auto;
    }

/* hamburger button — hidden on desktop */
.menu-toggle {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    border: 0;
    margin: 0;
    padding: 6px;
    line-height: 0;
    display: none; /* hidden by default (desktop) */
    flex-direction: column;
    gap: 4px; /* stack bars */
    align-items: flex-end; /* right-align bars */
    justify-content: center;
    width: 44px; /* nice tap target */
    border-radius: 6px;
    box-shadow: none;
    outline: none;
}

    .menu-toggle:focus-visible {
        box-shadow: 0 0 0 3px rgba(14,165,233,.35);
    }

    .menu-toggle .bar {
        width: 24px;
        height: 2px;
        background: #0f172a;
        border-radius: 2px;
        margin-left: auto;
    }

/* mobile menu behaviour */
@media (max-width:768px) {
    .menu-toggle {
        display: inline-flex;
    }
    /* show hamburger */
    .nav .links {
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        display: none; /* closed by default */
        flex-direction: column;
        gap: .75rem;
        padding: 12px 16px;
        background: #fff;
        border-bottom: 1px solid var(--border);
        margin-left: 0; /* override desktop push */
    }

        .nav .links.open {
            display: flex;
        }
        /* opened state */
        .nav .links .btn {
            width: 100%;
            text-align: center;
        }
}
