/* == INICIO - ESTRUCTURA GENERAL CUERPOS == */

.cuerpo-seccion {
    position: relative;
    min-height: 500px;
    padding: 34px 20px;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 25%, rgba(0, 140, 220, 0.20), transparent 30%),
        radial-gradient(circle at 92% 72%, rgba(255, 174, 0, 0.06), transparent 28%),
        linear-gradient(135deg, #01070d 0%, #061522 50%, #020912 100%);
}

.cuerpo-contenedor {
    position: relative;
    z-index: 2;
    width: min(1100px, 100%);
    margin: 0 auto;
}

/* == FIN - ESTRUCTURA GENERAL CUERPOS == */


/* == INICIO - CABECERA SECCION == */

.seccion-cabecera {
    margin-bottom: 20px;
    text-align: center;
}

.seccion-cabecera h1 {
    margin: 0;
    color: #ffffff;
    font-size: 44px;
    font-weight: 900;
    line-height: 1;
}

.seccion-cabecera p {
    margin: 7px 0 0;
    color: #b9c9d6;
    font-size: 14px;
}

/* == FIN - CABECERA SECCION == */


/* == INICIO - GRID TARJETAS == */

.tarjetas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

/* == FIN - GRID TARJETAS == */


/* == INICIO - TARJETAS GENERALES == */

.tarjeta {
    padding: 18px;
    border: 1px solid rgba(22, 139, 198, 0.65);
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(6, 24, 38, 0.94), rgba(2, 10, 18, 0.96));
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
    text-align: center;
}

.tarjeta-destacada {
    border-color: rgba(255, 201, 0, 0.78);
}

.tarjeta-cabecera {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.tarjeta-icono {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #168bc6;
    border-radius: 50%;
    color: #00a8ff;
    font-size: 18px;
}

.tarjeta-icono img {
    width: 19px;
    height: 19px;
    object-fit: contain;
}

.tarjeta-titulo {
    margin: 0;
    color: #ffffff;
    font-size: 18px;
    font-weight: 900;
    white-space: nowrap;
}

.tarjeta-etiqueta {
    display: inline-block;
    padding: 4px 7px;
    border-radius: 4px;
    background: #ffc900;
    color: #07111b;
    font-size: 8px;
    font-weight: 900;
    white-space: nowrap;
}

.tarjeta-texto {
    margin: 0 0 10px;
    color: #c4d1da;
    font-size: 14px;
    line-height: 1.4;
}

.tarjeta-nota {
    margin-top: 7px;
    color: #8fa0ad;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
}

.tarjeta-nota-destacada {
    color: #ffc15a;
}

/* == FIN - TARJETAS GENERALES == */


/* == INICIO - BOTONES GENERALES == */

.boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 13px;
    border-radius: 7px;
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 900;
    transition: 0.2s ease;
}

.boton:hover {
    transform: translateY(-1px);
}

.boton img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.boton-azul {
    background: linear-gradient(90deg, #0756a7, #078be0);
}

.boton-verde {
    border: 1px solid #25d366;
    background: rgba(37, 211, 102, 0.16);
}

.boton-gris {
    background: linear-gradient(90deg, #5d6570, #7f8a96);
}

/* == FIN - BOTONES GENERALES == */


/* == INICIO - REDES SOCIALES == */

.tarjeta-redes {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.tarjeta-red-social {
    min-width: 88px;
    padding: 7px 10px;
    border: 1px solid rgba(22, 139, 198, 0.60);
    border-radius: 5px;
    background: rgba(5, 20, 32, 0.90);
    color: #ffffff;
    text-decoration: none;
    text-align: center;
    font-size: 10px;
    font-weight: 800;
    transition: 0.2s ease;
}

.tarjeta-red-social:hover {
    border-color: #ffc900;
    color: #ffc900;
}

/* == FIN - REDES SOCIALES == */


/* == INICIO - CUERPO NOSOTROS == */

.nosotros-historia {
    position: relative;
    padding: 24px 28px;
    overflow: hidden;
    border: 1px solid rgba(22, 139, 198, 0.45);
    border-radius: 14px;
    background:
        radial-gradient(circle at 12% 30%, rgba(0, 140, 220, 0.12), transparent 30%),
        linear-gradient(145deg, rgba(6, 24, 38, 0.92), rgba(2, 10, 18, 0.95));
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.30);
}

.nosotros-historia::after {
    content: "";
    display: block;
    clear: both;
}

.nosotros-imagen {
    position: relative;
    width: 340px;
    height: 300px;
    margin: 0 28px 14px 0;
    float: left;
    overflow: hidden;
    border: 2px solid rgba(22, 139, 198, 0.90);
    border-radius: 46% 34% 42% 30% / 34% 46% 30% 42%;
    background: #061421;
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.40),
        0 0 18px rgba(0, 145, 220, 0.28),
        inset 0 0 12px rgba(0, 145, 220, 0.10);
}

.nosotros-imagen::before {
    content: "";
    position: absolute;
    inset: 5px;
    z-index: 2;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 46% 34% 42% 30% / 34% 46% 30% 42%;
}

.nosotros-imagen::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 20%, rgba(0, 150, 230, 0.18), transparent 34%),
        linear-gradient(135deg, transparent 55%, rgba(255, 162, 0, 0.08));
}

