/* =================================
   BraveGirls Agency - Complete CSS
   Sin Tailwind CSS - Sistema estructural completo
   ================================= */

/* === CSS VARIABLES === */
:root {
    /* Backgrounds */
    --bg-0: #0A0A0A;
    --bg-1: #121212;
    --bg-2: #1A1A1A;
    --bg-3: #252525;
    
    /* Colors */
    --brand-pink: #FF6BB3;
    --brand-pink-light: #FFB3D9;
    --brand-gold: #FFD700;
    --brand-magenta: #E91E63;
    
    /* Neutrals */
    --text-primary: #FFFFFF;
    --text-secondary: #B3B3B3;
    --text-muted: #666666;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
}

/* === RESET & GLOBAL === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-0);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* === TYPOGRAPHY SYSTEM === */
.font-sans { font-family: 'Inter', sans-serif; }
.font-display { font-family: 'Space Grotesk', sans-serif; }

.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.text-7xl { font-size: 4.5rem; line-height: 1; }
.text-8xl { font-size: 6rem; line-height: 1; }

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

.text-white { color: #FFFFFF; }
.text-brand-pink { color: var(--brand-pink); }
.text-brand-gold { color: var(--brand-gold); }
.text-brand-magenta { color: var(--brand-magenta); }
.text-gray-300 { color: #D1D5DB; }
.text-gray-400 { color: #9CA3AF; }
.text-gray-500 { color: #6B7280; }
.text-gray-600 { color: #4B5563; }
.text-gray-700 { color: #374151; }
.text-gray-800 { color: #1F2937; }
.text-green-400 { color: #34D399; }
.text-red-400 { color: #F87171; }
.text-blue-400 { color: #60A5FA; }
.text-purple-400 { color: #A78BFA; }

.uppercase { text-transform: uppercase; }
.lowercase { text-transform: lowercase; }
.capitalize { text-transform: capitalize; }

.italic { font-style: italic; }
.antialiased {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-normal { line-height: 1.5; }
.leading-relaxed { line-height: 1.625; }
.leading-loose { line-height: 2; }

.whitespace-nowrap { white-space: nowrap; }
.whitespace-normal { white-space: normal; }

/* === LAYOUT SYSTEM === */
.container-custom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Reducir margin-bottom de contenedores de títulos */
.text-center.mb-16 {
    margin-bottom: 2rem !important; /* Reducido aún más para menos espacio */
}

/* Unificar subtítulos y reducir espacio con título */
.text-lg.text-gray-300,
.text-lg.text-gray-400,
.text-lg.md\:text-xl.text-gray-300,
.text-lg.md\:text-xl.text-gray-400 {
    font-size: 1.125rem !important;
    line-height: 1.75rem !important;
    margin-top: 0.5rem !important; /* Reducido de 0.75rem */
}

@media (min-width: 768px) {
    .text-lg.md\:text-xl.text-gray-300,
    .text-lg.md\:text-xl.text-gray-400 {
        font-size: 1.25rem !important;
    }
}

.max-w-sm { max-width: 24rem; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }
.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* === FLEXBOX SYSTEM === */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-row { flex-direction: row; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }

.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.items-baseline { align-items: baseline; }
.items-stretch { align-items: stretch; }

.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.justify-evenly { justify-content: space-evenly; }

.flex-1 { flex: 1 1 0%; }
.flex-auto { flex: 1 1 auto; }
.flex-initial { flex: 0 1 auto; }
.flex-none { flex: none; }

.flex-shrink-0 { flex-shrink: 0; }

/* === GRID SYSTEM === */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }

/* === SPACING SYSTEM === */
/* Padding */
.p-0 { padding: 0; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.p-12 { padding: 3rem; }

.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }

.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.py-28 { padding-top: 7rem; padding-bottom: 7rem; }

.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-8 { padding-top: 2rem; }
.pt-16 { padding-top: 2rem; }
.pt-24 { padding-top: 6rem; }
.pt-32 { padding-top: 8rem; }

.pb-4 { padding-bottom: 1rem; }
.pb-5 { padding-bottom: 1.25rem; }
.pb-8 { padding-bottom: 2rem; }

.pl-5 { padding-left: 1.25rem; }
.pl-8 { padding-left: 2rem; }

.pr-4 { padding-right: 1rem; }

/* Margin */
.m-0 { margin: 0; }
.m-auto { margin: auto; }

.mx-auto { margin-left: auto; margin-right: auto; }

.my-2 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.my-6 { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.mt-0 { margin-top: 0; }
.mt-0-5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }

.ml-2 { margin-left: 0.5rem; }
.ml-4 { margin-left: 1rem; }
.ml-5 { margin-left: 1.25rem; }
.ml-8 { margin-left: 2rem; }

.mr-2 { margin-right: 0.5rem; }

/* === SIZING === */
.w-auto { width: auto; }
.w-full { width: 100%; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.w-24 { width: 6rem; }
.w-50 { width: 50px; }

.h-auto { height: auto; }
.h-full { height: 100%; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-24 { height: 6rem; }
.h-50 { height: 50px; }
.h-80 { height: 80px; }

.min-h-screen { min-height: 100vh; }
.min-h-100 { min-height: 100px; }
.min-h-120 { min-height: 120px; }
.min-h-140 { min-height: 140px; }
.min-h-auto { min-height: auto; }

.aspect-1 { aspect-ratio: 1; }
.aspect-16-9 { aspect-ratio: 16 / 9; }
.aspect-9-16 { aspect-ratio: 9 / 16; }

/* === POSITIONING === */
.static { position: static; }
.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }
.sticky { position: sticky; }

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.top-0 { top: 0; }
.top-10 { top: 2.5rem; }
.top-12 { top: 3rem; }
.top-20 { top: 5rem; }
.top-40 { top: 10rem; }
.top-50 { top: 50%; }

.right-0 { right: 0; }
.right-4 { right: 1rem; }
.right-6 { right: 1.5rem; }
.right-10 { right: 2.5rem; }
.right-20 { right: 5rem; }

.bottom-0 { bottom: 0; }
.bottom-4 { bottom: -1rem; }
.bottom-6 { bottom: 1.5rem; }
.bottom-40 { bottom: 10rem; }

.left-0 { left: 0; }
.left-6 { left: 1.5rem; }
.left-10 { left: 2.5rem; }
.left-25 { left: 25%; }
.left-50 { left: 50%; }
.left-100-neg { left: -100%; }
.left-60-neg { left: -60%; }

.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }
.z-100 { z-index: 100; }
.z-1000 { z-index: 1000; }
.z-9999 { z-index: 9999; }
.z-10000 { z-index: 10000; }

/* === DISPLAY === */
.block { display: block; }
.inline-block { display: inline-block; }
.inline { display: inline; }
.hidden { display: none; }

/* === OVERFLOW === */
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.overflow-x-auto { overflow-x: auto; }

/* === BORDERS === */
.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-3 { border-width: 3px; }
.border-4 { border-width: 4px; }
.border-8 { border-width: 8px; }
.border-t { border-top-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-l { border-left-width: 1px; }
.border-l-4 { border-left-width: 4px; }

.border-white { border-color: #FFFFFF; }
.border-gray-700 { border-color: #374151; }
.border-gray-800 { border-color: #1F2937; }
.border-brand-pink { border-color: var(--brand-pink); }
.border-brand-gold { border-color: var(--brand-gold); }
.border-green-500-30 { border-color: rgba(34, 197, 94, 0.3); }
.border-red-500-30 { border-color: rgba(239, 68, 68, 0.3); }
.border-brand-gold-30 { border-color: rgba(255, 215, 0, 0.3); }
.border-brand-pink-20 { border-color: rgba(255, 107, 179, 0.2); }
.border-brand-gold-20 { border-color: rgba(255, 215, 0, 0.2); }
.border-white-8 { border-color: rgba(255, 255, 255, 0.08); }
.border-white-6 { border-color: rgba(255, 255, 255, 0.06); }
.border-white-10 { border-color: rgba(255, 255, 255, 0.1); }
.border-transparent { border-color: transparent; }

.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }
.rounded-12 { border-radius: 12px; }
.rounded-16 { border-radius: 16px; }
.rounded-24 { border-radius: 24px; }
.rounded-32 { border-radius: 32px; }
.rounded-50 { border-radius: 50px; }

.rounded-circle { border-radius: 50%; }

/* === OPACITY === */
.opacity-0 { opacity: 0; }
.opacity-50 { opacity: 0.5; }
.opacity-80 { opacity: 0.8; }
.opacity-100 { opacity: 1; }

/* === SHADOWS === */
.shadow { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }

.drop-shadow-lg { filter: drop-shadow(0 10px 8px rgba(0, 0, 0, 0.04)) drop-shadow(0 4px 3px rgba(0, 0, 0, 0.1)); }

/* === BACKGROUNDS === */
.bg-dark-0 { background-color: var(--bg-0); }
.bg-dark-1 { background-color: var(--bg-1); }
.bg-dark-2 { background-color: var(--bg-2); }
.bg-dark-3 { background-color: var(--bg-3); }
.bg-white-5 { background-color: rgba(255, 255, 255, 0.05); }
.bg-transparent { background-color: transparent; }

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--brand-pink) 0%, var(--brand-magenta) 100%);
}

.bg-gradient-gold {
    background: linear-gradient(135deg, var(--brand-gold) 0%, #FFA500 100%);
}

.bg-gradient-pink-to-gold {
    background: linear-gradient(90deg, var(--brand-pink), var(--brand-gold));
}

.section-bg-hero {
    background: 
        linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 100%);
    position: relative;
    overflow: hidden;
}

/* Degradado suave en la parte inferior para transición */
.section-bg-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(18, 18, 18, 0.4) 40%,
        rgba(18, 18, 18, 0.8) 80%,
        var(--bg-1) 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* Patrón de puntos moderno y sutil con glow animado */
.section-bg-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        /* Patrón de puntos */
        radial-gradient(
            circle at center,
            rgba(255, 107, 179, 0.15) 1px,
            transparent 1px
        ),
        /* Gradiente radial central con glow */
        radial-gradient(
            ellipse at 50% 30%,
            rgba(255, 107, 179, 0.15) 0%,
            rgba(255, 184, 108, 0.08) 40%,
            transparent 70%
        );
    background-size: 30px 30px, 100% 100%;
    background-position: 0 0, center center;
    pointer-events: none;
    z-index: 0;
}

/* Degradado suave en la parte inferior para transición suave */
.section-bg-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(18, 18, 18, 0.4) 40%,
        rgba(18, 18, 18, 0.8) 80%,
        var(--bg-1) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.section-bg-1 {
    background: var(--bg-1);
}

.section-bg-2 {
    background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 100%);
}

.section-bg-3 {
    background: var(--bg-2);
}

.section-bg-filter {
    background: linear-gradient(135deg, var(--bg-2) 0%, var(--bg-3) 50%, var(--bg-2) 100%);
}

.section-bg-apply {
    background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-1) 100%);
}

.section-bg-footer {
    background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 100%);
    position: relative;
    margin-top: 0;
}

.section-bg-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brand-pink), var(--brand-gold), transparent);
    opacity: 0.3;
}

/* Estilos mejorados del footer */
footer h4,
footer h5 {
    letter-spacing: 0.02em;
    font-weight: 600;
}

footer a {
    position: relative;
    transition: var(--transition-fast);
}

footer a:hover {
    color: var(--brand-pink);
}

/* Iconos sociales del footer */
footer svg {
    transition: var(--transition-smooth);
}

footer a:hover svg {
    transform: scale(1.15);
}

/* MEJORAS VISUALES DEL FOOTER - Limpio y minimalista */

footer ul li {
    position: relative;
}

footer ul li a {
    transition: var(--transition-fast);
}

/* Links de contacto del footer */
footer .space-y-3 li a {
    font-weight: 500;
}

/* === TRANSITIONS === */
.transition { transition: var(--transition-fast); }
.transition-all { transition: var(--transition-smooth); }
.transition-colors { transition: color 0.2s, background-color 0.2s, border-color 0.2s; }
.transition-transform { transition: transform 0.3s ease; }
.transition-opacity { transition: opacity 0.3s ease; }

.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }

.ease-out { transition-timing-function: cubic-bezier(0, 0, 0.2, 1); }
.ease-in-out { transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }

/* === TRANSFORMS === */
.translate-y-50-neg { transform: translateY(-50%); }
.translate-x-50-neg { transform: translateX(-50%); }
.translate-x-100 { transform: translateX(100%); }
.translate-x-100-neg { transform: translateX(-100%); }
.translate-50-50-neg { transform: translate(-50%, -50%); }

.scale-95 { transform: scale(0.95); }
.scale-100 { transform: scale(1); }
.scale-105 { transform: scale(1.05); }
.scale-110 { transform: scale(1.1); }

.rotate-25 { transform: rotate(25deg); }
.rotate-45 { transform: rotate(45deg); }
.rotate-360 { transform: rotate(360deg); }

/* === CURSOR === */
.cursor-pointer { cursor: pointer; }
.cursor-default { cursor: default; }
.cursor-help { cursor: help; }

/* === POINTER EVENTS === */
.pointer-events-none { pointer-events: none; }
.pointer-events-all { pointer-events: all; }

/* === FOCUS STATES (Accesibilidad) === */
*:focus-visible {
    outline: 2px solid var(--brand-pink);
    outline-offset: 2px;
    border-radius: 0.25rem;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--brand-gold);
    outline-offset: 2px;
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--brand-pink);
    outline-offset: 0;
    border-color: var(--brand-pink);
}

