/* 
   ========================================
   Activa Publicidad en Movimiento v2.2
   Colores del Logotipo: Lila y Grises
   ========================================
*/

/* ===== VARIABLES CSS ===== */
:root {
    /* Paleta de Colores - Basada en el Logotipo */
    /* Lila/Morado Principal (del logotipo "Activa") */
    --color-primary: #660066;
    --color-primary-dark: #4A1842;
    --color-primary-light: #8B3A7A;
    
    /* Acento (para dar vida al diseño) */
    --color-accent: #E63946;
    --color-accent-dark: #C1121F;
    --color-accent-light: #FF6B7A;
    
    /* Tonos de Gris (del logotipo) */
    --color-gray-light: #D6D7D8;
    --color-gray-medium: #85878A;
    --color-gray-dark: #747474;
    --color-gray-darker: #4A4A4A;
    
    /* Colores de Fondo */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8FAFC;
    --bg-tertiary: #F1F5F9;
    --bg-light-gray: #FAFAFA;
    --bg-dark: #96999C;
    --bg-gradient: linear-gradient(135deg, #6B235E 0%, #4A1842 100%);
    --bg-gradient-secondary: linear-gradient(135deg, #96999C 0%, #2D2D44 100%);
    
    /* Colores de Texto */
    --text-primary: #96999C;
    --text-secondary: #4A4A4A;
    --text-muted: #747474;
    --text-light: #FFFFFF;
    
    /* Sombras Modernas */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-glow: 0 0 40px rgba(107, 35, 94, 0.3);
    
    /* Bordes */
    --border-radius-sm: 6px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 32px;
    --border-radius-full: 9999px;
    
    /* Transiciones */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    
    /* Espaciado */
    --section-padding: 120px 0;
    --container-max-width: 1280px;
}

/* ===== RESET Y ESTILOS BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-normal);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ===== UTILIDADES ===== */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

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

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(107, 35, 94, 0.1);
    border-radius: var(--border-radius-full);
    margin-bottom: 20px;
}

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.section-badge span {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* ===== BOTONES ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--border-radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--text-light);
    box-shadow: 0 4px 14px rgba(107, 35, 94, 0.4);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(107, 35, 94, 0.5);
}

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

.btn-outline:hover {
    background: var(--text-light);
    color: var(--color-primary);
    border-color: var(--text-light);
    transform: translateY(-2px);
}

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

.btn-outline-light:hover {
    background: var(--text-light);
    color: var(--color-primary);
    border-color: var(--text-light);
}

.btn-light {
    background: var(--text-light);
    color: var(--color-primary);
}

.btn-light:hover {
    background: var(--bg-tertiary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-lg {
    padding: 20px 40px;
    font-size: 1rem;
}

.btn-xl {
    padding: 20px 40px;
    font-size: 1.0625rem;
    font-weight: 700;
}

.btn-highlight {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    box-shadow: 0 8px 30px rgba(107, 35, 94, 0.5);
    animation: pulse-glow 3s ease-in-out infinite;
}

.btn-highlight:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(107, 35, 94, 0.6);
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 8px 30px rgba(107, 35, 94, 0.5);
    }
    50% {
        box-shadow: 0 8px 40px rgba(107, 35, 94, 0.7);
    }
}

.btn-full {
    width: 100%;
}

.btn-nav {
    padding: 12px 24px;
    background: var(--color-primary);
    color: var(--text-light);
    border-radius: var(--border-radius-full);
    font-size: 0.875rem;
}

.btn-nav:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(107, 35, 94, 0.4);
}

/* ===== PRELOADER ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-logo {
    margin-bottom: 40px;
}

.preloader-logo img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    animation: bounce 1s ease infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.preloader-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-full);
    overflow: hidden;
    margin: 0 auto 20px;
}

.preloader-progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
    border-radius: var(--border-radius-full);
    animation: load 2s ease forwards;
}

@keyframes load {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

.preloader-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ===== CURSOR PERSONALIZADO ===== */
.custom-cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10001;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
}

