/* ===== RESET Y VARIABLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #43b910;      /* Verde principal */
    --primary-dark: #059669;
    --secondary: #1E3A8A;    /* Azul secundario */
    --secondary-light: #3B82F6;
    --accent: #10B981;
    --dark: #1F2937;
    --gray: #4B5563;
    --light: #F9FAFB;
    --white: #ffffff;
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
    --border-radius: 1rem;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    background-color: var(--white);
    line-height: 1.5;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, .logo-text, .btn {
    font-family: 'Poppins', sans-serif;
}

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

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

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

.highlight {
    color: var(--primary);
}

.text-white {
    color: var(--white);
}

.text-white-light {
    color: rgba(255, 255, 255, 0.9);
}

/* ===== BOTONES FLOTANTES ===== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 100;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128C7E;
    color: white;
}

.whatsapp-float .tooltip {
    visibility: hidden;
    background-color: var(--dark);
    color: white;
    text-align: center;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    position: absolute;
    right: 70px;
    font-size: 0.8rem;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
}

.whatsapp-float:hover .tooltip {
    visibility: visible;
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    background-color: var(--primary);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow);
    z-index: 100;
    transition: all 0.3s;
}

.back-to-top.show {
    display: flex;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

/* ===== HEADER CON LOGO DE IMAGEN ===== */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 99;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.5rem;
}

.logo-img-full {
    width: 200px;
    height: auto;
    max-height: 80px;
    object-fit: contain;
    display: block;
}

/* Navegación */
.navbar {
    display: flex;
    align-items: center;
}

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

.nav-link {
    text-decoration: none;
    font-weight: 500;
    color: var(--dark);
    transition: color 0.3s;
    font-family: 'Poppins', sans-serif;
}

.nav-link:hover {
    color: var(--primary);
}

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

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* ===== HERO CON IMAGEN PERSONALIZADA ===== */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('img/fondo-hero-conecta.png');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem auto;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

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

.btn-outline-light {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline-light:hover {
    background: white;
    color: var(--secondary);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.stat i {
    color: var(--primary);
    margin-right: 0.5rem;
}

/* ===== TEMPORIZADOR ===== */
.promo-timer {
    background-color: var(--secondary);
    color: white;
    padding: 1rem 0;
}

.timer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.timer-text i {
    margin-right: 0.5rem;
}

.timer-countdown {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.time-box {
    background-color: var(--dark);
    padding: 0.3rem 0.8rem;
    border-radius: 8px;
    font-size: 1.3rem;
    font-weight: bold;
    min-width: 50px;
    text-align: center;
}

.timer-label {
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

/* ===== BENEFICIOS ===== */
.beneficios {
    padding: 5rem 0;
    background-color: var(--light);
}

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

.beneficio-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.beneficio-card:hover {
    transform: translateY(-5px);
}

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

.beneficio-card h3 {
    margin-bottom: 0.5rem;
    font-family: 'Poppins', sans-serif;
}

/* ===== SECCIÓN PAQUETES CON IMAGEN DE FONDO ===== */
.paquetes-section {
    position: relative;
    padding: 5rem 0;
    background: url('img/35707.jpg') center/cover fixed;
    color: white;
}

.paquetes-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.paquetes-section .container {
    position: relative;
    z-index: 2;
}

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

.paquete-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.paquete-card:hover {
    transform: translateY(-8px);
}

.paquete-card.featured {
    background: var(--white);
    color: var(--dark);
    transform: scale(1.02);
    border: 2px solid var(--primary);
}

.paquete-card.featured:hover {
    transform: scale(1.02) translateY(-5px);
}

.paquete-card.featured .paquete-precio .precio-actual {
    color: var(--primary);
}

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

.paquete-card:not(.featured) {
    color: white;
}

.paquete-card:not(.featured) .btn-outline-light {
    border-color: white;
    color: white;
}

.paquete-badge {
    background: var(--primary);
    color: var(--dark);
    display: inline-block;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.paquete-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.paquete-desc {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.paquete-precio {
    margin: 1rem 0;
}

.precio-anterior {
    text-decoration: line-through;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-right: 0.5rem;
}

.precio-actual {
    font-size: 1.8rem;
    font-weight: 800;
}

.paquete-lista {
    text-align: left;
    list-style: none;
    margin: 1.5rem 0;
}

.paquete-lista li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.paquete-lista i {
    color: var(--primary);
    margin-right: 0.5rem;
}

/* ===== GALERÍA ===== */
.galeria {
    padding: 5rem 0;
    background-color: var(--light);
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.galeria-item {
    cursor: pointer;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

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

.galeria-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s;
    display: block;
}

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

/* Modal para imágenes ampliadas */
.modal {
    display: none;
    position: fixed;
    z-index: 200;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
    border-radius: 12px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

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

/* ===== CONTACTO CON IMAGEN DE FONDO ===== */
.contacto-section {
    position: relative;
    padding: 5rem 0;
    background: url('img/29977.jpg') center/cover fixed;
}

.contacto-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.contacto-wrapper {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border-radius: var(--border-radius);
    padding: 2rem;
}

.contacto-info .info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: center;
    color: white;
}

.contacto-info .info-item a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.contacto-info .info-item a:hover {
    color: var(--primary);
}

.contacto-info .info-item i {
    font-size: 1.5rem;
    color: var(--primary);
    width: 40px;
}

.redes-contacto {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.redes-contacto a {
    background: rgba(255, 255, 255, 0.2);
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    transition: all 0.3s;
    text-decoration: none;
}

.redes-contacto a:hover {
    background: var(--primary);
    color: var(--dark);
    transform: translateY(-3px);
}

.contacto-form .form-group {
    margin-bottom: 1rem;
}

.contacto-form input,
.contacto-form select,
.contacto-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
}

.contacto-form input:focus,
.contacto-form select:focus,
.contacto-form textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--primary);
    background: white;
}

.btn-block {
    width: 100%;
    text-align: center;
}

.form-nota {
    font-size: 0.75rem;
    text-align: center;
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ===== FOOTER MEJORADO ===== */
.footer {
    background-color: var(--dark);
    color: #cbd5e1;
    padding: 3rem 0 1rem;
}

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

.footer-logo img {
    margin-bottom: 0.5rem;
}

.footer-logo p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-links h4,
.footer-contact h4 {
    color: white;
    margin-bottom: 1.2rem;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.footer-links a i {
    width: 20px;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-contact p {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.footer-contact i {
    width: 25px;
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #334155;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .galeria-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contacto-wrapper {
        grid-template-columns: 1fr;
    }
    
    .paquetes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        font-size: 2.3rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        gap: 1.5rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .timer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .timer-countdown {
        justify-content: center;
    }
    
    .paquetes-grid {
        grid-template-columns: 1fr;
    }
    
    .galeria-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .logo-img-full {
        width: 160px;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
    
    .contacto-wrapper {
        padding: 1.5rem;
    }
    
    .precio-actual {
        font-size: 1.4rem;
    }
    
    .paquete-card {
        padding: 1.5rem;
    }
}