/* ==========================================================================
   Turbogram - Design System & Modern Responsive Theme
   ========================================================================== */

:root {
    --bg-dark: #090a10;
    --bg-card: #131522;
    --bg-card-hover: #1b1e30;
    --bg-glass: rgba(22, 25, 41, 0.85);
    
    --primary: #8a2be2;
    --primary-light: #a855f7;
    --secondary: #ff007a;
    --accent-cyan: #00f2fe;
    
    --gradient-primary: linear-gradient(135deg, #8a2be2 0%, #ff007a 100%);
    --gradient-glow: linear-gradient(135deg, rgba(138, 43, 226, 0.4) 0%, rgba(255, 0, 122, 0.4) 100%);
    --gradient-cyan: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);

    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    --border-color: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(168, 85, 247, 0.3);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
    width: 100%;
}

/* Evitar scroll cuando el menú móvil esté abierto */
body.menu-open {
    overflow: hidden !important;
    touch-action: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
}

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

button, input, select, textarea {
    font-family: inherit;
    font-size: 16px; /* Evita auto-zoom molesto en iOS Safari al enfocar */
}

/* ==========================================================================
   Header & Navigation (Desktop & Mobile Drawer)
   ========================================================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(9, 10, 16, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.85rem 0;
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 1002;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    box-shadow: 0 4px 18px rgba(255, 0, 122, 0.35);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.nav-link:hover, .nav-link:focus {
    color: #fff;
}

.btn-whatsapp-nav {
    background: #25d366;
    color: #fff !important;
    padding: 0.55rem 1.25rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-whatsapp-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.mobile-menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    width: 44px;
    height: 44px;
    font-size: 1.35rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    z-index: 1002;
}

.mobile-menu-toggle:hover, .mobile-menu-toggle.active {
    background: rgba(138, 43, 226, 0.2);
    border-color: var(--primary-light);
    color: #fff;
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 998;
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Navegación Responsive en Móviles (<= 820px) */
@media (max-width: 820px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 86vw);
        height: 100vh;
        height: 100dvh;
        background: rgba(13, 15, 26, 0.98);
        backdrop-filter: blur(28px);
        -webkit-backdrop-filter: blur(28px);
        border-left: 1px solid var(--border-highlight);
        flex-direction: column;
        align-items: stretch;
        padding: 5.5rem 1.5rem 2rem 1.5rem;
        gap: 0.75rem;
        z-index: 1001;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
        overflow-y: auto;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-link {
        width: 100%;
        padding: 0.9rem 1.15rem;
        border-radius: var(--radius-md);
        font-size: 1.05rem;
        font-weight: 600;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid var(--border-color);
        display: flex;
        align-items: center;
        gap: 0.85rem;
        min-height: 48px;
    }

    .nav-link:active, .nav-link:hover {
        background: rgba(138, 43, 226, 0.15);
        border-color: var(--border-highlight);
        color: #fff;
        transform: translateX(4px);
    }

    .btn-whatsapp-nav {
        width: 100%;
        justify-content: center;
        padding: 0.95rem 1.25rem;
        margin-top: 1rem;
        font-size: 1.05rem;
        min-height: 48px;
    }
}

/* ==========================================================================
   Banner de Ofertas de Tiempo Limitado
   ========================================================================== */
.promo-banner {
    background: linear-gradient(90deg, #8a2be2 0%, #ff007a 50%, #8a2be2 100%);
    background-size: 200% 100%;
    animation: promoGlow 6s ease infinite;
    color: #fff;
    padding: 0.6rem 0;
    font-size: 0.9rem;
    position: relative;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(255, 0, 122, 0.35);
}

@keyframes promoGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.promo-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.promo-banner-left {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.promo-fire-badge {
    background: #fff;
    color: #ff007a;
    font-size: 0.75rem;
    font-weight: 900;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.promo-banner-text {
    font-weight: 700;
    letter-spacing: 0.2px;
}

.promo-banner-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.promo-countdown {
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
    font-family: monospace;
    font-weight: 800;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .promo-banner-content {
        justify-content: center;
        text-align: center;
        gap: 0.5rem;
    }
    .promo-banner-left {
        justify-content: center;
    }
    .promo-banner-text {
        font-size: 0.85rem;
    }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    padding: 3.5rem 0 2rem 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-bg-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: min(600px, 90vw);
    height: 380px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.28) 0%, rgba(255, 0, 122, 0.12) 50%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(138, 43, 226, 0.15);
    border: 1px solid var(--border-highlight);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 1.25rem;
    max-width: 100%;
    text-align: center;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.85rem, 6.5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.18;
    margin-bottom: 1.2rem;
    letter-spacing: -0.8px;
    word-break: break-word;
}

.hero-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(0.95rem, 3.2vw, 1.15rem);
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.55;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.feature-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 0.45rem 0.95rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--text-main);
    font-weight: 500;
}

