/* ============================================================
   index-en.css — 3A Rent Car EN homepage styles
   Extracted from inline <style> for caching + LCP optimization
   Mobile-optimized: 16px form fonts, 44px+ tap targets
   ============================================================ */

:root {
    --sea-deep: #0f1a2e;
    --sea: #1a6985;
    --gold: #c9a84c;
    --gold-soft: rgba(201,168,76,0.08);
    --cream: #faf8f3;
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --green-trust: #047857;
    --radius: 16px;
    --transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
}

html { -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
    margin: 0; padding: 0;
    background: #fafafa;
    color: var(--text-primary);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
* { -webkit-tap-highlight-color: rgba(15,26,46,0.1); }

/* ─── HERO ─── */
.hero-section {
    position: relative;
    min-height: auto;
    display: flex; align-items: center;
    background-color: var(--sea-deep);
    color: #fff;
    overflow: hidden;
    padding: 3rem 1rem 2.5rem;
    text-align: center;
}
.hero-section::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 80px;
    background: linear-gradient(to top, #fafafa, transparent);
    pointer-events: none;
}
@media(min-width:768px){
    .hero-section { padding: 2rem 2rem 3rem; }
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 6px 16px; border-radius: 50px;
    font-size: 0.8rem; font-weight: 600;
    letter-spacing: 0.05em; text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.25rem;
}

.hero-section h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800; line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.hero-section h1 .accent { color: var(--gold); }

.hero-sub {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    max-width: 800px; opacity: 0.9;
    margin-bottom: 2rem;
}

/* ─── BOOKING BAR ─── */
.hero-form-container {
    background: #fff;
    padding: 1.5rem 1.75rem;
    border-radius: 1rem;
    box-shadow: 0 24px 48px -12px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.03);
    max-width: 1100px;
    margin: 0 auto;
    color: var(--text-primary);
}
.hero-form-container h2 {
    font-size: 0.78rem; font-weight: 600;
    margin-bottom: 1rem; text-align: center;
    color: var(--text-secondary); letter-spacing: 0.06em;
    text-transform: uppercase;
}
.booking-bar { display: flex; align-items: center; gap: 0; }
.booking-bar .bb-section {
    flex: 1; padding: 0.625rem 1rem;
    border-right: 1px solid #e5e7eb;
    min-width: 0; min-height: 56px;
    display: flex; flex-direction: column; justify-content: center;
}
.booking-bar .bb-section:last-child { border-right: none; }
.booking-bar .bb-section.bb-toggle {
    flex: 0 0 auto; display: flex;
    align-items: center;
    padding: 0.5rem 0.875rem; min-height: 56px;
}
.booking-bar .bb-section.bb-btn {
    flex: 0 0 auto; padding: 0; border-right: none;
}
.bb-label {
    display: block; font-size: 0.72rem; font-weight: 700;
    text-transform: uppercase; color: #6b7280;
    letter-spacing: 0.06em; margin-bottom: 0.35rem;
}
.bb-select, .bb-input {
    width: 100%; padding: 0; border: none;
    background: transparent; font-size: 0.875rem;
    font-weight: 600; color: #111827;
    cursor: pointer; appearance: none; -webkit-appearance: none;
    line-height: 1.4; min-height: 24px;
}
input[type="date"].bb-input { position: relative; cursor: pointer; }
input[type="date"].bb-input::-webkit-calendar-picker-indicator {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%; opacity: 0; cursor: pointer;
}
.bb-select:focus, .bb-input:focus { outline: none; }
.bb-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 0 center;
    padding-right: 1rem;
}

.btn-primary-bar {
    background-color: var(--sea-deep); color: white;
    padding: 0.95rem 1.75rem; border: none; border-radius: 0.625rem;
    font-weight: 600; font-size: 0.9rem; letter-spacing: 0.03em;
    cursor: pointer; transition: var(--transition);
    white-space: nowrap; display: flex; align-items: center; gap: 0.5rem;
    min-height: 48px;
}
.btn-primary-bar:hover {
    background-color: #1a2f4d;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(15,26,46,0.25);
}
.btn-primary-bar:focus-visible {
    outline: 3px solid rgba(201,168,76,0.5);
    outline-offset: 2px;
}
.btn-primary-bar svg { width: 1.1rem; height: 1.1rem; }

