/*=============== VARIABLES CSS ===============*/
:root {
    /*========== Colors ==========*/
    /* Color mode HSL(hue, saturation, lightness) */
    --first-color: hsl(330, 67%, 60%);      /* Rosa principal */
    --first-color-alt: hsl(330, 57%, 53%);  /* Rosa más oscuro */
    --first-color-light: hsl(330, 92%, 85%);
    --second-color: hsl(142, 69%, 61%);     /* Verde */
    --gold: #FFD700;
    --gold-light: #FFF8E1;
    --gold-dark: #B8860B;
    --gold-gradient: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    --gold-gradient-light: linear-gradient(135deg, #FFF8E1 0%, #FFE4B5 100%);
    --black: #1A1A1A;
    --white: #FFFFFF;
    --gray: #F5F5F5;
}

/*=============== HERO SPECIFIC ===============*/
.hero.conecta-hero {
    min-height: 100vh;
    background: var(--gold-gradient);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 4rem 0;
}

.hero.conecta-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../../assets/img/pattern.png');
    opacity: 0.1;
    z-index: 1;
}

.hero__container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero__title {
    color: var(--white);
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    letter-spacing: 2px;
}

.hero__description {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

/*=============== BENEFITS ===============*/
.benefits__content {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.benefits__card {
    background-color: var(--container-color);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .1);
    transition: .3s;
    border: 2px solid var(--first-color-light);
}

.benefits__card:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, .15);
    transform: translateY(-0.25rem);
    border-color: var(--second-color);
}

.benefits__icon {
    font-size: 2rem;
    color: var(--first-color);
    margin-bottom: var(--mb-1);
}

.benefits__title {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-0-75);
    color: var(--first-color);
}

.benefits__description {
    font-size: var(--small-font-size);
}

/*=============== PROGRAMS ===============*/
.programs__content {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.program__card {
    background-color: var(--container-color);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .1);
    transition: .3s;
}

.program__card:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, .15);
    transform: translateY(-0.25rem);
}

.program__header {
    text-align: center;
    margin-bottom: var(--mb-2);
}

.program__title {
    font-size: var(--h3-font-size);
    color: var(--first-color);
    margin-bottom: var(--mb-0-25);
}

.program__subtitle {
    font-size: var(--small-font-size);
    color: var(--text-color-light);
}

.program__list {
    margin-bottom: var(--mb-2);
}

.program__item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: var(--mb-0-75);
}

.program__icon {
    color: var(--second-color);
}

.program__description {
    font-size: var(--small-font-size);
}

/*=============== ABOUT VIDEO ===============*/
.about {
    background: var(--white);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: var(--gold-gradient);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 0);
}

.about__content {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    margin-top: 2rem;
}

.feature__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature__item {
    text-align: center;
    padding: 2rem;
    background: var(--gold-gradient-light);
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 2px solid var(--gold);
}

.feature__item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    background: var(--gold-gradient);
}

.feature__item:hover i,
.feature__item:hover h3 {
    color: var(--white);
}

.feature__item i {
    font-size: 3rem;
    color: var(--gold-dark);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature__item h3 {
    color: var(--black);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

/* Features Section */
.features {
    background: var(--gold-gradient-light);
    position: relative;
}

.features__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature__card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 2px solid var(--gold);
    position: relative;
    overflow: hidden;
}

.feature__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gold-gradient);
}

.feature__card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.feature__card i {
    font-size: 3rem;
    color: var(--gold-dark);
    margin-bottom: 1.5rem;
}

.feature__card h3 {
    color: var(--black);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature__card p {
    color: var(--black);
    line-height: 1.6;
}

/* Join Section */
.join {
    background: var(--white);
    position: relative;
}

.join::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: var(--gold-gradient);
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

.join__content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--gold-gradient-light);
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.join__description {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--black);
}

.join__map {
    height: 400px;
    background: var(--white);
    border-radius: 15px;
    margin-top: 2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border: 2px solid var(--gold);
}

/* Contact Section */
.contact {
    background: var(--gold-gradient);
    position: relative;
    padding: 6rem 0;
}

.contact__container {
    text-align: center;
}

