/* ================= CSS VARIABLES & RESET ================= */
:root {
    --brand-900: #0a0a0a;
    --brand-800: #171717;
    --brand-50: #f9fafb;
    --blue-600: #2563eb;
    --green-500: #22c55e;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    --font-sans: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--white);
    color: var(--brand-900);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

input, select {
    font-family: inherit;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ================= UTILITIES ================= */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
@media (min-width: 768px) { .container { padding: 0 2.5rem; } }

.hidden { display: none !important; }
.text-center { text-align: center; }
.text-gray { color: var(--gray-500); }
.font-light { font-weight: 300; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }
.tracking-tight { letter-spacing: -0.02em; }
.tracking-tighter { letter-spacing: -0.04em; }
.tracking-widest { letter-spacing: 0.1em; }
.uppercase { text-transform: uppercase; }

/* ================= NAVBAR ================= */
.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-100);
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
@media (min-width: 768px) { .navbar { padding: 1.25rem 2.5rem; } }

.nav-brand {
    display: flex;
    align-items: center;
    cursor: pointer;
}
.nav-custom-logo img {
    max-height: 48px;
    width: auto;
    margin-right: 1rem;
}
.nav-logo-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--brand-900);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.25rem;
    transition: 0.3s;
}
.nav-brand:hover .nav-logo-icon { background-color: var(--gray-800); }

.nav-logo-text { display: flex; flex-direction: column; }
.nav-title { font-size: 1.5rem; font-weight: 900; letter-spacing: -0.04em; line-height: 1; }
.nav-subtitle { font-size: 0.625rem; font-weight: 700; letter-spacing: 0.2em; color: var(--gray-400); text-transform: uppercase; margin-top: 0.1rem; }

.nav-links { display: none; align-items: center; gap: 2.5rem; }
@media (min-width: 768px) { .nav-links { display: flex; } }

.nav-link { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.025em; color: var(--gray-500); transition: 0.3s; position: relative; }
.nav-link:hover { color: var(--brand-900); }
.nav-link.active { color: var(--brand-900); }
.nav-divider { height: 1rem; width: 1px; background-color: var(--gray-300); }

.badge { display: flex; align-items: center; justify-content: center; background: var(--brand-900); color: var(--white); font-size: 0.625rem; font-weight: 700; width: 1.25rem; height: 1.25rem; border-radius: 50%; margin-left: 0.5rem; }

/* ================= TOAST ================= */
.toast {
    position: fixed;
    top: 7rem;
    left: 50%;
    transform: translate(-50%, -1rem);
    background: var(--brand-900);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    border: 1px solid var(--gray-800);
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast i { color: var(--green-500); font-size: 1.25rem; }
.toast span { font-weight: 500; letter-spacing: 0.025em; }

/* ================= HERO SECTION ================= */
.hero {
    position: relative;
    padding: 8rem 1.5rem 12rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 85vh;
    overflow: hidden;
    color: var(--white);
}
.hero-bg { position: absolute; inset: 0; z-index: -2; background: var(--brand-50); }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,10,10,1), rgba(10,10,10,0.6), transparent); z-index: -1; }

