/* ======== CONFIGURACIÓN GENERAL ======== */
:root {
    --primary-color: #ff5b04; /* Naranja Energético */
    --secondary-color: #25D366; /* Verde Pickleball */
    --dark-color: #333333;
    --light-color: #F9F9F9;
    --white-color: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
       font-family: 'Poppins', sans-serif; /* ¡Esta es la línea clave! */
    color: var(--dark-color);
    line-height: 1.6;
    background-color: var(--light-color);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2 {
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }

p { margin-bottom: 10px; }

.text-center { text-align: center; }
.subtitle { font-size: 1.2rem; max-width: 700px; margin: 0 auto 30px auto; }

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-primaryV {
    background-color: var(--secondary-color);
    color: var(#25D366);
}
.btn-primaryV:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.btn-secondary {
    background-color: 2px solid #25D366;
    color: #25D366; /* Color del texto: verde WhatsApp */
    border: 2px solid #25D366; /* Borde: verde WhatsApp */
    display: inline-flex;
    align-items: center;
    gap: 10px; /* Espacio entre logo y texto */
}

.btn-secondary:hover {
    background-color: #25D366; /* Fondo verde al pasar el mouse */
    color: var(--white-color); /* Texto blanco al pasar el mouse */
}

/* Agregamos estas reglas para el ícono */
.whatsapp-icon {
    width: 20px;
    height: 20px;
}

.whatsapp-icon path {
    fill: #25D366; /* Ícono de color verde WhatsApp */
    transition: fill 0.3s ease; /* Transición suave para el color del ícono */
}

.btn-secondary:hover .whatsapp-icon path {
    fill: white; /* Ícono blanco al pasar el mouse */
}

/* ======== POP-UP ACTUALIZADO (CON MÁS ONDA) ======== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.75); /* Un poco más oscuro para más contraste */
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--white-color);
    padding: 30px 40px; /* Más padding horizontal */
    border-radius: 12px; /* Bordes más redondeados */
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2); /* Sombra más pronunciada */
    transform: translateY(20px) scale(0.95); /* Estado inicial de la animación */
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); /* Animación más suave */
}

.popup-overlay.show .popup-content {
    transform: translateY(0) scale(1); /* Estado final de la animación */
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2.2rem;
    font-weight: 300;
    background: none;
    border: none;
    cursor: pointer;
    color: #aaa;
    transition: color 0.2s ease;
}
.close-popup:hover {
    color: var(--dark-color);
}

.popup-logo {
    max-width: 220px; /* LOGO MÁS GRANDE */
    margin: 0 auto 20px auto; /* Centrado y con más margen inferior */
}

/* ======== ESTILOS ADICIONALES PARA FORMULARIO POP-UP ======== */
.form-row {
    display: flex;
    gap: 10px;
}

.form-row input {
    width: 100%;
}

/* SOLUCIÓN MEJORADA PARA ESTILO DEL SELECT EN MOBILE */
form select {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px; /* Mismo radio que los inputs */
    font-family: 'Poppins', sans-serif;

    /* Clave para mobile: Previene el zoom automático en iOS al hacer foco */
    font-size: 16px; 

    /* Forzamos la anulación del estilo nativo del navegador */
    -webkit-appearance: none;
    appearance: none;
    
    color: #777; /* Color del texto placeholder (la primera opción) */
    width: 100%;
    background-color: white; /* Aseguramos el fondo blanco */
    
    /* Flecha personalizada (importante volver a declararla) */
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23666%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: .65em auto;
}
/* Cambia el color del texto una vez que se selecciona una opción */
form select:valid {
    color: var(--dark-color);
}


form small {
    font-size: 0.8rem;
    color: #777;
    margin-top: 5px;
}
/* ======== HERO ======== */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white-color);
    text-align: center;
}
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2;
}
.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: -1;
}
.hero-content {
    max-width: 800px;
    padding: 20px;
}
.hero-logo {
    max-width: 400px;
    margin-bottom: 20px;
}
.hero-buttons {
    margin-top: 30px;
}
.hero-buttons .btn {
    margin: 5px;
}

/* ======== SECCIONES GENERALES ======== */
.section {
    padding: 80px 0;
}
.section-highlight {
    background-color: var(--white-color);
}

/* ======== FEATURES GRID (Qué es) ======== */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

/* ======== INAUGURACIÓN ======== */
.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    font-weight: 700;
}
.countdown div {
    background: var(--light-color);
    padding: 15px;
    border-radius: 5px;
    min-width: 90px;
}
.countdown span {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
}

/* ======== FORMULARIOS ======== */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin: 20px auto 0 auto;
}
form input {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}

/* ======== ICONOS ======== */
.card_icon {
    background: var(--white-color);
    padding: 100px;
    border-radius: 5px;
}


/* ======== WHY US GRID ======== */
.why-us-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
    text-align: left;
}
.why-us-item {
    background: var(--white-color);
    padding: 40px;
    border-radius: 5px;
}
.why-us-item h4 {
    display: inline;
    font-size: 1.1rem;
    margin-left: 5px;
}

/* ======== FOOTER ======== */
.footer {
    background-color: var(--dark-color);
    color: #aaa;
    padding: 50px 0;
}
.footer-logo {
    max-width: 250px;
    margin-bottom: 20px;
}
.footer a {
    color: var(--white-color);
    text-decoration: none;
}
.footer a:hover {
    text-decoration: underline;
}
.copyright {
    font-size: 0.8rem;
    margin-top: 20px;
}


/* ======== RESPONSIVE (para PC) ======== */
@media (min-width: 768px) {
    h1 { font-size: 4rem; }
    h2 { font-size: 2.8rem; }
    .features-grid { grid-template-columns: repeat(3, 1fr); }
    .why-us-grid { grid-template-columns: repeat(2, 1fr); }
    .main-form {
        flex-direction: row;
        max-width: 700px;
    }
    .main-form input {
        flex-grow: 1;
    }
}
/* Topbar minimalista blanco + naranja */
.ppb-topbar{position:sticky;top:0;z-index:40;background:#fff;border-bottom:1px solid #e5e7eb}
.ppb-topbar__inner{max-width:1200px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;padding:10px 16px}
.ppb-topbar__brand img{height:36px;display:block}
.ppb-topbar__nav{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.ppb-topbar__link{color:#111827;text-decoration:none;font-weight:600;padding:6px 8px;border-radius:8px}
.ppb-topbar__link:hover{background:#f3f4f6}
.ppb-topbar__btn{background:#f97316;border:1px solid #ea580c;color:#fff;text-decoration:none;font-weight:800;padding:8px 12px;border-radius:10px}
.ppb-topbar__btn:hover{filter:brightness(0.98)}
/* Iframe embed reservador */
.ppb-embed-wrap{max-width:900px;margin:0 auto}
.ppb-embed{width:100%;border:0;min-height:900px;border-radius:12px;box-shadow:0 1px 2px rgba(0,0,0,.04)}
@media (max-width:900px){ .ppb-embed{min-height:1100px} }
