/**
 * Promociones Fintech - Landing Page Premium
 * Diseño moderno con gradientes, glassmorphism y animaciones
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Colores principales - Paleta sofisticada */
    --primary: #0f766e;
    --primary-dark: #0d5d56;
    --primary-light: #14b8a6;
    --primary-glow: rgba(20, 184, 166, 0.3);

    /* Acentos */
    --accent: #f59e0b;
    --accent-light: #fbbf24;
    --accent-dark: #d97706;

    /* Fondos */
    --bg-dark: #0c1222;
    --bg-darker: #080d19;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-glass: rgba(255, 255, 255, 0.05);
    --bg-light: #f8fafc;
    --bg-cream: #fef7ed;

    /* Texto */
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --text-white: #ffffff;

    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, #0f766e 0%, #14b8a6 50%, #2dd4bf 100%);
    --gradient-hero: linear-gradient(135deg, #0c1222 0%, #1e3a5f 50%, #0f766e 100%);
    --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);

    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 40px var(--primary-glow);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.1);

    /* Bordes */
    --border-light: rgba(255, 255, 255, 0.1);
    --border-dark: rgba(0, 0, 0, 0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    /* Transiciones */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset y Base */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    line-height: 1.7;
    background: var(--bg-light);
    overflow-x: hidden;
}

/* ==========================================
   TELEGRAM BANNER
   ========================================== */
.telegram-banner {
    background: linear-gradient(90deg, #0088cc 0%, #00aaff 100%);
    position: relative;
    z-index: 1030;
    padding: 0.6rem 0;
    box-shadow: 0 2px 10px rgba(0, 136, 204, 0.3);
}

.telegram-banner a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.telegram-banner a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
    color: white;
}

/* ==========================================
   HEADER / NAVBAR
   ========================================== */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.8rem 0;
    transition: var(--transition-base);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--primary) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand img {
    max-height: 50px;
    width: auto;
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: var(--text-primary) !important;
    padding: 0.6rem 1rem;
    margin: 0 0.15rem;
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
    transition: var(--transition-fast);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover {
    color: var(--primary) !important;
    background: rgba(15, 118, 110, 0.08);
}

.navbar-nav .nav-link:hover::after {
    width: 60%;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
    background: var(--gradient-hero);
    min-height: 90vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 6rem 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(20, 184, 166, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.03) 0%, transparent 30%);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, var(--bg-light) 0%, transparent 100%);
    pointer-events: none;
}

/* Partículas flotantes */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float-particle 15s infinite ease-in-out;
}

.particle:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    left: 20%;
    top: 60%;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    left: 35%;
    top: 30%;
    animation-delay: 4s;
}

.particle:nth-child(4) {
    left: 50%;
    top: 70%;
    animation-delay: 1s;
}

.particle:nth-child(5) {
    left: 65%;
    top: 25%;
    animation-delay: 3s;
}

.particle:nth-child(6) {
    left: 80%;
    top: 55%;
    animation-delay: 5s;
}

.particle:nth-child(7) {
    left: 90%;
    top: 40%;
    animation-delay: 2.5s;
}

.particle:nth-child(8) {
    left: 15%;
    top: 80%;
    animation-delay: 1.5s;
}

@keyframes float-particle {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.3;
    }

    50% {
        transform: translateY(-100px) rotate(180deg);
        opacity: 0.8;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
}

.hero-badge .badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.1s backwards;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 600px;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    animation: fadeInUp 0.8s ease 0.3s backwards;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1;
}

.stat-number .accent {
    color: var(--accent);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.3rem;
}

/* Hero Image/Illustration */
.hero-visual {
    position: relative;
    z-index: 2;
    animation: fadeInRight 1s ease 0.3s backwards;
}

.hero-card-stack {
    position: relative;
    perspective: 1000px;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    animation: float 6s ease-in-out infinite;
}

.floating-card.card-1 {
    top: 0;
    right: 0;
    width: 280px;
    animation-delay: 0s;
}

.floating-card.card-2 {
    top: 120px;
    right: 80px;
    width: 240px;
    animation-delay: 1s;
}

.floating-card.card-3 {
    top: 220px;
    right: 20px;
    width: 200px;
    animation-delay: 2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

/* ==========================================
   BOTONES
   ========================================== */
.btn {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    padding: 0.85rem 2rem;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(15, 118, 110, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(15, 118, 110, 0.4);
    color: var(--text-white);
}

.btn-accent {
    background: var(--gradient-accent);
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
    color: var(--text-primary);
}

.btn-outline-light {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--text-white);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--text-white);
    transform: translateY(-3px);
}

.btn-outline-primary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--text-white);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-icon {
    width: 50px;
    height: 50px;
    padding: 0;
    border-radius: 50%;
}

/* ==========================================
   SECCIÓN DE CATEGORÍAS
   ========================================== */
.categories-section {
    padding: 5rem 0;
    background: var(--bg-light);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(15, 118, 110, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.category-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-base);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-sm);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-base);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.1) 0%, rgba(20, 184, 166, 0.1) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    transition: var(--transition-base);
}

.category-card:hover .category-icon {
    background: var(--gradient-primary);
    transform: scale(1.1) rotate(5deg);
}

