:root {
    --bg: #F9F4EF;
    --surface: #F9F4EF;
    --surface-alt: #F2E6F2;
    --text: #31261A;
    --text-muted: #72665A;
    --border: #E4DED8;
    --primary: #4E1F4F;
    --primary-hover: #351535;
    --on-primary: #FFFFFF;
    --accent: #D8CCB7;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Asta Sans', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Asta Sans', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

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

a,
a:hover,
a:focus {
    text-decoration: none;
}

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
}

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

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

.fa,
.fas,
.far,
.fal,
.fad,
.fab {
    font-family: 'Font Awesome 5 Free' !important;
}

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

@media (max-width: 768px) {
    h1 {
        font-size: clamp(1.75rem, 5vw, 2.25rem);
    }

    h2 {
        font-size: clamp(1.5rem, 4.5vw, 1.875rem);
    }

    h3 {
        font-size: clamp(1.25rem, 4vw, 1.5rem);
    }

    h4 {
        font-size: clamp(1.1rem, 3.5vw, 1.25rem);
    }

    h5 {
        font-size: clamp(1rem, 3vw, 1.1rem);
    }

    a,
    p,
    span {
        word-break: break-word;
        overflow-wrap: anywhere;
    }
}

/* ===== header ===== */
.header-geometric-wrapper {
    width: 100%;
    position: relative;
    background: #FFFFFF;
    z-index: 1000;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.header-top-stripe {
    width: 100%;
    height: 6px;
    background: var(--primary);
    clip-path: polygon(0 0, 100% 0, 98.5% 100%, 0 100%);
}

.header-navbar {
    background: #FFFFFF;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    min-height: 70px;
}

.navbar-brand-group {
    display: flex;
    align-items: center;
}

.header-brand {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.brand-logo-symbol {
    width: auto;
    height: auto;
    max-width: none;
}

.brand-icon-svg {
    width: 28px;
    height: 28px;
}

img.brand-icon-svg {
    width: auto;
    height: 34px;
    object-fit: contain;
}

.brand-title {
    font-size: 1.35rem;
    letter-spacing: -0.5px;
    color: var(--text);
    white-space: nowrap;
}

.nav-link-custom {
    color: var(--text);
    font-size: 1rem;
    padding: 0.5rem 0.25rem;
    position: relative;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.nav-link-custom:hover,
.nav-link-custom:focus {
    color: var(--primary);
}

.nav-link-custom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.2s ease;
}

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

.btn-cta-header {
    background: var(--primary);
    color: var(--on-primary);
    border: 1px solid var(--primary);
    padding: 0.6rem 1.4rem;
    font-size: 0.95rem;
    letter-spacing: -0.3px;
    white-space: nowrap;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-cta-header:hover,
.btn-cta-header:focus {
    background: var(--primary-hover);
    color: var(--on-primary);
    border-color: var(--primary-hover);
    transform: translateY(-1px);
}

.hamburger-btn {
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: 8px;
    width: 42px;
    height: 42px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.hamburger-icon {
    color: var(--primary);
    font-size: 1.2rem;
}

.mobile-menu-dropdown {
    display: none;
    background: #FFFFFF;
    border-top: 1px solid var(--border);
    box-shadow: 0 8px 16px rgba(49, 38, 26, 0.08);
    width: 100%;
}

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

.mobile-nav-link {
    color: var(--text);
    font-size: 1rem;
    border-radius: 6px;
    min-height: 44px;
    display: flex;
    align-items: center;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus {
    background: var(--surface-alt);
    color: var(--primary);
}

@media(max-width:991.98px) {
    .header-navbar {
        min-height: 60px;
    }

    .brand-title {
        font-size: 1.15rem;
    }
}

@media(max-width:575.98px) {
    .brand-title {
        font-size: 0.8rem;
    }

    img.brand-icon-svg {
        height: 26px;
    }

    .btn-cta-header {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}

/* ===== hero ===== */
#hero {
    overflow: hidden;
    min-height: 85vh;
    background-color: #4E1F4F
}

#hero .hero-bg-media {
    z-index: 0
}

#hero .hero-overlay {
    background: rgba(57, 23, 58, 0.72);
    position: absolute
}

#hero .hero-title-frame {
    display: inline-block;
    padding: 0.75rem 1.25rem
}

#hero .hero-frame-decor {
    inset: -6px;
    border: 2px solid #D8CCB7;
    pointer-events: none
}

#hero .hero-geometric-badge {
    background: rgba(216, 204, 183, 0.18);
    border: 1px solid #D8CCB7;
    border-radius: 0
}

