/*
    Theme Name: Niro Solutions
    Theme URI: 
    Author: Fernando Nicolás Santiago
    Author URI: http://google.com
    Description: Theme Diseñado para Niro Solutions
    Version: 1.0
    License: GNU General Public License v2 or later
    License URI: 
    Tags: taxes, css, js
    Text Domain: nirosolutions
*/

@import url("https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&family=Staatliches&display=swap");

:root {
    /** Fuentes **/
    --fuente-principal: "Raleway", sans-serif;
    --fuente-headings: "Staatliches", cursive;

    /** Colores **/
    --primario: #0d76b7ca;
    /* --primario: #0d76b7ca; */
    --gris-oscuro: #2a4556;
    /* --gris-oscuro: #003353; */
    --gris-claro: #ebebeb;
    --blanco: #fff;
    --negro: #000;
}

html {
    box-sizing: border-box;
    font-size: 62.5%;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    font-family: var(--fuente-principal);
    font-size: 18px;
    font-size: 1.8rem;
    line-height: 2;
}

/** Headings **/
h1,
h2,
h3,
h4 {
    font-family: var(--fuente-headings);
    margin: 0 0 5rem 0;
    line-height: 1.2;
}

h1 {
    font-size: 6rem;
}

h2 {
    font-size: 4.8rem;
}

h3 {
    font-size: 3.6rem;
}

h4 {
    font-size: 2.4rem;
}

/** Globales **/

p {
    margin: 0;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

img {
    display: block;
    max-width: 80%;
    height: auto;
}

hr {
    border: 1px solid var(--gris-claro);
}

.ns-home__title {
    text-align: center;
    font-family: var(--fuente-principal);
    font-weight: 800;
    font-size: clamp(28px, 3vw, 40px);
    color: var(--blanco);
    margin: 0 0 1.2rem 0;
    font-size: 50px;
}

.imagen-destacada {
    margin-bottom: 3rem;
}

.contenedor {
    width: min(95%, 120rem);
    margin: 0 auto;
}

.contenido-centrado {
    /* width: max(77%, 80rem); */

    margin: 0 auto;
}

@media (min-width: 768px) {
    .contenido-centrado {
        width: max(77%, 80rem);
        margin: 0 auto;
    }
}

/** Utilidades **/
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primario);
}

.text-blanco {
    color: var(--blanco);
}

.seccion {
    padding: 5rem 0;
}

/** Header **/

body.home .header {
    background-size: cover;
    background-position: center center;
    height: auto;
    min-height: 70rem;
    padding-top: 2rem;
}

@media (min-width: 768px) {
    body.home .header {
        height: 100vh;
        max-height: 90rem;
    }
}

.tagline {
    color: var(--blanco);
    margin-top: 9rem;
}

@media (min-width: 768px) {
    .tagline {
        margin-top: 16rem;
    }
}

.tagline p {
    font-size: 2rem;
}

@media (min-width: 992px) {
    .fixed-top {
        background-color: var(--gris-oscuro);
        height: 15rem;
        left: 0;
        padding: 1rem 5rem;
        position: fixed;
        top: 0;
        transition: background-color 300ms ease-in-out;
        width: 100%;
        z-index: 1000;
    }

    .logo {
        width: 10%;
    }
}

.header {
    background-color: var(--gris-oscuro);
}

