/* ═══════════════════════════════════════════════
   RIFA INMOBILIARIA - High-Conversion Landing Page
   ═══════════════════════════════════════════════ */

:root {
    --primary: #1a5276;
    --primary-dark: #0e3d5c;
    --primary-light: #2980b9;
    --accent: #e67e22;
    --accent-dark: #d35400;
    --accent-light: #f39c12;
    --success: #27ae60;
    --danger: #e74c3c;
    --warning: #f1c40f;
    --dark: #1a1a2e;
    --gray-900: #2d2d44;
    --gray-700: #555;
    --gray-500: #888;
    --gray-300: #ccc;
    --gray-100: #f5f6fa;
    --white: #ffffff;
    --gold: #d4a017;
    --gold-light: #f5e6b8;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    color: var(--gray-900);
    background: var(--gray-100);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ── Typography ────────────────────────────────────── */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}
.section-title h2 { color: var(--primary); margin-bottom: 0.5rem; }
.section-title p { color: var(--gray-700); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* ── Container ─────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ── Floating Action Bar ───────────────────────────── */
.floating-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    font-size: 0.9rem;
}
.floating-bar .countdown-mini { font-weight: 700; color: var(--accent-light); }
.floating-bar .btn-float {
    background: var(--accent);
    color: var(--white);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
    white-space: nowrap;
    animation: pulse-btn 2s infinite;
}
.floating-bar .btn-float:hover { background: var(--accent-dark); transform: scale(1.05); }

@keyframes pulse-btn {
    0%, 100% { box-shadow: 0 0 0 0 rgba(230, 126, 34, 0.5); }
    50% { box-shadow: 0 0 0 10px rgba(230, 126, 34, 0); }
}

/* ── Top Bar ─────────────────────────────────────────── */
/* ── Top Bar ─────────────────────────────────────────── */
.top-bar {
    background: var(--dark);
    color: rgba(255,255,255,0.92);
    font-size: 0.8rem;
    overflow: hidden;
    height: 36px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* ── Mobile: marquee animado ── */
.top-bar-track {
    display: flex;
    width: max-content;
    animation: topbar-marquee 32s linear infinite;
}
.top-bar-track:hover { animation-play-state: paused; }

.top-bar-items {
    display: flex;
    align-items: center;
    padding: 0 3rem;
    white-space: nowrap;
    gap: 0;
}

.top-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0 1.2rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}
.top-bar-item svg {
    flex-shrink: 0;
    opacity: 0.8;
    stroke: currentColor;
}
.top-bar-item.accent {
    color: var(--accent-light);
}
.top-bar-sep {
    opacity: 0.2;
    font-size: 1rem;
    padding: 0 0.1rem;
    user-select: none;
}

@keyframes topbar-marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── Desktop: estático y centrado ── */
@media (min-width: 900px) {
    .top-bar {
        height: 38px;
        font-size: 0.82rem;
    }
    .top-bar-track {
        animation: none;
        width: 100%;
        justify-content: center;
    }
    /* Ocultar el bloque duplicado (solo necesario para el loop móvil) */
    .top-bar-items:last-child {
        display: none;
    }
    .top-bar-items {
        padding: 0 1rem;
        justify-content: center;
    }
    /* Separador visual entre ítems en desktop */
    .top-bar-sep {
        opacity: 0.3;
        font-size: 1.1rem;
    }
}
/* ── Navbar ────────────────────────────────────────── */
.navbar {
    background: var(--white);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 900;
    box-shadow: var(--shadow);
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.navbar .logo { font-size: 1.5rem; font-weight: 800; color: var(--primary); text-decoration: none; }
.navbar .logo span { color: var(--accent); }
.navbar nav { display: flex; gap: 1.5rem; align-items: center; }
.navbar nav a {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}
.navbar nav a:hover { color: var(--primary); }
.navbar .btn-nav {
    background: var(--accent);
    color: var(--white);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
}
.navbar .btn-nav:hover { background: var(--accent-dark); }
.menu-toggle { display: none; cursor: pointer; font-size: 1.5rem; color: var(--primary); background: none; border: none; }

/* ── Hero ──────────────────────────────────────────── */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 60%, var(--dark) 100%);
    color: var(--white);
    padding: 4rem 0 3rem;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}
