/* =========================================================
INKTEK - NOSOTROS
Archivo: css/nosotros.css
========================================================= */

/* =========================================================
VARIABLES LOCALES
========================================================= */

.nosotros-hero,
.nosotros-section,
.nosotros-final-section {
    --nos-blue: #0d6efd;
    --nos-blue-dark: #062f6b;
    --nos-green: #198754;
    --nos-green-light: #00cc88;
    --nos-dark: #252a31;
    --nos-text: #4f5863;
    --nos-muted: #858e99;
    --nos-border: #e7ebf0;
    --nos-light: #f7f9fc;
    --nos-shadow: 0 12px 35px rgba(20,30,50,0.07);
    --nos-shadow-hover: 0 22px 55px rgba(20,30,50,0.13);
    --nos-radius: 22px;
}

/* =========================================================
HERO
========================================================= */

.nosotros-hero {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--gradient-main);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    margin-bottom: 20px;
    padding: 85px 0 100px;
    z-index: 1;
}

.nosotros-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.nosotros-hero-bg::before {
    content: "";
    position: absolute;
    width: 430px;
    height: 430px;
    left: -180px;
    top: -150px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.25);
    background: radial-gradient(
        circle,
        rgba(255,255,255,0.20),
        transparent 65%
    );
    box-shadow: 0 0 60px rgba(0,204,136,0.12);
    animation: nosotrosHeroFloat 10s ease-in-out infinite;
}

.nosotros-hero-bg::after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -220px;
    top: -190px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.40);
    background: radial-gradient(
        circle,
        rgba(0,204,136,0.25),
        transparent 65%
    );
    box-shadow: 0 0 70px rgba(13,110,253,0.10);
    animation: nosotrosHeroRotate 24s linear infinite;
}

.nosotros-hero .container {
    position: relative;
    z-index: 5;
}

.nosotros-hero .container::before {
    content: "";
    position: absolute;
    width: 90px;
    height: 90px;
    top: -40px;
    right: 8%;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.25);
    animation: nosotrosDecorFloat 6s ease-in-out infinite;
}

.nosotros-hero .container::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    top: 40px;
    left: 8%;
    border-radius: 50%;
    background: rgba(255,255,255,0.85);
    box-shadow:
        30px 55px 0 rgba(255,255,255,0.30),
        -18px 95px 0 rgba(0,204,136,0.50);
    animation: nosotrosDotsFloat 7s ease-in-out infinite;
}

/* =========================================================
CURVA INFERIOR DEL HERO
========================================================= */

.nosotros-hero::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 65px;
    background: #fff;
    z-index: 10;
    pointer-events: none;
    clip-path: polygon(
        0 0,
        35% 40%,
        70% 85%,
        100% 0,
        100% 100%,
        0 100%
    );
}

/* =========================================================
CONTENIDO DEL HERO
========================================================= */

.nosotros-header-content {
    position: relative;
    z-index: 5;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 20px 55px;
    text-align: center;
    color: #fff;
}

.nosotros-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 7px 18px;
    margin-bottom: 15px;
    border-radius: 30px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.28);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: rgba(255,255,255,0.95);
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    animation: nosotrosHeroFade 0.8s ease both;
}

.nosotros-eyebrow i {
    color: #6fffc1;
    font-size: 15px;
}

.nosotros-header-content h1 {
    margin: 0;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.15;
    font-weight: 700;
    text-shadow: 0 3px 15px rgba(0,0,0,0.15);
    animation: nosotrosHeroTitle 0.9s cubic-bezier(.22,1,.36,1) both;
}

.nosotros-header-content p {
    max-width: 680px;
    margin: 12px auto 0;
    color: rgba(255,255,255,0.90);
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 26px;
    animation: nosotrosHeroText 1s ease 0.15s both;
}

.nosotros-hero-line {
    width: 70px;
    height: 4px;
    margin: 22px auto 0;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 0 12px rgba(255,255,255,0.45);
    animation: nosotrosLineGrow 0.8s ease 0.35s both;
}

/* =========================================================
SECCIONES GENERALES
========================================================= */

.nosotros-section {
    position: relative;
    padding: 90px 0;
    background: #fff;
    overflow: hidden;
}

.nosotros-section > .container {
    position: relative;
    z-index: 2;
}

/* =========================================================
QUIÉNES SOMOS
========================================================= */

.nosotros-quienes {
    background: #fff;
    padding: 80px 0 100px;
}

.nosotros-quienes::before {
    content: "";
    position: absolute;
    width: 430px;
    height: 430px;
    left: -300px;
    top: 100px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(13,110,253,0.055),
        transparent 68%
    );
    pointer-events: none;
}

.nosotros-quienes::after {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    right: -250px;
    bottom: -100px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(0,204,136,0.055),
        transparent 70%
    );
    pointer-events: none;
}

