/* NEXUS · normalización visual de páginas heredadas. No afecta a la Home. */
body.nexus-legacy-page {
    --nexus-blue: #0071e3;
    --nexus-blue-hover: #0077ed;
    --nexus-ink: #1d1d1f;
    --nexus-muted: #6e6e73;
    --nexus-soft: #f5f5f7;
    --e-global-color-primary: #0071e3;
    --e-global-color-accent: #0071e3;
    --e-global-color-text: #1d1d1f;
    color: var(--nexus-ink);
    background: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", Arial, sans-serif !important;
    -webkit-font-smoothing: antialiased;
}

body.nexus-legacy-page .elementor,
body.nexus-legacy-page .elementor *:not(.fa):not(.fas):not(.far):not(.fab):not([class*=" eicon-"]):not([class^="eicon-"]) {
    font-family: inherit;
}

body.nexus-legacy-page h1,
body.nexus-legacy-page .elementor h1,
body.nexus-legacy-page h1.elementor-heading-title {
    font-size: clamp(38px, 4.2vw, 56px) !important;
    line-height: 1.03 !important;
    letter-spacing: -0.035em !important;
}

body.nexus-legacy-page h2,
body.nexus-legacy-page .elementor h2,
body.nexus-legacy-page h2.elementor-heading-title {
    font-size: clamp(29px, 3vw, 40px) !important;
    line-height: 1.07 !important;
    letter-spacing: -0.035em !important;
}

body.nexus-legacy-page h3,
body.nexus-legacy-page .elementor h3,
body.nexus-legacy-page h3.elementor-heading-title {
    font-size: clamp(18px, 1.8vw, 26px) !important;
    line-height: 1.16 !important;
    letter-spacing: -0.025em !important;
}

body.nexus-legacy-page h1,
body.nexus-legacy-page h2,
body.nexus-legacy-page h3,
body.nexus-legacy-page .elementor-heading-title {
    color: var(--nexus-ink) !important;
    font-weight: 600 !important;
}

body.nexus-legacy-page p,
body.nexus-legacy-page li {
    color: var(--nexus-muted);
    font-size: min(17px, 1em);
    line-height: 1.55;
}

body.nexus-legacy-page .elementor-button,
body.nexus-legacy-page a.elementor-button,
body.nexus-legacy-page button.elementor-button,
body.nexus-legacy-page input[type="submit"],
body.nexus-legacy-page button[type="submit"] {
    padding: 12px 20px !important;
    border: 1px solid var(--nexus-blue) !important;
    border-radius: 999px !important;
    color: #fff !important;
    background: var(--nexus-blue) !important;
    box-shadow: none !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
}

body.nexus-legacy-page .elementor-button:hover,
body.nexus-legacy-page a.elementor-button:hover,
body.nexus-legacy-page button.elementor-button:hover,
body.nexus-legacy-page input[type="submit"]:hover,
body.nexus-legacy-page button[type="submit"]:hover {
    border-color: var(--nexus-blue-hover) !important;
    background: var(--nexus-blue-hover) !important;
    color: #fff !important;
}

body.nexus-legacy-page a:not(.elementor-button) {
    text-decoration-color: rgba(0,113,227,.35);
}

body.nexus-legacy-page .elementor-widget-image img:not(.custom-logo),
body.nexus-legacy-page .elementor-widget-image-carousel img {
    border-radius: 22px;
}

/* El servicio de recogida/reparación a domicilio deja de formar parte de NEXUS. */
body.nexus-legacy-page a[href*="/domicilio/"],
body.nexus-legacy-page a[href*="/a-domicilio/"],
body.nexus-legacy-page a[href*="nexus-tienda.es/nueva/recogida"] {
    display: none !important;
}

@media (max-width: 700px) {
    body.nexus-legacy-page h1,
    body.nexus-legacy-page .elementor h1,
    body.nexus-legacy-page h1.elementor-heading-title {
        font-size: clamp(34px, 10.5vw, 42px) !important;
    }

    body.nexus-legacy-page h2,
    body.nexus-legacy-page .elementor h2,
    body.nexus-legacy-page h2.elementor-heading-title {
        font-size: clamp(27px, 8.4vw, 34px) !important;
    }

    body.nexus-legacy-page h3,
    body.nexus-legacy-page .elementor h3,
    body.nexus-legacy-page h3.elementor-heading-title {
        font-size: 21px !important;
    }
}
