:root {
    --blue-deep: #1c273b;
    --blue-mid: #14598d;
    --blue-brand: #0989c7;
    --blue-light: #4bb5eb;
    --yellow: #f3e500;
    --yellow-hover: #d9cc00;
    --black: #1c273b;
    --white: #ffffff;
    --gray-100: #f4f6fb;
    --gray-200: #e8ecf4;
    --gray-400: #9aa5bc;
    --gray-600: #5a6480;
    --gray-800: #2a3148;
    --text: #1c273b;
}

/* Bootstrap Overrides to Corporate Colors */
.text-primary,
.title-accent {
    color: var(--blue-brand) !important;
}

.text-warning,
.accent-yellow {
    color: var(--yellow) !important;
}

.bg-primary {
    background-color: var(--blue-brand) !important;
}

.bg-warning {
    background-color: var(--yellow) !important;
}

.bg-dark-blue,
.bg-deep {
    background-color: var(--blue-deep) !important;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body,
input,
select,
textarea,
button {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
}

.dot-blue {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: var(--blue-brand);
    border-radius: 50%;
    margin-right: 12px;
    margin-bottom: 3px;
    vertical-align: middle;
}

/* ── TOPBAR ── */
.topbar {
    background: var(--blue-deep);
    padding: 12px 24px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0, 0, 0, .4);
}

.topbar-logo {
    display: block;
    margin: 0 auto;
}

/* ── HERO ── */
.hero {
    background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-mid) 55%, #0f3a80 100%);
    position: relative;
    overflow: hidden;
    padding: 72px 24px 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(26, 95, 209, .35) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -60px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 200, 0, .08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 200, 0, .15);
    border: 1px solid rgba(245, 200, 0, .3);
    color: var(--yellow);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(30px, 4.2vw, 52px);
    color: var(--white);
    margin-bottom: 14px;
    line-height: 1.1;
}

.hero h1 span {
    color: var(--yellow);
}

.hero-un-anio {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    margin-top: 15px;
}

.hero-un-anio-icon {
    font-size: 24px;
    line-height: 1;
    animation: icon-pulse 2.2s ease-in-out infinite;
    display: inline-block;
}

@keyframes icon-pulse {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0px rgba(243, 229, 0, 0))
    }

    50% {
        transform: scale(1.18);
        filter: drop-shadow(0 0 8px rgba(243, 229, 0, .7))
    }
}

.hero-un-anio-text {
    font-size: clamp(20px, 2.2vw, 26px);
    font-weight: 900;
    color: var(--white);
    line-height: 1;
}

.hero-un-anio-text span {
    color: var(--yellow);
    position: relative;
    padding-bottom: 3px;
}

.hero-un-anio-text span::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, transparent, var(--yellow), transparent);
    background-size: 200% 100%;
    animation: underline-sweep 2s ease-in-out infinite;
    border-radius: 2px;
}

@keyframes underline-sweep {
    0% {
        background-position: 100% 0;
        opacity: .4
    }

    50% {
        background-position: 0% 0;
        opacity: 1
    }

    100% {
        background-position: -100% 0;
        opacity: .4
    }
}

.hero-sub {
    font-size: 17px;
    color: rgba(255, 255, 255, .75);
    margin-bottom: 28px;
    max-width: 560px;
    font-weight: 300;
    line-height: 1.7;
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
}

.hero-pill {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    padding: 7px 14px;
    border-radius: 20px;
}

.hero-stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.hero-stat strong {
    display: block;
    font-size: 26px;
    font-weight: 800;
    color: var(--yellow);
    line-height: 1;
}

.hero-stat span {
    font-size: 12px;
    color: rgba(255, 255, 255, .6);
}

/* Hero form card */
.hero-card {
    background: var(--white);
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
    position: relative;
    z-index: 2;
}

.hero-card h3 {
    font-size: 20px;
    color: var(--blue-deep);
    margin-bottom: 6px;
}

.hero-card>p {
    font-size: 13px;
    color: var(--gray-600);
    margin-bottom: 22px;
}

.form-field {
    margin-bottom: 14px;
    position: relative;
}

