/* =============================================== */
/*         CATÁLOGO PÚBLICO - TEMPLATE 1          */
/*          Diseño Minimalista Moderno            */
/* =============================================== */

:root {
    /* Colores principales */
    --primary-cyan: #00e6ff;
    --primary-turquoise: #40e0d0;
    --secondary-blue: #0099cc;
    --accent-teal: #008b8b;

    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-turquoise) 50%, var(--secondary-blue) 100%);
    --gradient-card: linear-gradient(135deg, rgba(0, 230, 255, 0.1) 0%, rgba(64, 224, 208, 0.05) 100%);
    --gradient-hover: linear-gradient(135deg, rgba(0, 230, 255, 0.2) 0%, rgba(64, 224, 208, 0.1) 100%);

    /* Colores neutros */
    --white: #ffffff;
    --black: #000000;
    --dark-bg: #0a0b0f;
    --dark-surface: #1a1b23;
    --dark-card: rgba(26, 27, 35, 0.8);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(20px);

    /* Sombras */
    --shadow-small: 0 4px 15px rgba(0, 230, 255, 0.1);
    --shadow-medium: 0 8px 30px rgba(0, 230, 255, 0.15);
    --shadow-large: 0 15px 50px rgba(0, 230, 255, 0.2);
    --glow-cyan: 0 0 20px rgba(0, 230, 255, 0.3);

    /* Tipografía */
    --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Tamaños */
    --font-xs: 0.75rem;
    --font-sm: 0.875rem;
    --font-base: 1rem;
    --font-lg: 1.125rem;
    --font-xl: 1.25rem;
    --font-2xl: 1.5rem;
    --font-3xl: 1.875rem;
    --font-4xl: 2.25rem;
    --font-5xl: 3rem;

    /* Espaciado */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-base: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;

    /* Transiciones */
    --transition-fast: all 0.2s ease;
    --transition-medium: all 0.3s ease;
    --transition-slow: all 0.5s ease;

    /* Bordes */
    --border-radius-sm: 0.5rem;
    --border-radius-base: 1rem;
    --border-radius-lg: 1.5rem;
    --border-radius-full: 9999px;
}

/* ========================== */
/*         RESET & BASE       */
/* ========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(0, 230, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(64, 224, 208, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(0, 153, 204, 0.1) 0%, transparent 50%);
    z-index: -2;
    pointer-events: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-base);
}

/* ========================== */
/*    PARTÍCULAS FLOTANTES    */
/* ========================== */
.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-cyan);
    border-radius: 50%;
    opacity: 0.6;
    animation: float 20s infinite linear;
    box-shadow: var(--glow-cyan);
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 15s;
}

.particle:nth-child(2) {
    left: 20%;
    animation-delay: 2s;
    animation-duration: 18s;
    width: 6px;
    height: 6px;
}

.particle:nth-child(3) {
    left: 30%;
    animation-delay: 4s;
    animation-duration: 22s;
}

.particle:nth-child(4) {
    left: 40%;
    animation-delay: 6s;
    animation-duration: 16s;
    width: 8px;
    height: 8px;
}

.particle:nth-child(5) {
    left: 50%;
    animation-delay: 8s;
    animation-duration: 20s;
}

.particle:nth-child(6) {
    left: 60%;
    animation-delay: 10s;
    animation-duration: 19s;
    width: 5px;
    height: 5px;
}

.particle:nth-child(7) {
    left: 70%;
    animation-delay: 12s;
    animation-duration: 17s;
}

.particle:nth-child(8) {
    left: 80%;
    animation-delay: 14s;
    animation-duration: 21s;
    width: 7px;
    height: 7px;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* ========================== */
/*          HEADER            */
/* ========================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: var(--transition-medium);
}

.header.scrolled {
    background: var(--dark-card);
    box-shadow: var(--shadow-medium);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-base) 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: 700;
    font-size: var(--font-xl);
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-sm);
    object-fit: cover;
}

.logo-placeholder,
.logo-placeholder-small {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-lg);
    color: var(--white);
}

.logo-placeholder-small {
    width: 32px;
    height: 32px;
    font-size: var(--font-base);
}

.logo span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-whatsapp-header {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
    background: linear-gradient(135deg, #25d366, #20b358);
    color: var(--white);
    border-radius: var(--border-radius-base);
    font-weight: 600;
    transition: var(--transition-medium);
    box-shadow: var(--shadow-small);
}

.btn-whatsapp-header:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* ========================== */
/*           HERO             */
/* ========================== */
.catalogo-hero {
    padding: calc(80px + var(--spacing-2xl)) 0 var(--spacing-2xl);
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-base);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-full);
    font-size: var(--font-sm);
    font-weight: 500;
    color: var(--primary-cyan);
    backdrop-filter: var(--glass-blur);
    box-shadow: var(--shadow-small);
    margin-bottom: var(--spacing-lg);
}

