:root {
    /* =====================================================
       BRAND COLORS (sampled from the Lamne logo)
       ===================================================== */

    --primary: #4f6fb3;
    --primary-dark: #3b5794;
    --primary-logo: #6383c2;
    --primary-light: #eef2fb;

    --accent: #faa21b;
    --accent-dark: #d9860a;
    --accent-light: #fff4e2;

    /* =====================================================
       TEXT COLORS
       ===================================================== */

    --dark: #101828;
    --text: #475467;
    --muted: #667085;

    /* =====================================================
       BACKGROUNDS / BORDERS
       ===================================================== */

    --white: #ffffff;
    --background: #f7f9fd;
    --border: #e3e8f2;

    /* =====================================================
       RADIUS / SHADOW / CONTAINER
       ===================================================== */

    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;

    --shadow: 0 20px 60px rgba(16, 24, 40, 0.10);
    --shadow-sm: 0 6px 24px rgba(16, 24, 40, 0.06);

    --container: 1180px;
}


/* =========================================================
   FONT FALLBACK (metric-matched to Inter, reduces CLS)
   ========================================================= */

@font-face {
    font-family: "Inter Fallback";
    src: local("Arial");
    ascent-override: 90.49%;
    descent-override: 22.56%;
    line-gap-override: 0%;
    size-adjust: 107.06%;
}


/* =========================================================
   RESET / GLOBAL
   ========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", "Inter Fallback", system-ui, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.65;
    font-size: 16px;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary);
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--dark);
    line-height: 1.2;
    font-weight: 700;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 90px 0;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .25s, border-color .25s;
}

.site-header.scrolled {
    border-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 80px;
}

.logo img {
    height: 52px;
    width: auto;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

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

.nav-links a {
    color: var(--dark);
    font-weight: 500;
    font-size: 15px;
    padding: 8px 12px;
    border-radius: 10px;
    transition: color .2s, background .2s;
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    background: var(--primary-light);
}

.caret {
    font-size: 11px;
    opacity: .7;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    padding: 8px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .2s, transform .2s, visibility .2s;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    display: block;
}

.nav-actions {
    display: flex;
    gap: 12px;
}

.menu-btn {
    display: none;
    background: none;
    border: 1px solid var(--border);
    border-radius: 10px;
    width: 44px;
    height: 44px;
    font-size: 22px;
    cursor: pointer;
    color: var(--dark);
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .2s, background .2s, color .2s, border-color .2s, box-shadow .2s;
    font-family: inherit;
    white-space: nowrap;
}

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

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 10px 24px rgba(79, 111, 179, .28);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-accent {
    background: var(--accent);
    color: var(--dark);
}

.btn-accent:hover {
    background: var(--accent-dark);
    color: var(--white);
}

.btn-outline {
    border-color: var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--primary-dark);
}

.btn-ghost-white {
    border-color: rgba(255, 255, 255, .55);
    color: var(--white);
}

.btn-ghost-white:hover {
    background: rgba(255, 255, 255, .12);
}


/* =========================================================
   COMMON SECTION HEADER
   ========================================================= */

.section-tag {
    display: inline-block;
    background: var(--accent-light);
    color: var(--accent-dark);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}

.section-header h2 {
    font-size: clamp(30px, 4vw, 42px);
    margin-bottom: 14px;
}

.section-header h2 span,
.page-hero h1 span,
.hero h1 span {
    color: var(--primary);
}

.section-header p {
    font-size: 18px;
}

.bg-soft {
    background: var(--background);
}


/* =========================================================
   PAGE HERO (inner pages)
   ========================================================= */

.page-hero {
    background:
        radial-gradient(circle at 85% 20%, rgba(250, 162, 27, .14), transparent 40%),
        radial-gradient(circle at 10% 90%, rgba(99, 131, 194, .18), transparent 45%),
        var(--background);
    padding: 80px 0 70px;
    text-align: center;
}

.page-hero-content {
    max-width: 820px;
    margin: 0 auto;
}

.page-hero h1 {
    font-size: clamp(34px, 5vw, 54px);
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}

