/* ================== GLOBAL =============== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {

    /* ========================================
    BRAND COLORS
    ======================================== */

    --navy: #1B244A;

    --gold: #C9AB4C;

    --cream: #F9F6F0;

    --white: #FFFFFF;

    --text: #1E293B;

    --muted: #5B6475;

    --border: #E7E1D7;

    --soft: #F3EFE7;

    /* ========================================
    PRIMARY COLORS
    ======================================== */

    --primary: var(--navy);

    --accent: var(--gold);

    --bg: var(--cream);

    /* ========================================
    TYPOGRAPHY
    ======================================== */

    --heading-font: Georgia, "Times New Roman", serif;

    --body-font:
        "Inter",
        "Calibri",
        system-ui,
        sans-serif;

    /* ========================================
    SHADOWS
    ======================================== */

    --shadow-soft:
        0 10px 30px rgba(0, 0, 0, 0.06);

    --shadow-card:
        0 15px 40px rgba(27, 36, 74, 0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    font-size: 1rem;
    letter-spacing: 0.1px;
    padding-top: 90px;
}

/* ========================================
HEADINGS
======================================== */

h1,
h2,
h3,
h4,
h5,
h6 {

    font-family: var(--heading-font);

    font-weight: 700;

    line-height: 1.15;

    letter-spacing: -0.5px;

    color: var(--primary);
}

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

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

ul {
    list-style: none;
}

.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}

.small {
    font-size: 0.92rem;
    color: var(--muted);
}

.link {
    text-decoration: underline;
    color: var(--primary);
}

/* Accessibility helper */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ================== BUTTONS =============== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.5rem;
    border-radius: 14px;
    border: 1px solid transparent;
    font-weight: 650;
    font-size: 0.98rem;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    gap: 0.5rem;
}

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

.btn-primary {
    background: var(--accent);
    color: var(--primary);
    border: none;
    font-weight: 700;
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    filter: brightness(1.03);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.8);
    color: var(--white);
    font-weight: 600;
}

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

.btn-small {
    padding: 0.55rem 0.8rem;
    border-radius: 12px;
    font-weight: 600;
}

/* ========================================
DARK OUTLINE BUTTON
(for light backgrounds)
======================================== */

.btn-outline-dark {
    background: transparent;
    border: 1.5px solid var(--primary);
    color: var(--primary);
    font-weight: 700;
}

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

/* ================== HEADER =============== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 0;
}

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

.brand-logo {
    width: 34px;
    height: 34px;
    border-radius: 10px;
}

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

.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.5rem 0.7rem;
    font-size: 1.05rem;
}

.nav-menu {
    display: inline-flex;
    gap: 1rem;
    align-items: center;
}

.nav-link {
    color: var(--muted);
    font-weight: 600;
    padding: 0.5rem 0.6rem;
    border-radius: 12px;
}

.nav-link:hover {
    background: var(--soft);
    color: var(--text);
}

.nav-link:active {
    color: var(--primary);
    background: rgba(11, 60, 93, 0.08);
}

.header-cta {
    display: inline-flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.8rem;
}

.phone-link {
    color: var(--muted);
    font-weight: 600;
}

.phone-link strong {
    color: var(--text);
}

/* =========================== HERO ====================== */
.hero {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1B244A 0%, #24315F 100%);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.2rem;
    align-items: center;
}

.eyebrow {
    color: var(--accent);
    font-size: 0.85rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.hero h1 {
    font-size: clamp(2.8rem, 4vw, 4.2rem);
    line-height: 1;
    margin-bottom: 1.8rem;
    color: var(--white);
    max-width: 13ch;
    letter-spacing: -2px;
    font-weight: 700;
}

.lead {
    color: rgba(255,255,255,0.74);
    font-size: 1.08rem;
    line-height: 1.95;
    margin-bottom: 2.2rem;
    max-width: 56ch;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 1rem;
}

.hero-bullets {
    display: grid;
    gap: 0.65rem;
    color: rgba(255,255,255,0.62);
    padding-left: 1.2rem;
    font-size: 1rem;
}

.hero-bullets li {
    list-style: disc;
}

.hero-media {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--soft);
    min-height: 340px;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-fallback {
    min-height: 340px;
    background: linear-gradient(135deg, rgba(11, 60, 93, 0.12), rgba(91, 190, 138, 0.12));
}

.hero-card {
    position: absolute;
    bottom: 14px;
    left: 14px;
    right: 14px;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.hero-card-title {
    font-weight: 800;
}

.hero-card-text {
    color: var(--muted);
    font-size: 0.95rem;
}

/* ========================= TRUST STRIP ========================= */
.trust {
    padding: 1.4rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: #fff;
}

.trust-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.2rem;
    align-items: center;
}

.trust-badge {
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 0.8rem 0.9rem;
    min-width: 132px;
    text-align: center;
    background: var(--soft);
}

.trust-badge-label {
    display: block;
    font-size: 0.85rem;
    color: var(--muted);
    font-weight: 700;
}

.trust-badge-value {
    display: block;
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--primary);
}