.barra-navegacion {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 768px) {
    .barra-navegacion {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* .menu-principal {
    display: none;
} */

.hamburguer-menu:hover {
    cursor: pointer;
}

@media (min-width: 768px) {
    .hamburguer-menu {
        display: none;
    }
}

.contenedor-menu {
    max-height: 0;
    opacity: 0;
    transition-delay: 100ms, 300ms;
    transition-duration: 300ms;
    transition-property: opacity, max-height;
    transition-timing-function: case-in-out;
}

.mostrar {
    max-height: 35rem;
    opacity: 1;
    transition-delay: 100ms, 300ms;
    transition-duration: 300ms;
    transition-property: max-height, opacity;
    transition-timing-function: case-in-out;
}

@media (min-width: 768px) {
    .contenedor-menu {
        all: unset;
    }
}

@media (min-width: 768px) {
    .menu-principal {
        display: block;
    }

    .menu-principal .menu {
        display: flex;
    }
}

.menu-principal a {
    font-family: var(--fuente-headings);
    display: block;
    text-align: center;
    color: var(--blanco);
    font-size: 2.2rem;
    padding: 0.5rem 2rem;
}

.menu-principal .current_page_item {
    border-bottom: 3px solid var(--primario);
}

@media (min-width: 768px) {
    .menu-principal a {
        position: relative;
        z-index: 1;
    }

    .menu-principal .current_page_item {
        border-bottom: 3px solid var(--primario);
    }

    .menu-principal a::before,
    .menu-principal a::after {
        position: absolute;
        left: 0;
        content: "";
        display: block;
        width: 100%;
        height: 50%;
        background-color: var(--primario);
        z-index: -1;
        transform: scaleX(0);
        transition: transform 0.6s;
    }

    .menu-principal a::before {
        top: 0;
        transform-origin: left;
    }

    .menu-principal a::after {
        top: 50%;
        transform-origin: right;
    }

    .menu-principal a:hover::before {
        transform: scaleX(1);
    }

    .menu-principal a:hover::after {
        transform: scaleX(1);
    }
}

/** Footer **/

.contenido-footer {
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .contenido-footer {
        display: flex;
        justify-content: space-between;
    }
}

.footer .menu-principal a {
    color: var(--negro);
    font-size: 2.4rem;
    text-align: center;
    padding: 0 1rem;
}

.footer .menu-principal a::before,
.footer .menu-principal a::after {
    display: none;
}

.copyright {
    text-align: center;
    font-family: var(--fuente-headings);
    font-size: 1.8rem;
    margin: 2rem 0 0 0;
}

@media (min-width: 768px) {
    .copyright {
        font-size: 2.4rem;
        margin: 0;
    }
}

/** Cards **/

.listado-grid {
    margin-top: 4rem;
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .listado-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.card {
    background-image: linear-gradient(to bottom,
            transparent 0,
            rgb(0 0 0 / 0.7));
    position: relative;
    overflow: hidden;
}

/** Categorias en Card **/
.card .post-categories {
    position: absolute;
    top: 2rem;
    left: 2rem;
    display: flex;
    gap: 2rem;
}

.card .post-categories li {
    background-color: var(--primario);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

.card .post-categories a {
    color: var(--blanco);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.4rem;
}

.card:hover img {
    transform: scale(1.2);
}

.card img {
    display: block;
    position: relative;
    z-index: -1;
    height: 40rem;
    object-fit: cover;
    transition: transform 300ms ease;
}

.card .contenido {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 2rem;
}

.card .contenido h3 {
    color: var(--blanco);
    margin: 0;
}

.card .contenido p,
.card .contenido .meta a {
    color: var(--blanco);
}

.card .meta {
    font-size: 1.4rem;
    font-weight: 700;
}

.card .meta span {
    color: var(--primario);
}

/** Sidebar **/
@media (min-width: 768px) {
    .con-sidebar {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 4rem;
    }
}

.informacion-clase {
    font-weight: 700;
    font-size: 2.2rem;
    text-align: center;
}

/** Listado de clases sidebar **/
.clases-sidebar li {
    align-items: center;
    border-bottom: 1px solid var(--gris-claro);
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr 2fr;
    padding: 2rem 0;
}

.clases-sidebar li:last-of-type {
    border: none;
}

.clases-sidebar .contenido-clase h3 {
    margin: 0;
    font-size: 2.6rem;
}

.clases-sidebar .contenido-clase a {
    color: var(--primario);
}

.clases-sidebar .contenido-clase p {
    font-size: 1.2rem;
}

/** Galeria **/
.galeria-imagenes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(6, 300px);
    gap: 2rem;
}

@media (min-width: 768px) {
    .galeria-imagenes {
        grid-template-columns: repeat(4, 1fr);
    }
}

.galeria-imagenes li {}

.galeria-imagenes li:nth-child(4) {
    grid-row: 2 / 4;
    grid-column: 2 / 3;
}

.galeria-imagenes li:nth-child(6) {
    grid-row: 4 / 6;
    grid-column: 1 / 2;
}

@media (min-width: 768px) {
    .galeria-imagenes li:nth-child(4) {
        grid-column: 4 / 5;
        grid-row: 1 / 3;
    }

    .galeria-imagenes li:nth-child(6) {
        grid-column: 2 / 3;
        grid-row: 2 / 4;
    }
}

.galeria-imagenes li:nth-child(4) img,
.galeria-imagenes li:nth-child(6) img {
    height: 620px;
}

.galeria-imagenes img {
    height: 300px;
    object-fit: cover;
}

/** Información Meta **/

.meta-info {
    background-color: var(--gris-claro);
    padding: 2rem;
}

@media (min-width: 992px) {
    .meta-info {
        display: flex;
        justify-content: space-between;
    }
}

.meta-info p,
.meta-info a {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--negro);
}

.meta-info span {
    color: var(--primario);
}

.meta-info .categoria {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-info .post-categories {
    display: flex;
    gap: 2rem;
}

/** Formulario de Contacto **/

.wpcf7-form label {
    font-weight: 700;
}

.wpcf7-form .wpcf7-form-control {
    width: 100%;
    border: 1px solid var(--gris-claro);
    padding: 1rem;
}

.wpcf7-form .wpcf7-submit {
    background-color: var(--primario);
    color: var(--blanco);
    font-family: var(--fuente-headings);
    font-size: 2rem;
    padding: 1.2rem;
}

.wpcf7-form .wpcf7-submit:hover {
    cursor: pointer;
}

.wpcf7-form .wpcf7-not-valid-tip {
    display: block;
    font-size: 1.4rem;
    margin: 0.5rem 0;
    padding: 0.5rem;
}

.wpcf7-form .wpcf7-spinner {
    background-color: var(--primario);
    display: block;
    margin: 2rem auto 0 auto;
    opacity: 1;
}

.mapa {
    margin-bottom: 5rem;
}

/** Pagina principal **/
.bienvenida p {
    margin: 0 auto;
    max-width: 80rem;
}

.areas {
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 480px) {
    .areas {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .areas {
        grid-template-columns: repeat(4, 1fr);
    }
}

.area {
    align-items: center;
    display: flex;
    justify-content: center;
    height: 25rem;
    position: relative;
}

.area::after {
    background-image: linear-gradient(rgb(0 0 0 / 0.55), rgb(0 0 0 / 0.55));
    content: "";
    height: 100%;
    position: absolute;
    top: 0;
    width: 100%;
}

.area img {
    height: 25rem;
    object-fit: cover;
    width: 50rem;
}

@media (min-width: 768px) {

    .area,
    .area img {
        height: 30rem;
    }
}

.area p {
    color: var(--blanco);
    font-weight: 700;
    position: absolute;
    z-index: 100;
}

@media (min-width: 768px) {
    .area p {
        opacity: 1;
        transition: opacity 0.5s ease-out;
    }
}

/** Boton de enlace **/
.contenedor-btn {
    display: flex;
    justify-content: flex-end;
}

.form-submit .submit,
.btn {
    background-color: var(--blanco);
    border: none;
    border-radius: 0.5rem;
    color: var(--negro);
    cursor: pointer;
    display: block;
    flex: 1;
    font-weight: 700;
    margin: 1rem 0;
    padding: 1rem 3rem;
    text-align: center;
    text-transform: uppercase;
    width: 100%;
}

@media (min-width: 768px) {
    .btn {
        display: inline-block;
        flex: 0 0 auto;
        width: auto;
    }
}

.btn-primary {
    background-color: var(--primario);
    color: var(--blanco);
}

/** Instructores **/
.instructor {
    margin: 2rem 0;
    border-bottom: 1px solid var(--gris-claro);
}

.instructor:last-of-type {
    border: none;
}

@media (min-width: 992px) {
    .instructor {
        position: relative;
    }
}

.instructor img {
    height: 40rem;
    object-fit: cover;
}

.instructor .contenido {
    padding: 3rem;
}

@media (min-width: 992px) {
    .instructor .contenido {
        background-image: linear-gradient(rgb(0 0 0 / 0.45), rgb(0 0 0 / 0.45));
        color: var(--blanco);
        display: flex;
        flex-direction: column;
        height: 100%;
        justify-content: center;
        opacity: 0;
        position: absolute;
        top: 0;
        transition-delay: 0.2s;
        transition: opacity 0.5s ease-out;
        width: 100%;
    }

    .instructor:hover .contenido {
        opacity: 1;
    }
}

.instructor h3 {
    margin-bottom: 2rem;
}

.especialidad {
    margin-top: 2rem;
}

.instructor .etiqueta {
    background-color: var(--primario);
    border-radius: 0.5rem;
    color: var(--blanco);
    font-family: var(--fuente-headings);
    font-size: 2.2rem;
    margin-right: 2rem;
    padding: 0.5rem 2rem;
    text-transform: uppercase;
}

.instructor .etiqueta:last-of-type {
    margin-right: 0;
}

/** Testimoniales **/

.testimoniales {
    background:
        linear-gradient(rgb(0 0 0 / 0.75), rgb(0 0 0 / 0.75)),
        url(img/testimonial-bg.jpg);
    background-size: cover;
    background-position: center center;
    padding: 12rem 0;
}

.contenedor-testimoniales {
    margin: 0 auto;
    width: min(95%, 80rem);
}

.testimonial {
    color: var(--blanco);
}

.testimonial blockquote {
    padding-left: 12rem;
    position: relative;
}

.testimonial blockquote::before {
    background-image: url(img/quote.svg);
    background-repeat: no-repeat;
    content: "";
    height: 9rem;
    left: 0;
    position: absolute;
    top: 0;
    width: 10rem;
}

.testimonial-footer {
    align-items: center;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .testimonial-footer {
        justify-content: flex-end;
    }
}

.testimonial-footer img {
    border-radius: 50%;
    height: 5rem;
    width: 5rem;
}

.testimonial-footer p {
    font-weight: 700;
    color: var(--primario);
}

/** Animacion letras **/
.ml11 {
    font-weight: 700;
    font-size: 3.5em;
}

.ml11 .text-wrapper {
    position: relative;
    display: inline-block;
    padding-top: 0.1em;
    padding-right: 0.05em;
    padding-bottom: 0.15em;
}

.ml11 .line {
    opacity: 0;
    position: absolute;
    left: 0;
    height: 100%;
    width: 3px;
    background-color: #fff;
    transform-origin: 0 50%;
}

.ml11 .line1 {
    top: 0;
    left: 0;
}

.ml11 .letter {
    display: inline-block;
    line-height: 1em;
}

/** Comentarios **/
.comentarios {
    margin: 5rem auto 0 auto;
    width: min(95%, 60rem);
}

.comment-reply-title {
    color: var(--primario);
    text-align: center;
}

.logged-in-as a {
    color: var(--primario);
}

.comment-form-comment label {
    display: block;
    font-weight: 700;
    margin: 2rem 0;
}

.comentarios input[type="text"],
.comment-form-comment textarea {
    border: 1px solid var(--gris-claro);
    padding: 1rem;
    width: 100%;
}

.form-submit .submit {
    color: var(--blanco);
    background-color: var(--primario);
}

.comentarios input[type="text"] {
    margin: 0.5rem 0;
}

h3.comentarios {
    margin: 3rem 0;
}

.lista-comentarios .comment {
    background-color: var(--gris-claro);
    border-radius: 0.5rem;
    margin-bottom: 2rem;
    padding: 2rem;
}

.lista-comentarios a {
    color: var(--primario);
}

.lista-comentarios cite {
    color: var(--primario);
    font-size: 2rem;
    font-weight: 700;
}

.lista-comentarios .children .comment {
    background-color: var(--blanco);
    margin: 2rem 0;
}

/* Submenu oculto */
.menu-principal .menu>li {
    position: relative;
}

.menu-principal .sub-menu {
    background-color: var(--gris-oscuro);
    left: 0;
    min-width: 220px;
    opacity: 0;
    position: absolute;
    top: 100%;
    transform: translateY(10px);
    transition: all 0.3s ease;
    visibility: hidden;
    z-index: 999;
}

/* Mostrar submenu al hover */
.menu-principal .menu>li:hover>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-principal .sub-menu li a {
    padding: 1rem 2rem;
    color: var(--blanco);
    font-size: 1.8rem;
    text-align: left;
}

.menu-principal .sub-menu li a:hover {
    background-color: var(--primario);
}

/* Título principal */
.servicios-title {
    text-align: center;
    font-size: 5rem;
    margin-bottom: 4rem;
}

/* HERO */
.ns-hero {
    text-align: center;
    max-width: 85rem;
    margin: 0 auto 6rem auto;
}

.ns-lead {
    font-size: 2rem;
    line-height: 1.8;
}

/* Secciones */
.ns-section {
    margin-bottom: 6rem;
}

.ns-h2 {
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.ns-muted {
    text-align: center;
    color: #6b7280;
    max-width: 70rem;
    margin: 0 auto 3rem auto;
}

/* Grid */
.ns-grid-2 {
    display: grid;
    gap: 3rem;
}

@media (min-width: 768px) {
    .ns-grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Cards */
.ns-card,
.ns-service {
    background: #ffffff;
    padding: 3rem;
    border-radius: 1.6rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ns-card:hover,
.ns-service:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Iconos */
.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Listas */
.ns-list {
    margin: 2rem 0;
    padding-left: 2rem;
}

.ns-list li {
    margin-bottom: 0.5rem;
}

/* Botones */
.ns-btn {
    display: inline-block;
    background: var(--primario);
    color: #fff;
    padding: 1.2rem 2rem;
    border-radius: 1rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.ns-btn:hover {
    background: #095a8a;
}

.ns-btn-outline {
    background: transparent;
    border: 2px solid var(--primario);
    color: var(--primario);
}

.ns-btn-outline:hover {
    background: var(--primario);
    color: #fff;
}

/* Presencia */
.ns-presence {
    background: #f3f4f6;
    padding: 4rem;
    border-radius: 2rem;
    text-align: center;
}

/* ===== Servicios: layout alternado (texto/imagen) ===== */

.ns-services-split {
    display: grid;
    gap: 3rem;
}

/* Cada bloque */
.ns-split {
    border-radius: 1.6rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;

    display: grid;
    grid-template-columns: 1fr;
    background: #fff;
}

/* Contenido */
.ns-split__content {
    padding: 3rem;
}

.ns-split__content p {
    margin: 0 0 1.5rem 0;
}

/* Media */
.ns-split__media {
    align-items: center;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 2rem;

    /* IMPORTANTE: ya NO ponemos background aquí
     porque el fondo split lo manejará .ns-split */
    background: transparent;
}

.ns-split__media img {
    width: 100%;
    max-width: 520px;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 8px;
}

/* Desktop: dos columnas + alternado + fondo mitad/mitad */
@media (min-width: 992px) {

    /* Proporción real (1.1fr y .9fr):
     contenido ≈ 55% | imagen ≈ 45% */
    .ns-split {
        grid-template-columns: 1.1fr 0.9fr;
        align-items: center;

        /* Por defecto: texto izquierda (blanco) / imagen derecha (gris) */
        background: linear-gradient(90deg,
                #ffffff 0%,
                #ffffff 55%,
                #f3f4f6 55%,
                #f3f4f6 100%);
    }

    /* Invierte el orden (imagen izquierda / texto derecha) */
    .ns-split:nth-child(even) .ns-split__content {
        order: 2;
    }

    .ns-split:nth-child(even) .ns-split__media {
        order: 1;
    }

    /* Y también invierte el split del fondo: gris izquierda / blanco derecha */
    .ns-split:nth-child(even) {
        background: linear-gradient(90deg,
                #f3f4f6 0%,
                #f3f4f6 56%,
                #ffffff 18%,
                #ffffff 100%);
    }
}

@media (min-width: 992px) {

    /* Fuerza TI a: texto izquierda / imagen derecha */
    .ns-split.ns-split--text-left .ns-split__content {
        order: 1 !important;
    }

    .ns-split.ns-split--text-left .ns-split__media {
        order: 2 !important;
    }

    /* Fuerza también el fondo mitad/mitad como el primero */
    .ns-split.ns-split--text-left {
        background: linear-gradient(90deg,
                #ffffff 0%,
                #ffffff 55%,
                #f3f4f6 55%,
                #f3f4f6 100%) !important;
    }
}

/* Móvil: botón full width */
@media (max-width: 991px) {
    .ns-btn {
        width: 100%;
        text-align: center;
    }

    /* En móvil se ve natural: imagen en gris (solo esa zona) */
    .ns-split__media {
        background: #f3f4f6;
    }
}

/* IMPORTANTE: tu CSS global tiene img { max-width: 80% } y eso deforma todo.
   Para esta sección, forzamos 100%. */
.ns-split img {
    max-width: 100% !important;
}

/* MOBILE: nunca mover la imagen hacia la derecha */
@media (max-width: 991px) {
    .ns-hero-split {
        padding: 2rem 0;
    }

    .ns-hero-split__media img {
        transform: none !important;
        max-width: 100% !important;
        width: 100% !important;
    }
}

/* 1) El logo nunca debe exceder el ancho del header */
.header .logo img,
.logo img {
    width: 100%;
    max-width: 220px;
    /* ajusta a tu gusto: 180-240px */
    height: auto;
}

/* 2) En móvil, centra y limita el ancho del contenedor del logo */
@media (max-width: 768px) {
    .barra-navegacion {
        align-items: center;
    }

    .logo {
        width: 100%;
        max-width: 240px;
        margin: 0 auto;
    }
}

/* =========================
   HERO - Contables
========================= */
.ns-hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    /* texto | imagen */
    gap: 28px;
    align-items: center;
    padding: 54px 18px;
    max-width: 1200px;
    margin: 0 auto;
}

.ns-hero__kicker {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gris-oscuro);
    opacity: 0.75;
    margin-bottom: 10px;
}

.ns-hero__title {
    font-family: var(--fuente-headings);
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.05;
    font-size: clamp(34px, 4vw, 52px);
    color: var(--gris-oscuro);
}

.ns-hero__title span {
    display: block;
    font-family: var(--fuente-principal);
    font-weight: 500;
    font-size: clamp(18px, 2vw, 22px);
    opacity: 0.85;
    margin-top: 8px;
}

.ns-hero__text {
    margin: 0 0 18px 0;
    font-size: 16px;
    line-height: 1.65;
    color: #4a6270;
    max-width: 58ch;
}

.ns-hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.ns-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-family: var(--fuente-principal);
    transition: transform 0.12s ease, opacity 0.12s ease;
}

.ns-btn:hover {
    transform: translateY(-1px);
}

.ns-btn--primary {
    background: #f3c300;
    /* si quieres, lo cambiamos por tu amarillo exacto */
    color: #1a2d38;
}

.ns-btn--primary:hover {
    background: #e8d04c;
    /* si quieres, lo cambiamos por tu amarillo exacto */
    color: #1a2d38;
}

.ns-btn--ghost {
    border: 1px solid rgba(42, 69, 86, 0.22);
    color: var(--gris-oscuro);
    background: transparent;
}

.ns-hero__media {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.10);
}

.ns-hero__media img {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1.02);
}

/* Responsive: móvil apila */
@media (max-width: 900px) {
    .ns-hero {
        grid-template-columns: 1fr;
        padding: 28px 16px;
    }

    .ns-hero__media {
        order: -1;
    }
}

/* =========================
   HERO Contable: imagen de fondo + texto encima
========================= */
.ns-hero.ns-hero--ti,
.ns-hero.ns-hero--contacto,
.ns-hero.ns-hero--contable {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    min-height: 420px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.10);
    width: 100%;
}

/* La "caja" que tiene el <img> se vuelve el background */
.ns-hero.ns-hero--ti .ns-hero__media_ti,
.ns-hero.ns-hero--contacto .ns-hero__media_contacto,
.ns-hero.ns-hero--contable .ns-hero__media_contable {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 1;
}

/* Oculta el <img> porque ya lo usamos como fuente del fondo */
.ns-hero.ns-hero--ti .ns-hero__media_ti img,
.ns-hero.ns-hero--contacto .ns-hero__media_contacto img,
.ns-hero.ns-hero--contable .ns-hero__media_contable img {
    display: none !important;
}

/* Overlay (degradado azul) para que el texto se lea */
.ns-hero.ns-hero--ti::before,
.ns-hero.ns-hero--contacto::before,
.ns-hero.ns-hero--contable::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(2, 69, 110, 0.78) 0%,
            rgba(9, 67, 103, 0.7) 45%,
            rgba(13, 118, 183, 0.25) 70%,
            rgba(13, 118, 183, 0.10) 100%);
    z-index: 2;
}

/* Contenido encima */
.ns-hero.ns-hero--ti .ns-hero__content,
.ns-hero.ns-hero--contacto .ns-hero__content,
.ns-hero.ns-hero--contable .ns-hero__content {
    position: relative;
    z-index: 3;
    padding: 97px 52px;
    max-width: 720px;
    text-align: left;
    color: #fff;
    margin-left: 103px;
}

@media (max-width: 768px) {

    .ns-hero.ns-hero--ti .ns-hero__content,
    .ns-hero.ns-hero--contacto .ns-hero__content,
    .ns-hero.ns-hero--contable .ns-hero__content {
        margin-left: 0px;
    }
}

/* Tipos */
.ns-hero.ns-hero--ti .ns-hero__title,
.ns-hero.ns-hero--contacto .ns-hero__title,
.ns-hero.ns-hero--contable .ns-hero__title {
    font-family: var(--fuente-principal);
    font-weight: 900;
    text-transform: uppercase;
    margin: 0 0 14px 0;
    line-height: 1.05;
    font-size: clamp(34px, 4.2vw, 38px);
    color: #fff;
}

.ns-hero.ns-hero--ti .ns-hero__text,
.ns-hero.ns-hero--contacto .ns-hero__text,
.ns-hero.ns-hero--contable .ns-hero__text {
    margin: 0 0 22px 0;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
    max-width: 60ch;
}

/* Botón */
.ns-hero.ns-hero--ti .ns-hero__actions,
.ns-hero.ns-hero--contacto .ns-hero__actions,
.ns-hero.ns-hero--contable .ns-hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.ns-hero.ns-hero--ti .ns-btn.ns-btn--primary,
.ns-hero.ns-hero--contacto .ns-btn.ns-btn--primary,
.ns-hero.ns-hero--contable .ns-btn.ns-btn--primary {
    background: #f3c300;
    color: #1a2d38;
    padding: 14px 18px;
    border-radius: 12px;
    font-weight: 800;
}

/* Responsive */
@media (max-width: 900px) {

    .ns-hero.ns-hero--ti,
    .ns-hero.ns-hero--contacto,
    .ns-hero.ns-hero--contable {
        min-height: 420px;
        border-radius: 0;
        /* opcional si quieres full-width en móvil */
    }

    .ns-hero.ns-hero--ti .ns-hero__content,
    .ns-hero.ns-hero--contacto .ns-hero__content,
    .ns-hero.ns-hero--contable .ns-hero__content {
        padding: 38px 18px;
        max-width: 100%;
    }

    /* overlay un poquito más fuerte en móvil */
    .ns-hero.ns-hero--ti::before,
    .ns-hero.ns-hero--contacto::before,
    .ns-hero.ns-hero--contable::before {
        background: linear-gradient(180deg,
                rgba(13, 118, 183, 0.78) 0%,
                rgba(13, 118, 183, 0.70) 60%,
                rgba(13, 118, 183, 0.45) 100%);
    }
}

.servicios-page {
    margin: 0 0;
    /* el hero ya trae su propio padding */
}

/* =========================
   SOLUCIONES (3 cards)
========================= */
.ns-soluciones {
    padding: 7rem 0;
    background: #ffffff;
}

.ns-soluciones__title {
    text-align: center;
    font-family: var(--fuente-principal);
    font-weight: 800;
    font-size: clamp(28px, 3vw, 40px);
    color: var(--gris-oscuro);
    margin: 0 0 1.2rem 0;
}

.ns-soluciones__subtitle {
    text-align: center;
    color: #6b7280;
    max-width: 78rem;
    margin: 0 auto 4.2rem auto;
    line-height: 1.7;
    font-size: 1.7rem;
}

.ns-soluciones__grid {
    display: grid;
    gap: 2.2rem;
    grid-template-columns: 1fr;
    align-items: stretch;
}

@media (min-width: 768px) {
    .ns-soluciones__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.ns-solucion {
    background: #fff;
    border-radius: 1.6rem;
    padding: 3rem 2.6rem;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-align: center;
}

.ns-solucion:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.12);
}

.ns-solucion__icon {
    font-size: 4rem;
    margin-bottom: 1.2rem;
}

.ns-solucion__h3 {
    font-family: var(--fuente-principal);
    font-weight: 800;
    font-size: 2rem;
    margin: 0 0 1rem 0;
    color: var(--gris-oscuro);
}

.ns-solucion__p {
    margin: 0;
    color: #6b7280;
    font-size: 1.6rem;
    line-height: 1.6;
}

/* =========================
   NUESTROS SERVICIOS CONTABLES
========================= */
.ns-servicios-contables {
    padding: 7rem 0;
    background: #f7f8fa;
}

.ns-servicios-contables__title {
    text-align: center;
    font-family: var(--fuente-principal);
    font-weight: 800;
    font-size: clamp(28px, 3vw, 40px);
    color: var(--gris-oscuro);
    margin: 0 0 1.2rem 0;
}

.ns-servicios-contables__subtitle {
    text-align: center;
    color: #6b7280;
    max-width: 78rem;
    margin: 0 auto 4.2rem auto;
    line-height: 1.7;
    font-size: 1.7rem;
}

.ns-servicios-contables__grid {
    display: grid;
    gap: 2.2rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .ns-servicios-contables__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.ns-servicio-card {
    background: #fff;
    border-radius: 1.6rem;
    padding: 3rem 2.6rem;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.ns-servicio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.12);
}

.ns-servicio-card__h3 {
    font-family: var(--fuente-principal);
    font-weight: 800;
    font-size: 2rem;
    margin: 0 0 1.2rem 0;
    color: var(--gris-oscuro);
}

.ns-servicio-card__list {
    margin: 0;
    padding-left: 1.6rem;
    color: #6b7280;
    line-height: 1.7;
    font-size: 1.6rem;
}

.ns-servicio-card__list li {
    margin-bottom: 0.6rem;
}

/* CTA */
.ns-servicios-contables__cta {
    margin-top: 4.5rem;
}

.ns-servicios-contables__cta-box {
    background: linear-gradient(90deg,
            rgba(13, 118, 183, 0.12),
            rgba(13, 118, 183, 0.05));
    border: 1px solid rgba(13, 118, 183, 0.18);
    border-radius: 2rem;
    padding: 3.6rem 3rem;
    text-align: center;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.06);
}

.ns-servicios-contables__cta-title {
    margin: 0 0 1rem 0;
    font-family: var(--fuente-principal);
    font-weight: 900;
    font-size: 2.4rem;
    color: var(--gris-oscuro);
}

.ns-servicios-contables__cta-text {
    margin: 0 auto 2rem auto;
    color: #6b7280;
    max-width: 70rem;
    font-size: 1.7rem;
    line-height: 1.7;
}

/* =========================
   Servicios Contables - Cards con ícono
========================= */
.ns-services-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: 1fr;
    margin-top: 28px;
}

