:root {
    --primary-dark: #121815;
    --surface-dark: #1B2420;
    --surface-dark-card: #232F2A;
    --primary-light: #F7F5F0;
    --surface-sand: #EDE9DF;
    --surface-sand-light: #F2EFEB;
    --brand-green-accent: #306B4F;
    --brand-warm-accent: #D9653B;
    --border-subtle-dark: #2E3C35;
    --border-subtle-light: #D8D2C4;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'LXGW WenKai TC', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.7;
    background-color: var(--primary-light);
    color: #17201C;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-family: 'LXGW WenKai TC', sans-serif;
    font-weight: 700;
    line-height: 1.35;
    color: inherit;
}

h1 {
    font-size: clamp(2rem, 4vw + 1rem, 2.75rem);
    line-height: 1.25;
}

h2 {
    font-size: clamp(1.6rem, 2.5vw + 1rem, 2rem);
    line-height: 1.35;
}

h3 {
    font-size: clamp(1.2rem, 1.5vw + 1rem, 1.4rem);
    line-height: 1.4;
}

h4 {
    font-size: 1.2rem;
}

h5 {
    font-size: 1.05rem;
}

h6 {
    font-size: 0.95rem;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

small {
    font-size: 0.875rem;
    line-height: 1.5;
    font-weight: 300;
}

a,
a:hover,
a:focus {
    text-decoration: none;
    color: inherit;
    transition: color 0.25s ease, opacity 0.25s ease;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    transition: opacity 0.25s ease, background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

ul,
ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

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

:focus-visible {
    outline: 2px solid var(--brand-green-accent);
    outline-offset: 3px;
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.85rem;
        line-height: 1.3;
    }

    h2 {
        font-size: 1.5rem;
        line-height: 1.35;
    }

    h3 {
        font-size: 1.25rem;
        line-height: 1.4;
    }

    h4 {
        font-size: 1.1rem;
    }

    h5 {
        font-size: 1rem;
    }

    a[href^="mailto:"],
    a[href^="tel:"],
    .text-break-mobile {
        font-size: 0.925rem;
        word-break: break-all;
    }
}

/* ===== header ===== */
#header {
    overflow: hidden;
    background: linear-gradient(180deg, rgba(18, 24, 21, 0.95) 0%, rgba(18, 24, 21, 0.82) 65%, rgba(18, 24, 21, 0.5) 100%);
    border-bottom: 1px solid rgba(46, 60, 53, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 99
}

.brand-leaf-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: var(--brand-green-accent);
    box-shadow: 0 4px 14px rgba(48, 107, 79, 0.35)
}

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

.footer-logo-img {
    height: 44px;
    width: auto;
    display: block
}

.brand-title {
    font-size: 1.35rem;
    letter-spacing: 0.5px
}

.nav-group-wrapper {
    gap: 1.75rem
}

.nav-link-custom {
    position: relative;
    font-size: 0.95rem;
    transition: color 0.25s ease;
    padding: 0.4rem 0
}

.nav-link-custom::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--brand-green-accent);
    border-radius: 2px;
    transition: width 0.25s ease
}

.nav-link-custom:hover {
    color: #fff
}

.nav-link-custom:hover::after {
    width: 100%
}

.nav-divider-line {
    display: inline-block;
    width: 1px;
    height: 20px;
    background-color: rgba(216, 210, 196, 0.3);
    margin: 0 1.5rem
}

.btn-cta-pill {
    background: var(--brand-warm-accent);
    border: 1px solid transparent;
    padding: 0.55rem 1.4rem;
    font-size: 0.9rem;
    transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 12px rgba(217, 101, 59, 0.3)
}

.btn-cta-pill:hover {
    background: #bf532c;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(217, 101, 59, 0.4)
}

.btn-cta-pill:active {
    transform: translateY(0)
}

.hamburger-btn {
    width: 42px;
    height: 42px;
    background-color: var(--surface-dark-card);
    transition: background-color 0.2s ease, transform 0.2s ease
}

.hamburger-btn:hover {
    background-color: var(--brand-green-accent)
}