/* ─── Toggle (44px+ tap target) ─── */
.toggle-switch {
    position: relative;
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 44px;
    flex-shrink: 0; cursor: pointer;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.toggle-slider {
    position: relative; cursor: pointer;
    width: 44px; height: 24px;
    background: #cbd5e1; transition: 0.3s;
    border-radius: 24px; display: block;
}
.toggle-slider:before {
    position: absolute; content: "";
    height: 18px; width: 18px;
    left: 3px; top: 3px;
    background: white; transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
input:checked + .toggle-slider { background: var(--gold); }
input:checked + .toggle-slider:before { transform: translateX(20px); }
.toggle-switch input:focus-visible + .toggle-slider {
    box-shadow: 0 0 0 3px rgba(201,168,76,0.3);
}

/* ─── Mobile booking bar ─── */
@media (max-width: 768px) {
    .hero-section { padding: 2rem 0.75rem 2rem; }
    .hero-form-container {
        padding: 1rem; margin: 0;
        border-radius: 1rem;
    }
    .hero-form-container h2 {
        font-size: 0.875rem; margin-bottom: 0.875rem;
        letter-spacing: 0.05em;
    }
    .booking-bar { flex-direction: column; gap: 0; }
    .booking-bar .bb-section {
        width: 100%; border-right: none;
        border-bottom: 1px solid #f3f4f6;
        padding: 0.875rem 0.5rem;
        min-height: 64px;
    }
    .booking-bar .bb-section:last-child { border-bottom: none; }
    .booking-bar .bb-section.bb-toggle {
        min-height: 56px;
        padding: 0.875rem 0.75rem;
        flex-direction: row; align-items: center;
        justify-content: center;
    }
    #toggleLabel {
        font-size: 0.95rem !important;
        line-height: 1.2; font-weight: 600; color: #374151;
    }
    #toggleLabel br { display: none; }
    .booking-bar .bb-section.bb-btn { padding: 0.875rem 0 0.25rem; }
    .bb-label { font-size: 0.75rem; margin-bottom: 0.4rem; }
    /* CRITICAL: 16px+ prevents iOS auto-zoom */
    .bb-select, .bb-input { font-size: 16px; min-height: 28px; }
    .btn-primary-bar {
        width: 100%; justify-content: center;
        padding: 1rem; font-size: 0.95rem; min-height: 52px;
    }
    #dropoffSection .bb-label {
        justify-content: center !important;
        text-align: center; gap: 10px;
    }
}

@media (hover: none) {
    .btn-primary-bar:hover { transform: none; box-shadow: none; }
    .btn-primary-bar:active {
        background-color: #1a2f4d;
        transform: scale(0.98);
    }
    .deal-card-link:hover .deal-card { transform: none; }
    .dest-card:hover { transform: none; }
    .why-card:hover { transform: none; }
}

/* ─── SECTION STYLES ─── */
.sec { padding: 4.5rem 1rem; }
@media(min-width:768px){ .sec { padding: 5rem 2rem; } }
.sec-title {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 700; color: var(--sea-deep);
    text-align: center; margin-bottom: 0.5rem;
    letter-spacing: -0.02em; line-height: 1.2;
}
.sec-sub {
    font-size: 0.95rem; color: var(--text-secondary);
    text-align: center; max-width: 640px;
    margin: 0 auto 2.5rem; line-height: 1.7;
}

/* ─── CAR DEAL CARDS ─── */
.deal-card {
    background: #fff; border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden; transition: var(--transition);
    border: 1px solid #f0f0f0;
}
.deal-card-link {
    text-decoration: none; color: inherit; display: block;
}
.deal-card-link:hover .deal-card {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

/* ─── DESTINATION CARDS ─── */
.dest-card {
    position: relative; border-radius: 20px;
    overflow: hidden; min-height: 280px;
    background-size: cover; background-position: center;
    cursor: pointer; transition: var(--transition);
}
.dest-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}
.dest-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.1) 60%);
}
.dest-content {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 1.5rem; color: #fff;
}