.hero-content { text-align: center; max-width: 64rem; margin: 5rem auto 0; z-index: 10; }
.hero-subtitle { color: rgba(255,255,255,0.7); font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; font-size: 0.875rem; margin-bottom: 1.5rem; display: block; }
.hero-title { font-size: 3rem; font-weight: 900; letter-spacing: -0.04em; line-height: 1.1; margin-bottom: 2rem; }
@media (min-width: 768px) { .hero-title { font-size: 4.5rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 6rem; } }
.hero-title span { background: linear-gradient(to right, #f3f4f6, #6b7280); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-desc { font-size: 1.25rem; color: var(--gray-300); font-weight: 300; max-width: 42rem; margin: 0 auto 3rem; }
@media (min-width: 768px) { .hero-desc { font-size: 1.5rem; } }

/* ================= SEARCH WIDGET ================= */
.search-widget {
    width: 100%;
    max-width: 72rem;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    border: 1px solid var(--gray-100);
    position: relative;
    z-index: 20;
    transform: translateY(50%);
}
@media (min-width: 768px) { .search-widget { padding: 1.5rem; } }

.search-tabs { display: inline-flex; gap: 0.5rem; background: var(--gray-100); padding: 0.375rem; border-radius: var(--radius-md); margin-bottom: 1rem; }
.tab-btn { padding: 0.625rem 1.5rem; border-radius: var(--radius-sm); font-size: 0.875rem; font-weight: 700; color: var(--gray-500); transition: 0.3s; }
.tab-btn.active { background: var(--white); color: var(--brand-900); box-shadow: 0 1px 3px rgba(0,0,0,0.1); }

.search-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; align-items: flex-end; }
@media (min-width: 768px) { .search-grid { grid-template-columns: repeat(4, 1fr); } }

.input-group { display: flex; flex-direction: column; }
.input-label { font-size: 0.625rem; font-weight: 700; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.75rem; padding: 0 0.5rem; }
.input-field { display: flex; align-items: center; background: var(--gray-50); border: 1px solid var(--gray-100); padding: 1rem; border-radius: var(--radius-md); transition: 0.3s; }
.input-field:focus-within { border-color: var(--brand-900); background: var(--white); }
.input-field i { color: var(--gray-400); margin-right: 0.75rem; }
.input-field input, .input-field select { border: none; background: transparent; outline: none; width: 100%; color: var(--brand-900); font-weight: 500; font-size: 0.875rem; }

.btn-primary { background: var(--brand-900); color: var(--white); font-weight: 700; letter-spacing: 0.05em; padding: 1rem 1.5rem; border-radius: var(--radius-md); transition: 0.3s; display: flex; justify-content: center; align-items: center; width: 100%; height: 58px; }
.btn-primary:hover { background: var(--brand-800); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

/* ================= SECTIONS COMMON ================= */
.section { padding: 8rem 0; }
.bg-light { background: var(--brand-50); }
.bg-dark { background: var(--brand-900); color: var(--white); }

.section-header { text-align: center; max-width: 48rem; margin: 0 auto 5rem; }
.section-header.left { text-align: left; margin: 0 0 4rem 0; }
.section-subtitle { font-size: 0.75rem; font-weight: 700; color: var(--brand-900); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 1rem; display: block; }
.bg-dark .section-subtitle { color: var(--gray-400); }
.section-title { font-size: 2.25rem; font-weight: 900; letter-spacing: -0.04em; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .section-title { font-size: 3rem; } }

/* ================= HOW IT WORKS ================= */
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; position: relative; }
@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }
.step-line { display: none; position: absolute; top: 3rem; left: 10%; right: 10%; height: 1px; background: var(--gray-200); z-index: 0; }
@media (min-width: 768px) { .step-line { display: block; } }

.step-item { position: relative; z-index: 10; display: flex; flex-direction: column; align-items: center; text-align: center; }
.step-number { width: 6rem; height: 6rem; background: var(--white); border: 1px solid var(--gray-200); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700; margin-bottom: 2rem; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.step-item.active .step-number { background: var(--brand-900); color: var(--white); border-color: var(--brand-900); box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); }
.step-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; letter-spacing: -0.02em; }
.step-desc { font-size: 0.875rem; color: var(--gray-500); line-height: 1.6; }

/* ================= SERVICES & CONDITIONS ================= */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card { border: 1px solid var(--gray-100); background: rgba(249,250,251,0.5); padding: 2.5rem; border-radius: var(--radius-xl); transition: 0.3s; }
.service-card:hover { border-color: var(--brand-900); }
.service-icon { font-size: 1.875rem; color: var(--brand-900); margin-bottom: 2rem; }
.service-title { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 1rem; }
.service-desc { color: var(--gray-500); font-weight: 300; margin-bottom: 1.5rem; line-height: 1.6; }
.service-list li { display: flex; align-items: center; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.75rem; }
.service-list i { color: var(--gray-300); margin-right: 0.75rem; }

.conditions-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .conditions-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .conditions-grid { grid-template-columns: repeat(4, 1fr); } }

.condition-card { background: var(--white); padding: 2rem; border-radius: var(--radius-lg); border: 1px solid var(--gray-100); box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.condition-icon { width: 3rem; height: 3rem; background: var(--gray-100); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--brand-900); margin-bottom: 1.5rem; }

/* ================= FLEET SECTION ================= */
.fleet-header { display: flex; flex-direction: column; gap: 2rem; margin-bottom: 4rem; }
@media (min-width: 768px) { .fleet-header { flex-direction: row; justify-content: space-between; align-items: center; } }

.category-filters { display: flex; gap: 0.25rem; background: var(--gray-800); padding: 0.5rem; border-radius: 999px; overflow-x: auto; }
.category-btn { padding: 0.625rem 1.5rem; border-radius: 999px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-400); transition: 0.3s; white-space: nowrap; }
.category-btn:hover { color: var(--white); background: var(--gray-700); }
.category-btn.active { background: var(--white); color: var(--brand-900); }

