/* ==========================================================
   EQUILIBRIO TOTAL
   EXPERIENCIA DEL PACIENTE
   UI MOBILE FIRST V2
========================================================== */

:root {

    /* ETH */

    --petroleo: #3F7A89;
    --petroleo-dark: #326773;
    --petroleo-light: #EDF5F6;

    --oliva: #A7BA8D;
    --oliva-light: #F4F6F0;

    --marfil: #F4EDE3;
    --marfil-light: #FBF8F4;

    --perla: #DADADA;

    --azul-profundo: #1F3A5F;

    --carbon: #1E1E1E;

    --white: #FFFFFF;

    --muted: #747D7C;

    --border: #E2E8E6;

    --danger: #9C4742;
    --danger-light: #FFF3F1;
}


/* ==========================================================
   RESET
========================================================== */

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


html {
    scroll-behavior: smooth;
}


body {

    min-height: 100vh;

    font-family:
        "Montserrat",
        "Segoe UI",
        Arial,
        sans-serif;

    color: var(--carbon);

    background: var(--white);

    -webkit-font-smoothing: antialiased;
}


/* ==========================================================
   CONTENEDOR
========================================================== */

.page {

    min-height: 100dvh;

    background: var(--white);

}


.background-circle {
    display: none;
}


/* ==========================================================
   ESTRUCTURA APP
========================================================== */

.survey-card {

    width: 100%;

    min-height: 100dvh;

    display: flex;

    flex-direction: column;

    background: var(--white);
}


/* ==========================================================
   HEADER
========================================================== */

.survey-header {

    height: 78px;

    flex: 0 0 auto;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 15px 24px;

    background: var(--white);

    border-bottom:
        1px solid #EEF1F0;

}


.eth-logo {

    width: auto;

    max-width: 215px;

    max-height: 48px;

    object-fit: contain;
}


/* ==========================================================
   CONTENIDO
========================================================== */

.survey-content {

    flex: 1;

    width: 100%;

    padding:

        30px
        24px
        28px;

}


/* ==========================================================
   QUITAMOS ICONO DEL MENSAJE
   Da una apariencia más limpia.
========================================================== */

.welcome-icon {
    display: none;
}


/* ==========================================================
   TITULARES
========================================================== */

.eyebrow {

    display: block;

    margin-bottom: 7px;

    color: var(--oliva);

    text-align: center;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.4px;
}


h1 {

    max-width: 340px;

    margin: auto;

    color: var(--azul-profundo);

    text-align: center;

    font-size: 26px;

    font-weight: 800;

    line-height: 1.18;

    letter-spacing: -0.5px;
}


.intro {

    max-width: 330px;

    margin:

        10px
        auto
        0;

    color: var(--muted);

    text-align: center;

    font-size: 13px;

    line-height: 1.55;
}


/* ==========================================================
   SUCURSAL
========================================================== */

.branch-card {

    display: flex;

    align-items: center;

    gap: 11px;

    margin:

        25px
        0
        25px;

    padding:

        11px
        13px;

    background: var(--oliva-light);

    border:
        1px solid
        rgba(167, 186, 141, 0.55);

    border-radius: 14px;
}


.branch-card-compact {

    margin-top: 0;

    margin-bottom: 22px;
}


.branch-icon {

    flex: 0 0 auto;

    width: 38px;

    height: 38px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--petroleo);

    background: var(--white);

    border-radius: 11px;
}


.branch-icon svg {

    width: 18px;

    height: 18px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.8;

    stroke-linecap: round;

    stroke-linejoin: round;
}


.branch-info span {

    display: block;

    margin-bottom: 2px;

    color: #7D8583;

    font-size: 10px;
}


.branch-info strong {

    display: block;

    color: var(--azul-profundo);

    font-size: 13px;

    font-weight: 700;
}


/* ==========================================================
   FORMULARIO
========================================================== */

.survey-form {
    width: 100%;
}


.field {

    margin-bottom: 18px;
}


.field label {

    display: block;

    margin:

        0
        0
        7px
        2px;

    color: var(--azul-profundo);

    font-size: 12px;

    font-weight: 700;
}


.required {
    color: var(--petroleo);
}


