﻿:root {
    --bg: #ffffff; /* page background */
    --panel: #fafafa; /* light panels */
    --text: #0d0f12; /* main text (near-black) */
    --muted: #5d6470; /* secondary text */
    --accent: #ffd100; /* yellow */
    --accent-700: #e6be00; /* deeper yellow */
    --border: #e7e9ee; /* soft divider */
    --ring: rgba(255,209,0,.35); /* focus ring */
    --shadow-1: 0 6px 24px rgba(15, 18, 24, .06);
    --shadow-2: 0 16px 40px rgba(15, 18, 24, .08);
}

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Helvetica, Arial;
    color: var(--text);
    background: var(--bg);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1120px, 92%);
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: -9999px;
}

    .skip-link:focus {
        left: 1rem;
        top: 1rem;
        z-index: 1000;
        background: #000;
        color: #fff;
        padding: .5rem .75rem;
        border-radius: .5rem;
    }

/* Announcement + Header */
.announcement {
    background: var(--accent);
    color: #000;
    font-weight: 700;
    font-size: .95rem
}

    .announcement .container {
        padding: .45rem 0
    }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-1);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .9rem 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: .6rem;
    text-decoration: none;
    color: var(--text);
    font-weight: 800;
    letter-spacing: .2px;
}

.brand-logo {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: .4rem;
    box-shadow: 0 4px 10px rgba(0,0,0,.06);
}

.brand-name {
    white-space: nowrap;
}

/* Mobile nav (checkbox hack) */
.menu-toggle {
    display: none;
}

.nav-toggle {
    display: none;
    cursor: pointer;
    border: 1px solid var(--border);
    border-radius: .6rem;
    padding: .4rem .6rem;
    background: #fff;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: 0;
    padding: 0;
}

    .nav-links a {
        color: var(--text);
        text-decoration: none;
        padding: .5rem .75rem;
        border-radius: .6rem;
        position: relative;
    }

        .nav-links a::after {
            content: "";
            position: absolute;
            left: .75rem;
            right: .75rem;
            bottom: .35rem;
            height: 2px;
            background: transparent;
            transition: background .2s ease;
        }

        .nav-links a:hover::after, .nav-links a:focus::after {
            background: var(--accent);
        }

/* Hero */
.hero {
    padding: 5.5rem 0 3.25rem;
    background: linear-gradient(180deg, #fff 0%, #fff6bf 120%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 2.75rem;
    align-items: center;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .8rem;
    color: #8a8f99;
    font-weight: 800;
}

.hero-copy h1 {
    font-size: clamp(2.1rem, 3.4vw, 3.2rem);
    margin: .35rem 0 .8rem;
    line-height: 1.08;
}

.txt-accent {
    background: linear-gradient(90deg, var(--accent), var(--accent-700));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lead {
    color: var(--muted);
    max-width: 58ch;
}

.hero-media img {
    border-radius: 1rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-2);
}

/* Sections */
.section {
    padding: 4rem 0;
}

    .section.alt {
        background: var(--panel);
        border-block: 1px solid var(--border);
    }

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

    .section-header h2 {
        margin: .4rem 0 0;
        font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    }

.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 1rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-1);
    transition: transform .12s ease, box-shadow .12s ease;
}

    .card:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-2);
    }

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 1rem;
}

    .card-body h3 {
        margin: 0 0 .5rem;
        font-size: 1.12rem;
        color: #5a4a00;
    }

    .card-body p {
        color: var(--muted);
        margin: 0;
    }

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

    .grid-2 > figure img {
        border-radius: 1rem;
        border: 1px solid var(--border);
        box-shadow: var(--shadow-1);
    }

/* Contact */
.contact-block a {
    color: #2f2f2f;
}

    .contact-block a:hover {
        color: #000;
        text-decoration: underline;
    }

