/* =============================================
   LANDING CUSTOM — Selex
   Estilos específicos para template-landing-custom.php
   Depende de css/styles.css (cargado previamente)
   ============================================= */

/* Playfair Display — serif italiano con soporte completo de caracteres */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital@1&display=swap');


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

.landing-hero {
    width: 100%;
    border-radius: 30px;
    background: url('../img/bg-hero.png') center center no-repeat #fff;
    background-size: cover;
    padding: 50px 40px;
}

.landing-hero .lh-kicker {
    display: inline-block;
    color: #007A7B;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.landing-hero h1 {
    font-family: 'Raleway', sans-serif;
    color: #007A7B;
    font-size: 52px;
    line-height: 1.2;
    font-weight: 700;
    margin: 0 0 20px;
}

.landing-hero .lh-tagline {
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #2E2E2E;
    margin: 0;
}

.landing-hero .lh-img {
    display: block;
}

.landing-hero .lh-img img {
    display: block;
    width: 100%;
}

@media (max-width: 1023px) {
    .landing-hero { padding: 40px 20px; }
    .landing-hero h1 { font-size: 32px; }
    .landing-hero .lh-tagline { font-size: 16px; }
    .landing-hero .lh-img { max-width: 220px; margin: 30px auto 0; }
}


/* =====================
   INTRO: IDIOMAS + MCE
   ===================== */

.landing-intro-idiomas {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.landing-intro-idiomas img {
    max-width: 44px;
    border-radius: 4px;
}

.landing-intro-idiomas .lse-label {
    font-size: 15px;
    font-weight: 600;
    color: #2E2E2E;
    padding-left: 6px;
    border-left: 2px solid #A0CE4E;
}

.landing-hola {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    color: #007A7B;
    font-size: 52px;
    line-height: 1;
    margin: 0 0 10px;
}

.landing-intro-sub {
    font-size: 14px;
    color: #777;
    font-weight: 500;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}


/* =====================
   CATEGORÍAS
   ===================== */

.cats-slider {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: center;
    margin-top: 40px;
    padding: 8px 4px 20px;
}

.cats-slider::-webkit-scrollbar {
    display: none;
}

.cat-card {
    flex: 0 0 170px;
    scroll-snap-align: start;
    background: #fff;
    border-radius: 20px;
    padding: 28px 18px 22px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    box-sizing: border-box;
}

.cat-card:hover {
    border-color: #A0CE4E;
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.07);
}

.cat-card .cat-ico {
    width: 56px;
    height: 56px;
    margin-bottom: 14px;
}

.cat-card .cat-ico img {
    display: block;
    width: 100%;
}

.cat-card h3 {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #2E2E2E;
    margin: 0 0 8px;
    line-height: 1.35;
}

.cat-card p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin: 0;
    flex-grow: 1;
}

@media (min-width: 1024px) {
    .cat-card { flex: 0 0 200px; }
}


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

.prog-header {
    margin-bottom: 36px;
}

.prog-ico {
    display: block;
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
}

.prog-header h2 {
    font-family: 'Raleway', sans-serif;
    color: #2E2E2E;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.2;
    margin: 6px 0 10px;
}

.prog-subtitulo {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    color: #555;
    margin: 0;
    font-style: italic;
}

.prog-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 52px;
    align-items: start;
}

.prog-body.no-precio {
    grid-template-columns: 1fr;
    max-width: 720px;
}