/* ─── WHY-US CARDS ─── */
.why-card {
    background: #fff; border-radius: var(--radius);
    padding: 2rem; transition: var(--transition);
    border: 1px solid #f0f0f0; box-shadow: var(--shadow-sm);
}
.why-card:hover {
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.why-icon {
    width: 3rem; height: 3rem; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1rem;
}

/* ─── FAQ ─── */
.faq-item {
    background: #fff; border-radius: var(--radius);
    padding: 0; margin-bottom: 0.5rem;
    border: 1px solid #f0f0f0; box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.faq-item summary {
    display: flex; justify-content: space-between; align-items: center;
    font-weight: 600; font-size: 0.95rem; color: var(--sea-deep);
    cursor: pointer; list-style: none;
    padding: 1.25rem 1.5rem;
    transition: background 0.2s;
    min-height: 56px;
}
.faq-item summary:hover { background: #f9fafb; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-icon {
    width: 32px; height: 32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem; flex-shrink: 0;
    background: var(--gold-soft); color: var(--gold);
    transition: transform 0.3s, background 0.3s;
}
.faq-item[open] summary .faq-icon {
    transform: rotate(45deg);
    background: var(--sea-deep); color: #fff;
}
.faq-item .faq-answer {
    padding: 0 1.5rem 1.25rem;
    font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7;
    border-top: 1px solid #f3f4f6;
    margin: 0;
}
.faq-hidden { display: none; }
.faq-show-more-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: none; border: 2px solid #e5e7eb;
    padding: 0.85rem 2rem; border-radius: 50px;
    font-family: inherit; font-size: 0.9rem; font-weight: 600;
    color: var(--text-secondary); cursor: pointer;
    transition: var(--transition);
    min-height: 48px;
}
.faq-show-more-btn:hover {
    border-color: var(--sea-deep);
    color: var(--sea-deep);
}
.faq-show-more-btn svg { transition: transform 0.3s; }
.faq-show-more-btn.expanded svg { transform: rotate(180deg); }

/* ─── FLOATING WhatsApp ─── */
.wa-float {
    position: fixed; bottom: 24px; right: 24px; z-index: 999;
    width: 56px; height: 56px; border-radius: 50%;
    background: #25D366;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 14px rgba(37,211,102,0.35);
    transition: var(--transition); text-decoration: none;
}
.wa-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(37,211,102,0.45);
}

/* ─── STEPS ─── */
.step-section { background: var(--sea-deep); color: #fff; }
.step-num {
    width: 52px; height: 52px; border-radius: 50%;
    background: rgba(201,168,76,0.1);
    border: 1.5px solid var(--gold);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; font-weight: 700; color: var(--gold);
    margin: 0 auto 1rem;
}

[x-cloak] { display: none !important; }
@keyframes barGrow { to { transform: scaleX(1); } }

/* ─── INCLUDED GRID ─── */
.incl-card {
    background: #fff; border-radius: var(--radius);
    padding: 1.75rem; text-align: center;
    border: 1px solid #f0f0f0; transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.incl-card:hover {
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.incl-icon {
    width: 48px; height: 48px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 0.75rem;
}

/* ─── BOOK BUTTON ─── */
.btn-book {
    display: block; text-align: center; text-decoration: none;
    background: var(--sea-deep); color: #fff;
    padding: 0.875rem 1.5rem; border-radius: 10px;
    font-weight: 600; font-size: 0.9rem;
    transition: var(--transition);
    min-height: 48px;
}
.btn-book:hover {
    background: #1a2f4d;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(15,26,46,0.25);
}

/* ─── Language banner (same as FR) ─── */
.lang-banner {
    position: fixed; top: 80px; right: 20px;
    background: rgba(15, 26, 46, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    padding: 10px 14px 10px 16px;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
    z-index: 999;
    display: none;
    align-items: center; gap: 10px;
    font-size: 0.82rem;
    max-width: calc(100vw - 24px);
    border: 1px solid rgba(201,168,76,0.3);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity .35s ease, transform .35s ease;
    pointer-events: none;
}
.lang-banner.visible { display: flex; opacity: 1; transform: translateY(0); pointer-events: auto; }
.lang-banner.fade-out { opacity: 0; transform: translateY(-10px); }
.lang-banner span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px; }
.lang-banner a {
    color: #0f1a2e; background: #c9a84c;
    text-decoration: none; font-weight: 700;
    padding: 6px 14px; border-radius: 50px;
    transition: all .2s; flex-shrink: 0; font-size: 0.78rem;
}
.lang-banner a:hover { background: #fff; transform: scale(1.05); }
.lang-banner button {
    background: rgba(255,255,255,0.1); border: none; color: #fff;
    cursor: pointer; font-size: 1.2rem;
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    line-height: 1; flex-shrink: 0; transition: background .2s;
}
.lang-banner button:hover,
.lang-banner button:focus-visible { background: rgba(255,255,255,0.2); outline: none; }
.lang-banner a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

@media (max-width: 640px) {
    .lang-banner {
        top: auto; bottom: 16px;
        left: 12px; right: 12px;
        max-width: none;
        padding: 10px 12px;
        font-size: 0.78rem; gap: 8px;
    }
    .lang-banner span { max-width: none; flex: 1; white-space: normal; line-height: 1.3; }
    .lang-banner a { padding: 5px 10px; font-size: 0.72rem; }
}
