/* =======================================================
   HOME.CSS - Escuela Internacional Intur Perú
   Archivo consolidado de la HOME.
   - Mantiene el resto de secciones de la home.
   - Ordena el hero y el popup.
   - No usar CSS Blade como {{ asset(...) }} dentro de este archivo.
   Ruta pública sugerida: /home/lkcwpvkf/escuela/css/home.css
   ======================================================= */

/* =======================================================
   1. HERO HOME - versión comercial con formulario
   ======================================================= */

.intur-home-hero,
.intur-home-hero-old,
.intur-home-hero-old * {
    box-sizing: border-box;
}

.intur-home-hero {
    min-height: 720px;
    background-image:
        linear-gradient(90deg, rgba(3,16,31,.94) 0%, rgba(3,16,31,.82) 50%, rgba(3,16,31,.50) 100%),
        url('/img/hero/estudiante-universitaria-laptop-educacion-a-distancia-intur-peru.webp');
    background-size: cover;
    background-position: center;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 130px 0 70px;
}

.intur-home-hero-old {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 32px);
    overflow: hidden;
    background: #061b35;
    color: #fff;
}

.intur-home-hero-old .slider-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.intur-home-hero-old .hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: brightness(.48);
    opacity: 0;
    transition: opacity .8s ease;
}

.intur-home-hero-old .hero-image.active {
    opacity: 1;
}

.intur-home-hero-old .hero-content {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    width: min(620px, 48vw);
    z-index: 5;
    color: #fff;
    text-align: left;
}

.intur-home-hero-old .hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(46px, 4.55vw, 72px);
    line-height: .94;
    margin: 0 0 4px;
    font-weight: 900;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: -1px;
}

.intur-home-hero-old .percent-line {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 -8px;
}

.intur-home-hero-old .big-percent {
    font-size: clamp(48px, 4.65vw, 74px);
    line-height: .95;
    margin: 0 0 -6px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -1.5px;
}

.intur-home-hero-old .white-line-deco {
    height: 4px;
    width: 165px;
    background: #fff;
    position: relative;
    border-radius: 10px;
}

.intur-home-hero-old .white-line-deco::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    transform: translateY(-50%);
}

.intur-home-hero-old .highlight-yellow {
    display: block;
    font-size: clamp(42px, 4.55vw, 72px);
    line-height: .95;
    margin: 0 0 18px;
    font-weight: 900;
    color: #ffcc00;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.intur-home-hero-old .hero-tagline {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(15px, 1.15vw, 20px);
    letter-spacing: 4px;
    margin: 0 0 18px;
    text-transform: uppercase;
    color: #fff;
    font-weight: 500;
    line-height: 1.4;
}

.intur-home-hero-old .escalera-texto {
    display: inline-block;
    margin-left: 58px;
}

.intur-home-hero-old .hero-subtitle-yellow {
    font-size: clamp(23px, 1.8vw, 32px);
    color: #ffcc00;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1;
    margin: 0;
}

.intur-home-hero-old .licenciamiento-box {
    position: absolute;
    bottom: 34px;
    left: 8%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.intur-home-hero-old .lic-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 19px;
    line-height: 1.08;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 1px 1px 3px rgba(0,0,0,.75);
}

.intur-home-hero-old .lic-logo-box {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    max-width: 360px;
}

.intur-home-hero-old .lic-logo-box img {
    display: block;
    width: 310px;
    max-width: 100%;
    max-height: 76px;
    height: auto;
    object-fit: contain;
    filter: none;
}

.intur-home-hero-old .hero-form-card {
    position: absolute;
    right: 7%;
    top: 56%;
    transform: translateY(-50%);
    width: min(410px, 30vw);
    z-index: 20;
    background: rgba(255,255,255,.97);
    border-radius: 22px;
    padding: 28px 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,.32);
    color: #101a2d;
}

