/* CSS Reset and Base Styles */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}



body {

    font-family: 'Montserrat', sans-serif;

    line-height: 1.6;

    color: #333;

    background-color: #ffffff;

}



/* Utility Classes */

.container {

    width: 100%;

    max-width: 1440px;

    margin: 0 auto;

    padding: 0 20px;

}



.sr-only {

    position: absolute;

    width: 1px;

    height: 1px;

    padding: 0;

    margin: -1px;

    overflow: hidden;

    clip: rect(0, 0, 0, 0);

    white-space: nowrap;

    border: 0;

}



/* Button Styles */

.btn {

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: .875rem 1.25rem;
    border-radius: 41px;
    border: 2px solid transparent;
    text-decoration: none;
    font-weight: 600;

}



.btn-primary {

    background-color: #8543d3;

    color: white;

    border: 2px solid #8543d3;

}



.btn-primary:hover,

.btn-primary:focus {

    background-color: #7338c4;

    border-color: #7338c4;

    transform: translateY(-2px);

}



.btn-secondary {

    background-color: transparent;

    color: #8543d3;

    border: 2px solid #8543d3;

}



.btn-secondary:hover,

.btn-secondary:focus {

    background-color: #8543d3;

    color: white;

    transform: translateY(-2px);

}



/* Section Styles */

.section {

    padding: 40px 0;

}



.section-title {

    font-family: 'Montserrat', sans-serif;

    font-weight: 700;

    font-size: 28px;

    line-height: 1.2;

    text-align: center;

    margin-bottom: 20px;

}



.section-description {

    font-family: 'Poppins', sans-serif;

    font-size: 18px;

    line-height: 1.35;

    text-align: center;

    margin-bottom: 30px;

}



/* Header Section */

.hero {

    background-color: #ccdbf2;

    border-radius: 15px;

    margin: 20px;

    padding: 40px 20px 0px;

    text-align: center;

}



.hero-title {

    font-family: 'Montserrat', sans-serif;

    font-weight: 700;

    font-size: 28px;

    line-height: 1.2;

    margin-bottom: 20px;

}



.hero-title .primary-color {

    color: #8543d3;

}



.hero-title .secondary-color {

    color: #002e71;

}



.hero-description {

    font-family: 'Montserrat', sans-serif;

    font-size: 18px;

    line-height: 1.35;

    color: #333333;

    margin-bottom: 30px;



    margin-left: auto;

    margin-right: auto;

}



.hero-buttons {

    display: flex;

    flex-direction: column;

    gap: 40px;

    align-items: center;

    margin-bottom: 30px;

}



.hero-image {

    width: 100%;

    max-width: 600px;              /* mantiene la composición en mobile */

    background-color: transparent;/* quitamos el gris del placeholder */

    border-radius: 10px;

    overflow: hidden;             /* CLAVE: recorta la imagen con el borde redondeado */

    display: block;               /* ya no necesitamos centrar texto */

    margin: 0 auto;

}



.hero-image img {

    display: block;

    width: 100%;

    height: auto;

    object-fit: cover;            /* llena sin deformar */

    border-radius: inherit;       /* por si el recorte lo hace el img */

}



/* Features Section */

.features {

    padding: 40px 0;

    background-color: white;

}



.features-title {

    color: #002e71;

    margin-bottom: 40px;

}



.features-grid {

    display: flex;

    flex-direction: column;

    gap: 30px;

}



.feature-item {

    display: flex;

    flex-direction: column;

    text-align: left;

}



.feature-icon {

    width: 53px;

    height: 52px;

    background-color: #004dbc;

    border-radius: 5px;

    margin-bottom: 15px;

    display: flex;

    align-items: center;

    justify-content: center;

}



.feature-icon img {

    width: 40px;

    filter: brightness(0) invert(1);

}



.feature-title {

    font-weight: 700;

    font-size: 18px;

    color: #000f26;

    margin-bottom: 0px;

}



.feature-description {

    font-weight: 400;

    font-size: 16px;

    color: #000f26;

    line-height: 1.35;

    margin-bottom: 0px;    

}



/* Purple Section */

.section-purple {

    background-color: #e7d9f6;

    border-radius: 15px;

    margin: 4%;

    padding: 40px 20px;

    text-align: center;

}



.section-image {

    width: 100%;

    max-width: 800px;

    height: 250px;

    border-radius: 10px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 18px;

    margin: 0 auto;

}



/* Benefits Section */

.benefits {

    padding: 60px 0;

}