form {
    background: #fff;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: .85rem;
    box-shadow: var(--shadow-1);
    position: relative;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

    .form-field.full {
        grid-column: 1 / -1;
    }

label {
    font-weight: 700;
    color: #2a2f37;
}

input, textarea {
    background: #fff;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: .65rem;
    padding: .65rem .75rem;
    outline: none;
}

    input:focus, textarea:focus {
        border-color: var(--accent-700);
        box-shadow: 0 0 0 4px var(--ring);
    }

.validation-message {
    color: #c62828;
    font-size: .9rem;
}

/* Checkbox & honeypot */
.form-check {
    display: flex;
    gap: .5rem;
    align-items: center;
    margin-top: .5rem
}

    .form-check input[type="checkbox"] {
        width: 1.05rem;
        height: 1.05rem
    }

.hp-field {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden
}

/* Buttons */
.btn {
    display: inline-block;
    border-radius: .8rem;
    padding: .78rem 1.1rem;
    text-decoration: none;
    font-weight: 800;
    border: 1px solid var(--accent);
    transition: transform .06s ease, box-shadow .12s ease;
}

.btn-primary {
    background: linear-gradient(180deg, var(--accent), var(--accent-700));
    color: #000;
    box-shadow: 0 6px 16px rgba(255, 209, 0, .25);
}

    .btn-primary:hover {
        transform: translateY(-1px);
    }

.btn:active {
    transform: translateY(0);
}

/* Toast */
.toast {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    background: #111;
    color: #fff;
    padding: .9rem 1rem;
    border-radius: .75rem;
    box-shadow: var(--shadow-2);
    border: 1px solid #000;
    opacity: 0;
    animation: toast-in .2s ease forwards
}

@keyframes toast-in {
    from {
        transform: translateY(6px);
        opacity: 0
    }

    to {
        transform: translateY(0);
        opacity: 1
    }
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 1rem 0;
    background: #fff;
    color: #2f2f2f;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.to-top {
    color: #4a525f;
    text-decoration: none;
}

    .to-top:hover {
        color: #000;
        text-decoration: underline;
    }

/* Responsive */
@media (max-width: 992px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-grid, .grid-2 {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 4.25rem;
    }
}

@media (max-width: 720px) {
    .nav-toggle {
        display: inline-block;
        color: var(--text);
    }

    .nav-links {
        position: absolute;
        right: 4%;
        top: 68px;
        flex-direction: column;
        background: #fff;
        padding: .75rem;
        border: 1px solid var(--border);
        border-radius: .75rem;
        display: none;
        box-shadow: var(--shadow-2);
    }

    .menu-toggle:checked ~ .nav-links {
        display: flex;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .brand-name {
        font-size: .98rem;
    }
}




/* === Modern Sleek Footer === */
.sleek-footer {
    background: linear-gradient(180deg, #0d0d0d 0%, #111 70%, #0a0a0a 100%);
    color: #d0d0d0;
    padding: 2.5rem 1rem 1.5rem;
    font-family: "Poppins", sans-serif;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.4);
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    text-align: center;
}

/* --- Logo & Branding --- */
.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.footer-logo {
    width: 42px;
    height: auto;
    filter: drop-shadow(0 0 6px rgba(255, 209, 0, 0.3));
}

.footer-brand .brand-name {
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    color: #ffd100;
}

/* --- Footer Links --- */
.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.95rem;
}

    .footer-links a {
        color: #ccc;
        text-decoration: none;
        position: relative;
        transition: color 0.25s ease, text-shadow 0.25s ease;
    }

        .footer-links a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -2px;
            width: 0%;
            height: 2px;
            background-color: #ffd100;
            transition: width 0.3s ease;
        }

        .footer-links a:hover::after {
            width: 100%;
        }

        .footer-links a:hover {
            color: #fff;
            text-shadow: 0 0 8px rgba(255, 209, 0, 0.6);
        }

    .footer-links .dot {
        color: #555;
        opacity: 0.5;
        font-weight: 600;
    }

/* --- Bottom Section --- */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: #999;
}

.footer-copy {
    letter-spacing: 0.3px;
}

/* --- Back to top button --- */
.to-top {
    color: #ffd100;
    font-size: 1.3rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

    .to-top:hover {
        color: #fff;
        transform: translateY(-4px) scale(1.1);
    }

/* --- Responsive --- */
@media (max-width: 600px) {
    .footer-links {
        font-size: 0.85rem;
        gap: 0.6rem;
    }

    .footer-brand .brand-name {
        font-size: 1rem;
    }

    .footer-logo {
        width: 36px;
    }
}


/* Back to top FAB */
.back-to-top {
    position: fixed;
    right: 1rem;
    bottom: 1.25rem;
    width: 44px;
    height: 44px;
    line-height: 44px;
    text-align: center;
    border-radius: 50%;
    background: linear-gradient(180deg,var(--accent),var(--accent-700));
    color: #000;
    text-decoration: none;
    font-weight: 900;
    box-shadow: var(--shadow-2);
    border: 1px solid rgba(0,0,0,.08);
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity .18s ease, transform .18s ease, box-shadow .15s ease;
    z-index: 60;
}

    .back-to-top:hover {
        box-shadow: 0 12px 28px rgba(0,0,0,.16)
    }

    .back-to-top.show {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0)
    }


