/* ===== RESET BÁSICO ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
    
}

/* ===== HEADER NORMAL (desaparece al scroll) ===== */
.header {
    position: relative; /* ya no fijo */
    top: 0;
    left: 0;
    width: 100%;
    background-color: #81160E;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    z-index: 1000;
    transition: transform 0.4s ease; /* para ocultar al scroll */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1300px;
    margin: 0 auto;
}

.header-logo img {
    max-height: 60px;
    width: auto;
}

/* ===== MENÚ ===== */
.header-menu {
    display: flex;
    gap: 10px;
}

.header-menu a {
    text-decoration: none;
    color: #FFF;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s ease;
    text-transform: uppercase;
    border-top: 5px solid #fff;
    border-left: 2px solid #fff;
    border-right: 2px solid #fff;
    padding: 5px 10px 0 10px;
    border-radius: 7px 7px 0 0;
}

.header-menu a:hover {
    color: #ffc000;
    border-top: 5px solid #ffc000;
    border-left: 2px solid #ffc000;
    border-right: 2px solid #ffc000;
}

/* ===== HAMBURGUESA ===== */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger-icon {
    width: 28px;
    height: 28px;
    stroke: #fff;
    stroke-width: 2.5;
    transition: transform 0.3s ease;
    border: 1px solid #fff;
    padding: 5px;
}