/* Skip to content link para accesibilidad */
.skip-to-content {
    position: absolute;
    left: -9999px;
    z-index: 999;
    padding: 1rem 2rem;
    background: var(--brand-gold);
    color: var(--bg-0);
    text-decoration: none;
    font-weight: bold;
    border-radius: 0.5rem;
}

.skip-to-content:focus {
    left: 50%;
    top: 1rem;
    transform: translateX(-50%);
}

/* =========================================
   COMPONENT-SPECIFIC STYLES
   ========================================= */

/* === TITLE GLOW === */
.title-glow {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    text-align: center;
    background: linear-gradient(135deg, var(--brand-pink) 0%, var(--brand-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    width: 100%;
    letter-spacing: -0.02em;
    margin-bottom: 1rem !important; /* Reducido de 4rem */
}

/* Optimización de hero h1 para móvil */
#hero h1 {
    font-size: 2rem;
    line-height: 1.1;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    #hero h1 {
        font-size: 3rem;
        padding-left: 0;
        padding-right: 0;
    }
}

@media (min-width: 768px) {
    #hero h1 {
        font-size: 3.5rem;
    }
}

@media (min-width: 1024px) {
    #hero h1 {
        font-size: 4.5rem;
    }
}

@media (min-width: 1280px) {
    #hero h1 {
        font-size: 6rem;
    }
}