.input-wrapper {

    position: relative;

    width: 100%;
}


.input-icon {

    position: absolute;

    top: 50%;

    left: 16px;

    z-index: 2;

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--petroleo);

    transform: translateY(-50%);

    pointer-events: none;
}


.input-icon svg {

    width: 18px;

    height: 18px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.7;

    stroke-linecap: round;

    stroke-linejoin: round;
}


.field input,
.field select {

    width: 100%;

    height: 54px;

    padding:

        0
        15px
        0
        48px;

    font-family:
        "Montserrat",
        Arial,
        sans-serif;

    /*
       16 px es intencional.
       Pensamos la UI para smartphone.
    */

    font-size: 16px;

    font-weight: 500;

    color: var(--carbon);

    background: #FCFDFC;

    border:
        1px solid
        var(--border);

    border-radius: 13px;

    outline: none;

    transition:

        border-color .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}


.field input::placeholder {

    color: #A1AAA8;

    font-weight: 400;
}


.field input:focus,
.field select:focus {

    background: var(--white);

    border-color: var(--petroleo);

    box-shadow:

        0
        0
        0
        3px
        rgba(63, 122, 137, .10);
}


.field select {
    cursor: pointer;
}


.field select:disabled {

    opacity: .55;

    cursor: not-allowed;
}


/* ==========================================================
   PRIVACIDAD
========================================================== */

.privacy-note {

    display: flex;

    align-items: flex-start;

    gap: 9px;

    margin:

        3px
        0
        18px;

    padding:

        11px
        12px;

    color: #7D8583;

    background: var(--marfil-light);

    border-radius: 11px;
}


.privacy-icon {

    flex: 0 0 auto;

    display: flex;

    color: var(--petroleo);
}


.privacy-icon svg {

    width: 15px;

    height: 15px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.7;
}


.privacy-note p {

    font-size: 10px;

    line-height: 1.5;
}


/* ==========================================================
   BOTÓN PRINCIPAL
========================================================== */

.btn-primary {

    width: 100%;

    min-height: 54px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding:

        0
        18px;

    font-family:
        "Montserrat",
        Arial,
        sans-serif;

    color: var(--white);

    font-size: 14px;

    font-weight: 700;

    background: var(--petroleo);

    border: none;

    border-radius: 13px;

    cursor: pointer;

    transition:

        background .18s ease,
        transform .18s ease;
}


.btn-primary:active {

    background: var(--petroleo-dark);

    transform: scale(.99);
}


.btn-primary svg {

    width: 18px;

    height: 18px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.8;

    stroke-linecap: round;

    stroke-linejoin: round;
}


/* ==========================================================
   FOOTER
========================================================== */

.survey-footer {

    flex: 0 0 auto;

    padding:

        15px
        20px
        18px;

    text-align: center;

    background: var(--marfil-light);

    border-top:
        1px solid
        #F0ECE6;
}


.survey-footer::before {
    display: none;
}


.survey-footer span {

    color: var(--petroleo);

    font-size: 10px;

    font-weight: 600;

    letter-spacing: .2px;
}


/* ==========================================================
   ERRORES
========================================================== */

.form-errors {

    margin-bottom: 18px;
}


.form-error {

    margin-bottom: 7px;

    padding:

        11px
        13px;

    color: var(--danger);

    background: var(--danger-light);

    border:
        1px solid
        #EDCECA;

    border-radius: 10px;

    font-size: 11px;

    line-height: 1.5;
}


.alert {

    margin:

        22px
        0;

    padding:

        13px
        14px;

    border-radius: 12px;
}


.alert strong {

    display: block;

    margin-bottom: 4px;

    font-size: 12px;
}


.alert span {

    display: block;

    font-size: 11px;

    line-height: 1.5;
}


.alert-error {

    color: var(--danger);

    background: var(--danger-light);

    border:
        1px solid
        #EDCECA;
}


/* ==========================================================
   PROGRESO
========================================================== */

.survey-progress {

    margin-bottom: 20px;
}


.progress-info {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 8px;
}


.progress-info span,
.progress-info strong {

    font-size: 11px;
}


.progress-info span {
    color: var(--muted);
}


