:root {
    --ink: #17212f;
    --muted: #617081;
    --paper: #fbfaf7;
    --line: #e6e0d7;
    --navy: #18365f;
    --blue: #2463eb;
    --teal: #0f766e;
    --amber: #f3b23c;
    --orange: #e6602e;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--paper);
}

a {
    color: inherit;
}

.navbar {
    background: rgba(251, 250, 247, 0.95);
    border-bottom: 1px solid rgba(23, 33, 47, 0.08);
    backdrop-filter: blur(16px);
}

.brand-logo {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border: 2px solid rgba(24, 54, 95, 0.16);
    border-radius: 8px;
    background: var(--white);
}

.nav-link {
    color: var(--muted);
    font-weight: 700;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--navy);
}

.nav-cta {
    --bs-btn-bg: var(--orange);
    --bs-btn-border-color: var(--orange);
    --bs-btn-color: var(--white);
    --bs-btn-hover-bg: #d64f20;
    --bs-btn-hover-border-color: #d64f20;
    --bs-btn-hover-color: var(--white);
}

.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);
    background:
        radial-gradient(circle at 78% 20%, rgba(243, 178, 60, 0.22), transparent 28%),
        linear-gradient(135deg, #121d2b 0%, #18365f 48%, #0f766e 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: auto -10vw 16vh auto;
    width: min(62vw, 720px);
    height: 220px;
    border-top: 4px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    transform: rotate(-12deg);
}

.hero::after {
    content: "";
    position: absolute;
    right: clamp(18px, 8vw, 120px);
    bottom: clamp(18px, 8vw, 86px);
    width: clamp(130px, 20vw, 260px);
    height: 6px;
    background: linear-gradient(90deg, var(--amber), var(--orange));
    border-radius: 999px;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    padding: 8rem 0 8rem;
}

.hero-copy {
    width: min(720px, 100%);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1.15rem;
    color: #ffe5b1;
    font-size: 0.86rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.hero h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(2.5rem, 6vw, 5.7rem);
    font-weight: 800;
    line-height: 0.98;
}

.hero p {
    max-width: 660px;
    margin: 1.35rem 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1.04rem, 2vw, 1.27rem);
    line-height: 1.72;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2rem;
}

.btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    border-radius: 8px;
    font-weight: 800;
}

.btn-primary {
    --bs-btn-bg: var(--amber);
    --bs-btn-border-color: var(--amber);
    --bs-btn-color: #1e1b15;
    --bs-btn-hover-bg: #f7c260;
    --bs-btn-hover-border-color: #f7c260;
    --bs-btn-hover-color: #1e1b15;
}

.btn-outline-light {
    --bs-btn-border-color: rgba(255, 255, 255, 0.72);
    --bs-btn-color: var(--white);
    --bs-btn-hover-bg: var(--white);
    --bs-btn-hover-border-color: var(--white);
    --bs-btn-hover-color: var(--ink);
}

.testdrive-panel {
    position: relative;
    padding: 1.45rem;
    color: var(--ink);
    background: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 8px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
}

.testdrive-panel::before {
    content: "";
    position: absolute;
    inset: 0.55rem;
    border: 1px dashed rgba(230, 96, 46, 0.38);
    border-radius: 6px;
    pointer-events: none;
}

.testdrive-panel > * {
    position: relative;
    z-index: 1;
}

.testdrive-panel h2 {
    margin: 0;
    font-size: clamp(1.55rem, 3vw, 2.25rem);
    font-weight: 800;
    line-height: 1.12;
}

.testdrive-panel p {
    margin: 0.9rem 0 1.25rem;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
}

.testdrive-panel .btn {
    width: 100%;
    color: var(--white);
    background: var(--navy);
    border-color: var(--navy);
}

.testdrive-panel .btn:hover,
.testdrive-panel .btn:focus {
    color: var(--white);
    background: var(--teal);
    border-color: var(--teal);
}

.hero-strip {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    background: rgba(251, 250, 247, 0.96);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.quick-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(23, 33, 47, 0.10);
}

.quick-info a {
    min-height: 86px;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1.15rem 1.2rem;
    color: var(--ink);
    background: var(--paper);
    text-decoration: none;
}

.quick-info i {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    color: var(--white);
    background: var(--teal);
    border-radius: 8px;
    font-size: 1.12rem;
}