.hero .container { position: relative; z-index: 2; }
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.hero-text .badge {
    display: inline-block;
    background: rgba(230, 126, 34, 0.2);
    border: 1px solid var(--accent);
    color: var(--accent-light);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.hero-text h1 { margin-bottom: 1rem; }
.hero-text h1 .highlight { color: var(--accent-light); position: relative; }
.hero-text .subtitle { font-size: 1.2rem; opacity: 0.9; margin-bottom: 2rem; line-height: 1.7; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(230, 126, 34, 0.3); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.3); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

.hero-visual { position: relative; }
.hero-visual .main-image {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
    object-fit: cover;
    background: linear-gradient(135deg, #ddd, #eee);
}
.hero-visual .price-tag {
    position: absolute;
    bottom: -15px;
    right: 20px;
    background: var(--accent);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-lg);
}
.hero-visual .price-tag .price-label { font-size: 0.8rem; opacity: 0.9; }
.hero-visual .price-tag .price-value { font-size: 1.8rem; font-weight: 800; }

/* ── Countdown ─────────────────────────────────────── */
.countdown-section {
    background: linear-gradient(135deg, var(--dark), var(--gray-900));
    color: var(--white);
    padding: 2.5rem 0;
}
.countdown-wrapper { text-align: center; }
.countdown-wrapper h3 { margin-bottom: 1.5rem; font-size: 1.3rem; }
.countdown-wrapper h3 span { color: var(--accent-light); }
.countdown-grid {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}
.countdown-item {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 1rem 1.5rem;
    min-width: 80px;
    text-align: center;
}
.countdown-item .number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-light);
    line-height: 1;
}
.countdown-item .label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; opacity: 0.7; margin-top: 0.3rem; }

/* ── Progress Bar ──────────────────────────────────── */
.progress-section { padding: 3rem 0; background: var(--white); }
.progress-card {
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}
.progress-card h3 { color: var(--primary); margin-bottom: 0.5rem; }
.progress-card .progress-subtitle { color: var(--gray-700); margin-bottom: 1.5rem; }
.progress-bar-wrapper {
    background: #e0e0e0;
    border-radius: 50px;
    height: 30px;
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
}
.progress-bar-fill {
    height: 100%;
    border-radius: 50px;
    background: linear-gradient(90deg, var(--success), #2ecc71);
    transition: width 1.5s ease;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 1rem;
    color: var(--white);
    font-weight: 700;
    font-size: 0.85rem;
    min-width: 60px;
}
.progress-stats {
    display: flex;
    justify-content: space-between;
    color: var(--gray-700);
    font-size: 0.9rem;
}
.progress-stats strong { color: var(--primary); }

/* Gallery styles moved to bottom of file — see .gallery-section block */

/* ── Property Info ─────────────────────────────────── */
.property-section { padding: 4rem 0; background: var(--white); }
.property-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.property-features { list-style: none; }
.property-features li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-100);
}
.property-features li .icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}
.property-features li h4 { color: var(--primary); margin-bottom: 0.2rem; }
.property-features li p { color: var(--gray-700); font-size: 0.9rem; }
.property-description {
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border-left: 4px solid var(--accent);
}
.property-description p { margin-bottom: 1rem; color: var(--gray-700); line-height: 1.8; }
.property-location {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius);
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 1rem;
}
.property-location .loc-icon { font-size: 2rem; }

/* ── How It Works ──────────────────────────────────── */
.how-section { padding: 4rem 0; background: var(--gray-100); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.step-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
}
.step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 800;
    font-size: 1.3rem;
    margin: 0 auto 1rem;
}
.step-card h4 { color: var(--primary); margin-bottom: 0.5rem; }
.step-card p { color: var(--gray-700); font-size: 0.9rem; }