.progress-info strong {

    color: var(--petroleo);

    font-weight: 700;
}


.progress-bar {

    width: 100%;

    height: 5px;

    overflow: hidden;

    background: #E9EEEC;

    border-radius: 30px;
}


.progress-value {

    height: 100%;

    background: var(--petroleo);

    border-radius: inherit;
}


/* ==========================================================
   PREGUNTAS
========================================================== */

.question-header {

    margin-bottom: 23px;

    text-align: center;
}


.question-title {

    margin-bottom: 8px;

    font-size: 24px;
}


.question-header p {

    max-width: 330px;

    margin: auto;

    color: var(--muted);

    font-size: 12px;

    line-height: 1.55;
}


.question-header-small {

    margin-bottom: 18px;
}


.question-header-small h2 {

    color: var(--azul-profundo);

    font-size: 18px;

    font-weight: 700;

    line-height: 1.4;
}


/* ==========================================================
   EMOJIS
========================================================== */

.emoji-rating {

    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 7px;

    margin-bottom: 28px;
}


.emoji-option {

    text-align: center;

    cursor: pointer;
}


.emoji-option input {

    position: absolute;

    opacity: 0;

    pointer-events: none;
}


.emoji-circle {

    width: 56px;

    height: 56px;

    max-width: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    margin: auto;

    font-size: 26px;

    background: #FAFBFA;

    border:
        2px solid
        #E6EBE9;

    border-radius: 50%;

    transition:

        border-color .18s ease,
        background .18s ease,
        transform .18s ease;
}


.emoji-label {

    display: block;

    margin-top: 7px;

    color: var(--muted);

    font-size: 9px;

    font-weight: 600;
}


.emoji-option input:checked
+ .emoji-circle {

    background: var(--petroleo-light);

    border-color: var(--petroleo);

    transform: scale(1.05);
}


/* ==========================================================
   DIVISOR
========================================================== */

.question-divider {

    display: flex;

    justify-content: center;

    margin:

        8px
        0
        25px;
}


.question-divider span {

    width: 50px;

    height: 3px;

    background: var(--oliva);

    border-radius: 20px;
}


/* ==========================================================
   ESTRELLAS
========================================================== */

.star-rating {

    display: flex;

    justify-content: center;

    gap: 16px;
}


.star-option {

    text-align: center;

    cursor: pointer;
}


.star-option input {

    position: absolute;

    opacity: 0;

    pointer-events: none;
}


.star {

    display: block;

    color: #D6DDDA;

    font-size: 37px;

    line-height: 1;

    transition:

        color .18s ease,
        transform .18s ease;
}


.star-number {

    display: block;

    margin-top: 5px;

    color: var(--muted);

    font-size: 9px;
}


.star-option input:checked
+ .star {

    color: var(--oliva);

    transform: scale(1.1);
}


.rating-legend {

    display: flex;

    justify-content: space-between;

    margin:

        7px
        6px
        30px;

    color: #929A98;

    font-size: 9px;
}


/* ==========================================================
   BOTONES NAVEGACIÓN
========================================================== */

.navigation-buttons {

    display: grid;

    grid-template-columns:
        .7fr
        1.3fr;

    gap: 10px;
}


.btn-secondary {

    min-height: 54px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    color: var(--petroleo);

    font-size: 12px;

    font-weight: 700;

    text-decoration: none;

    background: var(--white);

    border:
        1px solid
        var(--border);

    border-radius: 13px;
}


.btn-secondary svg {

    width: 16px;

    height: 16px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.8;
}


/* ==========================================================
   CELULARES PEQUEÑOS
========================================================== */

@media (max-width: 360px) {

    .survey-content {

        padding-left: 18px;

        padding-right: 18px;

    }


    h1 {
        font-size: 24px;
    }


    .eth-logo {
        max-width: 195px;
    }


    .emoji-rating {
        gap: 4px;
    }


    .emoji-circle {

        width: 49px;

        height: 49px;

        font-size: 22px;
    }


    .star-rating {
        gap: 12px;
    }


    .star {
        font-size: 33px;
    }

}


/* ==========================================================
   TABLET / PC
========================================================== */