/* Footer / legal links */
.legal-links {
    display: flex;
    gap: .75rem;
    align-items: center;
    flex-wrap: wrap
}

    .legal-links a {
        color: #1c1f25; /* darker for contrast */
        text-decoration: none;
        font-weight: 600;
    }

        .legal-links a:hover,
        .legal-links a:focus {
            text-decoration: underline;
            text-underline-offset: 3px;
        }

.footer-grid .dot {
    color: #8a8f99
}

.to-top {
    color: #1c1f25;
    text-decoration: none;
    font-weight: 700
}

    .to-top:hover {
        color: #000;
        text-decoration: underline
    }


/* Floating Back-to-Top Button */
.backtotop {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--accent); /* yellow */
    color: #000;
    font-size: 1.4rem;
    line-height: 42px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    transition: all 0.25s ease;
    opacity: 0;
    pointer-events: none;
    z-index: 999;
}

    .backtotop:hover {
        background: var(--accent-700);
        transform: translateY(-2px);
        box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
    }

    .backtotop.show {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }


.backtotop {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center; /* NEW */
    background: var(--accent);
    color: #000;
    font-size: 1.2rem; /* size tweak */
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0,0,0,.2);
    transition: all .25s ease;
    opacity: 0;
    pointer-events: none;
    z-index: 999;
}

    .backtotop:hover {
        background: var(--accent-700);
        transform: translateY(-2px);
        box-shadow: 0 10px 22px rgba(0,0,0,.25);
    }

    .backtotop.show {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .backtotop svg {
        fill: #000;
    }


/* --- Modern centered footer --- */
.site-footer {
    border-top: 1px solid var(--border);
    background: #fdfdfd;
    padding: 1.5rem 0;
}

.footer-stack {
    /* centers everything and stacks vertically */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: .5rem;
}

/* legal links — clear + on brand */
.footer-nav {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
}

    .footer-nav a {
        color: #0e1116; /* stronger contrast */
        font-weight: 600;
        text-decoration: none;
        padding: .25rem .4rem;
        border-radius: .4rem;
        transition: background .2s ease, color .2s ease;
    }

        .footer-nav a:hover,
        .footer-nav a:focus {
            background: var(--accent); /* yellow pill on hover */
            color: #000;
        }

.footer-stack .dot {
    color: #b9bec7;
}

/* copyright line — slightly muted but readable */
.copyright {
    margin: 0;
    color: #4b515b;
    font-size: .95rem;
}


/* Floating Back-to-Top Button — perfectly centered */
.backtotop {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--accent);
    color: #000;
    display: flex; /* center with flex */
    align-items: center; /* vertical center */
    justify-content: center; /* horizontal center */
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0,0,0,.2);
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, opacity .18s ease;
    font-size: 1.15rem; /* slightly smaller glyph */
    line-height: 1; /* IMPORTANT: avoid font baseline offset */
    letter-spacing: 0; /* no spacing drift */
    padding: 0; /* ensure 1:1 box */
    border: 1px solid rgba(0,0,0,.08);
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
    z-index: 999;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

    .backtotop:hover {
        background: var(--accent-700);
        transform: translateY(-2px);
        box-shadow: 0 10px 22px rgba(0,0,0,.25);
    }

    .backtotop.show {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }


/* no-wrap utility */
.nowrap {
    white-space: nowrap;
}

/* Keep hero headline on one line on small screens */
@media (max-width: 480px) {
    .hero-copy h1 {
        font-size: clamp(1.75rem, 7vw, 2rem); /* shrink instead of wrapping */
        line-height: 1.05;
        white-space: nowrap;
    }
}

/* Checkbox label stays on one line */
.form-check {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: nowrap;
}

    .form-check label {
        white-space: nowrap;
    }

/* Footer: keep legal links and copyright on a single line */
.footer-stack {
    gap: .4rem;
}