.hero-title {
    font-size: var(--font-4xl);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: var(--font-lg);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
}

.hero-stats {
    display: flex;
    gap: var(--spacing-xl);
    justify-content: center;
    margin-top: var(--spacing-xl);
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: var(--font-2xl);
    font-weight: 700;
    color: var(--primary-cyan);
    display: block;
}

.stat-label {
    font-size: var(--font-sm);
    color: var(--text-muted);
    margin-top: var(--spacing-xs);
}

/* ========================== */
/*         CATÁLOGO           */
/* ========================== */
.catalogo-servicios {
    padding: var(--spacing-2xl) 0;
}

.categoria-section {
    margin-bottom: var(--spacing-3xl);
}

.categoria-header {
    margin-bottom: var(--spacing-xl);
}

.categoria-title {
    display: flex;
    align-items: center;
    gap: var(--spacing-base);
    font-size: var(--font-3xl);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.categoria-title i {
    color: var(--primary-cyan);
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--spacing-xl);
}

/* Service Items */
.service-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    backdrop-filter: var(--glass-blur);
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-hover);
    transition: var(--transition-slow);
}

.service-item:hover::before {
    left: 0;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
    border-color: var(--primary-cyan);
}

.service-header {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-base);
    position: relative;
    z-index: 1;
}

.service-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-base);
    font-size: var(--font-lg);
    color: var(--white);
}

.service-header h3 {
    font-size: var(--font-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.service-description {
    font-size: var(--font-sm);
    color: var(--text-secondary);
    line-height: 1.4;
}

.service-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-base);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    position: relative;
    z-index: 1;
}

.price-label {
    font-weight: 600;
    color: var(--text-secondary);
}

.price-value {
    font-weight: 700;
    color: var(--primary-cyan);
    font-size: var(--font-2xl);
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    position: relative;
    z-index: 1;
}

.feature {
    font-size: var(--font-sm);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
}

.feature.available {
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.3);
}

.feature.limited {
    color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.3);
}

.feature.out {
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.3);
}

.feature.featured {
    color: #fbbf24;
    border-color: rgba(251, 191, 36, 0.3);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-base) var(--spacing-lg);
    background: linear-gradient(135deg, #25d366, #20b358);
    color: var(--white);
    border-radius: var(--border-radius-base);
    font-weight: 600;
    transition: var(--transition-medium);
    box-shadow: var(--shadow-small);
    position: relative;
    z-index: 1;
    text-align: center;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-base) var(--spacing-xl);
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--border-radius-base);
    font-weight: 600;
    transition: var(--transition-medium);
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-large);
}

/* Empty Catalog */
.empty-catalog {
    text-align: center;
    padding: var(--spacing-3xl);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    backdrop-filter: var(--glass-blur);
}

.empty-catalog i {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-lg);
}

.empty-catalog h3 {
    font-size: var(--font-2xl);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.empty-catalog p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
}

/* ========================== */
/*          FOOTER            */
/* ========================== */
.footer {
    background: var(--dark-surface);
    border-top: 1px solid var(--glass-border);
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
    margin-top: var(--spacing-3xl);
}

.footer-content {
    margin-bottom: var(--spacing-xl);
}

.footer-main {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    font-weight: 700;
    font-size: var(--font-xl);
    margin-bottom: var(--spacing-base);
}

.footer-logo img {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-sm);
    object-fit: cover;
}

.footer-logo span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-base) var(--spacing-lg);
    background: linear-gradient(135deg, #25d366, #20b358);
    color: var(--white);
    border-radius: var(--border-radius-base);
    font-weight: 600;
    transition: var(--transition-medium);
    box-shadow: var(--shadow-medium);
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-large);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
}

.footer-bottom p {
    margin-bottom: var(--spacing-sm);
}

