:root {
    --brand-green: #006c49;
    --brand-green-dark: #004d35;
    --brand-green-light: #00855a;
    --brand-yellow: #f8e027;
    --ink: #222;
    --muted: #5f6864;
    --bg-soft: #f6f8f5;
    --line: #e3e8e1;
    --orange: #d97706;
    --header-height: 104px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--ink);
    line-height: 1.6;
    background: #fff;
    overflow-x: hidden;
}

img,
video,
iframe {
    max-width: 100%;
}

a {
    color: inherit;
}

section {
    scroll-margin-top: calc(var(--header-height) + 20px);
}

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.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;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--brand-green);
    transition: box-shadow .25s ease, opacity .25s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
}

.header-inner {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.logo-link {
    display: inline-flex;
    align-items: center;
}

.brand-logo {
    width: 150px;
    height: auto;
    display: block;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    color: var(--brand-yellow);
}

.nav-toggle,
.nav-close {
    display: none;
}

.hero-section {
    min-height: min(640px, calc(100vh - var(--header-height)));
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: var(--brand-green-dark);
}

.hero-video,
.hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-video {
    object-fit: cover;
}

.hero-overlay {
    background: linear-gradient(90deg, rgba(0, 44, 30, .76), rgba(0, 108, 73, .28));
}

.hero-content {
    position: relative;
    color: #fff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .45);
}

.hero-content h1,
.page-hero h1 {
    margin: 0 0 16px;
    max-width: 760px;
    font-size: clamp(2.1rem, 5vw, 4.25rem);
    line-height: 1.04;
    letter-spacing: 0;
}

.hero-content p,
.page-hero p {
    max-width: 660px;
    margin: 0 0 14px;
    font-size: 1.18rem;
}

.hero-contact {
    font-size: 1rem;
}

.btn,
.book-btn,
.lookup-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 22px;
    border: 0;
    border-radius: 6px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.btn-primary,
.book-btn,
.lookup-form button {
    color: #fff;
    background: var(--brand-green);
}

.btn-primary:hover,
.book-btn:hover,
.lookup-form button:hover {
    background: var(--brand-green-light);
}

.btn-secondary {
    color: var(--brand-green);
    background: #fff;
    border: 1px solid var(--line);
}

.pricing-section,
.info-section,
.why-section,
.lookup-section,
.courses-section,
.legal-section,
.iframe-section {
    padding: 64px 0;
}

.section-intro {
    text-align: center;
    margin-bottom: 30px;
}

.section-intro h2,
.info-copy h2,
.lookup-card h2 {
    margin: 0 0 8px;
    color: var(--brand-green);
    font-size: 2rem;
    line-height: 1.15;
}

.section-intro p,
.lookup-card p {
    margin: 0 auto;
    max-width: 680px;
    color: var(--muted);
}

.section-intro-light h2,
.section-intro-light p {
    color: #f6f8f5;
}

.selector-container {
    display: flex;
    justify-content: center;
    gap: 6px;
    width: max-content;
    max-width: 100%;
    margin: 0 auto 30px;
    padding: 6px;
    border-radius: 999px;
    background: #e9eeea;
}

.toggle-btn {
    border: 0;
    border-radius: 999px;
    padding: 11px 24px;
    color: var(--muted);
    background: transparent;
    font-weight: 800;
    cursor: pointer;
}

.toggle-btn.active {
    color: #fff;
    background: var(--brand-green);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 390px;
    padding: 26px 22px;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .05);
}

.pricing-card.is-hidden {
    display: none;
}

.pricing-card h3 {
    margin: 0 0 8px;
    color: var(--brand-green);
    font-size: 1.28rem;
}

.pricing-card p {
    margin: 0;
    color: var(--muted);
}

.card-ribbon {
    position: absolute;
    top: 16px;
    right: -38px;
    width: 140px;
    padding: 5px 0;
    transform: rotate(45deg);
    color: #fff;
    background: var(--orange);
    font-size: .72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.card-price {
    margin: 20px 0 2px;
    color: var(--brand-green);
    font-size: 3.2rem;
    line-height: 1;
    font-weight: 900;
}

.card-price span {
    font-size: 1.4rem;
    vertical-align: top;
}

.hourly-rate,
.fee-note,
.car-badge {
    font-size: .92rem;
}

.fee-note {
    display: inline-block;
    margin: 10px 0;
    padding: 6px 10px;
    border: 1px solid #ffe1b3;
    border-radius: 999px;
    color: #915d00;
    background: #fff8eb;
    font-weight: 800;
}

.car-badge {
    color: var(--brand-green);
    font-weight: 800;
}

.notice-box {
    margin-top: 30px;
    padding: 18px;
    border-left: 4px solid var(--brand-green);
    border-radius: 6px;
    color: var(--muted);
    background: var(--bg-soft);
    font-size: .93rem;
}

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

.info-grid {
    display: grid;
    grid-template-columns: minmax(260px, 420px) 1fr;
    gap: 44px;
    align-items: center;
}

.info-image img {
    width: 100%;
    border-radius: 8px;
    display: block;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .1);
}

.info-copy h3 {
    margin: 0 0 18px;
    color: #233;
}