.cars-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .cars-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cars-grid { grid-template-columns: repeat(3, 1fr); } }

.car-card { background: var(--gray-800); border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--gray-700); display: flex; flex-direction: column; transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease; cursor: pointer; }
.car-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5); }

.car-img-wrapper { position: relative; height: 16rem; background: var(--gray-900); overflow: hidden; }
.car-img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }
.car-badge { position: absolute; top: 1.5rem; right: 1.5rem; background: var(--brand-900); padding: 0.375rem 1rem; border-radius: 999px; font-size: 0.625rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }

.car-info { padding: 2rem; display: flex; flex-direction: column; flex: 1; }
.car-brand { font-size: 0.625rem; color: var(--gray-400); font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 0.5rem; }
.car-name { font-size: 1.5rem; font-weight: 900; letter-spacing: -0.04em; margin-bottom: 1.5rem; color: var(--white); }

.car-specs { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.spec-tag { background: rgba(55,65,81,0.5); color: var(--gray-300); font-size: 0.75rem; padding: 0.375rem 0.75rem; border-radius: var(--radius-sm); border: 1px solid rgba(75,85,99,0.5); display: flex; align-items: center; gap: 0.5rem; }

.car-footer { margin-top: auto; padding-top: 1.5rem; border-top: 1px solid var(--gray-700); display: flex; justify-content: space-between; align-items: center; }
.car-price-amount { font-size: 1.875rem; font-weight: 900; color: var(--white); }
.car-price-period { color: var(--gray-500); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.btn-book { background: var(--white); color: var(--brand-900); padding: 0.75rem 1.5rem; border-radius: var(--radius-md); font-weight: 700; letter-spacing: 0.05em; transition: 0.3s; }
.btn-book:hover { background: var(--gray-200); }

.empty-state { text-align: center; padding: 8rem 0; border: 1px solid var(--gray-800); border-radius: var(--radius-lg); }
.empty-state i { font-size: 3rem; color: var(--gray-600); margin-bottom: 1.5rem; }

/* ================= ADDON SECTION ================= */
.addon-section { display: flex; flex-direction: column; gap: 4rem; align-items: center; }
@media (min-width: 768px) { .addon-section { flex-direction: row; } }
.addon-img-container { width: 100%; position: relative; }
@media (min-width: 768px) { .addon-img-container { width: 50%; } }
.addon-img-bg { position: absolute; inset: -1rem; background: var(--gray-100); border-radius: 3rem; transform: rotate(-3deg); z-index: 0; }
.addon-img { position: relative; z-index: 10; width: 100%; height: 500px; object-fit: cover; border-radius: 2.5rem; box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); }

.addon-text { width: 100%; }
@media (min-width: 768px) { .addon-text { width: 50%; } }
.addon-list li { display: flex; align-items: center; font-weight: 500; margin-bottom: 1rem; color: var(--brand-900); }
.addon-list i { color: var(--green-500); margin-right: 1rem; font-size: 1.125rem; }

/* ================= TESTIMONIALS ================= */
.testimonials-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial-card { background: var(--white); padding: 2.5rem; border-radius: var(--radius-xl); border: 1px solid var(--gray-100); box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.testimonial-card.dark { background: var(--brand-900); color: var(--white); box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); transform: translateY(0); }
@media (min-width: 768px) { .testimonial-card.dark { transform: translateY(-1rem); } }
.stars { color: var(--brand-900); margin-bottom: 1.5rem; font-size: 0.875rem; }
.testimonial-card.dark .stars { color: var(--white); }
.quote { color: var(--gray-500); font-weight: 300; font-style: italic; margin-bottom: 2rem; line-height: 1.6; }
.testimonial-card.dark .quote { color: var(--gray-300); }
.client-info { display: flex; align-items: center; }
.client-avatar { width: 3rem; height: 3rem; border-radius: 50%; object-fit: cover; margin-right: 1rem; background: var(--gray-200); }
.client-name { font-weight: 700; letter-spacing: -0.02em; }
.client-role { font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray-400); margin-top: 0.25rem; }

