*{
margin:0;
padding:0;
box-sizing:border-box;
}

html {
    scroll-behavior: smooth;
}

body{

font-family:Poppins,sans-serif;
background:#111;
color:white;
overflow-x: hidden;

}

/* Navbar styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    padding: 15px 10%;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.9);
    padding: 10px 10%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 50px;
    transition: 0.3s;
}

.navbar.scrolled .nav-logo img {
    height: 40px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-family: Oswald;
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: 1px;
    transition: 0.3s;
}

.nav-menu a:hover {
    color: #7fc74b;
}

.nav-btn {
    background: #4b6f33;
    padding: 10px 20px !important;
    border-radius: 25px;
    color: white !important;
}

.nav-btn:hover {
    background: #7fc74b !important;
    transform: scale(1.05);
}

.nav-toggle {
    display: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

@media (max-width: 992px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        background: rgba(0,0,0,0.95);
        width: 100%;
        height: calc(100vh - 80px);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s;
        gap: 40px;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        font-size: 24px;
    }
}

header{

height:100vh;

background:url("../img/fondo.jpeg") center center;
background-size:cover;
position:relative;
overflow: hidden;

}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.video-background iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 115vw;
    height: 115vh;
    transform: translate(-50%, -50%);
}

@media (min-aspect-ratio: 16/9) {
    .video-background iframe {
        height: 65vw;
    }
}

@media (max-aspect-ratio: 16/9) {
    .video-background iframe {
        width: 204vh;
    }
}

.overlay{

position:absolute;
inset:0;
background:rgba(0,0,0,.60);
z-index: 2;

}

.hero{

position:relative;
z-index:10;
height:100%;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
text-align:center;
padding-top: 80px;

}

.logo{

width:180px;
margin-bottom:10px;

}

.hero h1{

font-family:Oswald;
font-size:60px;
letter-spacing:3px;
line-height: 1.1;

}

.hero h2{

font-family:Oswald;
font-weight:300;
letter-spacing:4px;
margin-bottom: 10px;

}

.hero p{

margin:15px;
font-size:20px;

}

/* Indicador de Scroll */
.scroll-indicator {
    position: absolute;
    right: 50px;
    bottom: 80px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-indicator:hover {
    transform: translateY(10px);
}

.scroll-indicator .mouse {
    width: 45px;
    height: 75px;
    border: 4px solid #7fc74b;
    border-radius: 30px;
    position: relative;
    box-shadow: 0 0 15px rgba(127, 199, 75, 0.3);
}

.scroll-indicator .wheel {
    width: 8px;
    height: 16px;
    background: white;
    position: absolute;
    left: 50%;
    top: 15px;
    transform: translateX(-50%);
    border-radius: 4px;
    animation: scroll-wheel 2s infinite;
}

.scroll-indicator .arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scroll-indicator .arrow span {
    display: block;
    width: 20px;
    height: 20px;
    border-bottom: 4px solid #7fc74b;
    border-right: 4px solid #7fc74b;
    transform: rotate(45deg);
    margin: -10px;
    animation: scroll-arrow 2s infinite;
}

.scroll-indicator .arrow span.a1 { animation-delay: 0s; }
.scroll-indicator .arrow span.a2 { animation-delay: 0.2s; }
.scroll-indicator .arrow span.a3 { animation-delay: 0.4s; }

@keyframes scroll-wheel {
    0% { top: 15px; opacity: 1; }
    100% { top: 45px; opacity: 0; }
}

@keyframes scroll-arrow {
    0% { opacity: 0; transform: rotate(45deg) translate(-10px, -10px); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: rotate(45deg) translate(10px, 10px); }
}

/* Fin Indicador de Scroll */

.slogan-principal {
    font-style: italic;
    font-size: 24px !important;
    max-width: 800px;
    margin: 5px auto 20px auto !important;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-weight: 300;
}

.btn{

padding:18px 40px;
background:#4b6f33;
border-radius:40px;
color:white;
text-decoration:none;
font-weight:bold;

}

section{

padding:90px 10%;

}

h2{

font-family:Oswald;
font-size:42px;
text-align:center;
margin-bottom:50px;

}

.countdown{

display:flex;
justify-content:center;
gap:30px;
flex-wrap:wrap;

}

.countdown div{

background:#222;
padding:25px;
border-radius:15px;
width:150px;

text-align:center;

}

.countdown span{

font-size:52px;
font-family:Oswald;

color:#7fc74b;

}

.cards{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

gap:25px;

}

.card{

background:#1d1d1d;

padding:30px;

border-radius:15px;

transition:.3s;

}

.card h3 i {
    margin-right: 12px;
    color: #7fc74b;
}

.card:hover{

transform:translateY(-8px);

}

.mapa{

text-align:center;

}

.mapa img{

width:80%;
max-width:900px;

}

.cta{

background:#1b2d16;

text-align:center;

}

/* Estilos Tabla Comparativa */
.comparison {
    background: #1a1a1a;
}

.table-container {
    overflow-x: auto;
    margin-top: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: #222;
    color: #eee;
    text-align: left;
}

.comparison-table th, 
.comparison-table td {
    padding: 20px;
    border-bottom: 1px solid #333;
}

.comparison-table thead th {
    background: #111;
    color: #fff;
    font-family: Oswald;
    font-size: 1.2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.comparison-table .highlight {
    background: rgba(127, 199, 75, 0.1);
    color: #7fc74b;
    font-weight: 600;
}

.comparison-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    .comparison-table thead {
        display: none;
    }

    .comparison-table, 
    .comparison-table tbody, 
    .comparison-table tr, 
    .comparison-table td {
        display: block;
        width: 100%;
    }

    .comparison-table tr {
        margin-bottom: 20px;
        border: 1px solid #444;
        border-radius: 10px;
        overflow: hidden;
    }

    .comparison-table td {
        text-align: right;
        padding-left: 50%;
        position: relative;
        border-bottom: 1px solid #333;
    }

    .comparison-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 20px;
        width: 45%;
        text-align: left;
        font-weight: bold;
        color: #7fc74b;
    }

    .comparison-table td:last-child {
        border-bottom: none;
    }
}
/* Fin Tabla Comparativa */

