/* ==========================================================================
   Tema de Soluciones Ofimáticas. Se carga después de ud-styles.css.
   ========================================================================== */

:root {
    --color-primary: #173465;
    --color-text: #203E71;
    --color-secondary: #EB2036;
    --color-secondary-dk: #D8162B;
    --color-link: #046BD2;
    --color-accent-blue: #32A1FF;
    --bg-white: #FFFFFF;
    --bg-soft: #F9FCFF;
    --bg-dark: #1E2334;
    --gray-100: #F5F5F9;
    --gray-300: #DCDCDD;
    --gray-400: #AFB0B7;
    --radius-btn: 4px;
    --radius-card: 9px;
    --radius-input: 2px;
    --shadow-card: 0 11px 27px 0 rgba(98, 93, 245, 0.14);
    --shadow-menu: 0 18px 19px 0 rgba(21, 34, 61, 0.14);
    --shadow-input: 0 1px 2px 0 rgba(0, 0, 0, 0.05);

    /* Variables de la plantilla original */
    --font: "Poppins", sans-serif;
    --body-color: var(--color-text);
    --heading-color: var(--color-primary);
    --primary-color: var(--color-primary);
    --ia-accent: var(--color-secondary);
}

/* ===== Base ===== */
body {
    background: var(--bg-white);
    color: var(--color-text);
    font-size: 17px;
    font-weight: 300;
    line-height: 29px;
}

p,
li {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

strong,
b {
    font-weight: 600;
}

h1, h2, h3, h4, h5, h6,
.h2Mod {
    color: var(--color-primary);
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

h2,
.h2Mod {
    font-size: 36px;
    line-height: 45px;
}

h3 {
    font-size: 20px;
    line-height: 30px;
}

a {
    color: var(--color-link);
}

a:hover {
    color: var(--color-primary);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--color-accent-blue);
    outline-offset: 2px;
}

@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
}

@media (max-width: 767px) {
    body {
        font-size: 16px;
        line-height: 27px;
    }

    h2,
    .h2Mod {
        font-size: 28px;
        line-height: 37px;
    }

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* Resaltados en línea de la plantilla anterior */
span[style*="background"] {
    background: none !important;
    color: inherit !important;
    font-weight: inherit !important;
}

/* ===== Botones ===== */
.ud-main-btn,
.ud-hero-buttons .ud-main-btn.ud-link-btn {
    background: linear-gradient(90deg, var(--color-secondary) 0%, var(--color-secondary-dk) 100%);
    border: 0;
    border-radius: var(--radius-btn);
    color: #fff;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
    padding: 13px 26px;
    transition: filter .2s, transform .2s;
}

.ud-main-btn:hover,
.ud-hero-buttons .ud-main-btn.ud-link-btn:hover {
    background: linear-gradient(90deg, var(--color-secondary) 0%, var(--color-secondary-dk) 100%);
    color: #fff;
    filter: brightness(1.08);
    opacity: 1;
    transform: translateY(-1px);
}

.ud-hero-buttons .ud-main-btn.ud-white-btn {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 12px 25px;
}

.ud-hero-buttons .ud-main-btn.ud-white-btn:hover {
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

.back-to-top,
.back-to-top:hover {
    background: var(--color-primary);
    border-radius: var(--radius-btn);
}

/* ===== Franja superior ===== */
.sf-topbar {
    background: var(--bg-dark);
    color: #fff;
    font-size: 14px;
    line-height: 21px;
    padding: 8px 0;
}

.sf-topbar-links {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 24px;
    justify-content: flex-end;
}

.sf-topbar a {
    color: #fff;
    font-weight: 400;
}

.sf-topbar a:hover {
    color: var(--gray-300);
}

.sf-topbar i {
    margin-right: 6px;
}

/* ===== Cabecera ===== */
.ud-header,
.ud-header.sticky {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: #fff;
    box-shadow: 0 1px 0 rgba(23, 52, 101, .08);
    position: relative;
}

.ud-header .navbar,
.ud-header.sticky .navbar {
    min-height: 90px;
    padding: 0;
}

.ud-header .navbar .startup-logo,
.ud-header.sticky .navbar .startup-logo {
    color: var(--color-primary) !important;
    font-size: 21px;
    font-weight: 600 !important;
}

.navbar-toggler .toggler-icon,
.sticky .navbar-toggler .toggler-icon {
    background-color: var(--color-primary);
}

.navbar-nav .nav-item > a,
.sticky .navbar-nav .nav-item a {
    color: var(--color-link);
    font-size: 16px;
    font-weight: 600;
}

.navbar-nav .nav-item > a:hover,
.navbar-nav .nav-item > a.active,
.navbar-nav .nav-item:hover > a,
.sticky .navbar-nav .nav-item:hover > a,
.sticky .navbar-nav .nav-item a:hover,
.sticky .navbar-nav .nav-item a.active {
    color: var(--color-primary);
    opacity: 1;
}

.navbar-nav .nav-item .ud-submenu {
    background: var(--bg-soft);
    border-radius: 0 0 var(--radius-card) var(--radius-card);
    box-shadow: var(--shadow-menu);
    width: 290px;
    z-index: 20;
}

.navbar-nav .nav-item .ud-submenu .ud-submenu-link,
.sticky .navbar-nav .nav-item .ud-submenu .ud-submenu-link {
    color: var(--color-text);
    display: block;
    font-size: 15px;
    font-weight: 400;
    line-height: 24px;
    margin-left: 0 !important;
}

.navbar-nav .nav-item .ud-submenu .ud-submenu-link:hover,
.sticky .navbar-nav .nav-item .ud-submenu .ud-submenu-link:hover {
    color: var(--color-link);
}

.ud-submenu-link i {
    color: var(--color-accent-blue);
    margin-right: 4px;
}

/* Contacto como botón */
#nav > .nav-item:last-child > a,
.sticky #nav > .nav-item:last-child > a {
    background: linear-gradient(90deg, var(--color-secondary) 0%, var(--color-secondary-dk) 100%);
    border-radius: var(--radius-btn);
    color: #fff;
    display: inline-block;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
    padding: 10px 21px;
    transition: filter .2s, transform .2s;
}

#nav > .nav-item:last-child > a:hover {
    color: #fff;
    filter: brightness(1.08);
    transform: translateY(-1px);
}

@media (min-width: 992px) {
    .ud-header .navbar-nav {
        margin-right: 0 !important;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .navbar-nav .nav-item > a {
        font-size: 15px;
    }

    .navbar-nav .nav-item {
        padding: 0 9px;
    }
}

@media (max-width: 991px) {
    .ud-header .navbar {
        min-height: 72px;
    }

    .navbar-collapse {
        border-radius: 0 0 var(--radius-card) var(--radius-card);
        box-shadow: var(--shadow-menu);
        max-height: calc(100vh - 110px);
        overflow-y: auto;
    }

    .navbar-nav .nav-item .ud-submenu {
        background: transparent;
        width: 100%;
    }

    #nav > .nav-item:last-child > a {
        margin-top: 10px;
    }
}

/* ===== Portada y cabeceras de página ===== */
.ud-hero {
    background-attachment: scroll;
    background-color: var(--bg-dark);
    background-image:
        linear-gradient(rgba(23, 52, 101, .84), rgba(30, 35, 52, .78)),
        url('../images/upload/Banner-Solofisa-desarrollo-software-min.webp');
    padding-bottom: 90px;
    padding-top: 110px;
}

.ud-page-banner {
    background-attachment: scroll;
    background-color: var(--bg-dark);
    background-image:
        linear-gradient(rgba(23, 52, 101, .84), rgba(30, 35, 52, .78)),
        url('../images/upload/Banner-Solofisa-desarrollo-software-min.webp');
    min-height: 0;
    padding: 80px 0;
}

.ud-hero-content .ud-hero-title,
.ud-hero-title,
.ud-banner-content h1 {
    color: #fff;
    font-size: 50px;
    font-weight: 600;
    line-height: 65px;
}

.ud-hero-content .ud-hero-desc,
.ud-hero-desc,
.ud-banner-content p {
    color: #fff;
    font-size: 18px;
    font-weight: 300;
    line-height: 30px;
}

.ud-hero .ud-hero-desc span {
    color: #fff;
}

@media (max-width: 767px) {
    .ud-hero {
        padding-bottom: 56px;
        padding-top: 64px;
    }

    .ud-hero-content .ud-hero-title,
    .ud-hero-title,
    .ud-banner-content h1 {
        font-size: 32px;
        line-height: 42px;
    }
}

/* ===== Secciones ===== */
.ud-section-title > span,
.ud-section-title span.tag,
.ud-contact-title > span {
    color: var(--color-secondary);
    display: block;
    font-size: 17px;
    font-weight: 400;
    margin-bottom: 8px;
}

.ud-section-title p {
    color: var(--color-text);
    font-size: 17px;
    font-weight: 300;
    line-height: 29px;
}

#ServiciosDeman,
.sf-fondo-suave {
    background: var(--bg-soft);
}

/* Separadores de color de la plantilla anterior */
.fluid[style*="height: 5px"] {
    display: none;
}

/* ===== Páginas de servicio ===== */
.Servicio-title .ud-section-title h5 {
    color: var(--color-primary);
    font-size: 25px;
    font-weight: 600;
    line-height: 35px;
    margin: 0 0 4px;
}

.Servicio-title .ud-section-title p {
    margin: 0;
}

/* ===== Tarjetas ===== */
.ud-features .row > [class*="col-"] > center {
    display: block;
    height: 100%;
    padding-bottom: 24px;
}