@media (min-width: 768px) {
    .ns-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
    .ns-services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.ns-service-card {
    background: #fff;
    border-radius: 18px;
    padding: 22px 22px 20px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(42, 69, 86, 0.06);
}

.ns-service-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: rgba(13, 118, 183, 0.10);
    margin-bottom: 12px;
}

.ns-service-card h3 {
    font-family: var(--fuente-principal);
    font-weight: 800;
    font-size: 2.1rem;
    color: var(--gris-oscuro);
    margin: 0 0 10px 0;
}

.ns-service-card ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.ns-service-card li {
    color: #6b7280;
    font-size: 1.7rem;
    line-height: 1.6;
    padding-left: 18px;
    position: relative;
    margin: 6px 0;
}

.ns-service-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: rgba(13, 118, 183, 0.75);
    font-weight: 900;
}

/* =========================
   ICONOS CENTRADOS (Cards Servicios Contables)
========================= */

/* Badge del icono: centrado sí o sí */
.ns-servicio-card .ns-service-icon,
.ns-servicio-card .ns-servicio-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(13, 118, 183, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 14px auto;
    /* centra horizontal y separa del título */
}

/* Si el icono es IMG (por tu regla global de img max-width:80%) */
.ns-servicio-card .ns-service-icon img,
.ns-servicio-card .ns-servicio-card__icon img {
    width: 28px !important;
    height: 28px !important;
    max-width: none !important;
    display: block;
}