.mobile-dropdown-panel {
    max-height: 0;
    overflow: hidden;
    background-color: var(--surface-dark);
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 1px solid var(--border-subtle-dark)
}

.mobile-dropdown-panel.open {
    max-height: 360px
}

.mobile-nav-link {
    min-height: 44px;
    font-size: 0.95rem;
    background-color: transparent;
    transition: background-color 0.2s ease, color 0.2s ease
}

.mobile-nav-link:hover {
    background-color: var(--surface-dark-card)
}

.border-top-mobile {
    border-top: 1px solid var(--border-subtle-dark);
    margin-top: 0.25rem
}

/* ===== hero ===== */
#hero.tovernous-hero {
    background-color: var(--primary-dark, #121815);
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--primary-light, #F7F5F0);
    overflow: hidden;
}

#hero .tovernous-hero-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(48, 107, 79, 0.2) 0%, rgba(18, 24, 21, 0.92) 65%, rgba(18, 24, 21, 1) 100%);
    pointer-events: none;
}

#hero .tovernous-eyebrow {
    background: rgba(48, 107, 79, 0.35);
    border: 1px solid var(--border-subtle-dark, #2E3C35);
    backdrop-filter: blur(6px);
}

#hero .tovernous-hero-title {
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #ffffff;
    line-height: 1.2;
}

#hero .tovernous-hero-lead {
    max-width: 680px;
    font-size: 1.1rem;
    color: rgba(247, 245, 240, 0.8);
}

#hero .tovernous-btn-primary {
    background-color: var(--brand-green-accent, #306B4F);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all .3s ease;
    box-shadow: 0 8px 24px rgba(48, 107, 79, 0.35);
    text-decoration: none;
}

#hero .tovernous-btn-primary:hover {
    background-color: #26553e;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(48, 107, 79, 0.45);
}

#hero .tovernous-meta-badge {
    padding: 8px 12px;
    background: rgba(27, 36, 32, 0.6);
    border-radius: 999px;
    border: 1px solid var(--border-subtle-dark, #2E3C35);
}

#hero .tovernous-main-card {
    min-height: 430px;
    background-color: var(--surface-dark-card, #232F2A);
    border: 1px solid var(--border-subtle-dark, #2E3C35);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

#hero .tovernous-media-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 380px;
}

#hero .tovernous-featured-img {
    object-fit: cover;
    min-height: 430px;
    display: block;
}

#hero .tovernous-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(18, 24, 21, 0.05) 0%, rgba(18, 24, 21, 0.65) 55%, rgba(18, 24, 21, 0.95) 100%);
    pointer-events: none;
}

#hero .tovernous-side-card {
    background-color: var(--surface-dark-card, #232F2A);
    border: 1px solid var(--border-subtle-dark, #2E3C35);
    transition: transform .3s ease, border-color .3s ease;
    min-height: 190px;
}

#hero .tovernous-side-card:hover {
    transform: translateY(-3px);
    border-color: var(--brand-green-accent, #306B4F);
}

#hero .tovernous-sub-media {
    min-height: 140px;
    position: relative;
}

#hero .tovernous-sub-img {
    object-fit: cover;
    min-height: 140px;
    height: 100%;
    border-radius: 10px;
    display: block;
}

#hero .tovernous-badge-accent {
    background-color: var(--brand-warm-accent, #D9653B);
    font-size: 0.75rem;
    font-weight: 600;
}

#hero .tovernous-badge-sub {
    background-color: var(--brand-green-accent, #306B4F);
    font-size: 0.7rem;
    font-weight: 500;
}

#hero .tovernous-card-divider {
    border-color: rgba(255, 255, 255, 0.12) !important;
}

@media(max-width:767.98px) {
    #hero .tovernous-hero-title {
        font-size: 1.125rem;
        line-height: 1.2;
        hyphens: auto;
    }

    #hero .tovernous-main-content h2 {
        font-size: 1rem;
        line-height: 1.2;
        hyphens: auto;
    }

    #hero .tovernous-side-card h3 {
        font-size: 0.875rem;
        line-height: 1.2;
        hyphens: auto;
    }

    #hero .tovernous-hero-lead {
        font-size: 0.875rem;
        line-height: 1.4;
    }

    #hero .tovernous-main-card {
        min-height: 320px;
    }

    #hero .tovernous-featured-img {
        min-height: 320px;
        height: 320px;
    }

    #hero .tovernous-media-wrapper {
        min-height: 320px;
    }

    #hero .tovernous-sub-media {
        min-height: 110px;
    }

    #hero .tovernous-sub-img {
        min-height: 110px;
    }
}