.trust-text h2 {
    font-size: 1.2rem;
    margin-bottom: 0.15rem;
}

.trust-text p {
    color: var(--muted);
}

.trust-actions {
    display: grid;
    justify-items: end;
    gap: 0.7rem;
}

/* TRUST SECTION BUTTONS */
.trust-actions .btn-outline {
    background: transparent;
    border: 1.5px solid var(--primary);
    color: var(--primary) !important;
    font-weight: 700;
}

.trust-actions .btn-outline:hover {
    background: var(--primary);
    color: var(--white) !important;
    border-color: var(--primary);
}

/* ========================= SECTIONS ========================= */
.section {
    padding: 3rem 0;
}

.section-alt {
    background: var(--soft);
}

.section-head {
    margin-bottom: 1.6rem;
}

.section-head h2 {
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
}

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

/* ========================= GRIDS ========================= */
.grid {
    display: grid;
    gap: 1rem;
}

.cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
    border: 1px solid var(--border);
    border-top: 4px soild var(--accent);
    border-radius: 0;
    padding: 2rem;
    background: var(--white);
    box-shadow: var(--shadow-soft);
    transition: tranform 0.25s ease, box-shadow 0.25s ease;
}

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

.card h3 {
    margin-bottom: 0.4rem;
}

.card p {
    color: var(--muted);
    margin-bottom: 0.6rem;
}

.card-link {
    color: var(--primary);
    font-weight: 700;
    text-decoration: underline;
}

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

.feature {
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: #fff;
    border-radius: 18px;
    padding: 1.1rem;
}

.feature h3 {
    margin-bottom: 0.3rem;
}

.feature p {
    color: var(--muted);
}

/* ========================= TESTIMONIALS ========================= */
.testimonial {
    border: 1px solid var(--border);
    border-radius: 22px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
}

.testimonial-track {
    display: flex;
    transition: transform 0.35s ease;
}

.testimonial-card {
    min-width: 100%;
    padding: 1.5rem 1.4rem;
}

.testimonial-card blockquote {
    font-size: 1.05rem;
    font-weight: 650;
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

.testimonial-card figcaption {
    color: var(--muted);
    font-weight: 650;
}

.testimonial-controls {
    display: flex;
    gap: 0.6rem;
    padding: 0 1.2rem 1.2rem;
}

/* ========================= CTA ========================= */
.cta {
    padding: 2.4rem 0;
    background: linear-gradient(90deg, rgba(11, 60, 93, 0.08), rgba(91, 190, 138, 0.10));
    border-top: 1px solid var(--border);
}

.cta-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: center;
}

.cta h2 {
    font-size: 1.7rem;
    margin-bottom: 0.25rem;
}

.cta p {
    color: var(--muted);
}

.cta-actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* =========================
   CONTACT FORM
========================= */

.contact-form {
    max-width: 600px;
    display: grid;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.85rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    font-size: 0.95rem;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.contact-form button {
    margin-top: 0.5rem;
}

/* ========================= FOOTER ========================= */
.site-footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border);
    background: var(--primary);
    color: var(--white);
}
.site-footer h3,
.site-footer h4 {

    color: var(--white);
}

.site-footer p,
.site-footer a {

    color: rgba(255,255,255,0.82);
}

.site-footer a:hover {

    color: var(--accent);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 1.5rem;
    align-items: start;
}

