body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f7fa;
    color: #0f172a;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

.nos-hero {
    padding: 12px 0 8px;
    text-align: center;
    background: #f5f7fa;
}

.nos-hero img {
    display: block;
    width: 100%;
    max-width: 1180px;
    height: auto;
    max-height: 420px;
    margin: 0 auto;
    object-fit: contain;
    object-position: center;
}

.nos-main {
    padding-bottom: 48px;
    background:
        radial-gradient(ellipse 70% 60% at 10% 0%, rgba(99, 208, 245, .16) 0%, transparent 55%),
        radial-gradient(ellipse 55% 50% at 95% 100%, rgba(0, 119, 200, .14) 0%, transparent 45%),
        linear-gradient(180deg, #f5f7fa 0%, #e9f1f9 100%);
}

.nos-section {
    padding: 48px 0;
}

.nos-intro .container,
.nos-pillars .container,
.nos-valores .container,
.nos-clientes .container {
    background: #ffffff;
    border: 1px solid #e6e9ef;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(3, 27, 64, .06);
    padding: 32px;
}

.nos-intro .container {
    position: relative;
    overflow: hidden;
    border-color: rgba(0, 119, 200, .22);
    background:
        radial-gradient(circle at 0% 0%, rgba(99, 208, 245, .24), transparent 38%),
        radial-gradient(circle at 100% 100%, rgba(0, 119, 200, .16), transparent 42%),
        linear-gradient(130deg, #ffffff 0%, #eef6ff 58%, #e5f1fd 100%);
}

.nos-intro .container::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        repeating-linear-gradient(
            115deg,
            rgba(3, 27, 64, .03) 0 11px,
            rgba(3, 27, 64, 0) 11px 22px
        );
}

.nos-section h2,
.nos-section h3,
.nos-section h4 {
    color: #031b40;
    text-transform: uppercase;
    letter-spacing: .04em;
    text-align: center;
    font-family: "Trebuchet MS", "Segoe UI", Arial, Helvetica, sans-serif;
    font-weight: 800;
}

.nos-section h2 {
    margin: 0 0 28px;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.nos-intro-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 32px;
    align-items: center;
}

.nos-intro-text {
    color: #1f2937;
    line-height: 1.85;
    font-size: 1.08rem;
    text-wrap: pretty;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 500;
}

.nos-intro-text p {
    margin: 0 0 14px;
}

.nos-intro-media {
    margin: 0;
    position: relative;
    isolation: isolate;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(0, 119, 200, .25);
    background: linear-gradient(140deg, rgba(0, 119, 200, .18), rgba(3, 27, 64, .2));
    box-shadow: 0 14px 34px rgba(3, 27, 64, .2);
}

.nos-intro-media::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(circle at 14% 16%, rgba(99, 208, 245, .42), transparent 36%),
        linear-gradient(120deg, rgba(3, 27, 64, .3), rgba(0, 119, 200, .08) 58%, transparent 100%);
}

.nos-intro-media::after {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    right: -58px;
    top: -58px;
    z-index: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 208, 245, .44), rgba(99, 208, 245, 0) 72%);
    pointer-events: none;
}

.nos-intro-media img {
    width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(3, 27, 64, .12);
    position: relative;
    z-index: 0;
    transform: scale(1.02);
    transition: transform .5s ease, filter .5s ease;
    filter: saturate(1.08) contrast(1.03);
}

.nos-intro-media:hover img {
    transform: scale(1.08);
    filter: saturate(1.14) contrast(1.06);
}

.nos-commitment {
    padding-top: 0;
    padding-bottom: 24px;
}

.nos-commitment h3 {
    margin: 0;
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    color: #0e2f6e;
    letter-spacing: .05em;
    text-shadow: 0 2px 14px rgba(3, 27, 64, .18);
}

.nos-highlight-word {
    display: inline-block;
    color: #ffffff;
    background:
        linear-gradient(120deg, rgba(99, 208, 245, .24), rgba(99, 208, 245, 0) 45%),
        linear-gradient(135deg, #0077c8 0%, #0b3f7a 52%, #031b40 100%);
    padding: .12em .46em;
    border-radius: 11px;
    border: 1px solid rgba(99, 208, 245, .35);
    box-shadow: 0 10px 24px rgba(0, 119, 200, .34);
    letter-spacing: .07em;
    position: relative;
    overflow: hidden;
    animation: nosGlowWord 2.4s ease-in-out infinite;
}

.nos-highlight-word::after {
    content: '';
    position: absolute;
    top: -40%;
    left: -34%;
    width: 36%;
    height: 180%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .55), rgba(255, 255, 255, 0));
    transform: rotate(17deg);
    animation: nosWordSweep 3.5s ease-in-out infinite;
}

@keyframes nosGlowWord {
    0%, 100% { transform: translateY(0); box-shadow: 0 10px 24px rgba(0, 119, 200, .3); }
    50% { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0, 119, 200, .48); }
}

@keyframes nosWordSweep {
    0%, 35% { left: -34%; opacity: 0; }
    45% { opacity: .9; }
    65%, 100% { left: 112%; opacity: 0; }
}

.nos-pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.nos-pillar {
    background: #f9fbff;
    border: 1px solid #dde6f3;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(3, 27, 64, .06);
}

.nos-pillar-wide {
    grid-column: 1 / -1;
}

.nos-pillar h4 {
    margin: 0 0 14px;
    font-size: 1.15rem;
    text-align: left;
}

.nos-pillar div {
    color: #243447;
    line-height: 1.7;
    font-size: 1rem;
}

.nos-pillar div p {
    margin: 0 0 12px;
}

.nos-certificaciones {
    text-align: center;
    padding-top: 30px;
    padding-bottom: 22px;
}