#hero .badge-shape {
    width: 8px;
    height: 8px;
    background-color: #D8CCB7;
    display: inline-block
}

#hero .hero-title {
    font-size: clamp(1.125rem, 4vw, 2.75rem);
    line-height: 1.25;
    letter-spacing: -0.02em;
    hyphens: auto;
    word-break: keep-all
}

#hero .hero-lead {
    max-width: 760px;
    font-size: clamp(0.875rem, 1.8vw, 1.1rem);
    line-height: 1.6;
    color: #F9F4EF;
    opacity: 0.95;
    word-break: keep-all
}

#hero .hero-btn-round {
    background-color: #F9F4EF;
    color: #4E1F4F;
    border-radius: 9999px;
    border: 2px solid #F9F4EF;
    padding: 0.875rem 2.25rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none
}

#hero .hero-btn-round:hover,
#hero .hero-btn-round:focus {
    background-color: #D8CCB7;
    border-color: #D8CCB7;
    color: #351535;
    transform: translateY(-2px)
}

#hero .hero-btn-round i {
    color: #4E1F4F;
    font-size: 0.9rem;
    transition: transform 0.3s ease
}

#hero .hero-btn-round:hover i {
    transform: translateX(4px);
    color: #351535
}

@media (max-width:767.98px) {
    #hero {
        min-height: 75vh
    }

    #hero .hero-title {
        font-size: 1.125rem !important;
        line-height: 1.2
    }

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

    #hero .hero-btn-round {
        padding: 0.75rem 1.75rem;
        font-size: 0.9rem
    }
}

/* ===== market_overview ===== */
#market-overview {
    overflow: hidden;
    background-color: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans KR', sans-serif;
}

#market-overview .section-title-wrap {
    position: relative;
    z-index: 1;
}

#market-overview .title-offset-frame {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary);
    background: transparent;
    z-index: 0;
    pointer-events: none;
}

#market-overview .section-title-box {
    background: var(--surface-alt);
    border: 2px solid var(--primary);
    z-index: 1;
}

#market-overview .badge-tag {
    font-size: 0.75rem;
    letter-spacing: 0.08rem;
    font-weight: 700;
    color: var(--primary);
    background: var(--accent);
    padding: 4px 10px;
    border-radius: 0;
}

#market-overview .section-main-heading {
    color: var(--text);
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1.25;
    hyphens: auto;
}

#market-overview .section-subtext {
    color: var(--text-muted);
    max-width: 680px;
    font-size: 1rem;
    line-height: 1.6;
}

#market-overview .ownership-card-wrapper {
    min-height: 100%;
}

#market-overview .card-offset-shadow {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 100%;
    height: 100%;
    background: var(--accent);
    border: 1px solid var(--border);
    z-index: 0;
}

#market-overview .card-offset-shadow.accent-offset {
    background: var(--primary);
}

#market-overview .overview-card {
    position: relative;
    z-index: 1;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 0;
    box-shadow: none;
}

#market-overview .overview-card.highlight-card {
    background: var(--surface-alt);
    border-color: var(--primary);
}

#market-overview .icon-box-square {
    width: 44px;
    height: 44px;
    background: var(--accent);
    border: 1px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

#market-overview .icon-box-square.primary-box {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--on-primary);
}

#market-overview .card-title-text {
    color: var(--text);
    font-size: 1.25rem;
    font-weight: 700;
}

#market-overview .card-desc-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

#market-overview .bullet-square {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--primary);
    flex-shrink: 0;
}

#market-overview .item-title {
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 700;
}

#market-overview .item-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

#market-overview .timeline-container-wrap {
    background: var(--surface);
    border: 2px solid var(--border);
    position: relative;
}

#market-overview .timeline-subtag {
    font-size: 0.75rem;
    letter-spacing: 0.1rem;
    font-weight: 700;
    color: var(--primary);
}

#market-overview .timeline-title {
    color: var(--text);
    font-size: 1.35rem;
    font-weight: 800;
}

#market-overview .hex-navigation {
    position: relative;
    z-index: 2;
}

