/* INDEX2 - HOJA AUTONOMA DE PROPUESTA
   Base copiada de index.css e index_responsive.css; ajustes de propuesta al final.
   Los originales permanecen intactos.
*/

/* ==========================================================
   GYALUX · HOME UX-01 R1
   Portada compacta: servicio de campo + evolución digital.
   Responsive incluido aquí; index_responsive.css permanece como stub.
   ========================================================== */

.gx-r1-home {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}



.gx-r1-home h1,
.gx-r1-home h2,
.gx-r1-home h3,
.gx-r1-home p {
    text-wrap: pretty;
}

.gx-r1-hero h1{
  font-size:35px;
}

.gx-r1-home h1,
.gx-r1-home h2 {
    margin: 0 0 14px;
    color: #001A3A;
    font-family: 'Plus Jakarta Sans', sans-serif;
   

    line-height: 1.18;
    letter-spacing: -0.45px;
}

.gx-r1-home h3 {
    margin: 0;
    color: #001A3A;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.25;
}

.gx-r1-home p {
    color: #4A5568;
    font-size: 1rem;
    line-height: 1.66;
}

.gx-r1-home .fa {
    font-style: normal;
    font-weight: normal;
    text-shadow: none;
}

.gx-r1-hero {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(300px, 0.95fr);
    gap: clamp(42px, 6vw, 86px);
    align-items: start;
    padding: 0 0 50px;
    border-bottom: 1px solid rgba(0, 26, 58, 0.10);
}

.gx-r1-hero-copy {
    min-width: 0;
    max-width: 790px;
}

.gx-r1-hero-side {
    display: grid;
    gap: 22px;
    align-self: start;
    margin-top: 65px;
}

.gx-r1-ecosystem--hero {
    margin: 0;
}


.gx-r1-hero .eyebrow {

}

.gx-r1-hero h1,
.gx-r1-hero h2 {
    max-width: 790px;
    margin: 0 0 18px;
}

.gx-r1-lead {
    max-width: 745px;
    margin: 0;
    font-size: 1.07rem !important;
    line-height: 1.68 !important;
}

.gx-r1-outline-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    border: 1px solid rgba(0, 26, 58, 0.15);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.76);
    color: #001A3A;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.45px;
    text-decoration: none;
    transition: border-color .2s ease, transform .2s ease, color .2s ease, box-shadow .2s ease;
}

.gx-r1-outline-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(203, 163, 88, 0.75);
    color: #B88E45;
    box-shadow: 0 9px 22px rgba(0, 26, 58, 0.06);
}

.gx-r1-text-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #001A3A;
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.35;
    text-decoration: none;
}

.gx-r1-text-link:hover {
    color: #B88E45;
}

.gx-r1-text-link i {
    color: #CBA358;
}

.gx-r1-outline-btn:focus-visible,
.gx-r1-text-link:focus-visible,
.gx-r1-service-line:focus-visible,
.gx-r1-contact-icon:focus-visible,
.gx-home-benefit-btn:focus-visible {
    outline: 3px solid rgba(203, 163, 88, 0.48);
    outline-offset: 3px;
}

/* Contacto rápido exclusivo de la Home dentro de la barra de beneficios. */
.gx-home-benefit-actions {
    height: 28px;
    margin: 0 16px 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex: 0 0 auto;
    position: relative;
    z-index: 2;
    overflow: visible;
}