.nosotros-title-small {
    font-size: 32px !important;
}

.nosotros-intro-text {
    max-width: 100% !important;
    color: var(--nos-text) !important;
    line-height: 1.8;
}

/* =========================================================
MISIÓN / VISIÓN
========================================================= */

.mv-card {
    position: relative;
    height: 100%;
    padding: 27px 24px;
    background: #fff;
    border: 1px solid var(--nos-border);
    border-radius: var(--nos-radius);
    box-shadow: var(--nos-shadow);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.mv-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--nos-shadow-hover);
    border-color: rgba(25,135,84,0.25);
}

.icon-mv {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 17px;
    border-radius: 15px;
    background: linear-gradient(
        135deg,
        rgba(13,110,253,0.10),
        rgba(0,204,136,0.10)
    );
    color: var(--nos-green);
    font-size: 23px;
}

.mv-card h5 {
    margin-bottom: 10px;
    color: var(--nos-dark);
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 700;
}

.mv-card p {
    margin: 0;
    color: var(--nos-text);
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    line-height: 1.75;
}

/* =========================================================
FRASE DESTACADA
========================================================= */

.frase-destacada {
    position: relative;
    margin-top: 0;
    padding: 25px 27px;
    overflow: hidden;
    border-radius: var(--nos-radius);
    background: linear-gradient(
        135deg,
        #f5f9ff,
        #f1faf6
    );
    border: 1px solid #e5edf0;
}

.frase-destacada::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    right: -45px;
    top: -45px;
    border-radius: 50%;
    background: rgba(0,204,136,0.08);
}

.frase-destacada blockquote {
    position: relative;
    margin: 0 0 8px;
    color: var(--nos-blue-dark);
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    line-height: 1.45;
    font-weight: 700;
}

.frase-destacada p {
    position: relative;
    margin: 0;
    color: var(--nos-muted);
    font-size: 12px;
}

/* =========================================================
VALORES
========================================================= */

.nosotros-valores {
    position: relative;
    background: #f7f9fc;
    padding: 110px 0 115px;
}

.nosotros-valores .section-title {
    position: relative;
    z-index: 3;
}

.nosotros-valores .section-title .title {
    color: var(--nos-dark);
}

.nosotros-valores .section-title p {
    color: var(--nos-text);
}

/* =========================================================
ONDAS
========================================================= */

.nosotros-section .section-wave {
    position: absolute;
    left: 0;
    width: 100%;
    height: 120px;
    display: block;
    z-index: 3;
    pointer-events: none;
}

.nosotros-section .wave-top {
    top: 0;
}

.nosotros-section .wave-bottom {
    bottom: 0;
}

.nosotros-valores .wave-top {
    transform: translateY(-1px);
}

.nosotros-valores .wave-bottom {
    transform: translateY(1px);
}

/* =========================================================
TARJETAS DE VALORES
========================================================= */

.nosotros-card {
    position: relative;
    padding: 30px 20px;
    background: #fff;
    border: 1px solid var(--nos-border);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(20,30,50,0.055);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.nosotros-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(20,30,50,0.10);
    border-color: rgba(25,135,84,0.25);
}

.icon-circle {
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 17px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        rgba(13,110,253,0.10),
        rgba(0,204,136,0.13)
    );
    color: var(--nos-green);
    font-size: 24px;
    transition:
        transform 0.35s ease,
        background 0.35s ease,
        color 0.35s ease;
}

.nosotros-card:hover .icon-circle {
    transform: scale(1.08) rotate(5deg);
    background: linear-gradient(
        135deg,
        rgba(13,110,253,0.15),
        rgba(0,204,136,0.20)
    );
    color: var(--nos-green);
}

.nosotros-card h6 {
    margin-bottom: 8px;
    color: var(--nos-dark) !important;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
}

.nosotros-card p {
    color: var(--nos-text) !important;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    line-height: 1.65;
}

/* =========================================================
EQUIPO
========================================================= */

.nosotros-equipo {
    background: #fff;
    padding: 95px 0 105px;
}

.nosotros-equipo::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    left: -360px;
    top: 180px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(13,110,253,0.045),
        transparent 68%
    );
    pointer-events: none;
}

.nosotros-equipo::after {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    right: -320px;
    top: 400px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(0,204,136,0.045),
        transparent 68%
    );
    pointer-events: none;
}

/* =========================================================
TARJETAS DEL EQUIPO
========================================================= */

.team-card {
    height: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--nos-border);
    border-radius: 22px;
    box-shadow: var(--nos-shadow);
    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease,
        border-color 0.4s ease;
}

.team-card:hover {
    transform: translateY(-9px);
    box-shadow: var(--nos-shadow-hover);
    border-color: rgba(25,135,84,0.25);
}

