* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
    padding-top: 90px;
}

/* HEADER */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    z-index: 9999;

    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(201,162,77,0.4);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.header-content {
    max-width: 1200px;
    margin: auto;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 12px 25px;
}

/* Espacio para header fijo */



nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #8b6b2e;
    font-weight: 600;
}





/* Línea animada debajo */
nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;

    width: 0%;
    height: 2px;
    background: #c9a24d;

    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: #c9a24d;
}

/* Delay progresivo */

.card:nth-child(1) { transition-delay: 0.1s; }
.card:nth-child(2) { transition-delay: 0.2s; }
.card:nth-child(3) { transition-delay: 0.3s; }
.card:nth-child(4) { transition-delay: 0.4s; }



/*hero */
.btn {
    margin-top: 20px;
    background: #c9a24d;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 30px;
}


/* SECTIONS */
.section {
    padding: 70px 20px;
}

.section h2 {
    text-align: center;
    color: #a8842f;
    margin-bottom: 50px;
    font-size: 2rem;
    position: relative;
    padding-bottom: 18px;
}

.section h2::after {
    content: "";
    display: block;
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, #c9a24d, #e5c76b);
    margin: 16px auto 0;
    border-radius: 2px;
}

.light {
    background: #f6f2e9;
}

/* ===================== */
/* CARDS MODERNAS */
/* ===================== */

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 35px;
    max-width: 1200px;
    margin: auto;
}

.card {
    background: #ffffff;
    border-radius: 18px;
    padding: 40px 30px;

    text-align: center;

    border: 1px solid #eee;
    border-top: 5px solid #c9a24d;

    box-shadow: 0 10px 25px rgba(0,0,0,0.08);

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;

    transition: all 0.4s ease;

    /* Animación inicial */
    opacity: 0;
    transform: translateY(40px);
}

/* Hover elegante */
.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Cuando aparece */
.card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Íconos */
.card i {
    font-size: 42px;
    color: #c9a24d;
    margin-bottom: 10px;
}

/* Texto */
.card p {
    font-size: 16px;
    color: #444;
    line-height: 1.6;
}

/* ACTIVIDADES PREMIUM */