.intur-home-hero-old .hero-form-title {
    font-size: 30px;
    font-weight: 900;
    color: #103a89;
    margin: 0 0 6px;
    text-align: center;
    line-height: 1.1;
}

.intur-home-hero-old .hero-form-subtitle {
    font-size: 16px;
    color: #555;
    text-align: center;
    margin: 0 0 20px;
}

/* Formulario actual dentro del hero */
.intur-form-card {
    background: rgba(255,255,255,.98);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 28px 80px rgba(0,0,0,.27);
    color: #101a2d;
}

.intur-form-card h2 {
    color: #0b4a92;
    font-size: 30px;
    line-height: 1;
    margin: 0 0 8px;
}

.intur-form-card > p {
    color: #606d80;
    margin: 0 0 22px;
}

.intur-form,
.intur-home-hero-old .hero-form-card .intur-form {
    display: grid;
    gap: 11px;
}

.intur-form label,
.intur-home-hero-old .hero-form-card .intur-form label {
    display: grid;
    gap: 6px;
    margin: 0;
}

.intur-form label > span,
.intur-home-hero-old .hero-form-card .intur-form label > span {
    font-size: 12px;
    font-weight: 900;
    color: #103a89;
}

.intur-form input,
.intur-form select,
.intur-home-hero-old .hero-form-card .intur-form input,
.intur-home-hero-old .hero-form-card .intur-form select {
    width: 100%;
    min-height: 46px;
    border: 1px solid #d8e0eb;
    border-radius: 10px;
    padding: 0 15px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #222;
    background: #fff;
    outline: none;
}

.intur-form input:focus,
.intur-form select:focus,
.intur-home-hero-old .hero-form-card .intur-form input:focus,
.intur-home-hero-old .hero-form-card .intur-form select:focus {
    border-color: #103a89;
    box-shadow: 0 0 0 3px rgba(16,58,137,.08);
}

.intur-check,
.intur-home-hero-old .hero-form-card .intur-check {
    display: flex !important;
    align-items: flex-start;
    gap: 9px !important;
    margin-top: 2px;
    color: #555;
    font-size: 13px;
    line-height: 1.35;
}

.intur-check input,
.intur-home-hero-old .hero-form-card .intur-check input {
    width: 17px;
    min-height: auto;
    height: 17px;
    margin-top: 2px;
    flex: 0 0 auto;
}

.intur-check span,
.intur-home-hero-old .hero-form-card .intur-check span {
    color: #555;
    font-size: 13px;
    font-weight: 500;
}

.intur-submit,
.intur-home-hero-old .hero-form-card .intur-submit {
    width: 100%;
    min-height: 52px;
    border: 0;
    border-radius: 10px;
    background: #ed001f;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.intur-submit:hover,
.intur-home-hero-old .hero-form-card .intur-submit:hover {
    background: #c9001b;
    transform: translateY(-1px);
}

/* =======================================================
   2. POPUP DE CAPTACIÓN
   ======================================================= */

.intur-lead-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: rgba(3,16,31,.72);
    backdrop-filter: blur(4px);
}

.intur-lead-popup.is-visible {
    display: flex;
}

.intur-lead-popup-card {
    position: relative;
    width: min(94vw,460px);
    background: #fff;
    border-radius: 24px;
    padding: 34px;
    box-shadow: 0 30px 90px rgba(0,0,0,.34);
    color: #101a2d;
}

.intur-lead-popup-close {
    position: absolute;
    top: 14px;
    right: 16px;
    border: 0;
    background: transparent;
    color: #0b4a92;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    font-weight: 800;
}

.intur-lead-popup-card h2 {
    color: #0b4a92;
    font-size: 30px;
    line-height: 1;
    margin: 0 0 8px;
    text-align: center;
}

.intur-lead-popup-card > p {
    color: #606d80;
    margin: 0 0 22px;
    text-align: center;
}

/* =======================================================
   3. SECCIONES EXISTENTES DE HOME
   ======================================================= */