.footer-nav {
    white-space: nowrap; /* don't wrap */
    flex-wrap: nowrap; /* single line */
    overflow-x: auto; /* if too long, allow gentle scroll */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

    .footer-nav::-webkit-scrollbar {
        display: none;
    }
    /* hide scrollbar on iOS/Chrome */
    .footer-nav a {
        display: inline-block;
    }

.footer-stack .dot {
    display: inline-block;
}

/* Copyright never wraps */
.copyright {
    white-space: nowrap;
}

/* Make footer text a bit smaller on very narrow screens to avoid overflow */
@media (max-width: 420px) {
    .footer-nav a {
        font-size: .9rem;
    }

    .copyright {
        font-size: .9rem;
    }
}

/* Back-to-top: ensure it doesn't cover footer text on mobile */
@supports (bottom: env(safe-area-inset-bottom)) {
    .backtotop {
        bottom: calc(1rem + env(safe-area-inset-bottom));
    }
}

@media (max-width: 480px) {
    .backtotop {
        width: 38px;
        height: 38px;
        font-size: 1.05rem;
    }
}


/* Header base tweaks */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-1);
}

.nav {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .9rem 0;
}

/* Logo sizing for small screens */
.brand {
    display: flex;
    align-items: center;
    gap: .6rem;
    text-decoration: none;
    color: var(--text);
    font-weight: 800;
    letter-spacing: .2px;
    min-width: 0;
}

.brand-logo {
    height: 34px;
    width: auto;
    object-fit: contain;
    border-radius: .25rem;
    box-shadow: 0 2px 6px rgba(0,0,0,.06);
}

/* Desktop nav */
.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: 0;
    padding: 0;
}

    .nav-links a {
        color: var(--text);
        text-decoration: none;
        padding: .5rem .75rem;
        border-radius: .6rem;
        position: relative;
    }

        .nav-links a::after {
            content: "";
            position: absolute;
            left: .75rem;
            right: .75rem;
            bottom: .35rem;
            height: 2px;
            background: transparent;
            transition: background .2s ease;
        }

        .nav-links a:hover::after, .nav-links a:focus::after {
            background: var(--accent);
        }

/* Mobile menu button */
.menu-toggle {
    display: none;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: .6rem;
    background: #fff;
    color: #111;
    cursor: pointer;
    user-select: none;
    font-size: 1.3rem;
    line-height: 1; /* centers the ☰ glyph */
    box-shadow: var(--shadow-1);
    transition: background .15s ease, box-shadow .15s ease, transform .1s ease;
}

    .nav-toggle:hover {
        background: #f8f8f8;
        box-shadow: var(--shadow-2);
    }

    .nav-toggle:active {
        transform: translateY(1px);
    }

/* Mobile layout */
@media (max-width: 720px) {
    .nav-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .nav {
        align-items: center;
    }

    .brand-logo {
        height: 30px;
    }
    /* keeps header compact */
    .nav-links {
        position: absolute;
        right: 0;
        top: calc(100% + 8px);
        display: none;
        flex-direction: column;
        align-items: stretch;
        min-width: 220px;
        background: #fff;
        border: 1px solid var(--border);
        border-radius: .75rem;
        padding: .5rem;
        box-shadow: var(--shadow-2);
        z-index: 100;
    }
    /* IMPORTANT: matches input + label + ul structure */
    .menu-toggle:checked + .nav-toggle + .nav-links {
        display: flex;
    }

    .nav-links a {
        padding: .6rem .75rem;
        border-radius: .5rem;
    }

        .nav-links a::after {
            display: none;
        }
}









/* Centered footer */
.site-footer {
    border-top: 1px solid var(--border);
    background: #fdfdfd;
    padding: 1.75rem 0 2.25rem;
}

.footer-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: .6rem;
}

.footer-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

    .footer-nav a {
        color: #0e1116;
        font-weight: 600;
        text-decoration: none;
        padding: .25rem .5rem;
        border-radius: .5rem;
        transition: background .2s ease, color .2s ease;
    }

        .footer-nav a:hover, .footer-nav a:focus {
            background: var(--accent);
            color: #000;
        }

.footer-stack .dot {
    color: #c7cbd3;
}

.copyright {
    margin: 0;
    color: #4b515b;
    font-size: .95rem;
}

/* Keep on one line on small screens, but allow gentle horizontal scroll instead of ugly wraps */
.footer-nav {
    white-space: nowrap;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

    .footer-nav::-webkit-scrollbar {
        display: none;
    }


/* === HEADER / NAV === */
:root {
    --header-h: 64px;
}

/* keep header size predictable */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-1);
}

