/* ==========================
   RESET & VARIABLES
========================== */

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

:root {
    --navy: #0f2540;
    --navy-dark: #091829;
    --navy-light: #1b3a5f;
    --orange: #ff6b1a;
    --orange-dark: #e85a0e;
    --green: #1f9d55;
    --text: #26303b;
    --muted: #5c6b7a;
    --bg: #ffffff;
    --bg-soft: #f4f7fb;
    --border: #e3e9f0;
    --radius: 12px;
    --shadow: 0 6px 24px rgba(15, 37, 64, 0.08);
    --shadow-lg: 0 14px 40px rgba(15, 37, 64, 0.16);
    --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    font-family: var(--font);
    color: var(--text);
    line-height: 1.65;
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    color: var(--navy);
    line-height: 1.2;
}

section h2 {
    font-size: 2.1rem;
    text-align: center;
    margin-bottom: 14px;
}

.section-sub {
    text-align: center;
    color: var(--muted);
    max-width: 620px;
    margin: 0 auto 44px;
}

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

.btn {
    display: inline-block;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-weight: 700;
    border-radius: 10px;
    transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
    white-space: nowrap;
}

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

.phone-btn {
    background: var(--navy-light);
    color: #fff;
    padding: 11px 18px;
}

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

.contact-btn {
    background: var(--orange);
    color: #fff;
    padding: 11px 18px;
}

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

/* ==========================
   NAVBAR
========================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--navy);
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

.header.scrolled {
    background: var(--navy-dark);
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.25);
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    height: 84px;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo {
    max-height: 54px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 28px;
}

.nav-links a {
    color: #dfe9f5;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.98rem;
    transition: color 0.18s ease;
}

.nav-links a:hover {
    color: #fff;
}

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

/* hamburger (mobile) */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background: #fff;
    border-radius: 3px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

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

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 84px;
    background: url("images/hero-image.jpg") center / cover no-repeat;
}

.hero-overlay {
    width: 100%;
    min-height: calc(100vh - 84px);
    background: linear-gradient(rgba(9, 24, 41, 0.78), rgba(9, 24, 41, 0.62));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
}

.hero-content {
    text-align: center;
    color: #fff;
    max-width: 860px;
}

.hero-eyebrow {
    display: inline-block;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: var(--orange);
    margin-bottom: 18px;
    border: 1px solid rgba(255, 107, 26, 0.5);
    padding: 6px 14px;
    border-radius: 999px;
}

.hero-content h1 {
    font-size: 3.4rem;
    color: #fff;
    margin-bottom: 18px;
}

.hero-sub {
    font-size: 1.25rem;
    color: #dbe6f2;
    margin-bottom: 34px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 34px;
}

.hero-button {
    background: var(--orange);
    color: #fff;
    padding: 16px 34px;
    font-size: 1.05rem;
    box-shadow: 0 8px 24px rgba(255, 107, 26, 0.35);
}

.hero-button:hover {
    background: var(--orange-dark);
}

.hero-button-ghost {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    padding: 16px 34px;
    font-size: 1.05rem;
    border: 1px solid rgba(255, 255, 255, 0.45);
}

.hero-button-ghost:hover {
    background: rgba(255, 255, 255, 0.22);
}

.hero-trust {
    list-style: none;
    display: flex;
    gap: 26px;
    justify-content: center;
    flex-wrap: wrap;
    font-weight: 600;
    color: #eaf2fb;
}

.hero-trust li {
    font-size: 0.95rem;
}

.hero-trust li::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    margin-right: 8px;
    vertical-align: middle;
}

/* ==========================
   SERVICES
========================== */

.services {
    padding: 90px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 26px;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: rgba(255, 107, 26, 0.12);
    color: var(--orange);
    margin-bottom: 18px;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--muted);
    font-size: 0.96rem;
}

/* ==========================
   SERVICE AREAS
========================== */

.service-areas {
    background: var(--bg-soft);
    padding: 90px 24px;
}

.service-areas .section-sub {
    margin-bottom: 36px;
}

.area-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 900px;
    margin: 0 auto;
}

.area-chip {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy);
    cursor: pointer;
    font-family: var(--font);
    transition: all 0.18s ease;
}

