/* RESET GENERAL */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI Variable', 'Segoe UI', sans-serif;
    font-size: 1rem;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.5;
    overflow-x: hidden;
}

section[id] {
    scroll-margin-top: 80px;
}

/* ESTILOS REUTILIZADOS */
.p__text {
    font-size: 16px;
    color: #333;
}

.section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section__title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #1a4a7a;
}

.section__title::after {
    content: "";
    display: block;
    width: 100px;
    height: 3px;
    background: #1a73e8;
    margin: 10px auto 0;
}

.section__item-title {
    font-size: 1.25rem;
    color: #1a73e8;
    margin-bottom: 0.5rem;
}

/* HEADER & NAV */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.2rem 4rem;
    background-color: #fff;
    box-shadow: 0 1px 4px #0000001a;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header__nav-logo {
    width: 150px;
}

.header__checkbox {
    display: none;
}

.header__menu-btn {
    display: none;
    cursor: pointer;
    color: #1a73e8;
}

.header__nav-list {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.header__nav-link {
    text-decoration: none;
    color: #333;
    position: relative;
    font-weight: 500;
    transition: color 0.3s;
}

.header__nav-link:hover {
    color: #1a73e8;
}

/* HERO */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    background: linear-gradient(#1D5C90 0%, #0B2D4D 50%, #3B82C4 100%);
    margin: 1rem;
    border-radius: 20px;
    color: #fff;
}

.hero__container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    gap: 3rem;
    align-items: center;
}

.hero__text {
    flex: 1;
}

.hero__title {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero__subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #90caf9;
    font-weight: 500;
}

.p__text-hero {
    color: #e0e0e0;
    font-size: 1.1rem;
}

.hero__image {
    flex: 1;
    height: 400px;
    display: flex;
}

.hero__image-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 15px;
    box-shadow: 0 10px 30px #0000004d;
    display: block;
}

/* SOBRE NOSOTROS */
.section--about {
    padding: 4rem 1rem;
}

.section__title {
    text-align: center;
    margin-bottom: 3rem;
    color: #1a4a7a;
}

.about__mission-vision {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 5rem;
}

.about__card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 15px;
    border: 2px solid #3273b5;
    flex: 1;
    min-width: 300px;
    max-width: 550px;
    box-shadow: 0 4px 12px #0000001a;
}

.about__card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.about__card-icon {
    background: #3273b5;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about__icon--filled {
    color: #fff !important;
    font-variation-settings: 'FILL' 1;
}

.about__card-title,
.about__title {
    font-size: 1.5rem;
    color: #1a4a7a;
    margin: 0;
}

.about__title {
    text-align: center;
    margin-bottom: 2rem;

}

.about__values-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.about__value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 150px;
    transition: transform 0.3s ease;
}

.about__value-item:hover {
    transform: translateY(-10px);
}

.about__icon-circle {
    width: 80px;
    height: 80px;
    background-color: #eaf2f8;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.about__value-item:hover .about__icon-circle {
    background-color: #1a73e8;
}

.about__value-item:hover .material-symbols-outlined {
    color: #fff;
}

.about__value-text {
    font-weight: 600;
    color: #1a4a7a;
    text-align: center;
    margin: 0;
}

/* PRODUCTOS */
.product {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.product__card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    overflow: hidden;
    flex: 1;
    min-width: 300px;
    max-width: 380px;
    box-shadow: 0 4px 10px #0000001a;
    transition: transform 0.3s;
}

.product__card:hover {
    transform: translateY(-10px);
}

.product__image-container {
    width: 100%;
    height: 200px;
    background: #eee;
}

.product__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.product__content {
    padding: 20px 25px 30px;
    position: relative;
}

.product__icon-badge {
    background: #3273b5;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: -22px;
    left: 25px;
    border: 3px solid #fff;
}

.product__icon-badge .material-symbols-outlined {
    color: #fff;
    font-size: 22px;
    font-variation-settings: 'FILL' 1;
}

.product__item-title {
    color: #1a4a7a;
    font-size: 1.3rem;
    margin-top: 15px;
    margin-bottom: 15px;
}

.product__list {
    list-style: none;
}

.product__list-item {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.product__list-item::before {
    content: "*";
    color: #3273b5;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.product__btn-container {
    margin-top: 1.5rem;
    display: flex;
    justify-content: flex-start;
}

.product__btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background-color: #1a73e8;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.product__btn:hover {
    background-color: #1557b0;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px #0000001a;
}

.page-footer-action {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 4rem 0;
}

/* CONTACTO */
.contact {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

.contact__list {
    flex: 1;
    min-width: 300px;
}

.contact__item {
    margin-bottom: 2rem;
}

.title-contact {
    color: #1a4a7a
}

.contact__image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.contact__image-maps {
    width: 100%;
    max-width: 650px;
    height: 450px;
    border-radius: 15px;
    border: 0;
    box-shadow: 0 10px 25px #0000001a;
    display: block;
}

/* FAQ */
.faq__container {
    max-width: 800px;
    margin: 0 auto;
}

.faq {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq__question {
    padding: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq__question::after {
    content: "+";
    color: #1a73e8;
}

details[open] .faq__question::after {
    content: "-";
}

.faq__answer {
    padding: 1rem;
    border-top: 1px solid #eee;
    background-color: #fafafa;
}

/* FOOTER */
.footer {
    padding: 0.8rem 4rem;
    background: #1D5C90;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer__menu {
    list-style: none;
}

.footer__copyright {
    width: 230px;
    display: flex;
    align-items: center;
}

.footer__link {
    text-decoration: none;
    line-height: 1.2;
    color: #fff;
    margin: 5px 0;
    display: block;
}

.footer__socials {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: 0.3s;
}

.social-link:hover .social-icon {
    transform: scale(1.3);
}

/* RESPONSIVE  */
@media (max-width: 1024px) {
    .section__title {
        font-size: 1.75rem;
    }

    .header {
        padding: 1rem 2rem;
    }

    .header__menu-btn {
        display: block;
    }

    .header__nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease-in-out;
        box-shadow: 0 5px 10px #0000001a;
    }

    .header__checkbox:checked~.header__nav {
        max-height: 500px;
    }

    .header__nav-list {
        flex-direction: column;
        padding: 2rem;
        text-align: center;
        gap: 1.5rem;
    }

    .hero {
        min-height: 50vh;
        text-align: center;
        padding: 2rem;
    }

    .hero__title {
        font-size: 2.2rem;
    }

    .hero__container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero__text {
        flex: none;
        width: 100%;
        animation: slideUp 1s ease-out forwards;
    }

    .hero__image {
        height: 350px;
        max-width: 600px;
        animation: slideUp 1s ease-out 0.2s forwards;
    }

    .about__card {
        max-width: 100%;
    }

    .about__value-item {
        width: 140px;
    }

    .contact__image-maps {
        height: 350px
    }

    .footer {
        flex-direction: column;
        text-align: center;
    }
}

/* ANIMACIONES */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Scroll Reveal Classes */
.reveal {
    opacity: 0;
    transition: all 0.8s ease-out;
}

.reveal--active {
    opacity: 1 !important;
    transform: translate(0, 0) scale(1) !important;
}

.reveal-up {
    transform: translateY(50px);
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-scale {
    transform: scale(0.9);
}

/* Hero Animations (On Load) */
.hero__text {
    animation: slideInLeft 1s ease-out forwards;
}

.hero__image {
    animation: slideInRight 1s ease-out forwards;
}