.team-card > img {
    width: 100%;
    height: 260px;
    display: block;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.team-card:hover > img {
    transform: scale(1.045);
}

.team-body {
    padding: 22px 20px 20px;
}

.team-body h5 {
    margin: 0 0 5px;
    color: var(--nos-dark) !important;
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 700;
}

.team-body .cargo {
    display: block;
    margin-bottom: 10px;
    color: var(--nos-green) !important;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 700;
}

.team-body p {
    min-height: 58px;
    margin-bottom: 15px;
    color: var(--nos-text) !important;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    line-height: 1.65;
}

/* =========================================================
BOTONES
========================================================= */

.nosotros-section .nosotros-btn-primary {
    color: #fff;
}

.nosotros-section .nosotros-btn-primary:hover {
    color: #fff;
}

.nosotros-section .nosotros-btn-secondary {
    color: var(--nos-green);
    background: #fff;
    border: 1px solid var(--nos-green);
}

.nosotros-section .nosotros-btn-secondary:hover {
    color: var(--nos-green);
    background: #f0faf5;
    border-color: var(--nos-green);
}

.nosotros-equipo .btn-outline-success {
    color: var(--nos-green);
    background: #fff;
    border-color: var(--nos-green);
}

.nosotros-equipo .btn-outline-success:hover,
.nosotros-equipo .btn-outline-success:focus {
    color: #fff;
    background: var(--nos-green);
    border-color: var(--nos-green);
}

/* =========================================================
MODALES
========================================================= */

.nosotros-equipo .modal-content {
    border-radius: 22px;
    border-width: 1px;
    box-shadow: 0 25px 70px rgba(20,30,50,0.18);
}

.nosotros-equipo .modal-title {
    color: var(--nos-dark) !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.nosotros-equipo .modal-body {
    color: var(--nos-text);
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    line-height: 1.7;
}

.nosotros-equipo .modal-body h6 {
    color: var(--nos-green) !important;
}

.nosotros-equipo .modal-body li {
    margin-bottom: 8px;
    color: var(--nos-text);
}

.nosotros-equipo .modal-body a {
    color: var(--nos-green);
}

.nosotros-equipo .modal-body a:hover {
    color: #146c43;
}

.nosotros-equipo .modal-footer .btn-outline-success {
    color: var(--nos-green);
    background: #fff;
}

.nosotros-equipo .modal-footer .btn-outline-success:hover {
    color: #fff;
    background: var(--nos-green);
}

/* =========================================================
FRASE FINAL
========================================================= */

/*
   IMPORTANTE:
   ESTA ES LA ÚNICA SECCIÓN QUE LLEVA LA IMAGEN
   img/destacados.jpg
*/

.nosotros-final-section {
    position: relative;
    overflow: hidden;
    padding: 105px 0 90px;
    color: #fff;

    background-image: url("img/destacados.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* =========================================================
CURVA / PUNTA SUPERIOR DEL CTA
MISMA FORMA QUE CONTACTANOS
========================================================= */

.nosotros-final-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 65px;
    background: #fff;
    z-index: 10;
    pointer-events: none;

    clip-path: polygon(
        0 100%,
        30% 0,
        100% 100%,
        100% 0,
        0 0
    );
}

/* =========================================================
DECORACIÓN CTA
========================================================= */

.nosotros-final-section::after {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    right: -260px;
    bottom: -300px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.18);
    pointer-events: none;
    z-index: 1;
}

/* =========================================================
CONTENEDOR CTA
========================================================= */

.nosotros-final-section .container {
    position: relative;
    z-index: 20;
}

/* =========================================================
TEXTO CTA
========================================================= */

.nosotros-final-section h2 {
    margin: 0;
    color: #fff !important;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(25px, 4vw, 36px);
    font-weight: 700;
}

.nosotros-final-section p {
    max-width: 720px;
    margin: 13px auto 0;
    color: rgba(255,255,255,0.90) !important;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

.nosotros-final-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--nos-blue-dark) !important;
    background: #fff !important;
    border-color: #fff !important;
}

.nosotros-final-btn:hover {
    color: var(--nos-blue-dark) !important;
    background: #f2f5f8 !important;
    border-color: #f2f5f8 !important;
}

/* =========================================================
ANIMACIONES HERO
========================================================= */

@keyframes nosotrosHeroFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(18px) scale(1.03);
    }
}

@keyframes nosotrosHeroRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes nosotrosDecorFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(15px);
    }
}

