/* HEADER SOLDADO PRIME */
@font-face {
    font-family: "NotoSans";
    font-style: normal;
    font-weight: 100;
    src: url(./tipografias/NotoSans-Thin.ttf);
}

@font-face {
    font-family: "NotoSans";
    font-style: normal;
    font-weight: 300;
    src: url(./tipografias/NotoSans-Light.ttf);
}

@font-face {
    font-family: "NotoSans";
    font-style: normal;
    font-weight: 400;
    src: url(tipografias/NotoSans-Regular.ttf);
}

@font-face {
    font-family: "NotoSans";
    font-style: normal;
    font-weight: 500;
    src: url(tipografias/NotoSans-Medium.ttf);
}

@font-face {
    font-family: "NotoSans";
    font-style: normal;
    font-weight: 600;
    src: url(tipografias/NotoSans-SemiBold.ttf);
}

@font-face {
    font-family: "NotoSans";
    font-style: normal;
    font-weight: 700;
    src: url(tipografias/NotoSans-Bold.ttf);
}

@font-face {
    font-family: "NotoSans";
    font-style: normal;
    font-weight: 800;
    src: url(tipografias/NotoSans-ExtraBold.ttf);
}

@font-face {
    font-family: "NotoSans";
    font-style: normal;
    font-weight: 900;
    src: url(tipografias/NotoSans-Black.ttf);
}

body {
    margin: 0;
    font-family: "NotoSans";
}

.sp-header {
    background-color: #6a5500;
    /* color dorado militar */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
}

.sp-logo img {
    width: auto;
    height: 100px;
}

.sp-header-text {
    text-align: right;
    font-weight: bold;
    font-size: 22px;
    line-height: 1.4;
    color: #ffd600;
    /* dorado */
    text-transform: uppercase;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    h2 {
        font-size: 22px !important;
    }

    h3 {
        font-size: 18px !important;
    }

    li {
        font-size: 14px !important;
    }

    p {
        font-size: 14px !important;
    }

    a {
        font-size: 14px !important;
    }

    .sp-header {
        flex-direction: column;
        text-align: center;
        padding: 15px 20px;
    }

    .sp-logo img {
        width: 180px;
        margin-bottom: 10px;
    }

    .sp-header-text {
        font-size: 16px;
        line-height: 1.2;
    }
}

/* HERO SOLDADO PRIME */
.sp-hero-block {
    display: flex;
    width: 100%;
    min-height: 500px;
}

.sp-hero-text {
    width: 100%;
    background: url("imagenes/fondo-hero-sp.png") no-repeat center center;
    background-size: cover;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 60px;
    text-align: center;
}

.sp-hero-text h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.sp-hero-text p {
    font-size: 18px;
    margin-bottom: 20px;
}

.sp-hero-text h3 {
    font-size: 22px;
    color: #ffd600;
    font-weight: bold;
    margin-top: 20px;
}

.sp-hero-image {
    flex: 0 0 40%;
    background: url("imagenes/soldado-hero.png") no-repeat center center;
    background-size: cover;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .sp-hero-block {
        display: grid;
        grid-template-rows: 2fr 1fr;
    }

    .sp-hero-text,
    .sp-hero-image {
        flex: 0 0 100%;
    }

    .sp-hero-text {
        padding: 30px 20px;
        text-align: center;
        width: auto;
    }

    .sp-hero-text h2 {
        font-size: 20px;
    }

    .sp-hero-text p {
        font-size: 16px;
    }

    .sp-hero-text h3 {
        font-size: 18px;
    }
}

/* SEPARADOR SOLDADO PRIME */
.sp-info-block {
    background-color: #b28c00;
    /* dorado militar */
    padding: 40px 20px;
}