/* ── Combos ────────────────────────────────────────── */
.combos-section { padding: 4rem 0; background: var(--white); }
.combos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.combo-card {
    background: var(--white);
    border: 2px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.combo-card:hover { border-color: var(--primary-light); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.combo-card.featured {
    border-color: var(--accent);
    background: linear-gradient(180deg, #fff9f0, var(--white));
}
.combo-card.featured::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
}
.combo-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 0.25rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.combo-badge.vip { background: linear-gradient(135deg, var(--gold), #b8860b); }
.combo-quantity { font-size: 2.5rem; font-weight: 800; color: var(--primary); }
.combo-quantity span { font-size: 1rem; color: var(--gray-500); font-weight: 400; }
.combo-price { margin: 1rem 0; }
.combo-price .original { text-decoration: line-through; color: var(--gray-500); font-size: 0.9rem; }
.combo-price .current { font-size: 1.8rem; font-weight: 800; color: var(--accent); }
.combo-price .per-number { font-size: 0.8rem; color: var(--gray-500); }
.combo-controls { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-top: 1rem; }
.combo-controls button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--gray-300);
    background: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-700);
}
.combo-controls button:hover { border-color: var(--primary); color: var(--primary); }
.combo-controls .qty { font-size: 1.2rem; font-weight: 700; min-width: 30px; text-align: center; }
.btn-add-cart {
    width: 100%;
    margin-top: 1rem;
    padding: 0.7rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}
.btn-add-cart:hover { background: var(--primary-dark); }
.combo-card.featured .btn-add-cart { background: var(--accent); }
.combo-card.featured .btn-add-cart:hover { background: var(--accent-dark); }

/* ── Cart Sidebar ──────────────────────────────────── */
.cart-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 1100; opacity: 0; visibility: hidden; transition: var(--transition); }
.cart-overlay.active { opacity: 1; visibility: visible; }
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 90vw;
    height: 100vh;
    background: var(--white);
    z-index: 1200;
    box-shadow: -5px 0 30px rgba(0,0,0,0.2);
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}
.cart-sidebar.active { right: 0; }
.cart-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cart-header h3 { color: var(--primary); }
.cart-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--gray-700); }
.cart-items { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; }
.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-100);
}
.cart-item-info h4 { font-size: 0.95rem; color: var(--primary); }
.cart-item-info p { font-size: 0.85rem; color: var(--gray-500); }
.cart-item-actions { display: flex; align-items: center; gap: 0.5rem; }
.cart-item-actions button {
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 1px solid var(--gray-300);
    background: var(--white);
    cursor: pointer;
    font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
}
.cart-item-price { font-weight: 700; color: var(--accent); min-width: 60px; text-align: right; }
.cart-remove { color: var(--danger) !important; border-color: var(--danger) !important; font-size: 0.8rem !important; }
.cart-empty { text-align: center; padding: 3rem 1rem; color: var(--gray-500); }
.cart-empty .empty-icon { font-size: 3rem; margin-bottom: 1rem; }
.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--gray-100);
    background: var(--gray-100);
}
.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}
.cart-total .total-amount { font-weight: 800; color: var(--accent); font-size: 1.5rem; }
.btn-checkout {
    width: 100%;
    padding: 1rem;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}
.btn-checkout:hover { background: var(--accent-dark); }
.btn-checkout:disabled { background: var(--gray-300); cursor: not-allowed; }
.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--danger);
    color: var(--white);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart-icon-wrapper { position: relative; cursor: pointer; }