@keyframes nosotrosDotsFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes nosotrosHeroFade {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes nosotrosHeroTitle {
    from {
        opacity: 0;
        transform: translateY(25px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes nosotrosHeroText {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes nosotrosLineGrow {
    from {
        opacity: 0;
        transform: scaleX(0);
    }

    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

/* =========================================================
RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .nosotros-hero {
        min-height: 300px;
        padding: 75px 0 90px;
    }

    .nosotros-header-content {
        padding-bottom: 45px;
    }

    .nosotros-quienes {
        padding: 70px 0 85px;
    }

    .nosotros-valores {
        padding: 100px 0;
    }

    .nosotros-equipo {
        padding: 75px 0 90px;
    }

    .team-card > img {
        height: 250px;
    }

    /* CTA FINAL */
    .nosotros-final-section {
        padding: 95px 0 80px;
    }
}

@media (max-width: 767px) {

    .nosotros-hero {
        min-height: 280px;
        padding: 65px 0 85px;
    }

    .nosotros-hero-bg::before {
        width: 300px;
        height: 300px;
        left: -170px;
        top: -100px;
    }

    .nosotros-hero-bg::after {
        width: 350px;
        height: 350px;
        right: -190px;
        top: -130px;
    }

    .nosotros-hero .container::before {
        display: none;
    }

    .nosotros-hero .container::after {
        left: 5%;
        top: 30px;
    }

    .nosotros-header-content {
        padding: 10px 15px 40px;
    }

    .nosotros-header-content h1 {
        font-size: 36px;
    }

    .nosotros-header-content p {
        font-size: 14px;
        line-height: 22px;
    }

    .nosotros-hero::after {
        height: 45px;
    }

    .nosotros-section .section-wave {
        height: 75px;
    }

    .nosotros-quienes {
        padding: 60px 0 70px;
    }

    .nosotros-title-small {
        font-size: 28px !important;
    }

    .mv-card {
        padding: 22px 18px;
    }

    .frase-destacada {
        padding: 21px;
    }

    .frase-destacada blockquote {
        font-size: 16px;
    }

    .nosotros-valores {
        padding: 80px 0 85px;
    }

    .nosotros-card {
        padding: 24px 15px;
    }

    .icon-circle {
        width: 54px;
        height: 54px;
        font-size: 21px;
    }

    .nosotros-equipo {
        padding: 65px 0 75px;
    }

    .team-card > img {
        height: 280px;
    }

    /* CTA FINAL */
    .nosotros-final-section {
        padding: 80px 20px 70px;
    }

    /* Curva superior */
    .nosotros-final-section::before {
        height: 45px;

        clip-path: polygon(
            0 100%,
            35% 45%,
            70% 15%,
            100% 100%,
            100% 0,
            0 0
        );
    }

    .nosotros-final-section p {
        font-size: 14px;
    }
}

@media (max-width: 575px) {

    .nosotros-hero {
        padding: 55px 0 75px;
    }

    .nosotros-eyebrow {
        font-size: 10px;
        padding: 6px 14px;
    }

    .nosotros-header-content h1 {
        font-size: 32px;
    }

    .nosotros-header-content p {
        font-size: 13px;
    }

    .nosotros-quienes {
        padding: 50px 0 60px;
    }

    .nosotros-valores {
        padding: 70px 0 75px;
    }

    .nosotros-equipo {
        padding: 55px 0 65px;
    }

    .team-card > img {
        height: 260px;
    }

    .team-body {
        padding: 19px 17px;
    }

    /* CTA FINAL */
    .nosotros-final-section {
        padding: 75px 18px 60px;
    }

    .nosotros-final-section::before {
        height: 40px;

        clip-path: polygon(
            0 100%,
            35% 45%,
            70% 15%,
            100% 100%,
            100% 0,
            0 0
        );
    }

    .nosotros-final-section h2 {
        font-size: 25px;
    }

    .nosotros-final-section p {
        font-size: 13px;
    }
}

/* =========================================================
CORRECCIONES DE TEXTO / HOVER
Evita texto blanco sobre fondos claros
========================================================= */

.nosotros-section h1,
.nosotros-section h2,
.nosotros-section h3,
.nosotros-section h4,
.nosotros-section h5,
.nosotros-section h6 {
    color: var(--nos-dark);
}

.nosotros-section p {
    color: var(--nos-text);
}

.nosotros-section a {
    transition:
        color 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.nosotros-section .btn:hover {
    text-decoration: none;
}

/* Evita que StyleP cambie colores de los títulos */

.nosotros-valores .section-title .title span,
.nosotros-equipo .section-title .title span {
    color: var(--nos-green);
}

/* =========================================================
REDUCCIÓN DE MOVIMIENTO
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .nosotros-hero-bg::before,
    .nosotros-hero-bg::after,
    .nosotros-hero .container::before,
    .nosotros-hero .container::after,
    .nosotros-eyebrow,
    .nosotros-header-content h1,
    .nosotros-header-content p,
    .nosotros-hero-line {
        animation: none;
    }

    .mv-card,
    .nosotros-card,
    .team-card,
    .team-card > img,
    .icon-circle {
        transition: none;
    }
}