.quick-info span {
    display: block;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.quick-info strong {
    display: block;
    margin-top: 0.1rem;
    font-size: 0.98rem;
}

section {
    padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-kicker {
    color: var(--orange);
    font-size: 0.84rem;
    font-weight: 800;
    text-transform: uppercase;
}

.section-title {
    max-width: 760px;
    margin: 0.35rem 0 1rem;
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 800;
    line-height: 1.08;
}

.section-copy {
    max-width: 760px;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 1rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.feature-item i {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    color: var(--teal);
    background: #e8f4f2;
    border-radius: 8px;
}

.feature-item h3,
.service-card h3,
.faq-item h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
}

.feature-item p,
.service-card p,
.faq-item p {
    margin: 0.35rem 0 0;
    color: var(--muted);
    line-height: 1.65;
}

.services-band {
    background: var(--white);
    border-block: 1px solid var(--line);
}

.service-card,
.faq-item {
    height: 100%;
    padding: 1.35rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card:hover,
.faq-item:hover {
    transform: translateY(-4px);
    border-color: rgba(24, 54, 95, 0.25);
    box-shadow: 0 16px 38px rgba(23, 33, 47, 0.10);
}

.service-icon {
    width: 52px;
    height: 52px;
    display: inline-grid;
    place-items: center;
    margin-bottom: 1.1rem;
    color: var(--white);
    background: var(--navy);
    border-radius: 8px;
    font-size: 1.35rem;
}

.service-card.is-teal .service-icon {
    background: var(--teal);
}

.service-card.is-orange .service-icon {
    background: var(--orange);
}

.service-card.is-violet .service-icon {
    background: #5a4fcf;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.step {
    padding: 1.35rem;
    border-left: 4px solid var(--amber);
    background: rgba(255, 255, 255, 0.62);
}

.step span {
    color: var(--teal);
    font-weight: 800;
}

.step h3 {
    margin: 0.4rem 0;
    font-size: 1.12rem;
    font-weight: 800;
}

.step p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.testdrive-band {
    color: var(--white);
    background: linear-gradient(135deg, var(--orange), var(--navy));
}

.testdrive-band .section-kicker,
.testdrive-band .section-copy {
    color: rgba(255, 255, 255, 0.78);
}

.testdrive-band .btn {
    color: var(--ink);
    background: var(--amber);
    border-color: var(--amber);
}

.faq-section {
    background: var(--white);
    border-top: 1px solid var(--line);
}

.contact-section {
    color: var(--white);
    background: var(--ink);
}

.contact-section .row.align-items-stretch {
    align-items: stretch;
}

.contact-section .col-lg-5 {
    display: flex;
    flex-direction: column;
}

.contact-section .contact-panel {
    margin-top: auto;
    padding: 1.4rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
}

.contact-section .section-kicker,
.contact-section .section-copy {
    color: rgba(255, 255, 255, 0.74);
}

.contact-link {
    display: flex;
    gap: 0.9rem;
    align-items: center;
    padding: 1rem 0;
    color: var(--white);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-link:last-child {
    border-bottom: 0;
}

.contact-link i {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    color: #1e1b15;
    background: var(--amber);
    border-radius: 8px;
}

.contact-link span {
    display: block;
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.82rem;
    font-weight: 800;
}

.contact-link span > span {
    text-transform: uppercase;
}

.contact-link strong {
    display: block;
    margin-top: 0.15rem;
    text-transform: none;
}

.map-frame {
    width: 100%;
    min-height: 340px;
    height: 100%;
    border: 0;
    border-radius: 8px;
    filter: saturate(0.92) contrast(1.02);
}

footer {
    color: rgba(255, 255, 255, 0.74);
    background: #101722;
    border-top: none;
}

@media (min-width: 1280px) {
    .navbar-expand-lg .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }

    .navbar-expand-lg .navbar-toggler {
        display: none;
    }
}

@media (max-width: 1279.98px) {
    .navbar {
        position: relative;
    }

    .navbar-expand-lg .navbar-collapse {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fbfaf7;
        border-bottom: 1px solid rgba(23, 33, 47, 0.08);
        padding: 1rem 1rem 1.5rem;
        flex-direction: column;
        gap: 0.85rem;
        z-index: 1050;
    }

    .navbar-expand-lg .navbar-collapse.show {
        display: flex !important;
    }

    .navbar-expand-lg .navbar-collapse.collapsing {
        display: flex !important;
    }

    .navbar-expand-lg .navbar-collapse:not(.show) {
        visibility: hidden;
    }

    .navbar-expand-lg .navbar-collapse.show {
        visibility: visible;
    }

    .navbar-expand-lg .navbar-nav {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        margin: 0;
        align-items: stretch;
    }

    .navbar-expand-lg .navbar-nav .nav-item {
        width: 100%;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        width: 100%;
        text-align: left;
        padding: 0.75rem 1rem;
    }

    .navbar-expand-lg .navbar-nav .btn {
        width: auto;
        text-align: left;
        justify-content: flex-start;
        padding: 0.75rem 1rem;
    }

    .navbar-expand-lg .navbar-toggler {
        display: block;
    }
}

@media (max-width: 991.98px) {
    .hero {
        min-height: 980px;
        align-items: flex-start;
    }

    .hero-content {
        grid-template-columns: 1fr;
        padding-top: 7rem;
        padding-bottom: 15rem;
    }

    .quick-info,
    .steps {
        grid-template-columns: 1fr;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand strong {
        max-width: 178px;
        white-space: normal;
        font-size: 0.9rem;
        line-height: 1.1;
    }

    .brand-logo {
        width: 40px;
        height: 40px;
    }

    .hero {
        min-height: 1060px;
    }

    .hero-actions .btn,
    .testdrive-band .btn {
        width: 100%;
    }

    .quick-info a {
        min-height: 78px;
        padding: 0.95rem;
    }
}