/* Columna derecha: precio + pago */
.prog-col-precio {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.texto-italico {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    color: #007A7B;
    font-size: 22px;
    line-height: 1.45;
    margin: 0;
}

/* Precio destacado */
.precio-display {
    border-left: 4px solid #A0CE4E;
    padding: 8px 0 8px 20px;
}

.pd-label {
    display: block;
    font-family: 'Raleway', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #888;
    margin-bottom: 2px;
}

.pd-ars {
    display: block;
    font-family: 'Raleway', sans-serif;
    font-size: 44px;
    font-weight: 800;
    color: #2E2E2E;
    line-height: 1.1;
}

.pd-usd {
    display: block;
    font-family: 'Raleway', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #007A7B;
    margin-top: 2px;
}

/* Texto forma de pago */
.forma-pago-txt {
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    color: #555;
    line-height: 1.55;
    margin: 0;
}

.forma-pago-txt strong { color: #2E2E2E; font-weight: 700; }

.forma-pago-txt .paypal-txt {
    font-weight: 700;
    color: #003087;
    font-style: italic;
}

/* Botones de pago */
.pago-btns {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pago-embed {
    display: flex;
}

.btn-pago {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 8px;
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s ease;
    white-space: nowrap;
}

.btn-pago:hover { opacity: 0.85; }

.btn-paypal { background: #FFC439; color: #003087; }
.btn-mp     { background: #009EE3; color: #fff; }

.btn-consultar {
    background: #25D366;
    color: #fff;
}

.btn-consultar .icon {
    display: inline-flex;
    align-items: center;
}

.btn-consultar .icon img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
}

.btn-preinscripcion-pago {
    background: #007A7B;
    color: #fff;
}

/* Override bullets: corrige desalineación en items multilínea */
.listed li {
    align-items: flex-start;
}
.listed li::before {
    font-size: 22px;
    line-height: 24px;
    flex-shrink: 0;
}

/* Estilos para contenido generado por wysiwyg en columna izquierda de programas
   (ul sin clase .listed, h4 de subsecciones, párrafos de intro) */
.prog-col-info ul {
    margin-bottom: 20px;
    padding: 0 0 0 20px;
    list-style: none;
}
.prog-col-info ul li {
    list-style: none;
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 24px;
    color: #2e2e2e;
    display: flex;
    align-items: flex-start;
}
.prog-col-info ul li::before {
    content: "\2022";
    color: #007a7b;
    font-weight: bold;
    display: inline-block;
    width: 20px;
    margin-left: -20px;
    font-size: 22px;
    line-height: 24px;
    flex-shrink: 0;
}
.prog-col-info h4 {
    font-family: 'Raleway', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #2E2E2E;
    margin: 18px 0 8px;
}

/* Sub-secciones en Job Interview */
.programa-subseccion {
    margin-bottom: 18px;
}

.programa-subseccion h4 {
    font-family: 'Raleway', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #2E2E2E;
    margin: 0 0 8px;
}

.listed.sub {
    margin-bottom: 8px;
    padding-left: 16px;
}

@media (max-width: 1023px) {
    .prog-body {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .prog-header h2 { font-size: 26px; }
    .pd-ars { font-size: 36px; }
}


/* =====================
   TESTIMONIOS
   ===================== */

.testim-landing {
    margin-top: 40px;
    padding-bottom: 40px;
}

.testim-landing .swiper-slide {
    height: auto;
}

.testim-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px 24px;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-top: 4px solid #A0CE4E;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.testim-quote {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 16px;
    color: #2E2E2E;
    line-height: 1.65;
    margin: 0;
    flex-grow: 1;
}

.testim-autor {
    display: flex;
    flex-direction: column;
    gap: 3px;
    border-top: 1px solid #eee;
    padding-top: 16px;
}

.testim-autor strong {
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #2E2E2E;
}

.testim-autor span {
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
    color: #888;
}

.testim-pagination .swiper-pagination-bullet-active {
    background: #A0CE4E;
}

@media (min-width: 1024px) {
    .testim-landing { padding-bottom: 0; }
    .testim-pagination { display: none; }
}


/* =====================
   STATS — Nosotros
   ===================== */

.landing-stats-intro {
    text-align: center;
    margin-bottom: 40px;
}

.landing-stats-intro .stats-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    color: #2E2E2E;
    font-size: 36px;
    font-weight: 400;
    margin: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
    border-left: 2px solid #2E2E2E;
    padding-left: 24px;
    text-align: left;
}

.stat-item .stat-num {
    display: block;
    font-family: 'Raleway', sans-serif;
    font-style: normal;
    font-weight: 800;
    font-size: 72px;
    color: #E8831A;
    line-height: 1;
    margin-bottom: 6px;
}

.stat-item .stat-label {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #A0CE4E;
    margin-bottom: 8px;
}

.stat-item p {
    font-size: 15px;
    color: #2E2E2E;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 1023px) {
    .stats-grid { grid-template-columns: 1fr; gap: 24px; }
    .stat-item .stat-num { font-size: 54px; }
    .landing-stats-intro .stats-heading { font-size: 28px; }
}


/* =====================
   LOGOS CLIENTES
   ===================== */

.logos-clientes-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px 20px;
    margin-top: 30px;
}

.logos-clientes-grid img {
    max-height: 44px;
    max-width: 100px;
    object-fit: contain;
    filter: grayscale(30%);
    opacity: 0.85;
    transition: all 0.3s ease;
}

.logos-clientes-grid img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@media (max-width: 1023px) {
    .logos-clientes-grid img { max-height: 36px; max-width: 80px; }
}


/* =====================
   MAPA / CONTACTO
   ===================== */

.landing-mapa-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.landing-mapa-wrap .mapa-img img {
    display: block;
    max-width: 100%;
}

.landing-mapa-rrss {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.landing-mapa-rrss a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #E6F3C8;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.landing-mapa-rrss a:hover { background: #A0CE4E; }

.landing-mapa-rrss a img { width: 20px; height: 20px; }

@media (max-width: 1023px) {
    .landing-mapa-wrap { grid-template-columns: 1fr; }
}