/* ===== popular_cars ===== */
#popular-cars {
    overflow: hidden;
}

#popular-cars .popular-cars-eyebrow {
    background-color: rgba(48, 107, 79, 0.1);
    border: 1px solid rgba(48, 107, 79, 0.2);
}

#popular-cars .popular-cars-title::after {
    content: "";
    position: absolute;
    left: 10%;
    bottom: 2px;
    width: 80%;
    height: 8px;
    background: rgba(48, 107, 79, 0.18);
    border-radius: 8px;
    z-index: -1;
    transform: rotate(-1deg);
}

#popular-cars .popular-car-card {
    box-shadow: 0 10px 24px -6px rgba(18, 24, 21, 0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

#popular-cars .popular-car-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px -8px rgba(18, 24, 21, 0.14);
}

#popular-cars .car-image-wrapper {
    height: 180px;
    width: 100%;
    border-radius: 54% 46% 52% 48% / 46% 54% 46% 54%;
    background-color: var(--surface-sand, #EDE9DF);
}

#popular-cars .car-img {
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit;
    transition: transform 0.35s ease;
}

#popular-cars .popular-car-card:hover .car-img {
    transform: scale(1.04);
}

#popular-cars .btn-pill {
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

#popular-cars .btn-pill:hover {
    background-color: #23523c !important;
}

@media (max-width: 767.98px) {
    #popular-cars h2 {
        font-size: 1rem !important;
        line-height: 1.25;
        hyphens: auto;
    }

    #popular-cars h3 {
        font-size: 0.875rem !important;
        line-height: 1.25;
        hyphens: auto;
    }

    #popular-cars .car-image-wrapper {
        height: 160px;
    }
}

/* ===== latest_news ===== */
.latest-news-section {
    border-top: 1px solid var(--border-subtle-dark);
    border-bottom: 1px solid var(--border-subtle-dark);
}

.latest-news-eyebrow {
    font-size: 0.875rem;
    letter-spacing: 0.04em;
}

.latest-news-title-brush {
    position: absolute;
    left: -5%;
    top: 20%;
    width: 110%;
    height: 65%;
    background: radial-gradient(ellipse at center, rgba(48, 107, 79, 0.38) 0%, rgba(48, 107, 79, 0) 70%);
    border-radius: 45% 55% 40% 60% / 50% 40% 60% 50%;
    pointer-events: none;
    z-index: 0;
}

.latest-news-main-title {
    font-size: 1.85rem;
    line-height: 1.25;
    letter-spacing: -0.02em;
    hyphens: auto;
}

.latest-news-card {
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(18, 24, 21, 0.45);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.latest-news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(18, 24, 21, 0.7);
}

.latest-news-img-wrap {
    border-radius: 18px 30px 18px 30px;
    aspect-ratio: 16/9;
    background-color: #121815;
}

.latest-news-thumb {
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.latest-news-card:hover .latest-news-thumb {
    transform: scale(1.04);
}

.latest-news-heading {
    font-size: 1.05rem;
    line-height: 1.35;
    letter-spacing: -0.01em;
    hyphens: auto;
}

.latest-news-date {
    font-size: 0.8rem;
    letter-spacing: 0.03em;
}

.latest-news-teaser {
    font-size: 0.875rem;
    line-height: 1.6;
    hyphens: auto;
}

@media (max-width:767.98px) {
    .latest-news-main-title {
        font-size: 1rem !important;
        line-height: 1.2 !important;
    }

    .latest-news-heading {
        font-size: 0.875rem !important;
        line-height: 1.25 !important;
    }

    .latest-news-intro {
        font-size: 0.825rem;
    }

    .latest-news-teaser {
        font-size: 0.8rem;
        line-height: 1.5;
    }

    .latest-news-thumb {
        height: 180px;
    }
}

/* ===== reviews ===== */
#reviews-test-drives {
    overflow: hidden;
    background-color: var(--primary-light);
    color: var(--primary-dark);
}