/* === TEXT GRADIENTS === */
.text-gradient-primary {
    background: linear-gradient(135deg, var(--brand-pink) 0%, var(--brand-pink-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-gold {
    background: linear-gradient(135deg, var(--brand-gold) 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === CARDS === */
.card-glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reducir padding en móvil para mejor uso del espacio */
@media (max-width: 768px) {
    .card-glass {
        padding: 1.5rem;
        border-radius: 20px;
    }
    
    .card-glass-mini {
        padding: 1rem !important;
    }
}

.card-glass:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 107, 179, 0.3);
    box-shadow: 0 20px 60px rgba(255, 107, 179, 0.15);
    /* Transform controlado por JavaScript para evitar conflictos con fade-in-up */
}

.card-glass-premium {
    background: rgba(255, 215, 0, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--brand-gold);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.15);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, box-shadow;
    transform: translateZ(0);
}

/* Borde animado con gradiente */
.card-glass-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, var(--brand-gold), var(--brand-pink), var(--brand-gold));
    background-size: 200% 200%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
    animation: gradient-border 3s ease infinite;
}

.card-glass-premium:hover::before {
    opacity: 1;
}

.card-glass-premium:hover {
    box-shadow: 0 25px 70px rgba(255, 215, 0, 0.2), 0 15px 40px rgba(255, 107, 179, 0.2);
    backdrop-filter: blur(30px);
}