/* Bloque resumen */
.intur-summary {
    background: #fff;
    padding: 38px 0 0;
}

.intur-summary-grid {
    display: grid;
    grid-template-columns: 1.35fr repeat(3,1fr);
    gap: 26px;
    align-items: stretch;
}

.intur-summary h2 {
    color: #101a2d;
    font-size: 34px;
    line-height: 1.05;
    margin: 8px 0 10px;
}

.intur-summary p {
    color: #64728a;
    line-height: 1.6;
    margin: 0;
}

.intur-stat {
    background: #f3f6fa;
    border-radius: 20px;
    padding: 26px;
    display: grid;
    align-content: center;
}

.intur-stat strong {
    color: #0b4a92;
    font-size: 42px;
    line-height: 1;
}

.intur-stat span {
    color: #64728a;
    font-weight: 900;
    margin-top: 10px;
}

/* Programas */
.intur-program-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 28px;
}

.intur-program-card {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid #e7edf5;
    box-shadow: 0 18px 46px rgba(8,27,53,.08);
    transition: transform .2s ease, box-shadow .2s ease;
}

.intur-program-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 70px rgba(8,27,53,.14);
}

.intur-program-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    background: #eef3f9;
}

.intur-program-card div {
    padding: 24px;
}

.intur-program-card span,
.intur-card-kicker {
    color: #ed0711;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: 11px;
    font-weight: 900;
}

.intur-program-card h3 {
    color: #101a2d;
    font-size: 27px;
    line-height: 1.05;
    margin: 12px 0 12px;
}

.intur-program-card p {
    color: #64728a;
    line-height: 1.55;
    margin: 0 0 18px;
}

.intur-program-card a:not(:first-child) {
    color: #101a2d;
    font-weight: 900;
    text-decoration: none;
}

/* Franja institucional */
.intur-dark-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: center;
}

.intur-dark-grid .title,
.intur-final h2 {
    color: #fff;
}

.intur-mini-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 14px;
}

.intur-mini-grid span {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 16px;
    padding: 18px;
    color: #fff;
    font-weight: 800;
}

/* Ruta clara */
.intur-route-grid {
    display: grid;
    grid-template-columns: .9fr 1fr;
    gap: 52px;
    align-items: center;
}

.intur-route-box {
    background: #f3f6fa;
    border: 1px solid #e7edf5;
    border-radius: 24px;
    padding: 44px;
}

.intur-route-box h2 {
    color: #101a2d;
    font-size: clamp(34px,4vw,56px);
    line-height: .98;
    margin: 12px 0;
}

.intur-route-box p {
    color: #64728a;
    line-height: 1.6;
}

/* Pasos */
.intur-step-list {
    display: grid;
    gap: 20px;
}

.intur-step-list div {
    display: grid;
    grid-template-columns: 54px 1fr;
    column-gap: 18px;
    align-items: start;
}

.intur-step-list strong {
    grid-row: span 2;
    background: #0b4a92;
    color: #fff;
    border-radius: 15px;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    font-size: 22px;
}

.intur-step-list span {
    color: #101a2d;
    font-weight: 900;
    font-size: 21px;
}

.intur-step-list p {
    margin: 5px 0 0;
    color: #64728a;
}

/* Convalidación */
.intur-conv-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 70px;
    align-items: center;
}

.intur-conv-copy h2 {
    font-size: clamp(38px,4.2vw,58px);
    line-height: .96;
    color: #101a2d;
    margin: 12px 0 18px;
}

.intur-conv-copy p {
    color: #64728a;
    line-height: 1.65;
    max-width: 620px;
}

.intur-conv-card {
    background: #fff;
    border: 1px solid #e7edf5;
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(8,27,53,.10);
    padding: 30px;
}

.intur-conv-card h3 {
    color: #0b4a92;
    font-size: 28px;
    margin: 0 0 10px;
}