#reviews-test-drives .tovernous-eyebrow {
    background-color: var(--surface-sand);
    border: 1px solid var(--border-subtle-light);
}

#reviews-test-drives .tovernous-badge-text {
    color: var(--brand-green-accent);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

#reviews-test-drives .tovernous-accent-icon {
    color: var(--brand-green-accent);
    font-size: 1.1rem;
}

#reviews-test-drives .tovernous-title {
    color: var(--primary-dark);
    letter-spacing: -0.02em;
    hyphens: auto;
}

#reviews-test-drives .tovernous-title::after {
    content: '';
    position: absolute;
    left: 8%;
    bottom: -6px;
    width: 84%;
    height: 8px;
    background-color: var(--surface-sand);
    border-radius: 999px;
    z-index: -1;
    opacity: 0.7;
}

#reviews-test-drives .tovernous-subtitle {
    color: var(--surface-dark-card);
    line-height: 1.6;
}

#reviews-test-drives .tovernous-review-card {
    background-color: var(--surface-sand-light);
    border: 1px solid var(--border-subtle-light);
    border-radius: 24px;
    box-shadow: 0 12px 28px rgba(18, 24, 21, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#reviews-test-drives .tovernous-review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(18, 24, 21, 0.08);
}

#reviews-test-drives .tovernous-pebble-img {
    height: 210px;
    object-fit: cover;
    border-radius: 20px 20px 32px 20px;
}

#reviews-test-drives .tovernous-type-badge {
    background-color: rgba(27, 36, 32, 0.85);
    color: var(--primary-light);
    backdrop-filter: blur(4px);
    font-weight: 500;
    font-size: 0.75rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
}

#reviews-test-drives .tovernous-date {
    color: var(--surface-dark);
    font-size: 0.8rem;
}

#reviews-test-drives .tovernous-overall-badge {
    color: var(--brand-warm-accent);
    font-size: 0.9rem;
    background-color: var(--surface-sand);
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    border: 1px solid var(--border-subtle-light);
}

#reviews-test-drives .tovernous-card-title {
    color: var(--primary-dark);
    line-height: 1.35;
    letter-spacing: -0.01em;
}

#reviews-test-drives .tovernous-card-desc {
    color: var(--surface-dark);
    line-height: 1.6;
}

#reviews-test-drives .tovernous-metric-name {
    color: var(--surface-dark-card);
    font-weight: 500;
}

#reviews-test-drives .tovernous-metric-score {
    color: var(--brand-green-accent);
    font-size: 0.85rem;
}

#reviews-test-drives .tovernous-progress-bar {
    height: 6px;
    background-color: var(--surface-sand);
    border-radius: 999px;
    overflow: hidden;
}

#reviews-test-drives .tovernous-bar-fill {
    background-color: var(--brand-green-accent);
    border-radius: 999px;
}

@media (max-width: 767.98px) {
    #reviews-test-drives .tovernous-title {
        font-size: 1rem !important;
        line-height: 1.2 !important;
    }

    #reviews-test-drives .tovernous-card-title {
        font-size: 0.875rem !important;
        line-height: 1.25 !important;
    }

    #reviews-test-drives .tovernous-subtitle {
        font-size: 0.85rem;
    }

    #reviews-test-drives .tovernous-pebble-img {
        height: 180px;
    }
}

/* ===== car_comparison ===== */
#comparison .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

#comparison table {
    min-width: 680px;
}

#comparison .js-filter-btn {
    transition: all 0.25s ease-in-out;
}

#comparison .js-filter-btn:hover {
    background-color: #306B4F !important;
    color: #F7F5F0 !important;
}

#comparison .js-row-item {
    transition: opacity 0.25s ease;
}

/* ===== categories ===== */
#categories .card {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(18, 24, 21, 0.05);
}

#categories .js-category-card:hover .card {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(18, 24, 21, 0.1);
}