@media (min-width: 601px) {

    body {

        background:

            radial-gradient(
                circle at top left,
                rgba(167, 186, 141, .22),
                transparent 35%
            ),

            var(--marfil-light);
    }


    .page {

        min-height: 100vh;

        display: flex;

        align-items: center;

        justify-content: center;

        padding: 35px 20px;
    }


    .survey-card {

        width: 100%;

        max-width: 445px;

        min-height: auto;

        overflow: hidden;

        border:
            1px solid
            rgba(63, 122, 137, .12);

        border-radius: 26px;

        box-shadow:

            0
            25px
            70px
            rgba(31, 58, 95, .12);
    }


    .survey-content {

        padding:

            34px
            34px
            35px;
    }

}

/* ==========================================================
   PASO 3 - DETALLE
========================================================== */

.score-card {

    padding:
        15px
        0;

    border-bottom:
        1px solid
        #EEF1EF;
}


.score-card:first-of-type {
    padding-top: 0;
}


.score-question {

    margin-bottom: 12px;
}


.score-question strong {

    display: block;

    color: var(--azul-profundo);

    font-size: 13px;

    font-weight: 700;
}


.score-question span {

    display: block;

    margin-top: 3px;

    color: var(--muted);

    font-size: 10px;

    line-height: 1.4;
}


.score-options {

    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 7px;
}


.score-option {

    cursor: pointer;
}


.score-option input {

    position: absolute;

    opacity: 0;

    pointer-events: none;
}


.score-box {

    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--petroleo);

    font-size: 13px;

    font-weight: 700;

    background: #FAFCFB;

    border:
        1px solid
        var(--border);

    border-radius: 10px;

    transition: .18s ease;
}


.score-option input:checked
+ .score-box {

    color: white;

    background:
        var(--petroleo);

    border-color:
        var(--petroleo);
}


.score-legend {

    display: flex;

    justify-content: space-between;

    margin:
        10px
        2px
        24px;

    color: #939A98;

    font-size: 8px;
}


/* ==========================================================
   TEXTAREA
========================================================== */

.textarea-field {

    margin-bottom: 22px;
}


.textarea-field label {

    display: block;

    margin-bottom: 7px;

    color: var(--azul-profundo);

    font-size: 12px;

    font-weight: 700;
}


.textarea-field textarea {

    width: 100%;

    min-height: 95px;

    resize: vertical;

    padding:
        13px
        14px;

    color: var(--carbon);

    font-family:
        "Montserrat",
        Arial,
        sans-serif;

    font-size: 16px;

    line-height: 1.45;

    background: #FCFDFC;

    border:
        1px solid
        var(--border);

    border-radius: 13px;

    outline: none;
}


.textarea-field textarea:focus {

    border-color:
        var(--petroleo);

    box-shadow:
        0
        0
        0
        3px
        rgba(63,122,137,.10);
}


/* ==========================================================
   NPS
========================================================== */

.nps-grid {

    display: grid;

    grid-template-columns:
        repeat(6, 1fr);

    gap: 8px;

    margin-top: 23px;
}


.nps-option {

    cursor: pointer;
}


.nps-option input {

    position: absolute;

    opacity: 0;

    pointer-events: none;
}


.nps-option span {

    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--petroleo);

    font-size: 12px;

    font-weight: 700;

    background: #FAFCFB;

    border:
        1px solid
        var(--border);

    border-radius: 50%;
}


.nps-option input:checked
+ span {

    color: white;

    background:
        var(--petroleo);

    border-color:
        var(--petroleo);
}


.nps-legend {

    display: flex;

    justify-content: space-between;

    margin-top: 10px;

    color: var(--muted);

    font-size: 8px;
}


/* ==========================================================
   DIVISOR
========================================================== */

.section-divider {

    height: 1px;

    margin:
        27px
        0;

    background:
        #EDF1EF;
}


/* ==========================================================
   SECCIONES PEQUEÑAS
========================================================== */

.mini-section-header {

    margin-bottom: 15px;
}


.mini-section-header h2 {

    color: var(--azul-profundo);

    font-size: 17px;

    font-weight: 700;
}


