/* ═══════════════════════════════════════════════════════════════
   Public Frontend — Central Stylesheet
   marketplace.php | planes.php | registro.php | login.php
   ═══════════════════════════════════════════════════════════════ */

/* ── Reset & Variables ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary:       #d92027;
    --primary-dark:  #b31b20;
    --primary-light: #fdf2f2;
    --accent:        #c39c43;
    --bg:            #f8fafc;
    --surface:       #ffffff;
    --text:          #1a202c;
    --muted:         #64748b;
    --border:        #e2e8f0;
    --shadow-sm:     0 4px 20px rgba(0,0,0,0.06);
    --shadow-md:     0 12px 40px rgba(0,0,0,0.12);
    --shadow-lg:     0 25px 60px rgba(0,0,0,0.2);
    --radius:        12px;
    --radius-lg:     16px;
    --transition:    0.3s cubic-bezier(0.16,1,0.3,1);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

/* ── Scroll Reveal Animations ── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes ripple {
    0%   { width: 20px; height: 20px; opacity: 0.6; }
    100% { width: 200px; height: 200px; opacity: 0; }
}

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════════════
   SHARED HEADER
   ══════════════════════════════════════════════ */
header {
    background: var(--surface);
    border-bottom: 3px solid var(--primary);
    position: sticky; top: 0; z-index: 100;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition);
}
header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
    max-width: 1280px; margin: 0 auto;
    padding: 0 2rem; height: 80px;
    display: flex; align-items: center; justify-content: space-between;
}

/* Logo */
.logo {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-decoration: none; user-select: none;
    transition: transform var(--transition);
}
.logo:hover { transform: scale(1.03); }
.logo-text {
    font-size: 2.2rem; font-weight: 900;
    letter-spacing: -1px; line-height: 1;
}
.logo-text span.r { color: var(--primary); }
.logo-text span.g { color: var(--text); }
.logo-text span.c { color: var(--text); font-size: 1.2rem; font-weight: 600; }
.logo-sub {
    font-size: 0.72rem; font-weight: 700;
    letter-spacing: 2px; color: var(--accent); margin-top: 2px;
}

/* Nav links */
.header-links { display: flex; align-items: center; gap: 2rem; }
.header-links a {
    font-size: 0.95rem; font-weight: 600;
    color: var(--text); text-decoration: none;
    transition: color 0.2s, transform 0.2s;
}
.header-links a:hover { color: var(--primary); transform: translateY(-1px); }

/* ══════════════════════════════════════════════
   BUTTONS (shared)
   ══════════════════════════════════════════════ */
.btn-cta {
    background: var(--primary); color: white !important;
    padding: 0.65rem 1.5rem; border-radius: 8px;
    font-size: 0.9rem; font-weight: 800;
    text-decoration: none; display: inline-block;
    transition: all var(--transition);
    text-transform: uppercase; letter-spacing: 0.5px;
    box-shadow: 0 4px 14px rgba(217,32,39,0.25);
    position: relative; overflow: hidden;
}
.btn-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(217,32,39,0.4);
}

.btn-login-outline {
    border: 2px solid var(--border); padding: 0.6rem 1.2rem; border-radius: 8px;
    color: var(--text); text-decoration: none; font-weight: 700;
    transition: all 0.25s; white-space: nowrap;
}
.btn-login-outline:hover {
    border-color: var(--primary); color: var(--primary);
    background: var(--primary-light); transform: translateY(-1px);
}