/* Estilos para el cartel animado */
.poster {
    background: #111;
    padding: 40px 10%;
    text-align: center;
}

.poster-hint {
    color: #ffd700;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 300;
}

.poster-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-poster {
    width: 100%;
    max-width: 600px;
    border-radius: 20px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.6);
    animation: floating 3.5s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

button{

padding:18px 50px;

margin-top:30px;

font-size:22px;

border:none;

border-radius:50px;

background:#777;

color:white;

}

footer{

padding:40px;

text-align:center;

background:#0b0b0b;

}

footer a{

color:#7fc74b;

text-decoration:none;

font-size:20px;

transition: .3s;

}

footer a:hover {
    color: white;
}

footer a i {
    margin-right: 8px;
}

.floating-whatsapp {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
    z-index: 2000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    outline: none;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus,
.floating-whatsapp:active {
    transform: scale(1.08);
    box-shadow: 0 12px 25px rgba(37, 211, 102, 0.45);
    text-decoration: none;
    outline: none;
}

.floating-whatsapp i {
    text-decoration: none !important;
    display: inline-block;
}

@media (max-width: 768px) {
    .floating-whatsapp {
        right: 15px;
        bottom: 15px;
        width: 56px;
        height: 56px;
        font-size: 26px;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #222;
    margin: 5% auto;
    padding: 40px;
    border: 1px solid #4b6f33;
    width: 90%;
    max-width: 500px;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.close-button {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}

.close-button:hover {
    color: #4b6f33;
}

.modal h2 {
    margin-bottom: 30px;
    color: #4b6f33;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #ccc;
}

/* Modal Imagen Ampliada */
.modal-img {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.modal-content-img {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 800px;
    animation-name: zoom;
    animation-duration: 0.6s;
    border-radius: 10px;
}

/* Permitir zoom en la imagen del modal mediante controles táctiles estándar */
#modal-imagen {
    touch-action: pinch-zoom;
}

.modal-content-img {
    touch-action: pinch-zoom;
}

@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

.close-img {
    position: absolute;
    top: 15px;
    right: 15px;
    color: white;
    font-size: 30px;
    font-weight: bold;
    width: 45px;
    height: 45px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    cursor: pointer;
    z-index: 2001;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.close-img:hover {
    background: rgba(0, 0, 0, 0.8);
    color: #4b6f33;
    border-color: #4b6f33;
}

@media only screen and (max-width: 700px){
    .modal-content-img {
        width: 100%;
    }
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #444;
    background: #111;
    color: white;
    border-radius: 8px;
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: #4b6f33;
}

#registro-form .btn {
    width: 100%;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

#registro-form .btn:hover {
    background: #5c8a3e;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
    margin: 0;
}

.checkbox-group label {
    margin: 0;
    font-size: 14px;
}

.checkbox-group a {
    color: #4b6f33;
    text-decoration: underline;
}

.partners {
    background: #111;
    text-align: center;
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.partner-item {
    width: 150px;
    height: 150px;
    background: white;
    border-radius: 15px;
    padding: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.partner-item:hover {
    transform: scale(1.05);
}

.partner-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* FAQ Section */
.faq {
    background: #1a1a1a;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #252525;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #333;
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #333;
}

.faq-question h3 {
    font-size: 18px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    margin: 0;
}

.faq-question i {
    color: #7fc74b;
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
    background: #1d1d1d;
}

.faq-item.active .faq-answer {
    padding: 20px 25px;
    max-height: 1000px;
}

.faq-answer p {
    color: #ccc;
    line-height: 1.6;
    margin: 0;
}

/* Media Queries para Responsividad */
@media (max-width: 768px) {
    header {
        height: auto;
        min-height: 100vh;
        padding: 120px 20px 40px 20px;
    }

    .hero {
        height: auto;
        justify-content: flex-start;
        padding-top: 0;
    }

    .logo {
        width: 150px;
        margin-bottom: 15px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero h2 {
        font-size: 22px;
    }

    .hero p {
        font-size: 18px;
        margin: 20px 0;
    }

    section {
        padding: 60px 5%;
    }

    h2 {
        font-size: 32px;
    }

    .countdown div {
        width: 120px;
        padding: 15px;
    }

    .countdown span {
        font-size: 38px;
    }

    .modal-content {
        padding: 30px 20px;
        margin: 10% auto;
    }

    .scroll-indicator {
        right: 15px;
        bottom: 30px;
        transform: scale(0.8);
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 36px;
    }

    .logo {
        width: 150px;
    }

    .countdown {
        gap: 15px;
    }

    .countdown div {
        width: 45%;
    }
}
