:root {
    --green-900: #0b3d2e;
    --green-700: #146b4a;
    --green-600: #1b8a5e;
    --green-500: #2fb37e;
    --green-100: #e3f4ec;
    --green-50: #f2faf6;

    --navy-900: #0d1730;
    --navy-800: #13203f;
    --navy-700: #1b2c55;
    --navy-600: #23396e;

    --white: #ffffff;
    --gray-50: #f7f9f8;
    --gray-200: #e2e8e5;
    --gray-500: #6b7a73;
    --gray-700: #3d4a44;
    --gray-900: #1f2a25;

    --shadow-sm: 0 1px 3px rgba(13, 23, 48, 0.08);
    --shadow-md: 0 6px 18px rgba(13, 23, 48, 0.10);
    --shadow-lg: 0 16px 40px rgba(13, 23, 48, 0.14);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;

    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--gray-900);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--green-700);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

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

.section-title {
    font-size: 1.9rem;
    color: var(--navy-900);
    text-align: center;
    margin-bottom: 0.5rem;
}

/* ===== Header & Brand ===== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 14px;
    padding-bottom: 14px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--navy-900);
    text-decoration: none;
}

.brand:hover {
    text-decoration: none;
}

.brand-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    color: var(--green-600);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.brand-name {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--navy-900);
    letter-spacing: -0.01em;
}

.brand-tagline {
    font-size: 0.78rem;
    color: var(--gray-500);
    max-width: 260px;
}

/* ===== Navigation ===== */

.site-nav {
    display: flex;
    align-items: center;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--navy-900);
    cursor: pointer;
    padding: 6px;
}

.nav-toggle svg {
    width: 28px;
    height: 28px;
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-menu > li > a,
.nav-menu .dropdown-toggle {
    display: block;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: var(--gray-700);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active,
.nav-menu .dropdown-toggle:hover {
    background: var(--green-100);
    color: var(--green-700);
    text-decoration: none;
}

.nav-menu .dropdown {
    position: relative;
}

.nav-menu .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-menu .dropdown-toggle svg {
    width: 14px;
    height: 14px;
    transition: transform 0.15s ease;
}

.nav-menu .dropdown.open .dropdown-toggle svg {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 190px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 8px 0;
    list-style: none;
}

.nav-menu .dropdown.open .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 16px;
    color: var(--gray-700);
    font-size: 0.92rem;
    text-decoration: none;
}

.dropdown-menu li a:hover {
    background: var(--green-50);
    color: var(--green-700);
}

/* ===== Announcement Ticker ===== */

.ticker {
    background: var(--navy-900);
    color: #cfe6da;
    border-bottom: 1px solid var(--navy-700);
    overflow: hidden;
    white-space: nowrap;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.3;
}

.ticker-track {
    display: inline-flex;
    align-items: center;
    gap: 0;
    min-width: 100%;
    animation: ticker-scroll 38s linear infinite;
    will-change: transform;
}

.ticker:hover .ticker-track,
.ticker:focus-within .ticker-track {
    animation-play-state: paused;
}

.ticker-group {
    display: inline-flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 28px;
}

.ticker-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--green-500);
}

.ticker-item strong {
    color: var(--white);
    font-weight: 800;
    margin-right: 4px;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ticker-track {
        animation: none;
    }
    .ticker-group {
        width: 50%;
        justify-content: space-around;
        flex-wrap: wrap;
    }
    .ticker-item {
        padding: 10px 16px;
    }
}

/* ===== Hero ===== */

.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--green-50) 0%, var(--green-100) 55%, #d9efee 100%);
    padding: 56px 0 40px;
}

.hero-deco {
    position: absolute;
    top: 0;
    right: 0;
    width: 660px;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    color: var(--green-600);
}

.hero-deco svg {
    width: 100%;
    height: 100%;
    opacity: 0.24;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
}

.hero-info h1 {
    font-size: 2.4rem;
    line-height: 1.2;
    color: var(--navy-900);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.hero-lede {
    color: var(--gray-700);
    font-size: 1.05rem;
    margin-bottom: 24px;
    max-width: 520px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--green-700);
    margin-bottom: 16px;
}

.benefit-list {
    list-style: none;
    display: grid;
    gap: 12px;
}

.benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1rem;
    color: var(--gray-900);
}

.benefit-list li svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: var(--green-600);
    margin-top: 2px;
}

.hero-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.hero-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 28px 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    color: var(--navy-900);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 2px solid transparent;
    min-height: 230px;
}