.contact__social {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.contact__social-link {
    background: var(--white);
    color: var(--gold-dark);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.contact__social-link:hover {
    background: var(--gold-dark);
    color: var(--white);
    transform: scale(1.1) rotate(360deg);
}

/* Contact Buttons */
.contact-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(26, 26, 26, 0.9);
    color: var(--gold);
    padding: 15px 30px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border: 2px solid var(--gold);
}

.contact-button:hover {
    background: var(--gold);
    color: var(--black);
    transform: scale(1.05);
}

.whatsapp-button {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: rgba(26, 26, 26, 0.9);
    color: var(--gold);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border: 2px solid var(--gold);
}

.whatsapp-button:hover {
    background: var(--gold);
    color: var(--black);
    transform: scale(1.1) rotate(360deg);
}

/*=============== RESPONSIVE ===============*/
@media screen and (min-width: 568px) {
    .about__content {
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
    }
}

@media screen and (min-width: 768px) {
    .benefits__content {
        grid-template-columns: repeat(3, 1fr);
    }

    .programs__content {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (min-width: 1024px) {
    .programs__content {
        gap: 3rem;
    }
}

/* ========== MEJORAS RESPONSIVE PARA MOVILES Y TABLETS ========== */
@media screen and (max-width: 575.98px) {
  .container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    max-width: 100vw;
  }
  .section {
    padding: 1.5rem 0 2rem;
  }
  .about__content.grid,
  .benefits__content.grid,
  .programs__content.grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem;
  }
  .benefits__card,
  .program__card {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
  .hero__title {
    font-size: 2rem !important;
  }
  .hero__description {
    font-size: 1rem !important;
  }
  .footer__container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

@media (max-width: 768px) {
    .hero__title {
        font-size: 3rem;
    }

    .hero__description {
        font-size: 1.2rem;
    }

    .section__title {
        font-size: 2rem;
    }

    .feature__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .features__content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-button {
        bottom: 20px;
        right: 20px;
        padding: 12px 25px;
    }

    .whatsapp-button {
        bottom: 85px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .contact__social-link {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 2.5rem;
    }

    .feature__grid {
        grid-template-columns: 1fr;
    }

    .section__title {
        font-size: 1.8rem;
    }

    .contact__social {
        gap: 1.5rem;
    }

    .join__description {
        font-size: 1.1rem;
    }
}

html, body {
  overflow-x: hidden;
}

/* Header y Navegación */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to right, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.2));
    backdrop-filter: blur(5px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-scroll {
    background: linear-gradient(to right, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.25));
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav {
    height: 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.nav__logo {
    display: flex;
    align-items: center;
    position: absolute;
    left: 1.5rem;
}

.nav__logo-img {
    width: 35px;
    height: 35px;
    transition: transform 0.3s ease;
}

.nav__logo:hover .nav__logo-img {
    transform: scale(1.1);
}

.nav__logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav__menu {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.nav__list {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
}

.nav__item {
    position: relative;
}

.nav__link {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--black);
    font-weight: 500;
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav__link:hover {
    background: var(--gold-gradient);
    color: var(--white);
    transform: translateY(-1px);
}

.nav__link i {
    display: inline-block;
    font-size: 1rem;
    min-width: 1.2rem;
    text-align: center;
}

.nav__toggle {
    display: none;
    font-size: 1.3rem;
    color: var(--black);
    cursor: pointer;
    transition: all 0.3s ease;
    position: absolute;
    right: 1.5rem;
}

.nav__toggle:hover {
    color: var(--gold-dark);
    transform: scale(1.1);
}

/* Estilos para dispositivos móviles */
@media (max-width: 900px) {
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: linear-gradient(to bottom, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.2));
        backdrop-filter: blur(10px);
        padding: 4rem 1.5rem;
        flex-direction: column;
        justify-content: flex-start;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    }

    .nav__menu.active {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        width: 100%;
        gap: 0.8rem;
    }

    .nav__link {
        width: 100%;
        padding: 0.8rem;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.9);
        font-size: 1rem;
        justify-content: flex-start;
    }

    .nav__link:hover {
        background: var(--gold-gradient);
    }

    .nav__toggle {
        display: block;
    }

    .nav__close {
        display: block;
        position: absolute;
        top: 1rem;
        right: 1rem;
        font-size: 1.5rem;
        color: var(--black);
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .nav__close:hover {
        color: var(--gold-dark);
        transform: scale(1.1);
    }
}

@media (max-width: 768px) {
    .nav__link span {
        display: none;
    }

    .nav__link {
        padding: 0.4rem;
        justify-content: center;
    }

    .nav__link i {
        font-size: 1.2rem;
        margin-right: 0;
    }

    .nav__icon {
        font-size: 1.2rem;
        margin-right: 0;
    }
}

@media (max-width: 480px) {
    .nav {
        padding: 0 1rem;
    }

    .nav__menu {
        width: 100%;
        max-width: none;
    }

    .nav__logo-img {
        width: 30px;
        height: 30px;
    }
} 