.gx-home-benefit-btn {
   width: 42px;
    min-width: 42px;
    height: 42px;
    font-size: 1.15rem !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: 1px solid #CBA358;
    border-radius: 11px;
    background: linear-gradient(135deg, #DFB96E 0%, #B88E45 100%);
    color: #FFFFFF;
    box-shadow: 0 10px 24px rgba(203, 163, 88, 0.28);
    text-decoration: none;
    transform: none;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.gx-home-benefit-btn:hover {
    border-color: #B88E45;
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 13px 28px rgba(203, 163, 88, 0.34);
}

.gx-home-benefit-btn i {
    margin: 0;
    padding: 0;
    color: inherit;
    font-size: 1.15rem;
    line-height: 1;
}

/* Continuidad de información de la primera sección: sin panel lateral. */
.gx-r1-hero-flow {
    margin: 18px 0 0;
    color: #64748B;
    font-size: 0.88rem !important;
    line-height: 1.65 !important;
}

.gx-r1-hero-flow-location,
.gx-r1-hero-flow-contact {
    margin-right: 18px;
}

.gx-r1-hero-flow-location {
    font-weight: 700;
}

.gx-r1-hero-flow strong {
    color: #001A3A;
}

.gx-r1-hero-flow i {
    margin-right: 5px;
    color: #CBA358;
    vertical-align: -1px;
}

.gx-r1-hero-flow .gx-r1-text-link {
    display: inline;
    white-space: nowrap;
    font-size: 0.88rem;
}

.gx-r1-hero-flow .gx-r1-text-link i {
    margin-right: 0;
    margin-left: 4px;
}

.gx-r1-hero-note {
    padding: 8px 0 8px 28px;
    border-left: 3px solid #CBA358;
}

.gx-r1-location {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 15px;
    color: #64748B;
    font-size: 0.79rem;
    font-weight: 700;
    line-height: 1.45;
}

.gx-r1-location i {
    color: #CBA358;
    font-size: 1rem;
}

.gx-r1-hero-note p {
    margin: 0 0 14px;
    font-size: 0.94rem;
    line-height: 1.6;
}

.gx-r1-hero-note strong {
    color: #001A3A;
}

.gx-r1-field {
    display: grid;
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(38px, 5.5vw, 72px);
    align-items: center;
    padding: 58px 0;
    border-bottom: 1px solid rgba(0, 26, 58, 0.10);
}

.gx-r1-field-photo {
    margin: 0;
    width: min(100%, 370px);
    justify-self: center;
}

.gx-r1-field-photo img {
    display: block;
    width: 100%;
    height: clamp(330px, 39vw, 430px);
    object-fit: cover;
    object-position: center 42%;
    border-radius: 26px;
    border: 1px solid rgba(0, 26, 58, 0.08);
    box-shadow: 0 18px 38px rgba(0, 26, 58, 0.09);
}

.gx-r1-section-intro {
    max-width: 720px;
    margin: 0 0 16px;
}

.gx-r1-service-lines {
    display: grid;
    margin: 4px 0 17px;
    border-top: 1px solid rgba(0, 26, 58, 0.10);
}

.gx-r1-service-line {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 20px;
    gap: 12px;
    align-items: center;
    padding: 15px 2px;
    border-bottom: 1px solid rgba(0, 26, 58, 0.10);
    color: inherit;
    text-decoration: none;
    transition: padding .2s ease, border-color .2s ease;
}

.gx-r1-service-line > i:first-child {
    color: #CBA358;
    font-size: 1.35rem;
}

.gx-r1-service-line span {
    display: grid;
    gap: 3px;
}

.gx-r1-service-line strong {
    color: #001A3A;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.98rem;
    line-height: 1.25;
}

.gx-r1-service-line small {
    color: #64748B;
    font-size: 0.86rem;
    line-height: 1.48;
}

.gx-r1-service-line .gx-r1-arrow {
    color: #CBA358;
    font-size: 1rem;
    justify-self: end;
}

.gx-r1-service-line:hover {
    padding-left: 7px;
    border-color: rgba(203, 163, 88, 0.5);
}

.gx-r1-digital {
    display: block;
    padding: 58px 0;
    border-bottom: 1px solid rgba(0, 26, 58, 0.10);
}

.gx-r1-digital-copy {
    max-width: 720px;
}

.gx-r1-digital-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
    gap: 34px;
    align-items: center;
    width: 100%;
    padding: 34px 36px;
    border: 1px solid rgba(203, 163, 88, 0.22);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 20px 52px rgba(0, 26, 58, 0.07);
}

.gx-r1-digital-figure {
    margin: 0;
}

.gx-r1-digital-frame {
    padding: 14px;
    border: 1px solid rgba(0, 26, 58, 0.08);
    border-radius: 24px;
    background: #FFFFFF;
    box-shadow: 0 22px 52px rgba(0, 26, 58, 0.12);
}

.gx-r1-digital-frame img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
}


.gx-r1-digital-copy p {
    margin: 0 0 13px;
}

.gx-r1-digital-copy strong {
    color: #001A3A;
}

.gx-r1-digital-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin-top: 20px;
}

.gx-r1-ecosystem {
    padding-left: 28px;
    border-left: 3px solid rgba(203, 163, 88, 0.72);
}

.gx-r1-ecosystem h3 {
    margin-bottom: 15px;
    font-size: 1.12rem;
}

.gx-r1-ecosystem ul {
    display: grid;
    gap: 0;
    margin: 0 0 15px;
    padding: 0;
    list-style: none;
}

.gx-r1-ecosystem li {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid rgba(0, 26, 58, 0.08);
    color: #334155;
    font-size: 0.9rem;
    font-weight: 600;
}

.gx-r1-ecosystem li:last-child {
    border-bottom: 0;
}

.gx-r1-ecosystem li i {
    color: #CBA358;
    font-size: 1.12rem;
}

.gx-r1-ecosystem p {
    margin: 0;
    color: #64748B;
    font-size: 0.86rem;
    line-height: 1.55;
}