/* ================= FAQ ================= */
.faq-list { display: flex; flex-direction: column; gap: 1.5rem; max-width: 56rem; margin: 0 auto; }
.faq-item { border: 1px solid var(--gray-200); border-radius: var(--radius-lg); background: rgba(249,250,251,0.5); transition: 0.3s; }
.faq-item[open] { background: var(--white); border-color: var(--brand-900); }
.faq-summary { display: flex; justify-content: space-between; align-items: center; font-weight: 700; cursor: pointer; padding: 1.5rem; font-size: 1.125rem; letter-spacing: -0.02em; }
.faq-icon { transition: transform 0.3s; }
.faq-item[open] .faq-icon { transform: rotate(180deg); }
.faq-content { padding: 0 1.5rem 1.5rem; color: var(--gray-500); font-weight: 300; line-height: 1.6; border-top: 1px solid var(--gray-100); margin-top: 1rem; padding-top: 1.5rem; }

/* ================= BOOKINGS VIEW ================= */
.bookings-header { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 4rem; border-bottom: 1px solid var(--gray-200); padding-bottom: 2rem; }
@media (min-width: 768px) { .bookings-header { flex-direction: row; justify-content: space-between; align-items: flex-end; } }

.link-btn { font-weight: 700; letter-spacing: 0.05em; border-bottom: 2px solid var(--brand-900); padding-bottom: 0.25rem; transition: 0.3s; display: inline-flex; align-items: center; gap: 0.5rem; }
.link-btn:hover { color: var(--gray-500); border-color: var(--gray-500); }

.empty-bookings { background: var(--brand-50); border-radius: var(--radius-xl); padding: 6rem 2rem; text-align: center; border: 1px solid var(--gray-100); }
.empty-bookings i { font-size: 3.75rem; color: var(--gray-300); margin-bottom: 2rem; }

.booking-list { display: flex; flex-direction: column; gap: 2rem; }
.booking-card { background: var(--white); border-radius: var(--radius-xl); border: 1px solid var(--gray-200); padding: 2rem; display: flex; flex-direction: column; gap: 2.5rem; box-shadow: 0 1px 2px rgba(0,0,0,0.05); transition: 0.3s; }
.booking-card:hover { transform: translateY(-4px); box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
@media (min-width: 768px) { .booking-card { flex-direction: row; padding: 2.5rem; } }

.booking-img-container { width: 100%; height: 10rem; background: var(--gray-100); border-radius: var(--radius-md); overflow: hidden; flex-shrink: 0; }
@media (min-width: 768px) { .booking-img-container { width: 16rem; } }
.booking-img-container img { width: 100%; height: 100%; object-fit: cover; }

.booking-info { flex: 1; }
.booking-top { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .booking-top { flex-direction: row; justify-content: space-between; align-items: flex-start; } }

.status-badge { display: inline-flex; align-items: center; font-size: 0.625rem; font-weight: 700; color: #15803d; background: #f0fdf4; border: 1px solid #bbf7d0; padding: 0.375rem 0.75rem; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.75rem; }
.status-badge i { margin-right: 0.5rem; }

.booking-total-box { text-align: left; }
@media (min-width: 768px) { .booking-total-box { text-align: right; } }

.booking-dates { display: grid; grid-template-columns: 1fr; gap: 2rem; padding-top: 2rem; border-top: 1px solid var(--gray-100); }
@media (min-width: 768px) { .booking-dates { grid-template-columns: repeat(2, 1fr); } }
.date-item { display: flex; flex-direction: column; }
.date-label { font-size: 0.625rem; color: var(--gray-400); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
.date-value { font-weight: 700; color: var(--brand-900); font-size: 1.125rem; }
.loc-value { color: var(--gray-500); font-size: 0.875rem; margin-top: 0.25rem; }

/* ================= FOOTER ================= */
.footer { background: var(--brand-900); color: var(--white); padding: 6rem 0 3rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 4rem; margin-bottom: 5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(12, 1fr); } }

.footer-brand { grid-column: span 1; }
@media (min-width: 768px) { .footer-brand { grid-column: span 5; } }

.footer-links { grid-column: span 1; }
@media (min-width: 768px) { .footer-links { grid-column: span 2; } }
@media (min-width: 768px) { .footer-links.offset { grid-column-start: 7; } }
@media (min-width: 768px) { .footer-links.last { grid-column: span 3; } }

.footer-heading { font-weight: 700; font-size: 0.875rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1.5rem; }
.footer-ul { display: flex; flex-direction: column; gap: 1rem; }
.footer-ul a { color: var(--gray-400); font-weight: 300; transition: 0.3s; }
.footer-ul a:hover { color: var(--white); }

.footer-bottom { border-top: 1px solid var(--gray-800); padding-top: 2rem; display: flex; flex-direction: column; gap: 1rem; align-items: center; font-size: 0.75rem; color: var(--gray-500); font-weight: 300; letter-spacing: 0.05em; }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.social-links { display: flex; gap: 1.5rem; }
.social-links a { font-size: 1.125rem; transition: 0.3s; }
.social-links a:hover { color: var(--white); }

/* ================= MODAL ================= */
.modal-overlay {
    position: fixed; inset: 0; z-index: 100;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    padding: 1.5rem;
    opacity: 0; pointer-events: none; transition: 0.3s;
}
.modal-overlay.show { opacity: 1; pointer-events: auto; }

.modal-content {
    background: var(--white);
    width: 100%; max-width: 1152px; max-height: 90vh;
    border-radius: var(--radius-xl);
    display: flex; flex-direction: column; overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    transform: translateY(20px); transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.show .modal-content { transform: translateY(0); }
@media (min-width: 768px) { .modal-content { flex-direction: row; } }

.modal-left { background: var(--brand-50); padding: 2rem; display: flex; flex-direction: column; overflow-y: auto; width: 100%; }
@media (min-width: 768px) { .modal-left { width: 50%; padding: 3rem; } }

.modal-img-box { position: relative; border-radius: var(--radius-lg); overflow: hidden; height: 16rem; margin-bottom: 2rem; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); }
@media (min-width: 768px) { .modal-img-box { height: 20rem; } }
.modal-img-box img { width: 100%; height: 100%; object-fit: cover; }
.modal-type-badge { position: absolute; top: 1.5rem; left: 1.5rem; background: var(--white); padding: 0.375rem 1rem; border-radius: 999px; font-size: 0.625rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }

.modal-heading-sm { font-size: 0.875rem; font-weight: 700; letter-spacing: 0.1em; color: var(--brand-900); margin-bottom: 1rem; text-transform: uppercase; }

.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2rem; margin-bottom: 2.5rem; }
.spec-item { display: flex; flex-direction: column; }
.spec-label { color: var(--gray-400); font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.1em; }
.spec-val { font-weight: 700; font-size: 0.875rem; }

.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; color: var(--gray-600); font-size: 0.875rem; }
.feature-list li { display: flex; align-items: center; }
.feature-list i { color: var(--green-500); margin-right: 0.75rem; }