/* ══════════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════════ */
.hero {
    background:
        linear-gradient(rgba(17,24,39,0.82), rgba(17,24,39,0.92)),
        url('https://images.unsplash.com/photo-1552519507-da3b142c6e3d?auto=format&fit=crop&q=80&w=1920');
    background-size: cover;
    background-position: center 60%;
    background-attachment: fixed;
    padding: 6rem 2rem 5rem;
    text-align: center;
    position: relative;
}
.hero h1 {
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 900; color: white;
    margin-bottom: 1rem; line-height: 1.08;
    letter-spacing: -1.5px;
    text-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
.hero p {
    color: rgba(255,255,255,0.85);
    font-size: 1.15rem; margin-bottom: 3rem;
}

/* Search Bar */
.search-bar {
    max-width: 820px; margin: 0 auto;
    background: white; border-radius: 50px;
    display: flex; overflow: hidden;
    box-shadow: 0 16px 50px rgba(0,0,0,0.45);
    border: 3px solid rgba(255,255,255,0.1);
    transition: transform var(--transition), box-shadow var(--transition);
}
.search-bar:focus-within {
    transform: scale(1.015);
    box-shadow: 0 20px 60px rgba(217,32,39,0.3);
    border-color: var(--primary);
}
.search-bar input {
    flex: 1; border: none; outline: none;
    padding: 1.2rem 1.75rem; font-size: 1.05rem;
    font-family: 'Inter', sans-serif; color: var(--text);
}
.search-bar button {
    background: var(--primary); color: white; border: none;
    padding: 0 2.5rem; font-size: 1rem; font-weight: 800;
    cursor: pointer; font-family: 'Inter', sans-serif;
    transition: background 0.2s; white-space: nowrap;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.search-bar button:hover { background: var(--primary-dark); }

/* ══════════════════════════════════════════════
   HERO PREMIUM CON SLIDER (NUEVO)
   ══════════════════════════════════════════════ */
.hero-premium {
    position: relative;
    height: 80vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Slider */
.hero-slider {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

/* Overlay */
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 2;
}

/* Content */
.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 0 2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.1;
    text-shadow: 0 8px 30px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 2.5rem;
    opacity: 0.9;
    font-weight: 300;
}

.search-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Search bar premium */
.hero-premium .search-bar {
    background: white;
    border-radius: 50px;
    display: flex;
    overflow: hidden;
    box-shadow: 0 16px 50px rgba(0,0,0,0.3);
    border: 3px solid rgba(255,255,255,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-premium .search-bar:focus-within {
    transform: scale(1.02);
    box-shadow: 0 20px 60px rgba(217,32,39,0.4);
    border-color: var(--primary);
}

.hero-premium .search-bar input {
    flex: 1;
    border: none;
    outline: none;
    padding: 1.2rem 1.75rem;
    font-size: 1.05rem;
    font-family: 'Inter', sans-serif;
    color: var(--text);
}

.hero-premium .search-bar button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0 2.5rem;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.hero-premium .search-bar button:hover {
    background: var(--primary-dark);
}

/* Stats strip dentro del hero */
.hero-stats {
    position: absolute;
    bottom: 2rem;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 3rem;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    padding: 1rem 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
}

.stat-item {
    color: white;
    font-size: 0.9rem;
    text-align: center;
}

.stat-item strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
}

/* Animaciones */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-up {
    opacity: 0;
    animation: fadeUp 0.8s ease-out forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* Responsive */
@media (max-width: 768px) {
    .header-inner {
        padding: 0 1rem;
        height: 70px;
    }

    .logo-text {
        font-size: 1.4rem;
    }

    .logo-sub {
        font-size: 0.6rem;
        letter-spacing: 1px;
    }

    .header-links {
        gap: 1rem;
    }

    .header-links a:not(.btn-cta) {
        font-size: 0.85rem;
    }

    .hero-premium {
        height: 55vh;
        min-height: 350px;
        padding-top: 1rem;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 1.6rem;
        margin-bottom: 0.75rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }

    .search-container {
        max-width: 95%;
        margin: 0 auto;
    }

    .hero-premium .search-bar {
        border-radius: 12px;
        box-shadow: 0 8px 30px rgba(0,0,0,0.25);
    }

    .hero-premium .search-bar input {
        padding: 0.9rem 1.2rem;
        font-size: 0.95rem;
    }

    .hero-premium .search-bar button {
        padding: 0 1.5rem;
        font-size: 0.85rem;
    }

    .hero-stats {
        display: none;
    }

    .hero-slide {
        background-position: center 30%;
    }

    .fade-up {
        animation: fadeUp 0.6s ease-out forwards;
    }

    .delay-1 { animation-delay: 0.15s; }
    .delay-2 { animation-delay: 0.3s; }
    .delay-3 { animation-delay: 0.45s; }
}

@media (max-width: 600px) {
    .header-inner {
        padding: 0 0.75rem;
        height: 65px;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .header-links a:not(.btn-cta):not(.btn-login-outline) {
        display: none;
    }

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

    .hero-premium {
        height: 50vh;
        min-height: 320px;
    }

    .hero-content {
        padding: 0 0.75rem;
    }

    .hero-title {
        font-size: 1.35rem;
        letter-spacing: -0.5px;
        text-shadow: 0 4px 20px rgba(0,0,0,0.5);
    }

    .hero-subtitle {
        font-size: 0.8rem;
        margin-bottom: 1.25rem;
    }

    .search-container {
        max-width: 98%;
    }

    .hero-premium .search-bar {
        border-radius: 10px;
        flex-direction: column;
        position: relative;
                bottom: 35px !important;
    }

    .hero-premium .search-bar input {
        padding: 0.85rem 1rem;
        font-size: 0.9rem;
        width: 100%;
    }

    .hero-premium .search-bar button {
        width: 100%;
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
        order: 2;
    }

    .search-bar input::placeholder {
        font-size: 0.85rem;
    }
}

/* ══════════════════════════════════════════════
   STATS STRIP (EXISTENTE - mantener)
   ══════════════════════════════════════════════ */
.stats-strip {
    background: var(--primary-dark); color: white;
    padding: 0.8rem 2rem;
    display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap;
}
.stats-strip div { font-size: 0.85rem; }
.stats-strip strong { font-size: 1.1rem; display: block; }

/* ══════════════════════════════════════════════
   MARKETPLACE LAYOUT
   ══════════════════════════════════════════════ */
.main-layout {
    margin: 0 auto;
    display: grid; 
    grid-template-columns: 275px 1fr;
    gap: 2rem; padding: 2rem;
}

/* Results area */
.results-container {
    /* shift right to account for sticky sidebar */
}

/* Sidebar filters - sticky on top when scrolling down */
.filters {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    padding-bottom: 2rem;
    position: sticky;
    top: 83px;
}
.filters h3 {
    font-size: 0.78rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--muted); margin-bottom: 1.25rem;
}
.filter-group { margin-bottom: 1.25rem; }
.filter-group label {
    display: block; font-size: 0.83rem;
    font-weight: 600; margin-bottom: 0.4rem; color: var(--text);
}
.filter-group select,
.filter-group input[type="number"] {
    width: 100%; padding: 0.55rem 0.8rem;
    border: 1.5px solid var(--border); border-radius: 8px;
    font-family: 'Inter', sans-serif; font-size: 0.875rem;
    outline: none; background: white; color: var(--text);
    transition: border-color 0.2s;
}
.filter-group select:focus,
.filter-group input[type="number"]:focus { border-color: var(--primary); }
.filters h3 {
    font-size: 0.78rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--muted); margin-bottom: 1.25rem;
}
.filter-group { margin-bottom: 1.25rem; }
.filter-group label {
    display: block; font-size: 0.83rem;
    font-weight: 600; margin-bottom: 0.4rem; color: var(--text);
}
.filter-group select,
.filter-group input[type="number"] {
    width: 100%; padding: 0.55rem 0.8rem;
    border: 1.5px solid var(--border); border-radius: 8px;
    font-family: 'Inter', sans-serif; font-size: 0.875rem;
    outline: none; background: white; color: var(--text);
    transition: border-color 0.2s;
}
.filter-group select:focus,
.filter-group input[type="number"]:focus { border-color: var(--primary); }

.price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }

.btn-filter {
    width: 100%; padding: 0.7rem;
    background: var(--primary); color: white;
    border: none; border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem; font-weight: 700;
    cursor: pointer; transition: background 0.2s, transform 0.15s;
}
.btn-filter:hover { background: var(--primary-dark); transform: translateY(-1px); }

.btn-clear {
    width: 100%; padding: 0.55rem;
    background: transparent; color: var(--muted);
    border: 1.5px solid var(--border); border-radius: 8px;
    font-family: 'Inter', sans-serif; font-size: 0.85rem;
    cursor: pointer; margin-top: 0.5rem;
    text-decoration: none; display: block; text-align: center;
    transition: border-color 0.2s, color 0.2s;
}
.btn-clear:hover { border-color: var(--primary); color: var(--primary); }

/* Results header */
.results-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 2rem; padding-bottom: 1rem;
    border-bottom: 2px solid var(--border);
}
.results-count { font-size: 1.05rem; color: var(--text); }
.results-count strong { font-weight: 800; color: var(--primary); }

/* Cars grid */
.cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 1.5rem;
}