.nosotros-imagen img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.nosotros-texto {
    color: #c8d4dd;
    font-size: 15px;
    line-height: 1.65;
    text-align: left;
}

.nosotros-texto p {
    margin: 0 0 13px;
}

.nosotros-texto p:last-child {
    margin-bottom: 0;
}

.nosotros-texto strong {
    color: #ffffff;
    font-weight: 800;
}

.nosotros-valores {
    margin-top: 16px;
    grid-template-columns: repeat(3, 1fr);
}

.nosotros-valores .tarjeta {
    padding: 14px 12px;
}

.nosotros-valores .tarjeta-cabecera {
    margin: 0;
}

.nosotros-valores .tarjeta-titulo {
    font-size: 14px;
}

/* == FIN - CUERPO NOSOTROS == */


/* == INICIO - CUERPO PRODUCTOS == */

.producto-historia {
    position: relative;
    padding: 24px 28px;
    overflow: hidden;
    border: 1px solid rgba(22, 139, 198, 0.45);
    border-radius: 14px;
    background:
        radial-gradient(circle at 12% 30%, rgba(0, 140, 220, 0.12), transparent 30%),
        linear-gradient(145deg, rgba(6, 24, 38, 0.92), rgba(2, 10, 18, 0.95));
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.30);
}

.producto-historia::after {
    content: "";
    display: block;
    clear: both;
}

.producto-imagen {
    position: relative;
    width: 340px;
    height: 300px;
    margin: 0 28px 14px 0;
    float: left;
    overflow: hidden;
    border: 2px solid rgba(22, 139, 198, 0.90);
    border-radius: 46% 34% 42% 30% / 34% 46% 30% 42%;
    background: #061421;
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.40),
        0 0 18px rgba(0, 145, 220, 0.28),
        inset 0 0 12px rgba(0, 145, 220, 0.10);
}

.producto-imagen::before {
    content: "";
    position: absolute;
    inset: 5px;
    z-index: 2;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 46% 34% 42% 30% / 34% 46% 30% 42%;
}

.producto-imagen::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 20%, rgba(0, 150, 230, 0.18), transparent 34%),
        linear-gradient(135deg, transparent 55%, rgba(255, 162, 0, 0.08));
}

.producto-imagen img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.producto-texto {
    color: #c8d4dd;
    font-size: 15px;
    line-height: 1.65;
    text-align: left;
}

.producto-texto h2 {
    margin: 0 0 12px;
    color: #ffc900;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.15;
}

.producto-texto h3 {
    margin: 18px 0 7px;
    color: #00a8ff;
    font-size: 16px;
    font-weight: 900;
}

.producto-texto p {
    margin: 0 0 12px;
}

.producto-texto p:last-child {
    margin-bottom: 0;
}

.producto-texto strong {
    color: #ffffff;
    font-weight: 800;
}

.producto-aviso,
.producto-video {
    margin-top: 14px;
}

.producto-aviso .tarjeta-texto,
.producto-video .tarjeta-texto {
    margin-bottom: 0;
}

.producto-video .boton {
    margin-top: 4px;
}

/* == FIN - CUERPO PRODUCTOS == */



/* == INICIO - FORMULARIO CONTACTO == */

.formulario-contacto .tarjeta {
    text-align: left;
}

.formulario-contacto .tarjeta + .tarjeta {
    margin-top: 14px;
}

