/* ===== Layout base ===== */
.simu-wrap{max-width:1200px;padding-bottom:48px;margin:auto;width:100%}
.simu-muted{color:#6b7280}

/* ===== HERO ===== */
.simu-hero{position:relative;height:220px;border-radius:0 0 16px 16px;overflow:hidden;}
.simu-hero__img{
  position:absolute;inset:0;background:#222
    url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?q=80&w=1600&auto=format&fit=crop')
    center/cover no-repeat;filter:brightness(.55);
}
.simu-hero__content{
  position:relative;z-index:1;height:100%;
  display:flex;align-items:center;justify-content:flex-start;
  padding:0 32px;
}
.simu-hero h1 {
    color: #fff;
    font-size: clamp(1.3rem,2.4vw,2rem);
    font-weight: 600;
    letter-spacing: .2px;
    font-size: 1.5rem;
}

.is-hidden {
    display: none;
}

/* ===== Intro ===== */
.simu-intro{padding:24px 32px}
.simu-intro p{margin:0 0 6px;color:#111827;font-size:1rem;}

/* ===== Steps (tabs) ===== */
.simu-steps {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 0px;
    padding: 0 32px;
    margin: 0 0 1px;
    background: #f3f3f3;
    /*border-bottom: 1px solid #e5e7eb;*/
}

    .simu-steps .step {
        appearance: none;
        background-color: #F4F4F4;
        color: #2F2F2F; /* gris del texto inactivo */
        border: 0px;
        border-bottom-color: transparent;
        border-radius: 12px 12px 0 0; /* pestaña superior redondeada */
        padding: 14px 16px;
        display: flex;
        align-items: center;
        gap: 12px;
        font-weight: 700;
        cursor: default;
        position: relative;
        transition: color .2s, border-color .2s, box-shadow .2s;
    }

        .simu-steps .step span { /* número */
            width: 28px;
            height: 28px;
            display: inline-grid;
            place-items: center;
            border-radius: 8px;
            font-weight: 600;
            flex: 0 0 28px;
            font-size: 1.3rem;
        }

        /* Activo */
        .simu-steps .step.is-active {
            color: #494949;
            box-shadow: 0 1px 0 rgba(0,0,0,.02);
            background: #fff;
        }

            .simu-steps .step.is-active::after {
                content: "";
                position: absolute;
                left: 0;
                right: 0;
                bottom: -1px;
                height: 4px;
                background: #043491; /* subrayado naranja */
                border-radius: 2px;
            }

        /* Paso completado (opcional) */
        .simu-steps .step.is-done {
            color: #111827;
        }

            .simu-steps .step.is-done span {
                background: #ffefe8; /* badge tenue naranja */
                color: #fb5a2e;
            }

        /* Accesibilidad */
        .simu-steps .step:focus-visible {
            outline: 0;
            box-shadow: 0 0 0 3px rgba(251,90,46,.15);
        }

/* ===== Panel / Card ===== */
.simu-panel{
  background:#fff;border:1px solid #e5e7eb;
  box-shadow:0 8px 24px rgba(16,24,40,.06);padding:28px;
}
.panel-hd h2{margin:0 0 6px;font-size:clamp(1.25rem,2vw,1.6rem);font-weight:800;color:#111827;}
.simu-sub {
    margin: 0 0 22px;
    color: #111827
}

/* ===== Form ===== */
.simu-grid{display:grid;grid-template-columns:repeat(2, minmax(0,1fr));gap:18px}
.simu-field{display:flex;flex-direction:column;gap:6px}
.simu-label{font-weight:700;color:#374151;font-size:.95rem}
.simu-input{
  width:100%;border:1px solid #d1d5db;border-radius:10px;background:#fff;
  padding:.8rem .95rem;font-size:.95rem;color:#111827;
  transition:border-color .2s ease, box-shadow .2s ease;
  appearance:none;
}
.avisoP{
    padding-top:20px;
}
.simu-input:focus {
    outline: 0;
    border-color: #043491;
    box-shadow: 0 0 0 3px rgba(0,0,0,.15)
}
/* pequeña flecha para selects */
select.simu-input{background-image:linear-gradient(45deg,transparent 50%,#9ca3af 50%),linear-gradient(135deg,#9ca3af 50%,transparent 50%);background-position:calc(100% - 18px) calc(1em + 2px), calc(100% - 13px) calc(1em + 2px);background-size:5px 5px,5px 5px;background-repeat:no-repeat}

/* ===== Actions / Buttons ===== */
.simu-actions{display:flex;justify-content:right;margin-top:3.5rem}
.btn-primary{
  background:#043491;color:#fff;font-weight:700;border:0;border-radius:10px;
  padding:.95rem 1.6rem;box-shadow:0 2px 0 rgba(0,0,0,.05);cursor:pointer;
  transition:background .2s ease, transform .02s ease;
}
.btn-primary:hover{background:#e95e29}
.btn-primary:active{transform:translateY(1px)}

.res-ttl {
    margin: 22px 0 10px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827
}

.res-sep {
    height: 1px;
    background: #e5e7eb;
    margin: 0 0 14px
}

.res-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 18px
}

    .res-grid.res-1col {
        grid-template-columns: 1fr
    }

.res-item {
    display: flex;
    flex-direction: column;
    gap: 6px
}

.res-label {
    font-weight: 700;
    color: #6b7280
}

.res-value {
    font-weight: 600;
    color: #111827
}

@media (max-width:900px) {
    .res-grid {
        grid-template-columns: repeat(2,1fr)
    }
}

@media (max-width:640px) {
    .res-grid {
        grid-template-columns: 1fr
    }
}


.header {
    position: fixed;
    top: 0;
    z-index: 10;
    width: 100%;
    height: 68px;
    background-color: rgba(0,0,0,.5)
}
.header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    height: 100%;
    padding: 0 2rem
}
.header h3 {
    color: #fff;
    font-size: 1.25rem;
    line-height: 1;
}

.footer {
    color: #888;
    padding: 3rem 2rem;
    box-shadow: 0px -4px 11px 0px rgba(0, 0, 0, 0.14);
}
.footer .legales {
    display: flex;
    justify-content: space-between;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
}
.footer .copy {
    color: #888;
    font-size: 12px;
}
.footer .desarrollo {
    filter: invert(1);
    opacity: .75;
}

.container {
    max-width: 1280px;
    padding: 0 1rem;
}


/* ===== home ===== */
.video-home {
    width: 100%;
    margin-bottom: 3rem;
}


/* ===== Responsive ===== */
@media (max-width: 900px){
    .simu-steps{grid-template-columns:1fr 1fr}
}
@media (max-width: 640px){
    .simu-hero{height:180px}
    .simu-intro{padding:18px 16px}
    .simu-steps{padding:0 16px}
    .simu-panel{margin:0 16px;padding:18px}
    .simu-grid{grid-template-columns:1fr}
    .simu-actions{justify-content:stretch}
    .btn-primary{width:100%}

    .footer .legales {
        display: block;
        text-align: center;
        margin-bottom: .5rem;
    }
    .footer {
        text-align: center;
    }
}