.hero-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
}

.card-find {
    border-top: 6px solid var(--green-600);
}

.card-calc {
    border-top: 6px solid var(--navy-700);
}

.hero-card > svg {
    width: 46px;
    height: 46px;
    color: var(--green-600);
    margin-bottom: 8px;
}

.card-calc > svg {
    color: var(--navy-700);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 800;
}

.card-sub {
    font-size: 0.9rem;
    color: var(--gray-500);
}

.card-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--green-700);
}

.card-cta svg {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.hero-card:hover .card-cta svg {
    transform: translateX(3px);
}

/* Hero stats strip */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 30px;
    padding-top: 26px;
    border-top: 1px solid var(--green-100);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-right: 12px;
}

.stat:not(:last-child) {
    border-right: 1px solid var(--green-100);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy-900);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--gray-500);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* ===== Search Section ===== */

.search-section {
    padding: 56px 0;
    background: var(--white);
}

.search-intro {
    text-align: center;
    color: var(--gray-500);
    margin-bottom: 28px;
    font-size: 1.05rem;
}

.search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    max-width: 620px;
    margin: 0 auto;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    padding: 16px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.state-select {
    flex: 1 1 260px;
    padding: 14px 16px;
    font-size: 1rem;
    color: var(--gray-900);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%236b7a73' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 18px;
    cursor: pointer;
}

.state-select:focus {
    outline: none;
    border-color: var(--green-600);
    box-shadow: 0 0 0 3px var(--green-100);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 26px;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn-search {
    background: var(--green-700);
    color: var(--white);
}

.btn-search:hover {
    background: var(--green-600);
    transform: translateY(-1px);
}

/* ===== How It Works ===== */

.how-section {
    padding: 60px 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--green-50) 100%);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 36px;
}