#market-overview .hex-nav-btn {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 10px 18px;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    color: var(--text);
    outline: none;
}

#market-overview .hex-nav-btn:hover {
    background: var(--surface-alt);
    border-color: var(--primary);
}

#market-overview .hex-nav-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--on-primary);
}

#market-overview .hex-shape {
    width: 28px;
    height: 28px;
    background: var(--accent);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 0.85rem;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    transition: transform 0.2s ease;
}

#market-overview .hex-nav-btn.active .hex-shape {
    background: var(--on-primary);
    color: var(--primary);
    transform: scale(1.05);
}

#market-overview .hex-label {
    font-size: 0.9rem;
    font-weight: 700;
}

#market-overview .timeline-card {
    background: var(--surface-alt);
    border: 1px solid var(--border);
    padding: 24px;
    position: relative;
}

#market-overview .timeline-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 2px 8px;
}

#market-overview .timeline-card-heading {
    color: var(--text);
    font-size: 1.25rem;
    font-weight: 800;
}

#market-overview .timeline-card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

#market-overview .stat-box {
    background: var(--surface);
    border: 1px solid var(--border);
}

#market-overview .stat-num {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary);
}

#market-overview .stat-text {
    font-size: 0.8rem;
    color: var(--text-muted);
}

#market-overview .hex-feature-tile {
    background: var(--surface);
    border: 2px solid var(--primary);
    position: relative;
}

#market-overview .hex-inner-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--on-primary);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

#market-overview .feature-tile-title {
    color: var(--text);
    font-size: 1.05rem;
    font-weight: 700;
}

#market-overview .feature-tile-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

@media (max-width: 767.98px) {
    #market-overview .section-main-heading {
        font-size: 1rem;
        line-height: 1.2;
    }

    #market-overview .card-title-text,
    #market-overview .timeline-title,
    #market-overview .timeline-card-heading {
        font-size: 0.875rem;
        line-height: 1.25;
    }

    #market-overview .feature-tile-title {
        font-size: 0.85rem;
    }

    #market-overview .badge-tag,
    #market-overview .timeline-badge {
        font-size: 0.7rem;
    }

    #market-overview .hex-nav-btn {
        width: 100%;
        justify-content: flex-start;
    }

    #market-overview .title-offset-frame,
    #market-overview .card-offset-shadow {
        top: 4px;
        left: 4px;
    }
}

/* ===== car_guide ===== */
.car-guide-section {
    background-color: var(--surface-alt);
    color: var(--text);
    overflow: hidden;
}

.guide-title-wrapper {
    margin: 0 auto;
}

.guide-title-frame {
    position: absolute;
    top: -5px;
    left: -5px;
    right: 5px;
    bottom: 5px;
    border: 2px solid var(--primary);
    z-index: 0;
    pointer-events: none;
}

.guide-main-title {
    background-color: var(--primary);
    color: var(--on-primary);
    z-index: 1;
    font-weight: 700;
}

.guide-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.guide-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    hyphens: auto;
}

.guide-card-backdrop {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 100%;
    height: 100%;
    background-color: var(--accent);
    z-index: 0;
    pointer-events: none;
}

.guide-card-content {
    z-index: 1;
}

.guide-card-title {
    color: var(--primary);
    font-weight: 700;
}

.guide-card-desc {
    color: var(--text);
    font-size: 0.9rem;
    line-height: 1.5;
}

.guide-icon {
    color: var(--primary);
    font-size: 1.25rem;
}

.body-pill {
    background-color: var(--surface-alt);
    border: 1px solid var(--border);
}

.body-tag {
    color: var(--primary);
    font-size: 0.85rem;
}