.mini-section-header p {

    margin-top: 4px;

    color: var(--muted);

    font-size: 10px;
}


/* ==========================================================
   INCONVENIENTES
========================================================== */

.issue-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 8px;

    margin-bottom: 23px;
}


.issue-option {

    cursor: pointer;
}


.issue-option input {

    position: absolute;

    opacity: 0;

    pointer-events: none;
}


.issue-box {

    min-height: 44px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding:
        8px
        10px;

    color: var(--petroleo);

    text-align: center;

    font-size: 10px;

    font-weight: 600;

    background: #FAFCFB;

    border:
        1px solid
        var(--border);

    border-radius: 11px;
}


.issue-option input:checked
+ .issue-box {

    color: white;

    background:
        var(--petroleo);

    border-color:
        var(--petroleo);
}


/* ==========================================================
   ACCIONES / CONTACTO / QUEJA
========================================================== */

.action-options {

    display: grid;

    gap: 9px;

    margin-bottom: 24px;
}


.action-option {

    cursor: pointer;
}


.action-option input {

    position: absolute;

    opacity: 0;

    pointer-events: none;
}


.action-box {

    display: block;

    padding:
        13px
        14px;

    background:
        var(--marfil-light);

    border:
        1px solid
        #EEE7DE;

    border-radius: 12px;

    transition: .18s ease;
}


.action-box strong {

    display: block;

    color:
        var(--azul-profundo);

    font-size: 11px;

    font-weight: 700;
}


.action-box small {

    display: block;

    margin-top: 4px;

    color:
        var(--muted);

    font-size: 9px;

    line-height: 1.45;
}


.action-option input:checked
+ .action-box {

    background:
        var(--petroleo-light);

    border-color:
        var(--petroleo);
}


.complaint-option input:checked
+ .action-box {

    background:
        #FFF6F4;

    border-color:
        #D99B94;
}


/* ==========================================================
   GRACIAS
========================================================== */

.success-content {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding-top: 60px;

    padding-bottom: 60px;
}


.success-icon {

    width: 68px;

    height: 68px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 20px;

    color: white;

    font-size: 30px;

    font-weight: 700;

    background:
        var(--petroleo);

    border-radius: 50%;
}


.success-message {

    max-width: 330px;

    margin:
        13px
        auto
        27px;

    color:
        var(--muted);

    font-size: 12px;

    line-height: 1.6;
}


.case-card {

    width: 100%;

    margin-bottom: 25px;

    padding:
        18px;

    background:
        var(--oliva-light);

    border:
        1px solid
        rgba(167,186,141,.55);

    border-radius: 14px;
}


.case-card span {

    display: block;

    color:
        var(--muted);

    font-size: 9px;
}


.case-card strong {

    display: block;

    margin:
        6px
        0;

    color:
        var(--azul-profundo);

    font-size: 22px;

    letter-spacing: 1px;
}


.case-card p {

    color:
        var(--muted);

    font-size: 9px;

    line-height: 1.5;
}


.new-survey-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 160px;

    height: 50px;

    padding:
        0
        20px;

    color: white;

    font-size: 12px;

    font-weight: 700;

    text-decoration: none;

    background:
        var(--petroleo);

    border-radius: 12px;
}


/* ==========================================================
   ENCUESTA FINAL - 5 PREGUNTAS / 2 PASOS
========================================================== */

.compact-intro {
    margin-bottom: 18px;
}

.compact-intro .question-title {
    margin-bottom: 6px;
}

.compact-survey-form {
    display: grid;
    gap: 0;
}

.compact-question-card {
    position: relative;
    padding: 18px 0 19px;
    border-bottom: 1px solid #EEF1EF;
}

.compact-question-card:first-of-type {
    padding-top: 5px;
}

.compact-question-number {
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    color: var(--white);
    font-size: 10px;
    font-weight: 800;
    background: var(--petroleo);
    border-radius: 50%;
}

.compact-question-card .score-question {
    margin-bottom: 12px;
}

.compact-question-card .score-question strong {
    font-size: 14px;
}

.compact-question-card .score-question span {
    max-width: 390px;
    font-size: 10px;
    line-height: 1.5;
}