/* Si el icono es emoji/texto */
.ns-servicio-card .ns-service-icon {
    font-size: 24px;
}

/* =========================
   LISTA con flechita tipo viñeta
========================= */

.ns-servicio-card__list {
    list-style: none;
    padding-left: 0;
    /* quitamos indent */
    margin: 0;
}

.ns-servicio-card__list li {
    position: relative;
    padding-left: 22px;
    /* espacio para la flecha */
    margin: 8px 0;
}

/* Flecha */
.ns-servicio-card__list li::before {
    content: "›";
    /* flecha simple y elegante */
    position: absolute;
    left: 0;
    top: 0;
    color: rgba(13, 118, 183, 0.85);
    font-weight: 900;
    font-size: 18px;
    line-height: 1.2;
}

.ns-trabajamos {
    margin-top: 6rem;
    width: 100%;
}

.ns-trabajamos__inner {
    width: min(95%, 120rem);
    margin: 0 auto;
}

.ns-trabajamos__title {
    text-align: left;
    font-family: var(--fuente-principal);
    font-weight: 900;
    font-size: 3rem;
    margin: 0 0 2rem 0;
    color: var(--gris-oscuro);
}

.ns-trabajamos__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

/* figure */
.ns-trabajamos__item {
    margin: 0;
}

/* el bloque clickeable REAL */
.ns-trabajamos__item a {
    position: relative;
    display: block;
    height: 320px;
    overflow: hidden;
    text-decoration: none;
}

/* WP mete <br> -> lo ocultamos */
.ns-trabajamos__item a br {
    display: none !important;
}

/* imagen full */
.ns-trabajamos__item img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* overlay */
.ns-trabajamos__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.15),
            rgba(0, 0, 0, 0.65));
    transition: opacity 0.3s ease, background 0.3s ease;
}

/* texto */
.ns-trabajamos__item figcaption {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 2;
    margin: 0;
    color: #fff;
    font-size: 2.4rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

/* hover */
.ns-trabajamos__item a:hover img {
    transform: scale(1.08);
}

.ns-trabajamos__item a:hover .ns-trabajamos__overlay {
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.35),
            rgba(0, 0, 0, 0.80));
}

/* responsive */
@media (max-width: 992px) {
    .ns-trabajamos__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .ns-trabajamos__grid {
        grid-template-columns: 1fr;
    }

    .ns-trabajamos__item a {
        height: 240px;
    }

    .ns-trabajamos__item figcaption {
        font-size: 2rem;
    }
}

/* por si WP mete wrappers */
.ns-trabajamos__grid p {
    margin: 0 !important;
}

.ns-trabajamos__item figcaption {
    transition: transform 0.3s ease, letter-spacing 0.3s ease;
}

.ns-trabajamos__item a:hover figcaption {
    transform: translateY(-4px);
    letter-spacing: 3px;
}

.ns-trabajamos__item a:hover figcaption {
    color: #f3c300;
}

/* =========================================
   SOLUCIONES - Variante Tecnológicos (TI)
   No afecta otras secciones
========================================= */

.ns-soluciones.ns-soluciones--ti {
    background: #f7f8fa;
    /* similar al mockup */
}

/* Grid a 4 columnas en desktop */
.ns-soluciones__grid.ns-soluciones__grid--ti {
    display: grid;
    gap: 2.2rem;
    grid-template-columns: 1fr;
    align-items: stretch;
}

@media (min-width: 768px) {
    .ns-soluciones__grid.ns-soluciones__grid--ti {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
    .ns-soluciones__grid.ns-soluciones__grid--ti {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Card TI */
.ns-soluciones__card.ns-soluciones__card--ti {
    background: #fff;
    border-radius: 1.6rem;
    padding: 2.6rem 2.2rem;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-align: center;
    overflow: hidden;
}

.ns-soluciones__card.ns-soluciones__card--ti:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.12);
}

/* Caja de imagen */
.ns-soluciones__icon.ns-soluciones__icon--ti {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem;
    margin: 0 auto 1.2rem auto;
    border-radius: 1.2rem;
    background: linear-gradient(180deg,
            rgba(13, 118, 183, 0.08),
            rgba(13, 118, 183, 0.03));
}

/* IMPORTANTE: tu CSS global tiene img { max-width: 80% } */
.ns-soluciones__icon.ns-soluciones__icon--ti img {
    width: 180px;
    max-width: 100% !important;
    height: auto;
    display: block;
    filter: drop-shadow(0 10px 18px rgba(11, 45, 92, 0.12));
}

/* =========================================
   FIX TI: tipografías y tamaños en cards
   (evita herencia de h3 global)
========================================= */

.ns-soluciones--ti .ns-soluciones__title {
    font-family: var(--fuente-principal);
    margin: 0 0 3rem 0;
}

/* Grid: asegura altura pareja */
.ns-soluciones--ti .ns-soluciones__grid--ti {
    align-items: stretch;
}

/* Card: tamaño y centrado más limpio */
.ns-soluciones--ti .ns-soluciones__card--ti {
    padding: 2.4rem 2rem;
}

/* Icono: reduce el tamaño de la imagen */
.ns-soluciones--ti .ns-soluciones__icon--ti {
    padding: 1.2rem;
    border-radius: 1.6rem;
    margin: 0 auto 1.6rem auto;
    max-width: 260px;
    /* evita que se vea enorme */
}

/* IMPORTANTE: controla el tamaño real del PNG */
.ns-soluciones--ti .ns-soluciones__icon--ti img {
    width: 140px;
    /* <- aquí ajustas si lo quieres más grande */
    max-width: 100% !important;
    height: auto;
    margin: 0 auto;
    filter: none;
    /* si no te gusta el drop-shadow */
}

/* Título de card: no usar Staatliches ni margin gigante */
.ns-soluciones--ti .ns-soluciones__cardTitle {
    font-family: var(--fuente-principal) !important;
    font-weight: 900;
    font-size: 2rem;
    line-height: 1.2;
    margin: 0 0 1rem 0 !important;
    /* mata el 5rem global */
    color: var(--gris-oscuro);
    text-transform: none;
    /* o uppercase si lo quieres */
}

/* Texto: más compacto y legible */
.ns-soluciones--ti .ns-soluciones__cardText {
    font-family: var(--fuente-principal);
    font-size: 1.6rem;
    line-height: 1.6;
    color: #6b7280;
    margin: 0 !important;
}

/* Responsive: en pantallas medianas, evita cards demasiado altas */
@media (max-width: 900px) {
    .ns-soluciones--ti .ns-soluciones__icon--ti img {
        width: 120px;
    }
}

/* WP/Gutenberg mete <p> vacíos dentro del grid: los eliminamos SOLO en TI */
.ns-soluciones--ti .ns-soluciones__grid--ti>p {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* =========================
   NUESTROS SERVICIOS TI
========================= */
.ns-servicios-ti {
    padding: 7rem 0;
    background: #ffffff;
}

.ns-servicios-ti__title {
    text-align: center;
    font-family: var(--fuente-principal);
    font-weight: 900;
    font-size: clamp(28px, 3vw, 40px);
    color: var(--gris-oscuro);
    margin: 0 0 1.2rem 0;
}

.ns-servicios-ti__subtitle {
    text-align: center;
    color: #6b7280;
    max-width: 78rem;
    margin: 0 auto 4.2rem auto;
    line-height: 1.7;
    font-size: 1.7rem;
}

/* Grid 2 columnas (1 en móvil) */
.ns-servicios-ti__grid {
    display: grid;
    gap: 2.2rem;
    grid-template-columns: 1fr;
}

@media (min-width: 992px) {
    .ns-servicios-ti__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Card horizontal */
.ns-servicio-ti {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 1.6rem;
    align-items: center;

    background: #fff;
    border-radius: 1.8rem;
    padding: 2.2rem 2.2rem;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;

    /* fondo suave tipo “pattern” como tu mockup (opcional) */
    background-image: radial-gradient(rgba(13, 118, 183, 0.10) 1px,
            transparent 1px);
    background-size: 18px 18px;
    background-position: 0 0;
}

.ns-servicio-ti:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.12);
}

/* Icono */
.ns-servicio-ti__icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: linear-gradient(180deg,
            rgba(13, 118, 183, 0.10),
            rgba(13, 118, 183, 0.04));
    display: flex;
    align-items: center;
    justify-content: center;
}