@keyframes gradient-border {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.card-glass-mini {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 1.5rem;
}

.card-glass-warning {
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-left: 4px solid var(--brand-gold);
    border-radius: 12px;
    padding: 1.5rem;
}

/* === BUTTONS === */
.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--bg-0);
    background: linear-gradient(135deg, var(--brand-pink) 0%, var(--brand-magenta) 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(255, 107, 179, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    transform: translateZ(0);
}

/* Efecto de brillo que cruza el botón */
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

/* Efecto ripple al hacer clic */
.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:active::after {
    width: 300px;
    height: 300px;
    transition: 0s;
}

.btn-primary:focus-visible {
    outline: 3px solid var(--brand-pink);
    outline-offset: 4px;
}

.btn-primary:hover {
    box-shadow: 0 15px 40px rgba(255, 107, 179, 0.5);
    /* Transform controlado por JavaScript para evitar conflictos */
}

.btn-lg {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
}

.btn-secondary {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--brand-pink);
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    z-index: 1;
}

/* Fondo de gradiente que aparece al hover */
.btn-secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--brand-pink), var(--brand-magenta));
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.btn-secondary:hover::before {
    opacity: 0.9;
}

.btn-secondary > * {
    position: relative;
    z-index: 1;
}

.btn-secondary:hover {
    box-shadow: 0 10px 30px rgba(255, 107, 179, 0.3);
    /* Transform controlado por JavaScript para evitar conflictos */
}