.page-hero p {
    font-size: 19px;
    max-width: 680px;
    margin: 0 auto;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.page-hero .hero-buttons {
    justify-content: center;
}


/* =========================================================
   CARDS / GRIDS
   ========================================================= */

.grid-2,
.grid-3,
.grid-4 {
    display: grid;
    gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: transform .25s, box-shadow .25s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 26px;
    background: var(--primary-light);
    margin-bottom: 20px;
}

.card h3 {
    font-size: 21px;
    margin-bottom: 10px;
}

.card .card-link {
    display: inline-block;
    margin-top: 16px;
    font-weight: 600;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.split h2 {
    font-size: clamp(28px, 3.6vw, 40px);
    margin-bottom: 18px;
}

.split p + p {
    margin-top: 14px;
}

.check-list {
    list-style: none;
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.check-list li {
    position: relative;
    padding-left: 34px;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    display: grid;
    place-items: center;
}

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

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin-top: 18px;
}

.pill-list li {
    background: var(--primary-light);
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 999px;
}


/* =========================================================
   PROSE (long-form pages: policies, profiles)
   ========================================================= */

.prose {
    max-width: 820px;
    margin: 0 auto;
}

.prose h2 {
    font-size: 28px;
    margin: 44px 0 14px;
}

.prose h3 {
    font-size: 21px;
    margin: 30px 0 10px;
}

.prose h4 {
    font-size: 18px;
    margin: 24px 0 8px;
}

.prose p,
.prose ul,
.prose ol {
    margin-bottom: 14px;
}

.prose ul,
.prose ol {
    padding-left: 22px;
}

.prose li {
    margin-bottom: 8px;
}

.prose strong {
    color: var(--dark);
}

.prose .meta {
    color: var(--muted);
    font-size: 15px;
}


/* =========================================================
   CTA
   ========================================================= */

.cta-section {
    padding: 40px 0 90px;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-logo));
    border-radius: var(--radius-lg);
    padding: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    color: rgba(255, 255, 255, .88);
    position: relative;
    overflow: hidden;
}

.cta-box::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(250, 162, 27, .25);
}

.cta-box h2 {
    color: var(--white);
    font-size: clamp(24px, 3vw, 32px);
    margin-bottom: 10px;
}

.cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}


/* =========================================================
   FORMS
   ========================================================= */

.contact-form {
    display: grid;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.contact-form label {
    display: grid;
    gap: 6px;
    font-weight: 600;
    font-size: 14px;
    color: var(--dark);
}

.contact-form input,
.contact-form textarea {
    font: inherit;
    font-weight: 400;
    padding: 13px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--dark);
    transition: border-color .2s, box-shadow .2s;
    width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.contact-form .btn {
    justify-self: start;
}

.form-note {
    font-size: 14px;
    color: var(--muted);
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
    background: #0f1729;
    color: rgba(255, 255, 255, .7);
    padding: 72px 0 28px;
    font-size: 15px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-logo {
    background: var(--white);
    border-radius: 12px;
    padding: 10px 14px;
    width: 160px;
    height: auto;
    margin-bottom: 18px;
}

.footer-title {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, .7);
    transition: color .2s;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-address span:first-child {
    color: var(--white);
    font-weight: 600;
}

.footer-address {
    gap: 6px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    margin-top: 48px;
    padding-top: 24px;
    text-align: center;
    font-size: 14px;
}


/* =========================================================
   TABLET - 1080px
   ========================================================= */

@media (max-width: 1080px) {

    .menu-btn {
        display: block;
    }

    .nav-actions {
        display: none;
    }

    .nav-links {
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 12px 20px 24px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
        display: none;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

    .nav-links.mobile-open {
        display: flex;
    }

    .nav-links a {
        padding: 12px;
    }

    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0 0 0 16px;
        min-width: 0;
    }

    .nav-dropdown > a .caret {
        display: none;
    }

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

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .split {
        gap: 40px;
    }
}


/* =========================================================
   MOBILE - 768px
   ========================================================= */

@media (max-width: 768px) {

    section {
        padding: 64px 0;
    }

    .container {
        padding: 0 16px;
    }

    .navbar {
        height: 68px;
    }

    .nav-links {
        top: 68px;
    }

    .logo img {
        height: 44px;
    }

    .page-hero {
        padding: 56px 0 48px;
    }

    .page-hero p {
        font-size: 17px;
    }

    .grid-2,
    .grid-3,
    .split,
    .form-row,
    .check-list.cols-2 {
        grid-template-columns: 1fr;
    }

    .split-media {
        order: -1;
    }

    .split-media img {
        max-width: 300px;
        margin: 0 auto;
    }

    .cta-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 36px 24px;
    }

    .card {
        padding: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-grid > div:first-child,
    .footer-grid > div:last-child {
        grid-column: 1 / -1;
    }
}


/* =========================================================
   SMALL MOBILE - 480px
   ========================================================= */

@media (max-width: 480px) {

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

    .hero-buttons .btn,
    .cta-actions .btn {
        width: 100%;
    }

    .cta-actions {
        width: 100%;
    }
}