.ns-servicio-ti__icon img {
    width: 40px !important;
    height: 40px !important;
    max-width: none !important;
    /* evita el 80% global */
    display: block;
}

/* Texto (evita herencia de h3 global) */
.ns-servicio-ti__title {
    font-family: var(--fuente-principal) !important;
    font-weight: 900;
    font-size: 2.1rem;
    line-height: 1.2;
    margin: 0 0 0.6rem 0 !important;
    /* mata el margin 5rem */
    color: var(--gris-oscuro);
    text-align: center;
}

.ns-servicio-ti__text {
    font-family: var(--fuente-principal);
    font-size: 1.6rem;
    line-height: 1.6;
    color: #6b7280;
    margin: 0 !important;
}

/* CTA */
.ns-servicios-ti__cta {
    margin-top: 4.2rem;
    text-align: center;
}

/* Gutenberg a veces mete <p> dentro del grid: lo ocultamos SOLO aquí */
.ns-servicios-ti__grid>p {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Móvil: icono más compacto */
@media (max-width: 576px) {
    .ns-servicio-ti {
        grid-template-columns: 72px 1fr;
        padding: 1.8rem;
    }

    .ns-servicio-ti__icon {
        width: 60px;
        height: 60px;
        border-radius: 16px;
    }

    .ns-servicio-ti__icon img {
        width: 34px !important;
        height: 34px !important;
    }
}

.ns-servicio-ti__intro {
    font-size: 1.6rem;
    line-height: 1.6;
    color: #6b7280;
    margin-bottom: 1rem;
}

/* LISTAS SERVICIOS - versión refinada */
.ns-servicio-ti__list {
    margin: 0.8rem 0 0 0;
    padding: 0;
    list-style: none;
}

.ns-servicio-ti__list li {
    font-family: var(--fuente-principal);
    font-size: 1.45rem;        /* MÁS PEQUEÑO que subtítulo */
    font-weight: 500;          /* No tan pesado */
    line-height: 1.6;
    color: #4b5563;            /* Gris más elegante */
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 0.6rem;
}

/* Viñeta elegante tipo consultora */
.ns-servicio-ti__list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primario);
    font-size: 1.6rem;
    font-weight: bold;
}

/* =========================
   PROCESO - estilo dark (números grandes)
   Cards "invisibles"
========================= */