/* Recursos */
.intur-resources .content-card {
    min-height: 230px;
}

/* =======================================================
   4. RESPONSIVE
   ======================================================= */

@media (max-width: 1200px) {
    .intur-home-hero-old .hero-content {
        left: 6%;
        width: min(560px, 48vw);
    }

    .intur-home-hero-old .hero-form-card {
        right: 5%;
        width: 380px;
    }

    .intur-home-hero-old .licenciamiento-box {
        left: 6%;
    }
}

@media (max-width: 1020px) {
    .intur-home-hero {
        padding: 115px 0 55px;
    }

    .intur-hero-grid,
    .intur-summary-grid,
    .intur-program-grid,
    .intur-dark-grid,
    .intur-route-grid,
    .intur-conv-grid {
        grid-template-columns: 1fr;
    }

    .intur-form-card,
    .intur-conv-card {
        max-width: 520px;
    }
}

@media (max-width: 980px) {
    .intur-home-hero-old {
        min-height: auto;
        padding: 125px 20px 48px;
    }

    .intur-home-hero-old .hero-image {
        object-position: center center;
        filter: brightness(.42);
    }

    .intur-home-hero-old .hero-content,
    .intur-home-hero-old .hero-form-card,
    .intur-home-hero-old .licenciamiento-box {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        transform: none;
        width: min(100%, 520px);
        margin-left: auto;
        margin-right: auto;
    }

    .intur-home-hero-old .hero-content {
        text-align: center;
        margin-bottom: 28px;
    }

    .intur-home-hero-old .percent-line {
        justify-content: center;
    }

    .intur-home-hero-old .white-line-deco {
        width: 105px;
    }

    .intur-home-hero-old .escalera-texto {
        margin-left: 0;
    }

    .intur-home-hero-old .licenciamiento-box {
        align-items: center;
        text-align: center;
        margin-top: 26px;
    }

    .intur-home-hero-old .lic-logo-box {
        justify-content: center;
    }

    .intur-home-hero-old .lic-logo-box img {
        width: min(300px, 82vw);
        max-height: 76px;
    }

    .intur-home-hero-old .hero-form-card {
        margin-top: 24px;
        padding: 26px 22px;
    }

    .intur-lead-popup-card {
        padding: 28px 22px;
        border-radius: 20px;
    }
}

@media (max-width: 640px) {
    .intur-home-hero {
        min-height: auto;
    }

    .intur-form-card {
        padding: 24px;
        border-radius: 20px;
    }

    .intur-program-card h3 {
        font-size: 23px;
    }

    .intur-mini-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .intur-home-hero-old {
        padding-top: 110px;
    }

    .intur-home-hero-old .hero-title,
    .intur-home-hero-old .highlight-yellow {
        font-size: 36px;
    }

    .intur-home-hero-old .big-percent {
        font-size: 44px;
    }

    .intur-home-hero-old .hero-tagline {
        font-size: 13px;
        letter-spacing: 2px;
    }

    .intur-home-hero-old .lic-logo-box img {
        width: min(280px, 82vw);
        max-height: 68px;
    }

    .intur-home-hero-old .hero-form-title {
        font-size: 24px;
    }
}

/* =======================================================
   HOME MOBILE FINAL INTUR - HERO FULL SCREEN MAS AIRE
   Solo para Home en móvil.
   ======================================================= */

