* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    width: 100%;
    height: 80px;
    padding: 0px;
    margin-bottom: 3px;
}

.head-contenedor {
    display: flex;
    justify-content: space-between;
    width: 90%;
    background-color: #f3f3f3;
    border-radius: 15px;
}


.head-left {
    width: 50%;
    border-radius: 15px;
}

.head-left img {
    border-radius: 15px;
    height: 80px;
    width: 80px;
}

.head-right {
    margin-top: 10px;
    width: 50%;
    padding-left: 25px;
    padding-right: 5px;
}

ul {
    display: flex;
    gap: 15px;
    list-style-type: none;
    text-justify: inter-word;
    font-family: "Inter", sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: black;
}

.nav .nav-link {
    color: #042C53;
}

.nav .nav-link:hover {
    color: #378ADD;
}

.nav .nav-link.active {
    color: #185FA5;
}

main {
    width: 100%;
    padding: 0px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

section {
    width: 90%;
    display: flex;
    flex-direction: column;
    gap: 2px;
    background-color: #f3f3f3;
    border-radius: 15px;
}

.section-titulo {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 100px;
    background-color: #fafafa;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    margin: 2px;
}

.titulo-it {
    color: #378ADD;
}
.section-titulo canvas {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.section-titulo h1 {
    font-family: "Space Grotesk", sans-serif;
    font-weight: bold;
    font-size: 60px;
    color: #042C53;
    position: relative;
    z-index: 1;
}

.section-titulo h2 {
    font-family: "Space Grotesk", sans-serif;
    font-weight: bold;
    font-size: 25px;
    color: #0C447C;
    position: relative;
    z-index: 1;
}

.section-top {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 2px;
    background-color: #fafafa;
    padding: 15px 0;
}

.caja {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding-top: 5px;
}

.caja h3 {
    font-family: "Space Grotesk", sans-serif;
    font-weight: bold;
    font-size: 20px;
    color: #0C447C;
}

.caja img {
    max-width: 200px;
    height: 250px;
    object-fit: cover;
    display: block;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    transition: border-radius 0.5s ease;
}

.caja:hover img {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

.parrafo {
    text-align: center;
    text-justify: inter-word;
    width: 60%;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 300;
    color: #185FA5;
    height: 85px;
}

.section-bottom{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    background-color: #fafafa;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    margin: 0 2px 2px 2px;
    padding: 20px 0;
}

.section-bottom-left {
    overflow: hidden;
    min-width: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.section-bottom-left img {
    width: 90%;
    height: 100%;
    object-fit: contain;
    display: block;
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.35);
}

.formulario {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.formulario h2 {
    font-family: "Space Grotesk", sans-serif;
    font-weight: bold;
    font-size: 20px;
    color: #2f2c79;
}

form {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 50%;
}

form button {
    width: 25%;
    justify-content: center;
}

form input {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #2f2c79;
}

form textarea {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #2f2c79;
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 18vh;
    margin-top: 3px;
}

.footer-contenedor {
    width: 90%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    background-color: #f3f3f3;
    border-radius: 15px;
    margin: 0px;
}

.footer-caja {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 100;
    font-size: 12px;
    color: #185FA5;
}

.footer-caja img {
    width: auto;
    height: 90%;
    max-height: 80px;
    object-fit: contain;
    display: block;
}

.icono {
    display: flex;
    gap: 5px;
    justify-content: flex-start;
    align-items: center;
    text-decoration: none;
}

.icono img {
    width: 16px;
    height: 16px;
}

.texto-reclamaciones {
    color: black;
    font-weight: 500;
    font-size: 12px;
}

.footer-caja p {
    margin: 0px;
}

.footer-caja h3 {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 100;
    font-size: 14px;
    color: #185FA5;
}

/* ============================================
LEADITAL — Media Queries
Móvil pequeño: hasta 300px
Móvil: 301px a 576px
Tablet: 577px a 992px
Escritorio: 993px en adelante
   ============================================ */

/* ── Móvil pequeño: hasta 300px ── */
@media (max-width: 300px) {

    /* Header */
    header {
        height: auto;
        padding: 2px 0;
        position: sticky;
        top: 0;
        z-index: 100;
    }

    .head-contenedor {
        flex-direction: column;
        align-items: center;
        gap: 6px;
        width: 100%;
    }

    .head-left {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .head-left img {
        width: 70px;
    }

    .head-right {
        width: 100%;
        padding-left: 0;
        margin-top: 0;
        display: flex;
        justify-content: center;
    }

    /* UL en una sola línea desde 300px */
    .head-right ul {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 4px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 2px;
    }

    .head-right ul li,
    .head-right ul .nav-link {
        font-size: 10px;
        white-space: nowrap;
        padding: 4px 5px;
    }

    /* Main / Section */
    section {
        width: 100%;
        border-radius: 0;
    }

    .section-titulo {
        padding: 24px 12px;
    }

    .section-titulo h1 {
        font-size: 26px;
    }

    .section-titulo h2 {
        font-size: 12px;
        text-align: center;
    }

    .caja h3 {
        font-size: 14px;
    }

    .section-top {
        grid-template-columns: 1fr;
    }

    .section-bottom {
        grid-template-columns: 1fr;
    }

    .section-bottom-left {
        min-height: 180px;
        justify-content: center;
    }

    .parrafo {
        width: 90%;
        height: auto;
        font-size: 12px;
    }

    form h2 {
        font-size: 16px;
    }

    form input,
    form textarea {
        font-size: 12px;
        padding: 8px;
    }

    form {
        width: 90%;
    }

    form button {
        width: 60%;
        font-size: 12px;
    }

    /* Footer */
    footer {
        height: auto;
        padding: 2px 0;
    }

    .footer-contenedor {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 12px;
        padding: 12px;
        text-align: center;
        display: flex;
    }

    .footer-caja {
        width: 100%;
        align-items: center;
        font-size: 11px;
    }
}


/* ── Móvil: 301px a 576px ── */
@media (min-width: 301px) and (max-width: 576px) {

    /* Header */
    header {
        height: auto;
        padding: 2px 0;
        position: sticky;
        top: 0;
        z-index: 100;
    }

    .head-contenedor {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        width: 100%;
    }

    .head-left {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .head-left img {
        width: 90px;
    }

    .head-right {
        width: 100%;
        padding-left: 0;
        margin-top: 0;
        display: flex;
        justify-content: center;
    }

    /* UL en una sola línea */
    .head-right ul {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 6px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 2px;
    }

    .head-right ul li,
    .head-right ul .nav-link {
        font-size: 11px;
        white-space: nowrap;
        padding: 4px 8px;
    }

    /* Main / Section */
    section {
        width: 100%;
        border-radius: 0;
    }

    .section-titulo {
        padding: 40px 20px;
    }

    .section-titulo h1 {
        font-size: 32px;
    }

    .section-titulo h2 {
        font-size: 14px;
        text-align: center;
    }

    .caja h3 {
        font-size: 15px;
    }

    .section-top {
        grid-template-columns: 1fr;
    }

    .section-bottom {
        grid-template-columns: 1fr;
    }

    .section-bottom-left {
        min-height: 220px;
        justify-content: center;
    }

    .parrafo {
        width: 85%;
        height: auto;
        font-size: 13px;
    }

    form h2 {
        font-size: 18px;
    }

    form input,
    form textarea {
        font-size: 13px;
    }

    form {
        width: 85%;
    }

    form button {
        width: 50%;
        font-size: 13px;
    }

    /* Footer */
    footer {
        height: auto;
        padding: 2px 0;
    }

    .footer-contenedor {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 16px;
        padding: 16px;
        text-align: center;
        display: flex;
    }

    .footer-caja {
        width: 100%;
        align-items: center;
        font-size: 12px;
    }
    
}


/* ── Tablet: 577px a 992px ── */
@media (min-width: 577px) and (max-width: 992px) {

    /* Header */
    header {
        height: auto;
        padding: 2px 0;
        position: sticky;
        top: 0;
        z-index: 100;
    }

    .head-contenedor {
        width: 95%;
    }

    .head-right ul {
        flex-wrap: nowrap;
        gap: 10px;
    }

    .head-right ul .nav-link {
        font-size: 13px;
    }

    /* Main / Section */
    section {
        width: 95%;
    }

    .section-titulo {
        padding: 60px 30px;
    }

    .section-titulo h1 {
        font-size: 44px;
    }

    .section-titulo h2 {
        font-size: 18px;
    }

    .caja h3 {
        font-size: 15px;
    }

    .section-top {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-bottom {
        grid-template-columns: 1fr;
    }

    .section-bottom-left {
        min-height: 280px;
        justify-content: center;
    }

    .parrafo {
        width: 75%;
        height: auto;
        font-size: 14px;
    }

    .formulario {
        margin-top: 10px;
    }

    .formulario h2 {
        font-size: 20px;
    }

    form {
        width: 50%;
    }

    form button {
        width: 25%;
    }

    /* Footer */
    
    footer {
        height: auto;
        padding: 2px 0;
    }

    .footer-contenedor {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        width: 95%;
        padding: 20px;
        text-align: center;
    }

    .footer-caja {
        width: 100%;
        align-items: center;
        font-size: 13px;
    }
    
}