.ns-proceso.ns-proceso--dark {
    padding: 7rem 0;
    color: #fff;

    /* Fondo tipo la primera imagen */
    background:
        radial-gradient(circle at 15% 80%,
            rgba(13, 118, 183, 0.18) 0%,
            rgba(0, 0, 0, 0) 40%),
        radial-gradient(circle at 85% 70%,
            rgba(243, 195, 0, 0.18) 0%,
            rgba(0, 0, 0, 0) 45%),
        linear-gradient(90deg, #050607 0%, #0a0c0e 55%, #1b0f16 100%);
}

/* Títulos */
.ns-proceso.ns-proceso--dark .ns-proceso__title {
    text-align: center;
    font-family: var(--fuente-principal);
    font-weight: 900;
    font-size: clamp(28px, 3vw, 44px);
    margin: 0 0 1.2rem 0;
    color: #fff;
}

.ns-proceso.ns-proceso--dark .ns-proceso__subtitle {
    text-align: center;
    max-width: 78rem;
    margin: 0 auto 4.2rem auto;
    line-height: 1.7;
    font-size: 1.7rem;
    color: rgba(255, 255, 255, 0.78);
}

/* Grid: similar a la primera imagen (4 arriba, 2 abajo en desktop) */
.ns-proceso.ns-proceso--dark .ns-proceso__grid {
    display: grid;
    gap: 3.6rem 4.2rem;
    grid-template-columns: 1fr;
    align-items: start;
}

@media (min-width: 768px) {
    .ns-proceso.ns-proceso--dark .ns-proceso__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .ns-proceso.ns-proceso--dark .ns-proceso__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Step: “card” invisible */
.ns-proceso.ns-proceso--dark .ns-proceso__step {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;

    /* separador sutil para que se sienta bloque */
    position: relative;
}

/* Línea suave a la izquierda (opcional pero ayuda mucho) */
.ns-proceso.ns-proceso--dark .ns-proceso__step::before {
    content: "";
    position: absolute;
    left: -1.6rem;
    top: 0.8rem;
    bottom: 0.8rem;
    width: 1px;
    background: rgba(255, 255, 255, 0.10);
}

/* En móvil quita la línea (se ve raro con 1 columna) */
@media (max-width: 767px) {
    .ns-proceso.ns-proceso--dark .ns-proceso__step::before {
        display: none;
    }
}

/* Número grande */
.ns-proceso.ns-proceso--dark .ns-proceso__num {
    font-family: var(--fuente-headings);
    font-weight: 900;
    font-size: clamp(44px, 5vw, 64px);
    line-height: 1;
    margin: 0 0 1.2rem 0;
    color: rgba(255, 255, 255, 0.92);
    letter-spacing: 1px;
    text-align: center;
}

/* Título del step */
.ns-proceso.ns-proceso--dark .ns-proceso__h3 {
    font-family: var(--fuente-principal) !important;
    font-weight: 900;
    font-size: 2.2rem;
    line-height: 1.2;
    margin: 0 0 1rem 0 !important;
    color: #fff;
    text-align: center;
}

/* Texto */
.ns-proceso.ns-proceso--dark .ns-proceso__p {
    margin: 0 !important;
    font-family: var(--fuente-principal);
    font-size: 1.6rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.72);
    text-align: center;
}

/* Hover sutil (sin “card”) */
@media (min-width: 992px) {
    .ns-proceso.ns-proceso--dark .ns-proceso__step:hover .ns-proceso__num {
        color: #f3c300;
        /* tu acento */
    }

    .ns-proceso.ns-proceso--dark .ns-proceso__step:hover .ns-proceso__p {
        color: rgba(255, 255, 255, 0.82);
    }
}

/* =========================
   NUESTRO ENFOQUE (STYLES)
   ========================= */

:root {
    --niro-primary: #0d76b7;
    --niro-dark: #0b2b3d;
    --niro-text: #23323a;
    --niro-muted: #6b7a86;
    --niro-card: #ffffff;
    --niro-border: rgba(10, 35, 55, 0.10);
    --niro-shadow: 0 18px 40px rgba(9, 25, 39, 0.10);
    --niro-soft: #f4f7fb;
    --niro-accent: #f2c300;
    /* amarillo botones */
    --niro-result: #fbf2d0;
    /* franja resultado */
}

.niro-container {
    width: min(1200px, 92%);
    margin: 0 auto;
}

.niro-enfoque {
    padding: clamp(40px, 6vw, 30px) 0;
    background: radial-gradient(1200px 500px at 50% 0%,
            #ffffff 0%,
            #f6f8fc 65%,
            #f3f6fb 100%);
}

.enfoque-header {
    text-align: center;
    margin-bottom: 34px;
}

.enfoque-title {
    /* font-size: clamp(28px, 3.2vw, 40px); */
    font-size: clamp(28px, 3vw, 60px);
    line-height: 1.1;
    margin: 0;
    color: var(--niro-dark);
    font-weight: 900;
}

.enfoque-subtitle {
    margin: 10px auto 0;
    color: var(--niro-muted);
    max-width: 720px;
    font-size: 18px;
    line-height: 1.6;
}

/* GRID */
.enfoque-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    align-items: stretch;
}

/* CARD */
.enfoque-card {
    background: var(--niro-card);
    border: 1px solid var(--niro-border);
    border-radius: 16px;
    box-shadow: var(--niro-shadow);
    padding: 20px 18px 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* para que la franja de resultado quede “pegada” */
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.enfoque-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 55px rgba(9, 25, 39, 0.16);
}

.card-icon {
    width: 62px;
    height: 62px;
    margin: 6px auto 10px;
    background: linear-gradient(180deg, #ffffff 0%, var(--niro-soft) 100%);
    border: 1px solid var(--niro-border);
    border-radius: 14px;
    display: grid;
    place-items: center;
}

.card-icon img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.card-title {
    text-align: center;
    margin: 10px 10px 14px;
    color: var(--niro-dark);
    font-size: 18px;
    line-height: 1.15;
    font-weight: 800;
}

.card-title-strong {
    color: var(--niro-dark);
}

.card-title-light {
    color: var(--niro-dark);
    font-weight: 700;
    font-size: 14px;
    opacity: 0.9;
}

.card-block {
    padding: 6px 10px 16px;
}

.card-label {
    margin: 0 0 8px;
    font-weight: 800;
    color: var(--niro-dark);
    font-size: 14px;
}

.card-list {
    margin: 0;
    padding-left: 18px;
    color: var(--niro-muted);
    font-size: 13px;
    line-height: 1.6;
}

.card-list li {
    margin: 6px 0;
}

/* RESULTADO (franja inferior) */
.card-result {
    margin-top: auto;
    background: var(--niro-result);
    border-top: 1px solid rgba(10, 35, 55, 0.08);
    padding: 14px 16px 16px;
    text-align: center;
}

.result-label {
    display: inline-block;
    font-weight: 900;
    color: #7a5a00;
    background: rgba(242, 195, 0, 0.22);
    border: 1px solid rgba(242, 195, 0, 0.35);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    margin-bottom: 10px;
}

.result-text {
    margin: 0;
    color: var(--niro-dark);
    font-weight: 700;
    font-size: 13px;
    line-height: 1.5;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
    .enfoque-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .enfoque-grid {
        grid-template-columns: 1fr;
    }

    .enfoque-card {
        padding: 18px 16px 0;
    }
}

.enfoque-grid>p {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* =========================
   VIÑETAS estilo "Servicios" (flechita)
========================= */

.card-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.card-list li {
    position: relative;
    padding-left: 22px;
    /* espacio para la flecha */
    margin: 10px 0;
    color: var(--niro-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* flechita azul */
.card-list li::before {
    content: "›";
    position: absolute;
    left: 0;
    top: 0;
    color: rgba(13, 118, 183, 0.85);
    font-weight: 900;
    font-size: 18px;
    line-height: 1.2;
}

/* =========================
   FINANZAS + TECNOLOGÍA (BANNER)
========================= */

.ns-growth {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 340px;
    margin-top: 40px;
    border-radius: 0;
}

/* Imagen de fondo */
.ns-growth__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    z-index: 1;
    transform: scale(1.03);
}

/* Overlay azul para legibilidad */
.ns-growth::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(90deg,
            rgba(12, 45, 66, 0.92) 0%,
            rgba(12, 45, 66, 0.80) 45%,
            rgba(12, 45, 66, 0.35) 70%,
            rgba(12, 45, 66, 0.15) 100%);
}

/* Contenedor */
.ns-growth__inner {
    position: relative;
    z-index: 3;
    width: min(1200px, 92%);
    margin: 0 auto;
    padding: 70px 0;
}

/* Contenido */
.ns-growth__content {
    max-width: 560px;
}

/* Título */
.ns-growth__title {
    font-family: var(--fuente-principal);
    font-weight: 900;
    text-transform: none;
    margin: 0 0 14px 0;
    line-height: 1.05;
    font-size: clamp(28px, 3.2vw, 44px);
    color: #fff;
}

.ns-growth__title span {
    display: block;
}

/* Texto */
.ns-growth__text {
    margin: 0;
    color: rgba(255, 255, 255, 0.90);
    font-size: 1.7rem;
    line-height: 1.7;
    max-width: 60ch;
}

/* Responsive */
@media (max-width: 900px) {
    .ns-growth {
        min-height: 320px;
    }

    .ns-growth::before {
        background: linear-gradient(180deg,
                rgba(12, 45, 66, 0.88) 0%,
                rgba(12, 45, 66, 0.75) 60%,
                rgba(12, 45, 66, 0.35) 100%);
    }

    .ns-growth__inner {
        padding: 40px 0;
    }

    .ns-growth__content {
        max-width: 100%;
    }

    .ns-growth__bg {
        background-position: center;
    }
}

/* =========================
   VIÑETAS para .ns-list (Servicios contables/tecnológicos)
========================= */
.ns-services-split .ns-list {
    list-style: none;
    padding-left: 0;
    margin: 2rem 0;
}

.ns-services-split .ns-list li {
    position: relative;
    padding-left: 22px;
    /* espacio para la flecha */
    margin: 8px 0;
    color: #6b7280;
    font-size: 1.7rem;
    line-height: 1.6;
}

/* flechita azul */
.ns-services-split .ns-list li::before {
    content: "›";
    position: absolute;
    left: 0;
    top: 0;
    color: rgba(13, 118, 183, 0.85);
    font-weight: 900;
    font-size: 18px;
    line-height: 1.2;
}

/* =========================
   NOSOTROS - QUIÉNES SOMOS
========================= */

.ns-about {
    padding: 7rem 0;
    background: #ffffff;
}

/* Header */
.ns-about__header {
    text-align: center;
    max-width: 88rem;
    margin: 0 auto 4rem auto;
}

.ns-about__title {
    font-family: var(--fuente-principal);
    font-weight: 900;
    font-size: clamp(30px, 3vw, 44px);
    color: var(--gris-oscuro);
    margin: 0 0 1.4rem 0;
}

.ns-about__lead {
    color: #4a6270;
    font-size: 1.8rem;
    line-height: 1.75;
    margin: 0 auto 1.2rem auto;
}

.ns-about__text {
    color: #6b7280;
    font-size: 1.7rem;
    line-height: 1.75;
    margin: 0;
}

/* =========================
   FILOSOFÍA (2 columnas)
========================= */

.ns-philosophy {
    margin-top: 4.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.2rem;
    align-items: center;

    background: #fff;
    border-radius: 2rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

/* Media */
.ns-philosophy__media {
    margin: 0;
    background: #f3f4f6;
}

.ns-philosophy__media img {
    width: 100% !important;
    max-width: 100% !important;
    height: 100%;
    display: block;
    object-fit: cover;
    min-height: 280px;
}

/* Content */
.ns-philosophy__content {
    padding: 2.8rem 2.6rem;
}

.ns-philosophy__title {
    font-family: var(--fuente-principal) !important;
    font-weight: 900;
    font-size: 2.8rem;
    margin: 0 0 1rem 0 !important;
    color: var(--gris-oscuro);
}

.ns-philosophy__p {
    margin: 0 0 1.8rem 0;
    color: #6b7280;
    font-size: 1.7rem;
    line-height: 1.7;
}

/* sub grid (Visión / Valores) */
.ns-philosophy__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.8rem;
    margin-top: 1.2rem;
}

.ns-philosophy__box {
    background: linear-gradient(180deg,
            rgba(13, 118, 183, 0.08),
            rgba(13, 118, 183, 0.03));
    border: 1px solid rgba(13, 118, 183, 0.14);
    border-radius: 1.6rem;
    padding: 1.8rem 1.8rem;
}

.ns-philosophy__h4 {
    font-family: var(--fuente-principal) !important;
    font-weight: 900;
    font-size: 2rem;
    margin: 0 0 1.2rem 0 !important;
    color: var(--gris-oscuro);
}

/* Desktop */
@media (min-width: 992px) {
    .ns-philosophy {
        grid-template-columns: 1fr 1.2fr;
    }

    .ns-philosophy__media img {
        min-height: 360px;
    }

    .ns-philosophy__grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* =========================
   VIÑETAS (flechita azul)
========================= */
.ns-bullets {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.ns-bullets li {
    position: relative;
    padding-left: 22px;
    margin: 10px 0;
    color: #6b7280;
    font-size: 1.7rem;
    line-height: 1.6;
}

.ns-bullets li::before {
    content: "›";
    position: absolute;
    left: 0;
    top: 0;
    color: rgba(13, 118, 183, 0.85);
    font-weight: 900;
    font-size: 18px;
    line-height: 1.2;
}

/* =========================
   FILOSOFÍA - estilo “banner” (como imagen 1)
========================= */

/* IMPORTANTE: tu contenedor es .niro-container, lo usamos */
.ns-about {
    padding: 7rem 0;
    background: #fff;
}

/* Banner ancho, sin “card” */
.ns-philosophy {
    /* full width look */
    width: 100%;
    margin: 4.5rem 0 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
    overflow: hidden;

    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;

    /* fondo claro + patrón tipo dots */
    background:
        radial-gradient(circle, rgba(13, 118, 183, 0.10) 1px, transparent 1px) 0 0 / 18px 18px,
        linear-gradient(180deg, #ffffff 0%, #f6f8fc 100%);
}

/* Desktop: 2 columnas, imagen izq / contenido der */
@media (min-width: 992px) {
    .ns-philosophy {
        grid-template-columns: 1.05fr 1fr;
        min-height: 420px;
    }
}

/* Media (izquierda) */
.ns-philosophy__media {
    margin: 0;
    background: transparent;
}

.ns-philosophy__media img {
    width: 100% !important;
    max-width: 100% !important;
    height: 100%;
    min-height: 320px;
    display: block;
    object-fit: cover;
}

/* Content (derecha) */
.ns-philosophy__content {
    padding: clamp(26px, 3.2vw, 46px);
}

.ns-philosophy__title {
    font-family: var(--fuente-principal) !important;
    font-weight: 900;
    font-size: clamp(28px, 3vw, 44px);
    margin: 0 0 12px 0 !important;
    color: var(--gris-oscuro);
}

.ns-philosophy__p {
    margin: 0 0 22px 0;
    color: #6b7280;
    font-size: 1.7rem;
    line-height: 1.7;
    max-width: 70ch;
}

/* Grid Visión / Valores */
.ns-philosophy__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 16px;
}

@media (min-width: 992px) {
    .ns-philosophy__grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Cajas internas suaves (como tarjetas pequeñas) */
.ns-philosophy__box {
    background: rgba(255, 255, 255, 0.70);
    border: 1px solid rgba(13, 118, 183, 0.12);
    border-radius: 16px;
    padding: 18px 18px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

/* =========================================
   FILOSOFÍA - “Cards invisibles”
   (mantiene padding/estructura, pero sin fondo)
========================================= */

/* Visión / Valores: card invisible */
.ns-philosophy__box {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;

    /* sigue siendo “card”: padding + radius + transición */
    border-radius: 16px;
    padding: 18px 18px;
    transition: transform 0.18s ease;
}

/* Hover sutil (sin cuadro) */
@media (min-width: 992px) {
    .ns-philosophy__box:hover {
        transform: translateY(-3px);
    }
}

/* Si quieres que el título se sienta más “pegado” como la imagen 1 */
.ns-philosophy__h4 {
    margin-bottom: 12px !important;
}

/* (Opcional) separar un poco más la lista sin “card” */
.ns-bullets li {
    margin: 12px 0;
}

.ns-philosophy__h4 {
    font-family: var(--fuente-principal) !important;
    font-weight: 900;
    font-size: 2rem;
    margin: 0 0 12px 0 !important;
    color: var(--gris-oscuro);
}

/* =========================
   BULLETS - variantes
========================= */

.ns-bullets {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.ns-bullets li {
    position: relative;
    padding-left: 28px;
    margin: 10px 0;
    color: #6b7280;
    font-size: 1.65rem;
    line-height: 1.6;
}

/* Visión: check azul */
.ns-bullets--check li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: rgba(13, 118, 183, 0.95);
    font-weight: 900;
    font-size: 18px;
    line-height: 1.2;
}

/* Valores: “iconito” redondo */
.ns-bullets--icon li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(13, 118, 183, 0.40);
    background: rgba(13, 118, 183, 0.10);
}

/* =========================
   CLIENTES - LOGO CAROUSEL (pasarela)
========================= */

.ns-trust--carousel {
    margin-top: 5.5rem;
    padding: 6rem 0;
    background: #e7e7e7;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.ns-trust__header {
    text-align: center;
    margin-bottom: 2.6rem;
}

.ns-trust__title {
    font-family: var(--fuente-principal);
    font-weight: 900;
    font-size: clamp(26px, 2.8vw, 40px);
    color: var(--gris-oscuro);
    margin: 0 0 1rem 0;
}

.ns-trust__subtitle {
    margin: 0 auto;
    max-width: 72rem;
    color: #6b7280;
    font-size: 1.7rem;
    line-height: 1.7;
}

/* Contenedor SIN “card” */
.ns-logo-marquee {
    position: relative;
    overflow: hidden;

    /* quita “card” */
    border-radius: 0;
    padding: 0;
    background: transparent;
}

/* fade izquierda/derecha */
.ns-logo-marquee::before,
.ns-logo-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 140px;
    z-index: 2;
    pointer-events: none;
}

.ns-logo-marquee::before {
    left: 0;
    background: linear-gradient(90deg, #e7e7e7 0%, rgba(231, 231, 231, 0) 100%);
}

.ns-logo-marquee::after {
    right: 0;
    background: linear-gradient(270deg,
            #e7e7e7 0%,
            rgba(231, 231, 231, 0) 100%);
}

/* Track animado */
.ns-logo-marquee__track {
    display: flex;
    align-items: center;
    gap: 6rem;
    /* más aire entre logos */
    width: max-content;
    will-change: transform;
    animation: ns-marquee 22s linear infinite;
}

/* Pausa al hover */
.ns-logo-marquee:hover .ns-logo-marquee__track {
    animation-play-state: paused;
}

/* Item SIN card, SIN padding extra */
.ns-logo-marquee__item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;

    /* quita cualquier “caja” */
    background: transparent;
    padding: 0;
    margin: 0;
}

/* LOGOS MUCHO MÁS GRANDES */
.ns-logo-marquee__item img {
    /* tu css global tiene img { max-width:80% } -> lo anulamos aquí */
    max-width: none !important;
    width: auto !important;

    height: 150px;
    /* <-- tamaño principal (sube/baja aquí) */
    max-height: 150px;

    object-fit: contain;
    display: block;

    opacity: 0.85;
    filter: grayscale(1);
    transition: all 0.25s ease;
}

.ns-logo-marquee__item:hover img {
    opacity: 1;
    filter: grayscale(0);
    transform: scale(1.05);
}

/* Animación infinita (funciona porque duplicaste los logos) */
@keyframes ns-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Responsive */
@media (max-width: 768px) {

    .ns-logo-marquee::before,
    .ns-logo-marquee::after {
        width: 70px;
    }

    .ns-logo-marquee__track {
        gap: 3rem;
        animation-duration: 18s;
    }

    .ns-logo-marquee__item img {
        height: 90px;
        max-height: 90px;
    }
}

/* =========================
   CTA FINAL (Banner azul)
========================= */
.ns-cta {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 320px;
    display: grid;
    align-items: center;
    margin-top: 0;
}

/* Imagen de fondo */
.ns-cta__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.03);
    z-index: 1;
}

/* Overlay azul */
.ns-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(90deg,
            rgba(12, 45, 66, 0.92) 0%,
            rgba(12, 45, 66, 0.82) 45%,
            rgba(12, 45, 66, 0.35) 75%,
            rgba(12, 45, 66, 0.18) 100%);
}

/* Contenido */
.ns-cta__inner {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 70px 0;
    max-width: 980px;
}

.ns-cta__title {
    font-family: var(--fuente-principal);
    font-weight: 900;
    font-size: clamp(28px, 3.2vw, 46px);
    line-height: 1.12;
    margin: 0 0 16px 0 !important;
    color: #fff;
}

.ns-cta__title span {
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 3px;
    text-decoration-color: rgba(243, 195, 0, 0.9);
}

.ns-cta__text {
    margin: 0 auto 22px auto;
    max-width: 78ch;
    color: rgba(255, 255, 255, 0.90);
    font-size: 1.7rem;
    line-height: 1.7;
}

/* Botón */
.ns-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #f3c300;
    color: #1a2d38;
    padding: 14px 26px;
    border-radius: 14px;
    font-weight: 900;
    font-size: 1.7rem;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
    transition: transform 0.15s ease, filter 0.2s ease;
}

.ns-cta__btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.03);
}

