html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.hero-banner {
    min-height: 85vh;
    background: linear-gradient( 90deg, #0b4f96, #1196c9 );
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay-card {
    width: 700px;
    background: rgba(255,255,255,.90);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
}

.logo-cul {
    height: 90px;
    margin-bottom: 20px;
}

.overlay-card h1 {
    color: #005da8;
    font-weight: 700;
}

.overlay-card p {
    margin-top: 20px;
    font-size: 18px;
}
.hero {
    background: linear-gradient(135deg,#003a8c,#0055c7);
    color: white;
    padding: 60px 0;
}

    .hero h1 {
        font-size: 3rem;
        font-weight: 700;
    }

    .hero p {
        font-size: 1.2rem;
    }

.logo-cul {
    max-height: 90px;
    margin-bottom: 20px;
}

.steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.step {
    color: #777;
    font-weight: 500;
}

    .step span {
        display: inline-flex;
        width: 35px;
        height: 35px;
        border-radius: 50%;
        background: #e9ecef;
        justify-content: center;
        align-items: center;
        margin-right: 8px;
    }

    .step.active {
        color: #0d6efd;
    }

        .step.active span {
            background: #0d6efd;
            color: white;
        }

.card-form {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 0 20px rgba(0,0,0,.08);
}

.section-title {
    color: #0d6efd;
    font-weight: 700;
}

.form-control,
.form-select {
    height: 50px;
}

.escala-card {
    background: #fff;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
    border: 1px solid #eef1f5;
}

.escala-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

    .escala-header i {
        font-size: 34px;
        color: #4f6df5;
    }

    .escala-header h6 {
        margin: 0;
        font-size: 18px;
        font-weight: 700;
    }

    .escala-header small {
        color: #6c757d;
        font-size: 14px;
    }

.escala-items {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.escala-item {
    flex: 1;
    min-width: 110px;
    text-align: center;
}

.nivel {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    font-weight: 700;
    font-size: 18px;
    color: white;
    margin-bottom: 10px;
}

.nivel5 {
    background: #28a745;
}

.nivel4 {
    background: #0d6efd;
}

.nivel3 {
    background: #ffc107;
    color: #222;
}

.nivel2 {
    background: #fd7e14;
}

.nivel1 {
    background: #dc3545;
}

.escala-item small {
    display: block;
    color: #555;
    font-weight: 500;
}

/*=========================
    TARJETAS MODERNAS
==========================*/

.modern-card {
    background: #fff;
    border-radius: 18px;
    padding: 25px;
    border: 1px solid #edf1f7;
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
}

.info-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}


/*=========================
       ICONOS
==========================*/

.card-icon {
    width: 65px;
    height: 65px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.bg-primary-soft {
    background: #e8f2ff;
    color: #3b5bfd;
}

.bg-warning-soft {
    background: #fff5dc;
    color: #f5a300;
}

.bg-success-soft {
    background: #e9f8ef;
    color: #16a34a;
}


/*=========================
       ESCALA
==========================*/

.escala {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.escala-item {
    text-align: center;
    flex: 1;
    min-width: 110px;
}

.nivel {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    margin-bottom: 12px;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(0,0,0,.15);
}

.nivel5 {
    background: #10b981;
}

.nivel4 {
    background: #4f6df5;
}

.nivel3 {
    background: #fbbf24;
    color: #222;
}

.nivel2 {
    background: #fb923c;
}

.nivel1 {
    background: #ef4444;
}

.escala-item strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
}


/*=========================
       LISTA
==========================*/

.tips {
    padding-left: 20px;
}

    .tips li {
        margin-bottom: 10px;
        color: #555;
    }



.respuesta-select {
    transition: .30s;
    font-weight: 600;
}

    .respuesta-select.nivel5 {
        background: #d1fae5;
        border-color: #10b981;
        color: #065f46;
    }

    .respuesta-select.nivel4 {
        background: #dbeafe;
        border-color: #4f6df5;
        color: #1e3a8a;
    }

    .respuesta-select.nivel3 {
        background: #fef3c7;
        border-color: #fbbf24;
        color: #92400e;
    }

    .respuesta-select.nivel2 {
        background: #ffedd5;
        border-color: #fb923c;
        color: #9a3412;
    }

    .respuesta-select.nivel1 {
        background: #fee2e2;
        border-color: #ef4444;
        color: #991b1b;
    }





.escala-respuesta {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 15px;
    margin-bottom: 20px;
}

.opcion {
    flex: 1;
    border: none;
    border-radius: 18px;
    padding: 18px 10px;
    color: white;
    cursor: pointer;
    transition: .25s;
    text-align: center;
    font-weight: 600;
}

    .opcion span {
        display: block;
        font-size: 30px;
        font-weight: bold;
    }

    .opcion small {
        display: block;
        margin-top: 8px;
        font-size: 13px;
    }

.verde {
    background: #10b981;
}

.azul {
    background: #4f6df5;
}

.amarillo {
    background: #fbbf24;
    color: #222;
}

.naranja {
    background: #fb923c;
}

.rojo {
    background: #ef4444;
}

.opcion:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0,0,0,.18);
}

.opcion.activo {
    transform: scale(1.08);
    border: 4px solid white;
    box-shadow: 0 15px 35px rgba(0,0,0,.30);
}


.respuesta-wrapper {
    position: relative;
}

.respuesta-icono {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-35%);
    z-index: 2;
    font-size: 18px;
}

.respuesta-select {
    padding-left: 48px;
    height: 52px;
    border-radius: 12px;
    transition: .25s;
    font-weight: 600;
}

.respuesta-verde {
    background: #e8fff3;
    border: 2px solid #10b981;
}

.respuesta-azul {
    background: #eef2ff;
    border: 2px solid #4f6df5;
}

.respuesta-amarillo {
    background: #fff8df;
    border: 2px solid #fbbf24;
}

.respuesta-naranja {
    background: #fff1e8;
    border: 2px solid #fb923c;
}

.respuesta-rojo {
    background: #ffecec;
    border: 2px solid #ef4444;
}




