* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #0a0a0b;
    --secondary-dark: #1a1a1b;
    --tertiary-dark: #2a2a2b;
    --accent-red: #dc2626;
    --accent-red-hover: #ef4444;
    --accent-red-dark: #b91c1c;
    --accent-red-light: #f87171;
    --accent-blue: #2563eb;
    --accent-blue-hover: #3b82f6;
    --accent-blue-dark: #1d4ed8;
    --whatsapp-green: #25D366;
    --whatsapp-green-hover: #1ebe5b;
    --whatsapp-green-dark: #128c7e;
    --instagram-gradient: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    --instagram-hover: linear-gradient(45deg, #f5a623 0%, #ea7c3c 25%, #e63946 50%, #d32f6f 75%, #c43a8a 100%);
    --text-primary: #ffffff;
    --text-secondary: #d1d5db;
    --text-muted: #9ca3af;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --red-glow: rgba(220, 38, 38, 0.3);
    --blue-glow: rgba(37, 99, 235, 0.3);
    
    /* Touch target sizes */
    --touch-target-min: 44px;
    --touch-target-comfortable: 48px;
}

/* ===== PERFORMANCE & STABILITY ===== */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #0f0f10 50%, var(--secondary-dark) 100%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 400;
    letter-spacing: -0.02em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-display: swap;
}

/* Hardware acceleration for critical elements */
.vehicle-card,
.modal-content,
.premium-contact-card,
.executive-option,
.hero-grid,
.whatsapp-float,
.instagram-float,
.btn-primary,
.btn-secondary {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 24px);
}

/* ===== ACCESSIBILITY ===== */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--accent-red);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 10000;
    border-radius: 4px;
    font-weight: 500;
    font-size: 14px;
    min-height: var(--touch-target-min);
    display: flex;
    align-items: center;
}

.skip-to-content:focus {
    top: 6px;
}

/* Enhanced focus states */
*:focus-visible {
    outline: 3px solid var(--accent-red);
    outline-offset: 2px;
    border-radius: 4px;
}

button:focus-visible,
.view-details:focus-visible,
.btn-primary:focus-visible,
.btn-secondary:focus-visible {
    outline: 3px solid var(--accent-red);
    outline-offset: 2px;
}

/* ===== NAVIGATION ===== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 11, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    position: relative;
    min-height: var(--touch-target-min);
}

.brand-text {
    font-size: clamp(20px, 4vw, 32px);
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-red-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.05em;
}

.brand-logo::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-red), var(--accent-red-light));
    transition: width 0.3s ease;
}

.brand-logo:hover::after {
    width: 100%;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: clamp(20px, 4vw, 40px);
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: clamp(14px, 2vw, 16px);
    position: relative;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: var(--touch-target-min);
    display: flex;
    align-items: center;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--glass-bg);
    border: 1px solid transparent;
    border-radius: 8px;
    opacity: 0;
    transition: all 0.3s ease;
}

.nav-links a:hover::before,
.nav-links a:focus::before {
    opacity: 1;
    border-color: var(--glass-border);
}

.nav-links a:hover,
.nav-links a:focus {
    color: var(--text-primary);
    transform: translateY(-1px);
}

/* ===== FLOATING BUTTONS ===== */
.whatsapp-float,
.instagram-float {
    position: fixed;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.whatsapp-float {
    bottom: 100px;
    right: 30px;
    background: var(--whatsapp-green);
    color: white;
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.3);
}

.instagram-float {
    bottom: 30px;
    right: 30px;
    background: var(--instagram-gradient);
    color: white;
    box-shadow: 0 8px 32px rgba(240, 148, 51, 0.3);
}

.whatsapp-float:hover,
.whatsapp-float:focus {
    background: var(--whatsapp-green-hover);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 12px 48px rgba(37, 211, 102, 0.4);
}

.instagram-float:hover,
.instagram-float:focus {
    background: var(--instagram-hover);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 12px 48px rgba(240, 148, 51, 0.4);
}

