/* Restablecimiento general */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
    background-color: #fdfdfd;
    color: #333333;
    line-height: 1.6;
}

/* Compensación de altura para el menú superior al hacer scroll a secciones */
section,
.info-section {
    scroll-margin-top: 60px;
    /* Ajusta este valor según el alto exacto de tu menú header */
}

/* Transición suave para todos los enlaces internos */
html {
    scroll-behavior: smooth;
}

/* CSS para el menú y el comportamiento responsive */
header {
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid #eaeaea;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Ocultar el menú móvil por defecto en escritorio */
.mobile-header,
.mobile-nav {
    display: none;
}

/* ==================================
   ESTILOS DE ESCRITORIO
   ================================== */
.desktop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0rem 7%;
}

.logo img {
    width: 10rem;
    display: block;
}

.desktop-nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.desktop-nav a {
    text-decoration: none;
    color: #444;
    font-weight: 600;
    transition: color 0.3s ease;
}

.desktop-nav a:hover {
    color: #8e24aa;
}

/* ==================================
   ESTILOS MÓVIL (Pantallas menores a 900px)
   ================================== */
@media (max-width: 900px) {

    /* Ocultar el menú de escritorio en dispositivos móviles */
    .desktop-header {
        display: none;
    }

    /* Mostrar la barra superior móvil con hamburguesa izquierda y logo centrado */
    .mobile-header {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        padding: 12px 20px;
        background-color: #ffffff;
        /* El header se mantiene blanco */
    }

    .menu-toggle {
        position: absolute;
        left: 20px;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: #8e24aa;
        cursor: pointer;
    }

    .mobile-header .logo img {
        width: 8.5rem;
    }

    .mobile-header .logo a {
        display: block;
        text-decoration: none;
    }

    .mobile-header .logo img {
        width: 8.5rem;
        display: block;
    }

    /* Panel del menú deslizante desde la izquierda */
    .mobile-nav {
        display: block;
        position: fixed;
        top: 90px;
        /* <--- Clave: Inicia justo debajo del header para no cubrirlo (ajusta este valor según la altura de tu barra móvil) */
        left: -100%;
        /* Oculto fuera de la pantalla a la izquierda */
        width: 280px;
        height: calc(100vh - 61px);
        /* Ocupa el resto de la altura de la pantalla */
        background-color: #ffffff;
        /*box-shadow: 4px 0 15px rgba(0, 0, 0, 0.2);*/
        transition: left 0.3s ease-in-out;
        z-index: 1100;
        padding-top: 20px;
    }

    /* Clase que activa el deslizamiento mediante JavaScript */
    .mobile-nav.active {
        left: 0;
    }

    .mobile-nav ul {
        display: flex;
        flex-direction: column;
        list-style: none;
        padding: 10px 20px;
        margin: 0;
    }

    .mobile-nav a {
        text-decoration: none;
        color: #111111;
        font-weight: 600;
        font-size: 1.1rem;
        display: block;
        transition: opacity 0.3s ease;
    }

    .mobile-nav a:hover {
        opacity: 0.8;
    }

    .mobile-nav li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.15);
        /* Línea divisoria semitransparente */
        padding: 15px 0;
        /* Espacio superior e inferior para que no queden apretados */
    }

    .mobile-nav li:last-child {
        border-bottom: none;
        /* Elimina la línea en el último elemento */
    }
}

/* Slider de Fotos */
.slider-container {
    position: relative;
    width: 100%;
    height: 75vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    background: rgba(0, 0, 0, 0.55);
    color: #ffffff;
    padding: 35px 45px;
    border-radius: 12px;
    text-align: center;
    max-width: 650px;
    backdrop-filter: blur(3px);
}

.slide-content h2 {
    font-size: 2.3rem;
    margin-bottom: 10px;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    font-size: 24px;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s;
}