.formulario-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
}

.formulario-campo {
    min-width: 0;
}

.formulario-campo-ancho {
    grid-column: 1 / -1;
}

.formulario-campo label {
    display: block;
    margin-bottom: 5px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
}

.formulario-campo input,
.formulario-campo select,
.formulario-campo textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 9px 10px;
    border: 1px solid rgba(22, 139, 198, 0.65);
    border-radius: 6px;
    outline: none;
    background: #ffffff;
    color: #07111b;
    font: inherit;
    font-size: 13px;
}

.formulario-campo textarea {
    min-height: 110px;
    resize: vertical;
}

.formulario-campo input:focus,
.formulario-campo select:focus,
.formulario-campo textarea:focus {
    border-color: #00a8ff;
}

.formulario-acciones {
    margin-top: 12px;
    text-align: center;
}

.formulario-acciones .boton {
    border: 0;
    cursor: pointer;
}

/* == FIN - FORMULARIO CONTACTO == */



/* == INICIO - CUERPO CONTACTANOS == */

.contactanos-opciones .tarjetas-grid {
    width: 100%;
    min-width: 0;
}

.contactanos-opciones .tarjeta {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.contactanos-opciones .tarjeta-cabecera {
    min-width: 0;
}

.contactanos-opciones .tarjeta-titulo {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.15;
}

.contactanos-opciones .boton {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    text-align: center;
}

/* == FIN - CUERPO CONTACTANOS == */


/* == INICIO - VERSION MOVIL == */

@media (max-width: 760px) {

    .cuerpo-seccion {
        min-height: auto;
        padding: 20px 10px;
    }

    .seccion-cabecera {
        margin-bottom: 13px;
    }

    .seccion-cabecera h1 {
        font-size: 30px;
    }

    .seccion-cabecera p {
        font-size: 11px;
    }

    .tarjetas-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .contactanos-opciones .tarjetas-grid {
        width: 100%;
        min-width: 0;
    }

    .contactanos-opciones .tarjeta {
        width: 100%;
        min-width: 0;
    }

    .contactanos-opciones .tarjeta-cabecera {
        flex-wrap: wrap;
        row-gap: 5px;
    }

    .contactanos-opciones .tarjeta-titulo {
        white-space: normal;
        overflow-wrap: anywhere;
        text-align: center;
    }

    .contactanos-opciones .boton {
        max-width: 100%;
        white-space: normal;
        line-height: 1.2;
    }


    .tarjeta {
        padding: 12px 10px;
    }

    .tarjeta-cabecera {
        margin-bottom: 7px;
        gap: 6px;
    }

    .tarjeta-icono {
        width: 29px;
        height: 29px;
        flex-basis: 29px;
        font-size: 16px;
    }

    .tarjeta-icono img {
        width: 17px;
        height: 17px;
    }

    .tarjeta-titulo {
        font-size: 15px;
    }

    .tarjeta-etiqueta {
        padding: 3px 6px;
        font-size: 7px;
    }

    .tarjeta-texto {
        margin-bottom: 7px;
        font-size: 11.5px;
    }

    .tarjeta-nota {
        margin-top: 5px;
        font-size: 10px;
    }

    .boton {
        padding: 7px 10px;
        font-size: 10px;
    }

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

    .tarjeta-redes {
        gap: 5px;
    }

    .tarjeta-red-social {
        min-width: 78px;
        padding: 6px 8px;
        font-size: 8.5px;
    }

    .nosotros-historia {
        padding: 14px 12px;
        border-radius: 10px;
    }

    .nosotros-imagen {
        width: 145px;
        height: 145px;
        margin: 0 12px 7px 0;
        float: left;
        border-radius: 46% 34% 42% 30% / 34% 46% 30% 42%;
    }

    .nosotros-texto {
        font-size: 11.5px;
        line-height: 1.55;
    }

    .nosotros-texto p {
        margin-bottom: 10px;
    }

    .nosotros-valores {
        margin-top: 10px;
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .nosotros-valores .tarjeta {
        padding: 8px 10px;
    }

    .nosotros-valores .tarjeta-cabecera {
        gap: 7px;
    }

    .nosotros-valores .tarjeta-icono {
        width: 26px;
        height: 26px;
        flex-basis: 26px;
        font-size: 14px;
    }

    .nosotros-valores .tarjeta-titulo {
        font-size: 11px;
    }

    .producto-historia {
        padding: 14px 12px;
        border-radius: 10px;
    }

    .producto-imagen {
        width: 145px;
        height: 145px;
        margin: 0 12px 7px 0;
        float: left;
        border-radius: 46% 34% 42% 30% / 34% 46% 30% 42%;
    }

    .producto-texto {
        font-size: 11.5px;
        line-height: 1.55;
    }

    .producto-texto h2 {
        margin-bottom: 7px;
        font-size: 15px;
        line-height: 1.1;
    }

    .producto-texto h3 {
        margin: 12px 0 5px;
        font-size: 12px;
    }

    .producto-texto p {
        margin-bottom: 9px;
    }

    .producto-aviso,
    .producto-video {
        margin-top: 9px;
    }


    /* == FORMULARIO CONTACTO MOVIL == */

    .formulario-contacto .tarjeta {
        padding: 11px 10px;
    }

    .formulario-contacto .tarjeta + .tarjeta {
        margin-top: 8px;
    }

    .formulario-contacto .tarjeta-cabecera {
        margin-bottom: 10px;
    }

    .formulario-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px 8px;
    }

    .formulario-campo label {
        margin-bottom: 3px;
        font-size: 10.5px;
        line-height: 1.2;
        text-align: left;
    }

    .formulario-campo input,
    .formulario-campo select,
    .formulario-campo textarea {
        padding: 7px 7px;
        font-size: 11px;
    }

    .formulario-campo textarea {
        min-height: 82px;
    }

    .formulario-acciones {
        margin-top: 9px;
    }

    .formulario-acciones .boton {
        width: 100%;
    }

    /* == FIN - FORMULARIO CONTACTO MOVIL == */

}

/* == FIN - VERSION MOVIL == */

/* == INICIO - ESTADOS ENVIO FORMULARIO == */

.formulario-aviso {
    margin-bottom: 12px;
    padding: 16px;
    border: 1px solid rgba(22, 139, 198, 0.65);
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(6, 24, 38, 0.96), rgba(2, 10, 18, 0.98));
    color: #ffffff;
    text-align: center;
}