.actividades-premium {
    background: linear-gradient(180deg, #f6f1e2, #efe3c4);
}

.card.terapia {
    background: #fffdf6;
    border-top: 5px solid #8b6b2e;
}

.card.terapia:hover {
    background: #fff8e4;
}

/* TEXT */
.center {
    text-align: center;
    max-width: 700px;
    margin: auto;
}

/* FOOTER */
.footer {
    background: #8b6b2e;
    color: white;
    text-align: center;
    padding: 20px;
}

/* RESPONSIVE */
@media (max-width: 768px) {

    nav {
        display: none;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .card {
        padding: 30px 20px;
    }
}

/* CONTACTO */
.contacto-centro {
    text-align: center;
}

.contacto-centro p {
    margin: 10px 0;
    font-size: 16px;
}



/* WHATSAPP */
.whatsapp-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.whatsapp-float {
    background: #25d366;
    color: white;
    padding: 12px 16px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}

.whatsapp-icon {
    width: 28px;
    height: 28px;
}



/* MAPA */
.mapa {
    max-width: 1100px;
    margin: auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.mapa iframe {
    width: 100%;
    height: 400px;
    border: 0;
}



/* GALERÍA */

.galeria {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    max-width: 1100px;
    margin: auto;
}

.galeria img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}




/* ICONOS ANIMADOS */

.card i {
    transition: all 0.4s ease;
}

.card:hover i {
    transform: scale(1.2) rotate(5deg);
    text-shadow: 0 0 15px rgba(201,162,77,0.6);
}


/* CARDS GLASS EFFECT */

.card {
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}


/* ANIMACION LOGO */

.logo {
    height: 60px;
    transition: all 0.4s ease;
    animation: flotarLogo 4s ease-in-out infinite;
}

@keyframes flotarLogo {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}




/* ================= HERO CARRUSEL LIMPIO ================= */

.hero {
    position: relative;
    height: 80vh;
    overflow: hidden;
}

/* Contenedor */
.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

/* Pista */
.hero-track {
    display: flex;
    height: 100%;
    width: calc(100vw * 7);

    animation: slideHero 15s infinite ease-in-out;
}

/* Imágenes */
.hero-track img {
    width: 100vw;
    height: 100%;

    object-fit: cover;
    object-position: center;

    flex-shrink: 0;
}

/* Texto arriba */
.hero-overlay {
    position: relative;
    z-index: 2;

    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
    color: white;

    background: rgba(0,0,0,0.25);
}

/* Animación */
@keyframes slideHero {

    0%   { transform: translateX(0); }
    15%  { transform: translateX(0); }

    20%  { transform: translateX(-100vw); }
    35%  { transform: translateX(-100vw); }

    40%  { transform: translateX(-200vw); }
    55%  { transform: translateX(-200vw); }

    60%  { transform: translateX(-300vw); }
    75%  { transform: translateX(-300vw); }

    80%  { transform: translateX(-400vw); }
    90%  { transform: translateX(-400vw); }

    100% { transform: translateX(0); }
}




















/* HERO - TEXTO MÁS CLARO Y GRANDE */

.hero h1 {
    font-size: 3.8rem; /* más grande */
    color: #ffffff;   /* blanco puro */
    text-shadow: 0 4px 15px rgba(0,0,0,0.6);
}

.hero p {
    font-size: 1.5rem;
    color: #f5f5f5;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

/* Fondo menos oscuro */
.hero-overlay {
    background: rgba(0,0,0,0.15);
}










/* ===================== */
/* CONTACTO PROFESIONAL */
/* ===================== */

.contacto-pro {
    background: linear-gradient(180deg, #fdfaf2, #f3ead5);
    text-align: center;
}

.contacto-sub {
    max-width: 600px;
    margin: -20px auto 40px;
    color: #666;
    font-size: 1.1rem;
}

.contacto-grid {
    max-width: 1000px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.contacto-item {
    background: white;

    border-radius: 18px;
    padding: 35px 25px;

    box-shadow: 0 8px 25px rgba(0,0,0,0.08);

    transition: all 0.3s ease;
}

.contacto-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* Iconos */
.contacto-item i {
    font-size: 36px;
    color: #c9a24d;
    margin-bottom: 15px;
}

/* Títulos */
.contacto-item h4 {
    margin-bottom: 10px;
    color: #8b6b2e;
    font-size: 1.2rem;
}

/* Texto */
.contacto-item p {
    color: #444;
    font-size: 1rem;
    line-height: 1.5;
}

/* Links */
.contacto-item a {
    color: #444;
    text-decoration: none;
    font-weight: 600;
}

.contacto-item a:hover {
    color: #c9a24d;
}
















/* ====================== */
/* ACTIVIDADES ESPECIALES */
/* ====================== */

.actividades-especiales {
    background: #faf7f0;
}

.actividad-box {
    max-width: 1100px;
    margin: 60px auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;

    align-items: center;
}

/* Invertir bloque */
.actividad-box.reverse {
    direction: rtl;
}

.actividad-box.reverse > * {
    direction: ltr;
}

/* Contenedor media */
.actividad-media {
    overflow: hidden;
    border-radius: 20px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Video e imagen */
.actividad-media video,
.actividad-media img {
    width: 100%;
    height: 100%;
    max-height: 350px;

    object-fit: cover;
    display: block;
}

/* Texto */
.actividad-texto {
    font-size: 17px;
    line-height: 1.7;
    color: #444;
}

/* Responsive */
@media (max-width: 768px) {

    .actividad-box {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .actividad-box.reverse {
        direction: ltr;
    }

}

.actividad-texto {
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    font-size: 16px;
    line-height: 1.7;
}







/* ====================== */
/* BOTON DE CONSULTAS DE LAS ACTIVIDADES ESPECIALES */
/* ====================== */

.btn-consulta {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 22px;
    background: #2c7be5;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
}

.btn-consulta:hover {
    background: #1a5fc4;
}

/* ====================== */








/* =======ZOOM EN VIDEO E IMAGEN EN ACTIVIDADES ESPECIALES=========== */

.zoom img,
.zoom video {
    transition: transform 0.3s ease;
}

.zoom:hover img,
.zoom:hover video {
    transform: scale(1.05);
}










/* Animación al aparecer */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}









/* RESPONSIVE MOBILE */
@media (max-width: 768px) {

    .header-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .hero {
        height: 60vh;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .actividad-box {
        flex-direction: column;
    }

    .actividad-box.reverse {
        flex-direction: column;
    }

    .actividad-media,
    .actividad-texto {
        width: 100%;
    }

    .galeria {
        grid-template-columns: 1fr 1fr;
    }

    .contacto-centro {
        padding: 20px;
    }
}