.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
    opacity: 0.5;
}

.cursor-follower.active {
    width: 60px;
    height: 60px;
    border-color: var(--color-accent);
}

/* ===== NAVEGACIÓN ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: all var(--transition-normal);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 16px 0;
    box-shadow: var(--shadow-lg);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-logo img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    transition: transform var(--transition-normal);
}

.nav-logo:hover img {
    transform: scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-primary {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-light);
    line-height: 1;
    transition: color var(--transition-normal);
}

.logo-secondary {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-normal);
}

.navbar.scrolled .logo-primary {
    color: var(--color-primary);
}

.navbar.scrolled .logo-secondary {
    color: var(--text-muted);
}

.nav-center {
    display: none;
}

@media (min-width: 992px) {
    .nav-center {
        display: block;
    }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    position: relative;
    padding: 10px 20px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    border-radius: var(--border-radius-md);
    transition: all var(--transition-normal);
}

.navbar.scrolled .nav-link {
    color: var(--text-secondary);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--color-primary);
    background: rgba(107, 35, 94, 0.1);
}

.nav-link::after {
    content: attr(data-text);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--color-primary);
    font-weight: 600;
    opacity: 0;
    transition: opacity var(--transition-fast);
    pointer-events: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 5px;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

@media (min-width: 992px) {
    .nav-toggle {
        display: none;
    }
}

.hamburger-line {
    display: block;
    height: 2px;
    background: var(--text-light);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

.navbar.scrolled .hamburger-line {
    background: var(--color-primary);
}

.hamburger-line:nth-child(1) {
    width: 100%;
}

.hamburger-line:nth-child(2) {
    width: 70%;
}

.hamburger-line:nth-child(3) {
    width: 100%;
}

.nav-toggle.active .hamburger-line:nth-child(1) {
    width: 100%;
    transform: rotate(45deg) translate(5px, 6px);
}

.nav-toggle.active .hamburger-line:nth-child(2) {
    width: 0;
    opacity: 0;
}

.nav-toggle.active .hamburger-line:nth-child(3) {
    width: 100%;
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Menu */
@media (max-width: 991px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg-dark);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 24px;
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-normal);
    }
    
    .nav-menu.active {
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        font-size: 1.5rem;
        padding: 16px 32px;
        color: var(--text-light);
    }
    
    .nav-link:hover,
    .nav-link.active {
        color: var(--color-primary);
        background: transparent;
    }
    
    .nav-actions .btn-nav {
        display: none;
    }
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-gradient);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    transform: scale(1.1);
    animation: kenBurns 20s ease-in-out infinite alternate;
}

@keyframes kenBurns {
    0% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1.2);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(107, 35, 94, 0.8) 100%);
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 24px;
    max-width: 1000px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-full);
    margin-bottom: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    border-radius: 50%;
    color: var(--text-light);
    font-size: 0.75rem;
}

.badge-text {
    font-family: 'Outfit', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-light);
}

.hero-title {
    margin-bottom: 24px;
}

.title-line {
    display: block;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    color: var(--text-light);
    line-height: 1.1;
    letter-spacing: -2px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

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

.hero .stat-number {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-light);
    line-height: 1;
    margin-bottom: 8px;
}

.hero .stat-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

.hero-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.scroll-text {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-line {
    width: 2px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-full);
    position: relative;
    overflow: hidden;
}

.scroll-dot {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 30%;
    background: linear-gradient(180deg, var(--color-primary) 0%, transparent 100%);
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
    0% {
        top: 0;
    }
    100% {
        top: 100%;
    }
}

.hero-decoration {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 50%;
    pointer-events: none;
    overflow: hidden;
}

.decoration-circle {
    position: absolute;
    width: 600px;
    height: 600px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    bottom: -200px;
    right: -200px;
    animation: pulse 4s ease-in-out infinite;
}

.decoration-line {
    position: absolute;
    width: 300px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    bottom: 100px;
    right: 50px;
    transform: rotate(-45deg);
}