/* === HEADER NAV === */
.nav-glass {
    background: linear-gradient(180deg, rgba(37, 37, 37, 0.95) 0%, rgba(26, 26, 26, 0.9) 50%, rgba(18, 18, 18, 0.85) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 107, 179, 0.15);
    box-shadow: 0 4px 20px rgba(255, 107, 179, 0.08);
    transition: var(--transition-smooth);
}

.nav-glass.scrolled {
    background: linear-gradient(180deg, rgba(42, 42, 42, 0.98) 0%, rgba(26, 26, 26, 0.95) 100%);
    border-bottom-color: rgba(255, 107, 179, 0.25);
    box-shadow: 0 10px 40px rgba(255, 107, 179, 0.12), 0 4px 20px rgba(0, 0, 0, 0.6);
}

.nav-link {
    position: relative;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    text-decoration: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-pink);
    transition: width 0.3s;
}

.nav-link:hover {
    color: var(--brand-pink);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--brand-pink);
}

/* === DIVIDER === */
.divider-gradient {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brand-pink), var(--brand-gold), transparent);
    max-width: 1200px;
    opacity: 0.4;
}

/* === TIMELINE === */
.timeline-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--brand-pink), var(--brand-magenta));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    z-index: 10;
    transition: var(--transition-smooth);
}

.timeline-step:hover .timeline-circle {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(255, 107, 179, 0.4);
    animation: pulse-ring 1.5s ease-out;
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 179, 0.7);
    }
    100% {
        box-shadow: 0 0 0 30px rgba(255, 107, 179, 0);
    }
}

.timeline-circle-mobile {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--brand-pink), var(--brand-magenta));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: absolute;
    left: 0;
    z-index: 10;
}

.timeline-progress {
    position: absolute;
    top: 12px;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--brand-pink), var(--brand-gold));
    width: 0%;
}

/* === MOCKUP DEVICES === */
.mockup-device {
    position: relative;
    width: 100%;
    aspect-ratio: 9/16;
    background: var(--bg-3);
    border-radius: 32px;
    border: 8px solid var(--bg-2);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 0 20px rgba(255, 107, 179, 0.1);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.result-mockup {
    transition: var(--transition-smooth);
}

.result-mockup:hover {
    transform: translateY(-8px);
}

.result-mockup:hover .mockup-device {
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(255, 107, 179, 0.3),
        inset 0 0 30px rgba(255, 107, 179, 0.15);
}

/* === CONTACT CARDS === */
.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    min-height: 140px;
    border-radius: 50%;
    aspect-ratio: 1;
    width: 140px;
    text-decoration: none;
    color: white;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

/* Bordes de colores específicos para cada red social */
.contact-card[href*="whatsapp"],
.contact-card[href*="wa.me"] {
    border: 3px solid #25D366;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.2), rgba(37, 211, 102, 0.1));
}

.contact-card[href*="mailto"] {
    border: 3px solid var(--brand-gold);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 107, 179, 0.2));
}

.contact-card[href*="instagram"] {
    border: 3px solid #E4405F;
    background: linear-gradient(135deg, rgba(131, 58, 180, 0.2), rgba(253, 29, 29, 0.2));
}

.contact-card[href*="telegram"],
.contact-card[href*="t.me"] {
    border: 3px solid #24A1DE;
    background: linear-gradient(135deg, rgba(36, 161, 222, 0.2), rgba(36, 161, 222, 0.1));
}