.whatsapp-icon,
.instagram-icon {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.whatsapp-text,
.instagram-text {
    position: absolute;
    right: 70px;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
    background: inherit;
}

.whatsapp-float:hover .whatsapp-text,
.instagram-float:hover .instagram-text {
    opacity: 1;
    transform: translateX(0);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at center, rgba(220, 38, 38, 0.1) 0%, transparent 50%);
    padding: 120px 0 60px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(220, 38, 38, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(251, 36, 36, 0.2) 0%, transparent 50%),
        linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.02) 100%);
    animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

.hero-grid {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(220, 38, 38, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(220, 38, 38, 0.1) 1px, transparent 1px);
    background-size: 100px 100px;
    animation: gridMove 20s linear infinite;
    opacity: 0.3;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: clamp(12px, 2vw, 14px);
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-badge i {
    font-size: 16px;
    color: var(--accent-red);
}

.hero h1 {
    font-size: clamp(48px, 10vw, 108px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 32px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 50%, var(--accent-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.05em;
    padding-bottom: 8px;
}

.hero-highlight {
    display: block;
    background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-red-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 50px rgba(220, 38, 38, 0.3);
    padding-bottom: 12px;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: clamp(20px, 4vw, 28px);
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: clamp(16px, 3vw, 20px);
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 650px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 36px;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    min-height: var(--touch-target-comfortable);
    min-width: 160px;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-red-dark) 100%);
    color: var(--text-primary);
    box-shadow: 0 8px 32px rgba(220, 38, 38, 0.3);
    border: 1px solid var(--accent-red);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-primary::before,
.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before,
.btn-secondary:hover::before {
    left: 100%;
}

.btn-primary:hover,
.btn-primary:focus {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 48px rgba(220, 38, 38, 0.4);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-primary i,
.btn-secondary i {
    transition: transform 0.3s ease;
}

.btn-primary:hover i,
.btn-secondary:hover i {
    transform: translateX(4px);
}

/* ===== SECTIONS ===== */
section {
    padding: clamp(60px, 15vw, 120px) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: clamp(40px, 10vw, 80px);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: var(--accent-red);
    margin-bottom: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.section-badge i {
    font-size: 16px;
}

.section-title {
    font-size: clamp(32px, 8vw, 64px);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.section-subtitle {
    font-size: clamp(16px, 3vw, 20px);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== VEHICLE CATEGORIES ===== */
.vehicle-category {
    margin-bottom: clamp(40px, 10vw, 80px);
}

.vehicle-category:last-child {
    margin-bottom: 0;
}

.category-header {
    text-align: center;
    margin-bottom: clamp(32px, 8vw, 48px);
    padding: 0 20px;
}

.category-title {
    font-size: clamp(24px, 6vw, 42px);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    letter-spacing: -0.02em;
}

.category-title i {
    color: var(--accent-red);
    font-size: 0.9em;
}

.category-description {
    font-size: clamp(14px, 2vw, 16px);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Transport Category Styling */
.vehicle-category:nth-child(3) .category-title i {
    color: var(--accent-blue);
}

/* ===== VEHICLE GRID ===== */
.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
    gap: 32px;
    margin-top: 40px;
    justify-content: center;
}

/* Single vehicle handling */
.vehicle-grid:has(.vehicle-card:only-child) {
    place-items: center;
}

.vehicle-grid:has(.vehicle-card:only-child) .vehicle-card {
    max-width: 500px;
    width: 100%;
}

.vehicle-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 32px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.vehicle-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--red-glow) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.vehicle-card:hover::before,
.vehicle-card:focus::before {
    opacity: 1;
}

.vehicle-card:hover,
.vehicle-card:focus {
    transform: translateY(-12px);
    border-color: var(--accent-red);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.3), 0 0 0 1px var(--accent-red);
}

.vehicle-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.vehicle-badge {
    background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-red-dark) 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vehicle-badge.transporter {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-blue-dark) 100%);
}

.vehicle-image {
    width: 100%;
    height: 240px;
    border-radius: 16px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    z-index: 2;
    flex-shrink: 0;
}

.vehicle-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.vehicle-card:hover .vehicle-main-image {
    transform: scale(1.05);
}

.vehicle-info {
    position: relative;
    z-index: 2;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.vehicle-name {
    font-size: clamp(20px, 4vw, 24px);
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.vehicle-tagline {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.4;
    font-weight: 400;
}

.vehicle-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.spec-icon {
    width: 20px;
    height: 20px;
    background: var(--accent-red);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex-shrink: 0;
}

.vehicle-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--glass-border);
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.price-amount {
    font-size: clamp(24px, 6vw, 32px);
    font-weight: 800;
    color: var(--accent-red);
    letter-spacing: -0.02em;
}

.price-period {
    color: var(--text-muted);
    font-size: 14px;
}

.view-details {
    color: var(--accent-red);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
    min-height: var(--touch-target-min);
    padding: 8px 12px;
    border-radius: 8px;
    position: relative;
}

.view-details:hover,
.view-details:focus {
    gap: 8px;
    color: var(--accent-red-light);
    transform: translateX(4px);
    background: rgba(220, 38, 38, 0.1);
}

.vehicle-whatsapp {
    padding-top: 16px;
    border-top: 1px solid var(--glass-border);
    margin-top: auto;
}

/* ===== WHATSAPP BUTTONS ===== */
.btn-whatsapp-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--whatsapp-green);
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    width: 100%;
    min-height: var(--touch-target-min);
    border: none;
    cursor: pointer;
}

.btn-whatsapp-small:hover,
.btn-whatsapp-small:focus {
    background: var(--whatsapp-green-hover);
    transform: translateY(-1px);
}

.whatsapp-icon-tiny {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.btn-whatsapp-modal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--whatsapp-green);
    color: white;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    min-height: var(--touch-target-comfortable);
    border: none;
    cursor: pointer;
}

