@charset "UTF-8";

/**
 * Landing Page: Postécnicos en Enfermería
 * Ruta sugerida: /wp-content/themes/uin/assets/css/style-postecnico.css
 */

/* ==========================================================
   LANDING PAGE — POSTÉCNICOS EN ENFERMERÍA
========================================================== */

.pt-uin {
    --pt-blue: #0054a4;
    --pt-blue-dark: #003d7b;
    --pt-blue-card: #075fae;
    --pt-lime: #d6de23;
    --pt-text: #28292a;
    --pt-muted: #55585b;
    --pt-gray: #f3f3f3;
    --pt-card-gray: #e6e6e6;

    width: 100%;
    overflow: hidden;
    background: #fff;
    color: var(--pt-text);
    font-family: "Noir Pro", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.45;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.pt-uin *,
.pt-uin *::before,
.pt-uin *::after {
    box-sizing: border-box;
}

.pt-uin img {
    display: block;
    max-width: 100%;
}

.pt-uin a {
    text-decoration: none;
}

.pt-wrap {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}

.pt-section {
    padding: 66px 0;
}

.pt-section--gray {
    background: var(--pt-gray);
}

.pt-heading {
    margin: 0 0 38px;
    color: #111;
    font-size: clamp(27px, 2.75vw, 38px);
    font-weight: 500;
    line-height: 1.18;
    text-align: center;
    letter-spacing: -0.02em;
}

.pt-copy {
    margin: 0 0 14px;
    color: var(--pt-text);
    font-size: 15px;
    line-height: 1.55;
}

.pt-copy:last-child {
    margin-bottom: 0;
}

/* ==========================================================
   HERO
========================================================== */

.pt-hero {
    width: 100%;
    overflow: hidden;
    background: #e7edf1;
}

.pt-hero img {
    width: 100%;
    height: auto;
    transition:
        transform 0.8s ease,
        filter 0.8s ease;
}

.pt-hero:hover img {
    transform: scale(1.015);
    filter: saturate(1.04);
}

/* ==========================================================
   INTRO
========================================================== */

.pt-intro {
    padding: 62px 0 67px;
    background: #fff;
}

.pt-intro__inner {
    max-width: 1010px;
    margin: 0 auto;
    text-align: center;
}

.pt-intro h1 {
    margin: 0;
    color: #111;
    font-size: clamp(31px, 3.15vw, 43px);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.025em;
}

.pt-intro__lead {
    margin: 26px 0 34px;
    color: #111;
    font-size: clamp(19px, 1.8vw, 24px);
    font-weight: 500;
}

.pt-intro__body {
    text-align: left;
}

/* ==========================================================
   FRANJA DE BENEFICIOS
========================================================== */

.pt-benefits {
    position: relative;
    padding: 48px 0 47px;
    overflow: hidden;

    background-image:
        linear-gradient(
            90deg,
            rgba(1, 50, 109, 0.93),
            rgba(0, 65, 137, 0.93)
        ),
        url("../../imagenes/postecnicos/bg_GrandeA.jpg");

    background-position: center;
    background-size: cover;
}

.pt-benefits::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;

    background: linear-gradient(
        90deg,
        rgba(0, 31, 79, 0.15),
        transparent 45%,
        rgba(0, 31, 79, 0.12)
    );
}

.pt-benefits .pt-wrap {
    position: relative;
    z-index: 1;
}

.pt-benefits__title {
    margin: 0 0 39px;
    color: var(--pt-lime);
    font-size: clamp(27px, 2.7vw, 36px);
    font-weight: 500;
    text-align: center;
}

.pt-benefits__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
}

.pt-benefit {
    position: relative;
    min-height: 170px;
    padding: 0 26px;
    color: #fff;
    text-align: center;

    transition:
        transform 0.35s ease,
        filter 0.35s ease;
}

.pt-benefit:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 1px;
    right: 0;
    width: 1px;
    height: 150px;
    background: rgba(255, 255, 255, 0.32);
}

.pt-benefit:hover {
    transform: translateY(-7px);
}

.pt-benefit__icon {
    display: flex;
    width: 88px;
    height: 82px;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: var(--pt-lime);

    transition:
        transform 0.35s ease,
        filter 0.35s ease;
}