.modal-right { padding: 2rem; display: flex; flex-direction: column; overflow-y: auto; background: var(--white); width: 100%; }
@media (min-width: 768px) { .modal-right { width: 50%; padding: 3rem; } }

.modal-header-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2.5rem; }
.btn-close { width: 3rem; height: 3rem; border: 1px solid var(--gray-200); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--brand-900); transition: 0.3s; }
.btn-close:hover { background: var(--brand-900); color: var(--white); border-color: var(--brand-900); }

.price-box { background: var(--brand-50); border-radius: var(--radius-md); padding: 1.5rem; margin-bottom: 2rem; border: 1px solid var(--gray-100); display: flex; justify-content: space-between; align-items: center; }
.price-label { font-size: 0.625rem; font-weight: 700; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.25rem; }
.price-val { font-size: 1.5rem; font-weight: 900; color: var(--brand-900); }
.price-val.total { color: var(--blue-600); }
.text-right { text-align: right; }

.form-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.col-span-full { grid-column: 1 / -1; }

.checkbox-group { margin-top: 1rem; background: var(--gray-50); padding: 1.25rem; border-radius: var(--radius-md); border: 1px solid var(--gray-200); display: flex; align-items: flex-start; gap: 1rem; }
.checkbox-group input { margin-top: 0.25rem; width: 1.25rem; height: 1.25rem; flex-shrink: 0; accent-color: var(--brand-900); cursor: pointer; }
.checkbox-group label { font-size: 0.75rem; color: var(--gray-600); font-weight: 500; line-height: 1.6; cursor: pointer; }
.checkbox-group a { color: var(--brand-900); font-weight: 700; text-decoration: underline; }

.submit-area { margin-top: auto; padding-top: 2.5rem; }
.btn-submit { width: 100%; background: var(--brand-900); color: var(--white); padding: 1.25rem; border-radius: 999px; font-weight: 700; letter-spacing: 0.1em; transition: 0.3s; display: flex; justify-content: center; align-items: center; }
.btn-submit:hover { background: var(--gray-800); }
.btn-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.submit-note { text-align: center; font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray-400); margin-top: 1rem; font-weight: 700; }