.body-info {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.metric-badge {
    background-color: var(--accent);
    color: var(--text);
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

.env-box {
    background-color: var(--surface-alt);
    border-left: 3px solid var(--primary);
    height: 100%;
}

.env-heading {
    color: var(--primary);
    font-size: 0.85rem;
}

.env-text {
    color: var(--text-muted);
    font-size: 0.75rem;
    line-height: 1.35;
}

.guide-visual-container {
    max-width: 440px;
}

.angular-accent-block {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 140px;
    height: 140px;
    background-color: var(--primary);
    z-index: 0;
    transform: rotate(12deg);
}

.angular-sub-block {
    position: absolute;
    bottom: 40px;
    left: -14px;
    width: 110px;
    height: 110px;
    background-color: var(--accent);
    z-index: 0;
    transform: rotate(-8deg);
}

.half-circle-wrapper {
    width: 100%;
    height: 420px;
    border-top-left-radius: 210px;
    border-top-right-radius: 210px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    overflow: hidden;
    border: 4px solid var(--primary);
    background-color: var(--surface);
    z-index: 1;
}

.half-circle-image {
    object-fit: cover;
    display: block;
}

.visual-spec-box {
    background-color: var(--surface);
    border: 1px solid var(--border);
    z-index: 1;
}

.spec-label {
    color: var(--primary);
    font-size: 0.9rem;
}

.spec-desc {
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.4;
}

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

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

    .half-circle-wrapper {
        height: 320px;
        border-top-left-radius: 160px;
        border-top-right-radius: 160px;
    }

    .angular-accent-block {
        width: 90px;
        height: 90px;
    }

    .angular-sub-block {
        width: 80px;
        height: 80px;
    }
}

/* ===== buy_vs_lease ===== */
#buy-vs-lease {
    background-color: var(--bg);
    overflow: hidden;
    padding: 5rem 0;
    color: var(--text);
}

#buy-vs-lease .bvl-title-wrapper {
    max-width: 780px;
    margin: 0 auto 3.5rem auto;
}

#buy-vs-lease .bvl-title-frame {
    position: relative;
    display: inline-block;
    padding: 1.25rem 2rem;
    border: 2px solid var(--primary);
    background-color: var(--surface);
    margin-bottom: 1.25rem;
}

#buy-vs-lease .bvl-title-frame::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent);
    z-index: -1;
    pointer-events: none;
}

#buy-vs-lease .bvl-badge {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--primary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

#buy-vs-lease .bvl-title {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--text);
    margin: 0;
    word-break: keep-all;
    hyphens: auto;
}

#buy-vs-lease .bvl-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
    word-break: keep-all;
}

#buy-vs-lease .bvl-cards-row {
    align-items: stretch;
}

#buy-vs-lease .bvl-card-container {
    position: relative;
    height: 100%;
    padding-bottom: 14px;
    padding-right: 14px;
}

#buy-vs-lease .bvl-card-backdrop {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 100%;
    height: calc(100% - 14px);
    z-index: 1;
}

#buy-vs-lease .bvl-backdrop-purchase {
    background-color: var(--accent);
}

#buy-vs-lease .bvl-backdrop-lease {
    background-color: var(--primary);
}

#buy-vs-lease .bvl-card {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border: 2px solid var(--border);
    border-radius: 0;
    padding: 2.25rem 2rem;
}

#buy-vs-lease .bvl-card-purchase {
    border-color: var(--accent);
}

#buy-vs-lease .bvl-card-lease {
    border-color: var(--primary);
}

#buy-vs-lease .bvl-card-header {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

#buy-vs-lease .bvl-icon-box {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--surface-alt);
    color: var(--primary);
    font-size: 1.35rem;
    border: 1px solid var(--border);
}

#buy-vs-lease .bvl-icon-box-primary {
    background-color: var(--primary);
    color: var(--on-primary);
    border-color: var(--primary);
}

#buy-vs-lease .bvl-card-title {
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--text);
    margin: 0 0 0.35rem 0;
    line-height: 1.25;
}

#buy-vs-lease .bvl-card-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.45;
    word-break: keep-all;
}

#buy-vs-lease .bvl-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    flex-grow: 1;
}

#buy-vs-lease .bvl-list-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--text);
}

#buy-vs-lease .bvl-item-icon {
    width: 22px;
    height: 22px;
    min-width: 22px;
    border-radius: 50%;
    background-color: var(--surface-alt);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6875rem;
    margin-top: 0.15rem;
}

#buy-vs-lease .bvl-card-lease .bvl-item-icon {
    background-color: var(--primary);
    color: var(--on-primary);
}

#buy-vs-lease .bvl-item-content {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

#buy-vs-lease .bvl-item-label {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text);
}

#buy-vs-lease .bvl-item-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    word-break: keep-all;
}

#buy-vs-lease .bvl-card-footer {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

#buy-vs-lease .bvl-tag-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

#buy-vs-lease .bvl-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.65rem;
    background-color: var(--surface-alt);
    color: var(--primary);
    border: 1px solid var(--border);
}