.sp-info-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.sp-info-box {
    background-color: #fff;
    border: 3px solid #ffd600;
    /* borde dorado */
    border-radius: 30px;
    padding: 20px 40px;
    font-weight: bold;
    font-style: italic;
    text-align: center;
    text-transform: uppercase;
    font-size: 20px;
    line-height: 1.4;
    color: #5a3d00;
    /* marrón militar */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.sp-info-logo img {
    height: 120px;
    width: auto;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .sp-info-content {
        flex-direction: column;
        gap: 20px;
    }

    .sp-info-box {
        font-size: 16px;
        padding: 15px 20px;
    }

    .sp-info-logo img {
        height: 90px;
    }
}

/* BLOQUE MÉTODO SOLDADO */
.sp-metodo-block {
    background: #75621c url("imagenes/fondo-metodo-soldado.svg") no-repeat center center;
    background-size: cover;
    color: #fff;
    padding: 0px 20px;
}

.sp-metodo-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.sp-metodo-text {
    flex: 0 0 60%;
    font-size: 16px;
    line-height: 1.6;
}

.sp-metodo-text .highlight {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

.sp-metodo-text .yellow {
    color: #ffd600;
    font-weight: bold;
    margin: 15px 0;
}

.sp-metodo-text ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.sp-metodo-text ul li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
}

.sp-metodo-text ul li::before {
    content: "•";
    color: #ffd600;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.sp-metodo-image {
    flex: 0 0 35%;
    text-align: center;
    display: flex;
}

.sp-metodo-image img {
    max-width: 80%;
    height: auto;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .sp-metodo-content {
        flex-direction: column-reverse;
        text-align: left;
        gap: 20px;
        display: grid;
    }

    .sp-metodo-image {        
        flex: 0 0 100%;
        height: 100%;
        width: 100%;
        margin: 0;
        padding: 0;
        max-width: 100%;
        max-height: 30dvh;
        text-align: right;
        justify-content: center;
    }

    .sp-metodo-image img {
        max-width: 250px;
    }

    .sp-metodo-text {
        flex: 0 0 100%;
        font-size: 14px;
    }
}

/* SEPARADOR SOLDADO */
.sp-separator {
    background-color: #fff;
    padding: 40px 20px;
}

.sp-separator-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.sp-separator-content p {
    color: #5a3d00;
    /* Verde militar */
    font-size: 20px;
    font-style: italic;
    font-weight: 600;
    margin: 0;
    text-align: center;
}

.btn-red {
    background-color: #e42320;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    font-style: italic;
    text-transform: uppercase;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 50px;
    display: inline-block;
    text-align: center;
    transition: background 0.3s ease;
}

.btn-red:hover {
    background-color: #c51d1b;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .sp-separator-content {
        flex-direction: column;
        gap: 20px;
    }

    .sp-separator-content p {
        font-size: 18px;
    }

    .btn-red {
        width: 80%;
        max-width: 300px;
    }
}

/* TÍTULO REQUISITOS */
.sp-requisitos-title {
    background-color: #b38f00;
    /* dorado militar */
    padding: 30px 20px;
    text-align: center;
}

.sp-requisitos-title h2 {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    margin: 0;
}

/* BLOQUE PRINCIPAL */
.sp-requisitos-block {
    background: #f7f7f7;
    padding: 40px 20px;
}

.sp-requisitos-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.sp-requisitos-text {
    flex: 0 0 60%;
    color: #222;
    font-size: 16px;
    line-height: 1.6;
}

.sp-requisitos-text ul {
    list-style: none;
    padding-left: 0;
    margin: 20px 0 0;
}

.sp-requisitos-text ul li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
}

.sp-requisitos-text ul li::before {
    content: "•";
    color: #b38f00;
    /* dorado */
    font-weight: bold;
    position: absolute;
    left: 0;
}

.sp-requisitos-image {
    flex: 0 0 35%;
    text-align: center;
    background-color: #fefefe;
    border-radius: 40px;
}

.sp-requisitos-image img {
    max-width: 100%;
    height: auto;
    border-radius: 40px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .sp-requisitos-content {
        flex-direction: column;
        text-align: left;
        gap: 20px;
    }

    .sp-requisitos-text {
        flex: 0 0 100%;
        font-size: 14px;
    }

    .sp-requisitos-image {
        flex: 0 0 100%;
        text-align: center;
        width: 100%;
    }
}

/* TÍTULO FUNCIONES */
.sp-funciones-title {
    background-color: #b38f00;
    /* dorado militar */
    padding: 30px 20px;
    text-align: center;
}

.sp-funciones-title h2 {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    margin: 0;
}

/* BLOQUE PRINCIPAL */
.sp-funciones-block {
    background-color: #635100;
    /**/
    padding: 40px 20px;
}

.sp-funciones-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    color: #fff;
}

.sp-funciones-text {
    flex: 0 0 60%;
    font-size: 16px;
    line-height: 1.6;
}

.sp-funciones-text ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.sp-funciones-text ul li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 20px;
}

.sp-funciones-text ul li::before {
    content: "•";
    color: #ffd600;
    /* punto dorado */
    font-weight: bold;
    position: absolute;
    left: 0;
}