.prev:hover,
.next:hover {
    background: rgba(142, 36, 170, 0.8);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

/* Secciones Informativas */
.intro-section {
    padding: 50px 7%;
    text-align: center;
    background-color: #f7f3f9;
}

.intro-section h2 {
    color: #8e24aa;
    margin-bottom: 10px;
}

.info-section {
    padding: 60px 7%;
    text-align: center;
}

.info-section h2 {
    font-size: 2rem;
    color: #222;
}

.section-subtitle {
    color: #666;
    margin-bottom: 35px;
}

/* Ajuste para mantener las 4 tarjetas en una sola fila horizontal */
.cards-container {
    display: flex;
    justify-content: space-between;
    /* Distribuye el espacio uniformemente entre las 4 cards */
    gap: 25px;
    /* Reduce el espacio intermedio para que quepan holgadamente */
    flex-wrap: nowrap;
    /* Evita que las tarjetas se salgan hacia la siguiente fila en pantallas grandes */
    max-width: 950px;
    margin: 0 auto;
}

.card {
    background: #ffffff;
    padding: 22px 18px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    width: 23%;
    /* Ocupa un poco menos del 25% del ancho disponible */
    min-width: 280px;
    /* Ancho mínimo para mantener buena legibilidad */
    border: 1px solid #eee;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
}

.card-icon {
    color: #7b2cbf;
    margin-bottom: 15px;
}

.card h3 {
    margin-bottom: 10px;
    color: #333;
}

.price {
    font-size: 2rem;
    color: #ffb703;
    font-weight: 700;
    margin-bottom: 15px;
}

.card ul {
    list-style: none;
    margin-top: 15px;
}

.card ul li {
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #555;
}

.card ul li i {
    color: #7b2cbf;
    margin-right: 8px;
}

/* Sección general de métodos de pago */
.payment-section {
    background-color: #fcfcfc;
    border-top: 1px solid #f0f0f0;
    padding: 60px 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Títulos y subtítulos dentro de la sección */
.payment-section h2 {
    font-size: 2rem;
    color: #111111;
    text-align: center;
    margin-bottom: 10px;
}

.payment-section .section-subtitle {
    font-size: 1rem;
    color: #555555;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px auto;
    line-height: 1.5;
}

/* Contenedor principal de las tarjetas de pago */
.payment-section>.cards-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Estilos de cada tarjeta de pago */
.payment-section .payment-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #eaeaea;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 30px 20px;
    text-align: center;
    flex: 1 1 250px;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.payment-section .payment-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(142, 36, 170, 0.12);
}

/* Iconos dentro de las tarjetas */
.payment-section .payment-icon {
    font-size: 2.5rem;
    color: #8e24aa;
    margin-bottom: 15px;
}

/* Textos dentro de las tarjetas */
.payment-section .payment-card h3 {
    font-size: 1.15rem;
    color: #111111;
    margin-bottom: 10px;
}

.payment-section .payment-card p {
    font-size: 0.9rem;
    color: #555555;
    line-height: 1.45;
}

/* Adaptabilidad responsiva para tablets y celulares */
@media (max-width: 768px) {
    .payment-section {
        padding: 40px 15px;
    }

    .payment-section h2 {
        font-size: 1.6rem;
    }

    .payment-section>.cards-container {
        flex-direction: column;
        align-items: center;
    }

    .payment-section .payment-card {
        flex: 1 1 100%;
        max-width: 100%;
        width: 100%;
    }
}

/* Formulario */
.contact-section {
    padding: 60px 7%;
    background: #ffffff;
    text-align: center;
}

form {
    max-width: 600px;
    margin: 30px auto 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group-row {
    display: flex;
    gap: 15px;
}

.form-group-row input,
.form-group-row select {
    flex: 1;
}

form input,
form select,
form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
}

form input:focus,
form select:focus,
form textarea:focus {
    border-color: #8e24aa;
}

.btn-submit {
    background-color: #8e24aa;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 600;
    transition: background 0.3s ease;
}

.btn-submit:hover {
    background-color: #6a1b9a;
}

/* Botón Flotante WhatsApp */
.whatsapp-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 1000;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

/* Chatbot Widget */
.chatbot-toggler {
    position: fixed;
    bottom: 95px;
    right: 25px;
    background-color: #8e24aa;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.chatbot-toggler:hover {
    transform: scale(1.1);
}

.chatbot-container {
    position: fixed;
    bottom: 155px;
    right: 25px;
    width: 330px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.18);
    display: none;
    flex-direction: column;
    z-index: 1000;
    overflow: hidden;
}

