﻿/* ============================================
   ESTILOS BASE
   ============================================ */
* {
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

h1, h2, h3, .title-font {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #fff;
}

section {
    position: relative;
    width: 100%;
    scroll-margin-top: 80px;
}

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

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

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

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

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(45, 125, 95, 0.3); }
    50% { box-shadow: 0 0 40px rgba(45, 125, 95, 0.55); }
}

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

.animate-fadeIn { animation: fadeInUp 0.8s ease-out; }
.animate-slideInLeft { animation: slideInLeft 0.8s ease-out; }
.animate-slideInRight { animation: slideInRight 0.8s ease-out; }
.animate-bounce-sm { animation: bounceSmall 2s ease-in-out infinite; }
.animate-glow { animation: glow 2s ease-in-out infinite; }
.animate-float { animation: float 4s ease-in-out infinite; }

/* ============================================
   SCROLL REVEAL
   ============================================ */
.scroll-reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* ============================================
   HERO VIDEO
   ============================================ */
#inicio {
    min-height: 100svh;
    overflow: hidden;
}

.video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(45, 125, 95, 0.72) 0%, rgba(45, 125, 95, 0.50) 100%);
    z-index: 1;
}

/* ============================================
   COMPONENTES
   ============================================ */
.btn-premium {
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(45, 125, 95, 0.25);
}

.card-hover {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.12);
}

.stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    color: #2d7d5f;
    line-height: 1;
}

nav.shadow-md {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .stat-number { font-size: 1.9rem; }
}