.sp-funciones-image {
    width: 100%;
    text-align: center;
}

.sp-funciones-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .sp-funciones-content {
        flex-direction: column-reverse;
        text-align: left;
        gap: 20px;
    }

    .sp-funciones-text {
        flex: 0 0 100%;
        font-size: 14px;
    }

    .sp-funciones-image {
        flex: 0 0 100%;
        text-align: center;
    }

}

/* BLOQUE CTA */
.sp-cta-block {
    background-color: #fff;
    background-image: url("imagenes/escudo-soldado-claro.svg");
    /* versión clara del escudo */
    background-attachment: fixed;

    background-repeat: no-repeat;
    background-size: 150px;
    background-position: 90% 50%;
    text-align: center;
    padding: 40px 20px;
}

.sp-cta-block .btn-red {
    background-color: #e42320;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    font-style: italic;
    text-transform: uppercase;
    text-decoration: none;
    padding: 15px 35px;
    border-radius: 50px;
    display: inline-block;
    transition: background 0.3s ease;
}

.sp-cta-block .btn-red:hover {
    background-color: #c51d1b;
}

/* BLOQUE PROCESO */
.sp-proceso-block {
    background-color: #b38f00;
    /* dorado militar */
    background-image: url("imagenes/escudo-soldado-dorado.svg");
    /* escudo dorado */
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: 150px;
    background-position: 90% 50%;
    text-align: center;
    padding: 60px 20px;
}

.sp-proceso-block h2 {
    font-size: 22px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    margin: 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {

    .sp-cta-block,
    .sp-proceso-block {
        background-position: center bottom;
        background-size: 100px;
    }

    .sp-cta-block .btn-red {
        width: 80%;
        max-width: 280px;
        font-size: 16px;
        padding: 12px 25px;
    }

    .sp-proceso-block h2 {
        font-size: 18px;
    }
}

/* BLOQUE CTA */
.sp-cta-block {
    background-color: #fff;
    background-image: url("imagenes/escudo-soldado-claro.svg");
    /* Escudo claro */
    background-repeat: no-repeat;
    background-size: 150px;
    background-position: 90% 50%;
    text-align: center;
    padding: 40px 20px;
}

.sp-cta-block .btn-red {
    background-color: #e42320;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    font-style: italic;
    text-transform: uppercase;
    text-decoration: none;
    padding: 15px 35px;
    border-radius: 50px;
    display: inline-block;
    transition: background 0.3s ease;
}

.sp-cta-block .btn-red:hover {
    background-color: #c51d1b;
}

/* BLOQUE PROCESO */
.sp-proceso-block {
    background-color: #b38f00;
    /* Dorado militar */
    background-image: url("imagenes/escudo-soldado-dorado.svg");
    /* Escudo dorado */
    background-repeat: no-repeat;
    background-size: 150px;
    background-position: 90% 50%;
    text-align: center;
    padding: 60px 20px;
}

.sp-proceso-block h2 {
    font-size: 22px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    margin: 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {

    .sp-cta-block,
    .sp-proceso-block {
        background-position: center bottom;
        background-size: 100px;
    }

    .sp-cta-block .btn-red {
        width: 80%;
        max-width: 280px;
        font-size: 16px;
        padding: 12px 25px;
    }

    .sp-proceso-block h2 {
        font-size: 18px;
    }
}

/* BLOQUE PRUEBAS SOLDADO PROFESIONAL */
.sp-pruebas-block {
    background-color: #fff;
    /* fondo blanco */
    padding: 40px 20px;
}

.sp-pruebas-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.sp-pruebas-texto {
    flex: 0 0 60%;
    color: #222;
    font-size: 16px;
    line-height: 1.6;
}

.sp-pruebas-texto h3 {
    font-size: 22px;
    font-weight: bold;
    color: #5a3d00;
    /* verde militar */
    margin-bottom: 20px;
    text-align: center;
}

.sp-pruebas-texto p {
    margin: 10px 0;
    font-weight: bold;
}

.sp-pruebas-texto ul {
    list-style: none;
    padding-left: 0;
    margin: 10px 0 20px;
}

.sp-pruebas-texto ul li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
}

.sp-pruebas-texto ul li::before {
    content: "•";
    color: #e0a800;
    /* dorado militar */
    font-weight: bold;
    position: absolute;
    left: 0;
}

.sp-pruebas-texto strong {
    color: #5a3d00;
}

.sp-pruebas-image {
    flex: 0 0 35%;
    text-align: center;
}

.sp-pruebas-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .sp-pruebas-content {
        flex-direction: column;
        text-align: left;
        gap: 20px;
    }

    .sp-pruebas-image {
        flex: 0 0 100%;
        margin-bottom: 20px;
    }

    .sp-pruebas-texto {
        flex: 0 0 100%;
        font-size: 14px;
    }

    .sp-pruebas-texto h3 {
        font-size: 18px;
    }
}

