/* ====================================
   Premium Vehicle Configurator — 2026
   ==================================== */

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-elevated: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #888888;
    --accent: #c41230;
    --accent-hover: #e01535;
    --border-subtle: rgba(255,255,255,0.08);
    --border-light: rgba(255,255,255,0.15);
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --font: 'Heebo', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.5;
}

/* ====================================
   Header
   ==================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    transition: background var(--transition-fast), box-shadow var(--transition-fast);
}

.site-header.scrolled {
    background: rgba(10, 10, 10, 0.95);
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.header-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    display: block;
}

.header-nav {
    display: flex;
    gap: 32px;
}

.header-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color var(--transition-fast);
}

.header-nav a:hover {
    color: var(--text-primary);
}

.header-cta {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    background: var(--accent);
    color: white;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 2px;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.header-cta:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

/* ====================================
   Hero Section
   ==================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 180px;
    padding-bottom: 80px;
    overflow: hidden;
    background: #000;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 85%;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.7) 0%,
        rgba(0,0,0,0.4) 30%,
        rgba(0,0,0,0.05) 55%,
        rgba(0,0,0,0.15) 75%,
        rgba(10,10,10,1) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 20px;
    animation: heroFadeIn 1.2s ease-out;
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
    display: block;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 6px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.hero-title {
    font-size: clamp(48px, 10vw, 96px);
    font-weight: 900;
    letter-spacing: 4px;
    line-height: 1;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 2px 30px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 4px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 48px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.6);
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 16px 40px;
    background: var(--accent);
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(196, 18, 48, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 16px 40px;
    background: transparent;
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid var(--border-light);
    border-radius: 2px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.3);
}

.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ====================================
   Content Section (RTL Article)
   ==================================== */
.content-section {
    padding: 100px 40px;
    background: var(--bg-primary);
}

.content-container {
    max-width: 860px;
    margin: 0 auto;
    text-align: right;
    direction: rtl;
}

.content-container h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    margin-top: 64px;
    margin-bottom: 16px;
    line-height: 1.3;
}

.content-container h2:first-child {
    margin-top: 0;
}

.content-container h2.section-title {
    font-size: 36px;
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid var(--border-subtle);
}

.content-container .section-subtitle {
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 40px;
}

.content-container h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 48px;
    margin-bottom: 12px;
    line-height: 1.3;
}

.content-container p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.content-container strong {
    color: #fff;
    font-weight: 700;
}

.content-container .intro-text {
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

.content-container .tech-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.content-container .tech-list li {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 24px;
    padding-right: 20px;
    position: relative;
}

.content-container .tech-list li::before {
    content: '•';
    position: absolute;
    right: 0;
    color: var(--accent);
    font-weight: 700;
}

.content-container .tech-list li strong {
    color: #fff;
}

/* Table section heading */
.table-section .section-heading {
    text-align: center;
    margin-bottom: 48px;
}

.table-section .section-heading h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
}

.table-section .section-heading p {
    font-size: 18px;
    color: var(--text-secondary);
}

/* ====================================
   Configurator Section
   ==================================== */
/* ====================================
   Configurator — Floating Studio
   ==================================== */
.configurator-section {
    background: #06060a;
    padding: 70px 40px 90px;
    position: relative;
    overflow: hidden;
}

.configurator-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200,168,75,0.3), transparent);
}

.configurator-section::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200,168,75,0.3), transparent);
}

.configurator-card {
    max-width: 780px;
    margin: 0 auto;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
}

/* Trim Header */
.trim-header {
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    border-bottom: none;
    padding: 0 0 48px;
    border-radius: 0;
}

.trim-badge {
    font-family: var(--font);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 8px;
    color: rgba(255,255,255,0.9);
    position: relative;
    padding-bottom: 14px;
    text-transform: uppercase;
}

.trim-badge::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #c8a84b, transparent);
}

/* Vehicle Viewport */
.vehicle-viewport {
    background: radial-gradient(ellipse at 50% 40%, #efefef 0%, #e0e0e0 50%, #cccccc 100%);
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.06),
        0 60px 160px rgba(0,0,0,0.9),
        0 20px 60px rgba(0,0,0,0.6);
}

.vehicle-video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.vehicle-video-container:active {
    cursor: grabbing;
}

.vehicle-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    pointer-events: none;
    transition: opacity 0.35s ease;
    /* Enhance perceived quality */
    filter: contrast(1.15) saturate(1.1) drop-shadow(0 20px 40px rgba(0,0,0,0.25));
}

.drag-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
}