.gx-r1-store {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    padding: 36px 0;
    border-bottom: 1px solid rgba(0, 26, 58, 0.10);
}

.gx-r1-store-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(203, 163, 88, 0.12);
    color: #B88E45;
    font-size: 1.45rem;
}

.gx-r1-store h2 {
    margin-bottom: 6px;
}

.gx-r1-store p {
    max-width: 760px;
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.58;
}

.gx-r1-store > .gx-r1-outline-btn {
    white-space: nowrap;
}

.gx-r1-close {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 34px;
    align-items: center;
    padding: 42px 0 54px;
}

.gx-r1-close h2 {
    margin-bottom: 8px;
}

.gx-r1-close p {
    max-width: 730px;
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.58;
}

.gx-r1-close-actions {
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}

.gx-r1-contact-icon {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: 1px solid #CBA358;
    border-radius: 10px;
    background: linear-gradient(135deg, #DFB96E 0%, #B88E45 100%);
    color: #FFFFFF;
    text-decoration: none;
    box-shadow: 0 7px 18px rgba(203, 163, 88, 0.22);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.gx-r1-contact-icon-primary {
    border-color: #CBA358;
    background: linear-gradient(135deg, #DFB96E 0%, #B88E45 100%);
    color: #FFFFFF;
}

.gx-r1-contact-icon:hover,
.gx-r1-contact-icon-primary:hover {
    transform: translateY(-1px);
    border-color: #B88E45;
    color: #FFFFFF;
    box-shadow: 0 10px 24px rgba(203, 163, 88, 0.30);
}

.gx-r1-contact-icon i {
    margin: 0;
    padding: 0;
    font-size: 1.15rem;
    line-height: 1;
}

/* ---------- Desktop contenido compacto ---------- */

@media (min-width: 992px) {
    .gx-r1-home {
        padding-top: 0;
    }
}

/* ---------- Tablet ---------- */
@media (max-width: 1180px) {
    .gx-r1-hero {
        gap: 44px;
    }


    .gx-r1-field,
    .gx-r1-digital {
        gap: 42px;
    }
}

/* ---------- Móvil / tablet vertical ---------- */
@media (max-width: 991px) {

    header.gx-header-principal .logo img {
        width: min(72vw, 250px) !important;
        max-width: 250px !important;
    }

    .gx-r1-hero-side {
        gap: 18px;
    }

    .gx-r1-digital-feature {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 24px 18px;
    }

    .gx-home-benefit-actions {
        display: none;
    }

    .gx-r1-hero,
    .gx-r1-field,
    .gx-r1-digital,
    .gx-r1-store,
    .gx-r1-close {
        grid-template-columns: 1fr;
    }

    .gx-r1-hero {
        gap: 26px;
        padding: 0 0 38px;
    }

    .gx-r1-hero-copy,
    .gx-r1-digital-copy {
        max-width: none;
    }

    .gx-r1-hero h1,
.gx-r1-hero h2 {
        max-width: 760px;
    }

    .gx-r1-lead {
        font-size: 1rem !important;
    }

    .gx-r1-hero-note,
    .gx-r1-ecosystem {
        padding: 2px 0 2px 20px;
    }

    .gx-r1-field,
    .gx-r1-digital {
        gap: 28px;
        padding: 40px 0;
    }

    .gx-r1-field-photo {
        width: min(100%, 520px);
        justify-self: start;
    }

    .gx-r1-field-photo img {
        height: 330px;
        object-position: center 40%;
    }

    .gx-r1-store {
        gap: 14px;
        padding: 30px 0;
    }

    .gx-r1-store-icon {
        margin-bottom: 2px;
    }

    .gx-r1-store > .gx-r1-outline-btn {
        width: fit-content;
    }

    .gx-r1-close {
        gap: 20px;
        padding: 34px 0 42px;
    }

    .gx-r1-close-actions {
        justify-content: flex-start;
        max-width: none;
    }

}

/* ---------- Móvil compacto ---------- */
@media (max-width: 640px) {
    .gx-r1-home h1,
.gx-r1-home h2 {
        font-size: 1.45rem;
    }

    .gx-r1-hero .eyebrow {
        margin-bottom: 11px;
    }

    .gx-r1-hero h1,
.gx-r1-hero h2 {
        margin-bottom: 16px;
    }

    .gx-r1-lead {
        margin-bottom: 0;
        line-height: 1.6 !important;
    }


    .gx-r1-hero-note {
        padding-left: 16px;
    }

    .gx-r1-field,
    .gx-r1-digital {
        padding: 34px 0;
    }

    .gx-r1-field-photo {
        width: 100%;
    }

    .gx-r1-field-photo img {
        height: 250px;
        border-radius: 20px;
        object-position: center 35%;
    }

    .gx-r1-section-intro,
    .gx-r1-digital-copy p {
        font-size: 0.94rem;
        line-height: 1.58;
    }

    .gx-r1-service-line {
        grid-template-columns: 30px minmax(0, 1fr) 16px;
        gap: 10px;
        padding: 13px 0;
    }

    .gx-r1-service-line small {
        font-size: 0.82rem;
    }

    .gx-r1-digital-links {
        display: grid;
        gap: 10px;
    }

    .gx-r1-ecosystem {
        padding-left: 16px;
    }

    .gx-r1-store {
        padding: 26px 0;
    }

    .gx-r1-store > .gx-r1-outline-btn {
        width: 100%;
    }

    .gx-r1-close {
        padding: 30px 0 36px;
    }

    .gx-r1-close-actions {
        justify-content: flex-start;
    }
}

/* Accesibilidad: respetar reducción de movimiento. */
@media (prefers-reduced-motion: reduce) {
    .gx-r1-outline-btn,
    .gx-r1-service-line,
    .gx-r1-contact-icon,
    .gx-home-benefit-btn {
        transition: none;
    }
}


@media (max-width: 370px) {
    header.gx-header-principal .logo img {
        width: 220px !important;
        max-width: 220px !important;
    }
}

/* =========================================================
   GYALUX HOME · ECOSYSTEM LIGHTBOX v1
   Imagen ampliable del Ecosistema Gyalux.
   Componente exclusivo de index.php.
   ========================================================= */

.gx-r1-ecosystem-zoom {
    position: relative;
    overflow: hidden;
}

.gx-r1-ecosystem-zoom-trigger {
    position: relative;
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: inherit;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: inherit;
    cursor: zoom-in;
    overflow: hidden;
}

.gx-r1-ecosystem-zoom-trigger > img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform .28s ease, filter .28s ease;
}

.gx-r1-ecosystem-zoom-hint {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: rgba(0, 26, 58, 0.56);
    color: #FFFFFF;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: .2px;
    opacity: 0;
    transition: opacity .22s ease;
    pointer-events: none;
}

.gx-r1-ecosystem-zoom-hint i {
    margin: 0;
    padding: 0;
    font-size: 1.1rem;
    line-height: 1;
    color: #FFFFFF;
}

.gx-r1-ecosystem-zoom-trigger:hover > img {
    transform: scale(1.015);
    filter: brightness(.92);
}

.gx-r1-ecosystem-zoom-trigger:hover .gx-r1-ecosystem-zoom-hint,
.gx-r1-ecosystem-zoom-trigger:focus-visible .gx-r1-ecosystem-zoom-hint {
    opacity: 1;
}

.gx-r1-ecosystem-zoom-trigger:focus-visible {
    outline: 3px solid rgba(203, 163, 88, .72);
    outline-offset: 3px;
}

html.gx-lightbox-open {
    overflow: hidden;
}

.gx-r1-ecosystem-lightbox {
    width: min(96vw, 1680px);
    max-width: min(96vw, 1680px);
    height: auto;
    max-height: 94vh;

    margin: auto;

    padding: 0;
    border: 0;
    background: transparent;
    overflow: visible;
}
.gx-r1-ecosystem-lightbox::backdrop {
    background: rgba(0, 15, 35, 0.88);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.gx-r1-ecosystem-lightbox-shell {
    display: flex;
    flex-direction: column;
    width: 100%;
    /*max-height: 94vh;*/
    border: 1px solid rgba(203, 163, 88, .48);
    border-radius: 18px;
    background: rgba(243, 245, 248, .98);
    box-shadow: 0 28px 90px rgba(0, 15, 35, .42);
    overflow: hidden;
}

.gx-r1-ecosystem-lightbox-bar {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 9px 12px 9px 20px;
    border-bottom: 1px solid rgba(0, 26, 58, .10);
    background: #FFFFFF;
    color: #001A3A;
    font-family: 'Plus Jakarta Sans', Arial, sans-serif;
    font-size: .94rem;
    font-weight: 700;
}

.gx-r1-ecosystem-lightbox-close {
    width: 38px;
    min-width: 38px;
    height: 38px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(0, 26, 58, .12);
    border-radius: 9px;
    background: #FFFFFF;
    color: #001A3A;
    cursor: pointer;
    transition: border-color .18s ease, color .18s ease, background .18s ease;
}

.gx-r1-ecosystem-lightbox-close:hover,
.gx-r1-ecosystem-lightbox-close:focus-visible {
    border-color: #CBA358;
    background: rgba(203, 163, 88, .10);
    color: #B88E45;
    outline: none;
}

.gx-r1-ecosystem-lightbox-close i {
    margin: 0;
    padding: 0;
    font-size: 1rem;
    line-height: 1;
}

.gx-r1-ecosystem-lightbox-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: 18px;
    overflow: auto;
    overscroll-behavior: contain;
}

.gx-r1-ecosystem-lightbox-stage img {
    display: block;
    width: auto;
    height: auto;
    max-width: calc(96vw - 36px);
    max-height: calc(94vh - 90px);
    object-fit: contain;
}

@media (hover: none), (pointer: coarse) {
    .gx-r1-ecosystem-zoom-hint {
        inset: auto 10px 10px auto;
        width: 38px;
        height: 38px;
        border-radius: 999px;
        background: rgba(0, 26, 58, .78);
        opacity: 1;
    }

    .gx-r1-ecosystem-zoom-hint span {
        display: none;
    }

    .gx-r1-ecosystem-zoom-trigger:hover > img {
        transform: none;
        filter: none;
    }
}

@media (max-width: 767px) {
    .gx-r1-ecosystem-lightbox-shell {
        width: 96vw;
       /* max-height: 92vh;*/
        border-radius: 14px;
    }

    .gx-r1-ecosystem-lightbox-bar {
        min-height: 50px;
        padding: 7px 8px 7px 15px;
        font-size: .87rem;
    }

    .gx-r1-ecosystem-lightbox-stage {
        padding: 8px;
    }

    .gx-r1-ecosystem-lightbox-stage img {
        max-width: calc(96vw - 16px);
        max-height: calc(92vh - 66px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .gx-r1-ecosystem-zoom-trigger > img,
    .gx-r1-ecosystem-zoom-hint,
    .gx-r1-ecosystem-lightbox-close {
        transition: none;
    }
}



/* GYALUX HOME · RESPONSIVE
   Sin reglas propias de barra contextual: la geometría compartida vive en global_responsive.css. */


/* ===== AJUSTES EXCLUSIVOS DE INDEX2 ===== */

/* INDEX2 · propuesta responsive aislada
   El CSS compartido permanece intacto hasta aprobación. */

html body.gx-index2-page .gx-benefits-bar {
    width: 1200px !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

@media (min-width: 992px) and (max-width: 1260px) {
    html body.gx-index2-page .main-wrapper > header.gx-header-principal {
        width: 100% !important;
        max-width: 1200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        grid-template-columns: 180px minmax(0, 1fr) auto !important;
        column-gap: 18px !important;
    }

    html body.gx-index2-page header.gx-header-principal .logo,
    html body.gx-index2-page header.gx-header-principal .logo img {
        width: 180px !important;
        min-width: 180px !important;
        max-width: 180px !important;
    }

    html body.gx-index2-page header.gx-header-principal #navbar {
        min-width: 0 !important;
        gap: 13px !important;
    }

    html body.gx-index2-page header.gx-header-principal #navbar > a,
    html body.gx-index2-page header.gx-header-principal #navbar > .gx-nav-item > a {
        font-size: 0.73rem !important;
    }

    html body.gx-index2-page header.gx-header-principal .gx-desktop-cta {
        display: none !important;
    }

    html body.gx-index2-page .gx-benefits-bar {
        width: 100% !important;
        max-width: 1200px !important;
    }
}

@media (min-width: 992px) and (max-width: 1065px) {
    html body.gx-index2-page .gx-benefits-inner {
        width: 100% !important;
        padding: 0 14px !important;
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) 92px !important;
        align-items: center !important;
        column-gap: 10px !important;
        box-sizing: border-box !important;
    }

    html body.gx-index2-page .gx-benefit {
        width: auto !important;
        min-width: 0 !important;
        padding: 0 8px !important;
        white-space: normal !important;
        font-size: 0.7rem !important;
        line-height: 1.25 !important;
        text-align: center !important;
    }

    html body.gx-index2-page .gx-home-benefit-actions {
        width: 92px !important;
        min-width: 92px !important;
        margin: 0 !important;
    }
}

@media (max-width: 991px) {
    html body.gx-index2-page .main-wrapper > header.gx-header-principal {
        width: calc(100% - 36px) !important;
        max-width: calc(100% - 36px) !important;
        margin-left: 18px !important;
        margin-right: 18px !important;
    }

    html body.gx-index2-page .gx-benefits-bar {
        width: calc(100% - 36px) !important;
        max-width: calc(100% - 36px) !important;
        margin-left: 18px !important;
        margin-right: 18px !important;
    }

    html body.gx-index2-page .gx-home-benefit-actions {
        display: none !important;
    }

    html body.gx-index2-page header.gx-header-principal .gx-mobile-call-btn,
    html body.gx-index2-page header.gx-header-principal .gx-mobile-whatsapp-btn,
    html body.gx-index2-page header.gx-header-principal .gx-mobile-menu-toggle {
        display: inline-flex !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
}

@media (max-width: 680px) {
    html body.gx-index2-page header.gx-header-principal {
        column-gap: 8px !important;
    }

    html body.gx-index2-page header.gx-header-principal .gx-header-actions,
    html body.gx-index2-page header.gx-header-principal .gx-mobile-contact-actions {
        gap: 6px !important;
    }

    html body.gx-index2-page header.gx-header-principal .logo img {
        width: 140px !important;
        max-width: 140px !important;
    }

    html body.gx-index2-page header.gx-header-principal .gx-mobile-contact-btn,
    html body.gx-index2-page header.gx-header-principal .gx-mobile-menu-toggle {
        width: 38px !important;
        min-width: 38px !important;
        max-width: 38px !important;
        height: 38px !important;
        min-height: 38px !important;
        max-height: 38px !important;
    }
}

@media (max-width: 340px) {
    html body.gx-index2-page .main-wrapper > header.gx-header-principal,
    html body.gx-index2-page .gx-benefits-bar {
        width: calc(100% - 24px) !important;
        max-width: calc(100% - 24px) !important;
        margin-left: 12px !important;
        margin-right: 12px !important;
    }

    html body.gx-index2-page header.gx-header-principal .logo img {
        width: 116px !important;
        max-width: 116px !important;
    }

    html body.gx-index2-page header.gx-header-principal .gx-mobile-contact-btn,
    html body.gx-index2-page header.gx-header-principal .gx-mobile-menu-toggle {
        width: 36px !important;
        min-width: 36px !important;
        max-width: 36px !important;
        height: 36px !important;
        min-height: 36px !important;
        max-height: 36px !important;
    }
}


/* Cambio completo a navegación móvil: prevalece sobre header.css. */
@media (max-width: 991px) {
    html body.gx-index2-page .main-wrapper > header.gx-header-principal {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 14px 0 0 !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        column-gap: 14px !important;
        align-items: center !important;
    }

    html body.gx-index2-page header.gx-header-principal .logo {
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        margin: 0 !important;
        grid-column: 1 !important;
        grid-row: 1 !important;
        justify-content: flex-start !important;
    }

    html body.gx-index2-page header.gx-header-principal .logo img {
        width: 180px !important;
        min-width: 0 !important;
        max-width: 180px !important;
        height: auto !important;
    }

    html body.gx-index2-page header.gx-header-principal #navbar {
        display: none !important;
    }

    html body.gx-index2-page header.gx-header-principal .gx-header-actions {
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        grid-column: 2 !important;
        grid-row: 1 !important;
        display: flex !important;
        justify-content: flex-end !important;
    }

    html body.gx-index2-page header.gx-header-principal .gx-mobile-contact-actions {
        display: inline-flex !important;
        align-items: center !important;
        gap: 8px !important;
    }

    html body.gx-index2-page header.gx-header-principal .gx-mobile-menu-toggle,
    html body.gx-index2-page header.gx-header-principal .gx-mobile-contact-btn {
        display: inline-flex !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    html body.gx-index2-page header.gx-header-principal .gx-desktop-cta,
    html body.gx-index2-page header.gx-header-principal .gx-odoo-cart-btn,
    html body.gx-index2-page header.gx-header-principal .gx-user-menu {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    html body.gx-index2-page .gx-benefits-bar {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 12px 0 30px !important;
        overflow: hidden !important;
        border-radius: 8px !important;
    }

    html body.gx-index2-page .gx-benefits-bar .gx-benefits-inner {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        padding: 11px 16px !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 7px !important;
        box-sizing: border-box !important;
    }

    html body.gx-index2-page .gx-benefits-bar .gx-benefit {
        width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 20px !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 8px !important;
        font-size: 0.75rem !important;
        line-height: 1.35 !important;
        white-space: normal !important;
    }

    html body.gx-index2-page .gx-benefits-bar .gx-benefit i {
        width: 17px !important;
        min-width: 17px !important;
        height: 17px !important;
        min-height: 17px !important;
        margin: 0 !important;
        font-size: 0.65rem !important;
        line-height: 17px !important;
    }
}

@media (max-width: 680px) {
    html body.gx-index2-page header.gx-header-principal {
        column-gap: 8px !important;
    }

    html body.gx-index2-page header.gx-header-principal .gx-mobile-contact-actions {
        gap: 6px !important;
    }

    html body.gx-index2-page header.gx-header-principal .logo img {
        width: 140px !important;
        max-width: 140px !important;
    }
}

@media (max-width: 340px) {
    html body.gx-index2-page .main-wrapper > header.gx-header-principal,
    html body.gx-index2-page .gx-benefits-bar {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    html body.gx-index2-page header.gx-header-principal .logo img {
        width: 116px !important;
        max-width: 116px !important;
    }
}


@media (max-width: 991px) {
    html body.gx-index2-page .gx-r1-hero-flow-location,
    html body.gx-index2-page .gx-r1-hero-flow-contact {
        display: block;
        width: 100%;
        margin-right: 0;
    }
}


/* Revisión visual 09/09/2026 · barra y header sincronizados. */
@media (min-width: 992px) {
    html body.gx-index2-page .gx-benefits-bar {
        width: 1200px !important;
        max-width: 1200px !important;
        height: auto !important;
        min-height: 50px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    html body.gx-index2-page .gx-benefits-inner {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 50px !important;
        padding: 0 16px !important;
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) 94px !important;
        align-items: center !important;
        gap: 0 !important;
        box-sizing: border-box !important;
    }

    html body.gx-index2-page .gx-benefit {
        width: auto !important;
        min-width: 0 !important;
        height: auto !important;
        padding: 7px 12px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        text-align: center !important;
        white-space: normal !important;
        line-height: 1.3 !important;
        box-sizing: border-box !important;
    }

    html body.gx-index2-page .gx-home-benefit-actions {
        width: 94px !important;
        min-width: 94px !important;
        height: 42px !important;
        margin: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 10px !important;
        position: relative !important;
        z-index: 2 !important;
        overflow: visible !important;
    }

    html body.gx-index2-page .gx-home-benefit-btn {
        width: 42px !important;
        min-width: 42px !important;
        max-width: 42px !important;
        height: 42px !important;
        min-height: 42px !important;
        max-height: 42px !important;
        margin: 0 !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: 1px solid #CBA358 !important;
        border-radius: 11px !important;
        background: linear-gradient(135deg, #DFB96E 0%, #B88E45 100%) !important;
        color: #FFFFFF !important;
        box-shadow: 0 10px 24px rgba(203, 163, 88, 0.28) !important;
        text-decoration: none !important;
        transform: none;
        transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease !important;
    }

    html body.gx-index2-page .gx-home-benefit-btn:hover,
    html body.gx-index2-page .gx-home-benefit-btn:focus-visible {
        border-color: #B88E45 !important;
        color: #FFFFFF !important;
        transform: translateY(-1px);
        box-shadow: 0 13px 28px rgba(203, 163, 88, 0.34) !important;
    }

    html body.gx-index2-page .gx-home-benefit-btn i {
        margin: 0 !important;
        padding: 0 !important;
        color: inherit !important;
        font-size: 1.15rem !important;
        line-height: 1 !important;
    }
}

@media (max-width: 991px) {
    html body.gx-index2-page .gx-benefits-bar,
    html body.gx-index2-page .gx-benefits-inner,
    html body.gx-index2-page .gx-benefit {
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    html body.gx-index2-page .gx-benefits-bar {
        width: 100% !important;
        height: auto !important;
        overflow: visible !important;
    }

    html body.gx-index2-page .gx-benefits-inner {
        width: 100% !important;
        height: auto !important;
        padding: 11px 16px !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        align-items: stretch !important;
        gap: 7px !important;
        overflow: visible !important;
    }

    html body.gx-index2-page .gx-benefit {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        justify-content: flex-start !important;
        text-align: left !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
    }
}

@media (max-width: 340px) {
    html body.gx-index2-page header.gx-header-principal .logo img {
        width: 116px !important;
        max-width: 100% !important;
        height: auto !important;
    }

    html body.gx-index2-page .gx-benefits-inner {
        padding: 10px 12px !important;
    }

    html body.gx-index2-page .gx-benefit {
        font-size: 0.7rem !important;
        line-height: 1.35 !important;
    }
}

@media (max-width: 280px) {
    html body.gx-index2-page header.gx-header-principal .gx-mobile-call-btn {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    html body.gx-index2-page header.gx-header-principal .gx-mobile-contact-actions {
        width: auto !important;
    }
}


/* Index2 · legibilidad estable en móviles extremadamente estrechos. */
@media (max-width: 320px) {
    html body.gx-index2-page .gx-r1-home h1 {
        font-size: 1.65rem !important;
        line-height: 1.15 !important;
        overflow-wrap: anywhere !important;
    }

    html body.gx-index2-page .gx-r1-home h2,
    html body.gx-index2-page .gx-r1-home h3,
    html body.gx-index2-page .gx-r1-home p,
    html body.gx-index2-page .gx-r1-home a,
    html body.gx-index2-page .gx-r1-home li {
        min-width: 0 !important;
        overflow-wrap: anywhere !important;
    }
}


/* Ajuste responsive final 09/09/2026: continuidad sin cortes. */
html body.gx-index2-page {
    max-width: 100% !important;
    overflow-x: hidden !important;
}

html body.gx-index2-page .main-wrapper,
html body.gx-index2-page .gx-r1-home,
html body.gx-index2-page .gx-r1-home > *,
html body.gx-index2-page .gx-r1-home * {
    min-width: 0;
    box-sizing: border-box;
}

@media (min-width: 992px) {
    html body.gx-index2-page .main-wrapper > header.gx-header-principal,
    html body.gx-index2-page .gx-benefits-bar,
    html body.gx-index2-page .gx-r1-home {
        width: min(100%, 1200px) !important;
        max-width: 1200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    html body.gx-index2-page .gx-benefits-inner {
        width: 100% !important;
        min-width: 0 !important;
        padding: 0 16px !important;
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) 104px !important;
        align-items: stretch !important;
        gap: 0 !important;
    }

    html body.gx-index2-page .gx-benefit {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 50px !important;
        padding: 7px 12px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        text-align: center !important;
        white-space: normal !important;
        overflow-wrap: normal !important;
    }

    html body.gx-index2-page .gx-home-benefit-actions {
        width: 104px !important;
        min-width: 104px !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 10px !important;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    html body.gx-index2-page .main-wrapper > header.gx-header-principal,
    html body.gx-index2-page .gx-benefits-bar,
    html body.gx-index2-page .gx-r1-home {
        width: calc(100% - 36px) !important;
        max-width: calc(100% - 36px) !important;
    }

    html body.gx-index2-page .gx-benefit {
        padding-inline: 8px !important;
        font-size: 0.7rem !important;
        line-height: 1.3 !important;
    }
}

@media (max-width: 991px) {
    html body.gx-index2-page .main-wrapper > header.gx-header-principal,
    html body.gx-index2-page .gx-benefits-bar,
    html body.gx-index2-page .gx-r1-home {
        width: calc(100% - 36px) !important;
        max-width: calc(100% - 36px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    html body.gx-index2-page .gx-benefits-inner {
        width: 100% !important;
        min-width: 0 !important;
        padding: 11px 16px !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        align-items: stretch !important;
        gap: 7px !important;
    }

    html body.gx-index2-page .gx-benefit {
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        justify-content: flex-start !important;
        text-align: left !important;
        white-space: normal !important;
        overflow-wrap: break-word !important;
    }

    html body.gx-index2-page .gx-r1-hero,
    html body.gx-index2-page .gx-r1-field,
    html body.gx-index2-page .gx-r1-digital,
    html body.gx-index2-page .gx-r1-digital-feature,
    html body.gx-index2-page .gx-r1-store,
    html body.gx-index2-page .gx-r1-close {
        width: 100% !important;
        max-width: 100% !important;
        grid-template-columns: minmax(0, 1fr) !important;
    }

    html body.gx-index2-page img {
        max-width: 100% !important;
    }
}

@media (max-width: 360px) {
    html body.gx-index2-page .main-wrapper > header.gx-header-principal,
    html body.gx-index2-page .gx-benefits-bar,
    html body.gx-index2-page .gx-r1-home {
        width: calc(100% - 24px) !important;
        max-width: calc(100% - 24px) !important;
    }

    html body.gx-index2-page .gx-r1-home h1 {
        font-size: 1.42rem !important;
        line-height: 1.16 !important;
    }

    html body.gx-index2-page .gx-r1-home h2 {
        font-size: 1.28rem !important;
        line-height: 1.2 !important;
    }

    html body.gx-index2-page .gx-r1-digital-feature {
        padding: 20px 12px !important;
    }

    html body.gx-index2-page .gx-r1-service-line {
        grid-template-columns: 22px minmax(0, 1fr) 14px !important;
        gap: 8px !important;
        padding-inline: 8px !important;
    }

    html body.gx-index2-page .gx-r1-hero-flow,
    html body.gx-index2-page .gx-r1-hero-flow p,
    html body.gx-index2-page .gx-r1-service-line small {
        overflow-wrap: break-word !important;
        word-break: normal !important;
    }
}

@media (max-width: 280px) {
    html body.gx-index2-page header.gx-header-principal .gx-mobile-call-btn {
        display: none !important;
    }
}


/* Ajuste de barra móvil aprobado el 10/09/2026. */
@media (max-width: 340px) {
    html body.gx-index2-page .gx-benefits-bar .gx-benefit span {
        min-width: 0 !important;
        max-width: calc(100% - 25px) !important;
        overflow-wrap: normal !important;
        white-space: normal !important;
    }
}