.btn-whatsapp-modal:hover,
.btn-whatsapp-modal:focus {
    background: var(--whatsapp-green-hover);
    transform: translateY(-2px);
}

.whatsapp-icon-modal {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* ===== MODAL SYSTEM ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: modalFadeIn 0.3s ease;
    overflow-y: auto;
    padding: 20px;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: var(--secondary-dark);
    margin: 0 auto;
    padding: clamp(24px, 6vw, 48px);
    border-radius: 24px;
    width: 100%;
    max-width: 1200px;
    position: relative;
    border: 1px solid var(--glass-border);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
    gap: 16px;
}

.close {
    width: 40px;
    height: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.close:hover,
.close:focus {
    background: var(--accent-red);
    color: white;
}

.modal-vehicle-name {
    font-size: clamp(28px, 6vw, 40px);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.2;
}

.modal-vehicle-tagline {
    color: var(--text-secondary);
    font-size: clamp(14px, 3vw, 18px);
    line-height: 1.4;
}

/* ===== MODAL IMAGES ===== */
.modal-image-gallery {
    margin-bottom: 32px;
}

.main-image-compact {
    width: 100%;
    max-height: 450px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
    background: var(--glass-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image-compact img {
    width: 100%;
    height: 100%;
    max-height: 450px;
    object-fit: contain;
    object-position: center;
    border-radius: 16px;
    transition: all 0.3s ease;
    cursor: zoom-in;
}

.main-image-compact:hover img {
    transform: scale(1.02);
}

.thumbnail-gallery {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 12px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-red) transparent;
}

.thumbnail-gallery::-webkit-scrollbar {
    height: 4px;
}

.thumbnail-gallery::-webkit-scrollbar-track {
    background: var(--glass-bg);
    border-radius: 2px;
}

.thumbnail-gallery::-webkit-scrollbar-thumb {
    background: var(--accent-red);
    border-radius: 2px;
}

.thumbnail {
    width: 120px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    flex-shrink: 0;
}

.thumbnail:hover,
.thumbnail:focus,
.thumbnail.active {
    opacity: 1;
    border-color: var(--accent-red);
    transform: scale(1.05);
}

.modal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 32px;
    margin-top: 24px;
}

.modal-section h3 {
    color: var(--accent-red);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.modal-list {
    list-style: none;
    padding: 0;
}

.modal-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    gap: 16px;
}

.modal-list li:last-child {
    border-bottom: none;
}

.modal-list li span:first-child {
    flex-shrink: 0;
}

.modal-list li span:last-child {
    font-weight: 600;
    color: var(--text-primary);
    text-align: right;
}

.modal-cta {
    text-align: center;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--glass-border);
}

