 /* Variables globales */
 :root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --text-color: #1f2937;
    --light-bg: #f3f4f6;
    --transition: all 0.3s ease;
}

/* Estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Header y Navegación */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    padding: 1rem 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: var(--transition);
}

.navbar-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo img {
    width: 5vw;
    height: auto;
}

/* Estilos del ícono de hamburguesa */
.hamburger {
    display: none;  /* Oculto por defecto en pantallas grandes */
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger .line {
    width: 30px;
    height: 4px;
    background-color: var(--text-color);
    border-radius: 2px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem 4rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    background: 
    linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3)), /* Degradado semitransparente */
    url('images/banner.jpg') center/cover no-repeat; /* Imagen de fondo */
}

.hero-content {
    padding: 4rem 2rem 0 2rem;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.5s both;
}

/* Botones */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.btn-primary {
    border: none;
    background: white;
    color: var(--primary-color);
    font-size: 1.25rem;
    font-family: system-ui, -apple-system, sans-serif;
    margin-top: 2rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Sección de Soporte */
.support {
    padding: 4rem 2rem;
    text-align: center;
    background: var(--light-bg);
}

.support p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.5s both;
}

.support-content {
    display: flex;
    justify-content:space-evenly;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.support-left {
    text-align: center;
    max-width: 50%;
}

.support-img {
    height: 30vh;
    margin-top: 2rem;
    animation: fadeInUp 1s ease 1s both;
    border-radius: 5%;
    mask-image: radial-gradient(
        black 70%,
        transparent 
    );
}

.support h2 {
    color: var(--primary-color);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease;
}


.section-title {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center; 
}

/* Planes */
.plans {
    padding: 4rem 2rem;
    background: white;
}

.plans-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.plan-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.plan-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 1rem 0;
}

.disclaimer {
    font-size: 0.8rem;
    text-align: center;
    padding: 1rem;
    background:  linear-gradient(transparent 0%, var(--primary-color) 150%);
}

/* Mapa */
.map {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--light-bg);
}

.mapa {
    width: 90%;
    max-width: none;
    margin: 2rem auto;
    height: 60vh;
    background: #ddd;
    border-radius: 1rem;
    overflow: hidden;
}

/* Footer */
.footer {
    background: var(--text-color);
    color: white;
    padding: 4rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

/* Contact info */

.business-info {
    padding: 4rem 2rem;
    background: var(--text-color);
    color: white;
    text-align: center;
}

.business-info .info-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.business-info .info-details {
    text-align: left;
    font-size: 1rem;
}

.business-info .info-details p {
    margin: 0.5rem 0;
}

.map-frame iframe {
    border-radius: 0.5rem;
}

/* Estilos del ícono de hamburguesa */
.hamburger {
    display: none; /* Oculto por defecto en pantallas grandes */
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger .line {
    width: 30px;
    height: 4px;
    background-color: var(--text-color);
    border-radius: 2px;
}


/* Boton flotante de Whatsapp */

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background-color: #25d366;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 10px;
}

.whatsapp-float img {
    width: 50px;
    height: 50px;
}

.whatsapp-float:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    transform: scale(1.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.whatsapp-float:hover {
    animation: bounce 0.6s infinite;
}




@media (max-width: 768px) {

    .logo img {
    width: 12vw;
    height: auto;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        width: 100%;
        text-align: center;
        background-color: white;
        position: absolute;
        top: 70px;
        left: 0;
        padding: 1rem;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: all 0.3s ease-in-out;
    }

    .hero h1 {
                font-size: 2.5rem;
            }

    /* Ajuste Area de Soporte*/

    .support-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .support-left, 
    .support-right {
        max-width: 100%;
        margin: 0;
    }

    .support-img {
        width: 100%;
        height: auto;
    }

    /* Enlaces dentro del menú */
    .nav-links a {
        padding: 1rem;
        margin: 0.2rem 0;
        display: block;
        width: 100%; /* Asegura que el enlace ocupe todo el ancho */
        transition: all 0.3s ease;
    }

    /* Estado abierto del menú */
    .nav-links.open {
        max-height: 500px;
        opacity: 1;
    }

    /* Efecto hover para enlaces cuando el menú está abierto */
    .nav-links.open a:hover {
        background-color: var(--light-bg);
        color: var(--primary-color);
        transform: scale(1.05); /* Un pequeño efecto de escala */
    }

    .hamburger {
        display: flex;
    }
}

/* Animaciones */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