.formulario-aviso h2 {
    margin: 0 0 7px;
    font-size: 20px;
    font-weight: 900;
}

.formulario-aviso p {
    margin: 0;
    color: #c4d1da;
    font-size: 13px;
    line-height: 1.45;
}

.formulario-aviso-exito {
    border-color: rgba(37, 211, 102, 0.75);
}

.formulario-aviso-error {
    border-color: rgba(255, 174, 0, 0.78);
}

.formulario-aviso .boton {
    margin-top: 12px;
}

.formulario-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.formulario-enviando {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(1, 7, 13, 0.88);
}

.formulario-enviando.activo {
    display: flex;
}

.formulario-enviando-caja {
    width: min(340px, 100%);
    padding: 24px 18px;
    border: 1px solid rgba(22, 139, 198, 0.75);
    border-radius: 14px;
    background: linear-gradient(145deg, #061826, #020a12);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    color: #ffffff;
    text-align: center;
}

.formulario-spinner {
    width: 42px;
    height: 42px;
    margin: 0 auto 13px;
    border: 4px solid rgba(255, 255, 255, 0.18);
    border-top-color: #00a8ff;
    border-radius: 50%;
    animation: formulario-girar 0.8s linear infinite;
}

.formulario-enviando-titulo {
    margin: 0;
    font-size: 18px;
    font-weight: 900;
}

.formulario-enviando-texto {
    margin: 6px 0 0;
    color: #b9c9d6;
    font-size: 12px;
}

@keyframes formulario-girar {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 760px) {

    .formulario-aviso {
        margin-bottom: 8px;
        padding: 12px 10px;
    }

    .formulario-aviso h2 {
        font-size: 15px;
    }

    .formulario-aviso p {
        font-size: 10.5px;
    }

    .formulario-enviando-caja {
        width: min(300px, 100%);
        padding: 20px 14px;
    }

    .formulario-spinner {
        width: 36px;
        height: 36px;
    }

    .formulario-enviando-titulo {
        font-size: 15px;
    }

    .formulario-enviando-texto {
        font-size: 10.5px;
    }

}

/* == FIN - ESTADOS ENVIO FORMULARIO == */