.nav {
    min-height: var(--header-h);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

/* logo sizing */
.brand {
    display: flex;
    align-items: center;
    gap: .6rem;
    text-decoration: none;
    color: var(--text);
    font-weight: 800;
    letter-spacing: .2px;
}

.brand-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
    border-radius: .25rem;
    box-shadow: 0 2px 6px rgba(0,0,0,.06);
}

/* desktop links */
.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: 0;
    padding: 0;
}

    .nav-links a {
        color: var(--text);
        text-decoration: none;
        padding: .5rem .75rem;
        border-radius: .6rem;
        position: relative;
    }

        .nav-links a::after {
            content: "";
            position: absolute;
            left: .75rem;
            right: .75rem;
            bottom: .35rem;
            height: 2px;
            background: transparent;
            transition: background .2s;
        }

        .nav-links a:hover::after, .nav-links a:focus::after {
            background: var(--accent);
        }

/* burger button (label) */
.menu-toggle {
    display: none;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px; /* square tap target */
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: .6rem;
    background: #fff;
    color: #111;
    cursor: pointer;
    user-select: none;
    font-size: 1.25rem;
    line-height: 1; /* centers the ☰ glyph */
    box-shadow: var(--shadow-1);
    transition: background .15s, box-shadow .15s, transform .1s;
}

    .nav-toggle:hover {
        background: #f8f8f8;
        box-shadow: var(--shadow-2);
    }

    .nav-toggle:active {
        transform: translateY(1px);
    }

/* ===== Mobile layout ===== */
@media (max-width: 720px) {
    /* 3-column grid keeps logo left, space middle, burger right */
    .nav {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
    }

    .brand {
        min-width: 0;
    }

    .nav-toggle {
        display: inline-flex;
        justify-self: end;
    }

    /* dropdown: full-width sheet under header, no overflow */
    .nav-links {
        position: fixed;
        left: 1rem;
        right: 1rem;
        top: calc(var(--header-h) + 8px);
        display: none;
        flex-direction: column;
        align-items: stretch;
        background: #fff;
        border: 1px solid var(--border);
        border-radius: .75rem;
        padding: .6rem;
        box-shadow: var(--shadow-2);
        z-index: 1000;
    }

    /* IMPORTANT: input + label + ul order */
    .menu-toggle:checked + .nav-toggle + .nav-links {
        display: flex;
    }

    /* link styling inside dropdown */
    .nav-links a {
        padding: .7rem .8rem;
        border-radius: .5rem;
    }

        .nav-links a::after {
            display: none;
        }
}


/* === FOOTER — centered & modern === */
.site-footer {
    border-top: 1px solid var(--border);
    background: #fdfdfd;
    padding: 1.5rem 0 2.5rem;
}

.footer-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: .6rem;
}

.footer-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    white-space: nowrap;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

    .footer-nav::-webkit-scrollbar {
        display: none;
    }

    .footer-nav a {
        color: #0e1116;
        font-weight: 600;
        text-decoration: none;
        padding: .25rem .5rem;
        border-radius: .5rem;
        transition: background .2s, color .2s;
    }

        .footer-nav a:hover, .footer-nav a:focus {
            background: var(--accent);
            color: #000;
        }

.footer-stack .dot {
    color: #c7cbd3;
}

.copyright {
    margin: 0;
    color: #4b515b;
    font-size: .95rem;
    white-space: nowrap;
}

/* =====================================================
   LEGAL / POLICY PAGES
   Refined serif font, justified layout, responsive sizing
   ===================================================== */

.prose, .section-header {
    max-width: 900px;
    margin-inline: auto;
    font-family: 'Georgia', 'Merriweather', serif; /* elegant serif look */
}

    /* Section headers */
    .section-header h1 {
        font-size: 1.6rem;
        font-weight: 700;
        margin-bottom: 0.6rem;
        text-align: center;
        color: #111;
        letter-spacing: 0.5px;
    }

    .section-header .lead {
        font-size: 1rem;
        color: #555;
        text-align: center;
        margin-bottom: 1.2rem;
    }