.ud-single-feature {
    background: #fff;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    height: 100%;
    margin-bottom: 0;
    padding: 30px;
    text-align: left;
}

.ud-single-feature .ud-feature-icon {
    align-items: center;
    background: var(--bg-soft);
    border-radius: var(--radius-card);
    color: var(--color-accent-blue);
    display: inline-flex;
    font-size: 30px;
    height: 56px;
    justify-content: center;
    margin-bottom: 20px;
    width: 56px;
}

.ud-single-feature .ud-feature-icon::before {
    display: none;
}

.ud-single-feature .ud-feature-icon i {
    color: var(--color-accent-blue);
}

.ud-single-feature .ud-feature-title {
    color: var(--color-primary);
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 12px;
}

.ud-single-feature .ud-feature-desc {
    color: var(--color-text);
    font-size: 16px;
    line-height: 27px;
}

.ud-single-feature .ud-feature-link {
    color: var(--color-link);
    font-weight: 400;
}

.ud-single-feature .ud-feature-link:hover {
    color: var(--color-primary);
}

.ud-single-blog {
    background: #fff;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.ud-single-blog .ud-blog-title a {
    color: var(--color-primary);
}

.ud-single-blog .ud-blog-title a:hover {
    color: var(--color-link);
}

.ud-single-blog .ud-blog-desc {
    color: var(--color-text);
}

/* ===== Contacto ===== */
.ud-contact {
    background: var(--bg-dark);
    color: var(--gray-300);
    z-index: 0;
}

.ud-contact::after {
    display: none;
}

.ud-contact-title .h2Mod,
.ud-contact-title h2 {
    color: #fff;
}

.ud-contact-title p,
.ud-contact-title .h2Mod p,
.ud-contact-info-wrapper .ud-info-meta p {
    color: var(--gray-300);
    font-size: 17px;
    font-weight: 300;
    line-height: 29px;
}

.ud-contact-title .h2Mod p {
    margin-top: 12px;
}

.ud-contact-info-wrapper .ud-info-meta h5 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

.ud-contact-info-wrapper .ud-info-meta a {
    color: #fff;
}

.ud-contact-info-wrapper .ud-info-meta a:hover {
    color: var(--gray-300);
}

.ud-contact-info-wrapper .ud-info-icon i {
    color: var(--color-accent-blue);
}

.ud-contact-form-wrapper {
    background: #fff;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    color: var(--color-text);
}

.ud-contact-form-wrapper .ud-contact-form-title {
    color: var(--color-primary);
    font-size: 25px;
    font-weight: 600;
    line-height: 35px;
}

.ud-contact-form-wrapper .ud-form-group label {
    color: var(--color-text);
    font-weight: 400;
}

.ud-contact-form-wrapper .ud-form-group input,
.ud-contact-form-wrapper .ud-form-group textarea {
    background: var(--gray-100);
    border: 0;
    border-radius: var(--radius-input);
    box-shadow: var(--shadow-input);
    color: var(--color-text);
    font-size: 16px;
    padding: 14px 12px;
}

/* ===== Acceso ===== */
.ud-login-form input[type="submit"] {
    background: linear-gradient(90deg, var(--color-secondary) 0%, var(--color-secondary-dk) 100%) !important;
    border: 0;
    border-radius: var(--radius-btn);
    color: #fff;
}

/* ===== Pie ===== */
.ud-footer {
    background: var(--bg-dark);
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding-top: 70px;
}

.ud-footer .shape {
    display: none;
}

.ud-widget .ud-widget-title,
.ud-footer .startup-logo {
    color: #fff !important;
    font-weight: 600;
}

.ud-widget .ud-widget-desc,
.ud-widget .ud-widget-links a,
.ud-widget .ud-widget-socials a,
.ud-footer-bottom,
.ud-footer-bottom a {
    color: var(--gray-300);
    font-size: 15px;
    font-weight: 300;
}

.ud-widget .ud-widget-links a:hover,
.ud-widget .ud-widget-socials a:hover,
.ud-footer-bottom a:hover {
    color: #fff;
}

@media (prefers-reduced-motion: reduce) {
    .ud-main-btn,
    #nav > .nav-item:last-child > a {
        transition: none;
    }

    .ud-main-btn:hover,
    #nav > .nav-item:last-child > a:hover {
        transform: none;
    }
}

/* ===== Cabecera sobre la imagen ===== */
.sf-topbar {
    background: transparent;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 100;
}

.sf-topbar i {
    color: var(--color-secondary);
}

.ud-header {
    background: transparent;
    box-shadow: none;
    position: absolute;
    top: 34px;
}

.ud-header .navbar .startup-logo {
    color: #fff !important;
}

.navbar-toggler .toggler-icon {
    background-color: #fff;
}

@media (min-width: 992px) {
    .navbar-nav .nav-item > a,
    .navbar-nav .nav-item > a:hover,
    .navbar-nav .nav-item > a.active,
    .navbar-nav .nav-item:hover > a {
        color: #fff;
    }

    .navbar-nav .nav-item > a:hover,
    .navbar-nav .nav-item:hover > a {
        opacity: .8;
    }

    #nav > .nav-item:last-child > a:hover {
        opacity: 1;
    }
}

/* Al desplazarse, la cabecera queda fija y blanca */
.ud-header.sticky {
    background: #fff;
    box-shadow: var(--shadow-menu);
    position: fixed;
    top: 0;
}

.ud-header.sticky .navbar {
    min-height: 74px;
}

.ud-header.sticky .navbar .startup-logo {
    color: var(--color-primary) !important;
}

.ud-header.sticky .navbar-toggler .toggler-icon {
    background-color: var(--color-primary);
}

@media (min-width: 992px) {
    .ud-header.sticky .navbar-nav .nav-item > a {
        color: var(--color-link);
    }

    .ud-header.sticky .navbar-nav .nav-item > a:hover,
    .ud-header.sticky .navbar-nav .nav-item:hover > a {
        color: var(--color-primary);
        opacity: 1;
    }

    .ud-header.sticky #nav > .nav-item:last-child > a,
    .ud-header.sticky #nav > .nav-item:last-child > a:hover {
        color: #fff;
    }
}

@media (max-width: 991px) {
    .navbar-nav .nav-item > a {
        color: var(--color-primary);
    }

    #nav > .nav-item:last-child > a,
    #nav > .nav-item:last-child > a:hover {
        color: #fff;
    }
}

/* Los resaltes de la cabecera de página dejan sitio a la cabecera superpuesta */
.ud-hero {
    background-image:
        linear-gradient(rgba(30, 35, 52, .9), rgba(23, 34, 61, .84)),
        url('../images/upload/Banner-Solofisa-desarrollo-software-min.webp');
    padding-top: 170px;
}

.ud-page-banner {
    background-image:
        linear-gradient(rgba(30, 35, 52, .9), rgba(23, 34, 61, .84)),
        url('../images/upload/Banner-Solofisa-desarrollo-software-min.webp');
    padding: 170px 0 70px;
}

@media (max-width: 767px) {
    .ud-hero {
        padding-top: 130px;
    }

    .ud-page-banner {
        padding: 130px 0 56px;
    }
}

/* ===== Curva inferior de las cabeceras ===== */
.ud-hero,
.ud-page-banner {
    border-radius: 0 0 50% 50% / 0 0 110px 110px;
    position: relative;
    z-index: 2;
}

.ud-hero {
    padding-bottom: 170px;
}

.ud-page-banner {
    padding-bottom: 170px;
}

.ud-hero-title .sf-rojo,
.ud-banner-content h1 .sf-rojo,
.sf-rojo {
    color: var(--color-secondary);
}

.ud-hero .ud-hero-content,
.ud-page-banner .ud-banner-content {
    margin-left: auto;
    margin-right: auto;
    max-width: 960px;
    text-align: center;
}

.ia-page .ud-hero .ud-hero-content {
    text-align: left;
}

@media (max-width: 767px) {
    .ud-hero,
    .ud-page-banner {
        border-radius: 0 0 50% 50% / 0 0 42px 42px;
    }

    .ud-hero {
        padding-bottom: 90px;
    }

    .ud-page-banner {
        padding-bottom: 90px;
    }
}

/* ===== Hero de portada ===== */
.sf-hero-portada,
.ud-hero.sf-hero-portada {
    padding-bottom: 0;
}

.sf-hero-portada .ud-hero-title {
    font-size: 54px;
    line-height: 68px;
    margin-left: auto;
    margin-right: auto;
    max-width: 900px;
}

.sf-hero-portada .ud-hero-desc {
    margin-left: auto;
    margin-right: auto;
    max-width: 640px;
}

.sf-hero-portada .ud-hero-buttons {
    margin-bottom: 44px;
}

.sf-hero-visual {
    margin: 0 auto -120px;
    max-width: 880px;
    position: relative;
}

.sf-hero-visual img {
    display: block;
    height: auto;
    width: 100%;
}

#ServiciosDeman {
    background: var(--bg-white);
    padding-top: 190px;
}

@media (max-width: 767px) {
    .sf-hero-portada .ud-hero-title {
        font-size: 32px;
        line-height: 42px;
    }

    .sf-hero-visual {
        margin-bottom: -50px;
    }

    #ServiciosDeman {
        padding-top: 100px;
    }
}

/* Elementos del menú centrados en vertical */
@media (min-width: 992px) {
    .ud-header .navbar-nav {
        align-items: center;
    }
}