/* SEPARADOR FINAL SOLDADO */
.sp-final-separator {
    background-color: #fff;
    padding: 40px 20px;
}

.sp-final-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.sp-final-content p {
    color: #5a3d00;
    /* verde militar */
    font-size: 20px;
    font-weight: 600;
    font-style: italic;
    margin: 0;
    line-height: 1.4;
    text-align: center;
}

.sp-logo-opoprime img {
    height: 80px;
    width: auto;
}

.btn-red {
    background-color: #e42320;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    font-style: italic;
    text-transform: uppercase;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 50px;
    display: inline-block;
    transition: background 0.3s ease;
}

.btn-red:hover {
    background-color: #c51d1b;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .sp-final-content {
        flex-direction: column;
        text-align: center;
    }

    .sp-final-content p {
        font-size: 18px;
    }

    .btn-red {
        font-size: 16px;
        padding: 12px 25px;
        width: 80%;
        max-width: 280px;
    }

    .sp-logo-opoprime img {
        height: 70px;
    }
}

/* FOOTER SOLDADO PRIME */
.sp-footer {
    background: url("imagenes/fondo-footer.svg") no-repeat top center;
    background-size: cover;
    padding: 30px 20px;
    color: #fff;
}

.sp-footer a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}


.sp-footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

/* Izquierda */
.sp-footer-left {
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-icon {
    font-size: 18px;
}

/* Centro */
.sp-footer-center {
    font-size: 14px;
    text-align: center;
    flex: 1;
}

.sp-footer-center a {
    text-decoration: none;
    color: #0d1c3d;
    font-weight: 600;
    margin: 0 5px;
}

.sp-footer-center a:hover {
    text-decoration: underline;
}
.sp-footer-left a {
    text-decoration: none;
    color: #0d1c3d;
    font-weight: 600;
}

/* Derecha */
.sp-footer-right img {
    height: 40px;
    width: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .sp-footer-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        align-items: center;
    }
    .sp-footer-left,
    .sp-footer-center,
    .sp-footer-right {
        justify-content: center;
        width: 100%;
        display: flex;
        align-items: center;
    }
    .sp-footer-right img {
        height: 30px;
        width: auto;
    }
}

@media (min-width: 1400px) {
    .sp-header {
        padding: 40px 80px;
    }

    .sp-logo img {
        width: 320px;
    }

    .sp-header-text {
        font-size: 28px;
        line-height: 1.6;
    }
}