.category-card:hover .category-icon i,
.category-card:hover .category-icon span {
    filter: brightness(0) invert(1);
}

.category-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.category-count {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* ==========================================
   CARRUSEL DE PROMOCIONES
   ========================================== */
.promos-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-cream) 100%);
}

.promo-carousel {
    position: relative;
    overflow: hidden;
}

.promo-track {
    display: flex;
    gap: 1.5rem;
    animation: scroll-carousel 30s linear infinite;
    width: max-content;
}

.promo-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-carousel {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.promo-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    width: 350px;
    flex-shrink: 0;
    transition: var(--transition-base);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.promo-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.promo-image {
    height: 180px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.promo-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: var(--transition-slow);
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.promo-card:hover .promo-image img {
    transform: scale(1.05);
}

.promo-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--gradient-accent);
    color: var(--text-primary);
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

.promo-content {
    padding: 1.5rem;
}

.promo-category {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.promo-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.promo-title a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

.promo-title a:hover {
    color: var(--primary);
}

.promo-excerpt {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.promo-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.promo-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

/* ==========================================
   SECCIÓN CTA
   ========================================== */
.cta-section {
    padding: 6rem 0;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 70%, rgba(245, 158, 11, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(20, 184, 166, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 1.5rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================
   SECCIÓN DE FEATURES/BENEFICIOS
   ========================================== */
.features-section {
    padding: 5rem 0;
    background: white;
}

.feature-card {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.1) 0%, rgba(20, 184, 166, 0.15) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: var(--primary);
    transition: var(--transition-base);
}

.feature-card:hover .feature-icon {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1);
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.feature-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==========================================
   SECCIÓN INFO / REFERIDOS
   ========================================== */
.info-section {
    padding: 5rem 0;
    background: var(--bg-cream);
}

.info-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-card);
    border-left: 5px solid var(--primary);
}

.info-card h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.info-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.info-card strong {
    color: var(--text-primary);
}

/* ==========================================
   PROMOCIONES GRID
   ========================================== */
.promociones-grid {
    padding: 5rem 0;
    background: var(--bg-light);
}

.promocion-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.promocion-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.promocion-image {
    height: 160px;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.promocion-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: var(--transition-slow);
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.promocion-card:hover .promocion-image img {
    transform: scale(1.03);
}

.promocion-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.promocion-categoria {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.promocion-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.promocion-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.promocion-title a:hover {
    color: var(--primary);
}

.promocion-excerpt {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex-grow: 1;
}

.promocion-footer {
    margin-top: auto;
    padding-top: 1rem;
}

/* ==========================================
   FOOTER
   ========================================== */
footer {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 4rem 0 2rem;
}

footer h5 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-white);
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-fast);
}

footer a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 0.75rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 0.75rem;
    font-size: 1.2rem;
    transition: var(--transition-base);
    overflow: hidden;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-5px);
    color: white !important;
}

/* Ocultar texto en iconos circulares del footer */
.social-links a .social-name {
    display: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 3rem;
}

/* ==========================================
   ANIMACIONES
   ========================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 992px) {
    .hero-section {
        min-height: auto;
        padding: 4rem 0;
    }

    .hero-visual {
        display: none;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 2rem;
    }

    .promo-card {
        width: 300px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .category-card {
        padding: 1.5rem;
    }

    .promo-card {
        width: 280px;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .info-card {
        padding: 2rem;
    }

    /* Mobile image adjustments */
    .promo-image {
        height: 140px;
    }

    .promocion-image {
        height: 130px;
    }

    .promo-image img,
    .promocion-image img {
        object-fit: contain;
        padding: 0.5rem;
    }
}

/* ==========================================
   UTILIDADES
   ========================================== */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: var(--gradient-primary);
}

.shadow-glow {
    box-shadow: var(--shadow-glow);
}

/* Scroll suave para anclas */
html {
    scroll-behavior: smooth;
}

/* Ocultar scrollbar pero mantener funcionalidad */
.promo-track::-webkit-scrollbar {
    display: none;
}

.promo-track {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Comparador Cards (legacy support) */
.comparador-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-base);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.comparador-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.comparador-icon {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

/* Badge styles */
.badge {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
}

.badge.bg-primary {
    background: var(--gradient-primary) !important;
}

/* Form styles */
.form-control,
.form-select {
    border-radius: var(--radius-md);
    border: 2px solid rgba(0, 0, 0, 0.1);
    padding: 0.75rem 1rem;
    transition: var(--transition-fast);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.1);
}

/* Pagination */
.pagination .page-link {
    border-radius: var(--radius-md);
    margin: 0 3px;
    border: none;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.pagination .page-link:hover {
    background: var(--primary);
    color: white;
}

.pagination .page-item.active .page-link {
    background: var(--gradient-primary);
    border: none;
}

/* Print */
@media print {

    .navbar,
    footer,
    .btn,
    .telegram-banner,
    .cta-section {
        display: none !important;
    }
}

/* Animaciones migradas desde theme.js */
.fade-in {
    animation: fadeIn 0.5s ease;
}

.animate-in {
    animation: slideInUp 0.6s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

img.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

img.lazy.loaded {
    opacity: 1;
}