/* ===== FEATURED SERVICE SECTION (REPARTO DE VOLANTES) ===== */
.featured-service {
    position: relative;
    padding: 120px 0;
    background: var(--bg-light-gray);
    overflow: hidden;
}

.featured-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(107, 35, 94, 0.03) 0%, transparent 50%);
}

.featured-service .container {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 80px;
    align-items: center;
}

@media (min-width: 992px) {
    .featured-service .container {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
}

.featured-content {
    max-width: 600px;
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(107, 35, 94, 0.1) 0%, rgba(107, 35, 94, 0.05) 100%);
    border-radius: var(--border-radius-full);
    margin-bottom: 24px;
    border: 1px solid rgba(107, 35, 94, 0.2);
}

.featured-badge i {
    font-size: 1rem;
    color: var(--color-primary);
}

.featured-badge span {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.featured-title {
    margin-bottom: 24px;
}

.title-small {
    display: block;
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.title-large {
    display: block;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
}

.title-accent {
    display: block;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.1;
}

.featured-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.8;
}

.featured-stats {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

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

.f-stat-number {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.f-stat-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.featured-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

@media (max-width: 576px) {
    .featured-features {
        grid-template-columns: 1fr;
    }
}

.f-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--bg-primary);
    border-radius: var(--border-radius-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--color-gray-light);
}

.f-feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.f-feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    border-radius: var(--border-radius-md);
    flex-shrink: 0;
}

.f-feature-icon i {
    font-size: 1.125rem;
    color: var(--text-light);
}

.f-feature-text h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.f-feature-text p {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin: 0;
}

.featured-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Featured Image */
.featured-image {
    position: relative;
}

.image-showcase {
    position: relative;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.image-showcase .main-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.image-showcase:hover .main-img {
    transform: scale(1.05);
}

.floating-badge {
    position: absolute;
    top: 30px;
    left: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    animation: floatBadge 4s ease-in-out infinite;
}

@keyframes floatBadge {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.floating-badge i {
    font-size: 1.5rem;
    color: var(--color-primary);
}

.floating-badge span {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
}

.floating-stat {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 30px;
    background: var(--color-primary);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    animation: floatStat 5s ease-in-out infinite;
}

@keyframes floatStat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.fs-value {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-light);
    line-height: 1;
}

.fs-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.featured-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1;
}

.featured-wave svg {
    display: block;
    width: 100%;
    height: auto;
}

/* ===== WELCOME SECTION ===== */
.welcome {
    padding: var(--section-padding);
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.welcome-wrapper {
    display: grid;
    gap: 80px;
    align-items: center;
    width: 100%;
}

@media (min-width: 992px) {
    .welcome-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
}

.welcome-content {
    max-width: 600px;
}

.welcome-content .section-badge {
    background: rgba(107, 35, 94, 0.1);
}

.welcome-content .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.welcome-highlight {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 28px;
    background: linear-gradient(135deg, rgba(107, 35, 94, 0.05) 0%, rgba(107, 35, 94, 0.1) 100%);
    border-radius: var(--border-radius-lg);
    margin: 32px 0;
    border-left: 4px solid var(--color-primary);
}

.highlight-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    border-radius: var(--border-radius-md);
    flex-shrink: 0;
}

.highlight-icon i {
    font-size: 1.25rem;
    color: var(--text-light);
}

.welcome-highlight p {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.7;
}

.welcome-text {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.welcome-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 32px 0;
}

@media (max-width: 576px) {
    .welcome-features {
        grid-template-columns: 1fr;
    }
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-md);
}

.feature-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(107, 35, 94, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 0.875rem;
    color: var(--color-primary);
}

.feature-item span {
    font-family: 'Outfit', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
}

.welcome-content .btn {
    margin-top: 16px;
}

/* Welcome Images */
.welcome-images {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-stack {
    position: relative;
    width: 100%;
    max-width: 500px;
    padding: 20px;
}

.image-card {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.image-card.main {
    width: 100%;
}

.image-card.main img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(26, 26, 46, 0.9));
}