.modal-price {
    font-size: clamp(36px, 8vw, 48px);
    font-weight: 800;
    color: var(--accent-red);
    margin-bottom: 24px;
    line-height: 1.2;
}

/* ===== ABOUT SECTION ===== */
.about {
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--primary-dark) 100%);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(220, 38, 38, 0.1) 0%, transparent 50%);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
    gap: clamp(40px, 10vw, 80px);
    align-items: start;
    position: relative;
    z-index: 2;
}

.about-content h3 {
    color: var(--accent-red);
    font-size: clamp(20px, 4vw, 24px);
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-text {
    font-size: clamp(16px, 3vw, 18px);
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.highlight {
    color: var(--accent-red);
    font-weight: 600;
}

.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: var(--text-secondary);
    font-size: clamp(14px, 3vw, 16px);
    line-height: 1.5;
}

.features-list li::before {
    content: '✓';
    background: var(--accent-red);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
}

/* ===== CONTACT SECTION ===== */
#contact {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #0f0f10 50%, var(--secondary-dark) 100%);
    position: relative;
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(220, 38, 38, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.premium-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 24px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.premium-contact-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.premium-contact-card:hover::before,
.premium-contact-card:focus-within::before {
    opacity: 1;
}

.premium-contact-card:hover,
.premium-contact-card:focus-within {
    transform: translateY(-8px);
    border-color: rgba(220, 38, 38, 0.3);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(220, 38, 38, 0.1);
}

.premium-contact-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.premium-contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-red-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.premium-contact-icon.social {
    background: var(--instagram-gradient);
}

.premium-contact-card:hover .premium-contact-icon {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.3);
}

.premium-contact-meta h3 {
    font-size: clamp(16px, 3vw, 18px);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    line-height: 1.2;
}

.premium-contact-type {
    font-size: 13px;
    color: var(--accent-red);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.premium-contact-content {
    margin-bottom: 24px;
}

.premium-contact-main {
    font-size: clamp(14px, 3vw, 16px);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
    word-break: break-word;
}

.premium-contact-sub {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.premium-contact-note {
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.4;
}

.premium-contact-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.premium-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    flex: 1;
    min-width: 120px;
    min-height: var(--touch-target-min);
}

.premium-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.premium-btn:hover::before {
    left: 100%;
}

.premium-btn.primary {
    background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-red-dark) 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(220, 38, 38, 0.2);
}

.premium-btn.primary:hover,
.premium-btn.primary:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.3);
}

.premium-btn.secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.premium-btn.secondary:hover,
.premium-btn.secondary:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-red);
    transform: translateY(-2px);
}

.premium-btn.instagram {
    background: var(--instagram-gradient);
    color: white;
    box-shadow: 0 4px 16px rgba(240, 148, 51, 0.2);
}

.premium-btn.instagram:hover,
.premium-btn.instagram:focus {
    background: var(--instagram-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(240, 148, 51, 0.3);
}

.executive-contact {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: clamp(24px, 6vw, 48px);
    text-align: center;
    position: relative;
    z-index: 2;
}

.executive-header {
    margin-bottom: 40px;
}

.executive-header h3 {
    font-size: clamp(20px, 4vw, 24px);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.2;
}

.executive-header p {
    font-size: clamp(14px, 3vw, 16px);
    color: var(--text-secondary);
    line-height: 1.5;
}

.executive-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: 20px;
}

.executive-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-height: var(--touch-target-comfortable);
}

.executive-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.executive-option:hover::before,
.executive-option:focus::before {
    opacity: 1;
}

.executive-option:hover,
.executive-option:focus {
    transform: translateY(-4px);
    border-color: rgba(220, 38, 38, 0.3);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.executive-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.executive-option.whatsapp .executive-icon {
    background: var(--whatsapp-green);
    color: white;
}

.executive-option.phone .executive-icon {
    background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-red-dark) 100%);
    color: white;
}

.executive-option.email .executive-icon {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.executive-option:hover .executive-icon,
.executive-option:focus .executive-icon {
    transform: scale(1.1);
}

.executive-info {
    text-align: left;
    flex: 1;
}

.executive-title {
    font-size: clamp(14px, 3vw, 16px);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    line-height: 1.2;
}

.executive-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.3;
}