.feature-pill i {
    color: #22c55e;
}

@media (max-width: 480px) {
    .hero {
        padding: 2.25rem 0 1.25rem 0;
    }
    .hero-features {
        gap: 0.5rem;
    }
    .feature-pill {
        font-size: 0.8rem;
        padding: 0.4rem 0.75rem;
    }
}

/* ==========================================================================
   Personalizador / Calculadora Interactiva de Servicio
   ========================================================================== */
.customizer-section {
    padding: 1.5rem 0 3.5rem 0;
    position: relative;
    z-index: 2;
}

.customizer-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    width: 100%;
}

.customizer-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.25rem;
}

@media (max-width: 960px) {
    .customizer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .customizer-card {
        padding: 1.75rem;
    }
}

@media (max-width: 540px) {
    .customizer-card {
        padding: 1.25rem 1rem;
        border-radius: var(--radius-md);
    }
    .customizer-section {
        padding: 0.75rem 0 2.5rem 0;
    }
}

.step-label {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--primary-light);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Grid de Categorías (Redes Sociales) */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 0.65rem;
    margin-bottom: 1.75rem;
}

@media (max-width: 540px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.45rem;
    }
}

@media (max-width: 360px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.category-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.85rem 0.5rem;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 72px;
    text-align: center;
}

.category-btn i {
    font-size: 1.35rem;
}

.category-btn span {
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.category-btn:hover {
    border-color: var(--border-highlight);
    color: #fff;
    background: var(--bg-card-hover);
}

.category-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 18px rgba(138, 43, 226, 0.45);
}

/* Selector de Servicio */
.service-select {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.95rem 1.15rem;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    outline: none;
    margin-bottom: 1.75rem;
    cursor: pointer;
    transition: border 0.25s ease;
    min-height: 48px;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a855f7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
    padding-right: 2.5rem;
}

.service-select:focus {
    border-color: var(--primary-light);
}

/* Quantity Box & Slider */
.quantity-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-bottom: 1.75rem;
}

@media (max-width: 480px) {
    .quantity-box {
        padding: 1rem;
    }
}

.quantity-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    gap: 0.5rem;
}

.quantity-title {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text-muted);
}

.quantity-input-wrap {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.25rem 0.6rem;
}

.quantity-number-input {
    width: 95px;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    text-align: right;
    outline: none;
    font-family: inherit;
}

.range-slider {
    width: 100%;
    height: 10px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    margin-bottom: 0.85rem;
    cursor: pointer;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gradient-primary);
    cursor: pointer;
    box-shadow: 0 0 14px rgba(255, 0, 122, 0.7);
    transition: transform 0.15s ease;
}

.range-slider::-moz-range-thumb {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: var(--gradient-primary);
    cursor: pointer;
    box-shadow: 0 0 14px rgba(255, 0, 122, 0.7);
}

.range-slider::-webkit-slider-thumb:hover, .range-slider::-webkit-slider-thumb:active {
    transform: scale(1.15);
}

.preset-buttons {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.preset-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    padding: 0.45rem 0.75rem;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.preset-btn:hover, .preset-btn:active {
    border-color: var(--primary-light);
    color: #fff;
    background: rgba(138, 43, 226, 0.15);
}

/* Columna Resumen de Compra */
.summary-card {
    background: linear-gradient(180deg, rgba(27, 30, 48, 0.95) 0%, rgba(19, 21, 34, 0.98) 100%);
    border: 1px solid var(--border-highlight);
    border-radius: var(--radius-md);
    padding: 1.65rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@media (max-width: 480px) {
    .summary-card {
        padding: 1.25rem 1rem;
    }
}

.summary-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.85rem;
    margin-bottom: 1.15rem;
}

.summary-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.65rem;
    font-size: 0.92rem;
    gap: 0.75rem;
}

.summary-item .label {
    color: var(--text-muted);
}

.summary-item .value {
    font-weight: 600;
    color: var(--text-main);
    text-align: right;
    word-break: break-word;
}

.price-box {
    background: rgba(138, 43, 226, 0.1);
    border: 1px dashed var(--primary-light);
    border-radius: var(--radius-md);
    padding: 1.15rem;
    text-align: center;
    margin: 1.25rem 0;
}

.price-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.price-original {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #f87171 !important;
    text-decoration: line-through !important;
    margin-bottom: 0.1rem;
    opacity: 0.9;
}

.price-amount {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 6.5vw, 2.6rem);
    font-weight: 900;
    color: #fff;
    margin-top: 0.1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.15;
}