.drag-hint {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(6,6,10,0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 10px 22px;
    border-radius: 40px;
    color: rgba(255,255,255,0.9);
    transition: opacity var(--transition-smooth);
    pointer-events: none;
    white-space: nowrap;
}

.drag-hint.hidden {
    opacity: 0;
}

.drag-arrow {
    font-size: 18px;
    font-weight: 200;
    opacity: 0.6;
    animation: arrowPulse 1.5s ease-in-out infinite alternate;
}

.drag-arrow.left {
    animation-name: arrowPulseLeft;
}

.drag-arrow.right {
    animation-delay: 0.75s;
}

@keyframes arrowPulse {
    from { transform: translateX(0); }
    to   { transform: translateX(5px); }
}

@keyframes arrowPulseLeft {
    from { transform: translateX(0); }
    to   { transform: translateX(-5px); }
}

.drag-text {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    text-align: center;
    line-height: 1.4;
    text-transform: uppercase;
    opacity: 0.8;
}

.loading-spinner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(230,230,230,0.5);
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    border-radius: 12px;
}

.loading-spinner.active {
    opacity: 1;
    pointer-events: all;
}

.spinner {
    width: 36px;
    height: 36px;
    border: 2px solid rgba(0,0,0,0.1);
    border-top-color: #c8a84b;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* View Toggle */
.view-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 32px 0 0;
    background: transparent;
}

.toggle-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.toggle-label.active {
    color: rgba(255,255,255,0.9);
}

.toggle-switch {
    position: relative;
    width: 48px;
    height: 26px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 13px;
    cursor: pointer;
    transition: background var(--transition-fast);
    padding: 0;
}

.toggle-switch.interior {
    background: rgba(200,168,75,0.25);
    border-color: rgba(200,168,75,0.4);
}

.toggle-knob {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
    transition: transform var(--transition-fast);
}

.toggle-switch.interior .toggle-knob {
    transform: translateX(22px);
    background: #c8a84b;
}

/* Color Name */
.color-name {
    text-align: center;
    font-size: 13px;
    font-weight: 400;
    color: rgba(255,255,255,0.7);
    padding: 28px 0 12px;
    min-height: 40px;
    letter-spacing: 4px;
    text-transform: uppercase;
    transition: opacity 0.2s ease;
}

/* Color Swatches */
.color-swatches {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 4px 20px 0;
    flex-wrap: wrap;
}

.swatch {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.25s ease;
    position: relative;
    opacity: 0.75;
}

.swatch img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: block;
}

.swatch:hover {
    transform: scale(1.12);
    opacity: 1;
}

.swatch.active {
    opacity: 1;
    box-shadow: 0 0 0 2px #06060a, 0 0 0 4px #c8a84b;
}