/* Main body */
.prose {
    font-size: 0.96rem;
    line-height: 1.75;
    color: #2b2b2b;
    text-align: justify;
    hyphens: auto;
    word-spacing: 0.03em;
    background: #fffefb;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

    /* Sub-headings */
    .prose h2 {
        font-size: 1.15rem;
        font-weight: 600;
        color: #1b1b1b;
        margin-top: 1.25rem;
        margin-bottom: 0.5rem;
        text-align: left;
    }

    /* Paragraphs and lists */
    .prose p,
    .prose li {
        font-size: 0.96rem;
        color: #333;
        margin-bottom: 0.9rem;
    }

    /* Lists spacing */
    .prose ul {
        margin: 0.5rem 0 1rem 1.5rem;
    }

    /* Typography details */
    .prose strong {
        color: #111;
        font-weight: 600;
    }

    .prose em {
        color: #444;
        font-style: italic;
    }

    /* Add visual separators between key sections */
    .prose hr {
        border: none;
        border-top: 1px solid #ddd;
        margin: 1.5rem 0;
    }

/* Responsive adjustments */
@media (max-width: 700px) {
    .section-header h1 {
        font-size: 1.35rem;
    }

    .prose h2 {
        font-size: 1.05rem;
    }

    .prose p, .prose li {
        font-size: 0.9rem;
        text-align: left; /* easier reading on narrow screens */
    }

    .prose {
        padding: 0.9rem 1rem;
    }
}










/* =====================================================
   ABOUT SECTION — Serif Typography + Clean Reading Layout
   Matches Legal Pages (Professional Consulting Style)
   ===================================================== */

#about, .section.alt {
    background: #fffefb;
    color: #222;
    padding: 3rem 1rem;
    font-family: 'Georgia', 'Merriweather', serif; /* match legal pages */
    line-height: 1.75;
}

    #about h2, .section.alt h2 {
        font-size: 1.6rem;
        font-weight: 700;
        color: #111;
        margin-bottom: 0.8rem;
        text-align: left;
    }

    #about .eyebrow {
        font-size: 0.95rem;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        font-weight: 600;
        color: #d1a500;
        margin-bottom: 0.5rem;
    }

    #about p {
        font-size: 1rem;
        color: #2c2c2c;
        text-align: justify;
        hyphens: auto;
        margin-bottom: 1.2rem;
        word-spacing: 0.03em;
    }

    #about img, .section.alt img {
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    }

    /* Subtle section grid refinement */
    #about .grid-2 {
        display: grid;
        grid-template-columns: 1.1fr 1fr;
        gap: 2rem;
        align-items: center;
    }

/* Responsive behavior */
@media (max-width: 800px) {
    #about .grid-2 {
        grid-template-columns: 1fr;
        text-align: left;
    }

    #about h2 {
        font-size: 1.3rem;
    }

    #about p {
        font-size: 0.95rem;
        text-align: left;
    }
}



/* =====================================================
   SERVICES SECTION — Serif Body with Modern Headings
   Harmonized with About & Legal Pages
   ===================================================== */

#services {
    background: #fff;
    padding: 3rem 1rem;
}

    #services .section-header h2 {
        font-family: 'Poppins', 'Segoe UI', sans-serif; /* keep modern look */
        font-weight: 700;
        font-size: 1.8rem;
        color: #111;
        text-align: center;
        margin-bottom: 2rem;
    }

    #services .section-header .eyebrow {
        font-family: 'Poppins', 'Segoe UI', sans-serif;
        font-size: 0.95rem;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        font-weight: 600;
        color: #d1a500;
        text-align: center;
        margin-bottom: 0.4rem;
    }

    /* Cards layout */
    #services .cards {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 2rem;
        margin-top: 1.5rem;
    }

    /* Card structure */
    #services .card {
        background: #fffefb;
        border: 1px solid #eee;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        transition: transform .25s ease, box-shadow .25s ease;
    }

        #services .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 4px 14px rgba(0,0,0,0.08);
        }

    /* Card images */
    #services .card-img {
        width: 100%;
        height: 180px;
        object-fit: cover;
        border-bottom: 1px solid #eee;
    }

    /* Card content */
    #services .card-body {
        padding: 1rem 1.25rem;
        text-align: left;
    }

        #services .card-body h3 {
            font-family: 'Poppins', 'Segoe UI', sans-serif;
            font-size: 1.15rem;
            font-weight: 700;
            color: #000;
            margin-bottom: 0.5rem;
        }

        #services .card-body p {
            font-family: 'Georgia', 'Merriweather', serif; /* same as About/Legal */
            font-size: 0.95rem;
            color: #2b2b2b;
            line-height: 1.6;
            text-align: justify;
            margin: 0;
        }

/* Responsive tweak for smaller screens */
@media (max-width: 700px) {
    #services .card-body h3 {
        font-size: 1.05rem;
    }

    #services .card-body p {
        font-size: 0.9rem;
        text-align: left;
    }
}