.pt-benefit:hover .pt-benefit__icon {
    transform: translateY(-4px) scale(1.07);
    filter: drop-shadow(
        0 8px 13px rgba(214, 222, 35, 0.24)
    );
}

.pt-benefit__icon svg {
    width: 72px;
    height: 72px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pt-benefit p {
    max-width: 190px;
    margin: 0 auto;
    color: #fff;
    font-size: 15px;
    line-height: 1.35;
}

.pt-benefits__action {
    margin-top: 28px;
    text-align: center;
}

/* ==========================================================
   BOTONES
========================================================== */

.pt-btn {
    display: inline-flex;
    min-height: 39px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 22px;
    border: 0;
    border-radius: 3px;

    background: var(--pt-lime);
    color: #003765 !important;

    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;

    box-shadow: 0 7px 16px rgba(0, 34, 66, 0.12);

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.pt-btn:hover,
.pt-btn:focus {
    background: #fff;
    color: var(--pt-blue) !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0, 34, 66, 0.2);
}

.pt-btn:active {
    transform: translateY(-1px);
}

/* ==========================================================
   BLOQUES DE INFORMACIÓN
========================================================== */

.pt-info {
    padding: 59px 0 65px;
}

.pt-info--gray {
    background: #f1f1f1;
}

.pt-info__title {
    margin: 0 0 36px;
    color: #111;
    font-size: clamp(27px, 2.55vw, 36px);
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
}

.pt-split {
    display: grid;
    grid-template-columns:
        minmax(0, 1.13fr)
        minmax(330px, 0.87fr);
    align-items: center;
    gap: 44px;
}

.pt-split--image-left {
    grid-template-columns:
        minmax(330px, 0.87fr)
        minmax(0, 1.13fr);
}

/*
 * CONTENEDOR DE IMÁGENES
 * Se aumentó la altura y se posicionó la imagen arriba
 * para evitar cortar rostros o cabezas.
 */

.pt-image {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 11px;
    background: #e9eef2;

    box-shadow:
        0 8px 22px rgba(0, 41, 79, 0.1);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.pt-image:hover {
    transform: translateY(-5px);

    box-shadow:
        0 16px 34px rgba(0, 41, 79, 0.16);
}

.pt-image img {
    width: 100%;
    height: 340px;

    object-fit: cover;
    object-position: center top;

    transition:
        transform 0.55s ease,
        filter 0.55s ease;
}

.pt-image:hover img {
    transform: scale(1.025);
    filter: saturate(1.05);
}

/*
 * Ajustes individuales para las imágenes.
 * Esto permite controlar dónde se enfoca cada fotografía.
 */

.pt-info:nth-of-type(1) .pt-image img {
    object-position: center top;
}

.pt-info:nth-of-type(2) .pt-image img {
    object-position: center 20%;
}

.pt-info:nth-of-type(3) .pt-image img {
    object-position: center top;
}

.pt-list {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.pt-list li {
    position: relative;
    margin: 5px 0;
    padding-left: 19px;
    color: #26282a;
    font-size: 14px;
    line-height: 1.35;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.pt-list li:hover {
    color: var(--pt-blue);
    transform: translateX(4px);
}

.pt-list li::before {
    content: "";
    position: absolute;
    top: 0.43em;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;

    background: var(--pt-lime);

    box-shadow:
        0 0 0 1px rgba(77, 89, 0, 0.25);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.pt-list li:hover::before {
    transform: scale(1.22);

    box-shadow:
        0 0 0 4px rgba(214, 222, 35, 0.18);
}

/* ==========================================================
   PROGRAMAS
========================================================== */

.pt-programs {
    padding: 69px 0 78px;
    background: #fff;
}

.pt-programs .pt-wrap {
    width: min(1080px, calc(100% - 48px));
}

.pt-programs__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 32px;

    width: 100%;
    max-width: 900px;
    margin: 43px auto 0;
}

.pt-program {
    display: flex;
    min-width: 0;
    min-height: 515px;
    flex-direction: column;
    overflow: hidden;

    border: 1px solid rgba(0, 84, 164, 0.12);
    border-radius: 11px;

    background: var(--pt-blue-card);

    box-shadow:
        0 7px 18px rgba(0, 58, 113, 0.13);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.pt-program:hover {
    transform: translateY(-9px);
    border-color: rgba(214, 222, 35, 0.48);

    box-shadow:
        0 20px 38px rgba(0, 58, 113, 0.22);
}

.pt-program__image {
    position: relative;
    width: 100%;
    height: 245px;
    flex: 0 0 245px;
    overflow: hidden;
    background: #dfe8ef;
}

.pt-program__image::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 90px;
    pointer-events: none;

    background: linear-gradient(
        180deg,
        rgba(7, 95, 174, 0) 0%,
        rgba(7, 95, 174, 0.3) 50%,
        var(--pt-blue-card) 100%
    );
}

.pt-program__image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center top;

    transition:
        transform 0.6s ease,
        filter 0.6s ease;
}

.pt-program:hover .pt-program__image img {
    transform: scale(1.05);
    filter: saturate(1.07);
}

.pt-program__body {
    display: flex;
    min-height: 270px;
    flex: 1;
    flex-direction: column;
    align-items: center;

    padding: 23px 30px 27px;

    background: var(--pt-blue-card);
    color: #fff;
    text-align: center;
}

.pt-program h3 {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;

    margin: 0 0 14px;

    color: var(--pt-lime);

    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-align: center;

    transition: color 0.25s ease;
}

.pt-program:hover h3 {
    color: #f1f43b;
}

.pt-program p {
    width: 100%;
    min-height: 108px;
    margin: 0;

    color: #fff;

    font-size: 14px;
    font-weight: 400;
    line-height: 1.48;
    text-align: justify;
    text-align-last: center;
}

.pt-program__body .pt-btn {
    min-width: 180px;
    min-height: 39px;
    margin-top: auto;
    padding: 8px 20px;
    border-radius: 3px;
    font-size: 14px;
}

.pt-program__body .pt-btn:hover,
.pt-program__body .pt-btn:focus {
    background: #fff;
    color: var(--pt-blue) !important;
}

/* ==========================================================
   CAMPO PROFESIONAL
========================================================== */

.pt-career {
    padding: 64px 0 70px;
    background: var(--pt-gray);
}

.pt-career__intro {
    margin-top: 31px;
}

.pt-career__cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.pt-career__card {
    min-height: 165px;
    padding: 24px 31px;

    border: 1px solid #dadada;
    background: #e7e7e7;

    transition:
        transform 0.3s ease,
        background-color 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.pt-career__card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 84, 164, 0.25);
    background: #ededed;

    box-shadow:
        0 13px 26px rgba(0, 46, 89, 0.11);
}

.pt-career__card h3 {
    margin: 0 0 13px;
    color: #343536;
    font-size: 16px;
    font-weight: 500;

    transition: color 0.25s ease;
}

.pt-career__card:hover h3 {
    color: var(--pt-blue);
}

.pt-career__card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pt-career__card li {
    position: relative;
    margin: 4px 0;
    padding-left: 17px;
    color: #666;
    font-size: 13px;
    line-height: 1.25;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.pt-career__card li:hover {
    color: var(--pt-blue-dark);
    transform: translateX(3px);
}

.pt-career__card li::before {
    content: "◉";
    position: absolute;
    top: 0;
    left: 0;
    color: #777;
    font-size: 10px;
}

/* ==========================================================
   ESPACIO PARA FAQS
========================================================== */

.pt-faq-slot {
    background: #fff;
}

/* ==========================================================
   CTA
========================================================== */

.pt-cta {
    position: relative;
    padding: 48px 0 50px;
    overflow: hidden;

    background-image:
        linear-gradient(
            90deg,
            rgba(0, 67, 137, 0.91),
            rgba(0, 79, 153, 0.92)
        ),
        url("../../imagenes/postecnicos/bg_GrandeB.png");

    background-position: center;
    background-size: cover;
    text-align: center;
}

.pt-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;

    background: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 0.08),
        transparent 58%
    );

    opacity: 0;
    transition: opacity 0.4s ease;
}