.step {
    position: relative;
    text-align: center;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 40px 24px 32px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.step-num {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--navy-800);
    color: var(--white);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.step svg {
    width: 56px;
    height: 56px;
    color: var(--green-600);
    margin-bottom: 12px;
}

.step h3 {
    font-size: 1.2rem;
    color: var(--navy-900);
    margin-bottom: 8px;
}

.step p {
    font-size: 0.94rem;
    color: var(--gray-500);
}

/* ===== Footer ===== */

.site-footer {
    background: var(--navy-900);
    color: #c8d3cd;
    margin-top: 0;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 44px;
    padding-bottom: 32px;
}

.footer-brand {
    max-width: 460px;
}

.footer-brand .brand {
    color: var(--white);
}

.footer-brand .brand-icon {
    color: var(--green-500);
}

.footer-brand .brand-name {
    color: var(--white);
    font-size: 1.3rem;
}

.disclaimer {
    margin-top: 16px;
    font-size: 0.9rem;
    color: #9fb0a8;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-links a {
    color: var(--green-100);
    font-size: 0.95rem;
    font-weight: 600;
}

.footer-links a:hover {
    color: var(--green-500);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px 0;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: #8a9a92;
}

/* ===== Responsive ===== */

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

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

@media (max-width: 768px) {
    .hero-deco {
        width: 460px;
    }
}

@media (max-width: 600px) {
    .hero-deco {
        display: none;
    }
}

@media (max-width: 768px) {
    .site-header .container {
        flex-wrap: wrap;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0;
        padding-top: 12px;
        border-top: 1px solid var(--gray-200);
    }

    .nav-menu.open {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: auto;
        max-height: calc(100vh - 100%);
        overflow-y: auto;
        background: var(--white);
        border-top: 1px solid var(--gray-200);
        padding: 12px 20px;
        box-shadow: var(--shadow-md);
        z-index: 1000;
    }

    .nav-menu > li > a,
    .nav-menu .dropdown-toggle {
        padding: 13px 6px;
        border-radius: 0;
        border-bottom: 1px solid var(--gray-200);
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        background: var(--gray-50);
        padding: 0 0 0 16px;
    }

    .nav-menu .dropdown.open .dropdown-menu {
        display: block;
    }

    .dropdown-menu li a {
        padding: 11px 6px;
        border-bottom: 1px solid var(--gray-200);
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .hero-info h1 {
        font-size: 2rem;
    }

    .brand-tagline {
        display: none;
    }
}

@media (max-width: 560px) {
    .hero {
        padding: 40px 0 32px;
    }

    .hero-stats {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }

    .stat:last-child {
        grid-column: 1 / -1;
        border-right: none;
        padding-right: 0;
    }

    .stat:nth-child(2) {
        border-right: none;
    }

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

    .hero-card {
        min-height: auto;
    }

    .search-form {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-search {
        justify-content: center;
        width: 100%;
    }

    .state-select {
        flex: 0 0 auto;
        min-height: 48px;
        height: 48px;
    }

    .footer-grid {
        flex-direction: column;
        gap: 24px;
    }

    .section-title {
        font-size: 1.6rem;
    }
}

/* ===== Scrap Value Calculator ===== */

.calc-section {
    padding: 56px 0 48px;
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
}

.calc-title {
    color: var(--white);
}

.calc-section .search-intro {
    color: #b9c6c0;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.calc-form {
    max-width: 620px;
    margin: 32px auto 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.calc-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.calc-field label {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--navy-900);
}

.calc-field select,
.calc-field input[type="number"] {
    width: 100%;
    padding: 12px 14px;
    font-size: 1rem;
    color: var(--gray-900);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
}

.calc-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%236b7a73' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
    cursor: pointer;
}

.calc-field select:focus,
.calc-field input[type="number"]:focus {
    outline: none;
    border-color: var(--green-600);
    box-shadow: 0 0 0 3px var(--green-100);
}

.calc-field .field-note {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-top: 2px;
}

.calc-actions {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.btn-calculate {
    background: var(--green-700);
    color: var(--white);
}

.btn-calculate:hover {
    background: var(--green-600);
    transform: translateY(-1px);
}

.calc-error {
    color: #b3261e;
    font-size: 0.9rem;
    font-weight: 600;
}

.calc-result {
    max-width: 620px;
    margin: 28px auto 0;
    background: var(--green-50);
    border: 2px solid var(--green-100);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    text-align: center;
}

.result-label {
    font-size: 1.05rem;
    color: var(--gray-500);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

.result-amount {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--green-700);
    margin-bottom: 12px;
}

.result-note {
    font-size: 0.9rem;
    color: var(--gray-500);
    max-width: 460px;
    margin: 0 auto 22px;
}

.btn-find-rvsf {
    display: inline-flex;
    background: var(--navy-800);
    color: var(--white);
    text-decoration: none;
}

.btn-find-rvsf:hover {
    background: var(--navy-700);
    text-decoration: none;
    transform: translateY(-1px);
}

.how-value-section {
    padding: 56px 0;
    background: var(--white);
}

.factor-list {
    list-style: none;
    max-width: 760px;
    margin: 32px auto 0;
    display: grid;
    gap: 16px;
}

.factor-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    font-size: 0.98rem;
    color: var(--gray-700);
}

.factor-list li svg {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    color: var(--green-600);
    margin-top: 1px;
}

.factor-list li strong {
    color: var(--navy-900);
}

@media (max-width: 640px) {
    .calc-form {
        grid-template-columns: 1fr;
    }

    .calc-result {
        padding: 26px 18px;
    }

    .result-amount {
        font-size: 2rem;
    }
}

/* ===== State RVSF Listing ===== */

.state-section {
    padding: 44px 0 60px;
    background: var(--green-50);
    min-height: 60vh;
}

.state-title {
    margin-bottom: 10px;
}

.state-section .search-intro {
    margin-bottom: 28px;
    color: var(--gray-500);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.breadcrumb {
    margin-bottom: 22px;
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-500);
}

.breadcrumb li:not(:last-child)::after {
    content: "/";
    color: var(--gray-200);
}

.breadcrumb a {
    color: var(--green-700);
    font-weight: 600;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb li[aria-current="page"] {
    color: var(--gray-900);
    font-weight: 700;
}

.state-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.rvsf-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.94rem;
}

.rvsf-table thead th {
    background: var(--navy-800);
    color: var(--white);
    text-align: left;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 15px 16px;
    white-space: nowrap;
}

.rvsf-table tbody tr:nth-child(even) {
    background: var(--gray-50);
}

.rvsf-table tbody tr {
    border-bottom: 1px solid var(--gray-200);
    transition: background-color 0.15s ease;
}

.rvsf-table tbody tr:last-child {
    border-bottom: none;
}

.rvsf-table tbody tr:hover {
    background: var(--green-100);
}

.rvsf-table td {
    padding: 16px;
    vertical-align: top;
}

.facility-name {
    color: var(--navy-900);
    font-size: 0.98rem;
}

.muted,
.rating-note {
    color: var(--gray-500);
    font-style: italic;
}

/* Status badges */
.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.badge-operational {
    background: var(--green-700);
    color: #ffffff;
}

.badge-approved {
    background: #f6c445;
    color: #5a3f00;
}

/* Contact button */
.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border: 1.5px solid var(--green-600);
    border-radius: var(--radius-sm);
    color: var(--green-700);
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.btn-contact:hover {
    background: var(--green-700);
    color: var(--white);
    text-decoration: none;
}

.btn-contact .phone-icon {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

/* Rating stars */
.stars {
    display: inline-flex;
    gap: 1px;
    align-items: center;
}

.starsvg {
    width: 17px;
    height: 17px;
}

.starsvg.st-filled {
    color: #f6b01e;
}

.starsvg.st-empty {
    fill: none;
    stroke: var(--gray-200);
    stroke-width: 1.6;
    color: var(--gray-200);
}

.rating-count {
    display: block;
    font-size: 0.78rem;
    color: var(--gray-500);
    margin-top: 3px;
}

.empty-list {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 28px;
    text-align: center;
    color: var(--gray-500);
    box-shadow: var(--shadow-sm);
}

/* Mobile: convert table rows into stacked cards */
@media (max-width: 768px) {
    .rvsf-table,
    .rvsf-table tbody,
    .rvsf-table tr,
    .rvsf-table td {
        display: block;
        width: 100%;
    }

    .rvsf-table thead {
        display: none;
    }

    .state-card {
        border: none;
        background: transparent;
        box-shadow: none;
        padding: 0;
    }

    .table-wrap {
        overflow: visible;
    }

    .rvsf-table tbody {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .rvsf-table tbody tr {
        display: block;
        background: var(--white);
        border: 1px solid var(--gray-200);
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-sm);
        padding: 18px;
        border-top: 4px solid var(--green-600);
    }

    .rvsf-table tbody tr:nth-child(even) {
        background: var(--white);
    }

    .rvsf-table tbody tr:hover {
        background: var(--green-50);
    }

    .rvsf-table td {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: space-between;
        gap: 6px;
        padding: 8px 0;
        border-bottom: 1px dashed var(--gray-200);
    }

    .rvsf-table td:last-child {
        border-bottom: none;
    }

    .rvsf-table td::before {
        content: attr(data-label);
        font-size: 0.78rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.03em;
        color: var(--gray-500);
        padding-right: 10px;
        flex-shrink: 0;
    }

    .rvsf-table td[data-label="Name"]::before {
        display: none;
    }

    .rvsf-table td[data-label="Name"] {
        display: block;
        border-bottom: none;
        padding-top: 2px;
        padding-bottom: 4px;
    }

    .facility-name {
        font-size: 1.15rem;
    }

    .rvsf-table td .badge,
    .rvsf-table td .stars,
    .rvsf-table td .rating-count,
    .rvsf-table td .btn-contact {
        margin-left: auto;
    }
}

/* ===== Vehicle Scrap Policy Page ===== */

.policy-hero {
    background: linear-gradient(135deg, var(--green-50) 0%, var(--green-100) 60%, var(--green-50) 100%);
    padding: 40px 0 44px;
}

.policy-h1 {
    font-size: 2.4rem;
    line-height: 1.2;
    color: var(--navy-900);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.policy-hero-lede {
    color: var(--gray-700);
    font-size: 1.05rem;
    max-width: 680px;
    line-height: 1.6;
}

.policy-section {
    padding: 56px 0;
    background: var(--white);
}

.policy-section-alt {
    background: var(--gray-50);
}

.policy-container {
    max-width: 820px;
}

.policy-container h2 {
    font-size: 1.7rem;
    color: var(--navy-900);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.policy-container > p {
    font-size: 1.02rem;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 16px;
}

.policy-container > p:last-child {
    margin-bottom: 0;
}

/* Eligibility cards */
.eligibility-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 28px;
}

.eligibility-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 28px 22px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.eligibility-icon {
    width: 48px;
    height: 48px;
    color: var(--green-600);
    margin-bottom: 14px;
}

.eligibility-icon svg {
    width: 100%;
    height: 100%;
}

.eligibility-card h3 {
    font-size: 1.08rem;
    color: var(--navy-900);
    margin-bottom: 8px;
}

.eligibility-card p {
    font-size: 0.93rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* Benefits list */
.policy-benefit-list {
    list-style: none;
    display: grid;
    gap: 20px;
    margin-top: 24px;
}

.policy-benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.policy-benefit-list li svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--green-600);
    margin-top: 3px;
}

.policy-benefit-list li strong {
    display: block;
    font-size: 1.02rem;
    color: var(--navy-900);
    margin-bottom: 4px;
}

.policy-benefit-list li p {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* Steps */
.policy-steps {
    list-style: none;
    counter-reset: none;
    margin-top: 28px;
    display: grid;
    gap: 0;
}

.policy-steps li {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 24px 0;
    border-bottom: 1px solid var(--gray-200);
}

.policy-steps li:last-child {
    border-bottom: none;
}

.policy-step-num {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--green-700);
    color: var(--white);
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.policy-steps li h3 {
    font-size: 1.08rem;
    color: var(--navy-900);
    margin-bottom: 6px;
}

.policy-steps li p {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* CTA buttons */
.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 700;
    background: var(--green-700);
    color: var(--white);
    border-radius: var(--radius-sm);
    margin-top: 24px;
    transition: background 0.15s ease, transform 0.15s ease;
}

.btn-cta-primary:hover {
    background: var(--green-600);
    transform: translateY(-1px);
    text-decoration: none;
}

.btn-cta-primary svg {
    width: 18px;
    height: 18px;
}

/* FAQ */
.faq-list {
    margin-top: 28px;
    display: grid;
    gap: 0;
}

.faq-item {
    border-bottom: 1px solid var(--gray-200);
}

.faq-item:first-child {
    border-top: 1px solid var(--gray-200);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy-900);
    font-family: var(--font-sans);
    line-height: 1.4;
    transition: color 0.15s ease;
}

.faq-question:hover {
    color: var(--green-700);
}

.faq-chevron {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--gray-500);
    transition: transform 0.25s ease;
}

.faq-open .faq-chevron {
    transform: rotate(180deg);
    color: var(--green-600);
}

.faq-answer {
    padding: 0 0 20px;
}

.faq-answer p {
    font-size: 0.96rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* CTA section at bottom */
.policy-cta-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
    text-align: center;
}

.policy-cta-section h2 {
    color: var(--white);
    font-size: 1.9rem;
    margin-bottom: 12px;
}

.policy-cta-section p {
    color: #b9c6c0;
    font-size: 1.05rem;
    margin-bottom: 28px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    font-size: 1.05rem;
    font-weight: 700;
    background: var(--green-600);
    color: var(--white);
    border-radius: var(--radius-sm);
    transition: background 0.15s ease, transform 0.15s ease;
}

.btn-cta-large:hover {
    background: var(--green-500);
    transform: translateY(-2px);
    text-decoration: none;
}

.btn-cta-large svg {
    width: 20px;
    height: 20px;
}

/* ===== Responsive — Policy Page ===== */

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

@media (max-width: 768px) {
    .policy-h1 {
        font-size: 1.9rem;
    }

    .policy-section {
        padding: 44px 0;
    }

    .policy-container h2 {
        font-size: 1.45rem;
    }

    .policy-cta-section {
        padding: 48px 0;
    }

    .policy-cta-section h2 {
        font-size: 1.55rem;
    }

    .btn-cta-large {
        padding: 14px 28px;
        font-size: 1rem;
    }
}

@media (max-width: 560px) {
    .policy-hero {
        padding: 28px 0 32px;
    }

    .policy-h1 {
        font-size: 1.65rem;
    }

    .policy-section {
        padding: 36px 0;
    }

    .policy-container h2 {
        font-size: 1.3rem;
    }

    .policy-steps li {
        gap: 14px;
    }

    .faq-question {
        font-size: 0.98rem;
    }

    .policy-cta-section {
        padding: 40px 0;
    }

    .policy-cta-section h2 {
        font-size: 1.35rem;
    }
}

/* ===== Documents Required Page ===== */

/* Checklist */
.doc-checklist {
    list-style: none;
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.doc-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 18px 20px;
}

.doc-checklist li svg {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    color: var(--green-600);
    margin-top: 2px;
}

.doc-checklist li strong {
    display: block;
    font-size: 1rem;
    color: var(--navy-900);
    margin-bottom: 3px;
}

.doc-checklist li p {
    font-size: 0.92rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* Warning box */
.doc-warning {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #fdf6e3;
    border: 1px solid #f0d9a8;
    border-left: 6px solid #e8a33d;
    border-radius: var(--radius-md);
    padding: 24px 26px;
    box-shadow: var(--shadow-sm);
}

.doc-warning-icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    color: #c9820f;
    margin-top: 2px;
}

.doc-warning-icon svg {
    width: 100%;
    height: 100%;
}

.doc-warning h3 {
    font-size: 1.12rem;
    color: #7a4a00;
    margin-bottom: 8px;
}

.doc-warning p {
    font-size: 0.97rem;
    color: #6b5a2e;
    line-height: 1.7;
}

/* Ownership cards */
.ownership-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.ownership-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 26px 22px;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--navy-700);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.ownership-title {
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--navy-900);
    margin-bottom: 10px;
}