.form-field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.form-field input,
.form-field select {
    display: block;
    width: 100% !important;
    max-width: 100%;
    min-width: 0;
    padding: 14px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: 8px;
    font-size: 16px;
    color: var(--text);
    background: var(--gray-100);
    transition: all .2s;
    outline: none;
    appearance: none;
    box-sizing: border-box;
}

.form-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230989c7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.form-field input:focus,
.form-field select:focus {
    border-color: var(--blue-brand);
    background: var(--white);
}

.form-field select.highlight {
    border-color: var(--blue-brand);
}

.form-submit {
    width: 100%;
    background: var(--yellow);
    color: var(--blue-deep);
    font-weight: 700;
    font-size: 15px;
    padding: 15px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    margin-top: 6px;
    transition: all .2s;
}

.form-submit:hover {
    background: var(--yellow-hover);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(245, 200, 0, .35);
}

.form-legal {
    font-size: 11px;
    color: var(--gray-400);
    text-align: center;
    margin-top: 10px;
}

/* ── SECTIONS ── */
.section {
    padding: 80px 24px;
}

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

.section-dark {
    background: var(--blue-deep);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--blue-brand);
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: clamp(26px, 3vw, 40px);
    color: var(--blue-deep);
    margin-bottom: 16px;
}

.section-title.white {
    color: var(--white);
}

.section-desc {
    font-size: 16px;
    color: var(--gray-600);
    max-width: 700px;
    line-height: 1.7;
}

.section-title.white {
    color: var(--white);
}

.section-desc.white {
    color: rgba(255, 255, 255, .7);
}

.title-accent {
    color: var(--blue-brand);
}

.title-accent-yellow {
    color: var(--yellow);
}

/* ── VIDEO ── */
.video-section {
    padding: 64px 24px;
    background: var(--white);
}

.video-wrap {
    max-width: 860px;
    margin: 40px auto 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, .15);
    position: relative;
    background: var(--blue-deep);
    aspect-ratio: 16/9;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    cursor: pointer;
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-mid) 100%);
}

.play-btn {
    width: 80px;
    height: 56px;
    /* YouTube aspect ratio */
    border-radius: 12px;
    /* Más rectangular */
    background: #FF0000;
    /* YouTube Red */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(255, 0, 0, .35);
    transition: transform .2s, box-shadow .2s;
}

.play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(255, 0, 0, .5);
}

.video-ghost-logo {
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 900;
    color: rgba(255, 255, 255, .12);
    white-space: nowrap;
}

.btn-primary {
    background: var(--yellow);
    color: var(--blue-deep);
    font-weight: 700;
    font-size: 16px;
    padding: 15px 32px;
    border-radius: 8px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all .2s;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--yellow-hover);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(245, 200, 0, .35);
}

/* ── NUMBERS BAR (Refactor de Trust Bar) ── */
.numbers-bar {
    background: var(--blue-deep);
    padding: 36px 0;
    border-top: 1px solid rgba(255, 255, 255, .06);
    overflow: hidden;
}

.numbers-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    width: max-content;
    margin: 0 auto;
}

.number-item {
    text-align: center;
    flex-shrink: 0;
    width: 200px;
}

/* Solo mostramos los duplicados (del 5 al 8) en móvil/tablet para el bucle */
.number-item:nth-child(n+5) {
    display: none;
}

.number-item .amount {
    font-size: 34px;
    font-weight: 900;
    color: var(--yellow);
    line-height: 1;
}

.number-item .label {
    font-size: 12px;
    color: rgba(255, 255, 255, .55);
    margin-top: 4px;
}

/* Animación para móvil y tabletas pequeñas */
@media (max-width: 991px) {
    .number-item:nth-child(n+5) {
        display: block;
        /* Activamos duplicados para el scroll infinito */
    }

    .numbers-track {
        justify-content: flex-start;
        margin: 0;
        gap: 40px;
        animation: rotateNumbers 20s linear infinite;
    }

    .number-item {
        width: 180px;
    }
}

@keyframes rotateNumbers {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-180px * 4 - 40px * 4));
    }
}

/* ── OPOSICIONES ROW (Reemplazo de Grid) ── */
.opos-card {
    background: var(--white);
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .06);
    border: 1.5px solid var(--gray-200);
    transition: all .22s;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.opos-card:hover {
    border-color: var(--blue-brand);
    box-shadow: 0 8px 32px rgba(16, 70, 178, .12);
    transform: translateY(-2px);
}

.opos-icon {
    font-size: 26px;
    margin-bottom: 10px;
    display: block;
}

.opos-card h4 {
    font-size: 14px;
    color: var(--blue-deep);
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.4;
}

.opos-card p {
    font-size: 12px;
    color: var(--gray-600);
    line-height: 1.5;
}

.opos-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 10px;
    margin-bottom: 8px;
}

.opos-tag-admin {
    background: #e8f0ff;
    color: var(--blue-brand);
}

.opos-tag-social {
    background: #f0e8ff;
    color: #6b3fa0;
}

.opos-tag-forest {
    background: #e8f5ed;
    color: #2d7a47;
}

.opos-tag-seguridad {
    background: #fff0e8;
    color: #b35a00;
}

/* ── MÉTODO STEPS ── */
.metodo-steps {
    margin-top: 56px;
    position: relative;
}

.metodo-steps::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, var(--blue-brand), var(--blue-light));
    z-index: 0;
}

.metodo-step {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 16px;
}

.metodo-step-num {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--blue-brand);
    color: var(--white);
    font-size: 26px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 24px rgba(16, 70, 178, .3);
}

.metodo-step h4 {
    font-size: 16px;
    color: var(--blue-deep);
    margin-bottom: 8px;
}

.metodo-step p {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ── METO CAROUSEL ── */
.meto-carousel-wrap {
    margin-top: 52px;
    position: relative;
}

.meto-carousel {
    position: relative;
    min-height: 260px;
}

.meto-slide {
    display: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, .07) 0%, rgba(255, 255, 255, .03) 100%);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 24px;
    padding: 48px 64px;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
    animation: slideIn .35s ease;
}

.meto-slide.active {
    display: block;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.meto-slide-num {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--yellow);
    text-transform: uppercase;
    margin-bottom: 18px;
}

.meto-slide-icon {
    font-size: 52px;
    margin-bottom: 18px;
    display: block;
}

.meto-slide-title {
    font-size: 26px;
    color: var(--white);
    margin-bottom: 12px;
}

.meto-slide-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, .65);
    line-height: 1.7;
    max-width: 480px;
    margin: 0 auto;
}

.meto-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 32px;
}

.meto-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, .25);
    background: rgba(255, 255, 255, .08);
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all .2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.meto-btn:hover {
    background: var(--yellow);
    border-color: var(--yellow);
    color: var(--blue-deep);
}

.meto-dots {
    display: flex;
    gap: 10px;
    align-items: center;
}

.meto-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .25);
    cursor: pointer;
    transition: all .2s;
}

.meto-dot.active {
    background: var(--yellow);
    transform: scale(1.3);
}

.meto-progress-bar {
    width: 100%;
    max-width: 680px;
    margin: 22px auto 0;
    height: 4px;
    background: rgba(255, 255, 255, .1);
    border-radius: 2px;
}

.meto-progress-fill {
    height: 100%;
    background: var(--yellow);
    border-radius: 2px;
    transition: width .4s ease;
}

/* ── GARANTÍA ── */
.garantia-box {
    background: linear-gradient(135deg, var(--blue-brand), #0d3ba0);
    border-radius: 20px;
    padding: 32px;
    margin-top: 48px;
    display: flex;
    align-items: center;
    gap: 32px;
    box-shadow: 0 16px 48px rgba(16, 70, 178, .3);
}

.garantia-icon {
    font-size: 64px;
    line-height: 1;
    flex-shrink: 0;
}

.garantia-box h3 {
    font-size: 24px;
    color: var(--white);
    margin-bottom: 12px;
}

.garantia-box p {
    font-size: 15px;
    color: rgba(255, 255, 255, .8);
    line-height: 1.7;
}

.garantia-box strong {
    color: var(--yellow);
}

/* ── DIFERENCIADORES ── */
.dif-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.dif-icon-wrap {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--blue-brand), var(--blue-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(16, 70, 178, .25);
}

.dif-text h4 {
    font-size: 16px;
    color: var(--blue-deep);
    margin-bottom: 4px;
}

.dif-text p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
}

.dif-visual {
    overflow: hidden;
}

.dif-visual img {
    width: 100%;
    display: block;
    height: auto;
    border-radius: 12px;
}

@media (min-width: 992px) {
    .dif-visual img {
        max-height: 500px;
        width: auto;
        margin-left: auto;
    }
}

/* ── TESTIMONIOS ── */

.opinion-card {
    background: var(--white);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .07);
    border: 1.5px solid var(--gray-200);
}

.opinion-stars {
    color: var(--yellow);
    font-size: 18px;
    margin-bottom: 14px;
    letter-spacing: 2px;
}

.opinion-text {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 20px;
}

.opinion-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.opinion-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-brand), var(--blue-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 16px;
}

.opinion-name {
    font-weight: 700;
    font-size: 14px;
    color: var(--blue-deep);
}

.opinion-opos {
    font-size: 12px;
    color: var(--gray-400);
}

/* ── FAQ ── */
.faq-list {
    max-width: 760px;
    margin: 48px auto 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    border: 1.5px solid var(--gray-200);
    overflow: hidden;
}

.faq-question {
    padding: 20px 24px;
    font-weight: 600;
    font-size: 16px;
    color: var(--blue-deep);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: background .2s;
}

.faq-question:hover {
    background: var(--gray-100);
}

.faq-toggle {
    width: 28px;
    height: 28px;
    background: var(--blue-brand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
    transition: transform .2s;
}

.faq-answer {
    padding: 0 24px;
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    transition: all .3s ease;
}

.faq-item.open .faq-answer {
    padding: 0 24px 20px;
    max-height: 320px;
}

.faq-item.open .faq-toggle {
    transform: rotate(45deg);
}

/* ── CTA FINAL ── */
.cta-final {
    background: linear-gradient(135deg, var(--blue-brand), #0d3ba0);
    padding: 80px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-final::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 200, 0, .12) 0%, transparent 70%);
    pointer-events: none;
}

.cta-final h2 {
    font-size: clamp(28px, 3.5vw, 44px);
    color: var(--white);
    margin-bottom: 14px;
}

.cta-final p {
    font-size: 17px;
    color: rgba(255, 255, 255, .75);
    margin-bottom: 36px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

footer {
    background: var(--blue-deep);
    color: rgba(255, 255, 255, .5);
    text-align: center;
    padding: 48px 24px;
    font-size: 13px;
}

footer span {
    color: var(--yellow);
}

footer a {
    color: rgba(255, 255, 255, .4);
    text-decoration: none;
}

footer a:hover {
    color: var(--yellow);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .topbar {
        padding: 8px 20px;
    }

    .hero {
        padding: 48px 20px 60px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .hero-col-form {
        max-width: 450px;
        margin: 0 auto;
    }

    .hero-stats {
        justify-content: center;
        gap: 20px;
    }

    .hero-stat {
        flex: 1;
        min-width: 120px;
    }

    .hero-un-anio {
        justify-content: center;
    }

    .hero-pills {
        justify-content: center;
    }

    .hero-badge {
        margin-left: auto;
        margin-right: auto;
    }

    .garantia-box {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 24px;
    }

    .opiniones-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 960px) {
    .garantia-box {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 24px;
    }
}

@media (max-width: 600px) {
    .meto-slide {
        padding: 36px 24px;
    }

    .meto-slide-title {
        font-size: 22px;
    }
}

/* ── GUARDIA CIVIL SPECIFIC ── */
.salidas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.salida-item {
    background: var(--white);
    border-radius: 14px;
    padding: 28px 24px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
    border: 1.5px solid var(--gray-200);
    transition: all .2s;
}

.salida-item:hover {
    border-color: var(--blue-brand);
    box-shadow: 0 8px 32px rgba(16, 70, 178, .12);
    transform: translateY(-2px);
}

.salida-icon {
    font-size: 34px;
    margin-bottom: 14px;
    display: block;
}

.salida-item h4 {
    font-size: 15px;
    color: var(--blue-deep);
    font-weight: 700;
    margin-bottom: 6px;
}

.salida-item p {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.5;
}

.fases-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 36px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.fase-item {
    background: var(--white);
    border-radius: 14px;
    padding: 22px 26px;
    border: 1.5px solid var(--gray-200);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .05);
    transition: all .2s;
}

.fase-num {
    background: var(--blue-brand);
    color: var(--white);
    font-weight: 800;
    font-size: 18px;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fase-item h4 {
    font-size: 16px;
    color: var(--blue-deep);
    font-weight: 700;
    margin-bottom: 4px;
}

.fase-item p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.55;
}

.curso-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.curso-info-list {
    list-style: none;
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.curso-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--gray-600);
}

.curso-info-list li::before {
    content: '✓';
    background: var(--blue-brand);
    color: var(--white);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.requisitos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 36px;
}

.requisito-card {
    background: var(--white);
    border-radius: 12px;
    padding: 22px;
    border: 1.5px solid var(--gray-200);
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.requisito-icon {
    font-size: 26px;
    flex-shrink: 0;
}

.requisito-card h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--blue-deep);
    margin-bottom: 3px;
}

.requisito-card p {
    font-size: 13px;
    color: var(--gray-600);
}

.temario-areas {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.temario-area {
    border-radius: 16px;
    padding: 32px 28px;
}

.temario-area-juridica {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border: 1.5px solid #c7d2fe;
}

.temario-area-psico {
    background: linear-gradient(135deg, #fefce8 0%, #fef9c3 100%);
    border: 1.5px solid #fde68a;
}

.temario-area-fisica {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1.5px solid #86efac;
}

.temario-area h3 {
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 18px;
}

.temario-area-juridica h3 {
    color: #3730a3;
}

.temario-area-psico h3 {
    color: #92400e;
}

.temario-area-fisica h3 {
    color: #166534;
}

.temario-area-icon {
    font-size: 36px;
    margin-bottom: 14px;
    display: block;
}

.temario-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding-left: 0;
}

.temario-list li {
    font-size: 14px;
    color: var(--gray-800);
    padding-left: 18px;
    position: relative;
    line-height: 1.4;
}

.temario-list li::before {
    content: '·';
    position: absolute;
    left: 0;
    font-weight: 700;
    font-size: 20px;
    line-height: 1;
    top: -2px;
}

.temario-area-juridica .temario-list li::before {
    color: #6366f1;
}

.temario-area-psico .temario-list li::before {
    color: #f59e0b;
}

.temario-area-fisica .temario-list li::before {
    color: #22c55e;
}

.salary-banner {
    background: linear-gradient(90deg, var(--blue-deep), var(--blue-mid));
    padding: 28px 0;
    overflow: hidden;
}

.salary-track {
    display: flex;
    width: max-content;
}

.salary-inner {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 0 30px;
}

.salary-item {
    text-align: center;
    flex-shrink: 0;
}

.salary-item .amount {
    font-size: 34px;
    font-weight: 900;
    color: var(--yellow);
    line-height: 1;
}

.salary-item .label {
    font-size: 13px;
    color: rgba(255, 255, 255, .6);
    margin-top: 4px;
}

.salary-divider {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, .15);
}

/* Solo en móvil activamos la animación y el stacking */
@media (max-width: 768px) {
    .salary-track {
        animation: salaryScroll 25s linear infinite;
    }

    .salary-inner {
        gap: 30px;
    }

    .salary-item {
        width: 250px;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .salary-item .amount {
        font-size: 28px;
    }

    .salary-divider {
        display: block;
        /* Asegurar visibilidad */
    }
}

@keyframes salaryScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (min-width: 769px) {
    .salary-track {
        width: 100%;
        justify-content: center;
        animation: none !important;
        /* Desactivar animación en desktop */
    }

    /* En ordenador ocultamos el duplicado para no saturar ni solapar horizontalmente */
    .salary-inner:nth-child(2) {
        display: none !important;
    }

    .salary-inner {
        gap: 80px;
        /* Más espacio lateral */
    }

    .salary-item {
        flex-shrink: 0;
    }
}

/* ── GRID RESPONSIVE ── */
@media (max-width: 900px) {
    .salidas-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .requisitos-grid {
        grid-template-columns: 1fr;
    }

    .temario-areas {
        grid-template-columns: 1fr;
    }

    .curso-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .salidas-grid {
        grid-template-columns: 1fr;
    }
}

.requisito-note {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.5;
}