/* Interior View */
.interior-view {
    display: none;
    width: 100%;
    aspect-ratio: 16/9;
    position: relative;
    background: radial-gradient(ellipse at 50% 40%, #efefef 0%, #e0e0e0 50%, #cccccc 100%);
    border-radius: 12px;
}

.interior-view.active {
    display: block;
}

.interior-view img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

/* ====================================
   Footer
   ==================================== */
.site-footer {
    text-align: center;
    padding: 60px 40px;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
}

.site-footer img {
    margin-bottom: 16px;
    opacity: 0.5;
}

.site-footer p {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

/* ====================================
   Table Section
   ==================================== */
.table-section {
    padding: 100px 40px;
    background: var(--bg-secondary);
}

.table-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
    background: var(--bg-primary);
    border-radius: 16px;
    border: 1px solid var(--border-light);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.premium-table {
    width: 100%;
    min-width: 900px;
    border-collapse: collapse;
    text-align: right;
}

.premium-table th, 
.premium-table td {
    padding: 24px 32px;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 15px;
    line-height: 1.5;
}

.premium-table th {
    background: var(--bg-elevated);
    font-weight: 800;
    font-size: 18px;
    color: #fff;
    position: sticky;
    top: 0;
}

.premium-table th .badge {
    display: inline-block;
    margin-top: 8px;
    font-size: 12px;
    background: var(--border-light);
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 1px;
}

.premium-table .row-header {
    font-weight: 700;
    color: #fff;
    background: rgba(255,255,255,0.02);
    width: 20%;
}

.premium-table td {
    color: var(--text-secondary);
}

.premium-table td strong {
    color: #fff;
}

.premium-table .highlight {
    background: rgba(196, 18, 48, 0.05);
}

.premium-table th.highlight {
    background: rgba(196, 18, 48, 0.2);
    border-top: 3px solid var(--accent);
}

.premium-table th.highlight .badge {
    background: var(--accent);
}

.premium-table tr:hover td {
    background: rgba(255,255,255,0.02);
}

.premium-table tr:hover td.highlight {
    background: rgba(196, 18, 48, 0.08);
}

/* Disclaimers */
.disclaimers-container {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 32px;
    background: rgba(255,255,255,0.02);
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
}

.disclaimers-container h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 20px;
}

.disclaimers-container ul {
    list-style-position: inside;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.8;
}

.disclaimers-container li {
    margin-bottom: 16px;
}

/* ====================================
   CTA Section
   ==================================== */
.cta-section {
    padding: 120px 20px;
    background: linear-gradient(to bottom, var(--bg-secondary), var(--bg-primary));
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 40px;
    line-height: 1.3;
}

.huge-btn {
    font-size: 18px !important;
    padding: 24px 60px !important;
    border-radius: 40px !important;
}

/* ====================================
   Responsive
   ==================================== */
@media (max-width: 768px) {

    /* Brand header */
    .brand-header-inner {
        padding: 0 16px;
        height: 56px;
    }

    .brand-nav {
        display: none;
    }

    .brand-tagline {
        display: none;
    }

    .brand-cta {
        padding: 8px 14px;
        font-size: 13px;
    }

    /* Hero */
    .hero-subtitle {
        font-size: 12px;
        letter-spacing: 2px;
    }

    /* Configurator */
    .configurator-section {
        padding: 50px 16px 70px;
    }

    .trim-badge {
        font-size: 11px;
        letter-spacing: 5px;
    }

    .swatch {
        width: 44px;
        height: 44px;
    }

    .color-swatches {
        gap: 12px;
    }

    /* Table - horizontally scrollable */
    .table-section {
        padding: 60px 0;
    }

    .table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0 16px;
    }

    .premium-table {
        min-width: 600px;
    }

    .premium-table th,
    .premium-table td {
        padding: 12px 10px;
        font-size: 13px;
    }

    .section-heading {
        padding: 0 16px;
    }

    .disclaimers-container {
        margin: 24px 16px 0;
        padding: 24px 16px;
    }

    .disclaimers-container ul {
        font-size: 14px;
    }

    /* CTA */
    .cta-section {
        padding: 80px 20px;
    }

    .huge-btn {
        font-size: 15px !important;
        padding: 18px 24px !important;
        width: 100%;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-top {
        padding: 48px 20px 36px;
    }

    .footer-seo {
        padding: 18px 20px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        padding: 18px 20px;
        gap: 8px;
    }

    .features-section {
        padding: 80px 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .benefits-container {
        grid-template-columns: 1fr;
    }
}

/* ====================================
   Brand Header (Mordi Oz)
   ==================================== */
.brand-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid #e8e8e8;
    transition: box-shadow 0.2s ease;
}

.brand-header.scrolled {
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.10);
}

.brand-header-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 34px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-badge-outer {
    width: 44px;
    height: 44px;
    background: #c8a84b;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.brand-badge-inner {
    width: 36px;
    height: 36px;
    background: #1a1a1a;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c8a84b;
    font-size: 16px;
    font-weight: 900;
    font-family: Georgia, serif;
    letter-spacing: 0;
}

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

.brand-name {
    font-size: 14px;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: 2px;
}

.brand-tagline {
    font-size: 11px;
    color: #888;
    letter-spacing: 0.5px;
}

.brand-nav {
    display: flex;
    flex: 1 1 auto;
    justify-content: center;
    gap: clamp(14px, 1.5vw, 24px);
    align-items: center;
    min-width: 0;
}

.brand-nav a {
    color: #444;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.brand-nav a:hover {
    color: #1a1a1a;
}

.brand-nav-active {
    font-weight: 700 !important;
    color: #1a1a1a !important;
}

.brand-cta {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 9px 18px;
    background: #2d8a4e;
    color: #fff;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 700;
    border-radius: 6px;
    transition: background 0.2s ease, transform 0.15s ease;
    white-space: nowrap;
}

.brand-cta:hover {
    background: #237040;
    transform: translateY(-1px);
}

/* ====================================
   Main Footer (Dark)
   ==================================== */