.chat-header {
    background: #8e24aa;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.close-btn {
    cursor: pointer;
    font-size: 1.4rem;
}

.chat-body {
    padding: 15px;
    max-height: 320px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.msg {
    margin-bottom: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.bot {
    background: #f0f0f0;
    color: #333;
    align-self: flex-start;
}

.user {
    background: #8e24aa;
    color: white;
    align-self: flex-end;
}

.faq-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 5px;
}

.faq-buttons button {
    background: #f7f3f9;
    color: #8e24aa;
    border: 1px solid #e1bee7;
    padding: 9px;
    text-align: left;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: background 0.2s;
}

.faq-buttons button:hover {
    background: #e1bee7;
}

/* Responsivo para móviles */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 10px;
    }

    nav ul {
        gap: 12px;
        font-size: 0.9rem;
    }

    .form-group-row {
        flex-direction: column;
    }

    .slider-container {
        height: 60vh;
    }

    .slide-content h2 {
        font-size: 1.6rem;
    }
}

/* Contenedor específico para la sección de tarifas */
.tarifas-container {
    display: flex;
    justify-content: center;
    /* Centra 3 tarjetas arriba y 2 centradas abajo */
    gap: 24px;
    /* Distancia uniforme entre todas las tarjetas */
    flex-wrap: wrap;
    /* Permite que la tarjeta 4 y 5 bajen automáticamente */
    max-width: 960px;
    /* Ancho exacto para forzar 3 tarjetas por fila */
    margin: 0 auto;
    /* Centra todo el bloque en la página */
}

/* Ajuste individual de las tarjetas de tarifa */
.tarifas-container .card {
    width: 290px;
    /* Tamaño fijo e idéntico para las 5 tarjetas */
    margin: 0;
    /* Elimina márgenes antiguos que descentren */
}

/* Tarjeta de Día Completo */

.card-full-day>.card-icon>i {
    font-size: 3rem;
}

.price-custom {
    font-size: 1.8rem;
    color: #8e24aa;
    font-weight: 700;
    margin-bottom: 12px;
}

.card-description {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 15px;
}

/* Botón de WhatsApp integrado en la tarjeta */
.btn-whatsapp-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #25d366;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 14px;
    border-radius: 8px;
    margin-top: auto;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-whatsapp-card:hover {
    background-color: #1eb954;
    transform: translateY(-2px);
}

/* Tres tarjetas de espacios alineadas en una sola fila horizontal */
.espacios-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: nowrap;
    /* Por defecto en escritorio van en una línea */
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 15px;
    /* Añadido para que en móviles no peguen contra los bordes */
}

.espacio-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #eaeaea;
    flex: 1;
    max-width: 380px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.espacio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(142, 36, 170, 0.12);
}

.espacio-info {
    padding: 20px 18px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.espacio-info h3 {
    font-size: 1.15rem;
    color: #111111;
    display: flex;
    align-items: center;
    gap: 8px;
}

.espacio-info h3 i {
    color: #7b2cbf;
    font-size: 1.05rem;
}

.espacio-info p {
    font-size: 0.9rem;
    color: #555555;
    line-height: 1.45;
}

/* ==========================================
   ADAPTABILIDAD A DISPOSITIVOS MÓVILES (RESPONSIVE)
   ================================---------- */
@media (max-width: 900px) {
    .espacios-container {
        flex-wrap: wrap;
        /* Permite que bajen a la siguiente línea */
    }

    .espacio-card {
        flex: 0 0 100%;
        /* Forzamos a que cada tarjeta ocupe el 100% del ancho */
        max-width: 100%;
        /* Quitamos la limitación de los 380px para que crezcan en móviles */
    }
}

/* Slider interno de las tarjetas de espacios */
.card-slider {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #f0f0f0;
}

.card-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.card-slide.active {
    opacity: 1;
}

.card-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Flechas de navegación pequeñas dentro de la tarjeta */
.card-prev,
.card-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: #ffffff;
    border: none;
    font-size: 14px;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s;
    z-index: 5;
}

