/* ===========================
   VARIABLES Y ESTILOS GLOBALES
   =========================== */

:root {
    --primary-color: #78bb00;
    --dark-color: #1a1a1a;
    --light-color: #f5f5f5;
    --gray-color: #666666;
    --white: #ffffff;
    --shadow: 0 2px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white);
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================
   HEADER Y NAVEGACION
   =========================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--dark-color) 0%, rgba(26, 26, 26, 0.95) 100%);
    z-index: 1000;
    box-shadow: var(--shadow);
}

.navbar {
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-size: 24px;
    font-weight: bold;
}

.logo h1 {
    font-size: 24px;
    letter-spacing: 2px;
}

.logo-icon {
    font-size: 32px;
}

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

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.btn-login {
    background: var(--primary-color);
    color: var(--dark-color) !important;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
}

.btn-login:hover {
    background: #6da700;
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* ===========================
   BANNER PRINCIPAL
   =========================== */

.banner {
    margin-top: 70px;
    height: 600px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #78bb00 0%, #5a8f00 100%);
    z-index: -1;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.banner-content {
    text-align: center;
    color: var(--white);
    z-index: 2;
    animation: slideUp 0.8s ease;
}

.banner-text h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.banner-text p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.banner-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--dark-color);
}

.btn-primary:hover {
    background: #6da700;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(120, 187, 0, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--dark-color);
}

/* ===========================
   SECCIÓN POR QUÉ ELEGIR
   =========================== */

.why-us {
    padding: 80px 0;
    background: var(--light-color);
}

.why-us h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.card-why {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.card-why:hover {
    transform: translateY(-10px);
    box-shadow: 0 5px 30px rgba(120, 187, 0, 0.2);
}

.card-why i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.card-why h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--dark-color);
}

.card-why p {
    color: var(--gray-color);
}

/* ===========================
   SECCIÓN SERVICIOS
   =========================== */

.servicios {
    padding: 80px 0;
    background: var(--white);
}

.servicios h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.servicio-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 8px;
    border-left: 5px solid var(--primary-color);
    transition: var(--transition);
}

.servicio-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.servicio-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 28px;
    color: var(--white);
}

.servicio-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--dark-color);
}

.servicio-card p {
    color: var(--gray-color);
    margin-bottom: 1.5rem;
}

.features {
    list-style: none;
}

.features li {
    padding: 0.5rem 0;
    color: var(--gray-color);
}

.features i {
    color: var(--primary-color);
    margin-right: 0.8rem;
    font-weight: bold;
}

/* ===========================
   SECCIÓN GALERÍA
   =========================== */

.galeria {
    padding: 80px 0;
    background: var(--light-color);
}