.contact-card[href*="tiktok"] {
    border: 3px solid #00f2ea;
    background: linear-gradient(135deg, rgba(0, 242, 234, 0.2), rgba(0, 0, 0, 0.3));
}

/* Asegurar que los SVG dentro sean visibles */
.contact-card svg {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.contact-card:hover {
    box-shadow: 0 15px 40px rgba(255, 107, 179, 0.4);
    /* Transform controlado por JavaScript para evitar conflictos */
}

/* === ANIMATIONS (CORREGIDO Y FINAL) === */

/* Estado inicial: invisible y desplazado. NÓTESE la transición separada. */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    /* IMPORTANTE: Solo transicionar la opacidad por defecto */
    transition: opacity 0.7s ease-out;
    will-change: opacity, transform;
}

/* Estado final: visible. Aquí se activa la transición del transform. */
.fade-in-up.animated {
    opacity: 1;
    transform: translateY(0);
    /* Ahora sí, añadimos la transición para el transform */
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
    will-change: auto;
}

/* Clase .fade-in (solo opacity, sin translateY) */
.fade-in {
    opacity: 0;
    transition: opacity 0.7s ease-out;
}

.fade-in.animated {
    opacity: 1;
}

/* === SHINE EFFECT === */
.shine-effect {
    position: relative;
    overflow: hidden;
}

.shine-effect::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: rotate(25deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0%, 10% { left: -60%; }
    20%, 100% { left: 150%; }
}

/* === FAQ === */
.faq-item {
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-left-color: var(--brand-pink);
    transform: translateX(5px);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    max-height: 600px !important;
}

.faq-question {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
}

.faq-answer {
    overflow: hidden;
    transition: max-height 0.5s ease;
    max-height: 0;
}

.faq-icon {
    transition: transform 0.3s ease;
}

/* === LEGAL SECTIONS === */
.legal-toggle {
    cursor: pointer;
    background: none;
    border: none;
    color: inherit;
}

.legal-content {
    overflow: hidden;
    transition: max-height 0.5s ease;
    max-height: 0;
}

.legal-icon {
    transition: transform 0.3s ease;
}

/* Reducir espacio antes de sección legal */
#legal-terminos {
    margin-top: -2rem !important;  /* Aumentado de -3rem a -5rem */
    padding-top: 1.5rem !important;
}

@media (min-width: 768px) {
    #legal-terminos {
        margin-top: -6rem !important;  /* Aumentado de -4rem a -6rem */
        padding-top: 2rem !important;
    }
}

/* Reducir distancia entre título OnlyMonster y contenido */
#tecnologia .text-center.mb-16 {
    margin-bottom: 1.5rem !important;
}

#tecnologia .text-center.mb-12 {
    margin-bottom: 2rem !important;
}

/* === HOVER EFFECTS === */
/* NOTA: Todos los efectos hover con transform se manejan ahora desde JavaScript
   para evitar conflictos con las animaciones fade-in-up. Las clases .hover-lift
   y .hover-scale-* sirven como identificadores para JavaScript. */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    box-shadow: 0 20px 40px rgba(255, 107, 179, 0.3);
}

/* Las clases hover-scale se mantienen como marcadores para JavaScript */
.hover-scale-102,
.hover-scale-105,
.hover-scale-108,
.hover-scale-110 {
    transition: transform 0.3s ease;
}

/* === FLOATS & PARALLAX === */
.float-element {
    animation: float-gentle 6s ease-in-out infinite;
}

@keyframes float-gentle {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.parallax-element {
    will-change: transform;
}

/* === MICROINTERACCIONES AVANZADAS === */

/* Efecto pulse glow para badges */
@keyframes pulse-glow {
    0%, 100% { 
        box-shadow: 0 0 10px rgba(255, 107, 179, 0.3);
    }
    50% { 
        box-shadow: 0 0 25px rgba(255, 107, 179, 0.6), 0 0 40px rgba(255, 107, 179, 0.3);
    }
}

.pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Texto con efecto shimmer */
@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

.shimmer-text {
    background: linear-gradient(90deg, 
        var(--brand-pink) 0%, 
        var(--brand-gold) 50%, 
        var(--brand-pink) 100%);
    background-size: 1000px 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

/* Efecto magnetic para iconos */
.icon-magnetic {
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.icon-magnetic:hover {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 8px 15px rgba(255, 107, 179, 0.4));
}

/* Card con glow interior en hover (mouse tracking) */
.card-glass:hover::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
                                rgba(255, 107, 179, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* === PROGRESS BAR === */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-pink), var(--brand-gold));
    z-index: 9999;
    box-shadow: 0 0 10px rgba(255, 107, 179, 0.5);
}