/* ── Checkout Modal ────────────────────────────────── */
.checkout-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1300;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.checkout-overlay.active { display: flex; }
.checkout-modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}
.checkout-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.checkout-header h3 { color: var(--primary); }
.checkout-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--gray-700); }
.checkout-body { padding: 2rem; }
.checkout-steps { display: flex; gap: 0.5rem; margin-bottom: 2rem; }
.checkout-step {
    flex: 1;
    text-align: center;
    padding: 0.5rem;
    background: var(--gray-100);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-500);
    transition: var(--transition);
}
.checkout-step.active { background: var(--primary); color: var(--white); }
.checkout-step.done { background: var(--success); color: var(--white); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.3rem; font-size: 0.9rem; color: var(--gray-700); }
.form-group input, .form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-100);
    border-radius: var(--radius);
    font-size: 0.95rem;
    transition: var(--transition);
    font-family: var(--font-main);
}
.form-group input:focus, .form-group select:focus { border-color: var(--primary-light); outline: none; box-shadow: 0 0 0 3px rgba(41, 128, 185, 0.1); }
.form-group .error { border-color: var(--danger); }
.form-group .error-msg { color: var(--danger); font-size: 0.8rem; margin-top: 0.3rem; }

.payment-options { display: grid; gap: 1rem; margin: 1.5rem 0; }
.payment-option {
    border: 2px solid var(--gray-100);
    border-radius: var(--radius);
    padding: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.payment-option:hover { border-color: var(--primary-light); }
.payment-option.selected { border-color: var(--primary); background: rgba(41, 128, 185, 0.05); }
.payment-option .radio {
    width: 22px; height: 22px;
    border: 2px solid var(--gray-300);
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}
.payment-option.selected .radio { border-color: var(--primary); }
.payment-option.selected .radio::after { content: ''; width: 12px; height: 12px; background: var(--primary); border-radius: 50%; }
.payment-option h4 { margin-bottom: 0.3rem; }
.payment-option p { font-size: 0.85rem; color: var(--gray-500); }

.transfer-info {
    background: var(--gray-100);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-top: 1rem;
    display: none;
}
.transfer-info.visible { display: block; }
.transfer-info table { width: 100%; }
.transfer-info td { padding: 0.5rem 0; font-size: 0.9rem; }
.transfer-info td:first-child { font-weight: 600; color: var(--primary); width: 40%; }

.upload-area {
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1rem;
}
.upload-area:hover { border-color: var(--primary-light); background: rgba(41, 128, 185, 0.03); }
.upload-area .upload-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.upload-area p { color: var(--gray-500); font-size: 0.9rem; }

/* ── Testimonials ──────────────────────────────────── */
.testimonials-section { padding: 4rem 0; background: var(--gray-100); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.testimonial-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.testimonial-stars { color: var(--accent-light); margin-bottom: 1rem; font-size: 1.2rem; }
.testimonial-text { color: var(--gray-700); font-style: italic; margin-bottom: 1.5rem; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.testimonial-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
}
.testimonial-author h4 { font-size: 0.95rem; color: var(--primary); }
.testimonial-author p { font-size: 0.8rem; color: var(--gray-500); }

/* ── Recent Purchases Toast ────────────────────────── */
.purchase-toast {
    position: fixed;
    bottom: 70px;
    left: 20px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 900;
    transform: translateX(-120%);
    transition: transform 0.4s ease;
    max-width: 320px;
    border-left: 4px solid var(--success);
}
.purchase-toast.show { transform: translateX(0); }
.purchase-toast .toast-icon { font-size: 1.5rem; }
.purchase-toast .toast-text { font-size: 0.85rem; }
.purchase-toast .toast-text strong { color: var(--primary); }
.purchase-toast .toast-time { font-size: 0.75rem; color: var(--gray-500); }

/* ── FAQ ───────────────────────────────────────────── */
.faq-section { padding: 4rem 0; background: var(--white); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    overflow: hidden;
}
.faq-question {
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
}
.faq-question:hover { background: var(--gray-100); }
.faq-question .arrow { transition: transform 0.3s ease; }
.faq-item.active .faq-question .arrow { transform: rotate(180deg); }
.faq-answer { padding: 0 1.5rem; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
.faq-item.active .faq-answer { max-height: 300px; padding: 0 1.5rem 1.5rem; }
.faq-answer p { color: var(--gray-700); line-height: 1.7; }

/* ── Lookup Section ────────────────────────────────── */
.lookup-section { padding: 4rem 0; background: var(--gray-100); }
.lookup-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: var(--shadow);
    text-align: center;
}
.lookup-card .lookup-icon { font-size: 3rem; margin-bottom: 1rem; }
.lookup-card h3 { color: var(--primary); margin-bottom: 0.5rem; }
.lookup-card p { color: var(--gray-700); margin-bottom: 1.5rem; }
.lookup-form { display: flex; gap: 0.75rem; }
.lookup-form input { flex: 1; padding: 0.8rem 1rem; border: 2px solid var(--gray-100); border-radius: var(--radius); font-size: 1rem; }
.lookup-form input:focus { border-color: var(--primary-light); outline: none; }
.lookup-form button { padding: 0.8rem 1.5rem; background: var(--primary); color: var(--white); border: none; border-radius: var(--radius); font-weight: 700; cursor: pointer; transition: var(--transition); white-space: nowrap; }
.lookup-form button:hover { background: var(--primary-dark); }
.lookup-results { margin-top: 2rem; text-align: left; display: none; }
.lookup-results.visible { display: block; }
.lookup-result-item {
    background: var(--gray-100);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
}
.lookup-result-item h4 { color: var(--primary); margin-bottom: 0.5rem; }
.ticket-numbers { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.ticket-number {
    background: var(--primary);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
}

/* ── Contact Section ───────────────────────────────── */
.contact-section { padding: 4rem 0; background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; max-width: 900px; margin: 0 auto; }
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.contact-info-item .ci-icon {
    width: 45px; height: 45px;
    background: var(--primary);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}
.contact-info-item h4 { font-size: 0.9rem; color: var(--primary); }
.contact-info-item p { font-size: 0.9rem; color: var(--gray-700); }

/* ── WhatsApp Button ───────────────────────────────── */
.whatsapp-float {
    position: fixed;
    bottom: 70px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    z-index: 800;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5); }

/* ── Footer ────────────────────────────────────────── */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 3rem 0 5rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
}
.footer h4 { margin-bottom: 1rem; font-size: 1rem; }
.footer p, .footer a { color: rgba(255,255,255,0.7); font-size: 0.9rem; text-decoration: none; }
.footer a:hover { color: var(--white); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

/* ── Success Modal ─────────────────────────────────── */
.success-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.success-overlay.active { display: flex; }
.success-modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 3rem;
    text-align: center;
    max-width: 500px;
    width: 100%;
}
.success-modal .success-icon { font-size: 4rem; margin-bottom: 1rem; }
.success-modal h2 { color: var(--primary); margin-bottom: 0.5rem; }
.success-modal p { color: var(--gray-700); margin-bottom: 1rem; }
.success-modal .order-number { font-size: 1.3rem; font-weight: 700; color: var(--accent); }
.success-tickets { margin: 1.5rem 0; }

/* ── Admin Panel ───────────────────────────────────── */
.admin-container { max-width: 1200px; margin: 0 auto; padding: 2rem 1.5rem; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.admin-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 2rem; }
.admin-stat-card { background: var(--white); border-radius: var(--radius); padding: 1.5rem; text-align: center; box-shadow: var(--shadow); }
.admin-stat-card .stat-value { font-size: 2rem; font-weight: 800; color: var(--primary); }
.admin-stat-card .stat-label { font-size: 0.85rem; color: var(--gray-500); }
.admin-table-wrapper { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { background: var(--primary); color: var(--white); padding: 1rem; text-align: left; font-size: 0.85rem; white-space: nowrap; }
.admin-table td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--gray-100); font-size: 0.9rem; }
.admin-table tr:hover { background: var(--gray-100); }
.status-badge { padding: 0.3rem 0.8rem; border-radius: 50px; font-size: 0.75rem; font-weight: 700; }
.status-badge.pendiente { background: #fff3cd; color: #856404; }
.status-badge.verificando { background: #cce5ff; color: #004085; }
.status-badge.pagado { background: #d4edda; color: #155724; }
.status-badge.cancelado { background: #f8d7da; color: #721c24; }
.status-badge.expirado { background: #e2e3e5; color: #383d41; }
.admin-actions button {
    padding: 0.4rem 0.8rem;
    border: none;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    margin-right: 0.3rem;
    font-weight: 600;
}
.btn-approve { background: var(--success); color: var(--white); }
.btn-cancel { background: var(--danger); color: var(--white); }
.btn-view { background: var(--primary); color: var(--white); }
.admin-login { max-width: 400px; margin: 5rem auto; background: var(--white); padding: 2.5rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.admin-login h2 { text-align: center; color: var(--primary); margin-bottom: 2rem; }
.admin-filters { display: flex; gap: 0.5rem; margin-bottom: 1rem; flex-wrap: wrap; }
.admin-filters button { padding: 0.5rem 1rem; border: 2px solid var(--gray-100); background: var(--white); border-radius: 50px; cursor: pointer; font-size: 0.85rem; font-weight: 600; transition: var(--transition); }
.admin-filters button.active { border-color: var(--primary); background: var(--primary); color: var(--white); }

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 992px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-cta { justify-content: center; }
    .property-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .admin-stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .navbar nav { display: none; }
    .navbar nav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 1rem;
        box-shadow: var(--shadow);
    }
    .menu-toggle { display: block; }
    .hero { padding: 3rem 0 2rem; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-item.large { grid-column: span 2; }
    .steps-grid { grid-template-columns: 1fr; }
    .combos-grid { grid-template-columns: 1fr 1fr; }
    .countdown-grid { gap: 0.75rem; }
    .countdown-item { min-width: 65px; padding: 0.75rem 1rem; }
    .countdown-item .number { font-size: 2rem; }
    .form-row { grid-template-columns: 1fr; }
    .floating-bar { font-size: 0.8rem; gap: 0.75rem; padding: 0.6rem 1rem; }
    .lookup-form { flex-direction: column; }
}
@media (max-width: 480px) {
    .combos-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item.large { grid-column: span 1; }
}

/* ── Utility ───────────────────────────────────────── */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.hidden { display: none !important; }

/* ── Loading Spinner ───────────────────────────────── */
.spinner { display: inline-block; width: 20px; height: 20px; border: 3px solid rgba(255,255,255,0.3); border-radius: 50%; border-top-color: var(--white); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Skeleton Loading ──────────────────────────────── */
.skeleton { background: linear-gradient(90deg, var(--gray-100) 25%, #e8e8e8 50%, var(--gray-100) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: var(--radius); }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

/* Lightbox styles moved to bottom of file — see .lightbox block */

/* ── Galería ─────────────────────────────────────────── */
.gallery-section { padding: 4rem 0; background: var(--gray-100); }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 4/3;
    cursor: pointer;
    background: var(--gray-300);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
    min-height: 300px;
}

/* ── Lightbox ────────────────────────────────────────── */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.25s ease;
}
.lightbox.active { display: flex; }

.lightbox-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 90vw;
    max-height: 90vh;
}
.lightbox-content img {
    max-width: 90vw;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 60px rgba(230, 126, 34, 0.4);
    display: block;
}
.lightbox-close {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
    font-size: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 2010;
}
.lightbox-close:hover { background: var(--accent); border-color: var(--accent); }

.lightbox-prev, .lightbox-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(230, 126, 34, 0.85);
    color: var(--white);
    border: none;
    width: 52px;
    height: 52px;
    font-size: 1.4rem;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 2010;
}
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
.lightbox-prev:hover, .lightbox-next:hover {
    background: var(--accent);
    transform: translateY(-50%) scale(1.1);
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 768px) {
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-item.large { grid-column: span 2; }
    .lightbox-prev { left: 0.75rem; }
    .lightbox-next { right: 0.75rem; }
}
@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item.large { grid-column: span 1; }
}