/* Car card */
.car-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    text-decoration: none; color: inherit; display: block;
}
.car-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 16px 40px rgba(0,0,0,0.1);
    border-color: var(--primary);
}

.car-img {
    height: 200px;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem; position: relative; overflow: hidden;
}
.car-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.55s ease;
}
.car-card:hover .car-img img { transform: scale(1.07); }

.car-badge {
    position: absolute; top: 0.75rem; left: 0.75rem;
    background: white; border-radius: 6px;
    padding: 0.2rem 0.6rem; font-size: 0.72rem;
    font-weight: 700; color: var(--primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.car-body { padding: 1.1rem; }
.car-title {
    font-size: 1rem; font-weight: 700; margin-bottom: 0.2rem;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.car-sub { font-size: 0.82rem; color: var(--muted); margin-bottom: 0.7rem; }
.car-price {
    font-size: 1.3rem; font-weight: 800;
    color: var(--primary); margin-bottom: 0.7rem;
}
.car-specs {
    display: flex; gap: 0.75rem; flex-wrap: wrap;
    font-size: 0.78rem; color: var(--muted);
}
.car-spec { display: flex; align-items: center; gap: 0.3rem; }
.car-footer {
    padding: 0.7rem 1.1rem; border-top: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
    font-size: 0.8rem; color: var(--muted);
}
.agency-dot {
    width: 8px; height: 8px; border-radius: 50%;
    display: inline-block; margin-right: 0.3rem;
}

/* ═══════════════════════════════════════════════════════════════
   CAR CARDS MEJORADAS
   ═══════════════════════════════════════════════════════════════ */

/* Badges */
.car-badges {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    display: flex;
    gap: 0.4rem;
    z-index: 2;
}

.badge {
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.badge-nuevo {
    background: #10b981;
    color: white;
}

.badge-certificado {
    background: #3b82f6;
    color: white;
}

.badge-oferta {
    background: #ef4444;
    color: white;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.85; transform: scale(1.05); }
}

/* Botón favorito */
.btn-favorite {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.btn-favorite:hover {
    background: white;
    transform: scale(1.15);
}

.btn-favorite.active {
    background: #ef4444;
    color: white;
}

/* No photo placeholder */
.no-photo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
}

/* Año badge en car-body */
.car-year-badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Título más grande */
.car-card .car-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--text);
}

/* Precio PROMINENTE */
.car-card .car-price {
    font-size: 1.6rem !important;
    font-weight: 800;
    color: var(--primary);
    margin: 0.5rem 0;
}

/* Specs mejorados */
.car-card .car-specs {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin: 0.5rem 0;
}

.car-card .car-spec {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.82rem;
    color: var(--muted);
}

/* Footer con acciones */
.car-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.1rem;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
}