@media (max-width: 768px) {
    html,
    body {
        overflow-x: hidden;
    }

    .intur-home-hero-old {
        min-height: 100svh;
        height: 100svh;
        padding: 94px 18px 138px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        position: relative;
    }

    .intur-home-hero-old .slider-wrapper,
    .intur-home-hero-old .hero-image {
        position: absolute;
        inset: 0;
    }

    .intur-home-hero-old .hero-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
        filter: brightness(.34);
    }

    .intur-home-hero-old .hero-content {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        width: 100% !important;
        max-width: 370px;
        margin: 0 auto !important;
        z-index: 5;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .intur-home-hero-old .hero-title {
        width: 100%;
        text-align: center;
        font-size: clamp(29px, 8.8vw, 39px);
        line-height: 1.06;
        letter-spacing: -.35px;
        margin: 0 auto 16px;
    }

    .intur-home-hero-old .percent-line {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 14px;
        margin: 0 auto 16px;
        text-align: center;
    }

    .intur-home-hero-old .big-percent {
        font-size: clamp(39px, 11.2vw, 48px);
        line-height: .98;
        margin: 0;
        text-align: center;
    }

    .intur-home-hero-old .white-line-deco {
        width: min(112px, 30vw);
        height: 3px;
        flex: 0 0 auto;
    }

    .intur-home-hero-old .white-line-deco::after {
        width: 13px;
        height: 13px;
    }

    .intur-home-hero-old .highlight-yellow {
        width: 100%;
        text-align: center;
        font-size: clamp(30px, 9vw, 39px);
        line-height: 1.06;
        margin: 0 auto 32px;
    }

    .intur-home-hero-old .hero-tagline {
        width: 100%;
        text-align: center;
        font-size: 12px;
        line-height: 1.75;
        letter-spacing: 3px;
        margin: 0 auto 34px;
    }

    .intur-home-hero-old .escalera-texto {
        display: inline;
        margin-left: 0;
    }

    .intur-home-hero-old .hero-subtitle-yellow {
        width: 100%;
        text-align: center;
        font-size: 23px;
        line-height: 1.15;
        margin: 0 auto;
    }

    .intur-home-hero-old .hero-form-card {
        display: none !important;
    }

    .intur-home-hero-old .licenciamiento-box {
        position: absolute !important;
        left: 24px !important;
        right: auto !important;
        bottom: 34px !important;
        top: auto !important;
        transform: none !important;
        width: calc(100% - 48px);
        max-width: 250px;
        margin: 0 !important;
        z-index: 6;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .intur-home-hero-old .lic-text {
        font-size: 14px;
        line-height: 1.15;
        text-align: left;
        margin: 0 0 12px;
    }

    .intur-home-hero-old .lic-logo-box {
        width: 100%;
        max-width: 245px;
        justify-content: flex-start;
        margin: 0;
        overflow: hidden;
    }

    .intur-home-hero-old .lic-logo-box img {
        width: min(235px, 62vw);
        max-width: 100%;
        max-height: 58px;
        object-fit: contain;
    }

    .intur-home-hero-old * {
        max-width: 100%;
    }
}

@media (max-width: 390px) {
    .intur-home-hero-old {
        padding-left: 14px;
        padding-right: 14px;
        padding-bottom: 132px;
    }

    .intur-home-hero-old .hero-content {
        max-width: 340px;
    }

    .intur-home-hero-old .hero-title,
    .intur-home-hero-old .highlight-yellow {
        font-size: 31px;
    }

    .intur-home-hero-old .big-percent {
        font-size: 41px;
    }

    .intur-home-hero-old .hero-title {
        margin-bottom: 15px;
    }

    .intur-home-hero-old .percent-line {
        margin-bottom: 15px;
    }

    .intur-home-hero-old .highlight-yellow {
        margin-bottom: 30px;
    }

    .intur-home-hero-old .hero-tagline {
        font-size: 11px;
        letter-spacing: 2.4px;
        line-height: 1.75;
        margin-bottom: 32px;
    }

    .intur-home-hero-old .licenciamiento-box {
        left: 18px !important;
        bottom: 30px !important;
        max-width: 230px;
    }

    .intur-home-hero-old .lic-logo-box img {
        width: min(220px, 60vw);
    }
}

@supports not (height: 100svh) {
    @media (max-width: 768px) {
        .intur-home-hero-old {
            min-height: 100vh;
            height: 100vh;
        }
    }
}