.card-prev:hover,
.card-next:hover {
    background: #7b2cbf;
}

.card-prev {
    left: 8px;
}

.card-next {
    right: 8px;
}

/* Hero Banner con Imagen de Fondo y Overlay Morado Eleganter */
/* Hero Banner con superposición suave para resaltar la imagen */
.hero-banner {
    position: relative;
    background-image: linear-gradient(rgba(43, 16, 85, 0.48),
            rgba(123, 44, 191, 0.52)), url('./img/banner.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
    padding: 85px 7% 95px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Sombra extra en los textos para proteger el contraste sobre la foto */
.hero-content h1 {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.hero-description {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin: 0 auto;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffb703;
    /* Dorado de la marca */
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.92rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 22px;
    backdrop-filter: blur(5px);
}

.hero-content h1 {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 20px;
    color: #ffffff;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.15rem;
    color: #f3e8ff;
    margin-bottom: 38px;
    line-height: 1.65;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-description strong {
    color: #ffffff;
    font-weight: 700;
}

/* Botones de Acción sobre la Imagen */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-hero-whatsapp {
    background-color: #25d366;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-hero-whatsapp:hover {
    background-color: #1eb954;
    transform: translateY(-2px);
}

.btn-hero-tarifas {
    background-color: #ffb703;
    color: #1a1a1a;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-hero-tarifas:hover {
    background-color: #ffa000;
    transform: translateY(-2px);
}

/* Sección Ubicación - Estructura de 2 Columnas */
.ubicacion-container {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

.mapa-box {
    flex: 1;
    min-height: 420px;
    /* Altura firme para evitar que el mapa se aplaste */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #eaeaea;
}

.ubicacion-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
}

.info-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px 20px;
    border: 1px solid #f0e6f7;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    text-align: left;
}

.info-card i {
    color: #7b2cbf;
    /* Morado corporativo */
    font-size: 1.3rem;
    margin-top: 3px;
}

.info-card .fa-instagram {
    color: #e1306c;
}

.info-card h3 {
    font-size: 1rem;
    color: #111111;
    margin-bottom: 3px;
}

.info-card p {
    font-size: 0.9rem;
    color: #555555;
    line-height: 1.4;
    margin: 0;
}

.info-link {
    color: #7b2cbf;
    text-decoration: none;
    font-weight: 600;
}

.info-link:hover {
    text-decoration: underline;
}

.btn-como-llegar {
    background-color: #7b2cbf;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 20px;
    border-radius: 8px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-como-llegar:hover {
    background-color: #5a189a;
    transform: translateY(-2px);
}

/* Responsivo para móviles */
@media (max-width: 850px) {
    .ubicacion-container {
        flex-direction: column;
    }

    .mapa-box {
        height: 300px;
        min-height: 300px;
    }
}

.form-message {
    display: none;
    padding: 12px 16px;
    margin: 15px 0;
    border-radius: 8px;
    font-size: 0.95rem;
    text-align: center;
    transition: all 0.3s ease;
}

/* Estado de Éxito (Verde/Púrpura) */
.form-message.success {
    display: block;
    background-color: #eef9f1;
    color: #1e7e34;
    border: 1px solid #c3e6cb;
}

/* Estado de Error (Rojo) */
.form-message.error {
    display: block;
    background-color: #fdf2f2;
    color: #dc3545;
    border: 1px solid #f5c6cb;
}