.area-chip:hover {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
    transform: translateY(-2px);
}

/* ==========================
   ABOUT / WHY US
========================== */

.about {
    padding: 90px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    align-items: start;
    margin-top: 16px;
}

.about-text p {
    margin-bottom: 18px;
    color: var(--muted);
}

.about-points {
    list-style: none;
    margin-top: 24px;
}

.about-points li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 14px;
    color: var(--text);
}

.about-points li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--green);
    font-weight: 800;
}

.about-card {
    background: var(--navy);
    color: #fff;
    border-radius: var(--radius);
    padding: 30px 26px;
    box-shadow: var(--shadow-lg);
}

.about-card h3 {
    color: #fff;
    margin-bottom: 18px;
}

.about-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.about-tags li {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.88rem;
}

/* ==========================
   FAQ
========================== */

.faq {
    background: var(--bg-soft);
    padding: 90px 24px;
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 22px;
    font-weight: 700;
    color: var(--navy);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--orange);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    padding: 0 22px 20px;
    color: var(--muted);
}

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

.contact-section {
    padding: 90px 24px;
    max-width: 760px;
    margin: 0 auto;
}

.tally-embed-wrapper {
    margin-top: 8px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg);
    box-shadow: var(--shadow);
    overflow: hidden;
    min-height: 494px;
}

.tally-embed-wrapper iframe {
    display: block;
    border: 0;
}

.form-success-banner {
    margin-top: 18px;
    padding: 16px 20px;
    border: 1px solid #b7e4c7;
    border-radius: var(--radius);
    background: #eafaf0;
    color: #1f7a44;
    font-weight: 600;
    text-align: center;
}

.form-success-banner strong {
    display: block;
    margin-bottom: 4px;
}


.form-success {
    text-align: center;
    padding: 60px 20px;
}

.form-success h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

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

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

.footer {
    background: var(--navy-dark);
    color: #b9c8da;
    padding: 50px 24px 28px;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1.4fr;
    gap: 32px;
    padding-bottom: 30px;
}

.footer-name {
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

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

.footer-nav a {
    color: #b9c8da;
    text-decoration: none;
}

.footer-nav a:hover {
    color: #fff;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.footer-contact a:hover {
    color: var(--orange);
}

.footer-copy {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 22px;
    text-align: center;
    font-size: 0.88rem;
}

/* ==========================
   STICKY MOBILE CTA
========================== */

.mobile-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    gap: 10px;
    padding: 12px;
    background: var(--navy-dark);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
}

.mobile-cta .btn {
    flex: 1;
    text-align: center;
    padding: 14px;
}

.cta-call {
    background: var(--green);
    color: #fff;
}

.cta-call:hover {
    background: #178a48;
}

.cta-quote {
    background: var(--orange);
    color: #fff;
}

.cta-quote:hover {
    background: var(--orange-dark);
}

/* ==========================
   RESPONSIVE
========================== */

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    html {
        scroll-padding-top: 70px;
    }

    .navbar {
        height: 64px;
        padding: 0 16px;
        gap: 12px;
    }

    .logo {
        max-height: 42px;
    }

    .nav-toggle {
        display: flex;
        order: 3;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        width: 100%;
        flex-direction: column;
        gap: 0;
        background: var(--navy-dark);
        padding: 10px 0;
    }

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

    .nav-links a {
        padding: 14px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-buttons .phone-btn {
        display: none;
    }

    .contact-btn {
        padding: 10px 14px;
    }

    .hero {
        padding-top: 64px;
    }

    .hero-overlay {
        min-height: calc(100vh - 64px);
        padding: 40px 20px;
    }

    .hero-content h1 {
        font-size: 2.3rem;
    }

    .hero-sub {
        font-size: 1.05rem;
    }

    .hero-trust {
        flex-direction: column;
        gap: 10px;
    }

    .services,
    .about,
    .faq,
    .contact-section {
        padding: 64px 20px;
    }

    .service-areas {
        padding: 64px 20px;
    }

    section h2 {
        font-size: 1.7rem;
    }

    .mobile-cta {
        display: flex;
    }

    body {
        padding-bottom: 72px;
    }
}