.main-footer {
    background: #0d0d0d;
    color: #ccc;
    font-family: var(--font);
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-top {
    max-width: 1300px;
    margin: 0 auto;
    padding: 64px 40px 48px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1.2fr 1.1fr;
    gap: 48px;
    align-items: start;
}

/* Company column */
.footer-company p {
    font-size: 13px;
    line-height: 1.7;
    color: #888;
    margin-bottom: 24px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-badge-outer {
    width: 44px;
    height: 44px;
    background: #c8a84b;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-badge-inner {
    width: 36px;
    height: 36px;
    background: #1a1a1a;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c8a84b;
    font-size: 16px;
    font-weight: 900;
    font-family: Georgia, serif;
}

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

.footer-brand-text span:first-child {
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 2px;
}

.footer-brand-text span:last-child {
    font-size: 10px;
    color: #888;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-whatsapp {
    display: inline-flex;
    align-items: center;
    padding: 12px 22px;
    background: #c8a84b;
    color: #0d0d0d;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.footer-whatsapp:hover {
    background: #dbb95a;
}

/* Nav columns */
.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul a {
    color: #888;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-col ul a:hover {
    color: #c8a84b;
}

/* Contact column */
.footer-contact-col p {
    font-size: 13px;
    color: #888;
    margin-bottom: 10px;
    line-height: 1.5;
}

.footer-phone {
    font-size: 18px !important;
    font-weight: 700;
    color: #fff !important;
    margin-bottom: 12px !important;
}

.footer-link-secondary {
    display: inline-block;
    margin-top: 6px;
    color: #c8a84b;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease;
}

.footer-link-secondary:hover {
    color: #dbb95a;
}

/* SEO row */
.footer-seo {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 18px 40px;
    max-width: 1300px;
    margin: 0 auto;
}

.footer-seo p {
    font-size: 12px;
    color: #555;
    text-align: center;
    line-height: 1.8;
}

/* Bottom bar */
.footer-bottom {
    background: #080808;
    border-top: 1px solid rgba(255,255,255,0.04);
    padding: 18px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    max-width: 100%;
}

.footer-bottom p {
    font-size: 12px;
    color: #555;
}

@media (max-width: 768px) {
    .brand-nav {
        display: none;
    }

    .brand-header-inner {
        padding: 0 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-top {
        padding: 48px 20px 36px;
    }

    .footer-seo {
        padding: 18px 20px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        padding: 18px 20px;
    }
}

/* ====================================
   Site Footer - Match Car Import Website
   ==================================== */
.site-footer.seo-footer {
    position: relative;
    overflow: hidden;
    background: #090e14;
    color: #fff;
    padding: 58px 0 26px;
    text-align: initial;
    border-top: 1px solid rgba(200, 164, 93, 0.26);
}

.site-footer.seo-footer::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200, 164, 93, 0.72), transparent);
}

.footer-container {
    width: min(1180px, calc(100% - 32px));
    margin-inline: auto;
}

.site-footer .footer-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(260px, 1.45fr) repeat(3, minmax(180px, 1fr));
    gap: 34px;
    align-items: start;
    max-width: none;
    padding: 0;
}

.site-footer .footer-brand {
    display: grid;
    align-content: start;
    gap: 18px;
}

.site-footer .footer-logo {
    display: block;
    width: min(220px, 100%);
    height: auto;
    margin: 0;
    opacity: 1;
    filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.18));
}

.site-footer .footer-brand p,
.site-footer .footer-bottom p,
.site-footer .footer-keywords {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.95rem;
    line-height: 1.75;
    letter-spacing: 0;
}

.site-footer .footer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    border-radius: 6px;
    background: linear-gradient(135deg, #c8a45d, #e4c779);
    color: #101820;
    padding: 0.78rem 1.08rem;
    font-size: 0.95rem;
    font-weight: 950;
    text-decoration: none;
    box-shadow: 0 14px 28px rgba(200, 164, 93, 0.18);
}

.site-footer .footer-column {
    display: grid;
    align-content: start;
    gap: 10px;
    font-style: normal;
}

.site-footer .footer-column h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 1.04rem;
    font-weight: 950;
}

.site-footer .footer-column a,
.site-footer .footer-column span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    font-weight: 750;
    line-height: 1.55;
    text-decoration: none;
}

.site-footer .footer-column a:hover {
    color: #c8a45d;
}

.site-footer .footer-contact a:first-of-type {
    color: #fff;
    font-size: 1.18rem;
    font-weight: 950;
}

.site-footer .footer-keywords {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 10px;
    max-width: 900px;
    margin-top: 34px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    padding: 16px 22px;
    text-align: center;
    direction: rtl;
}

.site-footer .footer-keywords span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.035);
    padding: 0.34rem 0.72rem;
    color: rgba(255, 255, 255, 0.68);
    white-space: nowrap;
}

.site-footer .footer-bottom {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 1180px;
    margin-top: 0;
    padding: 22px 0 0;
    background: transparent;
    border-top: 0;
}