.agency-info {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text);
}

.car-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

/* Checkbox comparar */
.compare-checkbox {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
    font-size: 0.8rem;
    color: var(--text);
    user-select: none;
}

.compare-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--primary);
}

.compare-checkbox input[type="checkbox"]:checked + span {
    color: var(--primary);
    font-weight: 700;
}

/* Vista detalle link */
.view-details {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
}

.car-card:hover .view-details {
    text-decoration: underline;
}

/* Hover effects mejorados */
.car-card {
    transition: transform 0.35s cubic-bezier(0.16,1,0.3,1),
                box-shadow 0.35s cubic-bezier(0.16,1,0.3,1),
                border-color 0.35s ease;
}

.car-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border-color: var(--primary);
}

.car-card:hover .car-img img {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .car-badges {
        top: 0.5rem;
        left: 0.5rem;
    }

    .badge {
        font-size: 0.65rem;
        padding: 0.2rem 0.4rem;
    }

    .btn-favorite {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }

    .car-card .car-price {
        font-size: 1.4rem !important;
    }

    .car-actions {
        flex-direction: column;
        gap: 0.4rem;
        align-items: flex-end;
    }
}

/* Empty state */
.empty-state {
    text-align: center; padding: 5rem 2rem; color: var(--muted);
}
.empty-state .icon { font-size: 3.5rem; margin-bottom: 1rem; }
.empty-state h3 { font-size: 1.25rem; font-weight: 700; color: var(--text); margin-bottom: 0.5rem; }

/* Pagination */
.pagination {
    display: flex; justify-content: center; gap: 0.5rem; margin-top: 2.5rem;
}
.pagination a, .pagination span {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 8px;
    border: 1.5px solid var(--border); font-size: 0.875rem;
    text-decoration: none; color: var(--text); font-weight: 500;
    transition: all 0.15s;
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .active { background: var(--primary); color: white; border-color: var(--primary); }

/* ══════════════════════════════════════════════
   MODAL & CAROUSEL
   ══════════════════════════════════════════════ */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10,10,20,0.7); backdrop-filter: blur(6px);
    z-index: 1000; display: none; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.35s ease;
}
.modal-overlay.active { display: flex; opacity: 1; }

.car-modal {
    background: var(--surface);
    width: 90%; max-width: 960px; max-height: 90vh;
    border-radius: var(--radius-lg); overflow: hidden;
    display: grid; grid-template-columns: 1.2fr 1fr;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
    transform: translateY(24px); transition: transform 0.35s ease;
    position: relative;
}
.modal-overlay.active .car-modal { transform: translateY(0); }

.modal-carousel {
    position: relative; background: #080a0e;
    height: 100%; min-height: 420px;
    display: flex; align-items: center; justify-content: center;
}
.modal-carousel img {
    width: 100%; height: 100%; object-fit: contain; display: none;
}
.modal-carousel img.active { display: block; }
.carousel-images { width: 100%; height: 100%; }

.carousel-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.15); color: white; border: none;
    width: 44px; height: 44px; border-radius: 50%; font-size: 1.5rem;
    cursor: pointer; transition: background 0.2s; backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center; z-index: 2;
}
.carousel-btn:hover { background: var(--primary); }
.carousel-prev { left: 1rem; }
.carousel-next { right: 1rem; }