.compact-score-options {
    gap: 8px;
}

.compact-score-options .score-box {
    height: 44px;
    font-size: 13px;
    border-radius: 11px;
}

.compact-scale-legend {
    display: flex;
    justify-content: space-between;
    padding: 9px 2px 2px;
    color: #939A98;
    font-size: 8px;
}

.nps-question-card {
    margin-top: 3px;
}

.compact-nps-grid {
    margin-top: 2px;
    grid-template-columns: repeat(6, 1fr);
    gap: 7px;
}

.compact-nps-grid .nps-option span {
    width: 100%;
    height: 40px;
    border-radius: 10px;
}

.comment-question-card {
    border-bottom: none;
}

.compact-textarea {
    margin-bottom: 13px;
}

.compact-textarea textarea {
    min-height: 88px;
}


/* ==========================================================
   SOLICITUD DE CONTACTO
========================================================== */

.contact-request-option {
    display: block;
    cursor: pointer;
}

.contact-request-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.contact-request-box {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 14px;
    background: var(--marfil-light);
    border: 1px solid #EEE7DE;
    border-radius: 12px;
    transition:
        background .18s ease,
        border-color .18s ease,
        transform .18s ease;
}

.contact-check {
    flex: 0 0 auto;
    width: 27px;
    height: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    font-size: 13px;
    font-weight: 800;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: .18s ease;
}

.contact-copy {
    min-width: 0;
    display: block;
}

.contact-copy strong {
    display: block;
    color: var(--azul-profundo);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
}

.contact-copy small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 8px;
    line-height: 1.4;
}

.contact-request-option input:checked
+ .contact-request-box {
    background: var(--petroleo-light);
    border-color: var(--petroleo);
    transform: translateY(-1px);
}

.contact-request-option input:checked
+ .contact-request-box
.contact-check {
    color: var(--white);
    background: var(--petroleo);
    border-color: var(--petroleo);
}

.compact-navigation {
    margin-top: 18px;
}


/* ==========================================================
   DESKTOP
========================================================== */

@media (min-width: 601px) {
    .survey-card-final {
        max-width: 520px;
    }
}


/* ==========================================================
   MOBILE PEQUEÑO
========================================================== */

@media (max-width: 380px) {

    .compact-question-card .score-question strong {
        font-size: 13px;
    }

    .compact-nps-grid {
        gap: 5px;
    }

    .compact-nps-grid .nps-option span {
        height: 38px;
        font-size: 11px;
    }

    .contact-request-box {
        padding: 12px;
    }
}


/* =========================================================
   EXPERIENCIA ETH
   ACCESIBILIDAD + ESCALA CON CARITAS
   ========================================================= */


/* ---------------------------------------------------------
   TEXTO GENERAL
   --------------------------------------------------------- */

.survey-content {
    font-size: 18px;
}


.question-header .question-title {
    font-size: 2rem;
    line-height: 1.15;
    margin-bottom: 12px;
}


.question-header p {
    font-size: 1.05rem;
    line-height: 1.55;
}


/* ---------------------------------------------------------
   TARJETAS DE PREGUNTAS
   --------------------------------------------------------- */

.compact-question-card {
    padding: 26px 22px;
    margin-bottom: 22px;
}


.compact-question-number {
    min-width: 38px;
    min-height: 38px;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 1.05rem;
    font-weight: 800;
}


/* ---------------------------------------------------------
   TEXTO DE PREGUNTA
   --------------------------------------------------------- */

.score-question {
    margin-bottom: 20px;
}


.score-question strong {
    display: block;

    font-size: 1.22rem;
    line-height: 1.3;

    margin-bottom: 7px;
}


.score-question span {
    display: block;

    font-size: 1.08rem;
    line-height: 1.55;
}


/* =========================================================
   CARITAS
   ========================================================= */

.face-options {
    display: grid;
    grid-template-columns: repeat(5, 1fr);

    gap: 10px;

    margin-top: 18px;
}


.face-option {
    cursor: pointer;

    margin: 0;
}


.face-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}