.ns-cta__icon {
    display: inline-flex;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
}

/* Responsive */
@media (max-width: 900px) {
    .ns-cta__inner {
        padding: 48px 0;
    }

    .ns-cta::before {
        background: linear-gradient(180deg,
                rgba(12, 45, 66, 0.92) 0%,
                rgba(12, 45, 66, 0.78) 55%,
                rgba(12, 45, 66, 0.35) 100%);
    }

    .ns-cta__btn {
        width: 100%;
        max-width: 360px;
    }
}

/* =========================
   CONTACTO (FORM + INFO)
========================= */
.ns-contact {
    padding: 3.5rem 0 4rem;
    background: linear-gradient(180deg,
            rgba(13, 118, 183, 0.08),
            rgba(255, 255, 255, 1));
}

.ns-contact__grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.5rem;
    align-items: start;
}

.ns-card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(42, 69, 86, 0.10);
    border-radius: 18px;
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.10);
    backdrop-filter: blur(8px);
    padding: 1.6rem 1.5rem;
}

.ns-card__header {
    margin-bottom: 1rem;
}

.ns-card__title {
    color: var(--gris-oscuro);
    font-family: var(--fuente-principal);
    font-size: clamp(1.15rem, 1.2vw + 1rem, 2.6rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
    text-align: center;
}

.ns-card__title span {
    font-weight: 600;
    color: rgba(42, 69, 86, 0.75);
}

/* Form */
.ns-form {
    display: grid;
    gap: 0.95rem;
}

.ns-form__group {
    display: grid;
    gap: 0.45rem;
}

.ns-label {
    align-items: center;
    color: rgba(42, 69, 86, 0.92);
    display: inline-flex;
    font-size: 85%;
    font-weight: 700;
    gap: 0.5rem;
}

.ns-label--block {
    display: block;
    margin: 0.35rem 0 0.2rem;
}

.ns-label small {
    font-weight: 600;
    color: rgba(42, 69, 86, 0.60);
}

.ns-label__icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(13, 118, 183, 0.10);
    border: 1px solid rgba(13, 118, 183, 0.18);
    font-size: 0.95rem;
}

.ns-input,
.ns-textarea {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(42, 69, 86, 0.14);
    background: rgba(255, 255, 255, 0.95);
    padding: 0.9rem 1rem;
    font-family: var(--fuente-principal);
    color: var(--gris-oscuro);
    outline: none;
    transition: 0.18s ease;
}

.ns-input::placeholder,
.ns-textarea::placeholder {
    color: rgba(42, 69, 86, 0.45);
}

.ns-input:focus,
.ns-textarea:focus {
    border-color: rgba(13, 118, 183, 0.45);
    box-shadow: 0 0 0 4px rgba(13, 118, 183, 0.12);
}