#categories .ratio img {
    border-radius: 14px;
}

/* ===== maintenance_tips ===== */
#maintenance-tips {
    overflow: hidden;
    background-color: #F2EFEB;
}

#maintenance-tips .card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#maintenance-tips .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(18, 24, 21, 0.08) !important;
}

#maintenance-tips .btn {
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

#maintenance-tips .btn:hover {
    opacity: 0.92;
}

@media (max-width: 767.98px) {
    #maintenance-tips h2 {
        font-size: 1rem !important;
        line-height: 1.25 !important;
        hyphens: auto;
    }

    #maintenance-tips h3 {
        font-size: 0.875rem !important;
        line-height: 1.2 !important;
        hyphens: auto;
    }

    #maintenance-tips .modal-title {
        font-size: 0.875rem !important;
        line-height: 1.2 !important;
    }
}

/* ===== automotive_tech ===== */
#automotive-tech {
    background-color: var(--primary-dark);
    color: var(--primary-light);
    width: 100%;
}

.tech-eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #a3d9bc;
    background-color: rgba(48, 107, 79, 0.4);
    border: 1px solid rgba(48, 107, 79, 0.6);
}

.tech-main-title {
    color: var(--primary-light);
    font-weight: 700;
    font-size: 2rem;
    line-height: 1.3;
}

.tech-subtitle {
    color: #b7c2bc;
    font-size: 0.975rem;
    max-width: 620px;
    line-height: 1.6;
}

.tech-card {
    background-color: var(--surface-dark-card);
    border: 1px solid var(--border-subtle-dark);
    border-radius: 16px;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.tech-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand-green-accent);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

.tech-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: rgba(48, 107, 79, 0.2);
}

.tech-icon {
    font-size: 1.75rem;
    color: #72cca1;
    line-height: 1;
}

.tech-card-title {
    color: var(--primary-light);
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.4;
    hyphens: auto;
}

.tech-card-desc {
    color: #bcc7c1;
    font-size: 0.875rem;
    line-height: 1.65;
    text-align: justify;
    hyphens: auto;
}

@media (max-width: 767.98px) {
    .tech-main-title {
        font-size: 1rem;
        line-height: 1.2;
    }

    .tech-card-title {
        font-size: 0.875rem;
        line-height: 1.25;
    }

    .tech-subtitle,
    .tech-card-desc {
        font-size: 0.8125rem;
        line-height: 1.5;
    }
}

/* ===== buying_guide ===== */
#car-guide {
    width: 100%;
    box-sizing: border-box;
    hyphens: auto;
}

#car-guide .guide-eyebrow-wrap {
    position: relative;
}

#car-guide .guide-eyebrow {
    background-color: rgba(48, 107, 79, 0.12);
    color: var(--brand-green-accent);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

#car-guide .guide-main-title {
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 1.875rem;
    letter-spacing: -0.01em;
}

#car-guide .guide-subtitle {
    color: var(--surface-dark-card);
    font-size: 0.95rem;
    max-width: 680px;
    line-height: 1.6;
    opacity: 0.9;
}

#car-guide .guide-card {
    background-color: var(--surface-sand-light);
    border: 1px solid var(--border-subtle-light);
    box-shadow: 0 10px 24px -12px rgba(18, 24, 21, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#car-guide .guide-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 30px -12px rgba(18, 24, 21, 0.12);
}

#car-guide .guide-card-title {
    color: var(--primary-dark);
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.35;
}

#car-guide .guide-card-desc {
    color: var(--surface-dark-card);
    font-size: 0.875rem;
    line-height: 1.55;
}

#car-guide .guide-icon {
    color: var(--brand-green-accent);
    font-size: 1.4rem;
}

#car-guide .tradeoff-item {
    background-color: var(--primary-light);
    border: 1px solid var(--border-subtle-light);
}

#car-guide .tradeoff-tag {
    color: var(--primary-dark);
    font-size: 0.9rem;
}

#car-guide .tradeoff-badge {
    background-color: rgba(217, 101, 59, 0.12);
    color: var(--brand-warm-accent);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
}