.ownership-card p {
    font-size: 0.93rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* Responsive — Documents Page */
@media (max-width: 900px) {
    .ownership-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .doc-warning {
        flex-direction: column;
        padding: 20px;
    }
}

/* ===== Useful Official Resources ===== */

.resource-list {
    list-style: none;
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.resource-list li {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.resource-list li:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.resource-list li a {
    display: block;
    padding: 18px 20px;
    color: inherit;
    text-decoration: none;
}

.resource-list strong {
    display: block;
    font-size: 1rem;
    color: var(--green-700);
    margin-bottom: 4px;
}

.resource-list span {
    display: block;
    font-size: 0.92rem;
    color: var(--gray-500);
    line-height: 1.6;
}

.resource-note {
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--gray-500);
    font-style: italic;
}

.resource-list--tools li {
    border-left: 4px solid var(--navy-600);
}

.resource-list--tools strong {
    color: var(--navy-700);
}

.external-subtitle {
    margin: 32px 0 0;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--navy-600);
}

.external-subtitle--tools {
    color: var(--green-700);
}

/* ===== Eligibility Checker Page ===== */

.calc-field-full {
    grid-column: 1 / -1;
}

.radio-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 4px;
}

.radio-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    background: var(--white);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    transition: border-color 0.15s ease, background 0.15s ease;
}