/* =====================================================
   CONTACT SECTION — Serif for Info, Clean Form Design
   Matches Services / About / Legal styling
   ===================================================== */

#contact {
    background: #fffefb;
    color: #222;
    padding: 3rem 1rem 4rem;
}

    #contact .grid-2 {
        display: grid;
        grid-template-columns: 1.1fr 1fr;
        gap: 2.5rem;
        align-items: start;
    }

    /* Section title + intro */
    #contact .eyebrow {
        font-family: 'Poppins', 'Segoe UI', sans-serif;
        font-size: 0.95rem;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        font-weight: 600;
        color: #d1a500;
        margin-bottom: 0.4rem;
    }

    #contact h2 {
        font-family: 'Poppins', 'Segoe UI', sans-serif;
        font-weight: 700;
        font-size: 1.7rem;
        margin-bottom: 1.25rem;
        color: #111;
    }

    /* Address and contact info (serif for brand trust) */
    #contact .contact-block {
        font-family: 'Georgia', 'Merriweather', serif;
        font-size: 1rem;
        line-height: 1.7;
        color: #2b2b2b;
        text-align: left;
        background: #fff;
        border-left: 4px solid #ffd100;
        padding: 1rem 1.25rem;
        border-radius: 6px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    }

        #contact .contact-block a {
            color: #000;
            font-weight: 600;
            text-decoration: none;
            transition: color .2s;
        }

            #contact .contact-block a:hover {
                color: #d1a500;
            }

    /* Contact form */
    #contact form, #contact .form-grid {
        font-family: 'Poppins', 'Segoe UI', sans-serif;
    }

    #contact label {
        font-size: 0.95rem;
        font-weight: 600;
        color: #222;
    }

    #contact input,
    #contact textarea {
        width: 100%;
        padding: 0.6rem 0.8rem;
        border: 1px solid #ccc;
        border-radius: 6px;
        font-size: 0.95rem;
        background: #fff;
        transition: border-color 0.2s, box-shadow 0.2s;
    }

        #contact input:focus,
        #contact textarea:focus {
            outline: none;
            border-color: #ffd100;
            box-shadow: 0 0 0 2px rgba(255,209,0,0.25);
        }

    /* Checkbox & button */
    #contact .form-check {
        display: flex;
        align-items: center;
        gap: 0.4rem;
        font-size: 0.9rem;
        margin-top: 0.75rem;
    }

    #contact button.btn-primary {
        background: #ffd100;
        color: #000;
        border: none;
        font-weight: 700;
        font-size: 1rem;
        padding: 0.65rem 1.5rem;
        border-radius: 6px;
        cursor: pointer;
        transition: background 0.25s, transform 0.1s;
    }

        #contact button.btn-primary:hover {
            background: #ffdf40;
        }

        #contact button.btn-primary:active {
            transform: translateY(1px);
        }

    /* Success + error messages */
    #contact .success {
        color: #0a6c30;
        font-weight: 600;
        margin-top: 0.8rem;
    }

    #contact .validation-message {
        color: #c62828;
        margin-top: 0.8rem;
    }

/* Responsive behavior */
@media (max-width: 800px) {
    #contact .grid-2 {
        grid-template-columns: 1fr;
    }

    #contact h2 {
        font-size: 1.4rem;
    }

    #contact .contact-block {
        font-size: 0.95rem;
        text-align: left;
    }

    #contact button.btn-primary {
        width: 100%;
    }
}


/* =====================================================
   GLOBAL VERTICAL RHYTHM & TYPE SCALE
   Consistent paddings, gaps, headings, and anchor offsets
   ===================================================== */

/* Spacing tokens (8px base) */
:root {
    --space-1: .5rem; /* 8  px */
    --space-2: 1rem; /* 16 px */
    --space-3: 1.5rem; /* 24 px */
    --space-4: 2rem; /* 32 px */
    --space-5: 2.5rem; /* 40 px */
    --space-6: 3rem; /* 48 px */
    --space-7: 3.5rem; /* 56 px */
    --space-8: 4rem; /* 64 px */
    --header-h: 64px; /* matches nav */
}

/* Anchor offset so in-page links don't hide under sticky header */
#home, #services, #about, #contact {
    scroll-margin-top: calc(var(--header-h) + 12px);
}

/* Unified section paddings (desktop) */
.section, #services, #about, #contact {
    padding-top: var(--space-7);
    padding-bottom: var(--space-7);
}