.overlay-content {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-light);
}

.overlay-content i {
    font-size: 1.5rem;
    color: var(--color-accent);
}

.overlay-content span {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
}

.image-card.secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 200px;
    border: 4px solid var(--bg-primary);
    z-index: 2;
}

.image-card.secondary img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.image-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    border-radius: 50%;
    color: var(--text-light);
    box-shadow: var(--shadow-xl);
    animation: bounce 2s ease infinite;
    z-index: 3;
}

.badge-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.badge-text {
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.floating-card {
    position: absolute;
    top: 40px;
    left: -20px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 28px;
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    animation: floatCard 4s ease-in-out infinite;
    z-index: 4;
}

@media (max-width: 576px) {
    .floating-card {
        display: none;
    }
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    border-radius: var(--border-radius-md);
}

.card-icon i {
    font-size: 1.25rem;
    color: var(--text-light);
}

.card-value {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.card-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.welcome-bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--color-primary);
    top: -200px;
    left: -200px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--color-gray-medium);
    bottom: -100px;
    right: -100px;
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.services-grid {
    display: grid;
    gap: 30px;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    background: var(--bg-primary);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.service-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.service-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.service-card:hover .service-bg img {
    transform: scale(1.1);
}

.service-content {
    position: relative;
    z-index: 1;
    padding: 40px;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(26, 26, 46, 0.85) 100%);
    height: 100%;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.service-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.1);
    line-height: 1;
}

.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    border-radius: var(--border-radius-md);
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--text-light);
}

.service-content h3 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 12px;
}

.service-content > p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-features {
    margin-bottom: 24px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

.service-features li i {
    font-size: 0.75rem;
    color: var(--color-accent);
}

.btn-service {
    display: inline-flex;
    padding: 12px 24px;
    background: var(--color-primary);
    color: var(--text-light);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--border-radius-md);
    transition: all var(--transition-normal);
}

.btn-service:hover {
    background: var(--color-primary-dark);
    transform: translateX(5px);
}

/* ===== CTA SECTION ===== */
.cta-section {
    position: relative;
    padding: 120px 0;
    background: var(--bg-gradient);
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.cta-pattern {
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: 50px 50px;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-full);
    margin-bottom: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-badge i {
    font-size: 1.25rem;
    color: var(--color-accent);
}

.cta-badge span {
    font-family: 'Outfit', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-light);
}

.cta-content h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.2;
}

.cta-content > p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 48px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.cta-features span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
}

.cta-features span i {
    color: var(--color-accent);
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: var(--section-padding);
    background: var(--bg-primary);
}

.contact-wrapper {
    display: grid;
    gap: 60px;
    width: 100%;
}

@media (min-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr 1.2fr;
        gap: 60px;
    }
}

.contact-info .section-title {
    text-align: left;
}

.contact-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-details {
    display: grid;
    gap: 24px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-md);
    transition: all var(--transition-normal);
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    border-radius: var(--border-radius-md);
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.25rem;
    color: var(--text-light);
}

.contact-text h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-text p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin: 0;
}

.social-connect h4 {
    font-size: 1rem;
    margin-bottom: 16px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: 50%;
    transition: all var(--transition-normal);
}

.social-link:hover {
    background: var(--color-primary);
    transform: translateY(-5px);
}

.social-link i {
    font-size: 1.125rem;
    color: var(--text-secondary);
    transition: color var(--transition-normal);
}

.social-link:hover i {
    color: var(--text-light);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-secondary);
    border-radius: var(--border-radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-xl);
    width: 100%;
    border: 1px solid var(--color-gray-light);
}