.carousel-dots {
    position: absolute; bottom: 1rem; left: 0; right: 0;
    display: flex; justify-content: center; gap: 8px; z-index: 2;
}
.carousel-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255,255,255,0.35); cursor: pointer;
    transition: all 0.25s; border: 1px solid transparent;
}
.carousel-dot.active { background: white; transform: scale(1.4); border-color: rgba(255,255,255,0.5); }

.modal-info {
    padding: 2.5rem 2rem; overflow-y: auto;
    display: flex; flex-direction: column; position: relative;
}
.modal-close {
    position: absolute; top: 1rem; right: 1rem;
    background: rgba(0,0,0,0.06); color: var(--text);
    border: none; width: 36px; height: 36px; border-radius: 50%;
    cursor: pointer; font-size: 1.3rem;
    display: flex; align-items: center; justify-content: center;
    z-index: 10; transition: all 0.2s;
}
.modal-close:hover { background: var(--primary); color: white; transform: rotate(90deg); }

.modal-title {
    font-size: 1.6rem; font-weight: 800;
    margin-bottom: 0.4rem; padding-right: 2rem;
    line-height: 1.2; color: var(--text);
}
.modal-price {
    font-size: 2.1rem; font-weight: 800;
    color: var(--primary); margin-bottom: 1.25rem;
}
.modal-specs {
    display: flex; gap: 1rem; flex-wrap: wrap;
    margin-bottom: 1.25rem; padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
}
.modal-spec {
    font-size: 0.9rem; color: var(--muted);
    display: flex; align-items: center; gap: 0.35rem; font-weight: 500;
}
.modal-desc {
    font-size: 0.92rem; line-height: 1.7;
    color: var(--text); margin-bottom: 2rem; flex: 1; white-space: pre-wrap;
}
.modal-footer { margin-top: auto; display: flex; flex-direction: column; gap: 0.75rem; }
.modal-agency { font-size: 0.88rem; font-weight: 600; color: var(--muted); text-align: center; }