/* ===== Subsecciones: banner más bajo ===== */
.ud-hero:not(.sf-hero-portada),
.ud-page-banner {
    border-radius: 0 0 50% 50% / 0 0 90px 90px;
    min-height: 0 !important;
    padding-bottom: 100px;
    padding-top: 140px;
}

.ud-hero:not(.sf-hero-portada):not(.ia-hero) .ud-hero-content {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    min-height: 0 !important;
}

.ud-hero:not(.sf-hero-portada):not(.ia-hero) .ud-hero-title {
    margin-bottom: 14px;
}

.ud-hero:not(.sf-hero-portada):not(.ia-hero) .ud-hero-desc {
    margin: 0 auto;
    max-width: 860px;
}

@media (max-width: 767px) {
    .ud-hero:not(.sf-hero-portada),
    .ud-page-banner {
        border-radius: 0 0 50% 50% / 0 0 36px 36px;
        padding-bottom: 64px;
        padding-top: 110px;
    }
}

/* ===== Tarjetas de blog, noticias y proyectos ===== */
.sf-listado {
    background: var(--bg-soft);
    margin-top: -90px;
    padding: 160px 0 40px;
}

.sf-listado-col {
    display: flex;
    margin-bottom: 30px;
}

.sf-tarjeta {
    background: #fff;
    border-radius: 10px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: box-shadow .2s ease, transform .2s ease;
    width: 100%;
}

.sf-tarjeta:hover {
    transform: translateY(-3px);
}

.sf-tarjeta-imagen {
    display: block;
    height: 205px;
    overflow: hidden;
}

.sf-tarjeta-imagen img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.sf-tarjeta-cuerpo {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 28px 24px 22px;
}

.sf-tarjeta-titulo {
    font-size: 17px;
    font-weight: 600;
    line-height: 26px;
    margin: 0 0 10px;
}

.sf-tarjeta-titulo a {
    color: var(--color-primary);
}

.sf-tarjeta-titulo a:hover {
    color: var(--color-link);
}

.sf-tarjeta-extracto {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    color: var(--color-text);
    display: -webkit-box;
    font-size: 14px;
    line-height: 22px;
    margin: 0 0 18px;
    overflow: hidden;
}

.sf-tarjeta-enlace {
    color: var(--color-secondary);
    font-size: 14px;
    margin-top: auto;
}

.sf-tarjeta-enlace:hover {
    color: var(--color-secondary-dk);
}

@media (max-width: 767px) {
    .sf-listado {
        margin-top: -36px;
        padding: 80px 0 20px;
    }
}

/* ===== Servicios destacados de la portada ===== */
#ServiciosDeman.sf-destacados {
    background: var(--bg-soft);
    padding: 80px 0 50px;
}

.sf-destacados-etiqueta {
    color: var(--color-secondary);
    display: block;
    font-size: 16px;
    margin-bottom: 10px;
}

.sf-destacados-intro h2 {
    color: var(--color-primary);
    font-size: 34px;
    font-weight: 600;
    line-height: 44px;
    margin-bottom: 18px;
}

.sf-destacados-intro > p {
    color: var(--color-text);
    font-size: 17px;
    line-height: 28px;
    margin-bottom: 26px;
}

.sf-destacados-datos {
    border-top: 1px solid #DDE3EC;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 44px;
}

.sf-destacados-datos > div {
    padding: 28px 24px 8px 0;
}

.sf-destacados-datos > div + div {
    border-left: 1px solid #DDE3EC;
    padding-left: 24px;
    padding-right: 0;
}

.sf-destacados-datos strong {
    color: var(--color-primary);
    display: block;
    font-size: 26px;
    font-weight: 600;
    line-height: 32px;
    margin-bottom: 12px;
}

.sf-destacados-datos p {
    color: var(--color-text);
    font-size: 14px;
    font-style: italic;
    line-height: 22px;
    margin: 0;
}

.sf-destacado-col {
    margin-bottom: 36px;
}

.sf-destacado-imagen {
    border-radius: 10px;
    box-shadow: var(--shadow-card);
    display: block;
    margin-bottom: 18px;
    overflow: hidden;
}

.sf-destacado-imagen img {
    display: block;
    height: auto;
    width: 100%;
}

.sf-destacado-titulo {
    font-size: 18px;
    font-weight: 600;
    line-height: 26px;
    margin: 0 0 8px;
}

.sf-destacado-titulo a {
    color: var(--color-primary);
}

.sf-destacado-texto {
    color: var(--color-text);
    font-size: 14px;
    line-height: 22px;
    margin: 0 0 14px;
}

.sf-destacado-enlace {
    color: var(--color-secondary);
    font-size: 14px;
}

.sf-destacado-enlace i {
    margin-left: 8px;
}

@media (max-width: 991px) {
    .sf-destacados-intro {
        margin-bottom: 44px;
    }
}

@media (max-width: 767px) {
    #ServiciosDeman.sf-destacados {
        padding: 50px 0 30px;
    }

    .sf-destacados-intro h2 {
        font-size: 28px;
        line-height: 36px;
    }
}

/* ===== Banner de ISAT ===== */
.sf-banner-isat {
    background-color: var(--bg-dark);
    background-image:
        linear-gradient(rgba(30, 35, 52, .92), rgba(23, 34, 61, .88)),
        url('../images/upload/Banner-Solofisa-desarrollo-software-min.webp');
    background-position: center;
    background-size: cover;
    border-radius: 0 0 50% 50% / 0 0 110px 110px;
    color: #fff;
    padding: 90px 0 150px;
    position: relative;
    z-index: 2;
}

.sf-isat-visual img {
    display: block;
    height: auto;
    margin: 0 auto;
    max-width: 560px;
    width: 100%;
}

.sf-isat-etiqueta {
    color: var(--color-secondary);
    display: block;
    font-size: 16px;
    margin-bottom: 10px;
}

.sf-isat-contenido h2 {
    color: #fff;
    font-size: 34px;
    font-weight: 600;
    line-height: 44px;
    margin-bottom: 18px;
}

.sf-isat-texto {
    color: #D8DEE9;
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 26px;
}

.sf-banner-isat strong {
    color: #fff;
    font-weight: 600;
}

.sf-isat-puntos {
    display: grid;
    gap: 28px;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 32px;
}

.sf-isat-puntos h3 {
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    line-height: 24px;
    margin-bottom: 10px;
}

.sf-isat-puntos h3 i {
    color: #32A1FF;
    margin-right: 8px;
}

.sf-isat-puntos p {
    color: #D8DEE9;
    font-size: 14px;
    line-height: 22px;
    margin: 0;
}