@media (min-width: 2000px) {
    h2 {
        font-size: 48px !important;
    }

    h3 {
        font-size: 42px !important;
    }

    li {
        font-size: 32px !important;
    }

    p {
        font-size: 32px !important;
    }

    a {
        font-size: 32px !important;
    }

    h2 {}

    .sp-hero-block {
        min-height: 900px;
    }

    .sp-hero-text p,
    .sp-hero-text li,
    .sp-hero-text strong {
        font-size: 28px !important;
    }

    .sp-hero-text h2 {
        font-size: 32px !important;
    }

    .sp-info-block {
        display: flex;
        justify-content: center;

        .sp-info-box {
            font-size: 32px !important;
            padding: 30px 60px;
        }
    }

    .sp-info-content {
        margin: 0;
        width: 100%;

        p {
            font-size: 38px !important;
        }
    }

    a {
        font-size: 28px !important;
    }

    .sp-info-logo {
        img {
            height: 200px;
        }
    }

    .sp-metodo-block {
        .sp-metodo-content {
            width: 100%;
            min-height: 1100px;
            margin: 0 auto;
            display: flex;
            justify-content: center;
            /* centra horizontalmente el bloque */
            align-items: flex-end;
            /* alinea todo al fondo */
            position: relative;
            max-width: none;
        }

        .sp-metodo-image {
            display: flex;
            justify-content: center;
            /* centra la imagen */
            align-items: flex-end;
            /* la pega al fondo */
            flex: 0 0 auto;
            width: auto;
            height: 100%;
        }

        .sp-metodo-image img {
            max-height: 95%;
            /* controla la proporción */
            height: auto;
            width: 600px;
        }

        .sp-metodo-text {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            max-height: none;
            height: 1000px;

            p,
            li {
                font-size: 28px !important;
            }
        }
    }

    .sp-separator {
        min-height: 300px;
        display: flex;
        align-items: center;
        justify-content: space-around;

        .sp-separator-content {
            text-align: center;
            gap: 200px;
            margin: 0;

            strong {
                font-size: 32px !important;
            }

            a {
                font-size: 28px !important;
            }
        }
    }

    .sp-requisitos-block,
    .sp-pruebas-block {
        min-height: 1100px;
        display: flex;
        justify-content: center;

        .sp-requisitos-content,
        .sp-pruebas-content {
            min-height: 1100px;
            margin: 0;
            width: 100%;
            display: flex;
            justify-content: center;
            max-width: 2000px;
            gap: 200px;

            .sp-requisitos-text,
            .sp-pruebas-texto {
                font-size: 28px;
                line-height: 1.6;
            }

            .sp-requisitos-image img,
            .sp-pruebas-image img {
                max-width: 100%;
                height: auto;
            }
        }
    }

    .sp-funciones-block {
        min-height: 700px;
        display: flex;
        justify-content: center;

        .sp-funciones-content {
            min-height: 700px;
            margin: 0;
            width: 100%;
            display: flex;
            justify-content: center;
            max-width: 2000px;

            .sp-funciones-text {
                font-size: 28px;
                line-height: 1.6;
            }

            .sp-funciones-image img {
                max-width: 100%;
                height: auto;
            }
        }
    }

    .sp-final-separator {
        min-height: 300px;
        display: flex;
        align-items: center;
        justify-content: space-around;

        .sp-final-content {
            text-align: center;
            gap: 200px;
            margin: 0;

            p {
                font-size: 32px !important;
            }

            .btn-red {
                font-size: 28px !important;
                padding: 20px 40px;
            }
        }

        .sp-logo-opoprime img {
            height: 100px;
        }
    }

    .sp-footer {
        display: flex;
        justify-content: center;
    }

    .sp-footer-content {
        max-width: 2000px;
        margin: 0;
        width: 100%;
        display: flex;
        justify-content: space-between;
    }
}
/* Estilos base de los botones fijos */
    .whatsapp-btn,
    .instagram-btn {
        position: fixed;
        width: 60px;
        height: 60px;
        bottom: 20px; 
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
        z-index: 9999;
        transition: transform 0.3s ease;
    }

    .whatsapp-btn {
        right: 97px;
        background-color: #25d366;
    }

    /* Contenedor principal de Instagram */
    .insta-container {
        position: fixed;
        bottom: 0px;
        right: 180px; 
        width: 60px;
        height: 60px;
        z-index: 9999;
    }

    .instagram-btn {
        position: relative;
        right: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
        cursor: pointer;
    }

    .whatsapp-btn img,
    .instagram-btn img {
        width: 35px;
        height: 35px;
    }

    .instagram-btn img {
        filter: brightness(0) invert(1);
    }

    /* SUBMENÚ - Escritorio (Hacia la izquierda) */
    .insta-submenu {
        position: absolute;
        right: 75px; 
        top: 50%;
        transform: translateY(-50%) translateX(20px);
        display: flex;
        flex-direction: row; 
        gap: 12px;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        pointer-events: none;
    }

    .insta-submenu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(-50%) translateX(0);
        pointer-events: auto;
    }

    .mini-btn {
     width: 50px;
        height: 50px;
        border-radius: 50%;
        overflow: hidden;
        border: 1px solid white; 
        box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.15); 
        transition: transform 0.2s;
        flex-shrink: 0;
        background-color: #fff;
    }

    .mini-btn:hover { transform: scale(1.1); }
    .mini-btn img { width: 100%; height: 100%; object-fit: cover; }

    /* --- VISTA MÓVIL (Hacia arriba) --- */
    @media (max-width: 480px) {
        .insta-container {
            right: 175px; 
        }

        .insta-submenu {
            right: auto;
            left: 50%; 
            bottom: 85px; 
            top: auto;
            flex-direction: column-reverse; 
            transform: translateX(-50%) translateY(20px);
            gap: 10px;
        }

        .insta-submenu.active {
            transform: translateX(-50%) translateY(0);
        }

        .mini-btn {
            width: 48px;
            height: 48px;
        }
    }