/* ========================== */
/*      WHATSAPP FLOTANTE     */
/* ========================== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366, #20b358);
    color: var(--white);
    border-radius: 50%;
    font-size: var(--font-xl);
    box-shadow: var(--shadow-large);
    transition: var(--transition-medium);
    animation: whatsappPulse 2s ease-in-out infinite;
}

.whatsapp-float a:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

@keyframes whatsappPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* ========================== */
/*        RESPONSIVE          */
/* ========================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: var(--font-3xl);
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-base);
    }

    .servicios-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .btn-whatsapp-header span {
        display: none;
    }

    .whatsapp-float {
        bottom: 1rem;
        right: 1rem;
    }

    .whatsapp-float a {
        width: 50px;
        height: 50px;
        font-size: var(--font-lg);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    .hero-title {
        font-size: var(--font-2xl);
    }

    .categoria-title {
        font-size: var(--font-2xl);
    }

    .service-item {
        padding: var(--spacing-lg);
    }

    .price-value {
        font-size: var(--font-xl);
    }
}
/* =========================================================
   BARRA DE BÚSQUEDA + CATEGORÍAS — V2
   ========================================================= */
.catalog-toolbar { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:0 0 18px; }
.catalog-search { position:relative; flex:1; max-width:620px; }
.catalog-search > i { position:absolute; left:17px; top:50%; transform:translateY(-50%); color:var(--primary-cyan); pointer-events:none; }
.catalog-search input { width:100%; height:52px; border:1px solid rgba(255,255,255,.12); border-radius:16px; outline:none; padding:0 48px; background:rgba(255,255,255,.055); color:#fff; font:500 15px var(--font-family); backdrop-filter:blur(15px); transition:.25s ease; }
.catalog-search input::placeholder { color:rgba(255,255,255,.48); }
.catalog-search input:focus { border-color:rgba(0,230,255,.55); box-shadow:0 0 0 4px rgba(0,230,255,.08); }
.catalog-search button { position:absolute; right:10px; top:50%; transform:translateY(-50%); width:34px; height:34px; border:0; border-radius:10px; background:transparent; color:#fff; opacity:0; pointer-events:none; cursor:pointer; }
.catalog-search button.visible { opacity:.75; pointer-events:auto; }
.catalog-search button:hover { background:rgba(255,255,255,.08); opacity:1; }
.catalog-meta { color:var(--text-secondary); font-size:13px; font-weight:600; white-space:nowrap; }
.catalog-categories { display:flex; gap:9px; overflow-x:auto; padding:2px 2px 18px; scrollbar-width:none; }
.catalog-categories::-webkit-scrollbar { display:none; }
.category-chip { flex:0 0 auto; border:1px solid rgba(255,255,255,.11); background:rgba(255,255,255,.045); color:rgba(255,255,255,.76); border-radius:999px; padding:9px 16px; cursor:pointer; font:600 13px var(--font-family); transition:.25s ease; }
.category-chip:hover { border-color:rgba(0,230,255,.4); color:#fff; transform:translateY(-1px); }
.category-chip.active { color:#071014; border-color:transparent; background:var(--gradient-primary); box-shadow:0 6px 20px rgba(0,230,255,.18); }
.catalog-no-results { text-align:center; padding:70px 20px; border:1px dashed rgba(255,255,255,.13); border-radius:22px; background:rgba(255,255,255,.025); }
.catalog-no-results[hidden] { display:none; }
.no-results-icon { width:68px; height:68px; margin:0 auto 15px; display:grid; place-items:center; border-radius:20px; background:rgba(0,230,255,.08); color:var(--primary-cyan); font-size:25px; }
.catalog-no-results h3 { margin-bottom:5px; }
.catalog-no-results p { color:var(--text-secondary); margin-bottom:18px; }
.btn-reset-filters { border:0; border-radius:12px; padding:11px 18px; background:var(--gradient-primary); color:#fff; font-weight:700; cursor:pointer; }
.product-card[hidden] { display:none !important; }

@media (max-width: 640px) {
    .catalog-toolbar { align-items:stretch; flex-direction:column; gap:10px; }
    .catalog-search { max-width:none; }
    .catalog-meta { text-align:right; }
}

/* ==========================================================
   TECNO VIP — HERO PREMIUM V11
   Inspirado en la referencia móvil: sobrio, espacioso,
   elegante y con neón controlado. Sin bordes multicolor.
   ========================================================== */
.catalogo-hero {
    position: relative;
    min-height: 760px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 150px 0 72px;
    isolation: isolate;
    background:
        radial-gradient(ellipse at 50% 36%, rgba(0, 214, 255, .075), transparent 42%),
        radial-gradient(ellipse at 50% 100%, rgba(0, 145, 210, .055), transparent 48%),
        linear-gradient(180deg, rgba(3, 13, 19, .35), rgba(2, 9, 15, .08));
}
.catalogo-hero::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -300px;
    width: min(1050px, 120vw);
    height: 520px;
    transform: translateX(-50%);
    border-radius: 50%;
    border: 1px solid rgba(0, 205, 255, .20);
    box-shadow: 0 -10px 80px rgba(0, 190, 255, .06), inset 0 8px 30px rgba(0, 190, 255, .035);
    pointer-events: none;
    z-index: -1;
}
.catalogo-hero::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 300px;
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(0, 220, 255, .7), transparent);
    box-shadow: 0 0 18px rgba(0, 220, 255, .35);
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 4;
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}
.hero-badge {
    margin-bottom: 28px;
    padding: 12px 20px;
    border: 1px solid rgba(0, 220, 255, .24);
    background: rgba(7, 24, 33, .52);
    box-shadow: 0 10px 35px rgba(0, 0, 0, .16), inset 0 1px 0 rgba(255,255,255,.035);
    color: #10d9ef;
    letter-spacing: .2px;
}
.hero-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #11dff1;
    box-shadow: 0 0 12px rgba(17, 223, 241, .6);
}
.hero-title {
    margin: 0;
    font-size: clamp(3rem, 6vw, 5.8rem);
    line-height: .98;
    letter-spacing: -2.8px;
    font-weight: 900;
    text-wrap: balance;
}
.gradient-text {
    background: linear-gradient(100deg, #13e2eb 0%, #08cde8 45%, #1974f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 18px rgba(0, 195, 255, .10));
}
.hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(330px, 75%);
    margin: 30px auto 22px;
}
.hero-divider::before,
.hero-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 213, 240, .35));
}
.hero-divider::after { background: linear-gradient(90deg, rgba(0, 213, 240, .35), transparent); }
.hero-divider span {
    width: 8px;
    height: 8px;
    margin: 0 10px;
    transform: rotate(45deg);
    background: #11dbea;
    box-shadow: 0 0 16px rgba(17, 219, 234, .45);
}
.hero-description {
    max-width: 720px;
    margin: 0 auto;
    color: rgba(226, 238, 242, .72);
    font-size: clamp(1rem, 1.7vw, 1.25rem);
    line-height: 1.75;
    letter-spacing: .1px;
}
.hero-actions { margin: 28px 0 34px; }
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    min-width: 270px;
    justify-content: center;
    padding: 15px 22px;
    border-radius: 17px;
    color: #031117;
    background: linear-gradient(100deg, #12dce7, #159df2);
    box-shadow: 0 12px 38px rgba(0, 180, 240, .17), inset 0 1px 0 rgba(255,255,255,.4);
    font-size: 1rem;
    font-weight: 800;
    transition: transform .25s ease, box-shadow .25s ease;
}
.hero-cta:hover { transform: translateY(-3px); box-shadow: 0 17px 45px rgba(0, 180, 240, .24), inset 0 1px 0 rgba(255,255,255,.4); }
.hero-cta-arrow { margin-left: 7px; opacity: .8; font-size: .85rem; }
.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(240px, 310px));
    justify-content: center;
    gap: 14px;
    margin-top: 0;
}
.stat {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    text-align: left;
    border: 1px solid rgba(104, 177, 199, .18);
    border-radius: 22px;
    background: rgba(8, 20, 28, .60);
    box-shadow: 0 14px 45px rgba(0,0,0,.14), inset 0 1px 0 rgba(255,255,255,.025);
    backdrop-filter: blur(12px);
}
.stat-icon {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(0, 218, 239, .45);
    color: #d9fbff;
    background: rgba(0, 150, 190, .08);
    box-shadow: inset 0 0 20px rgba(0, 197, 230, .05);
}
.stat-copy { display: flex; flex-direction: column; min-width: 0; }
.stat-number { font-size: 1.8rem; line-height: 1; color: #10ddec; font-weight: 900; }
.stat-label { margin-top: 7px; color: rgba(226, 238, 242, .60); font-size: .84rem; }
.hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 780px;
    margin: 26px auto 0;
    padding: 16px 20px;
    border: 1px solid rgba(104, 177, 199, .13);
    border-radius: 20px;
    background: rgba(6, 17, 24, .48);
    backdrop-filter: blur(10px);
}
.trust-item { display: flex; align-items: center; gap: 10px; text-align: left; }
.trust-item > i { color: #13d9e8; font-size: 1.1rem; }
.trust-item span { display: flex; flex-direction: column; }
.trust-item strong { font-size: .78rem; color: rgba(240,247,250,.86); font-weight: 700; }
.trust-item small { margin-top: 2px; color: rgba(190,207,214,.48); font-size: .68rem; }
.trust-separator { width: 1px; height: 34px; background: rgba(120,170,185,.14); }
.hero-service-rail {
    position: absolute;
    top: 50%;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 155px;
    transform: translateY(-44%);
    opacity: .52;
    pointer-events: none;
}
.hero-service-rail-left { left: max(16px, calc(50% - 640px)); }
.hero-service-rail-right { right: max(16px, calc(50% - 640px)); }
.hero-service-rail span {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 13px 12px;
    border: 1px solid rgba(58, 129, 151, .18);
    border-radius: 12px;
    background: rgba(7, 19, 27, .45);
    color: rgba(212, 233, 238, .62);
    font-size: .72rem;
    box-shadow: 0 12px 30px rgba(0,0,0,.12);
}
.hero-service-rail span i { color: #0ccfe2; width: 16px; text-align: center; }
.hero-service-rail-right { text-align: right; }
.hero-glow-center {
    position: absolute;
    left: 50%; top: 43%;
    width: 430px; height: 250px;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse, rgba(0, 190, 235, .07), transparent 68%);
    filter: blur(8px);
    z-index: 0;
    pointer-events: none;
}
.hero-orbit { position:absolute; width: 520px; height: 520px; border:1px solid rgba(0,191,220,.08); border-radius:50%; z-index:0; pointer-events:none; }
.hero-orbit-left { left:-360px; top:110px; }
.hero-orbit-right { right:-360px; top:110px; }
@media (max-width: 900px) {
    .catalogo-hero { min-height: 700px; padding-top: 130px; }
    .hero-service-rail { display: none; }
}
@media (max-width: 600px) {
    .catalogo-hero { min-height: auto; padding: 125px 0 55px; }
    .hero-content { max-width: 100%; }
    .hero-badge { margin-bottom: 23px; padding: 10px 16px; }
    .hero-title { font-size: clamp(2.75rem, 13vw, 4rem); letter-spacing: -1.8px; }
    .hero-divider { margin: 25px auto 18px; }
    .hero-description { padding: 0 10px; font-size: .98rem; line-height: 1.65; }
    .hero-cta { width: min(100%, 330px); min-width: 0; padding: 15px 18px; }
    .hero-stats { grid-template-columns: 1fr 1fr; gap: 9px; }
    .stat { padding: 15px 10px; border-radius: 18px; gap: 9px; }
    .stat-icon { flex-basis: 44px; width: 44px; height: 44px; font-size: .85rem; }
    .stat-number { font-size: 1.45rem; }
    .stat-label { font-size: .67rem; line-height: 1.25; }
    .hero-trust { display: grid; grid-template-columns: 1fr; gap: 0; padding: 6px 15px; border-radius: 18px; }
    .trust-item { padding: 12px 4px; }
    .trust-separator { width: 100%; height: 1px; }
    .trust-item strong { font-size: .74rem; }
    .trust-item small { font-size: .65rem; }
    .hero-orbit { opacity: .35; }
}

/* ==========================================================
   TECNO VIP V13 — MOBILE FIRST / HARDENED
   Ajustes de usabilidad para teléfonos pequeños y altos.
   ========================================================== */
html { overflow-x: hidden; }
body { overflow-x: hidden; }

@media (max-width: 768px) {
    .container { width: min(100%, 100%); padding-left: 14px; padding-right: 14px; }

    /* Header compacto: evita que logo + WhatsApp se salgan de pantalla */
    .header { min-height: 68px; }
    .nav-container { min-height: 68px; padding: 9px 0; gap: 10px; }
    .logo { min-width: 0; gap: 9px; flex: 1 1 auto; overflow: hidden; }
    .logo img, .logo-placeholder { width: 42px; height: 42px; flex: 0 0 42px; }
    .logo span {
        min-width: 0;
        max-width: 180px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 16px;
        line-height: 1.15;
    }
    .btn-whatsapp-header {
        flex: 0 0 auto;
        width: 44px;
        height: 44px;
        padding: 0;
        border-radius: 14px;
        justify-content: center;
        font-size: 19px;
    }
    .btn-whatsapp-header span { display: none !important; }

    /* Hero: menos altura, más aire y mejor lectura */
    .catalogo-hero {
        min-height: auto;
        padding: 105px 0 42px;
    }
    .hero-content { width: 100%; }
    .hero-badge { margin-bottom: 18px; max-width: 100%; }
    .hero-title {
        font-size: clamp(2.15rem, 11.5vw, 3.15rem);
        line-height: 1.03;
        letter-spacing: -1.25px;
        overflow-wrap: anywhere;
    }
    .gradient-text { filter: none; }
    .hero-divider { margin: 20px auto 16px; }
    .hero-description {
        max-width: 350px;
        padding: 0 6px;
        font-size: .92rem;
        line-height: 1.6;
    }
    .hero-actions { margin: 22px 0 24px; }
    .hero-cta {
        width: 100%;
        max-width: 340px;
        min-height: 50px;
        padding: 13px 16px;
        border-radius: 14px;
    }
    .hero-stats { width: 100%; grid-template-columns: 1fr 1fr; gap: 8px; }
    .stat {
        min-width: 0;
        padding: 13px 10px;
        gap: 8px;
        border-radius: 16px;
    }
    .stat-icon { flex-basis: 40px; width: 40px; height: 40px; }
    .stat-number { font-size: 1.35rem; }
    .stat-label { font-size: .64rem; line-height: 1.25; }
    .hero-trust { margin-top: 18px; }

    /* Catálogo: una columna en teléfonos pequeños = botones realmente utilizables */
    .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .product-card { min-width: 0; border-radius: 17px; }
    .product-info { padding: 12px; gap: 7px; }
    .product-name { font-size: .88rem; min-height: 2.45em; }
    .product-description { font-size: .72rem; min-height: 2.55em; line-height: 1.35; }
    .product-price { font-size: 1.08rem; }
    .product-actions { grid-template-columns: 1fr; gap: 7px; margin-top: 4px; }
    .btn-buy, .btn-view-details { width: 100%; min-height: 42px; padding: 9px 8px; font-size: .76rem; }
    .btn-buy span, .btn-view-details span { display: inline !important; }
    .btn-buy i, .btn-view-details i { font-size: .82rem; }
    .product-badges { top: 7px; right: 7px; gap: 4px; }
    .product-badges span { padding: 4px 7px; font-size: .58rem; }

    /* Buscador y categorías táctiles */
    .catalog-toolbar { gap: 8px; margin-bottom: 12px; }
    .catalog-search input { height: 48px; font-size: 14px; border-radius: 14px; }
    .category-chip { min-height: 40px; padding: 9px 14px; }

    /* Carrito: ocupa el viewport real del móvil y respeta la zona segura */
    .cart-modal { height: 100dvh; }
    .cart-panel {
        width: 100%;
        height: 100dvh;
        max-height: 100dvh;
        border-radius: 0;
        transform: translateY(100%);
    }
    .cart-modal.active .cart-panel { transform: translateY(0); }
    .cart-header {
        padding: max(14px, env(safe-area-inset-top)) 16px 12px;
        min-height: 68px;
        align-items: center;
    }
    .cart-header h2 { font-size: 20px; }
    .cart-close { width: 42px; height: 42px; flex: 0 0 42px; }
    .cart-items { padding: 8px 14px; overscroll-behavior: contain; }
    .cart-item {
        grid-template-columns: 58px minmax(0,1fr);
        grid-template-areas: "image info" "image side";
        column-gap: 10px;
        row-gap: 3px;
        padding: 12px 0;
    }
    .cart-item-image { grid-area: image; width: 58px; height: 58px; }
    .cart-item-info { grid-area: info; min-width: 0; }
    .cart-item-side {
        grid-area: side;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }
    .cart-item-info h4 { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .cart-item-price { font-size: 12px; }
    .cart-qty { margin-top: 6px; }
    .cart-qty button { width: 32px; height: 32px; }
    .cart-item-subtotal { font-size: 13px; }
    .cart-remove { margin: 0; padding: 7px 0; }
    .cart-footer { padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); }
    .cart-summary { margin-bottom: 10px; }
    .cart-summary strong { font-size: 20px; }
    .cart-footer-actions { grid-template-columns: 1fr 1fr; gap: 8px; }
    .cart-continue, .cart-checkout { min-height: 48px; padding: 11px 8px; font-size: 12px; }
    .cart-clear { margin-top: 7px; min-height: 34px; }
    .cart-floating { right: 12px; bottom: calc(78px + env(safe-area-inset-bottom)); min-height: 48px; }
    .cart-toast { bottom: calc(138px + env(safe-area-inset-bottom)); max-width: calc(100vw - 28px); text-align: center; }

    /* Quick View: pantalla completa y scroll interno, sin cortes de descripción */
    .quick-view-modal { height: 100dvh; }
    .quick-view-content {
        width: 100%;
        height: 100dvh;
        max-height: 100dvh;
        border-radius: 0;
        grid-template-columns: 1fr;
        grid-template-rows: minmax(210px, 34dvh) minmax(0, 1fr);
        overflow: hidden;
        background: #07121a;
    }
    .quick-view-close {
        top: max(12px, env(safe-area-inset-top));
        right: 12px;
        width: 42px;
        height: 42px;
        font-size: 18px;
        background: rgba(4,12,18,.72);
        border: 1px solid rgba(255,255,255,.18);
    }
    .modal-left {
        padding: 12px 42px 10px 12px;
        background: #07121a;
        min-height: 0;
    }
    .modal-image-container { min-height: 0; }
    .modal-carousel-img {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        border-radius: 12px;
    }
    .modal-indicators { margin-top: 8px; gap: 7px; }
    .modal-indicators .indicator { width: 9px; height: 9px; }
    .modal-right {
        padding: 18px 16px calc(18px + env(safe-area-inset-bottom));
        background: #fff;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }
    .modal-right .product-category { font-size: .72rem; margin-bottom: 7px; }
    .modal-right .product-title { font-size: 1.3rem; line-height: 1.2; margin-bottom: 8px; padding-right: 34px; overflow-wrap:anywhere; }
    .modal-right .price-main { font-size: 1.35rem; margin-bottom: 12px; }
    .modal-description-label { margin-bottom: 6px; font-size: .7rem; }
    .modal-right .product-description {
        font-size: .9rem;
        line-height: 1.65;
        margin-bottom: 16px;
        overflow-wrap: anywhere;
        word-break: normal;
    }
    .modal-actions { margin-top: 0; padding-top: 4px; position: sticky; bottom: 0; background: linear-gradient(to top,#fff 75%,rgba(255,255,255,0)); }
    .modal-actions .btn-primary-catalog { min-height: 50px; padding: 12px; font-size: .95rem; border-radius: 12px; }

    /* Combos/promociones: nunca deben desbordar horizontalmente */
    .combo-panel, .promo-popup-content, .promo-popup-content img { max-width: calc(100vw - 24px); }
    .combo-content { padding: 14px; }
}

@media (max-width: 380px) {
    .container { padding-left: 11px; padding-right: 11px; }
    .logo span { max-width: 145px; font-size: 14px; }
    .logo img, .logo-placeholder { width: 38px; height: 38px; flex-basis: 38px; }
    .btn-whatsapp-header { width: 40px; height: 40px; border-radius: 12px; }
    .catalogo-hero { padding-top: 98px; }
    .hero-title { font-size: 2.05rem; }
    .hero-description { font-size: .88rem; }
    .hero-stats { grid-template-columns: 1fr; gap: 7px; }
    .stat { justify-content: center; }
    .products-grid { grid-template-columns: 1fr; gap: 12px; }
    .product-info { padding: 13px; }
    .product-name { font-size: .95rem; }
    .product-description { font-size: .76rem; }
    .product-price { font-size: 1.15rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Bloqueo de scroll del documento al abrir capas móviles */
body.cart-open, body.modal-open { overflow: hidden !important; touch-action: none; }

@media (max-width: 768px) {
    .whatsapp-float { right: 12px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 1100; }
    .whatsapp-float a { width: 48px; height: 48px; }
    .cart-floating { z-index: 1200; }
}