.footer-links {
    display: grid;
    gap: 0.35rem;
}

.footer-links a {
    color: var(--muted);
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

/* ========================= RESPONSIVE ========================= */
@media (max-width: 920px) {
    .header-inner {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "brand cta"
            "nav nav";
    }

    .brand {
        grid-area: brand;
    }

    .header-cta {
        grid-area: cta;
    }

    .nav {
        grid-area: nav;
    }

    .hero-inner {
        grid-template-columns: 1fr;
    }

    .trust-inner {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .trust-actions {
        justify-items: start;
    }

    /* ========================================
    SERVICES CARDS MOBILE
    ======================================== */

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

    .card {
        padding: 1.25rem;
        border-radius: 16px;
        box-shadow: none;
    }

    .card h3 {
        font-size: 1.2rem;
    }

    .card p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

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

    .cta-inner {
        grid-template-columns: 1fr;
    }

    .cta-actions {
        justify-content: flex-start;
    }
}

/* ========================================
MOBILE HEADER
======================================== */
@media (max-width: 620px) {

    body {
        overflow-x: hidden;   /* new add */
    }

    .container {
        width: min(100% - 2rem, 1120px);  /* new add */
    }

    .site-header {

        padding: 0.4rem 0;
    }

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

    /* =========================
       BRAND
    ========================= */

    .brand {
        display: flex;
        align-items: center;
        gap: 0.65rem;
        flex-shrink: 0;
        min-width: auto;  /* new add */
        max-width: 150px; /* new add */
        overflow: hidden; /* new add */
    }

    .brand-logo {

        width: 32px;
        height: 32px;
    }

    .brand-name {

        font-size: 0.9rem;
        line-height: 1.1;

        white-space: nowrap;
    }

    .eyebrow {
        font-size: 0.72rem;
        letter-spacing: 2px;
        line-height: 1.6;
        overflow-wrap: anywhere;
    }

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

    .header-cta {

        display: flex;
        align-items: center;
        gap: 0.6rem;
        flex-shrink: 0;
    }

    .header-cta .phone-link {

        display: none;
    }

    .header-cta .btn {
        padding: 0.68rem 0.85rem;
        font-size: 0.82rem;
        border-radius: 12px;
        white-space: nowrap;
        display: none;
    }

    /* ========================================
    ABOUT PAGE FEATURE CARDS
    ======================================== */

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

    /* =========================
       NAV TOGGLE
    ========================= */

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 46px;
        height: 46px;
        padding: 0;
        border-radius: 14px;
        font-size: 1.15rem;
        background: var(--white);
        border: 1px solid var(--border);
        color: var(--primary);
        flex-shrink: 0;
    }

    .nav {

        position: relative;
    }

    /* =========================
       MOBILE NAV MENU
    ========================= */

    .nav-menu {
        display: none;
        position: absolute;
        top: 58px;
        right: 0;
        width: min(280px, calc(100vw - 2rem)); /* new add */
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
        padding: 1rem;
        border: 1px solid var(--border);
        border-radius: 20px;
        background: var(--white);
        box-shadow: var(--shadow-card);
        z-index: 999;
    }

    .nav-menu.open {

        display: flex;
    }

    .nav-link {

        width: 100%;

        padding: 0.9rem 1rem;

        border-radius: 12px;
    }

    /* =========================
       HERO
    ========================= */

    .hero {

        padding: 2.5rem 0 3rem;
    }

    .hero h1 {
        font-family: var(--body-font); /* new add */
        font-size: 2.4rem;
        line-height: 1.05;
        max-width: 100%;  /* new add */
        letter-spacing: -1.5px;  /* new add */
    }

    .hero-media {
        display: block;  /* new add */
        min-height: 240px;
        margin-top: 2rem;
        border-radius: 20px;
    }

    .hero-media img {
        width: 100%;
        height: 240px;
        object-fit: cover;
    }

    .hero-card {
        display: none;
    }

    .lead {

        font-size: 1rem;

        line-height: 1.8;
    }

    .hero-actions {

        flex-direction: column;

        align-items: stretch;
    }

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

    .brand {
        order: 1;
    }

    .header-cta {
        order: 2;
    }

    .nav {
        order: 3;
    }
}