.btn-quote {
    display: block; width: 100%; text-align: center;
    background: var(--accent); color: white;
    padding: 1.1rem; border-radius: 10px;
    text-decoration: none; font-weight: 800; font-size: 1rem;
    transition: background 0.2s, transform 0.2s;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.btn-quote:hover { background: #b8922f; transform: translateY(-2px); }

/* ══════════════════════════════════════════════
   CTA BANNER
   ══════════════════════════════════════════════ */
.cta-banner {
    background: linear-gradient(135deg, #111827, #1f2937);
    color: white; padding: 3.5rem 2rem;
    text-align: center; margin-top: 3rem;
    position: relative; overflow: hidden;
}
.cta-banner::before {
    content:''; position:absolute; right:-5%; top:-30%;
    width:300px; height:300px; background:var(--primary);
    filter:blur(100px); opacity:0.15; border-radius:50%;
}
.cta-banner::after {
    content:''; position:absolute; left:-5%; bottom:-30%;
    width:250px; height:250px; background:var(--accent);
    filter:blur(80px); opacity:0.12; border-radius:50%;
}
.cta-banner h2 { font-size: 1.75rem; font-weight: 800; margin-bottom: 0.75rem; position:relative; z-index:2; }
.cta-banner p { color: rgba(255,255,255,0.7); margin-bottom: 1.75rem; position:relative; z-index:2; }
.cta-banner a {
    background: var(--accent); color: white;
    padding: 0.9rem 2.5rem; border-radius: 10px;
    text-decoration: none; font-weight: 700; font-size: 1rem;
    display: inline-block; transition: background 0.2s, transform 0.2s;
    position: relative; z-index: 2;
}
.cta-banner a:hover { background: #b8922f; transform: translateY(-2px); }

/* ══════════════════════════════════════════════
   SHARED FOOTER
   ══════════════════════════════════════════════ */
footer {
    background: #0f172a; color: rgba(255,255,255,0.4);
    text-align: center; padding: 1.75rem 2rem; font-size: 0.85rem;
}
footer a { color: var(--accent); text-decoration: none; font-weight: 600; }
footer a:hover { color: white; }

/* ══════════════════════════════════════════════
   PLANES Page specific
   ══════════════════════════════════════════════ */
.hero-badge {
    display: inline-block; background: rgba(255,255,255,0.12);
    padding: 0.3rem 1rem; border-radius: 20px; font-size: 0.82rem;
    font-weight: 600; margin-bottom: 1.5rem; color:white;
}
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: nowrap;
    margin-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    flex-direction: row;
    bottom: 7px;
}
.hero-stat strong { font-size: 1.75rem; font-weight: 800; display: block; color:white; }
.hero-stat span { font-size: 0.85rem; color: rgba(255,255,255,0.65); }

.pricing-section { max-width: 1100px; margin: 0 auto; padding: 4rem 2rem; }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title h2 { font-size: 2rem; font-weight: 800; margin-bottom: 0.5rem; }
.section-title p { color: var(--muted); }

.plans-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem; align-items: start;
}
.plan-card {
    background: var(--surface); border: 2px solid var(--border);
    border-radius: var(--radius-lg); padding: 2rem;
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
}
.plan-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.plan-card.destacado { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.plan-badge {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: var(--primary); color: white;
    padding: 0.3rem 1.25rem; border-radius: 20px; font-size: 0.78rem;
    font-weight: 700; white-space: nowrap;
}
.plan-name { font-size: 1.25rem; font-weight: 800; margin-bottom: 0.5rem; }
.plan-desc { font-size: 0.875rem; color: var(--muted); margin-bottom: 1.5rem; min-height: 40px; }
.plan-price { display: flex; align-items: baseline; gap: 0.25rem; margin-bottom: 0.25rem; }
.plan-price .amount { font-size: 2.5rem; font-weight: 800; color: var(--text); }
.plan-price .currency { font-size: 1.25rem; font-weight: 700; color: var(--muted); }
.plan-price .period { font-size: 0.875rem; color: var(--muted); }
.plan-limits { font-size: 0.8rem; color: var(--muted); margin-bottom: 1.5rem; }
.plan-features { list-style: none; margin-bottom: 2rem; }
.plan-features li {
    display: flex; align-items: flex-start; gap: 0.5rem;
    font-size: 0.875rem; padding: 0.4rem 0;
    border-bottom: 1px solid var(--bg);
}
.plan-features li:last-child { border-bottom: none; }
.feat-icon { flex-shrink: 0; font-size: 0.9rem; }

.btn-plan {
    width: 100%; padding: 0.85rem; border-radius: 10px;
    font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 700;
    cursor: pointer; text-align: center; text-decoration: none; display: block;
    transition: all 0.2s;
}
.btn-plan-primary { background: var(--primary); color: white; border: none; }
.btn-plan-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-plan-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-plan-outline:hover { background: var(--primary); color: white; }

/* Apps section */
.apps-section { background: #1a1d23; padding: 4rem 2rem; }
.apps-inner { max-width: 1100px; margin: 0 auto; }
.apps-section h2 { color: white; font-size: 2rem; font-weight: 800; text-align: center; margin-bottom: 0.5rem; }
.apps-section > p, .apps-inner > p { color: rgba(255,255,255,0.55); text-align: center; margin-bottom: 3rem; }
.apps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.app-chip {
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius); padding: 1.25rem;
    transition: background 0.2s, border-color 0.2s;
}
.app-chip:hover { background: rgba(255,255,255,0.1); border-color: var(--primary); }
.app-chip .icon { font-size: 1.75rem; margin-bottom: 0.75rem; }
.app-chip .name { font-weight: 700; color: white; font-size: 0.95rem; }
.app-chip .desc { font-size: 0.8rem; color: rgba(255,255,255,0.45); margin-top: 0.25rem; }

/* Planes CTA section */
.cta-section { padding: 5rem 2rem; text-align: center; max-width: 620px; margin: 0 auto; }
.cta-section h2 { font-size: 2rem; font-weight: 800; margin-bottom: 1rem; }
.cta-section p { color: var(--muted); margin-bottom: 2rem; font-size: 1rem; }
.btn-main-cta {
    background: var(--primary); color: white;
    padding: 1rem 2.5rem; border-radius: 12px;
    text-decoration: none; font-size: 1.05rem; font-weight: 800;
    display: inline-block; transition: all var(--transition);
    box-shadow: 0 4px 16px rgba(217,32,39,0.3);
}
.btn-main-cta:hover { background: var(--primary-dark); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(217,32,39,0.4); }

/* ══════════════════════════════════════════════
   REGISTRO page specific
   ══════════════════════════════════════════════ */
.page-wrap {
    max-width: 980px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh;
}
.left {
    background: linear-gradient(160deg, #111827 0%, #1f2937 100%);
    padding: 3rem 2.5rem; display: flex; flex-direction: column;
    justify-content: space-between; color: white; position: relative; overflow: hidden;
}
.left::before {
    content:''; position:absolute; right:-10%; top:-20%;
    width:280px; height:280px; background:var(--primary);
    filter:blur(100px); opacity:0.15; border-radius:50%;
}
.brand { display: flex; align-items: center; margin-bottom: 3rem; user-select: none; }
.brand-name { font-size: 2.2rem; font-weight: 900; letter-spacing: -1px; line-height: 1; }
.brand-name span.r { color: var(--primary); }
.brand-name span.g { color: white; }
.brand-name span.c { color: white; font-size: 1.2rem; font-weight: 600; }
.left h2 { font-size: 1.75rem; font-weight: 800; margin-bottom: 1rem; line-height: 1.3; position:relative; z-index:2; }
.left p { color: rgba(255,255,255,0.7); font-size: 0.95rem; margin-bottom: 2rem; position:relative; z-index:2; }

.plan-pill {
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
    border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1.5rem;
    position:relative; z-index:2;
}
.plan-pill .label { font-size: 0.78rem; opacity:0.65; margin-bottom: 0.25rem; }
.plan-pill .name { font-size: 1.15rem; font-weight: 800; }
.plan-pill .price { font-size: 0.875rem; opacity:0.75; margin-top: 0.15rem; }

.features-list { list-style: none; position:relative; z-index:2; }
.features-list li {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.875rem; padding: 0.35rem 0;
    color: rgba(255,255,255,0.82);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.features-list li:last-child { border-bottom: none; }
.left-footer { font-size: 0.8rem; color: rgba(255,255,255,0.35); position:relative; z-index:2; }

.right {
    background: white; padding: 3rem 2.5rem;
    display: flex; flex-direction: column; justify-content: center;
}
.right h1 { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.4rem; }
.right .sub { color: var(--muted); font-size: 0.875rem; margin-bottom: 2rem; }

.form-group { margin-bottom: 1.1rem; }
.form-group label {
    display: block; font-size: 0.82rem; font-weight: 700;
    color: #374151; margin-bottom: 0.4rem;
}
.form-group input,
.form-group select {
    width: 100%; padding: 0.78rem 0.9rem;
    border: 1.5px solid var(--border); border-radius: 8px;
    font-family: 'Inter', sans-serif; font-size: 0.95rem; outline: none;
    transition: border-color 0.2s, box-shadow 0.2s; background: white; color: var(--text);
}
.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(217,32,39,0.1);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.form-hint { font-size: 0.77rem; color: var(--muted); margin-top: 0.3rem; }

.alert-err {
    background: var(--primary-light); border: 1px solid #fca5a5; color: #991b1b;
    padding: 0.9rem; border-radius: 8px; font-size: 0.875rem; margin-bottom: 1.25rem;
}
.plan-selector { display: flex; gap: 0.5rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.plan-opt {
    border: 2px solid var(--border); border-radius: 8px; padding: 0.5rem 0.9rem;
    font-size: 0.82rem; font-weight: 600; cursor: pointer; transition: all 0.15s;
    text-decoration: none; color: var(--muted);
}
.plan-opt.active { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }

.btn-submit {
    width: 100%; padding: 0.95rem; background: var(--primary); color: white;
    border: none; border-radius: 10px; font-family: 'Inter', sans-serif;
    font-size: 1rem; font-weight: 700; cursor: pointer;
    transition: all var(--transition); margin-top: 0.75rem;
    box-shadow: 0 4px 14px rgba(217,32,39,0.25);
}
.btn-submit:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(217,32,39,0.4); }
.btn-submit:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }

.dev-notice {
    background: #fef9c3; border: 1px solid #fde068; color: #854d0e;
    padding: 0.75rem; border-radius: 8px; font-size: 0.8rem; margin-bottom: 1rem;
}
.terms { font-size: 0.78rem; color: var(--muted); text-align: center; margin-top: 0.75rem; }
.terms a { color: var(--primary); text-decoration: none; }

/* ══════════════════════════════════════════════
   LOGIN page specific
   ══════════════════════════════════════════════ */
.page-body {
    flex: 1; display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
}
.left-panel {
    background: linear-gradient(160deg, #111827 0%, #1f2937 100%);
    padding: 4rem 3rem; display: flex; flex-direction: column;
    justify-content: center; position: relative; overflow: hidden;
}
.left-panel::before {
    content:''; position:absolute; right:-10%; top:-20%;
    width:350px; height:350px; background:var(--primary);
    filter:blur(120px); opacity:0.15; border-radius:50%;
}
.left-panel::after {
    content:''; position:absolute; left:-10%; bottom:-20%;
    width:300px; height:300px; background:var(--accent);
    filter:blur(100px); opacity:0.12; border-radius:50%;
}
.left-content { position:relative; z-index:2; }
.left-badge {
    display: inline-flex; align-items:center; gap:0.5rem;
    background: rgba(217,32,39,0.15); border: 1px solid rgba(217,32,39,0.3);
    color: #fa8080; padding: 0.4rem 1rem; border-radius: 20px;
    font-size: 0.8rem; font-weight: 700; letter-spacing: 1px;
    text-transform: uppercase; margin-bottom: 2rem;
}
.left-panel h2 {
    font-size: 2.4rem; font-weight: 900; color: white; line-height: 1.1;
    margin-bottom: 1.25rem; letter-spacing: -1px;
}
.left-panel h2 em { font-style:normal; color:var(--accent); }
.left-panel > p, .left-content p {
    color: rgba(255,255,255,0.6); font-size: 1.05rem; line-height: 1.7; margin-bottom: 2.5rem;
}

.right-panel {
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    padding: 4rem 3rem; background: var(--surface);
}
.login-box { width: 100%; max-width: 420px; }
.login-box h1 { font-size: 1.75rem; font-weight: 900; margin-bottom: 0.5rem; }
.login-box .subtitle { color: var(--muted); font-size: 0.95rem; margin-bottom: 2.5rem; line-height: 1.5; }

.divider {
    display: flex; align-items:center; gap: 1rem;
    margin: 2rem 0; color: var(--muted); font-size: 0.85rem;
}
.divider::before, .divider::after { content:''; flex:1; height:1px; background:var(--border); }

.link-planes {
    display: block; text-align: center;
    padding: 0.85rem; background: var(--bg);
    border: 2px solid var(--border); border-radius: 10px;
    font-size: 0.875rem; font-weight: 700; color: var(--text);
    text-decoration: none; transition: all 0.2s;
}
.link-planes:hover { border-color: var(--accent); color: var(--accent); background: #fdf9ec; }

.back-to-market {
    display: block; text-align: center; margin-top: 2rem;
    font-size: 0.82rem; color: var(--muted); text-decoration: none; transition: color 0.2s;
}
.back-to-market:hover { color: var(--primary); }

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .main-layout { grid-template-columns: 240px 1fr; }
}
/* Toggle filters button (mobile) */
.filters-toggle {
    display: none;
    align-items: center; gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem; font-weight: 600;
    color: var(--text);
    cursor: pointer;
    margin-bottom: 1rem;
    width: fit-content;
}
.filters-toggle:hover { border-color: var(--primary); color: var(--primary); }
.filters-toggle-icon { font-size: 1.1rem; }

/* Close button inside filters sidebar */
.filters-close {
    display: none;
    background: none; border: none;
    font-size: 1.5rem; color: var(--muted);
    cursor: pointer; float: right;
    line-height: 1;
}
.filters-close:hover { color: var(--text); }

/* Mobile overlay for filters */
.filters-overlay {
    display: none;
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4); z-index: 49;
}

@media (max-width: 900px) {
    .main-layout { grid-template-columns: 1fr; }
    .filters { position: static; display: none; }
    .filters.show { display: block; }
    .filters-toggle { display: flex; align-items: center; gap: 0.5rem; }
    .filters-close { display: block; }
    .hero { background-attachment: scroll; }
}

@media (max-width: 768px) {
    .header-inner { padding: 0 1rem; height: 68px; }
    .logo-text { font-size: 1.6rem; }
    .car-modal { grid-template-columns: 1fr; max-height: 95vh; overflow-y: auto; }
    .modal-carousel { min-height: 260px; height: 260px; }
    .modal-info { padding: 1.5rem; overflow-y: visible; }
    .page-wrap { grid-template-columns: 1fr; }
    .left { display: none; }
    .page-body { grid-template-columns: 1fr; }
    .left-panel { display: none; }
}
@media (max-width: 500px) {
    .hero h1 { letter-spacing: -0.5px; }
    .search-bar { border-radius: 12px; }
    .header-links { gap: 1rem; }
    .header-links a:not(.btn-cta):not(.btn-login-outline) { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   SKELETON LOADING
   ═══════════════════════════════════════════════════════════════ */

/* Base skeleton */
.skeleton-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 1.5rem;
}

.car-card.skeleton {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    pointer-events: none;
}

/* Skeleton image placeholder */
.skeleton-img {
    height: 200px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite linear;
}

/* Skeleton body */
.skeleton-body {
    padding: 1.1rem;
}

.skeleton-title {
    height: 1.2rem;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite linear;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.skeleton-subtitle {
    height: 0.9rem;
    width: 60%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite linear;
    border-radius: 4px;
    margin-bottom: 0.7rem;
}

.skeleton-price {
    height: 1.8rem;
    width: 40%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite linear;
    border-radius: 4px;
    margin-bottom: 0.7rem;
}

.skeleton-specs {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.skeleton-spec {
    height: 1rem;
    width: 80px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite linear;
    border-radius: 4px;
}

/* Skeleton footer */
.skeleton-footer {
    padding: 0.75rem 1.1rem;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.skeleton-agency {
    height: 1rem;
    width: 120px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite linear;
    border-radius: 4px;
}

.skeleton-action {
    height: 1rem;
    width: 60px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite linear;
    border-radius: 4px;
}

/* Shimmer animation */
@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .skeleton-grid {
        grid-template-columns: 1fr;
    }
}