/* === SPLASH SCREEN === */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-0) 0%, var(--bg-1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.splash-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 107, 179, 0.1);
    border-top-color: var(--brand-pink);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* === TESTIMONIALS CAROUSEL === */
.testimonials-carousel-container {
    position: relative;
    padding: 0 60px;
}

.testimonials-carousel {
    position: relative;
    overflow: hidden;
}

.testimonial-slide {
    display: none;
}

.testimonial-slide.active {
    display: block;
}

.avatar-circle-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255, 107, 179, 0.3);
    box-shadow: 0 10px 30px rgba(255, 107, 179, 0.2);
}

.stars-rating {
    font-size: 2rem;
}

.stars-rating .star {
    color: var(--brand-gold);
    display: inline-block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 107, 179, 0.3);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-prev {
    left: 0;
}

.carousel-next {
    right: 0;
}

.carousel-dots {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--brand-pink);
    width: 32px;
    border-radius: 6px;
}

/* === MOBILE MENU === */
.mobile-menu-slide {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-slide:not(.hidden) {
    max-height: 500px;
}

.mobile-nav-item {
    display: block;
    text-decoration: none;
}

/* === GPU ACCELERATION === */
.gpu-accelerated {
    backface-visibility: hidden;
    will-change: transform;
}

/* === ICON ANIMATED === */
.icon-animated {
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.icon-animated:hover {
    /* Transform controlado por JavaScript para evitar conflictos */
}

/* === GROUP HOVER === */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

.group:hover .group-hover\:text-brand-pink {
    color: var(--brand-pink);
}

/* === FOCUS === */
:focus-visible {
    outline: 3px solid var(--brand-pink);
    outline-offset: 4px;
}

/* === SCROLLBAR === */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-1);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--brand-pink), var(--brand-magenta));
    border-radius: 6px;
}

/* =========================================
   RESPONSIVE - TABLET (md: 768px+)
   ========================================= */
@media (min-width: 768px) {
    .container-custom {
        padding: 0 2.5rem;
    }

    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

    .md\:flex { display: flex; }
    .md\:flex-row { flex-direction: row; }
    .md\:block { display: block; }
    .md\:hidden { display: none; }

    .md\:py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
    .md\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
    .md\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
    .md\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
    .md\:py-28 { padding-top: 7rem; padding-bottom: 7rem; }

    .md\:p-5 { padding: 1.25rem; }

    .md\:h-12 { height: 3rem; }

    .md\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
    .md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
    .md\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
    .md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
    .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
    .md\:text-5xl { font-size: 3rem; line-height: 1; }
    .md\:text-6xl { font-size: 3.75rem; line-height: 1; }

    .md\:gap-6 { gap: 1.5rem; }
    .md\:gap-8 { gap: 2rem; }
    .md\:gap-12 { gap: 3rem; }

    .md\:text-base { font-size: 1rem; line-height: 1.5rem; }

    .md\:mb-2 { margin-bottom: 0.5rem; }
}

/* =========================================
   RESPONSIVE - DESKTOP (lg: 1024px+)
   ========================================= */
@media (min-width: 1024px) {
    .lg\:flex { display: flex; }
    .lg\:hidden { display: none; }
    .lg\:block { display: block; }

    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

    .lg\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
    .lg\:text-7xl { font-size: 4.5rem; line-height: 1; }

    .lg\:py-28 { padding-top: 7rem; padding-bottom: 7rem; }

    .lg\:gap-4 { gap: 1rem; }
    .lg\:gap-6 { gap: 1.5rem; }
}

/* =========================================
   RESPONSIVE - LARGE DESKTOP (xl: 1280px+)
   ========================================= */