.hamburger-icon .line {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active .top {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active .middle {
    opacity: 0;
}
.hamburger.active .bottom {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
    /* Ajustar logo */
    .header-logo img {
        max-height: 40px;
    }

    /* Mostrar hamburguesa */
    .hamburger {
        display: block;
        position: relative;
        z-index: 1100; /* más alto que el menú */
    }

    /* Menú móvil */
    .header-menu {
        position: fixed; /* para que no aparezca con scroll horizontal */
        top: 0;
        right: 0;
        background-color: #4F0E09;
        flex-direction: column;
        gap: 1.2rem;
        padding: 1.5rem 2rem;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        z-index: 1000; /* detrás de la hamburguesa */
        min-width: 200px;
        height: 100vh;
        overflow-y: auto; /* scroll vertical si hay muchos links */
        transform: translateX(100%);
        transition: transform 0.3s ease;
        will-change: transform;
    }

    /* Cuando el menú está abierto */
    .header-menu.open {
        transform: translateX(0);
    }

    /* Links dentro del menú */
    .header-menu a {
        border: 1px solid #fff;
        padding: 10px;
        border-radius: 0;
        color: #fff;
    }

    /* Evitar scroll horizontal al abrir menú */
    body.menu-open {
        overflow-x: hidden;
    }

    /* Contenedor del header */
    .header-container {
        padding: 10px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}



/* ==========================================================
   HERO ESTÁTICO + CARRUSEL DE FONDO
   ========================================================== */
.hero-static {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

/* Carrusel de fondo (solo imágenes) */
.hero-bg-carousel {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.bg-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: fade 15s infinite;
}

.bg-slide:nth-child(1) { animation-delay: 0s; }
.bg-slide:nth-child(2) { animation-delay: 5s; }
.bg-slide:nth-child(3) { animation-delay: 10s; }

@keyframes fade {
    0%, 33.33% { opacity: 1; }
    33.34%, 100% { opacity: 0; }
}

/* Overlay oscuro */
.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

/* Contenido estático centrado */
.hero-static-content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    padding: 2rem;
}

.hero-logo {
    max-height: 90px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}

.hero-title {
    font-size: 40px;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
    color:#fff;
}

.hero-text {
    font-size: 15px;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.4;
    color:#fff;
}

/* Botón CTA */
.btn-primary {
    display: inline-block;
    padding: 0.75rem 2rem;
    background-color: #81160E;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-hover, #ffc000);
    transform: translateY(-2px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-text {
        font-size: 1rem;
    }
    .hero-logo {
        max-height: 70px;
    }
    .btn-primary {
        padding: 0.6rem 1.5rem;
        font-size: 0.95rem;
    }
}
/* ==========================================================
   CARRUSEL DE FONDO: ZOOM LENTO + FADE
   ========================================================== */

.hero-bg-carousel {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.bg-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: kenBurnsFade 15s infinite;
}

/* Timing de cada imagen */
.bg-slide:nth-child(1) { animation-delay: 0s; }
.bg-slide:nth-child(2) { animation-delay: 5s; }
.bg-slide:nth-child(3) { animation-delay: 10s; }

/* Animación: fade + zoom lento */
@keyframes kenBurnsFade {
    0% {
        opacity: 0;
        transform: scale(1) translate(0, 0);
    }
    8% {
        opacity: 1;
    }
    33% {
        opacity: 1;
        transform: scale(1.08) translate(-1%, 1%);
    }
    41% {
        opacity: 0;
        transform: scale(1.1) translate(-2%, 2%);
    }
    100% {
        opacity: 0;
    }
}


/* ==========================================================
   NOSOTROS – 50% TEXTO / 50% IMAGEN / OVERLAY BLANCO
   ========================================================== */
.nosotros-full {
    position: relative;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Overlay blanco semi-transparente (todos los dispositivos) */
.nosotros-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1;
    pointer-events: none;
}

/* Contenedor interno: 1300px centrado */
.nosotros-ctn {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    gap: 2rem;
}

/* Cada mitad: 50% */
.nosotros-content,
.nosotros-img {
    width: 50%;
}

/* Imagen lateral */
.nosotros-img {
    height: 60%;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
}

/* Alineaciones laterales */
.nosotros-izq {
    text-align: left;
}

.nosotros-der {
    text-align: right;
}

/* Colores de texto */
.nosotros-content h2 {
    color: #4F0E09;
    font-size: 45px;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    line-height: 1;
}

.nosotros-content h3 {
    color: #81160E;
    font-size: 20px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nosotros-content p {
    color: #262626;
    font-size: 25px;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

/* Botón */
.nosotros-content .btn-primary {
    background-color: var(--primary-color, #81160E);
    color: #fff;
    padding: 0.75rem 1.8rem;
    font-size: 1rem;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

.nosotros-content .btn-primary:hover {
    background-color: var(--primary-hover, #a01d12);
    transform: translateY(-2px);
}

/* ===== MÓVIL: imagen DEBAJO del contenido ===== */
@media (max-width: 768px) {
    .nosotros-full {
        height: auto; /* se adapta al contenido */
    }
    .nosotros-ctn {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    /* Fuerza el orden: contenido primero, imagen después */
    .nosotros-content {
        order: 1;
        width: 100%;
        text-align: center !important;
        padding: 30px 0;
    }
    .nosotros-img {
        order: 2;
        width: 100%;
        height: 250px; /* tamaño reducido */
        border-radius: 8px;
    }
    /* Textos más pequeños en móvil */
    .nosotros-content h2 {
        font-size: 28px;
    }
    .nosotros-content h3 {
        font-size: 18px;
    }
    .nosotros-content p {
        font-size: 16px;
    }
}

/* ==========================================================
   3 COLUMNAS – ICONOS SVG / OVERLAY SÓLIDO / RESPONSIVE
   ========================================================== */
.tres-columnas-full {
    position: relative;
    width: 100%;
    padding: 4rem 0;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* Overlay sólido blanco (sin degradado) */
.tres-columnas-overlay {
    position: absolute;
    inset: 0;
    background: rgba(79, 14, 9, 0.85);
    z-index: 1;
}

/* Contenedor interno centrado */
.tres-columnas-content {
    position: relative;
    z-index: 2;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Grid de 3 columnas */
.tres-columnas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    text-align: center;
}

/* Cada columna */
.columna-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    backdrop-filter: blur(4px);
}

/* Icono SVG */
.columna-icono {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    fill: #4F0E09; /* color del SVG */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

/* Título */
.columna-item h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #4F0E09;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

/* Descripción */
.columna-item p {
    font-size: 1.1rem;
    color: #262626;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

/* Línea divisoria */
.columna-hr {
    width: 60px;
    height: 2px;
    background: var(--primary-color, #81160E);
    border: none;
    margin: 0 auto;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .tres-columnas-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .columna-item {
        padding: 1.5rem;
    }
    .columna-icono {
        width: 50px;
        height: 50px;
    }
    .columna-item h3 {
        font-size: 1.5rem;
    }
    .columna-item p {
        font-size: 1rem;
    }
}



/* ==========================================================
   SERVICIOS – 50% TEXTO / 50% IMAGEN / 1300px CENTRADO
              + OVERLAY DEGRADADO BLANCO 90° (solo PC/Tablet)
   ========================================================== */
.servicio-full {
    position: relative;
    width: 100%;
    height: 80vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* OVERLAY ESCRITORIO / TABLET (degradado) */
.servicio-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* Degradado horizontal solo PC/Tablet */
@media (min-width: 769px) {
    .servicio-full:has(.servicio-izq) .servicio-overlay {
        background: linear-gradient(90deg, rgba(255, 255, 255, 1) 40%, rgba(255, 255, 255, 0.25) 100%);
    }
    .servicio-full:has(.servicio-der) .servicio-overlay {
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 1) 40%);
    }
}

/* OVERLAY MÓVIL (blanco sólido) */
.servicio-overlay-movil {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1;
    display: none; /* oculto en escritorio */
}

@media (max-width: 850px) {
    .servicio-full {
        height: auto;
        padding:40px 0;
    }
}

@media (max-width: 768px) {
    .servicio-overlay {
        display: none; /* oculta el degradado */
    }
    .servicio-overlay-movil {
        display: block; /* muestra blanco en móvil */
    }
}

/* Contenedor interno: 1300px centrado */
.ctn-servicios {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    gap: 2rem;
}

/* Cada mitad: 50% */
.servicio-content,
.servicio-img {
    width: 50%;
}

/* Imagen lateral */
.servicio-img {
    height: 60%;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
}

/* Alineaciones laterales */
.servicio-izq {
    text-align: left;
}

.servicio-der {
    text-align: right;
}

/* Colores de texto */
.servicio-content h2 {
    color: #4F0E09;
    font-size: 45px;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.servicio-content p {
    color: #262626;
    font-size: 25px;
    margin-bottom: 2rem;
}

/* Botón */
.servicio-content .btn-primary {
    background-color: var(--primary-color, #81160E);
    color: #fff;
    padding: 0.75rem 1.8rem;
    font-size: 1rem;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

.servicio-content .btn-primary:hover {
    background-color: var(--primary-hover, #a01d12);
    transform: translateY(-2px);
}

/* ===== MÓVIL: imagen DEBAJO del contenido ===== */
@media (max-width: 768px) {
    .servicio-full {
        height: auto; /* se adapta al contenido */
        padding-bottom:20px;
    }
    .ctn-servicios {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    /* Overlay blanco semi-transparente (móvil) */
    .servicio-overlay-movil {
        display: block;
    }
    .servicio-overlay {
        display: none;
    }
    /* Fuerza el orden: contenido primero, imagen después */
    .servicio-content {
        order: 1;
        width: 100%;
        text-align: center !important;
        padding: 30px 0;
    }
    .servicio-img {
        order: 2;
        width: 100%;
        height: 250px; /* tamaño reducido */
        border-radius: 8px;
    }
    /* Textos más pequeños en móvil */
    .servicio-content h2 {
        font-size: 28px;
    }
    .servicio-content p {
        font-size: 16px;
    }
}



/* ==========================================================
   TESTIMONIOS – 3 COLUMNAS / OVERLAY ROJO OSCURO
   ========================================================== */
.testimonios-full {
    position: relative;
    width: 100%;
    padding: 4rem 0;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* Overlay rojo oscuro */
.testimonios-overlay {
    position: absolute;
    inset: 0;
    background: rgba(79, 14, 9, 0.85);
    z-index: 1;
}

/* Contenedor interno centrado */
.testimonios-content {
    position: relative;
    z-index: 2;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Título */
.testimonios-titulo {
    text-align: center;
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 3rem;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

/* Grid de 3 columnas */
.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    text-align: center;
}

/* Cada testimonio */
.testimonio-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(4px);
}

/* Icono SVG */
.testimonio-icono {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
    fill: #ffc000;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

/* Nombre */
.testimonio-item h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

/* Testimonio */
.testimonio-item p {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
    line-height: 1.4;
}

/* Línea divisoria */
.testimonio-hr {
    width: 60px;
    height: 2px;
    background: #ffc000;
    border: none;
    margin: 0 auto;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .testimonios-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .testimonio-item {
        padding: 1.5rem;
    }
    .testimonios-titulo {
        font-size: 2rem;
    }
    .testimonio-icono {
        width: 40px;
        height: 40px;
    }
    .testimonio-item h3 {
        font-size: 1.3rem;
    }
    .testimonio-item p {
        font-size: 1rem;
    }
}




/* ==========================================================
   CONTACTO – 50% CONTENIDO / 50% MAPA / OVERLAY SÓLIDO
   ========================================================== */
.contacto-full {
    position: relative;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Overlay sólido blanco (todos los dispositivos) */
.contacto-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1;
    pointer-events: none;
}

/* Contenedor interno: 1300px centrado */
.contacto-ctn {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    gap: 2rem;
}

/* Cada mitad: 50% */
.contacto-content,
.contacto-map {
    width: 50%;
}

/* Mapa lateral */
.contacto-map iframe {
    width: 100%;
    height: 450px;
    border: 0;
    border-radius: 8px;
}

/* Alineaciones laterales */
.contacto-izq {
    text-align: left;
}

.contacto-der {
    text-align: right;
}

/* Título */
.contacto-content h2 {
    color: #4F0E09;
    font-size: 45px;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

/* Subtítulo */
.contacto-content h3 {
    color: #81160E;
    font-size: 20px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Párrafo */
.contacto-content p {
    color: #262626;
    font-size: 20px;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

/* Lista de contacto */
.contacto-lista {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.contacto-lista li {
    margin-bottom: 0.5rem;
    font-size: 18px;
    color: #262626;
}

/* Redes sociales */
.contacto-redes {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.btn-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.3s ease;
}

.btn-social.whatsapp {
    background: #25D366;
    color: #fff;
}

.btn-social.facebook {
    background: #1877F2;
    color: #fff;
}

.btn-social.instagram {
    background: #E4405F;
    color: #fff;
}

.btn-social:hover {
    transform: translateY(-2px);
}

@media (max-width: 850px) {
    .contacto-full {
        height: auto;
        padding:50px 0;
    }
}

/* ===== MÓVIL: contenido arriba, mapa abajo SIN SOBREPASAR PADDING ===== */
@media (max-width: 768px) {
    .contacto-full {
        height: auto;
        padding: 30px 1rem;
    }
    .contacto-ctn {
        flex-direction: column;
        gap: 1rem;
        padding: 0;
    }
    .contacto-content {
        order: 1;
        width: 100%;
        max-width: 100%;
        text-align: center !important;
        padding: 0;
        margin: 0 auto;
    }
    .contacto-redes {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
        max-width: 100%;
        margin: 0 auto;
    }
    .btn-social {
        max-width: 90%;
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    .contacto-map {
        order: 2;
        width: 100%;
        max-width: 100%;
        height: 250px; /* más pequeño */
        border-radius: 8px;
        margin: 0 auto;
        margin-bottom: 30px; /* <-- ESPACIO ANTES DEL FOOTER */
    }
    .contacto-content h2 {
        font-size: 24px;
    }
    .contacto-content h3 {
        font-size: 16px;
    }
    .contacto-content p {
        font-size: 14px;
    }
}


/* ===== FOOTER – 3 COLUMNAS / RESPONSIVE ===== */
.footer {
    background-color: #4F0E09;
    color: #fff;
    padding: 2rem 0;
    font-size: 0.9rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-col {
    flex: 1;
}

.footer-copy {
    text-align: left;
}

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

.footer-author {
    text-align: right;
}

.footer-link {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #ffc000;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .footer {
        margin-top:30px;
    }
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    .footer-col {
        text-align: center !important;
    }
}

/* ==========================================================
   ANIMACIONES DE ENTRADA (CSS puro)
   ========================================================== */

/* Animación: aparece desde abajo + fade */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animación: aparece desde la izquierda + fade */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animación: aparece desde la derecha + fade */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animación: escala + fade */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Aplicar animaciones con clases */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.animate-fade-in-right {
    animation: fadeInRight 0.8s ease-out forwards;
}

.animate-fade-in-scale {
    animation: fadeInScale 0.8s ease-out forwards;
}

/* Retrasos escalonados para que no se vean todos a la vez */
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }