/* ==========================================================================
   LANDINGS TRACK PEOPLE - CSS unificado
   Carga en:
       /turnos.html
       /teletrabajo.html
   No modifica laapp.min.css. Reglas organizadas por landing.

   ÍNDICE
   ------------------------------------------------------------
       1. COMÚN (variables, animaciones, listas, utilidades)
       2. TURNOS — estilos exclusivos de /turnos.html
       3. TELETRABAJO — estilos exclusivos de /teletrabajo.html
   ========================================================================== */


/* ==========================================================================
   1. COMÚN
   Variables de marca, sistema de scroll-reveal, animaciones, listas con check,
   utilidades de mockup y elementos compartidos por ambas landings.
   ========================================================================== */

:root {
    --tp-primary: #3aa5be;
    --tp-primary-dark: #2a8ca3;
    --tp-accent: #b269ac;
    --tp-accent-dark: #6e2d8a;
    --tp-accent-soft: #f0e1ee;
    --tp-dark: #233D63;
    --tp-text: #4a5b75;
    --tp-light: #f7fafc;
    --tp-border: #e6edf3;
    --tp-shadow: 0 18px 40px rgba(35, 61, 99, .12);
    --tp-radius: 14px;
}

/* --- Animaciones on-scroll propias (.tp-reveal + IntersectionObserver) --- */
.tp-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity .8s cubic-bezier(.22, 1, .36, 1),
        transform .8s cubic-bezier(.22, 1, .36, 1);
    transition-delay: var(--tp-d, 0ms);
    will-change: opacity, transform;
}

.tp-reveal.tp-reveal-left { transform: translateX(60px); }
.tp-reveal.tp-reveal-right { transform: translateX(-60px); }
.tp-reveal.tp-reveal-down { transform: translateY(-30px); }
.tp-reveal.tp-fade { transform: none; }

.tp-reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .tp-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* --- Keyframes compartidos --- */
@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes pulseAccent {
    0% { box-shadow: 0 8px 18px rgba(142, 68, 173, .35), 0 0 0 0 rgba(142, 68, 173, .5); }
    100% { box-shadow: 0 8px 18px rgba(142, 68, 173, .35), 0 0 0 18px rgba(142, 68, 173, 0); }
}

/* --- Listas con check (compartidas por ambas landings) --- */
.lista-turnos,
.lista-teletrabajo {
    list-style: none !important;
    padding: 0;
    margin: 0;
}

.lista-turnos li,
.lista-teletrabajo li {
    position: relative;
    padding: 10px 0 10px 42px;
    color: var(--tp-text);
    font-size: 16px;
    line-height: 1.5;
    border-bottom: 1px dashed var(--tp-border);
    list-style: none !important;
    transition: transform .3s ease, padding-left .3s ease;
}

/* Anula ::before/::after heredados del tema (que añaden un check extra). */
.lista-turnos li::before,
.lista-turnos li::after,
.lista-teletrabajo li::before,
.lista-teletrabajo li::after {
    content: none !important;
    display: none !important;
    background: none !important;
    border: 0 !important;
}

.lista-turnos li:last-child,
.lista-teletrabajo li:last-child {
    border-bottom: none;
}

.lista-turnos li:hover,
.lista-teletrabajo li:hover {
    transform: translateX(4px);
    padding-left: 42px;
}

.lista-turnos li i.fas.fa-check,
.lista-teletrabajo li i.fas.fa-check {
    position: absolute;
    left: 0;
    top: 14px;
    width: 24px;
    height: 24px;
    background: var(--tp-primary);
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

/* --- Mockups genéricos --- */
.img-mockup-shadow {
    border-radius: var(--tp-radius);
    max-width: 100%;
    height: auto;
    transition: transform .5s ease;
}

.img-mockup-shadow:hover {
    transform: scale(1.02);
}

.img-mockup-app {
    max-width: 100%;
    margin: 0 auto;
    filter: drop-shadow(0 25px 35px rgba(35, 61, 99, .18));
}

.mockup-app-floating .img-mockup-app {
    animation: heroFloat 5s ease-in-out infinite;
    animation-delay: .5s;
}

/* --- Utilidades comunes --- */
.fa-4x {
    font-size: 3em;
}

.footer-landing {
    background-color: #f8faff;
}

.boxMockupLanding .multidispositivo img {
    width: 35%;
}

.parallax-landing .banner-button {
    width: auto;
    padding: 0 30px;
}


/* ==========================================================================
   2. TURNOS — Estilos exclusivos de /turnos.html
   ========================================================================== */

/* --- Hero --- */
.hero-turnos .hero-eyebrow {
    display: inline-block;
    background: rgba(255, 255, 255, .15);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 18px;
    backdrop-filter: blur(4px);
}

.hero-turnos .multidispositivo,
.hero-turnos .hero-mockup-wrap {
    position: relative;
    text-align: left;
    top: -60px;
}

.hero-turnos .multidispositivo img,
.hero-turnos .hero-mockup-wrap img {
    width: 100%;
    max-width: 360px;
    height: auto;
    filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .3));
    animation: heroFloat 6s ease-in-out infinite;
}

@media (max-width: 991px) {
    .hero-turnos .multidispositivo img,
    .hero-turnos .hero-mockup-wrap img {
        max-width: 300px;
        margin-top: 30px;
    }
}

/* --- Beneficios (4 cards numeradas) --- */
.seccion-beneficios {
    padding: 100px 0 90px;
    background: #fff;
    position: relative;
}

.seccion-beneficios::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(58, 165, 190, .06), transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(142, 68, 173, .06), transparent 40%);
    pointer-events: none;
}

.seccion-beneficios .container {
    position: relative;
    z-index: 1;
}

.beneficios-grid {
    row-gap: 30px;
}

.beneficios-grid > [class*="col-"] {
    margin-bottom: 30px;
}

.beneficio-card {
    position: relative;
    height: 100%;
    background: #fff;
    border: 1px solid var(--tp-border);
    border-radius: var(--tp-radius);
    padding: 38px 28px 30px;
    box-shadow: 0 8px 24px rgba(35, 61, 99, .05);
    overflow: hidden;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.beneficio-card::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 4px;
    width: 0;
    background: linear-gradient(90deg, var(--tp-primary), var(--tp-accent));
    transition: width .45s ease;
}

.beneficio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(35, 61, 99, .12);
    border-color: transparent;
}

.beneficio-card:hover::after {
    width: 100%;
}

.beneficio-num {
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 42px;
    font-weight: 800;
    color: rgba(58, 165, 190, .12);
    letter-spacing: -2px;
    line-height: 1;
}

.beneficio-icon {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--tp-primary), var(--tp-primary-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    font-size: 30px;
    box-shadow: 0 12px 24px rgba(58, 165, 190, .35);
    transition: transform .4s ease;
}

.beneficio-card:hover .beneficio-icon {
    transform: rotate(-6deg) scale(1.05);
}

.beneficio-card h4 {
    color: var(--tp-dark);
    font-weight: 700;
    font-size: 19px;
    margin-bottom: 10px;
    line-height: 1.3;
}

.beneficio-card p {
    color: var(--tp-text);
    font-size: 14.5px;
    line-height: 1.6;
    margin: 0;
}

/* --- Bloques con mockup + texto (Planificación / Tiempo real) --- */
.turnos-planificacion .lead-text,
.turnos-app-tiempo-real .lead-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--tp-dark);
    margin-bottom: 16px;
}

.turnos-app-tiempo-real {
    padding-bottom: 80px;
}

/* --- Modelos de turnos (3 tarjetas) --- */
.modelos-turnos {
    background: var(--tp-light);
    padding: 100px 0;
}

.modelos-grid {
    row-gap: 40px;
}

.modelo-col {
    margin-top: 40px;
    margin-bottom: 10px;
}

.modelo-card {
    position: relative;
    height: 100%;
    background: #fff;
    padding: 70px 30px 40px;
    border-radius: var(--tp-radius);
    box-shadow: 0 8px 24px rgba(35, 61, 99, .07);
    text-align: center;
    transition: transform .35s ease, box-shadow .35s ease;
    border-top: 4px solid var(--tp-primary);
}

.modelo-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--tp-shadow);
}

.modelo-card .modelo-num {
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--tp-primary), var(--tp-primary-dark));
    color: #fff;
    font-weight: 700;
    font-size: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(58, 165, 190, .4);
}

.modelo-card i {
    color: var(--tp-primary);
    margin: 0 0 22px;
    display: inline-block;
}

.modelo-card h4 {
    color: var(--tp-dark);
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 22px;
}

.modelo-card p {
    color: var(--tp-text);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* --- Banner Novedad + Flujo de cambio de turno (TURNOS) --- */
.banner-novedad {
    position: relative;
    padding: 90px 0;
    background: linear-gradient(135deg, var(--tp-accent-soft) 0%, #fff 100%);
    overflow: hidden;
}

.banner-novedad::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -120px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(142, 68, 173, .12), transparent 70%);
    pointer-events: none;
}

.badge-novedad {
    display: inline-block;
    background: var(--tp-accent);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 12px;
    font-weight: 700;
    padding: 7px 18px;
    border-radius: 30px;
    margin-bottom: 18px;
    box-shadow: 0 6px 16px rgba(142, 68, 173, .3);
}

.banner-novedad .main-title {
    color: var(--tp-dark);
}

.banner-novedad .ancla1-wrap {
    margin-top: 30px;
}

.flujo-cambio-turno {
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 12px;
    margin-top: 60px;
}

.flujo-step {
    flex: 1 1 0;
    background: #fff;
    border-radius: var(--tp-radius);
    padding: 34px 22px 28px;
    text-align: center;
    box-shadow: 0 10px 28px rgba(35, 61, 99, .09);
    position: relative;
    min-width: 170px;
    transition: transform .35s ease, box-shadow .35s ease;
    border-top: 3px solid transparent;
}

.flujo-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 40px rgba(142, 68, 173, .18);
    border-top-color: var(--tp-accent);
}

.flujo-step:hover .flujo-icon {
    animation: pulseAccent 1.2s ease infinite;
}

.flujo-step .flujo-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: var(--tp-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 8px 18px rgba(142, 68, 173, .35);
}

.flujo-step .flujo-num {
    color: var(--tp-accent);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.flujo-step h5 {
    color: var(--tp-dark);
    font-weight: 700;
    font-size: 17px;
    margin: 0 0 8px;
}

.flujo-step p {
    color: var(--tp-text);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.flujo-arrow {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tp-accent);
    font-size: 28px;
    padding: 0 10px;
    opacity: .55;
}

@media (max-width: 991px) {
    .flujo-cambio-turno {
        flex-wrap: wrap;
        gap: 18px;
    }

    .flujo-step {
        flex: 0 0 calc(50% - 9px);
    }

    .flujo-arrow {
        display: none;
    }
}

@media (max-width: 575px) {
    .flujo-step {
        flex: 0 0 100%;
    }
}

/* --- Integración (grid de items con icono) --- */
.seccion-integracion {
    background: #fff;
    padding-top: 80px;
    padding-bottom: 80px;
}

.integracion-grid {
    row-gap: 24px;
}

.integracion-grid > [class*="col-"] {
    margin-bottom: 24px;
}

.integracion-grid .integracion-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px 26px;
    background: var(--tp-light);
    border: 1px solid var(--tp-border);
    border-radius: var(--tp-radius);
    height: 100%;
    transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease, background .3s ease;
}

.integracion-grid .integracion-item:hover {
    border-color: var(--tp-primary);
    background: #fff;
    transform: translateY(-5px);
    box-shadow: 0 18px 30px rgba(58, 165, 190, .15);
}

.integracion-grid .integracion-item:hover i {
    background: var(--tp-primary);
    color: #fff;
    transform: rotate(8deg);
}

.integracion-grid .integracion-item i {
    font-size: 26px;
    color: var(--tp-primary);
    width: 54px;
    height: 54px;
    background: rgba(58, 165, 190, .12);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .3s ease, color .3s ease, transform .3s ease;
}

.integracion-grid .integracion-item span {
    font-weight: 600;
    color: var(--tp-dark);
    font-size: 16px;
}

/* --- Ventajas grid (6 cards iconos morados) --- */
.ventajas-grid > [class*="col-"] {
    margin-bottom: 30px;
}

.ventajas-grid .inner-wrapper {
    background: #fff;
    padding: 40px 28px 32px;
    border-radius: var(--tp-radius);
    height: 100%;
    border: 1px solid var(--tp-border);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.ventajas-grid .inner-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 44px rgba(35, 61, 99, .12);
    border-color: transparent;
}

.ventajas-grid .inner-wrapper i {
    transition: transform .5s ease, color .35s ease;
    display: inline-block;
}

.ventajas-grid .inner-wrapper:hover i {
    transform: translateY(-4px) scale(1.08);
}

.ventajas-grid h4 {
    color: var(--tp-dark);
    font-weight: 700;
    font-size: 20px;
}

.ventajas-grid p {
    color: var(--tp-text);
}

/* --- Banner CTA Parallax TURNOS --- */
.parallax-turnos {
    position: relative;
    background-image:
        linear-gradient(120deg, rgba(35, 61, 99, .82) 0%, rgba(58, 165, 190, .65) 100%),
        url("/images/landinTurnos/Turnos02.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 110px 0;
    overflow: hidden;
}

@media (max-width: 991px) {
    .parallax-turnos {
        background-attachment: scroll;
        padding: 80px 0;
    }
}

.parallax-turnos .subtitle {
    color: rgba(255, 255, 255, .85);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 13px;
    font-weight: 600;
}

.parallax-turnos .title {
    color: #fff;
    font-weight: 700;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .25);
}

.parallax-turnos p {
    color: rgba(255, 255, 255, .92);
    text-shadow: 0 1px 8px rgba(0, 0, 0, .2);
}

/* --- Responsive TURNOS --- */
@media (max-width: 767px) {
    .hero-turnos .main-title {
        font-size: 32px;
        line-height: 1.2;
    }

    .turnos-planificacion .row,
    .turnos-app-tiempo-real .row {
        margin-top: 30px !important;
    }

    .modelo-card {
        margin-top: 40px;
    }

    .seccion-integracion {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}


/* ==========================================================================
   3. TELETRABAJO — Estilos exclusivos de /teletrabajo.html
   ========================================================================== */

/* --- Hero --- */
.hero-teletrabajo .hero-eyebrow {
    display: inline-block;
    background: rgba(255, 255, 255, .15);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 18px;
    backdrop-filter: blur(4px);
}

.hero-teletrabajo .multidispositivo,
.hero-teletrabajo .hero-mockup-wrap {
    position: relative;
    text-align: left;
    top: -60px;
}

.hero-teletrabajo .multidispositivo img,
.hero-teletrabajo .hero-mockup-wrap img {
    width: 100%;
    max-width: 360px;
    height: auto;
    filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .3));
    animation: heroFloat 6s ease-in-out infinite;
}

@media (max-width: 991px) {
    .hero-teletrabajo .multidispositivo img,
    .hero-teletrabajo .hero-mockup-wrap img {
        max-width: 300px;
        margin-top: 30px;
    }
}

/* --- Sección doble (Para el empleado / Para el manager) --- */
.seccion-doble {
    padding: 100px 0 90px;
    background: #fff;
    position: relative;
}

.seccion-doble::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(58, 165, 190, .06), transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(142, 68, 173, .06), transparent 40%);
    pointer-events: none;
}

.seccion-doble .container {
    position: relative;
    z-index: 1;
}

.doble-grid {
    row-gap: 30px;
}

.doble-grid > [class*="col-"] {
    margin-bottom: 30px;
}

.doble-card {
    position: relative;
    height: 100%;
    background: #fff;
    border: 1px solid var(--tp-border);
    border-radius: var(--tp-radius);
    padding: 38px 32px 32px;
    box-shadow: 0 8px 24px rgba(35, 61, 99, .05);
    overflow: hidden;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.doble-card::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 4px;
    width: 0;
    background: linear-gradient(90deg, var(--tp-primary), var(--tp-accent));
    transition: width .45s ease;
}

.doble-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(35, 61, 99, .12);
    border-color: transparent;
}

.doble-card:hover::after {
    width: 100%;
}

.doble-card-head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px dashed var(--tp-border);
}

.doble-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    transition: transform .4s ease;
}

.empleado-icon {
    background: linear-gradient(135deg, var(--tp-primary), var(--tp-primary-dark));
    box-shadow: 0 10px 22px rgba(58, 165, 190, .35);
}

.manager-icon {
    background: linear-gradient(135deg, var(--tp-accent), var(--tp-accent-dark));
    box-shadow: 0 10px 22px rgba(142, 68, 173, .35);
}

.doble-card:hover .doble-icon {
    transform: rotate(-6deg) scale(1.05);
}

.doble-tag {
    display: inline-block;
    background: rgba(58, 165, 190, .12);
    color: var(--tp-primary-dark);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 30px;
    margin-bottom: 6px;
}

.doble-tag.manager-tag {
    background: rgba(142, 68, 173, .12);
    color: var(--tp-accent-dark);
}

.doble-card-head h3 {
    color: var(--tp-dark);
    font-weight: 700;
    font-size: 20px;
    margin: 0;
    line-height: 1.25;
}

/* --- Sección "¿Sabes quién teletrabaja hoy?" — Infografía --- */
.teletrabajo-quien {
    padding-top: 100px;
    padding-bottom: 100px;
    background: #fff;
}

.teletrabajo-quien .lead-text,
.teletrabajo-app-tiempo-real .lead-text,
.seccion-gps .lead-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--tp-dark);
    margin-bottom: 16px;
}

.quien-mockup-wrap {
    margin: 60px auto 50px;
    max-width: 1000px;
    text-align: center;
    position: relative;
}

.quien-main-img {
    position: relative;
    display: inline-block;
    max-width: 100%;
    border-radius: 22px;
    overflow: hidden;
}

.quien-main-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .6s ease;
}

.quien-circle {
    position: absolute;
    right: -70px;
    bottom: -40px;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid #fff;
    box-shadow: 0 18px 36px rgba(142, 68, 173, .25);
    background: #fff;
    z-index: 4;
    animation: heroFloat 6s ease-in-out infinite;
    animation-delay: .8s;
}

.quien-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.quien-mockup-wrap .img-mockup-shadow {
    max-width: 100%;
    height: auto;
    border-radius: 18px;
    transition: transform .5s ease;
}

.quien-mockup-wrap .img-mockup-shadow:hover {
    transform: translateY(-4px);
}

.quien-lead {
    font-size: 20px;
    font-weight: 700;
    color: var(--tp-dark);
    margin: 0 0 50px;
    position: relative;
    display: block;
}

.quien-lead::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    border-radius: 3px;
    margin: 14px auto 0;
    background-color: var(--tp-accent);
}

.quien-footnote {
    color: var(--tp-text);
    font-size: 15px;
    margin-top: 20px;
}

/* Infografía 3 steps horizontal */
.flujo-digitalizacion {
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 0;
    margin-bottom: 30px;
}

.digi-step {
    position: relative;
    flex: 1 1 0;
    min-width: 200px;
    background: #fff;
    border: 1px solid var(--tp-border);
    border-radius: var(--tp-radius);
    padding: 50px 26px 28px;
    text-align: center;
    box-shadow: 0 10px 28px rgba(35, 61, 99, .07);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.digi-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 44px rgba(58, 165, 190, .18);
    border-color: var(--tp-primary);
}

.digi-step-num {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--tp-primary), var(--tp-primary-dark));
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 22px rgba(58, 165, 190, .4);
    letter-spacing: 1px;
}

.digi-icon {
    width: 72px;
    height: 72px;
    margin: 8px auto 18px;
    border-radius: 50%;
    background: rgba(58, 165, 190, .12);
    color: var(--tp-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    transition: background .35s ease, color .35s ease, transform .35s ease;
}

.digi-step:hover .digi-icon {
    background: var(--tp-primary);
    color: #fff;
    transform: scale(1.05);
}

.digi-step h5 {
    color: var(--tp-dark);
    font-weight: 700;
    font-size: 17px;
    margin: 0 0 10px;
    line-height: 1.3;
}

.digi-step p {
    color: var(--tp-text);
    font-size: 14.5px;
    line-height: 1.55;
    margin: 0;
}

.digi-arrow {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tp-primary);
    padding: 0 4px;
    align-self: center;
    width: 80px;
    opacity: .55;
}

.digi-arrow svg {
    width: 100%;
    height: auto;
    max-height: 24px;
}

@media (max-width: 1199px) {
    .quien-circle {
        right: -30px;
        bottom: -50px;
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 991px) {
    .flujo-digitalizacion {
        flex-wrap: wrap;
        gap: 24px;
    }

    .digi-step {
        flex: 0 0 calc(50% - 12px);
    }

    .digi-arrow {
        display: none;
    }

    .teletrabajo-quien {
        padding-top: 70px;
        padding-bottom: 70px;
    }
}

@media (max-width: 767px) {
    .quien-circle {
        position: relative;
        right: auto;
        bottom: auto;
        width: 170px;
        height: 170px;
        margin: 24px auto 0;
        display: block;
    }
}

@media (max-width: 575px) {
    .digi-step {
        flex: 0 0 100%;
        min-width: 0;
    }
}

/* --- Sección "Cumple con la Ley" (4 cards con icono) --- */
.seccion-cumple-ley {
    position: relative;
    padding: 100px 0 90px;
    background: #fff;
    overflow: hidden;
}

.seccion-cumple-ley::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 8% 90%, rgba(58, 165, 190, .07), transparent 38%),
        radial-gradient(circle at 92% 10%, rgba(142, 68, 173, .08), transparent 38%);
    pointer-events: none;
}

.seccion-cumple-ley .container {
    position: relative;
    z-index: 1;
}

.cumple-grid {
    row-gap: 30px;
}

.cumple-grid > [class*="col-"] {
    margin-bottom: 30px;
}

.cumple-card {
    position: relative;
    height: 100%;
    background: #fff;
    border: 1px solid var(--tp-border);
    border-radius: var(--tp-radius);
    padding: 38px 26px 30px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(35, 61, 99, .05);
    overflow: hidden;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.cumple-card::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--tp-primary), var(--tp-accent));
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .45s ease;
}

.cumple-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 44px rgba(35, 61, 99, .12);
    border-color: transparent;
}

.cumple-card:hover::before {
    transform: scaleX(1);
}

.cumple-icon {
    width: 78px;
    height: 78px;
    margin: 0 auto 22px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--tp-primary), var(--tp-primary-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    box-shadow: 0 14px 28px rgba(58, 165, 190, .35);
    transition: transform .4s ease, background .4s ease, box-shadow .4s ease;
}

.cumple-grid > [class*="col-"]:nth-child(even) .cumple-icon {
    background: linear-gradient(135deg, var(--tp-accent), var(--tp-accent-dark));
    box-shadow: 0 14px 28px rgba(142, 68, 173, .35);
}

.cumple-card:hover .cumple-icon {
    transform: rotate(-6deg) scale(1.05);
}

.cumple-card h4 {
    color: var(--tp-dark);
    font-weight: 700;
    font-size: 19px;
    margin: 0 0 12px;
    line-height: 1.3;
}

.cumple-card p {
    color: var(--tp-text);
    font-size: 14.5px;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 767px) {
    .seccion-cumple-ley {
        padding: 70px 0 60px;
    }
}

/* --- Sección "¿Teletrabajo o trabajo presencial?" (texto + bullets + imagen + foto circular) --- */
.seccion-ley {
    position: relative;
    padding: 100px 0 110px;
    background: linear-gradient(135deg, var(--tp-accent-soft) 0%, #fff 100%);
    overflow: hidden;
}

.seccion-ley::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -120px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(142, 68, 173, .12), transparent 70%);
    pointer-events: none;
}

.seccion-ley .main-title {
    color: var(--tp-dark);
}

.ley-grid {
    margin-top: 50px;
}

.ley-text .lead-text {
    font-size: 17px;
    line-height: 1.65;
    color: var(--tp-text);
    margin-bottom: 26px;
}

.lista-ley {
    list-style: none !important;
    padding: 0;
    margin: 0 0 36px;
}

.lista-ley li {
    position: relative;
    padding: 12px 0 12px 32px;
    color: var(--tp-text);
    font-size: 16px;
    line-height: 1.5;
    list-style: none !important;
    transition: transform .3s ease;
}

.lista-ley li::before,
.lista-ley li::after {
    content: none !important;
    display: none !important;
    background: none !important;
    border: 0 !important;
}

.lista-ley li:hover {
    transform: translateX(4px);
}

.lista-ley li i.fas {
    position: absolute;
    left: 0;
    top: 16px;
    color: var(--tp-accent);
    font-size: 14px;
    transform: rotate(45deg);
}

.lista-ley li strong {
    color: var(--tp-dark);
    font-weight: 700;
}

.ley-cta {
    display: inline-block;
    margin-left: 0;
}

.ley-mockup {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding-bottom: 60px;
}

.ley-main-img {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 28px 60px rgba(35, 61, 99, .22);
    aspect-ratio: 16 / 10;
    z-index: 1;
}

.ley-main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s ease;
}

.ley-main-img:hover img {
    transform: scale(1.03);
}

.ley-mockup-photo {
    position: absolute;
    bottom: 0;
    right: 24px;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid #fff;
    box-shadow: 0 18px 36px rgba(142, 68, 173, .25);
    z-index: 2;
    animation: heroFloat 6s ease-in-out infinite;
    animation-delay: .8s;
}

.ley-mockup-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 991px) {
    .seccion-ley {
        padding: 70px 0 80px;
    }

    .ley-mockup {
        margin-top: 50px;
        padding-bottom: 70px;
    }

    .ley-mockup-photo {
        width: 140px;
        height: 140px;
        right: 12px;
    }
}

@media (max-width: 575px) {
    .ley-mockup-photo {
        width: 110px;
        height: 110px;
        right: 8px;
    }

    .ley-mockup {
        padding-bottom: 60px;
    }
}

/* --- Sección GPS / geolocalización --- */
.seccion-gps {
    background: var(--tp-light);
    padding: 100px 0;
}

.seccion-gps .img-mockup-shadow {
    max-width: 100%;
    margin: 0 auto;
    display: block;
}

/* --- Sección Informes (4 cards) --- */
.seccion-informes {
    background: #fff;
    padding-top: 90px;
    padding-bottom: 90px;
}

.informes-grid {
    row-gap: 30px;
}

.informes-grid > [class*="col-"] {
    margin-bottom: 30px;
}

.informe-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--tp-border);
    border-radius: var(--tp-radius);
    padding: 34px 30px 30px;
    box-shadow: 0 8px 24px rgba(35, 61, 99, .05);
    display: flex;
    gap: 22px;
    align-items: flex-start;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.informe-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(35, 61, 99, .12);
    border-color: var(--tp-primary);
}

.informe-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--tp-primary), var(--tp-primary-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 10px 20px rgba(58, 165, 190, .3);
    transition: transform .4s ease;
}

.informe-card:hover .informe-icon {
    transform: rotate(-6deg) scale(1.05);
}

.informe-card h4 {
    color: var(--tp-dark);
    font-weight: 700;
    font-size: 19px;
    margin-bottom: 10px;
    line-height: 1.3;
}

.informe-card p {
    color: var(--tp-text);
    font-size: 14.5px;
    line-height: 1.55;
    margin: 0;
}

@media (max-width: 575px) {
    .informe-card {
        flex-direction: column;
        gap: 14px;
    }
}

/* --- Banner CTA Parallax TELETRABAJO --- */
.parallax-teletrabajo {
    position: relative;
    background-image:
        linear-gradient(120deg, rgba(35, 61, 99, .82) 0%, rgba(58, 165, 190, .65) 100%),
        url("/images/LandingTeletrabajo/teletrabajo.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 110px 0;
    overflow: hidden;
}

@media (max-width: 991px) {
    .parallax-teletrabajo {
        background-attachment: scroll;
        padding: 80px 0;
    }
}

.parallax-teletrabajo .subtitle {
    color: rgba(255, 255, 255, .85);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 13px;
    font-weight: 600;
}

.parallax-teletrabajo .title {
    color: #fff;
    font-weight: 700;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .25);
}

.parallax-teletrabajo p {
    color: rgba(255, 255, 255, .92);
    text-shadow: 0 1px 8px rgba(0, 0, 0, .2);
}

/* --- Responsive TELETRABAJO --- */
@media (max-width: 767px) {
    .hero-teletrabajo .main-title {
        font-size: 32px;
        line-height: 1.2;
    }

    .teletrabajo-quien .row,
    .teletrabajo-app-tiempo-real .row,
    .seccion-gps .row {
        margin-top: 30px !important;
    }

    .seccion-doble {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .seccion-informes {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}