.nos-cert-title {
    margin: 0 0 26px;
}

.nos-cert-title-accent {
    position: relative;
    display: inline-block;
    background: linear-gradient(120deg, #0077c8 0%, #0e2f6e 55%, #031b40 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nos-cert-title-accent::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -7px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #63d0f5 0%, #0077c8 52%, #031b40 100%);
    transform: scaleX(.1);
    transform-origin: center;
    animation: nosCertWordLine 3.2s ease-in-out infinite;
}

@keyframes nosCertWordLine {
    0%, 100% {
        transform: scaleX(.1);
        opacity: .75;
    }
    45%, 55% {
        transform: scaleX(1);
        opacity: 1;
    }
}

.nos-certificaciones img.attachment-medium {
    display: block;
    width: 300px;
    height: 78px;
    max-width: 100%;
    margin: 0 auto;
}

.nos-valores-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.nos-valores-grid figure {
    margin: 0;
}

.nos-valor-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid #dce6f5;
    background: linear-gradient(180deg, #ffffff 0%, #f0f5fc 100%);
    box-shadow: 0 10px 24px rgba(3, 27, 64, .08);
    transition: transform .25s ease, box-shadow .25s ease;
}

.nos-valor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(3, 27, 64, .16);
}

.nos-valores-grid img {
    width: 100%;
    height: auto;
    display: block;
}

.nos-valor-card figcaption {
    position: absolute;
    left: 10px;
    bottom: 10px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(3, 27, 64, .78);
    color: #fff;
    font-size: .72rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-weight: 700;
}

.nos-clientes-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    padding: 10px 0;
}

.nos-clientes-viewport {
    overflow: hidden;
    width: 100%;
}

.nos-clientes-nav,
.nos-clientes-dots {
    display: none;
}

.nos-clientes-carousel::before,
.nos-clientes-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 64px;
    z-index: 2;
    pointer-events: none;
}

.nos-clientes-carousel::before {
    left: 0;
    background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.nos-clientes-carousel::after {
    right: 0;
    background: linear-gradient(270deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.nos-clientes-track {
    display: flex;
    align-items: center;
    gap: 26px;
    width: max-content;
    animation: nosClientsMarquee 18s linear infinite;
}

.nos-cliente-logo {
    margin: 0;
    flex: 0 0 160px;
}

.nos-cliente-logo img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    filter: grayscale(10%);
    transition: filter .2s ease, transform .2s ease;
}

.nos-cliente-logo img:hover {
    filter: none;
    transform: translateY(-2px);
}

.nos-clientes-carousel:hover .nos-clientes-track {
    animation-play-state: paused;
}

@keyframes nosClientsMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 13px)); }
}

@media (max-width: 900px) {
    .nos-intro .container,
    .nos-pillars .container,
    .nos-valores .container,
    .nos-clientes .container {
        padding: 24px;
    }

    .nos-intro-grid {
        grid-template-columns: 1fr;
    }

    .nos-intro-media {
        max-width: 680px;
        margin: 0 auto;
    }

    .nos-pillars-grid {
        grid-template-columns: 1fr;
    }

    .nos-valores-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nos-cliente-logo {
        flex-basis: 130px;
    }
}

@media (max-width: 768px) {
    .nos-clientes-carousel {
        padding: 8px 40px 34px;
    }

    .nos-clientes-carousel.is-slider-mode::before,
    .nos-clientes-carousel.is-slider-mode::after {
        display: none;
    }

    .nos-clientes-carousel.is-slider-mode .nos-clientes-track {
        animation: none;
        gap: 0;
        width: auto;
        transition: transform .45s ease;
        will-change: transform;
    }

    .nos-clientes-carousel.is-slider-mode .nos-cliente-logo--clone {
        display: none;
    }

    .nos-clientes-nav {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 34px;
        height: 34px;
        border: none;
        border-radius: 50%;
        background: #031b40;
        color: #fff;
        font-size: 22px;
        line-height: 1;
        cursor: pointer;
        z-index: 3;
        box-shadow: 0 6px 16px rgba(3, 27, 64, .25);
    }

    .nos-clientes-nav.prev { left: 4px; }
    .nos-clientes-nav.next { right: 4px; }

    .nos-clientes-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        position: absolute;
        left: 0;
        right: 0;
        bottom: 6px;
        z-index: 3;
    }

    .nos-clientes-dot {
        width: 9px;
        height: 9px;
        border: none;
        border-radius: 50%;
        padding: 0;
        background: #c5d0e3;
        cursor: pointer;
        transition: transform .2s ease, background .2s ease;
    }

    .nos-clientes-dot.active {
        background: #0077c8;
        transform: scale(1.15);
    }
}

@media (max-width: 640px) {
    .nos-hero img {
        max-height: 240px;
    }

    .nos-intro .container,
    .nos-pillars .container,
    .nos-valores .container,
    .nos-clientes .container {
        border-radius: 12px;
        padding: 18px;
    }

    .nos-section {
        padding: 36px 0;
    }

    .nos-section h2 {
        font-size: clamp(1.25rem, 5vw, 1.5rem);
    }

    .nos-valores-grid {
        grid-template-columns: 1fr;
    }

    .nos-clientes-carousel::before,
    .nos-clientes-carousel::after {
        width: 30px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nos-highlight-word,
    .nos-clientes-track {
        animation: none !important;
    }

    .nos-highlight-word::after,
    .nos-cert-title-accent::after {
        animation: none !important;
    }

    .nos-intro-media img {
        transition: none !important;
        transform: none !important;
    }

    .nos-clientes-carousel.is-slider-mode .nos-clientes-track {
        transition: none;
    }
}