@media (max-width: 900px) {
    .site-footer .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer .footer-brand {
        grid-column: 1 / -1;
    }

    .site-footer .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .site-footer.seo-footer {
        padding: 42px 0 22px;
    }

    .site-footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 26px;
        text-align: center;
    }

    .site-footer .footer-brand,
    .site-footer .footer-column {
        justify-items: center;
    }

    .site-footer .footer-cta {
        width: 100%;
    }

    .site-footer .footer-bottom {
        align-items: center;
        text-align: center;
    }
}

/* ====================================
   Shared Car Import Header
   ==================================== */
.container {
    width: min(1180px, calc(100% - 32px));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 10px 28px rgba(16, 24, 32, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: box-shadow 0.18s ease;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 12px 30px rgba(16, 24, 32, 0.1);
}

.header-inner {
    min-height: 76px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 0;
}

.site-header .logo,
.site-header .brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    flex: 0 0 auto;
    text-decoration: none;
}

.logo-image {
    display: block;
    width: clamp(118px, 12vw, 156px);
    height: auto;
}

.logo-copy {
    display: grid;
    gap: 1px;
    border-right: 1px solid rgba(16, 24, 32, 0.16);
    padding-right: 10px;
    line-height: 1.1;
}

.logo-copy strong {
    color: #101820;
    font-size: 1.05rem;
    font-weight: 950;
}

.logo-copy small {
    color: #5f6876;
    font-size: 0.76rem;
    font-weight: 800;
}

.main-nav {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(12px, 1.55vw, 22px);
    min-width: 0;
    color: #374151;
    font-size: clamp(0.92rem, 0.9vw, 1rem);
    font-weight: 800;
}

.main-nav a {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
    color: #135f3a;
}

.main-nav .nav-feature-link {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    border: 1px solid rgba(31, 139, 76, 0.24);
    border-radius: 999px;
    background: rgba(31, 139, 76, 0.08);
    color: #105f3b;
    padding: 0.34rem 0.98rem;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.38);
}

.main-nav .nav-feature-link:hover,
.main-nav .nav-feature-link:focus-visible {
    border-color: rgba(31, 139, 76, 0.38);
    background: rgba(31, 139, 76, 0.13);
    color: #0d4f31;
}

.quote-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 6px;
    background: linear-gradient(135deg, #2c9b61, #135f3a);
    color: #fff;
    padding: 0.72rem 1.2rem;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 12px 24px rgba(31, 139, 76, 0.22);
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.quote-button:hover {
    transform: translateY(-1px);
}

.header-button {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 0.62rem 1.05rem;
}

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 1.5px solid rgba(31, 139, 76, 0.45);
    border-radius: 8px;
    background: rgba(31, 139, 76, 0.05);
    color: #101820;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    flex-shrink: 0;
    margin-inline-start: auto;
    transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.menu-toggle:hover {
    background: rgba(31, 139, 76, 0.1);
    border-color: #2c9b61;
    box-shadow: 0 0 14px rgba(31, 139, 76, 0.15);
}

.menu-toggle:focus-visible {
    outline: 2px solid #2c9b61;
    outline-offset: 2px;
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.22s ease, opacity 0.18s ease, width 0.22s ease;
    transform-origin: center;
}

.menu-toggle span:nth-child(3) {
    width: 14px;
    align-self: flex-end;
    margin-inline-end: 7px;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    width: 22px;
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    width: 22px;
    margin-inline-end: 0;
    align-self: auto;
    transform: translateY(-7px) rotate(-45deg);
}

@keyframes carNavSlideDown {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .main-nav {
        gap: 14px;
        font-size: 0.92rem;
    }

    .header-inner {
        flex-wrap: wrap;
        padding: 12px 0;
    }

    .quote-button.header-button {
        display: none;
    }
}

@media (max-width: 720px) {
    .header-inner {
        flex-wrap: nowrap;
        min-height: 68px;
        padding: 0;
    }

    .logo-image {
        width: 100px;
    }

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

    .main-nav {
        display: none;
        position: fixed;
        top: 68px;
        inset-inline: 0;
        flex-direction: column;
        gap: 0;
        background: #fff;
        border-bottom: 2px solid #2c9b61;
        padding: 8px 20px 16px;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
        z-index: 1001;
    }

    .main-nav.is-open {
        display: flex;
        animation: carNavSlideDown 0.22s ease;
    }

    .main-nav a {
        width: 100%;
        padding: 0.88rem 0.5rem;
        border-bottom: 1px solid #e5e7eb;
        color: #101820;
        font-size: 1rem;
        font-weight: 700;
        text-align: center;
    }

    .main-nav .nav-feature-link {
        justify-content: center;
        border-radius: 8px;
        margin: 6px 0;
        padding: 0.82rem 0.5rem;
    }

    .main-nav a:last-child {
        border-bottom: none;
    }
}