#buy-vs-lease .bvl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.875rem 1.5rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    text-align: center;
}

#buy-vs-lease .bvl-btn-primary {
    background-color: var(--primary);
    color: var(--on-primary);
    border: 2px solid var(--primary);
}

#buy-vs-lease .bvl-btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: var(--on-primary);
}

#buy-vs-lease .bvl-btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

#buy-vs-lease .bvl-btn-secondary:hover {
    background-color: var(--primary);
    color: var(--on-primary);
}

@media (max-width: 767.98px) {
    #buy-vs-lease {
        padding: 3.5rem 0;
    }

    #buy-vs-lease .bvl-title-wrapper {
        margin-bottom: 2.25rem;
    }

    #buy-vs-lease .bvl-title-frame {
        padding: 1rem 1.25rem;
    }

    #buy-vs-lease .bvl-title {
        font-size: 1rem;
        line-height: 1.2;
    }

    #buy-vs-lease .bvl-subtitle {
        font-size: 0.875rem;
    }

    #buy-vs-lease .bvl-card-title {
        font-size: 0.875rem;
        line-height: 1.2;
    }

    #buy-vs-lease .bvl-card {
        padding: 1.5rem 1.25rem;
    }

    #buy-vs-lease .bvl-card-backdrop {
        top: 10px;
        left: 10px;
        width: 100%;
        height: calc(100% - 10px);
    }

    #buy-vs-lease .bvl-card-container {
        padding-bottom: 10px;
        padding-right: 10px;
    }
}

/* ===== popular_categories ===== */
#categories.cat-section {
    background-color: var(--surface-alt);
    overflow: hidden;
}

.cat-title-frame {
    padding: 18px 36px;
    border: 2px solid var(--primary);
    background-color: var(--surface);
    position: relative;
}

.cat-title-frame::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent);
    z-index: -1;
    pointer-events: none;
}

.cat-badge {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--primary);
}

.cat-main-title {
    color: var(--text);
    font-size: 2rem;
    hyphens: auto;
}

.cat-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.cat-card-wrapper {
    margin-top: 10px;
}

.cat-card-backdrop {
    top: 8px;
    left: 8px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary);
    background-color: transparent;
    pointer-events: none;
    z-index: 1;
}

.cat-card {
    background-color: var(--surface);
    border: 2px solid var(--border);
    border-radius: 0;
    z-index: 2;
    transition: transform 0.2s ease;
}

.cat-card:hover {
    transform: translate(-3px, -3px);
}

.cat-image-box {
    width: 100%;
    height: auto;
    min-height: 180px;
    background-color: var(--bg);
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.cat-accent-bg {
    width: 160px;
    height: 160px;
    background-color: var(--accent);
    border-radius: 50%;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
}

.cat-half-img {
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-top-left-radius: 90px;
    border-top-right-radius: 90px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    z-index: 1;
}

.cat-icon-box {
    width: 34px;
    height: 34px;
    background-color: var(--primary);
    color: var(--on-primary);
    font-size: 0.9rem;
}

.cat-card-title {
    font-size: 1.25rem;
    color: var(--text);
}

.cat-spec-label {
    font-size: 0.825rem;
    color: var(--primary);
}

.cat-info-list {
    border-top: 1px dashed var(--border);
    border-bottom: 1px dashed var(--border);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.cat-spec-val {
    color: var(--text);
    font-size: 0.85rem;
}

.cat-tag-box {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.cat-tag {
    font-size: 0.72rem;
    padding: 3px 8px;
    background-color: var(--bg);
    color: var(--text);
    border: 1px solid var(--border);
}

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

    .cat-card-title {
        font-size: 0.875rem;
        line-height: 1.2;
    }

    .cat-title-frame {
        padding: 12px 20px;
    }

    .cat-image-box {
        height: auto;
    }
}

/* ===== driver_tips ===== */
#driver-tips {
    overflow: hidden;
    background-color: var(--bg);
    color: var(--text);
}

#driver-tips .driver-tips-title-wrap {
    background-color: var(--surface);
    border: 2px solid var(--primary);
    z-index: 1;
}

#driver-tips .driver-tips-title-decor {
    top: 6px;
    left: 6px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent);
    z-index: -1;
    pointer-events: none;
}

#driver-tips .driver-tips-heading {
    color: var(--primary);
    font-size: 1.75rem;
    letter-spacing: -0.02em;
}