/* ===== FOOTER ===== */
footer {
    background: var(--primary-dark);
    text-align: center;
    padding: 60px 0;
    border-top: 1px solid var(--glass-border);
}

footer p {
    font-size: clamp(14px, 2vw, 16px);
    line-height: 1.5;
    color: var(--text-secondary);
}

/* ===== SCROLL ANIMATIONS ===== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .hero-grid {
        width: 40%;
    }
    
    .vehicle-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
        gap: 24px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .modal-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary,
    .btn-secondary {
        min-width: 100%;
        justify-content: center;
    }
    
    .premium-contact-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        padding: 120px 0 40px;
        min-height: 90vh;
    }

    .hero-grid {
        width: 100%;
        opacity: 0.1;
    }

    .modal-content {
        margin: 0;
        padding: 20px;
        border-radius: 20px;
    }

    .vehicle-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .vehicle-card {
        padding: 24px;
        min-height: 350px;
    }

    .vehicle-image {
        height: 200px;
    }

    .vehicle-specs {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .vehicle-price {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .view-details {
        align-self: flex-end;
    }

    .whatsapp-float,
    .instagram-float {
        width: 56px;
        height: 56px;
    }

    .whatsapp-float {
        bottom: 90px;
        right: 20px;
    }

    .instagram-float {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-icon,
    .instagram-icon {
        width: 24px;
        height: 24px;
    }

    .whatsapp-text,
    .instagram-text {
        display: none;
    }

    .thumbnail {
        width: 100px;
        height: 70px;
    }
    
    .premium-contact-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .premium-contact-card {
        padding: 24px;
    }
    
    .executive-contact {
        padding: 24px;
    }
    
    .executive-options {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .executive-option {
        padding: 16px 20px;
    }
    
    .premium-contact-actions {
        flex-direction: column;
    }
    
    .premium-btn {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 100px 0 40px;
    }

    .hero-badge {
        font-size: 12px;
        padding: 6px 12px;
    }

    .vehicle-card {
        padding: 20px;
        min-height: 320px;
    }

    .vehicle-image {
        height: 180px;
    }

    .modal {
        padding: 10px;
    }

    .modal-content {
        padding: 16px;
    }

    .modal-header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .close {
        align-self: flex-end;
    }

    .thumbnail {
        width: 80px;
        height: 55px;
    }
    
    .premium-contact-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }
    
    .premium-contact-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .executive-header h3 {
        font-size: 18px;
    }
    
    .executive-option {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        padding: 16px;
    }
    
    .executive-info {
        text-align: center;
    }
    
    .executive-icon {
        width: 45px;
        height: 45px;
    }

    .whatsapp-float,
    .instagram-float {
        width: 50px;
        height: 50px;
    }

    .whatsapp-icon,
    .instagram-icon {
        width: 20px;
        height: 20px;
    }
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ===== TOUCH DEVICE OPTIMIZATIONS ===== */
@media (hover: none) and (pointer: coarse) {
    .vehicle-card:hover::before,
    .premium-contact-card:hover::before,
    .executive-option:hover::before {
        opacity: 0;
    }
    
    .vehicle-card:hover,
    .premium-contact-card:hover,
    .executive-option:hover {
        transform: none;
    }
    
    .vehicle-card:active,
    .premium-contact-card:active,
    .executive-option:active {
        transform: scale(0.98);
    }
}

/* ===== DARK MODE SUPPORT ===== */
@media (prefers-color-scheme: dark) {
    /* Already optimized for dark mode */
}

/* ===== HIGH CONTRAST MODE ===== */
@media (prefers-contrast: high) {
    :root {
        --glass-bg: rgba(255, 255, 255, 0.1);
        --glass-border: rgba(255, 255, 255, 0.3);
        --text-muted: #bbb;
    }
    
    .vehicle-card,
    .premium-contact-card,
    .executive-option {
        border-width: 2px;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .modal,
    .whatsapp-float,
    .instagram-float,
    nav,
    .hero-grid {
        display: none !important;
    }
    
    .vehicle-card {
        break-inside: avoid;
        page-break-inside: avoid;
        border: 1px solid #000;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .section-title,
    .vehicle-name,
    .modal-vehicle-name {
        color: black !important;
    }
}