#car-guide .tradeoff-detail {
    color: var(--surface-dark-card);
    font-size: 0.825rem;
    line-height: 1.5;
}

#car-guide .guide-timeline {
    margin-left: 1rem;
}

#car-guide .step-badge {
    width: 28px;
    height: 28px;
    background-color: var(--primary-light);
    border: 2px solid var(--brand-green-accent);
    color: var(--brand-green-accent);
    font-size: 0.75rem;
    font-weight: 700;
}

#car-guide .step-title {
    color: var(--primary-dark);
    font-size: 0.875rem;
    line-height: 1.3;
}

#car-guide .step-text {
    color: var(--surface-dark-card);
    font-size: 0.8rem;
    line-height: 1.45;
}

#car-guide .checklist-item {
    background-color: var(--primary-light);
    border: 1px solid var(--border-subtle-light);
}

#car-guide .checklist-icon {
    color: var(--brand-green-accent);
    font-size: 1.15rem;
}

#car-guide .checklist-name {
    color: var(--primary-dark);
    font-size: 0.875rem;
    line-height: 1.3;
}

#car-guide .checklist-memo {
    color: var(--surface-dark-card);
    font-size: 0.8rem;
    line-height: 1.45;
}

@media (max-width: 767.98px) {
    #car-guide .guide-main-title {
        font-size: 1rem;
        line-height: 1.25;
    }

    #car-guide .guide-card-title {
        font-size: 0.875rem;
        line-height: 1.25;
    }

    #car-guide .guide-subtitle {
        font-size: 0.8125rem;
        line-height: 1.4;
    }

    #car-guide .guide-card {
        padding: 1.25rem !important;
    }
}

/* ===== fun_facts ===== */
#fun-facts.fun-facts-section {
    background-color: var(--surface-dark, #1B2420);
    color: var(--primary-light, #F7F5F0);
    overflow: hidden;
}

#fun-facts .eyebrow-wrapper {
    z-index: 1;
}

#fun-facts .eyebrow-brush {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-1.5deg);
    width: 115%;
    height: 85%;
    background-color: var(--brand-green-accent, #306B4F);
    border-radius: 18px 8px 16px 10px;
    opacity: 0.35;
    z-index: -1;
}

#fun-facts .eyebrow-text {
    font-size: 0.875rem;
    letter-spacing: 0.08em;
    color: var(--surface-sand, #EDE9DF);
}

#fun-facts .section-title {
    color: var(--primary-light, #F7F5F0);
    font-size: 2rem;
    line-height: 1.25;
}

#fun-facts .section-subtitle {
    color: var(--surface-sand, #EDE9DF);
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.85;
}

#fun-facts .fact-card {
    background-color: var(--surface-dark-card, #232F2A);
    border: 1px solid var(--border-subtle-dark, #2E3C35);
    border-radius: 24px;
    box-shadow: 0 12px 30px rgba(18, 24, 21, 0.25);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    hyphens: auto;
}

#fun-facts .fact-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand-green-accent, #306B4F);
    box-shadow: 0 18px 36px rgba(18, 24, 21, 0.45);
}

#fun-facts .card-category-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 50px;
    background-color: rgba(48, 107, 79, 0.22);
    color: var(--surface-sand, #EDE9DF);
    font-size: 0.8125rem;
    font-weight: 500;
    border: 1px solid rgba(48, 107, 79, 0.4);
}

#fun-facts .card-icon {
    font-size: 26px;
    color: var(--brand-warm-accent, #D9653B);
}

#fun-facts .card-title {
    font-size: 1.375rem;
    line-height: 1.35;
    color: var(--primary-light, #F7F5F0);
}

#fun-facts .card-description {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--surface-sand, #EDE9DF);
    opacity: 0.9;
}

#fun-facts .card-bottom {
    border-top: 1px dashed var(--border-subtle-dark, #2E3C35);
}

#fun-facts .text-accent {
    color: var(--brand-green-accent, #306B4F);
    font-size: 1.125rem;
}

#fun-facts .meta-text {
    font-size: 0.8125rem;
    color: var(--surface-sand, #EDE9DF);
    opacity: 0.75;
}