.info-copy p {
    margin: 0 0 16px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.feature-card {
    display: grid;
    place-items: center;
    min-height: 142px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.feature-card img {
    max-height: 94px;
    object-fit: contain;
}

.passes-section,
.reviews-section,
.site-footer {
    color: #f6f8f5;
    background: var(--brand-green);
}

.passes-section,
.reviews-section {
    padding: 58px 0;
}

.passes-carousel {
    position: relative;
}

.passes-viewport {
    overflow: hidden;
}

.passes-track {
    display: flex;
    gap: 16px;
    transition: transform .45s ease;
}

.pass-item {
    flex: 0 0 min(360px, 72vw);
    opacity: .68;
    transform: scale(.94);
    transition: opacity .25s ease, transform .25s ease;
}

.pass-item.active {
    opacity: 1;
    transform: scale(1);
}

.pass-item img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
}

.passes-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: rgba(0, 0, 0, .25);
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 1.8rem;
}

.passes-prev {
    left: 8px;
}

.passes-next {
    right: 8px;
}

.passes-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}

.passes-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .38);
    cursor: pointer;
}

.passes-dots button.active {
    background: #fff;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.review-card {
    padding: 20px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .07);
}

.review-card h3 {
    margin: 0 0 4px;
}

.review-rating {
    margin: 0 0 10px;
    color: var(--brand-yellow);
    font-weight: 800;
}

.review-card p:last-child {
    margin-bottom: 0;
}

.insurance-section img {
    width: 100%;
    display: block;
}

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

.lookup-card {
    width: min(520px, calc(100% - 40px));
    margin: 0 auto;
    padding: 30px;
    text-align: center;
    border-top: 5px solid var(--brand-green);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .08);
}

.lookup-form {
    display: flex;
    gap: 10px;
    margin: 24px 0 16px;
}

.lookup-form input {
    min-width: 0;
    flex: 1;
    padding: 12px 14px;
    border: 2px solid var(--line);
    border-radius: 6px;
    font: inherit;
    text-transform: uppercase;
}

.lookup-form input:focus {
    outline: 3px solid rgba(0, 108, 73, .18);
    border-color: var(--brand-green);
}

.lookup-result {
    padding: 14px;
    border-radius: 6px;
    font-weight: 700;
}

.lookup-result.hidden {
    display: none;
}

.lookup-result.success {
    color: #137333;
    background: #e6f4ea;
    border: 1px solid #ceead6;
}

.lookup-result.fail {
    color: #a92720;
    background: #fce8e6;
    border: 1px solid #fad2cf;
}

.page-hero {
    padding: 72px 0 46px;
    color: #fff;
    background: var(--brand-green);
}

.page-hero.compact {
    padding: 54px 0 34px;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.course-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--bg-soft);
}

.course-card h2 {
    margin: 0 0 12px;
    color: var(--brand-green);
}

.course-card ul {
    margin: 0;
    padding-left: 20px;
}

.legal-content {
    max-width: 820px;
}

.legal-content h1,
.legal-content h2,
.legal-content h3 {
    color: var(--brand-green);
    line-height: 1.2;
}

.legal-content p,
.legal-content li {
    color: #333;
}

.iframe-section iframe {
    width: 100%;
    height: 720px;
    border: 0;
    border-radius: 8px;
    background: var(--bg-soft);
}

.site-footer {
    padding: 30px 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 20px;
    align-items: center;
}

.footer-brand {
    text-align: center;
}

.footer-brand p {
    margin: 3px 0;
}

.footer-link-right {
    text-align: right;
}

.site-footer a {
    color: #fff;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

.button-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    :root {
        --header-height: 82px;
    }

    .brand-logo {
        width: 116px;
    }

    .nav-toggle {
        display: inline-flex;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        border: 0;
        border-radius: 6px;
        background: rgba(255, 255, 255, .08);
        cursor: pointer;
    }

    .hamburger,
    .hamburger::before,
    .hamburger::after {
        display: block;
        width: 24px;
        height: 2px;
        background: #fff;
        border-radius: 2px;
        position: relative;
    }

    .hamburger::before,
    .hamburger::after {
        content: "";
        position: absolute;
        left: 0;
    }

    .hamburger::before {
        top: -8px;
    }

    .hamburger::after {
        top: 8px;
    }

    .main-nav {
        position: fixed;
        inset: 0 0 0 auto;
        width: min(320px, calc(100% - 36px));
        padding: 88px 24px 24px;
        background: rgba(0, 84, 43, .98);
        transform: translateX(100%);
        transition: transform .28s ease;
        box-shadow: -12px 0 30px rgba(0, 0, 0, .25);
    }

    .main-nav.open {
        transform: translateX(0);
    }

    .main-nav ul {
        display: grid;
        gap: 20px;
    }

    .nav-close {
        display: block;
        position: absolute;
        top: 18px;
        right: 18px;
        border: 0;
        color: #fff;
        background: transparent;
        font-size: 2rem;
        cursor: pointer;
    }

    body.nav-open {
        overflow: hidden;
    }

    .pricing-grid,
    .reviews-grid,
    .courses-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 620px) {
    .container {
        width: min(100% - 28px, 1120px);
    }

    .hero-section {
        min-height: 560px;
    }

    .hero-content h1,
    .page-hero h1 {
        font-size: 2.25rem;
    }

    .pricing-section,
    .info-section,
    .why-section,
    .lookup-section,
    .courses-section,
    .legal-section,
    .iframe-section {
        padding: 44px 0;
    }

    .info-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .lookup-card {
        width: calc(100% - 28px);
        padding: 22px;
    }

    .lookup-form {
        flex-direction: column;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-link-right {
        text-align: center;
    }
}