@media (min-width: 1280px) {
    .container-custom {
        padding: 0 4rem;
    }

    .xl\:ml-4 { margin-left: 1rem; }
    .xl\:gap-6 { gap: 1.5rem; }
    .xl\:text-8xl { font-size: 6rem; line-height: 1; }
}

/* =========================================
   RESPONSIVE - SMALL (sm: 640px+)
   ========================================= */
@media (min-width: 640px) {
    .sm\:flex-row { flex-direction: row; }
    .sm\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
    .sm\:text-6xl { font-size: 3.75rem; line-height: 1; }
    .sm\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
}

/* =========================================
   PRINT STYLES
   ========================================= */
@media print {
    .nav-glass,
    #sticky-cta,
    #aplicar,
    footer {
        display: none;
    }
}

/* =========================================
   REDUCED MOTION ACCESSIBILITY
   ========================================= */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto !important;
    }
    
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .fade-in-up,
    .fade-in {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* === STICKY CTA === */
#sticky-cta {
    animation: slideInRight 0.5s ease-out forwards;
}

#sticky-cta.visible {
    opacity: 1 !important;
}

@keyframes slideInRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* === LOGO TEXT === */
.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
}

/* === OBJECT FIT === */
.object-cover {
    object-fit: cover;
}

/* === LIST === */
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }

/* === ARIA & ACCESSIBILITY === */
[aria-label],
[aria-labelledby],
[aria-describedby] {
    /* Removido cursor: help que causaba el signo de pregunta */
}

/* === MEJORAS VISUALES ESTRUCTURALES === */

/* Reducir padding superior de stats para acercarlo al hero */
#stats {
    padding-top: 0rem !important;  /* Sin padding superior */
    padding-bottom: 3rem !important;
}

@media (min-width: 768px) {
    #stats {
        padding-top: 0rem !important;  /* Sin padding superior */
        padding-bottom: 5rem !important;
    }
}

/* Reducir margin del último párrafo del hero */
#hero p.mt-6 {
    margin-top: 0.5rem !important;
    margin-bottom: 0 !important;
}

/* Reducir margin-bottom de contenedores de títulos de sección */
.text-center.mb-16,
section .text-center:first-child {
    margin-bottom: 2.5rem !important;
}

/* Unificar tamaños de subtítulos */
section .text-lg,
section .text-lg.text-gray-400 {
    font-size: 1.125rem !important;
    line-height: 1.75rem !important;
    margin-top: 0.75rem !important;
}

@media (min-width: 768px) {
    section .text-lg.md\\:text-xl {
        font-size: 1.25rem !important;
    }
}

/* Reducir padding general de secciones */
section.py-20 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

/* Reducir margin bottom del último párrafo del hero */
#hero p.mt-6 {
    margin-top: 1rem !important;
    margin-bottom: 0 !important;
}

#hero .fade-in-up {
    padding-bottom: 1rem;
}

@media (min-width: 768px) {
    section.md\\:py-28 {
        padding-top: 4.5rem !important;
        padding-bottom: 4.5rem !important;
    }
    
    section.md\\:py-24 {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }
}

/* Reducir espacio específico antes de Términos Legales */
#legal-terminos {
    margin-top: -2rem;
}

/* Reducir distancia entre título OnlyMonster y contenido */
#tecnologia .text-center.mb-16 {
    margin-bottom: 1.5rem !important;
}

#tecnologia .text-center.mb-12 {
    margin-bottom: 2rem !important;
}
/* === SISTEMA ESTRUCTURAL (REEMPLAZO DE TAILWIND) === */
.container-custom { max-width: 1400px; margin-left: auto; margin-right: auto; padding-left: 1.5rem; padding-right: 1.5rem; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-16 { margin-bottom: 4rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }

section { padding: 5rem 0; }
@media (min-width: 768px) {
    section { padding: 7rem 0; }
    .container-custom { padding-left: 2.5rem; padding-right: 2.5rem; }
}
@media (min-width: 1280px) {
    .container-custom { padding-left: 4rem; padding-right: 4rem; }
}

.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }

.grid { display: grid; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* =========================================
   SOLUCIÓN DEFINITIVA PARA CONFLICTO DE ANIMACIÓN
   ========================================= */
.fade-in-up:not(.animated),
.fade-in:not(.animated) {
    /* Anula cualquier transición de hover mientras el elemento está oculto */
    transition: none !important;
}