.radio-option:hover {
    border-color: var(--green-600);
}

.radio-option input {
    accent-color: var(--green-700);
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.radio-option:has(input:checked) {
    border-color: var(--green-600);
    background: var(--green-50);
    color: var(--green-700);
}

/* Result cards */
.elig-result {
    max-width: 620px;
    margin: 28px auto 0;
    border-radius: var(--radius-md);
    padding: 32px 28px;
    text-align: center;
    display: grid;
    justify-items: center;
    gap: 8px;
}

.elig-result-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 6px;
}

.elig-result-icon svg {
    width: 100%;
    height: 100%;
}

.elig-result-title {
    font-size: 1.4rem;
    line-height: 1.3;
    margin-bottom: 8px;
}

.elig-result-text {
    font-size: 1rem;
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 10px;
}

.elig-result-note {
    font-size: 0.95rem;
    font-style: italic;
    margin-top: 4px;
}

.elig-result .btn-find-rvsf {
    margin-top: 8px;
}

/* Eligible (green success) */
.elig-result-eligible {
    background: var(--green-50);
    border: 2px solid var(--green-100);
}

.elig-result-eligible .elig-result-icon {
    color: var(--green-600);
}

.elig-result-eligible .elig-result-title {
    color: var(--green-700);
}

.elig-result-eligible .elig-result-text {
    color: var(--gray-700);
}