.benefits-title {

    color: #002e71;

    margin-bottom: 60px;

}



.benefits-content {

    display: flex;

    flex-direction: column;

    gap: 30px;

    align-items: center;

}



.benefits-image {

    width: 50%;

    border-radius: 10px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 16px;

}



.benefits-list {

    display: flex;

    flex-direction: column;

    gap: 20px;

    width: 100%;

    max-width: 400px;

}



.benefit-item {

    display: flex;

    align-items: flex-start;

    gap: 15px;

}



.benefit-icon {

    width: 40px;

    height: 40px;

    background-color: #004dbc;

    border-radius: 5px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

}



.benefit-text {

    flex: 1;

}



.benefit-title {

    font-weight: 700;

    font-size: 18px;

    color: #000f26;

    margin-bottom: 5px;

}



.benefit-description {

    font-weight: 400;

    font-size: 16px;

    color: #000f26;

    line-height: 1.35;

}



/* CTA Section */

.cta {

    padding: 60px 0;

    text-align: center;

}



.cta-title {

    color: #002e71;

    margin-bottom: 30px;

}



.cta-buttons {

    display: flex;

    flex-direction: column;

    gap: 15px;

    align-items: center;

}



/* Footer */

.footer {

    background-color: #002e71;

    color: white;

    padding: 60px 0;

    text-align: center;

}



.footer-logo {

    margin-bottom: 20px;

}



.footer-tagline {

    font-weight: 500;

    font-size: 16px;

    margin-bottom: 30px;

}



.social-links {

    display: flex;

    justify-content: center;

    gap: 15px;

}



.social-link {

    display: inline-flex;

    width: 38px;

    height: 38px;

    background-color: rgba(255, 255, 255, 0.1);

    border-radius: 50%;

    align-items: center;

    justify-content: center;

    color: white;

    text-decoration: none;

    transition: background-color 0.3s ease;

}



.social-link:hover,

.social-link:focus {

    background-color: rgba(255, 255, 255, 0.2);

}



/* Focus Styles for Accessibility */

*:focus {

    outline: 2px solid #8543d3;

    outline-offset: 2px;

}



/* Mobile First - Tablet Styles */

@media (min-width: 768px) {

    .container {

        padding: 0 40px;

    }



    .hero {

        padding: 60px 40px 0;

    }



    .hero-title {

        font-size: 36px;

    }



    .hero-description {

        font-size: 20px;

    }



    .hero-buttons {

        flex-direction: row;

        justify-content: center;

    }



    .hero-image {

        height: 400px;

    }



    .section-title {

        font-size: 36px;

    }



    .features-grid {

        flex-direction: row;

        flex-wrap: wrap;

        justify-content: center;

    }



    .feature-item {

        flex: 1;

        min-width: 250px;

        max-width: 300px;

    }



    .benefits-content {

        flex-direction: row;

        align-items: center;

        justify-content: center;

    }



    .benefits-image {

        flex-shrink: 0;

    }



    .cta-buttons {

        flex-direction: row;

        justify-content: center;

    }

}



/* Desktop Styles */

@media (min-width: 1024px) {

    .container {

        padding: 0 60px;

    }



    .hero {

        padding: 90px 60px 0;

        margin: 4%;

    }



    .hero-title {

        font-size: 40px;

    }



    .hero-description {

        font-size: 1.05rem;

    }



    .hero-image {

        height: 504px;

        max-width: 756px;

    }



    .section-title {

        font-size: 2.5rem;

    }



    .features-grid {

        justify-content: space-between;

    }



    .feature-item {

        max-width: 250px;

    }



    .section-image {

        height: 359px;

        max-width: 500px;

    }



    .benefits-content {

        gap: 32px;

    }

}



/* Large Desktop */

@media (min-width: 1440px) {

    .hero {

        margin: 60px;

    }

}

@media (max-width: 768px){
    .benefits-image img{
        width: 100%;
    }
}

/* Fix imagen gigante en la sección morada */
.section-purple .section-image {
  width: min(100%, 900px);   /* límite razonable en desktop */
  margin: 0 auto;
  height: auto;              /* sin altura fija */
}

.section-purple .section-image img {
  display: block;
  width: 200%;
  height: auto;              /* mantiene proporción */
  object-fit: contain;       /* evita recortes si hubiera alturas */
  border-radius: 10px;       /* conserva el redondeado si lo querés en la imagen */
}

.benefit-icon img {
  width: 28px;
  height: 28px;
  display: block;
  object-fit: contain;
}