#driver-tips .driver-tips-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

#driver-tips .driver-tip-card-box {
    border-radius: 0;
    min-height: 100%;
}

#driver-tips .driver-tip-card-backdrop {
    top: 8px;
    left: 8px;
    width: 100%;
    height: 100%;
    background-color: transparent;
    border: 2px solid var(--accent);
    z-index: 1;
    pointer-events: none;
    transition: transform 0.2s ease-in-out;
}

#driver-tips .driver-tip-card-inner {
    background-color: var(--surface-alt);
    border: 2px solid var(--border);
    border-radius: 0;
    z-index: 2;
    transition: transform 0.2s ease-in-out;
}

#driver-tips .driver-tip-card-box:hover .driver-tip-card-inner {
    transform: translate(-3px, -3px);
    border-color: var(--primary);
}

#driver-tips .driver-tip-card-box:hover .driver-tip-card-backdrop {
    transform: translate(3px, 3px);
    border-color: var(--primary);
}

#driver-tips .driver-tip-icon-box {
    width: 54px;
    height: 54px;
    background-color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 0;
}

#driver-tips .driver-tip-icon {
    font-size: 1.5rem;
    color: var(--on-primary);
}

#driver-tips .driver-tip-item-title {
    font-size: 1.15rem;
    color: var(--primary);
    line-height: 1.4;
}

#driver-tips .driver-tip-list {
    font-size: 0.925rem;
    color: var(--text);
}

#driver-tips .driver-bullet-icon {
    font-size: 0.4rem;
    color: var(--primary);
}

@media (max-width: 767.98px) {
    #driver-tips .driver-tips-heading {
        font-size: 1rem;
        line-height: 1.25;
        hyphens: auto;
    }

    #driver-tips .driver-tip-item-title {
        font-size: 0.875rem;
        line-height: 1.2;
        hyphens: auto;
    }

    #driver-tips .driver-tips-desc {
        font-size: 0.85rem;
    }

    #driver-tips .driver-tip-list {
        font-size: 0.8rem;
    }
}

/* ===== blog ===== */
#blog article {
    transition: transform 0.25s ease;
}

#blog article:hover {
    transform: translate(-3px, -3px);
}

#blog .form-control:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 0.2rem rgba(78, 31, 79, 0.2);
}

#blog .form-control::placeholder {
    color: var(--text-muted);
}

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

#faq .faq-title-wrap {
    background-color: var(--surface-alt);
    z-index: 1;
}

#faq .faq-title-frame {
    top: 6px;
    left: 6px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary);
    z-index: -1;
}

#faq .faq-card-wrapper {
    width: 100%;
}

#faq .faq-card-shadow {
    top: 6px;
    left: 6px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent);
    background-color: var(--surface-alt);
    z-index: 0;
}

#faq .faq-card {
    z-index: 1;
    border: 1px solid var(--border) !important;
    border-radius: 0;
}

#faq .faq-btn {
    outline: none !important;
    box-shadow: none !important;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-radius: 0;
}

#faq .faq-btn:hover {
    background-color: var(--surface-alt) !important;
}

#faq .faq-icon {
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

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

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

    #faq .faq-q-text {
        font-size: 0.875rem !important;
        line-height: 1.35 !important;
    }

    #faq .faq-body {
        font-size: 0.8rem !important;
    }

    #faq .faq-title-frame,
    #faq .faq-card-shadow {
        top: 4px;
        left: 4px;
    }
}

/* ===== registration ===== */
#registration {
    overflow: hidden;
    background-color: var(--surface-alt);
    color: var(--text);
}

#registration .geometric-title-wrap {
    position: relative;
}

#registration .title-offset-frame {
    position: absolute;
    top: -6px;
    left: -6px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary);
    pointer-events: none;
}

#registration .registration-title {
    background-color: var(--surface);
    color: var(--text);
    font-weight: 700;
    border: 1px solid var(--border);
    border-radius: 0;
}

#registration .registration-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
    word-break: keep-all;
}

#registration .geometric-card-wrapper {
    max-width: 620px;
    width: 100%;
}

#registration .card-offset-square {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary);
    background: transparent;
    pointer-events: none;
}

#registration .geometric-form-card {
    background-color: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: 0;
    box-shadow: none;
}

#registration .registration-label {
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    display: block;
}