/* Not eligible (amber informational) */
.elig-result-not {
    background: #fdf6e3;
    border: 2px solid #f0d9a8;
}

.elig-result-not .elig-result-icon {
    color: #c9820f;
}

.elig-result-not .elig-result-title {
    color: #7a4a00;
}

.elig-result-not .elig-result-text,
.elig-result-not .elig-result-note {
    color: #6b5a2e;
}

/* Responsive — Eligibility Checker */
@media (max-width: 560px) {
    .elig-result {
        padding: 26px 18px;
    }

    .elig-result-title {
        font-size: 1.2rem;
    }

    .radio-group {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ===== About & Contact Pages ===== */

.calc-field input[type="text"],
.calc-field input[type="email"],
.calc-field textarea {
    width: 100%;
    padding: 12px 14px;
    font-size: 1rem;
    color: var(--gray-900);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
}

.calc-field textarea {
    resize: vertical;
    min-height: 130px;
}

.calc-field input[type="text"]:focus,
.calc-field input[type="email"]:focus,
.calc-field textarea:focus {
    outline: none;
    border-color: var(--green-600);
    box-shadow: 0 0 0 3px var(--green-100);
}

.contact-note {
    max-width: 620px;
    margin: 24px auto 0;
    text-align: center;
    font-size: 0.92rem;
    color: var(--gray-500);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    line-height: 1.6;
}