@media (max-width: 576px) {
    .contact-form-wrapper {
        padding: 32px 24px;
    }
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h3 {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.form-header p {
    font-size: 0.9375rem;
    color: var(--text-muted);
}

.contact-form {
    display: grid;
    gap: 24px;
}

.form-row {
    display: grid;
    gap: 24px;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px 16px 50px;
    font-size: 1rem;
    color: var(--text-primary);
    background: var(--bg-primary);
    border: 2px solid var(--color-gray-light);
    border-radius: var(--border-radius-md);
    transition: all var(--transition-normal);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(107, 35, 94, 0.1);
}

.form-icon {
    position: absolute;
    left: 20px;
    top: 50px;
    font-size: 1rem;
    color: var(--text-muted);
    transition: color var(--transition-normal);
}

.form-group input:focus + .form-icon,
.form-group textarea:focus + .form-icon {
    color: var(--color-primary);
}

.form-select-icon {
    position: absolute;
    right: 20px;
    top: 50px;
    font-size: 0.75rem;
    color: var(--text-muted);
    pointer-events: none;
}

.form-group select {
    appearance: none;
    cursor: pointer;
}

.form-textarea-icon {
    position: absolute;
    left: 20px;
    top: 20px;
    font-size: 1rem;
    color: var(--text-muted);
    transition: color var(--transition-normal);
}

.form-group textarea:focus + .form-textarea-icon {
    color: var(--color-primary);
}

.form-footer {
    text-align: center;
}

.form-privacy {
    margin-top: 16px;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.form-privacy i {
    margin-right: 6px;
    color: var(--color-primary);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-dark);
    color: rgba(0, 0, 0, 0.4);
}

.footer-main {
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    gap: 48px;
    margin-bottom: 48px;
    width: 100%;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.footer-logo img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: var(--bg-primary);
    border-radius: var(--border-radius-md);
    padding: 8px;
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-light);
}

.brand-subtitle {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 1rem;
    color: var(--text-light);
    transition: all var(--transition-normal);
}

.footer-social a:hover {
    background: var(--color-primary);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 24px;
}

.footer-links ul li,
.footer-services ul li {
    margin-bottom: 14px;
}

.footer-links ul li a,
.footer-services ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    transition: all var(--transition-normal);
}

.footer-links ul li a:hover,
.footer-services ul li a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.footer-links ul li a i,
.footer-services ul li a i {
    font-size: 0.75rem;
    color: var(--color-primary);
}

.footer-contact ul {
    display: grid;
    gap: 16px;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.9375rem;
}

.footer-contact ul li i {
    font-size: 1rem;
    color: var(--color-primary);
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
}

.footer-bottom-content {
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
}

.copyright-note {
    font-size: 0.75rem !important;
    color: rgba(255, 255, 255, 0.3) !important;
}

/* ===== WHATSAPP FLOTANTE ===== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    z-index: 1000;
    transition: all var(--transition-normal);
}

.whatsapp-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-icon i {
    font-size: 1.75rem;
    color: var(--text-light);
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    padding: 10px 16px;
    background: var(--bg-dark);
    color: var(--text-light);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--border-radius-md);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.whatsapp-tooltip::before {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-left-color: var(--bg-dark);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-2xl);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

/* ===== BOTÓN VOLVER ARRIBA ===== */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--bg-primary);
    border: 2px solid var(--color-gray-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-5px);
}

.back-to-top i {
    font-size: 1.125rem;
    color: var(--text-primary);
    transition: color var(--transition-normal);
}

.back-to-top:hover i {
    color: var(--text-light);
}

/* ===== ANIMACIONES DE REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ===== RESPONSIVE ADICIONAL ===== */
@media (max-width: 576px) {
    :root {
        --section-padding: 80px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 24px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .welcome-features {
        grid-template-columns: 1fr;
    }
    
    .floating-card {
        display: none;
    }
    
    .image-card.secondary {
        display: none;
    }
    
    .contact-form-wrapper {
        padding: 32px 24px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 16px;
    }
    
    .featured-stats {
        justify-content: center;
    }
    
    .featured-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .featured-cta .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    :root {
        --section-padding: 100px 0;
    }
}

/* ===== SCROLLBAR PERSONALIZADO ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-dark);
}

/* ===== SELECCIÓN DE TEXTO ===== */
::selection {
    background: var(--color-primary);
    color: var(--text-light);
}