#discountTag {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid #22c55e;
    color: #4ade80;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.4rem;
}

.form-group {
    margin-bottom: 1.15rem;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.form-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
    color: #fff;
    font-size: 16px; /* Evita zoom automático en iPhone */
    outline: none;
    transition: border 0.25s ease;
    min-height: 48px;
}

.form-input:focus {
    border-color: var(--primary-light);
}

.coupon-row {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
}

.coupon-row .form-input {
    flex: 1;
    min-width: 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    cursor: pointer;
    margin-bottom: 1.25rem;
    line-height: 1.4;
}

.checkbox-label input {
    margin-top: 0.15rem;
    accent-color: var(--primary-light);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn-submit-order {
    width: 100%;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    padding: 1.05rem;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 0, 122, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 52px;
}

.btn-submit-order:hover, .btn-submit-order:active {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255, 0, 122, 0.6);
}

/* ==========================================================================
   Modales & Pasos de Confirmación (Mobile First)
   ========================================================================== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-highlight);
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 1.75rem;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

@media (max-width: 480px) {
    .modal-card {
        padding: 1.25rem;
        border-radius: var(--radius-md);
    }
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.alert-warning {
    background: rgba(234, 179, 8, 0.15);
    border: 1px solid rgba(234, 179, 8, 0.4);
    border-radius: var(--radius-md);
    padding: 0.95rem;
    font-size: 0.85rem;
    color: #fef08a;
    margin-bottom: 1.15rem;
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.modal-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

@media (max-width: 480px) {
    .modal-actions {
        flex-direction: column-reverse;
    }
    .modal-actions button {
        width: 100% !important;
        flex: none !important;
    }
}

/* ==========================================================================
   Secciones Informativas: Cómo Funciona & FAQ
   ========================================================================== */
.section-how {
    background: rgba(19, 21, 34, 0.4);
    padding: 3.5rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    text-align: center;
    margin-bottom: 2.5rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    text-align: left;
}

@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .section-how {
        padding: 2.5rem 0;
    }
}

.step-item-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1.75rem 1.5rem;
    border-radius: var(--radius-md);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.step-item-card:hover {
    border-color: var(--border-highlight);
    transform: translateY(-3px);
}

.step-number-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #fff;
    font-weight: 800;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(255, 0, 122, 0.3);
}

.step-item-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.step-item-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.faq-section {
    padding: 3.5rem 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.15rem;
    cursor: pointer;
    transition: border-color 0.25s ease;
}

.faq-item:hover, .faq-item[open] {
    border-color: var(--border-highlight);
}

.faq-question {
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    display: flex;
    align-items: center;
    list-style: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question i {
    color: var(--primary-light);
    margin-right: 0.6rem;
    flex-shrink: 0;
}

.faq-answer {
    color: var(--text-muted);
    margin-top: 0.75rem;
    font-size: 0.92rem;
    line-height: 1.55;
    padding-left: 1.5rem;
}

@media (max-width: 480px) {
    .faq-answer {
        padding-left: 0.25rem;
    }
}

/* ==========================================================================
   Página de Estado del Pedido (status.php)
   ========================================================================== */
.status-page-wrap {
    padding: 2.5rem 0;
    min-height: 70vh;
}

.status-search-form {
    display: flex;
    gap: 0.5rem;
    max-width: 500px;
    margin: 0 auto;
}

@media (max-width: 480px) {
    .status-search-form {
        flex-direction: column;
    }
    .status-search-form button {
        width: 100% !important;
    }
}

.status-card {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-highlight);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

@media (max-width: 640px) {
    .status-card {
        padding: 1.25rem;
        border-radius: var(--radius-md);
    }
}

.status-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 640px) {
    .status-details-grid {
        grid-template-columns: 1fr;
    }
    .status-details-grid .span-2 {
        grid-column: span 1 !important;
    }
}

/* ==========================================================================
   Botón Flotante de WhatsApp
   ========================================================================== */
.float-whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 58px;
    height: 58px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 990;
    transition: transform 0.3s ease;
}

.float-whatsapp:hover, .float-whatsapp:active {
    transform: scale(1.1);
}

.float-whatsapp-ping {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25d366;
    opacity: 0.75;
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
    z-index: -1;
}

@keyframes ping {
    75%, 100% {
        transform: scale(1.45);
        opacity: 0;
    }
}

@media (max-width: 640px) {
    .float-whatsapp {
        bottom: 18px;
        right: 18px;
        width: 52px;
        height: 52px;
        font-size: 1.7rem;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: #06070a;
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1.5rem 0;
    margin-top: 3.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 1rem 0;
    line-height: 1.55;
}

.payment-methods {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.pm-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 0.3rem 0.7rem;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.15rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.65rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(3px);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-dim);
}