/* Radios tipo "chips" */
.ns-radio {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.ns-radio__item {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.75rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(42, 69, 86, 0.14);
    background: rgba(255, 255, 255, 0.88);
    cursor: pointer;
    user-select: none;
    transition: 0.18s ease;
    font-weight: 700;
    color: rgba(42, 69, 86, 0.85);
}

.ns-radio__item input {
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(13, 118, 183, 0.35);
    display: inline-block;
    position: relative;
}

.ns-radio__item input:checked {
    border-color: rgba(13, 118, 183, 0.95);
    box-shadow: inset 0 0 0 4px rgba(13, 118, 183, 0.95);
}

.ns-radio__item:has(input:checked) {
    border-color: rgba(13, 118, 183, 0.35);
    background: rgba(13, 118, 183, 0.08);
}

/* Botón full */
.ns-btn--full {
    border-radius: 12px;
    cursor: pointer;
    font-weight: 800;
    justify-content: center;
    padding: 1rem 1.1rem;
    width: 100%;
}

.ns-btn__icon {
    margin-right: 0.55rem;
}

/* Info */
.ns-info {
    display: grid;
    gap: 1rem;
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
}

.ns-info__item {
    align-items: start;
    display: grid;
    gap: 0.85rem;
    grid-template-columns: 34px 1fr;
}

.ns-info__icon {
    align-items: center;
    background: rgba(13, 118, 183, 0.10);
    border-radius: 12px;
    border: 1px solid rgba(13, 118, 183, 0.18);
    display: inline-flex;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.ns-info__item strong {
    display: block;
    color: var(--gris-oscuro);
    margin-bottom: 0.2rem;
}

.ns-info__item span {
    color: rgba(42, 69, 86, 0.75);
}

.ns-info__link {
    color: rgba(42, 69, 86, 0.78);
    text-decoration: none;
    font-weight: 700;
}

.ns-info__link:hover {
    color: rgba(13, 118, 183, 0.95);
    text-decoration: underline;
}

/* WhatsApp CTA */
.ns-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    padding: 1rem 1rem;
    border-radius: 12px;
    background: linear-gradient(180deg,
            rgba(60, 190, 85, 1),
            rgba(36, 160, 70, 1));
    color: #fff;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 14px 35px rgba(36, 160, 70, 0.25);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ns-whatsapp:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(36, 160, 70, 0.32);
}

.ns-whatsapp__icon {
    align-items: center;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    display: inline-flex;
    height: 36px;
    justify-content: center;
    width: 36px;
}

.ns-privacy {
    color: rgba(42, 69, 86, 0.65);
    font-size: 0.92rem;
    line-height: 1.5;
    margin: 1rem 0 0;
    text-align: center;
}

/* Responsive */
@media (max-width: 980px) {
    .ns-contact__grid {
        grid-template-columns: 1fr;
    }

    .ns-card {
        padding: 1.35rem 1.15rem;
    }
}

/* CF7 -> mismos estilos que tu UI */
.ns-card--form .wpcf7 form {
    display: grid;
    gap: .95rem;
}

.ns-card--form .wpcf7 input[type="text"],
.ns-card--form .wpcf7 input[type="email"],
.ns-card--form .wpcf7 input[type="tel"],
.ns-card--form .wpcf7 textarea {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(42, 69, 86, .14);
    background: rgba(255, 255, 255, .95);
    padding: .9rem 1rem;
    font-family: var(--fuente-principal);
    color: var(--gris-oscuro);
    outline: none;
    transition: .18s ease;
}

.ns-card--form .wpcf7 input:focus,
.ns-card--form .wpcf7 textarea:focus {
    border-color: rgba(13, 118, 183, .45);
    box-shadow: 0 0 0 4px rgba(13, 118, 183, .12);
}

.ns-card--form .wpcf7 .wpcf7-submit {
    width: 100%;
    border-radius: 12px;
    padding: 1rem 1.1rem;
    font-weight: 800;
}

/* mensajes */
.ns-card--form .wpcf7-response-output {
    border-radius: 12px;
    padding: .9rem 1rem;
    margin: .6rem 0 0;
}

/* =========================
   WhatsApp Banner (ns-growth)
========================= */
.ns-growth--whatsapp {
    position: relative;
    overflow: hidden;
}

.ns-growth--whatsapp .ns-growth__inner {
    position: relative;
    z-index: 2;
    padding: 3.2rem 0;
}

.ns-growth--whatsapp .ns-growth__content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Background responsive */
.ns-growth--whatsapp .ns-growth__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center right;
    /* desktop: la persona a la derecha */
    background-repeat: no-repeat;
    filter: saturate(1.05);
    z-index: 0;
}

/* Overlay para contraste del texto */
.ns-growth--whatsapp::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 35, 50, .85) 0%, rgba(10, 35, 50, .60) 55%, rgba(10, 35, 50, .25) 100%);
    z-index: 1;
}

/* Contenedor icono + texto */
.ns-wa-banner {
    display: flex;
    align-items: center;
    margin-top: 47px;
    /* CENTRADO horizontal */
    gap: 1.1rem;
    color: #fff;

}

.ns-wa-banner__icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ns-wa-banner__title {
    margin: 0;
    font-family: var(--fuente-principal);
    font-weight: 900;
    letter-spacing: .2px;
    line-height: 1.1;
    max-width: 900px;
    font-size: 42px;
}

/* MÓVIL: centra todo y ajusta el background */
@media (max-width: 768px) {
    .ns-growth--whatsapp .ns-growth__inner {
        padding: 2.6rem 0;
    }

    .ns-wa-banner {
        justify-content: center;
        text-align: left;
        /* como tu mockup: icono izquierda, texto derecha */
        gap: .9rem;
    }

    .ns-wa-banner__title {
        font-size: 29px;
    }

    /* Mover background para que no corte feo a la derecha */
    .ns-growth--whatsapp .ns-growth__bg {
        background-position: 70% center;
        /* prueba 60%–80% según tu imagen */
    }

    /* Overlay más fuerte en móvil para legibilidad */
    .ns-growth--whatsapp::before {
        background: linear-gradient(180deg, rgba(10, 35, 50, .85) 0%, rgba(10, 35, 50, .55) 55%, rgba(10, 35, 50, .35) 100%);
    }
}

/* MÓVIL MUY CHICO: icono arriba, texto abajo (si lo prefieres) */
@media (max-width: 420px) {
    .ns-wa-banner {
        flex-direction: column;
        align-items: flex-start;
        /* icono arriba alineado a la izquierda */
        margin-top: 8%;
    }
}

.ns-footer {
    background-color: var(--gris-oscuro);
    color: #ffffff;
    padding: 4rem 0 0 0;
}

.ns-footer__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.ns-footer__col h4 {
    font-family: var(--fuente-principal);
    font-size: 2.4rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.ns-footer__col ul {
    list-style: none;
    padding: 0;
}

.ns-footer__col ul li {
    margin-bottom: .6rem;
}

.ns-footer__col ul li a {
    color: #ffffff;
    text-decoration: none;
    opacity: .8;
    transition: all .3s ease;
}

.ns-footer__col ul li a:hover {
    opacity: 1;
    color: var(--primario);
}

.ns-footer__text {
    opacity: .8;
    line-height: 1.6;
}

.ns-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 3rem;
    font-size: 1.1rem;
    opacity: .7;
}

.ns-footer__logo {
    display: block;
    margin-bottom: 1.5rem;
    max-width: 100%;
    width: 112px;
}

@media (max-width: 576px){
  .ns-footer__logo{
    width: 92px;
    margin: 0 auto 1rem auto; /* 👈 centrado solo móvil */
  }

  .ns-footer__col:first-child{
    text-align: center; /* centra también el texto si quieres */
  }
}

.ns-footer__col:first-child {
    max-width: 300px;
}

.ns-footer__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    text-decoration: none;
    transition: all .3s ease;
}

.ns-footer__link:hover {
    color: var(--primario);
    transform: translateX(4px);
}

/* ===== FOOTER RESPONSIVE FIX ===== */

/* Evita desbordes por textos largos (correo/whatsapp) */
.ns-footer,
.ns-footer *{
  max-width: 100%;
}

.ns-footer__grid{
  grid-template-columns: repeat(4, minmax(0, 1fr)); /* evita overflow en grid */
}

/* Links largos: permite salto de línea */
.ns-footer__link{
  white-space: normal;
  overflow-wrap: anywhere;     /* ✅ rompe correos largos */
  word-break: break-word;
}

/* Iconos no se encogen raro */
.ns-footer__link svg{
  flex: 0 0 auto;
}

/* Tablet: 2 columnas */
@media (max-width: 992px){
  .ns-footer__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }

  .ns-footer__col:first-child{
    max-width: none; /* que no limite en grid de 2 */
  }

  .ns-footer__col h4{
    font-size: 1.8rem;
  }
}

/* Móvil: 1 columna */
@media (max-width: 576px){
  .ns-footer{
    padding: 3rem 0 0 0;
  }

  .ns-footer__grid{
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .ns-footer__col{
    text-align: left;
  }

  .ns-footer__logo{
    width: 92px;
    margin-bottom: 1rem;
  }

  .ns-footer__col h4{
    font-size: 1.6rem;
    margin-bottom: .75rem;
  }

  .ns-footer__col ul li{
    margin-bottom: .75rem;
  }

  .ns-footer__bottom{
    font-size: .95rem;
    padding: 1.25rem 0;
  }
}

.ns-hero__actions {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Base */
.ns-btn_v2 {
    padding: 14px 26px;
    border-radius: 10px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    /* look premium sobre fondo oscuro */
    background: rgba(0, 0, 0, .35);
    border: 1px solid rgba(255, 255, 255, .28);
    color: rgba(255, 255, 255, .92);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

/* Hover general */
.ns-btn_v2:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, .45);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .35);
}

/* Primario: acento en tu azul corporativo sin chocar con el fondo */
.ns-btn--primary_v2 {
    border-color: rgba(13, 118, 183, .70);
    /* similar a tu --primario */
    box-shadow: 0 10px 22px rgba(13, 118, 183, .12);
}

.ns-btn--primary_v2:hover {
    background: rgba(13, 118, 183, .20);
    border-color: rgba(13, 118, 183, 1);
}

/* Secundario: más neutro */
.ns-btn--secondary_v2 {
    opacity: .95;
    color: rgb(255 255 255);
    /* background: rgba(0, 238, 12, 0.28); */
    background: rgb(251 255 215 / 35%);
    border: 1px solid rgba(255, 255, 255, .35);
}

.ns-btn--secondary_v2:hover {
    background: rgba(255, 255, 255, .08);
}

/* Mobile: ancho cómodo */
@media (max-width: 768px) {
    .ns-btn_v2 {
        width: 100%;
        max-width: 340px;
    }

    .ns-btn--secondary_v2:nth-child(2) {
        margin-bottom: 41px;
    }
}

/* HERO: tipografías coherentes */
.tagline h1 {
    font-family: var(--fuente-headings);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.tagline p {
    font-family: var(--fuente-principal);
    font-weight: 400;
}

/* BOTONES: Raleway + peso correcto */
.ns-btn_v2 {
    font-family: var(--fuente-principal);
    font-weight: 700;
    letter-spacing: .2px;
}