/* Variables de colores */
:root {
    --light-blue: #7cdaf9;
    --white: #ffffff;
    --soft-green: #6be16d;
    --dark-gray: #333333;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
}

/* Estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--white);
    color: var(--light-blue);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header */
header {
    background-color: transparent;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 100px;
    width: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--soft-green);
    font-weight: 600;
    font-size: 1.5rem;
    transition: color 0.3s ease;
    position: relative;
}

nav ul li a:hover {
    color: var(--light-blue);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-blue);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Language Switcher */
.language-switcher {
    position: relative;
}

.language-switcher-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.language-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--white);
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.language-dropdown.active {
    display: block;
}

.language-dropdown li a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    color: var(--dark-gray);
    font-size: 1rem;
}

.language-dropdown li a:hover {
    background-color: var(--light-gray);
}

.language-dropdown .fi {
    font-size: 1.2rem;
}

/* Video Hero Section */
.video-hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.btn-contact-main {
    background-color: var(--soft-green);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    border: 2px solid var(--soft-green);
    margin-top: 35rem;
}

.btn-contact-main:hover {
    background-color: var(--light-blue);
    color: var(--white);
    border: 2px solid var(--light-blue);
    transform: scale(1.05);
}

/* Resto del CSS permanece igual... */

/* Sección de beneficios */
.benefits {
    padding: 5rem 5%;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--dark-gray);
    max-width: 700px;
    margin: 0 auto;
}

.benefits-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-box {
    background-color: var(--white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.benefit-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.benefit-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

.benefit-box p {
    color: #666;
}

/* Sección de contacto */
.contact {
    padding: 5rem 5%;
    background-image: url('../img/background2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--primary-blue);
    border-radius: 10px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-gray);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--medium-gray);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-blue);
    outline: none;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.checkbox-group input {
    margin-right: 10px;
    margin-top: 5px;
}

.checkbox-group label {
    font-weight: normal;
    font-size: 0.9rem;
    color: #666;
}

.send-btn {
    background-color: var(--light-blue);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.send-btn:hover {
    background-color: var(--soft-green);
}

/* Footer */
footer {
    background-color: var(--dark-gray);
    color: var(--light-blue);
    padding: 3rem 5% 1rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    height: 80px;
    margin-bottom: 1rem;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    position: relative;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 50px;
    height: 2px;
    background-color: var(--primary-blue);
}

.footer-column p, 
.footer-column a {
    color: var(--light-blue);
    margin-bottom: 0.8rem;
    display: block;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--soft-green);
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #444;
    color: #999;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.footer-links a {
    margin: 0 10px;
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
}

.footer-links a:hover {
    color: var(--primary-blue);
}

/* Botón de WhatsApp */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--soft-green);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    text-decoration: none;
    border: none;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Modal de políticas */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    position: relative;
    animation: modalFadeIn 0.5s ease;
    height: 80vh;
    overflow-y: auto;
    color: var(--dark-gray);
}

/* Thank You Modal Specific Styles */
#thank-you-modal .modal-content {
    max-width: 400px;
    height: auto;
    text-align: center;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.thank-you-logo {
    width: 150px;
    margin-bottom: 1.5rem;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-gray);
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--soft-green);
}

.modal h2 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.modal h3 {
    color: var(--dark-gray);
    margin: 1.5rem 0 1rem;
}

.modal p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.modal ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.modal li {
    margin-bottom: 0.5rem;
}

.modal-btn {
    background-color: var(--soft-green);
    color: var(--white);
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 1.5rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.modal-btn:hover {
    background-color: var(--light-blue);
}

/* Banner de cookies */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--light-blue);
    color: var(--dark-gray);
    padding: 1.5rem;
    display: none;
    z-index: 1500;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-text {
    flex: 1;
    margin-right: 2rem;
}

.cookie-buttons {
    display: flex;
}

.cookie-btn {
    background-color: var(--soft-green);
    color: var(--dark-gray);
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    margin-left: 1rem;
    transition: background-color 0.3s ease;
}

.cookie-btn:hover {
    background-color: var(--soft-green);
}

.cookie-btn.secondary {
    background-color: transparent;
    border: 1px solid var(--white);
}

/* Policy Page Styles */
.policy-container {
    padding: 8rem 5% 5rem;
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--white);
    color: var(--dark-gray);
}

.policy-container h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    text-align: center;
}

.policy-container h3 {
    font-size: 1.8rem;
    color: var(--dark-gray);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.policy-container p,
.policy-container li {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.policy-container ul {
    list-style-position: inside;
    padding-left: 1rem;
}

.back-btn {
    display: inline-block;
    background-color: var(--soft-green);
    color: var(--white);
    padding: 0.8rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 2rem;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.back-btn:hover {
    background-color: var(--light-blue);
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .carousel-slide h2 {
        font-size: 2.5rem;
    }
    
    .carousel-slide p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 1rem;
        position: relative;
    }

    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .logo img {
        height: 70px;
    }

    .mobile-menu {
        display: block;
        margin-left: auto;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav ul li {
        margin: 0;
        text-align: center;
        padding: 0.8rem 0;
    }

    .language-dropdown {
        position: static;
        box-shadow: none;
        background-color: var(--light-gray);
        border-radius: 0;
        margin-top: 0.5rem;
        padding-bottom: 0.5rem;
        width: 100%;
    }

    .language-dropdown li a {
        justify-content: center;
        font-size: 1.2rem;
        padding: 0.5rem 0;
    }
    
    .carousel-slide h2 {
        font-size: 2rem;
    }
    
    .carousel-slide p {
        font-size: 1rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-text {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .footer-column {
        text-align: center;
    }

    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 576px) {
    .carousel-slide h2 {
        font-size: 1.8rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .contact-container {
        padding: 2rem 1.5rem;
    }
    
    .modal-content {
        padding: 1.5rem;
    }
    
    .logo img {
        height: 60px;
    }
}