.face-box {
    min-height: 92px;

    padding: 10px 5px;

    border: 2px solid #DADADA;
    border-radius: 16px;

    background: #FFFFFF;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 5px;

    transition:
        border-color .2s ease,
        background-color .2s ease,
        transform .15s ease,
        box-shadow .2s ease;
}


.face-emoji {
    display: block;

    font-size: 2.25rem;
    line-height: 1;
}


.face-box small {
    display: block;

    font-family: "Montserrat", sans-serif;

    font-size: .72rem;
    font-weight: 700;

    color: #1F3A5F;

    text-align: center;

    line-height: 1.15;
}


/* SELECCIONADO */

.face-option input:checked + .face-box {
    border-color: #3F7A89;

    background: #F1F7F8;

    box-shadow:
        0 0 0 3px rgba(63, 122, 137, .12);

    transform: translateY(-2px);
}


/* FOCUS ACCESIBLE */

.face-option input:focus-visible + .face-box {
    outline: 3px solid rgba(63, 122, 137, .25);
    outline-offset: 3px;
}


/* =========================================================
   NPS
   ========================================================= */

.compact-nps-grid {
    gap: 8px;
    margin-top: 18px;
}


.nps-option span {
    min-width: 46px;
    min-height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 1rem;
    font-weight: 700;
}


.nps-legend {
    margin-top: 12px;

    font-size: .9rem;
    font-weight: 600;
}


/* =========================================================
   COMENTARIO
   ========================================================= */

.compact-textarea textarea {
    min-height: 145px;

    padding: 16px;

    font-family: "Montserrat", sans-serif;
    font-size: 1.05rem;
    line-height: 1.5;
}


/* =========================================================
   SOLICITUD DE CONTACTO
   ========================================================= */

.contact-request-box {
    padding: 18px;
}


.contact-copy strong {
    font-size: 1rem;
    line-height: 1.4;
}


.contact-copy small {
    font-size: .9rem;
    line-height: 1.4;
}


/* =========================================================
   BOTONES
   ========================================================= */

.compact-navigation .btn-primary,
.compact-navigation .btn-secondary {
    min-height: 58px;

    padding: 14px 20px;

    font-size: 1rem;
    font-weight: 700;
}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 600px) {


    .survey-content {
        font-size: 17px;
    }


    .question-header .question-title {
        font-size: 1.75rem;
    }


    .question-header p {
        font-size: 1rem;
    }


    .compact-question-card {
        padding: 22px 16px;
    }


    .score-question strong {
        font-size: 1.18rem;
    }


    .score-question span {
        font-size: 1.03rem;
        line-height: 1.5;
    }


    .face-options {
        gap: 6px;
    }


    .face-box {
        min-height: 84px;

        padding:
            9px
            3px;
    }


    .face-emoji {
        font-size: 2rem;
    }


    .face-box small {
        font-size: .64rem;
    }


    .nps-option span {
        min-height: 50px;

        font-size: 1rem;
    }


    .compact-textarea textarea {
        font-size: 1rem;
    }

}


/* =========================================================
   PANTALLAS MUY PEQUEÑAS
   ========================================================= */

@media (max-width: 390px) {


    .face-options {
        gap: 4px;
    }


    .face-box {
        min-height: 78px;
    }


    .face-emoji {
        font-size: 1.8rem;
    }


    .face-box small {
        font-size: .58rem;
    }

}

/* =========================================================
   AJUSTE FINAL - TEXTO GRANDE EN PREGUNTAS
   ========================================================= */

.score-question strong {
    display: block;

    font-size: 1.35rem !important;
    line-height: 1.3;

    margin-bottom: 10px;

    font-weight: 700;
}


.score-question span {
    display: block;

    font-size: 1.32rem !important;
    line-height: 1.5;

    font-weight: 500;

    color: #1F3A5F;
}


/* CELULAR */

@media (max-width: 600px) {

    .score-question strong {
        font-size: 1.28rem !important;
    }

    .score-question span {
        font-size: 1.25rem !important;
        line-height: 1.5;
    }

}


/* CELULARES MUY PEQUEÑOS */

@media (max-width: 390px) {

    .score-question strong {
        font-size: 1.22rem !important;
    }

    .score-question span {
        font-size: 1.18rem !important;
        line-height: 1.45;
    }

}