/* Hero has slightly larger top padding for visual balance */
.hero {
    padding-top: calc(var(--space-8) + .5rem);
    padding-bottom: var(--space-5);
}

/* Section headers: consistent spacing */
.section-header {
    margin-bottom: var(--space-4);
}

    .section-header .eyebrow {
        margin: 0 0 var(--space-1) 0;
    }

    .section-header h2 {
        margin: 0;
    }

/* Headings scale */
h1, .hero-copy h1 {
    font-size: clamp(2rem, 3.2vw, 3rem);
    line-height: 1.08;
    margin: 0 0 var(--space-2) 0;
}

h2 {
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
    line-height: 1.15;
}

h3 {
    font-size: 1.15rem;
    line-height: 1.25;
}

/* Paragraph rhythm */
p {
    margin: 0 0 var(--space-2) 0;
}

.lead {
    margin-bottom: var(--space-3);
}

/* Grid & card gaps unified */
.hero-grid, .grid-2, .cards {
    gap: var(--space-4);
}

.cards {
    row-gap: var(--space-4);
}

/* Footer spacing harmonized */
.site-footer {
    padding-top: var(--space-5);
    padding-bottom: calc(var(--space-5) + 1rem); /* extra room for FAB */
}

/* Forms rhythm */
.form-grid {
    gap: var(--space-2);
}

.form-check {
    margin-top: var(--space-1);
}

button.btn {
    margin-top: var(--space-2);
}

/* Legal/Prose blocks: consistent container spacing */
.prose {
    margin-top: var(--space-2);
}

/* ====== Responsive tightening ====== */
@media (max-width: 992px) {
    .section, #services, #about, #contact {
        padding-top: var(--space-6);
        padding-bottom: var(--space-6);
    }

    .hero {
        padding-top: var(--space-7);
        padding-bottom: var(--space-4);
    }
}

@media (max-width: 720px) {
    .section, #services, #about, #contact {
        padding-top: var(--space-5);
        padding-bottom: var(--space-5);
    }

    .hero {
        padding-top: var(--space-6);
        padding-bottom: var(--space-3);
    }

    .hero-grid, .grid-2 {
        gap: var(--space-3);
    }

    .cards {
        gap: var(--space-3);
    }

    .section-header {
        margin-bottom: var(--space-3);
    }
}

/* ====== Utilities ====== */
/* Optional tighter sections (add 'section--tight' to any section) */
.section--tight {
    padding-top: var(--space-4) !important;
    padding-bottom: var(--space-4) !important;
}
/* Optional extra spacious sections */
.section--loose {
    padding-top: var(--space-8) !important;
    padding-bottom: var(--space-8) !important;
}


/* =====================================================
   FOOTER — Modern Centered Layout + Brand Gradient
   ===================================================== */

.site-footer {
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, #fff9db 100%);
    border-top: 1px solid #eee;
    padding: 1.75rem 1rem;
    color: #1a1a1a;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.6;
    position: relative;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.04);
}

    .site-footer .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .site-footer span {
        display: block;
        color: #333;
        font-weight: 600;
    }

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-top: 0.4rem;
}

    .footer-links a {
        font-size: 0.95rem;
        color: #1a1a1a;
        text-decoration: none;
        font-weight: 600;
        transition: color 0.25s ease;
    }

        .footer-links a:hover {
            color: #d1a500; /* gold hover */
        }

    .footer-links .dot {
        color: #bbb;
        font-size: 0.7rem;
        user-select: none;
    }

/* Floating back-to-top button */
.backtotop {
    position: fixed;
    right: 1.1rem;
    bottom: 1.1rem;
    width: 44px;
    height: 44px;
    background: #ffd100;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    transition: background 0.3s, transform 0.2s;
    z-index: 50;
}

    .backtotop:hover {
        background: #ffdf40;
        transform: translateY(-2px);
    }

/* --- MOBILE --- */
@media (max-width: 640px) {
    .footer-links {
        gap: 0.9rem;
        text-align: center;
        justify-content: center;
        font-size: 0.88rem;
        margin-top: 0.4rem;
    }

        .footer-links .dot {
            display: none; /* hide dots for cleaner layout */
        }

    .site-footer {
        background: linear-gradient(180deg, #ffffff 0%, #fff6bf 100%);
        padding: 1.5rem 0.75rem;
    }

    .backtotop {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }
}