.galeria h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.galeria .subtitle {
    text-align: center;
    color: var(--gray-color);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.galeria-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 300px;
    box-shadow: var(--shadow);
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.galeria-item:hover img {
    transform: scale(1.1);
}

.galeria-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(120, 187, 0, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    color: var(--white);
    opacity: 0;
    transition: var(--transition);
}

.galeria-item:hover .galeria-overlay {
    opacity: 1;
}

.galeria-overlay h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

/* ===========================
   SECCIÓN SOBRE NOSOTROS
   =========================== */

.sobre-nosotros {
    padding: 80px 0;
    background: var(--white);
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.about-text p {
    font-size: 1.1rem;
    color: var(--gray-color);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: var(--light-color);
    border-radius: 8px;
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--gray-color);
    margin: 0;
}

/* ===========================
   SECCIÓN TESTIMONIOS
   =========================== */

.testimonios {
    padding: 80px 0;
    background: var(--light-color);
}

.testimonios h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonio-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.testimonio-card:hover {
    box-shadow: 0 5px 30px rgba(120, 187, 0, 0.2);
    transform: translateY(-5px);
}

.stars {
    color: #ffc107;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.testimonio-card p {
    font-style: italic;
    color: var(--gray-color);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.testimonio-card h4 {
    color: var(--dark-color);
    font-size: 1rem;
}

.testimonio-card span {
    color: var(--primary-color);
    font-size: 0.85rem;
}

/* ===========================
   SECCIÓN PLANES
   =========================== */

.planes {
    padding: 80px 0;
    background: var(--white);
}

.planes h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.planes .subtitle {
    text-align: center;
    color: var(--gray-color);
    margin-bottom: 3rem;
}

.planes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.plan-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 8px;
    border-top: 5px solid var(--primary-color);
    transition: var(--transition);
    position: relative;
}

.plan-card.featured {
    background: linear-gradient(135deg, var(--primary-color), #5a8f00);
    color: var(--white);
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(120, 187, 0, 0.3);
}

.plan-card.featured .plan-header h3,
.plan-card.featured .plan-header .price,
.plan-card.featured .plan-features li {
    color: var(--white);
}

.badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--dark-color);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.plan-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.price {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.plan-card.featured .price {
    color: var(--white);
}

.price span {
    font-size: 0.8rem;
    font-weight: normal;
}

.plan-features {
    list-style: none;
    margin: 2rem 0;
}

.plan-features li {
    padding: 0.7rem 0;
    color: var(--gray-color);
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.plan-features li.disabled {
    opacity: 0.5;
    color: #ccc;
}

.plan-features i {
    color: var(--primary-color);
    margin-right: 0.8rem;
}

/* ===========================
   SECCIÓN FAQ
   =========================== */

.faq {
    padding: 80px 0;
    background: var(--light-color);
}

.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

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

.faq-item {
    background: var(--white);
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-color);
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--light-color);
}

.faq-question i {
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-question {
    background: var(--primary-color);
    color: var(--white);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 1.5rem;
    color: var(--gray-color);
    line-height: 1.8;
}

/* ===========================
   SECCIÓN EQUIPO
   =========================== */

.equipo {
    padding: 80px 0;
    background: var(--white);
}

.equipo h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.equipo .subtitle {
    text-align: center;
    color: var(--gray-color);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.equipo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.equipo-card {
    background: var(--light-color);
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.equipo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(120, 187, 0, 0.2);
}

.equipo-imagen {
    overflow: hidden;
    height: 250px;
}

.equipo-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.equipo-card:hover .equipo-imagen img {
    transform: scale(1.05);
}

.equipo-card h3 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin: 1.5rem 1rem 0.3rem;
}

.equipo-card .cargo {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0 1rem 0.8rem;
}

.equipo-card .descripcion {
    color: var(--gray-color);
    font-size: 0.85rem;
    margin: 0 1rem 1.5rem;
    line-height: 1.5;
}

.social-empleado {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    border-top: 1px solid #e0e0e0;
}

.social-empleado a {
    width: 35px;
    height: 35px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-empleado a:hover {
    background: #6da700;
    transform: scale(1.1);
}

/* ===========================
   NEWSLETTER
   =========================== */

.newsletter {
    padding: 80px 0;
    background: linear-gradient(135deg, #78bb00 0%, #5a8f00 50%, #4a7000 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,50 Q300,0 600,50 T1200,50 L1200,120 L0,120 Z" fill="rgba(255,255,255,0.05)"></path></svg>');
    background-size: cover;
    opacity: 0.3;
}

.newsletter h2 {
    font-size: 2.3rem;
    margin-bottom: 0.5rem;
    color: var(--white);
    position: relative;
    z-index: 2;
}

.newsletter p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto 1rem;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.newsletter-form button {
    background: var(--dark-color);
    color: var(--primary-color);
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--white);
    color: var(--primary-color);
}

.newsletter-info {
    font-size: 0.9rem;
    opacity: 0.8;
    position: relative;
    z-index: 2;
}

/* ===========================
   SECCIÓN CONTACTO
   =========================== */

.contacto {
    padding: 80px 0;
    background: var(--white);
}

.contacto-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contacto-info h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.contacto-info p {
    color: var(--gray-color);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    gap: 1.5rem;
}

.contact-method i {
    font-size: 1.5rem;
    color: var(--primary-color);
    min-width: 30px;
}

.contact-method h3 {
    font-size: 1rem;
    color: var(--dark-color);
    margin-bottom: 0.3rem;
}

.contact-method p {
    color: var(--gray-color);
    margin: 0;
}

.contact-method a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.contacto-form {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 1.3rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(120, 187, 0, 0.1);
}

/* CLOUDFLARE TURNSTILE STYLES */
.cf-turnstile {
    margin: 1rem 0;
    display: flex;
    justify-content: center;
}

.form-group .cf-turnstile {
    margin: 0;
    padding: 0.5rem 0;
}

.btn-submit {
    width: 100%;
}

/* ===========================
   WHATSAPP FLOTANTE
   =========================== */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: var(--transition);
    z-index: 999;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* ===========================
   FOOTER
   =========================== */

.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-section p {
    color: #ccc;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
}

.social-links a:hover {
    background: #6da700;
}

.footer-bottom {
    text-align: center;
    color: #999;
    padding-top: 2rem;
}

/* ===========================
   MODAL LOGIN
   =========================== */

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 8px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    animation: slideDown 0.3s ease;
}

.modal-content h2 {
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.modal-content form .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    font-weight: 500;
}

.close {
    color: var(--gray-color);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close:hover {
    color: var(--dark-color);
}

.login-footer {
    text-align: center;
    margin-top: 1rem;
    color: var(--gray-color);
}

.login-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

/* ===========================
   ANIMACIONES
   =========================== */

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--dark-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        gap: 1rem;
    }

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

    .nav-toggle {
        display: flex;
    }

    .banner-text h2 {
        font-size: 2rem;
    }

    .banner-text p {
        font-size: 1rem;
    }

    .banner-cta {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .equipo-grid {
        grid-template-columns: 1fr;
    }

    .contacto-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }

    .footer-content {
        gap: 1rem;
    }
}

/* ===========================
   SECCIÓN VIDEO YOUTUBE
   =========================== */

.video-section {
    padding: 80px 0;
    background: var(--light-color);
}

.video-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.video-text h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.video-text p {
    font-size: 1.1rem;
    color: var(--gray-color);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.video-benefits {
    list-style: none;
}

.video-benefits li {
    padding: 0.8rem 0;
    color: var(--gray-color);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.video-benefits i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.video-player {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(120, 187, 0, 0.2);
}

.iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ===========================
   BANNER Y MODAL COOKIES
   =========================== */

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    max-width: 420px;
    padding: 2rem;
    z-index: 998;
    animation: slideInUp 0.5s ease;
    border-left: 5px solid var(--primary-color);
}

.cookie-banner.hidden {
    display: none;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cookie-text h3 {
    color: var(--dark-color);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.5rem;
}

.cookie-text h3 i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.cookie-text p {
    color: var(--gray-color);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.cookie-buttons {
    display: flex;
    gap: 0.8rem;
    flex-direction: row;
    flex-wrap: wrap;
}

.cookie-buttons .btn {
    flex: 1;
    min-width: 100px;
    padding: 10px 15px;
    font-size: 0.85rem;
}

.btn-secondary {
    background: var(--light-color);
    color: var(--dark-color);
    border: 1px solid #ddd;
}

.btn-secondary:hover {
    background: #e0e0e0;
}

/* MODAL DE PREFERENCIAS DE COOKIES */

.cookie-modal {
    max-width: 600px;
    padding: 2.5rem;
}

.cookie-modal h2 {
    color: var(--dark-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.cookie-description {
    color: var(--gray-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.cookie-categories {
    background: var(--light-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.cookie-category {
    margin-bottom: 1.5rem;
}

.cookie-category:last-child {
    margin-bottom: 0;
}

.cookie-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
}

.cookie-header input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.cookie-header input[type="checkbox"]:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.cookie-info h4 {
    color: var(--dark-color);
    font-size: 1rem;
    margin: 0 0 0.3rem 0;
}

.cookie-desc {
    color: var(--gray-color);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-actions .btn {
    flex: 1;
    min-width: 150px;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* MEDIA QUERIES PARA VIDEO Y COOKIES */

@media (max-width: 768px) {
    .video-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .video-text h2 {
        font-size: 1.8rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        min-width: auto;
    }

    .cf-turnstile {
        transform: scale(0.9);
        transform-origin: left;
    }

    .cookie-banner {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        padding: 1.5rem;
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .cookie-buttons .btn {
        width: 100%;
    }

    .cookie-modal {
        margin: 20% auto;
        padding: 1.5rem;
    }

    .cookie-actions {
        flex-direction: column;
    }

    .cookie-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .banner {
        height: 400px;
        margin-top: 70px;
    }

    .banner-text h2 {
        font-size: 1.5rem;
    }

    .services-grid,
    .galeria-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        min-width: auto;
    }
}