@media(max-width:767.98px) {
    #fun-facts .section-title {
        font-size: 1rem;
        line-height: 1.2;
    }

    #fun-facts .card-title {
        font-size: 0.875rem;
        line-height: 1.25;
    }

    #fun-facts .fact-card {
        padding: 1.25rem !important;
        border-radius: 18px;
    }

    #fun-facts .section-subtitle,
    #fun-facts .card-description {
        font-size: 0.8125rem;
        line-height: 1.55;
    }
}

/* ===== faq ===== */
#faq {
    width: 100%;
}

#faq .accordion-button::after {
    display: none !important;
}

#faq .accordion-button {
    border-radius: 1rem !important;
    transition: background-color 0.25s ease, color 0.25s ease;
}

#faq .accordion-button:not(.collapsed) {
    background-color: var(--surface-sand) !important;
    color: var(--brand-green-accent) !important;
}

#faq .accordion-button:focus {
    box-shadow: none;
}

#faq .js-faq-icon {
    transition: transform 0.3s ease;
}

#faq .accordion-button:not(.collapsed) .js-faq-icon {
    transform: rotate(180deg);
}

@media (max-width: 767.98px) {
    #faq h2 {
        font-size: 1rem !important;
        line-height: 1.25;
        hyphens: auto;
    }

    #faq h3 button {
        font-size: 0.875rem !important;
        line-height: 1.3;
    }
}

/* ===== contact_form ===== */
#feedback-form .form-control,
#feedback-form .form-select {
    border: 1px solid var(--border-subtle-dark);
}

#feedback-form .form-label {
    color: #1a1a1a;
    font-weight: 600;
}

#feedback-form .bg-white {
    border-radius: 1rem !important;
}

/* ===== footer ===== */
#footer.footer-section {
    background-color: var(--primary-dark, #121815);
    border-top: 1px solid var(--border-subtle-dark, #2E3C35);
    color: var(--primary-light, #F7F5F0);
    overflow: hidden;
    position: relative;
}

.footer-wave-wrapper {
    width: 100%;
    height: 28px;
    overflow: hidden;
    line-height: 0;
}

.footer-wave-svg {
    width: 100%;
    height: 28px;
    fill: var(--surface-dark, #1B2420);
}

.footer-brand-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

.footer-badge {
    display: inline-block;
    background-color: var(--brand-green-accent, #306B4F);
    color: #F7F5F0;
    font-size: 0.75rem;
    padding: 2px 10px;
    border-radius: 9999px;
    letter-spacing: 0.05em;
}

.footer-brand-title {
    color: var(--primary-light, #F7F5F0);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.footer-heading {
    color: var(--primary-light, #F7F5F0);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-subtle-dark, #2E3C35);
}

.footer-desc {
    color: #D8D2C4;
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
    hyphens: auto;
}

.footer-nav-list,
.footer-legal-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-nav-link,
.footer-legal-link,
.footer-link {
    color: #D8D2C4;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
    hyphens: auto;
}

.footer-nav-link:hover,
.footer-legal-link:hover,
.footer-link:hover {
    color: var(--primary-light, #F7F5F0);
    text-decoration: underline;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-contact-item {
    font-size: 0.875rem;
    line-height: 1.5;
    color: #D8D2C4;
}

.footer-label {
    color: #A4B2AA;
    font-weight: 500;
}

.footer-text {
    color: #D8D2C4;
}

.footer-disclaimer-note {
    color: #8F9E96;
    font-size: 0.75rem;
    line-height: 1.5;
    margin-top: 1rem;
    margin-bottom: 0;
}

.footer-divider {
    height: 1px;
    background-color: var(--border-subtle-dark, #2E3C35);
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footer-copyright {
    color: #A4B2AA;
    font-size: 0.8125rem;
    margin: 0;
}

@media (max-width: 767.98px) {
    .footer-brand-title {
        font-size: 1rem;
        line-height: 1.2;
    }

    .footer-heading {
        font-size: 0.875rem;
        line-height: 1.2;
    }

    .footer-desc,
    .footer-nav-link,
    .footer-legal-link,
    .footer-contact-item {
        font-size: 0.8125rem;
    }
}