#registration .geometric-input {
    background-color: var(--bg);
    border: 1px solid var(--border);
    border-radius: 0;
    color: var(--text);
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

#registration .geometric-input:focus {
    background-color: #FFFFFF;
    border-color: var(--primary);
    color: var(--text);
    box-shadow: none;
    outline: none;
}

#registration .geometric-input::placeholder {
    color: var(--text-muted);
}

#registration .geometric-check .form-check-input {
    border-radius: 0;
    border: 1px solid var(--border);
    background-color: var(--bg);
    cursor: pointer;
}

#registration .geometric-check .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

#registration .geometric-check .form-check-input:focus {
    box-shadow: none;
    border-color: var(--primary);
}

#registration .registration-consent-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    cursor: pointer;
    user-select: none;
}

#registration .consent-link {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 600;
}

#registration .consent-link:hover {
    color: var(--primary-hover);
}

#registration .geometric-submit-btn {
    background-color: var(--primary);
    color: var(--on-primary);
    border: 2px solid var(--primary);
    border-radius: 9999px;
    padding: 0.85rem 2rem;
    font-weight: 700;
    font-size: 1rem;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#registration .geometric-submit-btn:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: var(--on-primary);
}

#registration .geometric-submit-btn i {
    color: var(--on-primary);
}

#registration .registration-alert {
    background-color: var(--surface);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 0;
}

#registration .registration-alert i {
    color: var(--primary);
}

@media (max-width: 767.98px) {
    #registration .registration-title {
        font-size: 1rem;
        line-height: 1.25;
        hyphens: auto;
    }

    #registration .card-offset-square {
        top: 8px;
        left: 8px;
    }

    #registration .geometric-form-card {
        padding: 1.5rem !important;
    }
}

/* ===== footer ===== */
:root {
    --footer-bg: #4E1F4F;
    --on-footer: #FFFFFF;
    --on-footer-muted: #D8CCB7;
}

#footer {
    overflow: hidden;
    background-color: var(--footer-bg);
    color: var(--on-footer);
    border-top: 1px solid var(--border);
    hyphens: auto;
}

#footer .footer-corner-shape {
    position: absolute;
    top: 0;
    right: 0;
    width: 180px;
    height: 180px;
    background-color: var(--primary-hover);
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    pointer-events: none;
    z-index: 0;
}

#footer .footer-brand-title {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

#footer .footer-brand-logo {
    height: 34px;
    width: auto;
    flex-shrink: 0;
}

#footer .footer-domain {
    font-size: 0.875rem;
    color: var(--on-footer-muted);
}

#footer .footer-mission-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--on-footer-muted);
}

#footer .footer-heading-frame {
    display: inline-block;
    border: 1px solid var(--accent);
    padding: 4px 10px;
    background-color: rgba(216, 204, 183, 0.08);
}

#footer .footer-column-heading {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.3px;
}

#footer .footer-nav-link,
#footer .footer-legal-link {
    color: var(--on-footer-muted);
    font-size: 0.9rem;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

#footer .footer-nav-link:hover,
#footer .footer-legal-link:hover {
    color: var(--on-footer);
    padding-left: 4px;
}

#footer .company-name {
    font-size: 0.925rem;
}

#footer .company-address {
    font-size: 0.85rem;
    color: var(--on-footer-muted);
    line-height: 1.5;
}

#footer .company-email {
    font-size: 0.875rem;
}

#footer .footer-lang-selector {
    border: 1px solid var(--accent);
    background-color: rgba(255, 255, 255, 0.05);
    font-size: 0.825rem;
}

#footer .footer-wa-btn {
    background-color: #25D366;
    color: #FFFFFF;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

#footer .footer-wa-btn i {
    font-size: 1.15rem;
    color: #FFFFFF;
}

#footer .footer-wa-btn:hover {
    background-color: #1EBE5D;
    color: #FFFFFF;
    transform: translateY(-2px);
}

#footer .footer-divider {
    height: 1px;
    background-color: rgba(228, 222, 216, 0.2);
}

#footer .footer-copyright {
    font-size: 0.85rem;
    color: var(--on-footer-muted);
}

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

    #footer .footer-column-heading {
        font-size: 0.95rem;
        line-height: 1.2;
    }

    #footer .footer-corner-shape {
        width: 110px;
        height: 110px;
    }
}