.pt-cta:hover::before {
    opacity: 1;
}

.pt-cta .pt-wrap {
    position: relative;
    z-index: 1;
}

.pt-cta h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(25px, 2.5vw, 34px);
    font-weight: 500;
}

.pt-cta p {
    max-width: 800px;
    margin: 17px auto 21px;
    color: #fff;
    font-size: 18px;
    line-height: 1.35;
}

/* ==========================================================
   ANIMACIONES DE ENTRADA
========================================================== */

.pt-reveal {
    opacity: 0;
    transform: translateY(24px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.pt-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================
   RESPONSIVE — TABLET
========================================================== */

@media (max-width: 991px) {

    .pt-benefits__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px 0;
    }

    .pt-benefit:nth-child(2)::after {
        display: none;
    }

    .pt-split,
    .pt-split--image-left {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .pt-split--image-left .pt-image {
        order: 2;
    }

    .pt-image img {
        height: 420px;
        object-position: center top;
    }

    .pt-programs__grid {
        max-width: 820px;
        gap: 24px;
    }

    .pt-program {
        min-height: 500px;
    }

    .pt-program__image {
        height: 225px;
        flex-basis: 225px;
    }

    .pt-program__body {
        min-height: 275px;
        padding: 22px 23px 25px;
    }

    .pt-program h3 {
        font-size: 17px;
    }

    .pt-program p {
        font-size: 13.5px;
    }
}

/* ==========================================================
   RESPONSIVE — MÓVIL
========================================================== */

@media (max-width: 767px) {

    .pt-wrap {
        width: calc(100% - 32px);
    }

    .pt-section,
    .pt-info,
    .pt-programs,
    .pt-career {
        padding: 52px 0;
    }

    .pt-intro {
        padding: 48px 0 52px;
    }

    .pt-intro__body {
        text-align: center;
    }

    .pt-benefits {
        padding: 45px 0;
    }

    .pt-benefits__grid {
        grid-template-columns: 1fr;
    }

    .pt-benefit {
        min-height: auto;
        padding: 0 15px 20px;
    }

    .pt-benefit:not(:last-child)::after {
        top: auto;
        right: 20%;
        bottom: -9px;
        left: 20%;
        width: 60%;
        height: 1px;
    }

    .pt-image img {
        height: 330px;
        object-position: center top;
    }

    .pt-programs .pt-wrap {
        width: calc(100% - 32px);
    }

    .pt-programs__grid {
        grid-template-columns: 1fr;
        max-width: 430px;
        gap: 28px;
        margin-top: 34px;
    }

    .pt-program {
        min-height: auto;
    }

    .pt-program__image {
        height: 235px;
        flex-basis: 235px;
    }

    .pt-program__body {
        min-height: 295px;
        padding: 24px 24px 27px;
    }

    .pt-program h3 {
        min-height: auto;
        margin-bottom: 15px;
        font-size: 18px;
    }

    .pt-program p {
        min-height: auto;
        margin-bottom: 27px;
        font-size: 14px;
        text-align: center;
    }

    .pt-program__body .pt-btn {
        margin-top: auto;
    }

    .pt-career__cards {
        grid-template-columns: 1fr;
    }

    .pt-cta p {
        font-size: 16px;
    }
}

/* ==========================================================
   RESPONSIVE — MÓVIL PEQUEÑO
========================================================== */

@media (max-width: 480px) {

    .pt-wrap,
    .pt-programs .pt-wrap {
        width: calc(100% - 26px);
    }

    .pt-programs__grid {
        max-width: 100%;
    }

    .pt-image img {
        height: 270px;
        object-position: center top;
    }

    .pt-program__image {
        height: 210px;
        flex-basis: 210px;
    }

    .pt-program__body {
        min-height: 310px;
        padding: 22px 20px 24px;
    }

    .pt-program h3 {
        font-size: 17px;
    }

    .pt-program p {
        font-size: 13.5px;
        line-height: 1.5;
    }

    .pt-career__card {
        padding: 22px 20px;
    }
}

/* ==========================================================
   REDUCIR MOVIMIENTO
========================================================== */

@media (prefers-reduced-motion: reduce) {

    .pt-uin *,
    .pt-uin *::before,
    .pt-uin *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .pt-reveal {
        opacity: 1;
        transform: none;
    }
}