.sf-isat-acciones {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.sf-isat-secundario {
    border: 1px solid #fff;
    border-radius: var(--radius-btn);
    color: #fff;
    font-size: 16px;
    padding: 12px 25px;
}

.sf-isat-secundario:hover {
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

@media (max-width: 991px) {
    .sf-isat-visual {
        margin-bottom: 36px;
    }
}

@media (max-width: 767px) {
    .sf-banner-isat {
        border-radius: 0 0 50% 50% / 0 0 42px 42px;
        padding: 56px 0 90px;
    }

    .sf-isat-contenido h2 {
        font-size: 26px;
        line-height: 34px;
    }

    .sf-isat-puntos {
        grid-template-columns: 1fr;
    }
}

/* ===== Cajas de actualidad y proyectos ===== */
.sf-listado.sf-listado-portada {
    margin-top: 0;
    padding: 80px 0 70px;
}

.sf-listado-mas {
    margin-top: 10px;
    text-align: center;
}

@media (max-width: 767px) {
    .sf-listado.sf-listado-portada {
        padding: 50px 0 40px;
    }
}

/* ===== Tecnologías de la portada ===== */
.sf-tecnologias {
    background: linear-gradient(90deg, var(--bg-soft) 0, var(--bg-soft) 25%, #fff 25%);
    padding: 90px 0;
}

.sf-tecnologias-logos {
    align-items: center;
    display: grid;
    gap: 36px 28px;
    grid-template-columns: repeat(4, 1fr);
}

.sf-tecnologias-logos div {
    align-items: center;
    display: flex;
    height: 72px;
    justify-content: center;
}

.sf-tecnologias-logos img {
    display: block;
    max-height: 72px;
    max-width: 100%;
    object-fit: contain;
}

.sf-tecnologias-texto {
    padding-left: 40px;
}

.sf-tecnologias-texto h2 {
    color: var(--color-primary);
    font-size: 34px;
    font-weight: 600;
    line-height: 44px;
    margin-bottom: 20px;
}

.sf-tecnologias-texto p {
    color: var(--color-text);
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 20px;
}

.sf-tecnologias-texto p a {
    color: var(--color-link);
    font-weight: 500;
}

.sf-tecnologias-texto .ud-main-btn {
    margin-top: 8px;
}

@media (max-width: 991px) {
    .sf-tecnologias {
        background: #fff;
        padding: 60px 0;
    }

    .sf-tecnologias-logos {
        margin-bottom: 44px;
    }

    .sf-tecnologias-texto {
        padding-left: 0;
    }
}

@media (max-width: 575px) {
    .sf-tecnologias-logos {
        gap: 28px 20px;
        grid-template-columns: repeat(3, 1fr);
    }

    .sf-tecnologias-texto h2 {
        font-size: 28px;
        line-height: 36px;
    }
}

/* ===== Contacto ===== */
.sf-contacto {
    background: #fff;
    padding: 70px 0 80px;
    position: relative;
}

.sf-contacto::before {
    background: var(--bg-dark);
    border-radius: 50% 50% 0 0 / 90px 90px 0 0;
    bottom: 0;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: 190px;
}

.sf-contacto .container {
    position: relative;
    z-index: 1;
}

.sf-contacto-tarjeta {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 24px 48px rgba(15, 23, 42, .28);
    display: grid;
    grid-template-columns: 5fr 7fr;
    margin: 0 auto;
    max-width: 1040px;
    overflow: hidden;
}

.sf-contacto-info {
    background: linear-gradient(160deg, var(--color-primary) 0%, #0F2348 100%);
    border-top: 5px solid var(--color-secondary);
    color: #fff;
    padding: 44px 38px;
}

.sf-contacto-etiqueta {
    color: #FF6B7D;
    display: block;
    font-size: 15px;
    margin-bottom: 8px;
}

.sf-contacto-info h2 {
    color: #fff;
    font-size: 30px;
    font-weight: 600;
    line-height: 38px;
    margin-bottom: 14px;
}

.sf-contacto-info p {
    color: #D8DEE9;
    font-size: 15px;
    line-height: 24px;
    margin-bottom: 30px;
}

.sf-contacto-datos {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sf-contacto-datos li {
    color: #fff;
    display: flex;
    font-size: 15px;
    gap: 14px;
    line-height: 24px;
    margin-bottom: 20px;
}

.sf-contacto-datos i {
    align-items: center;
    background: rgba(255, 255, 255, .1);
    border-radius: 8px;
    color: #fff;
    display: flex;
    flex: 0 0 36px;
    height: 36px;
    justify-content: center;
}

.sf-contacto-datos a {
    color: #fff;
}

.sf-contacto-datos a:hover {
    color: #fff;
    text-decoration: underline;
}

.sf-contacto-form {
    padding: 44px 40px;
}

.sf-contacto-form h3 {
    color: var(--color-primary);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 22px;
}

.sf-campos-doble {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr 1fr;
}

.sf-campo {
    margin-bottom: 16px;
}

.sf-campo label {
    color: var(--color-primary);
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
}

.sf-campo input,
.sf-campo textarea {
    background: var(--bg-soft);
    border: 1px solid #D5DEEC;
    border-radius: 6px;
    color: var(--color-primary);
    font-size: 14px;
    padding: 11px 14px;
    transition: border-color .2s ease, box-shadow .2s ease;
    width: 100%;
}

.sf-campo textarea {
    display: block;
    resize: vertical;
}

.sf-campo input:focus,
.sf-campo textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(23, 52, 101, .12);
    outline: 0;
}

.sf-campo-politica {
    align-items: flex-start;
    color: var(--color-text);
    display: flex;
    font-size: 13px;
    gap: 10px;
    line-height: 20px;
}

.sf-campo-politica input {
    flex: 0 0 auto;
    margin-top: 3px;
}

.sf-campo-politica a {
    color: var(--color-link);
    text-decoration: underline;
}

.sf-contacto-enviar {
    border: 0;
    cursor: pointer;
    justify-content: center;
    width: 100%;
}

/* ===== Pie ===== */
.sf-pie {
    background: var(--bg-dark);
    color: #D8DEE9;
    font-size: 14px;
    padding: 40px 0 26px;
}

.sf-pie ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sf-pie a {
    color: #D8DEE9;
    transition: color .2s ease;
}

.sf-pie a:hover {
    color: #fff;
}

.sf-pie-enlaces ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    justify-content: center;
    margin-bottom: 16px;
}

.sf-pie-enlaces ul:first-child a {
    color: #fff;
    font-weight: 500;
}

.sf-pie-marca {
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    border-top: 1px solid rgba(255, 255, 255, .12);
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    margin-top: 28px;
    padding: 24px 0;
}

.sf-pie a.sf-pie-logo {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
}

.sf-pie-legal {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    font-size: 13px;
    gap: 12px 24px;
    justify-content: space-between;
    padding-top: 20px;
}

.sf-pie-legal p {
    color: inherit;
    font-size: inherit;
    margin: 0;
}

.sf-pie-legal ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
}

@media (max-width: 991px) {
    .sf-contacto-tarjeta {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .sf-contacto::before {
        border-radius: 50% 50% 0 0 / 40px 40px 0 0;
        top: 120px;
    }

    .sf-contacto-info,
    .sf-contacto-form {
        padding: 32px 22px;
    }

    .sf-campos-doble {
        gap: 0;
        grid-template-columns: 1fr;
    }

    .sf-pie-marca,
    .sf-pie-legal {
        flex-direction: column;
        text-align: center;
    }

    .sf-pie-legal ul {
        justify-content: center;
    }
}

/* ===== Bienvenida de la portada ===== */
.sf-bienvenida {
    background: #fff;
    padding: 210px 0 100px;
}

.sf-bienvenida-visual {
    margin: 0 auto;
    max-width: 540px;
    position: relative;
}

.sf-bienvenida-visual::before {
    background-image: radial-gradient(var(--color-primary) 1.5px, transparent 1.6px);
    background-size: 14px 14px;
    content: "";
    height: 130px;
    opacity: .25;
    position: absolute;
    right: -34px;
    top: -26px;
    width: 130px;
}

.sf-bienvenida-marco {
    border-radius: 18px 90px 18px 18px;
    box-shadow: var(--shadow-card);
    overflow: hidden;
    position: relative;
}

.sf-bienvenida-marco video {
    aspect-ratio: 16 / 10;
    background: var(--bg-dark);
    display: block;
    object-fit: cover;
    width: 100%;
}

.sf-bienvenida-marco.sf-con-video {
    background: #000;
    border-radius: 18px;
}

.sf-bienvenida-play {
    align-items: center;
    background: rgba(255, 255, 255, .94);
    border: 0;
    border-radius: 50%;
    box-shadow: 0 0 0 12px rgba(255, 255, 255, .28);
    color: var(--color-secondary);
    cursor: pointer;
    display: flex;
    font-size: 24px;
    height: 72px;
    justify-content: center;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: box-shadow .2s ease;
    width: 72px;
}

.sf-bienvenida-play:hover {
    box-shadow: 0 0 0 18px rgba(255, 255, 255, .28);
}

.sf-bienvenida-sello {
    background: var(--color-primary);
    border-bottom: 5px solid var(--color-secondary);
    border-radius: 12px;
    bottom: -28px;
    box-shadow: 0 16px 32px rgba(15, 23, 42, .28);
    color: #fff;
    left: -28px;
    padding: 18px 22px;
    position: absolute;
    text-align: center;
    width: 150px;
}

.sf-bienvenida-sello strong {
    display: block;
    font-size: 40px;
    font-weight: 700;
    line-height: 44px;
}

.sf-bienvenida-sello span {
    display: block;
    font-size: 13px;
    line-height: 18px;
}

.sf-bienvenida-texto h2 {
    color: var(--color-primary);
    font-size: 34px;
    font-weight: 600;
    line-height: 44px;
    margin-bottom: 18px;
}

.sf-bienvenida-texto p {
    color: var(--color-text);
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 22px;
}

.sf-bienvenida-texto p a {
    color: var(--color-link);
    font-weight: 500;
}

.sf-bienvenida-punto {
    display: flex;
    gap: 18px;
    margin-bottom: 8px;
}

.sf-bienvenida-punto > i {
    align-items: center;
    background: #FDE9EB;
    border-radius: 10px;
    color: var(--color-secondary);
    display: flex;
    flex: 0 0 46px;
    font-size: 20px;
    height: 46px;
    justify-content: center;
}

.sf-bienvenida-punto h3 {
    color: var(--color-primary);
    font-size: 17px;
    font-weight: 600;
    line-height: 24px;
    margin-bottom: 6px;
}

.sf-bienvenida-punto p {
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 16px;
}

@media (max-width: 991px) {
    .sf-bienvenida {
        padding: 110px 0 60px;
    }

    .sf-bienvenida-visual {
        margin-bottom: 70px;
    }
}

@media (max-width: 575px) {
    .sf-bienvenida-visual {
        max-width: 100%;
    }

    .sf-bienvenida-visual::before {
        right: -16px;
    }

    .sf-bienvenida-sello {
        left: 8px;
        padding: 12px 14px;
        width: 120px;
    }

    .sf-bienvenida-sello strong {
        font-size: 30px;
        line-height: 34px;
    }

    .sf-bienvenida-texto h2 {
        font-size: 28px;
        line-height: 36px;
    }
}

/* ===== Fondo animado del banner principal ===== */
.sf-hero-lienzo {
    border-radius: inherit;
    display: block;
    height: 100%;
    left: 0;
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 20%, rgba(0, 0, 0, .3) 38%, rgba(0, 0, 0, .3) 62%, #000 80%);
    mask-image: linear-gradient(90deg, #000 0, #000 20%, rgba(0, 0, 0, .3) 38%, rgba(0, 0, 0, .3) 62%, #000 80%);
    pointer-events: none;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
}

@media (max-width: 767px) {
    .sf-hero-lienzo {
        -webkit-mask-image: none;
        mask-image: none;
        opacity: .55;
    }
}

.sf-hero-portada .container {
    position: relative;
    z-index: 2;
}

/* ===== Banda de partners ===== */
.sf-partners {
    background: linear-gradient(90deg, var(--color-primary) 0%, #0F2348 100%);
    color: #fff;
    padding: 28px 0;
}

.sf-partners-fila {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 24px 40px;
    justify-content: space-between;
}

.sf-partners-texto {
    align-items: center;
    display: flex;
    flex: 1 1 380px;
    gap: 20px;
}

.sf-partners-logo {
    background: #fff;
    border-radius: 8px;
    flex: 0 0 auto;
    padding: 10px 14px;
}

.sf-partners-logo img {
    display: block;
    height: auto;
    width: 120px;
}

.sf-partners-texto span:not(.sf-partners-logo) {
    color: #D8DEE9;
    display: block;
    font-size: 13px;
}

.sf-partners-texto strong {
    color: #fff;
    display: block;
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
}

.sf-partners-sellos {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sf-partners-sellos li {
    align-items: center;
    background: #fff;
    border-radius: 8px;
    display: flex;
    height: 92px;
    justify-content: center;
    padding: 6px;
    width: 150px;
}

.sf-partners-sellos img {
    display: block;
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

@media (max-width: 575px) {
    .sf-partners-texto {
        flex-direction: column;
        flex-basis: 100%;
        text-align: center;
    }

    .sf-partners-sellos li {
        height: 84px;
        width: 136px;
    }
}

/* ===== Banda de Kit Digital ===== */
.sf-kit {
    background: #fff;
    padding: 36px 0;
}

.sf-kit-enlace {
    display: block;
    margin: 0 auto;
    max-width: 1040px;
}

.sf-kit-enlace img {
    display: block;
    height: auto;
    width: 100%;
}

/* ===== Página de servicios ===== */
.sf-servicios-bloque {
    padding: 80px 0 50px;
}

.sf-fondo-suave {
    background: var(--bg-soft);
}

.sf-fondo-blanco {
    background: #fff;
}

.sf-destacado-cta {
    background: linear-gradient(160deg, var(--color-primary) 0%, #0F2348 100%);
    border-radius: 10px;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
    justify-content: center;
    min-height: 260px;
    padding: 30px;
}

.sf-destacado-cta:hover {
    color: #fff;
}

.sf-destacado-cta strong {
    font-size: 22px;
    font-weight: 600;
    line-height: 30px;
}

.sf-destacado-cta span {
    color: #D8DEE9;
    font-size: 14px;
    line-height: 22px;
}

.sf-destacado-cta em {
    color: #FF6B7D;
    font-size: 14px;
    font-style: normal;
}

@media (min-width: 992px) {
    .sf-intro-fija {
        position: sticky;
        top: 24px;
    }

    .sf-intro-derecha {
        padding-left: 30px;
    }
}

/* ===== Página de empresa ===== */
.sf-bienvenida-pagina {
    padding: 90px 0 100px;
}

.sf-bienvenida-pagina .sf-bienvenida-visual {
    max-width: 400px;
}

.sf-bienvenida-marco img {
    display: block;
    height: auto;
    width: 100%;
}

.sf-valores {
    background: var(--bg-soft);
    padding: 80px 0 60px;
}

.sf-valor-col {
    display: flex;
    margin-bottom: 24px;
}

.sf-valor {
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    padding: 26px 24px;
    width: 100%;
}

.sf-valor i {
    align-items: center;
    background: #FDE9EB;
    border-radius: 10px;
    color: var(--color-secondary);
    display: flex;
    font-size: 20px;
    height: 46px;
    justify-content: center;
    margin-bottom: 14px;
    width: 46px;
}

.sf-valor h3 {
    color: var(--color-primary);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.sf-valor p {
    color: var(--color-text);
    font-size: 14px;
    line-height: 22px;
    margin: 0;
}

.sf-sectores,
.sf-equipo {
    background: #fff;
    padding: 80px 0;
}

.sf-equipo {
    background: var(--bg-soft);
}

.sf-titulo-centrado {
    margin-bottom: 40px;
    text-align: center;
}

.sf-titulo-centrado h2 {
    color: var(--color-primary);
    font-size: 34px;
    font-weight: 600;
    line-height: 44px;
    margin: 0;
}

.sf-sectores-lista {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(4, 1fr);
    list-style: none;
    margin: 0;
    padding: 0;
}

.sf-sectores-lista li {
    align-items: center;
    background: var(--bg-soft);
    border: 1px solid #E4EAF3;
    border-radius: 12px;
    color: var(--color-primary);
    display: flex;
    font-size: 16px;
    font-weight: 500;
    gap: 14px;
    padding: 18px 20px;
}

.sf-sectores-lista i {
    align-items: center;
    background: var(--color-primary);
    border-radius: 10px;
    color: #fff;
    display: flex;
    flex: 0 0 44px;
    font-size: 18px;
    height: 44px;
    justify-content: center;
}

.sf-equipo-lista {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.sf-persona {
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    flex: 0 1 260px;
    padding: 30px 22px 24px;
    text-align: center;
}

.sf-persona-foto {
    background: #E8F3FF;
    border: 4px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--color-secondary);
    height: 128px;
    margin: 0 auto 18px;
    overflow: hidden;
    width: 128px;
}

.sf-persona-foto img {
    display: block;
    height: 100%;
    object-fit: cover;
    object-position: top;
    width: 100%;
}

.sf-persona h3 {
    color: var(--color-primary);
    font-size: 17px;
    font-weight: 600;
    line-height: 24px;
    margin-bottom: 6px;
}

.sf-persona p {
    color: var(--color-text);
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 16px;
}

.sf-persona ul {
    display: flex;
    gap: 10px;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sf-persona ul a {
    align-items: center;
    background: var(--bg-soft);
    border-radius: 50%;
    color: var(--color-primary);
    display: flex;
    height: 36px;
    justify-content: center;
    transition: background .2s ease, color .2s ease;
    width: 36px;
}

.sf-persona ul a:hover {
    background: var(--color-secondary);
    color: #fff;
}

@media (max-width: 991px) {
    .sf-bienvenida-pagina {
        padding: 60px 0;
    }

    .sf-sectores-lista {
        grid-template-columns: repeat(2, 1fr);
    }

    .sf-intro-derecha {
        padding-left: 0;
    }
}

@media (max-width: 575px) {
    .sf-sectores-lista li {
        font-size: 14px;
        gap: 10px;
        padding: 12px;
    }

    .sf-sectores-lista i {
        flex-basis: 36px;
        height: 36px;
    }

    .sf-titulo-centrado h2 {
        font-size: 28px;
        line-height: 36px;
    }

    .sf-persona {
        flex-basis: 100%;
    }
}

/* ===== Sección de IA ===== */
@property --sf-giro {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

.sf-ia {
    background: #0A1124;
    border-radius: 0 0 50% 50% / 0 0 110px 110px;
    color: #fff;
    overflow: hidden;
    padding: 90px 0 150px;
    position: relative;
    z-index: 2;
}

.sf-ia .container {
    position: relative;
    z-index: 1;
}

.sf-ia-fondo {
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 56px 56px;
    inset: 0;
    -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
    position: absolute;
}

.sf-ia-luz {
    border-radius: 50%;
    filter: blur(80px);
    opacity: .5;
    position: absolute;
}

.sf-ia-luz-1 {
    animation: sf-ia-deriva 16s ease-in-out infinite;
    background: #046BD2;
    height: 440px;
    left: -6%;
    top: 4%;
    width: 440px;
}

.sf-ia-luz-2 {
    animation: sf-ia-deriva 20s ease-in-out -6s infinite reverse;
    background: #EB2036;
    height: 380px;
    right: -4%;
    top: 26%;
    width: 380px;
}

.sf-ia-luz-3 {
    animation: sf-ia-deriva 18s ease-in-out -3s infinite;
    background: #6A4DF4;
    bottom: 2%;
    height: 340px;
    left: 38%;
    opacity: .32;
    width: 340px;
}

.sf-ia-cabecera {
    margin: 0 auto 54px;
    max-width: 840px;
    text-align: center;
}

.sf-ia-nucleo {
    height: 120px;
    margin: 0 auto 26px;
    position: relative;
    width: 120px;
}

.sf-ia-nucleo svg {
    animation: sf-ia-latido 3.2s ease-in-out infinite;
    filter: drop-shadow(0 0 16px rgba(255, 255, 255, .85)) drop-shadow(0 0 34px rgba(50, 161, 255, .9));
    height: 46px;
    left: 37px;
    position: absolute;
    top: 37px;
    width: 46px;
}

.sf-ia-anillo {
    animation: sf-ia-gira 12s linear infinite;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 50%;
    inset: 0;
    position: absolute;
}

.sf-ia-anillo::after {
    background: #32A1FF;
    border-radius: 50%;
    box-shadow: 0 0 12px #32A1FF;
    content: "";
    height: 9px;
    left: calc(50% - 4.5px);
    position: absolute;
    top: -5px;
    width: 9px;
}

.sf-ia-anillo-2 {
    animation-direction: reverse;
    animation-duration: 8s;
    inset: 16px;
}

.sf-ia-anillo-2::after {
    background: #FF4D62;
    box-shadow: 0 0 12px #FF4D62;
}

.sf-ia-anillo-3 {
    animation-duration: 5s;
    border-style: dashed;
    inset: 30px;
}

.sf-ia-anillo-3::after {
    display: none;
}

.sf-ia-pastilla {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 30px;
    color: #fff;
    display: inline-block;
    font-size: 14px;
    margin-bottom: 18px;
    padding: 6px 18px;
}

.sf-ia-cabecera h2 {
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    line-height: 60px;
    margin-bottom: 18px;
}

.sf-ia-cabecera h2 span {
    background: linear-gradient(90deg, #32A1FF, #A98BFF, #FF4D62, #32A1FF);
    -webkit-background-clip: text;
    background-clip: text;
    background-size: 300% 100%;
    animation: sf-ia-brillo 9s linear infinite;
    color: transparent;
}

.sf-ia-cabecera p {
    color: #C9D3E4;
    font-size: 18px;
    line-height: 30px;
    margin: 0;
}

.sf-ia-col {
    display: flex;
    margin-bottom: 26px;
}

.sf-ia-tarjeta {
    background: rgba(255, 255, 255, .06);
    border-radius: 18px;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    display: flex;
    flex-direction: column;
    padding: 32px 28px;
    position: relative;
    transition: background .25s ease, transform .25s ease;
    width: 100%;
}

.sf-ia-tarjeta::before {
    background: conic-gradient(from var(--sf-giro), rgba(255, 255, 255, .14) 0deg, #32A1FF 70deg, #FF4D62 130deg, rgba(255, 255, 255, .14) 200deg, rgba(255, 255, 255, .14) 360deg);
    border-radius: inherit;
    content: "";
    inset: 0;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 1.5px;
    pointer-events: none;
    position: absolute;
}

.sf-ia-tarjeta:hover {
    background: rgba(255, 255, 255, .1);
    transform: translateY(-6px);
}

.sf-ia-tarjeta:hover::before {
    animation: sf-ia-borde 3.5s linear infinite;
}

.sf-ia-destacada::before {
    animation: sf-ia-borde 6s linear infinite;
}

.sf-ia-icono {
    align-items: center;
    background: linear-gradient(135deg, #046BD2, #EB2036);
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(4, 107, 210, .35);
    color: #fff;
    display: flex;
    font-size: 24px;
    height: 56px;
    justify-content: center;
    margin-bottom: 20px;
    width: 56px;
}

.sf-ia-etiqueta {
    color: #7CC2FF;
    font-size: 13px;
    margin-bottom: 4px;
}

.sf-ia-tarjeta h3 {
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    line-height: 30px;
    margin-bottom: 10px;
}

.sf-ia-tarjeta p {
    color: #C9D3E4;
    font-size: 15px;
    line-height: 24px;
    margin-bottom: 18px;
}

.sf-ia-tarjeta ul {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
}

.sf-ia-tarjeta li {
    color: #fff;
    display: flex;
    font-size: 14px;
    gap: 10px;
    line-height: 22px;
    margin-bottom: 8px;
}

.sf-ia-tarjeta li i {
    color: #5CE0A0;
    margin-top: 4px;
}

.sf-ia-tarjeta > a {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    margin-top: auto;
}

.sf-ia-tarjeta > a:hover {
    color: #7CC2FF;
}

.sf-ia-tarjeta > a i {
    margin-left: 6px;
}

.sf-ia-usos {
    margin: 22px 0 34px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    overflow: hidden;
}

.sf-ia-cinta {
    animation: sf-ia-cinta 34s linear infinite;
    display: flex;
    gap: 14px;
    width: max-content;
}

.sf-ia-usos:hover .sf-ia-cinta {
    animation-play-state: paused;
}

.sf-ia-cinta span {
    align-items: center;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 24px;
    color: #E6ECF6;
    display: flex;
    font-size: 14px;
    gap: 8px;
    padding: 8px 18px;
    white-space: nowrap;
}

.sf-ia-cinta i {
    color: #FF4D62;
    font-size: 11px;
}

.sf-ia-accion {
    text-align: center;
}

@keyframes sf-ia-deriva {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(60px, 40px) scale(1.12); }
}

@keyframes sf-ia-gira {
    to { transform: rotate(360deg); }
}

@keyframes sf-ia-latido {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.14); }
}

@keyframes sf-ia-brillo {
    to { background-position: 300% 0; }
}

@keyframes sf-ia-borde {
    to { --sf-giro: 360deg; }
}

@keyframes sf-ia-cinta {
    to { transform: translateX(calc(-50% - 7px)); }
}

@media (prefers-reduced-motion: reduce) {
    .sf-ia *,
    .sf-ia *::before,
    .sf-ia *::after {
        animation: none !important;
    }
}

@media (max-width: 991px) {
    .sf-ia-cabecera h2 {
        font-size: 38px;
        line-height: 48px;
    }
}

@media (max-width: 767px) {
    .sf-ia {
        border-radius: 0 0 50% 50% / 0 0 42px 42px;
        padding: 56px 0 90px;
    }

    .sf-ia-cabecera h2 {
        font-size: 30px;
        line-height: 40px;
    }

    .sf-ia-cabecera p {
        font-size: 16px;
        line-height: 26px;
    }
}

/* ISAT enlaza con la sección de actualidad */
.sf-listado.sf-listado-portada.sf-tras-isat,
.sf-banner-isat + .sf-listado.sf-listado-portada {
    margin-top: -110px;
    padding-top: 190px;
}

@media (max-width: 767px) {
    .sf-banner-isat + .sf-listado.sf-listado-portada {
        margin-top: -42px;
        padding-top: 92px;
    }
}

/* ===== Preguntas frecuentes ===== */
.sf-faq {
    background: #fff;
    padding: 90px 0;
}

.sf-faq-panel {
    background: linear-gradient(160deg, var(--color-primary) 0%, #0F2348 100%);
    border-top: 5px solid var(--color-secondary);
    border-radius: 16px;
    color: #fff;
    margin-bottom: 30px;
    padding: 34px 28px;
}

@media (min-width: 992px) {
    .sf-faq-panel {
        position: sticky;
        top: 24px;
    }
}

.sf-faq-panel h2 {
    color: #fff;
    font-size: 28px;
    font-weight: 600;
    line-height: 36px;
    margin-bottom: 12px;
}

.sf-faq-panel > p {
    color: #D8DEE9;
    font-size: 15px;
    line-height: 24px;
    margin-bottom: 22px;
}

.sf-faq-temas .nav-link {
    align-items: center;
    background: rgba(255, 255, 255, .07);
    border: 1px solid transparent;
    border-radius: 10px;
    color: #fff;
    display: flex;
    font-size: 15px;
    font-weight: 500;
    gap: 12px;
    margin-bottom: 10px;
    padding: 12px 14px;
    text-align: left;
    transition: background .2s ease;
    width: 100%;
}

.sf-faq-temas .nav-link:hover {
    background: rgba(255, 255, 255, .14);
    color: #fff;
}

.sf-faq-temas .nav-link.active {
    background: #fff;
    color: var(--color-primary);
}

.sf-faq-temas .nav-link i {
    font-size: 18px;
}

.sf-faq-temas .nav-link small {
    background: rgba(255, 255, 255, .16);
    border-radius: 12px;
    font-size: 12px;
    margin-left: auto;
    padding: 1px 9px;
}

.sf-faq-temas .nav-link.active small {
    background: var(--color-secondary);
    color: #fff;
}

.sf-faq-contacto {
    color: #D8DEE9;
    display: block;
    font-size: 14px;
    margin-top: 18px;
}

.sf-faq-contacto strong {
    color: #fff;
    display: block;
    font-weight: 600;
}

.sf-faq-contacto:hover {
    color: #fff;
}

.sf-faq-item {
    background: #fff;
    border: 1px solid #E4EAF3;
    border-radius: 12px;
    margin-bottom: 14px;
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.sf-faq-item:hover,
.sf-faq-item:has(.collapse.show) {
    border-color: #C7D3E6;
    box-shadow: var(--shadow-card);
}

.sf-faq-item h3 {
    margin: 0;
}

.sf-faq-boton {
    align-items: center;
    background: transparent;
    border: 0;
    color: var(--color-primary);
    cursor: pointer;
    display: flex;
    font-size: 16px;
    font-weight: 600;
    gap: 16px;
    justify-content: space-between;
    line-height: 24px;
    padding: 18px 22px;
    text-align: left;
    width: 100%;
}

.sf-faq-boton i {
    background: var(--color-secondary);
    border-radius: 50%;
    flex: 0 0 28px;
    height: 28px;
    position: relative;
    transition: background .2s ease, transform .25s ease;
    width: 28px;
}

.sf-faq-boton i::before,
.sf-faq-boton i::after {
    background: #fff;
    content: "";
    left: 8px;
    position: absolute;
    top: 13px;
    height: 2px;
    width: 12px;
}

.sf-faq-boton i::after {
    transform: rotate(90deg);
    transition: transform .25s ease;
}

.sf-faq-boton:not(.collapsed) i {
    background: var(--color-primary);
}

.sf-faq-boton:not(.collapsed) i::after {
    transform: rotate(0deg);
}

.sf-faq-respuesta {
    padding: 0 22px 20px;
}

.sf-faq-respuesta p {
    color: var(--color-text);
    font-size: 15px;
    line-height: 25px;
    margin-bottom: 10px;
}

.sf-faq-respuesta a {
    color: var(--color-secondary);
    font-size: 14px;
}

@media (max-width: 767px) {
    .sf-faq {
        padding: 56px 0;
    }
}

/* ===== Marca de partner del pie ===== */
.sf-pie a.sf-pie-partner {
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 30px;
    color: #D8DEE9;
    display: inline-flex;
    font-size: 14px;
    gap: 10px;
    padding: 9px 18px;
    transition: background .2s ease, border-color .2s ease;
}

.sf-pie a.sf-pie-partner:hover {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .4);
}

.sf-pie-partner i {
    color: #5CE0A0;
    font-size: 17px;
}

.sf-pie-partner strong {
    color: #fff;
    font-weight: 600;
}

/* ===== ISAT reducido ===== */
.sf-isat-mini {
    background: #fff;
    padding: 50px 0;
}

.sf-isat-mini-caja {
    align-items: center;
    background: linear-gradient(100deg, var(--bg-dark) 0%, var(--color-primary) 100%);
    border-bottom: 4px solid var(--color-secondary);
    border-radius: 16px;
    display: flex;
    gap: 28px;
    overflow: hidden;
    padding: 18px 36px 18px 22px;
}

.sf-isat-mini-caja > img {
    flex: 0 0 170px;
    height: auto;
    width: 170px;
}

.sf-isat-mini-texto {
    flex: 1 1 auto;
}

.sf-isat-mini-texto span {
    color: #FF6B7D;
    display: block;
    font-size: 13px;
    margin-bottom: 4px;
}

.sf-isat-mini-texto h2 {
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    line-height: 30px;
    margin-bottom: 4px;
}

.sf-isat-mini-texto p {
    color: #D8DEE9;
    font-size: 14px;
    line-height: 22px;
    margin: 0;
}

.sf-isat-mini-caja .ud-main-btn {
    flex: 0 0 auto;
    white-space: nowrap;
}

@media (max-width: 991px) {
    .sf-isat-mini-caja {
        flex-wrap: wrap;
        padding: 24px;
    }

    .sf-isat-mini-texto {
        flex: 1 1 280px;
    }
}

@media (max-width: 575px) {
    .sf-isat-mini-caja {
        justify-content: center;
        text-align: center;
    }

    .sf-isat-mini-caja > img {
        display: none;
    }

    .sf-pie a.sf-pie-partner {
        justify-content: center;
    }
}

/* ===== Página de cada servicio ===== */
.sf-servicio {
    background: #fff;
    padding: 80px 0;
}

.sf-servicio-figura {
    border-radius: 14px;
    box-shadow: var(--shadow-card);
    float: right;
    margin: 4px 0 20px 30px;
    overflow: hidden;
    width: 42%;
}

.sf-servicio-figura img {
    display: block;
    height: auto;
    width: 100%;
}

.sf-servicio-imagen {
    border-radius: 14px;
    clear: both;
    margin: 0 0 30px;
    overflow: hidden;
}

.sf-servicio-imagen img {
    display: block;
    height: auto;
    width: 100%;
}

.sf-servicio-bloque {
    margin-bottom: 34px;
}

.sf-servicio-bloque:first-of-type > p:first-of-type {
    color: var(--color-primary);
    font-size: 19px;
    line-height: 31px;
}

.sf-servicio-texto p {
    color: var(--color-text);
    font-size: 16px;
    line-height: 27px;
    margin-bottom: 16px;
}

.sf-servicio-texto strong {
    color: var(--color-primary);
    font-weight: 600;
}

.sf-servicio-texto h2 {
    clear: both;
    color: var(--color-primary);
    font-size: 28px;
    font-weight: 600;
    line-height: 36px;
    margin: 36px 0 20px;
    padding-left: 18px;
    position: relative;
}

.sf-servicio-texto h2::before {
    background: var(--color-secondary);
    border-radius: 3px;
    bottom: 4px;
    content: "";
    left: 0;
    position: absolute;
    top: 4px;
    width: 5px;
}

.sf-servicio-texto h3 {
    color: var(--color-primary);
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
    margin: 24px 0 12px;
}

.sf-servicio-texto ul {
    clear: both;
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}

.sf-servicio-texto ul li {
    background: var(--bg-soft);
    border: 1px solid #E4EAF3;
    border-radius: 12px;
    color: var(--color-text);
    font-size: 14px;
    line-height: 23px;
    padding: 20px 20px 20px 52px;
    position: relative;
}

.sf-servicio-texto ul li::before {
    align-items: center;
    background: var(--color-secondary);
    border-radius: 50%;
    color: #fff;
    content: "\2713";
    display: flex;
    font-size: 12px;
    height: 22px;
    justify-content: center;
    left: 18px;
    position: absolute;
    top: 21px;
    width: 22px;
}

.sf-servicio-texto ul li p {
    font-size: 14px;
    line-height: 23px;
    margin: 0;
}

.sf-servicio-texto ul li > strong:first-child,
.sf-servicio-texto ul li > p:first-child > strong:first-child {
    display: block;
    margin-bottom: 4px;
}

.sf-servicio-texto ul li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.sf-servicio-texto ol {
    margin: 0 0 20px;
    padding-left: 22px;
}

.sf-servicio-texto ol li {
    color: var(--color-text);
    font-size: 15px;
    line-height: 25px;
    margin-bottom: 10px;
}

.sf-servicio-texto ol li p {
    font-size: 15px;
    margin: 0;
}

.sf-servicio-cierre {
    background: linear-gradient(120deg, var(--color-primary) 0%, #0F2348 100%);
    border-left: 5px solid var(--color-secondary);
    border-radius: 14px;
    clear: both;
    padding: 28px 30px;
}

.sf-servicio-cierre p {
    color: #D8DEE9;
    font-size: 15px;
    line-height: 25px;
    margin-bottom: 8px;
}

.sf-servicio-cierre p:last-child {
    margin-bottom: 0;
}

.sf-servicio-cierre strong {
    color: #fff;
    font-size: 18px;
}

.sf-servicio-lateral {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

@media (min-width: 992px) {
    .sf-servicio-lateral {
        padding-left: 18px;
        position: sticky;
        top: 24px;
    }
}

.sf-servicio-cta {
    background: linear-gradient(160deg, var(--color-primary) 0%, #0F2348 100%);
    border-top: 5px solid var(--color-secondary);
    border-radius: 14px;
    padding: 26px 24px;
}

.sf-servicio-cta h2 {
    color: #fff;
    font-size: 21px;
    font-weight: 600;
    line-height: 29px;
    margin-bottom: 16px;
}

.sf-servicio-cta .ud-main-btn {
    display: block;
    text-align: center;
    width: 100%;
}

a.sf-servicio-tel {
    color: #fff;
    display: block;
    font-size: 15px;
    margin-top: 14px;
    text-align: center;
}

.sf-servicio-tel:hover {
    color: #fff;
    text-decoration: underline;
}

.sf-servicio-lista {
    border: 1px solid #E4EAF3;
    border-radius: 14px;
    padding: 22px 20px;
}

.sf-servicio-lista h2 {
    color: var(--color-primary);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.sf-servicio-lista ul {
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
}

.sf-servicio-lista li a {
    border-radius: 7px;
    color: var(--color-text);
    display: block;
    font-size: 14px;
    line-height: 20px;
    padding: 7px 10px;
    transition: background .2s ease, color .2s ease;
}

.sf-servicio-lista li a:hover {
    background: var(--bg-soft);
    color: var(--color-primary);
}

.sf-servicio-lista li a.activo {
    background: var(--color-primary);
    color: #fff;
    font-weight: 500;
}

a.sf-servicio-todos {
    color: var(--color-secondary);
    font-size: 14px;
    padding-left: 10px;
}

.sf-servicio-acciones {
    display: flex;
    gap: 10px;
}

.sf-servicio-acciones button {
    background: #fff;
    border: 1px solid #D5DEEC;
    border-radius: 8px;
    color: var(--color-primary);
    cursor: pointer;
    flex: 1 1 0;
    font-size: 13px;
    padding: 9px 6px;
}

.sf-servicio-acciones button:hover {
    background: var(--bg-soft);
}

.sf-servicio-datos {
    background: var(--bg-soft);
    padding: 36px 0;
}

.sf-servicio-datos ul {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(3, 1fr);
    list-style: none;
    margin: 0;
    padding: 0;
}

.sf-servicio-datos li + li {
    border-left: 1px solid #DDE3EC;
    padding-left: 24px;
}

.sf-servicio-datos strong {
    color: var(--color-primary);
    display: block;
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
}

.sf-servicio-datos span {
    color: var(--color-text);
    display: block;
    font-size: 14px;
    line-height: 21px;
}

@media (max-width: 991px) {
    .sf-servicio {
        padding: 56px 0;
    }

    .sf-servicio-texto {
        margin-bottom: 40px;
    }
}

@media (max-width: 767px) {
    .sf-servicio-figura {
        float: none;
        margin: 0 0 24px;
        width: 100%;
    }

    .sf-servicio-texto ul,
    .sf-servicio-datos ul {
        grid-template-columns: 1fr;
    }

    .sf-servicio-texto h2 {
        font-size: 24px;
        line-height: 32px;
    }

    .sf-servicio-datos li + li {
        border-left: 0;
        border-top: 1px solid #DDE3EC;
        padding: 18px 0 0;
    }
}

@media print {
    .sf-servicio-lateral,
    .sf-servicio-datos,
    .sf-isat-mini,
    .sf-partners,
    .sf-contacto,
    .sf-listado {
        display: none;
    }
}

/* ===== Páginas de artículo ===== */
.sf-art-progreso {
    background: transparent;
    height: 4px;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1000;
}

.sf-art-progreso span {
    background: linear-gradient(90deg, var(--color-secondary), #FF8A5C);
    display: block;
    height: 100%;
    width: 0;
}

.ud-hero.sf-art-hero {
    padding-bottom: 170px;
}

.sf-art-hero .ud-hero-content {
    max-width: 900px;
}

.sf-art-miga {
    margin-bottom: 14px;
}

.sf-art-miga a {
    color: #C9D3E4;
    font-size: 14px;
}

.sf-art-miga a:hover {
    color: #fff;
}

.sf-art-tipo {
    background: var(--color-secondary);
    border-radius: 20px;
    color: #fff;
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 14px;
    padding: 4px 16px;
}

.sf-art-hero .ud-hero-title {
    font-size: 40px;
    line-height: 52px;
    margin-bottom: 16px;
}

.sf-art-meta {
    color: #C9D3E4;
    display: flex;
    flex-wrap: wrap;
    font-size: 14px;
    gap: 6px 22px;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sf-art-meta i {
    color: #FF6B7D;
    margin-right: 4px;
}

.sf-art-portada {
    margin-top: -120px;
    position: relative;
    z-index: 3;
}

.sf-art-portada figure {
    border-radius: 18px;
    box-shadow: 0 24px 48px rgba(15, 23, 42, .3);
    margin: 0 auto;
    max-width: 900px;
    overflow: hidden;
}

.sf-art-portada img {
    display: block;
    height: 400px;
    object-fit: cover;
    width: 100%;
}

.sf-art {
    background: #fff;
    padding: 60px 0 80px;
}

.sf-art-cuerpo {
    color: var(--color-text);
    font-size: 17px;
    line-height: 29px;
    overflow-wrap: anywhere;
}

.sf-art-cuerpo > p:first-child,
.sf-art-cuerpo > div:first-child + div > p:first-child {
    color: var(--color-primary);
    font-size: 20px;
    line-height: 33px;
}

.sf-art-cuerpo p {
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    margin-bottom: 18px;
}

.sf-art-cuerpo strong {
    color: var(--color-primary);
    font-weight: 600;
}

.sf-art-cuerpo a {
    color: var(--color-link);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.sf-art-cuerpo h2 {
    color: var(--color-primary);
    font-size: 27px;
    font-weight: 600;
    line-height: 36px;
    margin: 38px 0 16px;
    scroll-margin-top: 24px;
}

.sf-art-cuerpo h3 {
    color: var(--color-primary);
    font-size: 21px;
    font-weight: 600;
    line-height: 29px;
    margin: 28px 0 12px;
}

.sf-art-cuerpo ul,
.sf-art-cuerpo ol {
    margin: 0 0 20px;
    padding-left: 24px;
}

.sf-art-cuerpo ul {
    list-style: none;
    padding-left: 0;
}

.sf-art-cuerpo ul li {
    margin-bottom: 10px;
    padding-left: 28px;
    position: relative;
}

.sf-art-cuerpo ul li::before {
    background: var(--color-secondary);
    border-radius: 50%;
    content: "";
    height: 9px;
    left: 4px;
    position: absolute;
    top: 10px;
    width: 9px;
}

.sf-art-cuerpo ol li {
    margin-bottom: 10px;
}

.sf-art-cuerpo li p {
    margin: 0;
}

.sf-art-imagen {
    margin: 26px 0;
}

.sf-art-imagen img,
.sf-art-cuerpo img {
    border-radius: 12px;
    display: block;
    height: auto;
    max-width: 100%;
}

.sf-art-fuentes {
    background: var(--bg-soft);
    border-left: 4px solid var(--color-primary);
    border-radius: 8px;
    font-size: 14px;
    line-height: 23px;
    margin-top: 30px;
    padding: 18px 22px;
}

.sf-art-fuentes p {
    margin: 0;
}

.sf-art-lateral {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

@media (min-width: 992px) {
    .sf-art-lateral {
        padding-left: 18px;
        position: sticky;
        top: 24px;
    }
}

.sf-art-indice {
    border: 1px solid #E4EAF3;
    border-radius: 14px;
    padding: 22px 20px;
}

.sf-art-indice[hidden] {
    display: none;
}

.sf-art-indice h2 {
    color: var(--color-primary);
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
}

.sf-art-indice ol {
    list-style: none;
    margin: 0;
    max-height: 280px;
    overflow-y: auto;
    padding: 0;
}

.sf-art-indice a {
    border-left: 3px solid #E4EAF3;
    color: var(--color-text);
    display: block;
    font-size: 14px;
    line-height: 20px;
    padding: 7px 0 7px 12px;
}

.sf-art-indice a:hover,
.sf-art-indice a.activo {
    border-left-color: var(--color-secondary);
    color: var(--color-primary);
    font-weight: 500;
}

.sf-art-compartir {
    align-items: center;
    display: flex;
    gap: 8px;
}

.sf-art-compartir span {
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 500;
    margin-right: auto;
}

.sf-art-compartir a,
.sf-art-compartir button {
    align-items: center;
    background: var(--bg-soft);
    border: 0;
    border-radius: 50%;
    color: var(--color-primary);
    cursor: pointer;
    display: flex;
    height: 38px;
    justify-content: center;
    transition: background .2s ease, color .2s ease;
    width: 38px;
}

.sf-art-compartir a:hover,
.sf-art-compartir button:hover {
    background: var(--color-primary);
    color: #fff;
}

.sf-art-compartir button.copiado {
    background: #1FA855;
    color: #fff;
}

.sf-proy-ficha {
    background: var(--bg-soft);
    border-radius: 14px;
    padding: 24px 22px;
}

.sf-proy-ficha h2 {
    color: var(--color-primary);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 14px;
}

.sf-proy-ficha dl {
    margin: 0 0 16px;
}

.sf-proy-ficha dt {
    color: var(--color-text);
    font-size: 13px;
    font-weight: 400;
}

.sf-proy-ficha dt i {
    color: var(--color-secondary);
    margin-right: 4px;
}

.sf-proy-ficha dd {
    color: var(--color-primary);
    font-size: 15px;
    font-weight: 500;
    margin: 2px 0 12px;
}

.sf-proy-ficha h3 {
    color: var(--color-primary);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
}

.sf-proy-tecnologias {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sf-proy-tecnologias li {
    background: #fff;
    border: 1px solid #D5DEEC;
    border-radius: 16px;
    color: var(--color-primary);
    font-size: 12px;
    line-height: 16px;
    padding: 5px 11px;
}

.sf-proy-etapa {
    align-items: center;
    display: flex;
    gap: 14px;
    margin: 34px 0 16px;
}

.sf-proy-etapa:first-child {
    margin-top: 0;
}

.sf-proy-etapa h2 {
    margin: 0;
}

.sf-proy-numero {
    align-items: center;
    background: var(--color-primary);
    border-radius: 12px;
    color: #fff;
    display: flex;
    flex: 0 0 46px;
    font-size: 16px;
    font-weight: 600;
    height: 46px;
    justify-content: center;
}

@media (max-width: 991px) {
    .sf-art-cuerpo {
        margin-bottom: 40px;
    }
}

@media (max-width: 767px) {
    .ud-hero.sf-art-hero {
        padding-bottom: 90px;
    }

    .sf-art-hero .ud-hero-title {
        font-size: 28px;
        line-height: 37px;
    }

    .sf-art-portada {
        margin-top: -60px;
    }

    .sf-art-portada img {
        height: 210px;
    }

    .sf-art {
        padding: 40px 0 56px;
    }

    .sf-art-cuerpo {
        font-size: 16px;
        line-height: 27px;
    }
}

/* ===== Botón de WhatsApp ===== */
.sf-whatsapp {
    align-items: center;
    background: #25D366;
    border-radius: 30px;
    bottom: 84px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .28);
    color: #fff;
    display: flex;
    height: 56px;
    justify-content: center;
    min-width: 56px;
    position: fixed;
    right: 22px;
    transition: padding .2s ease, transform .2s ease;
    z-index: 99;
}

.sf-whatsapp:hover,
.sf-whatsapp:focus-visible {
    color: #fff;
    padding: 0 22px 0 16px;
    transform: translateY(-2px);
}

.sf-whatsapp i {
    font-size: 28px;
}

.sf-whatsapp span {
    font-size: 14px;
    font-weight: 500;
    max-width: 0;
    overflow: hidden;
    transition: margin .2s ease, max-width .25s ease;
    white-space: nowrap;
}

.sf-whatsapp:hover span,
.sf-whatsapp:focus-visible span {
    margin-left: 10px;
    max-width: 200px;
}

@media (prefers-reduced-motion: reduce) {
    .sf-whatsapp,
    .sf-whatsapp span {
        transition: none;
    }
}

@media print {
    .sf-whatsapp,
    .sf-art-progreso,
    .sf-art-lateral {
        display: none;
    }
}

/* ===== Colores del logotipo de texto ===== */
.sf-logo-rojo {
    color: #EB2036 !important;
}

.sf-logo-gris {
    color: #D5DAE3 !important;
}

/* ===== Preguntas frecuentes de cada página ===== */
.sf-preguntas {
    background: #fff;
    padding: 70px 0 30px;
}

.sf-preguntas-lista {
    margin: 0 auto;
    max-width: 860px;
}

@media (max-width: 767px) {
    .sf-preguntas {
        padding: 50px 0 20px;
    }
}

/* ===== Logotipo con la S ===== */
.sf-logo {
    align-items: center;
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 7px;
    white-space: nowrap;
}

.sf-logo-s {
    display: block;
    flex: 0 0 auto;
    height: 34px;
    margin-right: 3px;
    width: auto;
}

.sf-pie-logo .sf-logo-s {
    height: 38px;
}

@media (max-width: 400px) {
    .sf-logo {
        font-size: 18px;
        gap: 5px;
    }

    .sf-logo-s {
        height: 28px;
    }
}

@media (max-width: 359px) {
    .ud-header .navbar .sf-logo.startup-logo {
        font-size: 15px !important;
        gap: 4px;
    }

    .sf-logo-s {
        height: 23px;
        margin-right: 1px;
    }
}

/* El enlace de soporte de la barra superior está también en el menú; en móvil se oculta para no partir la barra */
@media (max-width: 575px) {
    .sf-topbar .sf-topbar-soporte {
        display: none;
    }
}
