:root {
    --navy: #1f3c73;
    --navy-dark: #162d58;
    --pink: #d9307a;
    --pink-dark: #b8205f;
    --bg: #eaf1fb;
    --card: #ffffff;
    --line: #dbe3ef;
    --text: #1d2a44;
    --muted: #6b7a93;
    --soft: #f5f8fd;
    --radius: 18px;
    --logo-bg: #31577b;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
    margin: 0;
    font-family: 'Poppins', system-ui, sans-serif;
    font-size: 14px;
    color: var(--text);
    background: radial-gradient(circle at 10% 0%, #f7faff 0, var(--bg) 60%) fixed;
}

/* Pantalla completa (igual que en móvil) en todos los tamaños */
.page { width: 100%; margin: 0; padding: 0; }

.card {
    --gx: clamp(16px, 4vw, 72px);
    background: var(--card);
    min-height: 100vh;
    padding: 0 var(--gx);
    display: flex;
    flex-direction: column;
}
.card > form { flex: 1; display: flex; flex-direction: column; }

.brand-bar { margin: 0 calc(-1 * var(--gx)); padding: 14px var(--gx); border-bottom: 1px solid var(--line); }

/* Header */
.brand-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand strong { display: block; font-size: 18px; }
.brand small { color: var(--muted); font-size: 12px; }
.brand .logo { border-radius: 10px; display: block; flex: none; }
.logo-panel { width: min(260px, 60%); height: auto; display: block; }

/* Pantalla de elección de idioma */
.lang-picker { flex: 1; display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 4vw, 72px); margin: 0 calc(-1 * var(--gx)); }
.lang-body { align-self: center; padding: 32px var(--gx) 40px 0; max-width: 640px; }
.lang-sub { color: var(--muted); margin: 0 0 26px; }
.lang-options { display: grid; gap: 12px; }
.lang-option {
    display: flex; align-items: center; gap: 16px; padding: 16px 18px;
    border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--text); transition: .2s;
}
.lang-option:hover, .lang-option:focus-visible { border-color: var(--pink); background: #fff5f9; transform: translateY(-1px); outline: none; }
.lang-option > span:nth-child(2) { flex: 1; }
.lang-option strong { display: block; color: var(--navy); font-size: 17px; }
.lang-option small { color: var(--muted); }
.lang-option > svg { color: var(--pink); width: 20px; height: 20px; }
.lang-code { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #eef3fb; color: var(--navy); font-weight: 700; font-size: 14px; flex: none; }

.lang { display: flex; align-items: center; gap: 6px; color: var(--navy); }
.lang svg { width: 18px; height: 18px; }
.lang select { border: 0; background: transparent; font: inherit; color: inherit; cursor: pointer; }

/* Stepper */
.stepper {
    list-style: none; padding: 0; margin: 22px 0 26px;
    display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
    position: relative;
}
.stepper::before {
    content: ''; position: absolute; top: 14px; left: 6%; right: 6%;
    border-top: 2px dashed var(--line);
}
.stepper li { text-align: center; position: relative; }
.stepper span {
    display: inline-grid; place-items: center; width: 30px; height: 30px;
    border-radius: 50%; border: 1.5px solid var(--line); background: #fff;
    font-weight: 600; font-size: 13px; color: var(--muted); transition: .2s;
}
.stepper small { display: block; margin-top: 6px; font-size: 11px; color: var(--muted); line-height: 1.2; }
.stepper li.done span { border-color: var(--navy); color: var(--navy); }
.stepper li.active span { background: var(--pink); border-color: var(--pink); color: #fff; box-shadow: 0 0 0 5px rgba(217, 48, 122, .15); }
.stepper li.active small { color: var(--pink); font-weight: 600; }

/* Typography */
h1 { color: var(--navy); font-size: 32px; line-height: 1.15; margin: 0 0 6px; }
h2 { color: var(--navy); font-size: 24px; margin: 0 0 4px; }
h3 { color: var(--navy); font-size: 15px; margin: 22px 0 10px; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
b { color: var(--pink); }

/* Fields */
.field { display: block; font-weight: 500; margin-bottom: 14px; font-size: 13px; }
input:not([type=checkbox]):not([type=radio]), select, textarea {
    display: block; width: 100%; margin-top: 6px;
    padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px;
    font: inherit; font-weight: 400; color: var(--text); background: #fff;
    transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(31, 60, 115, .1); }
textarea { resize: vertical; }
.invalid { border-color: var(--pink) !important; box-shadow: 0 0 0 3px rgba(217, 48, 122, .12) !important; }
.counter { display: block; text-align: right; font-weight: 400; color: var(--muted); font-size: 11px; margin-top: 4px; }
input[type=checkbox], input[type=radio] { accent-color: var(--pink); width: 16px; height: 16px; margin: 0; }

.input-prefix { display: flex; align-items: stretch; margin-top: 6px; }
.input-prefix > span { padding: 10px 12px; border: 1px solid var(--line); border-right: 0; border-radius: 10px 0 0 10px; background: var(--soft); white-space: nowrap; font-weight: 400; }
.input-prefix input { margin-top: 0 !important; border-radius: 0 10px 10px 0 !important; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.grid-2.wide-left { grid-template-columns: 2fr 1fr; }
.grid-2.top { align-items: start; gap: 0 32px; }

fieldset { border: 0; padding: 0; margin: 0 0 14px; }
legend { font-weight: 500; font-size: 13px; margin-bottom: 10px; padding: 0; }
.panel { background: var(--soft); border-radius: 14px; padding: 16px; }
.checks { display: grid; gap: 10px 20px; }
.checks label { display: flex; align-items: center; gap: 8px; }
.checks.invalid-group { outline: 2px solid rgba(217, 48, 122, .4); outline-offset: 6px; border-radius: 8px; }
.with-other { flex-wrap: wrap; }
.with-other input:not([type=checkbox]) { margin-top: 4px; }

.radios { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-bottom: 12px; font-size: 13px; }
.radios > span { font-weight: 500; flex: 1 1 260px; }
.radios label { display: flex; align-items: center; gap: 6px; }
.radios.stacked { flex-direction: column; align-items: flex-start; }
.radios.stacked > span { flex: none !important; }
.radios.stacked > div { display: flex; gap: 22px; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }

/* Tables */
.table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 13px; }
.table th { text-align: left; background: var(--soft); color: var(--navy); font-weight: 600; padding: 10px; }
.table td { padding: 6px 4px; border-bottom: 1px solid var(--line); }
.table td input, .table td select { margin-top: 0 !important; padding: 7px 9px !important; }
.table tbody:empty::after { content: attr(data-empty); display: table-cell; padding: 12px 10px; color: var(--muted); }
.icon-btn { border: 0; background: none; color: var(--pink); cursor: pointer; padding: 6px; }
.icon-btn svg { width: 18px; height: 18px; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border: 0; border-radius: 999px; padding: 11px 26px;
    font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; transition: .2s;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: linear-gradient(90deg, var(--pink), #e04a8c); color: #fff; box-shadow: 0 8px 20px -8px rgba(217, 48, 122, .6); }
.btn-primary:hover { background: var(--pink-dark); }
.btn-light { background: var(--soft); color: var(--navy); border: 1px solid var(--line); }
.btn-light:hover { background: #e9eff9; }
.btn-pill { background: var(--pink); color: #fff; padding: 7px 16px; font-size: 13px; margin: 6px 0; }
.btn-block { width: 100%; padding: 14px; font-size: 16px; }
.link { border: 0; background: none; color: var(--navy); text-decoration: underline; cursor: pointer; font: inherit; }

/* Barra de botones fija abajo, como en móvil */
.actions {
    display: flex; justify-content: space-between; gap: 10px;
    position: sticky; bottom: 0; z-index: 5;
    margin: auto calc(-1 * var(--gx)) 0; padding: 14px var(--gx) calc(14px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96); backdrop-filter: blur(6px);
    box-shadow: 0 -6px 20px -12px rgba(31, 60, 115, .35);
}
.step:not(.step-welcome) { padding-bottom: 28px; }

.alert { display: flex; align-items: center; gap: 8px; background: #fde8f1; color: var(--pink-dark); padding: 12px 16px; border-radius: 12px; margin-bottom: 16px; }
.alert svg { width: 18px; }

/* Step 1 – Welcome */
.step-welcome { flex: 1; display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 4vw, 72px); margin: 0 calc(-1 * var(--gx)); }
.welcome-art {
    background: var(--logo-bg); /* mismo color que el fondo de logo.png */
    border-radius: 0 200px 0 0; color: #fff;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 40px 24px; text-align: center; min-height: 420px;
}
.welcome-art blockquote { font-style: italic; font-size: 17px; margin: 28px 0 0; line-height: 1.5; }
.welcome-art blockquote::after { content: ''; display: block; width: 40px; height: 3px; background: var(--pink); margin: 16px auto 0; border-radius: 2px; }
.welcome-body { padding: 24px var(--gx) 40px 0; align-self: center; max-width: 760px; }
.welcome-body p { line-height: 1.65; }
.features { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 16px; }
.features li { display: flex; gap: 14px; align-items: center; }
.features svg { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: #eef3fb; color: var(--navy); flex: none; }
.features strong { display: block; color: var(--navy); }
.features small { color: var(--muted); }

/* Symptoms */
.symptoms { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin-top: 16px; }
.symptom {
    display: flex; align-items: center; gap: 12px; padding: 12px 14px;
    border: 1px solid var(--line); border-radius: 14px; cursor: pointer; transition: .2s;
}
.symptom:hover { border-color: #b8c6dd; }
.symptom:has(input:checked) { border-color: var(--pink); background: #fff5f9; }
.symptom > svg { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: #eef3fb; color: var(--navy); flex: none; }
.symptom strong { display: block; color: var(--navy); font-size: 13px; }
.symptom small { color: var(--muted); font-size: 12px; }
.symptom span { flex: 1; }
.symptom span input { padding: 6px 10px !important; }

/* Review / consent */
.consents { display: grid; gap: 12px; margin-top: 16px; }
.consent { display: flex; align-items: center; gap: 16px; border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; cursor: pointer; }
.consent:has(input:checked) { border-color: var(--pink); }
.consent > svg { width: 30px; height: 30px; color: var(--navy); flex: none; }
.consent span { flex: 1; }
.consent strong { display: block; color: var(--navy); }
.consent small { color: var(--muted); }
.consent input { width: 20px; height: 20px; }

.review details { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; }
.review summary { padding: 10px 14px; cursor: pointer; color: var(--navy); font-weight: 500; font-size: 13px; }
.review dl { margin: 0; padding: 0 14px 12px; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 12px; }
.review dt { color: var(--muted); }
.review dd { margin: 0; word-break: break-word; }

.signature { border: 1px dashed #b8c6dd; border-radius: 12px; padding: 8px 12px; margin-bottom: 14px; }
.signature canvas { width: 100%; height: 130px; cursor: crosshair; touch-action: none; display: block; }

.thanks { text-align: center; padding: 50px 10px 30px; }
.thanks > svg { width: 72px; height: 72px; color: var(--pink); }
.thanks p { max-width: 480px; margin: 10px auto 26px; line-height: 1.6; }

/* Componentes del cuestionario completo */
.grid-2.three { grid-template-columns: repeat(3, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.field.narrow { max-width: 280px; margin-top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
h4.sub { color: var(--navy); font-size: 13px; margin: 18px 0 6px; }

.chk {
    border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px;
    cursor: pointer; transition: .15s; font-size: 13px; line-height: 1.35;
}
.chk:hover { border-color: #b8c6dd; }
.chk:has(input:checked) { border-color: var(--pink); background: #fff5f9; }
.chk.inline { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.chk.with-other input:not([type=checkbox]) { flex-basis: 100%; }

.sym-group { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin: 0 0 14px; }
.sym-group h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; color: var(--navy); font-size: 14px; }
.sym-group h4 svg { width: 18px; height: 18px; }
.sym-group.danger { border-color: rgba(217, 48, 122, .45); background: #fff8fb; }
.sym-group.danger h4 { color: var(--pink-dark); }
.notice { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; padding: 12px 14px; border-radius: 10px; background: #fde8f1; color: var(--pink-dark); font-size: 13px; line-height: 1.5; }
.notice svg { width: 20px; height: 20px; flex: none; }

.radios.invalid { outline: 2px solid rgba(217, 48, 122, .4); outline-offset: 6px; border-radius: 8px; }
.yn-often { display: grid; grid-template-columns: 1fr 160px; gap: 10px; align-items: center; margin-bottom: 6px; }
.yn-often .radios { margin: 0; }
.yn-often input { margin-top: 0 !important; }

.matrix-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; }
.matrix { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 640px; }
.matrix th, .matrix td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: center; }
.matrix thead th { background: var(--soft); color: var(--navy); font-weight: 600; }
.matrix tbody th { text-align: left; font-weight: 500; white-space: nowrap; position: sticky; left: 0; background: #fff; }
.matrix tbody tr:last-child > * { border-bottom: 0; }

.holmes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 14px; }
.holmes .chk { display: flex; align-items: center; gap: 10px; }
.holmes .chk span { flex: 1; }
.holmes em { font-style: normal; font-weight: 600; font-size: 12px; color: var(--navy); background: #eef3fb; border-radius: 999px; padding: 2px 9px; }
.total { margin: 16px 0 20px; padding: 14px 18px; border-radius: 12px; background: var(--soft); color: var(--navy); font-size: 15px; }
.total strong { font-size: 22px; color: var(--pink); margin-left: 6px; }

/* Experiencia de usuario */
.progress { height: 4px; background: var(--line); border-radius: 999px; overflow: hidden; margin: -10px 0 22px; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--pink), #e04a8c); border-radius: inherit; transition: width .4s ease; }
.stepper li.reachable { cursor: pointer; }
.stepper li.reachable:hover span { border-color: var(--pink); color: var(--pink); }
.step h2:focus { outline: none; }
.span-2 { grid-column: span 2; }
.err-msg { display: block; color: var(--pink-dark); font-size: 12px; font-weight: 500; margin-top: 4px; }
.radios + .err-msg { margin: -6px 0 12px; }
.signature.invalid { border-color: var(--pink); }
.err-summary { border: 1.5px solid var(--pink); background: #fff5f9; border-radius: 14px; padding: 14px 16px; margin: 0 0 20px; scroll-margin-top: 12px; }
.err-summary:focus { outline: none; box-shadow: 0 0 0 4px rgba(217, 48, 122, .15); }
.err-head { display: flex; align-items: center; gap: 8px; color: var(--pink-dark); }
.err-head svg { width: 20px; height: 20px; flex: none; }
.err-summary p { margin: 4px 0 10px; color: var(--muted); }
.err-summary ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.err-summary li button {
    width: 100%; display: flex; align-items: center; gap: 8px; text-align: left; cursor: pointer;
    background: #fff; border: 1px solid #f3c2d7; border-radius: 10px; padding: 9px 12px;
    font: inherit; font-size: 13px; color: var(--text); transition: .15s;
}
.err-summary li button:hover, .err-summary li button:focus-visible { border-color: var(--pink); color: var(--pink-dark); }
.err-field { flex: 1; font-weight: 500; }
.err-step { font-size: 11px; color: var(--muted); background: var(--soft); border-radius: 999px; padding: 2px 8px; }
.err-step:empty { display: none; }
.err-summary li svg { width: 16px; height: 16px; color: var(--pink); flex: none; }
.err-badge {
    display: inline-flex; align-items: center; gap: 6px; margin-left: auto; cursor: pointer;
    border: 1.5px solid var(--pink); background: #fff5f9; color: var(--pink-dark);
    border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 13px; font-weight: 600;
}
.err-badge svg { width: 16px; height: 16px; }
.toast {
    position: fixed; left: 50%; bottom: 92px; transform: translateX(-50%); z-index: 20;
    background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 12px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .4); font-size: 14px; max-width: calc(100% - 32px); text-align: center;
    animation: toast-in .25s ease;
}
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 10px); } }
.resume { display: grid; grid-template-columns: auto 1fr; gap: 10px 12px; align-items: center; padding: 16px; border: 1px solid var(--pink); background: #fff5f9; border-radius: 14px; margin-bottom: 8px; }
.resume > svg { color: var(--pink); width: 22px; height: 22px; }
.resume span { font-weight: 500; color: var(--navy); }
.resume-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; }
.resume-actions .btn { flex: 1 1 200px; }
.review summary { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.review .edit { font-size: 12px; color: var(--pink); }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

.step-label { display: none; text-align: center; font-size: 12px; color: var(--pink); font-weight: 600; }

/* Pantallas de PC grandes: aprovechar el ancho */
@media (min-width: 1200px) {
    .welcome-body h1 { font-size: 44px; }
    .welcome-body p { font-size: 15px; }
    .features { grid-template-columns: repeat(3, 1fr); }
    .features li { flex-direction: column; align-items: flex-start; gap: 10px; }
    .stepper small { font-size: 12px; }
    .consents { grid-template-columns: repeat(3, 1fr); }
    .grid-2.wide-left { grid-template-columns: 2fr 1fr 1fr 1fr; }
    .checks.grid-3 { grid-template-columns: repeat(4, 1fr); }
    .holmes { grid-template-columns: repeat(3, 1fr); }
}

/* Responsive – tablet */
@media (max-width: 900px) {
    .stepper small { font-size: 10px; }
    .grid-2.top { grid-template-columns: 1fr; }
    .checks.grid-3, .holmes { grid-template-columns: repeat(2, 1fr); }
}

/* Responsive – mobile */
@media (max-width: 640px) {
    body { font-size: 15px; }
    .brand-bar { padding-top: 12px; padding-bottom: 12px; }
    .brand strong { font-size: 16px; white-space: nowrap; }
    .radios { gap: 8px 24px; }
    .radios > span { flex-basis: 100%; }
    .brand small { display: none; }
    .brand .logo { width: 36px; height: 36px; }
    .lang { gap: 2px; }

    .stepper { margin: 16px 0 4px; }
    .stepper::before { top: 12px; }
    .stepper span { width: 24px; height: 24px; font-size: 11px; }
    .stepper li.active span { box-shadow: 0 0 0 3px rgba(217, 48, 122, .15); }
    .stepper small { display: none; }
    .step-label { display: block; margin: 0 0 18px; }
    .progress { margin: 0 0 8px; }
    .span-2 { grid-column: auto; }
    .toast { bottom: 84px; }
    .err-summary ul { grid-template-columns: 1fr; }
    .actions .err-badge { flex: 0 0 auto; padding: 8px 10px; }
    .actions .err-badge span { display: none; }
    .actions .err-badge::after { content: attr(data-count); }

    h1 { font-size: 26px; }
    h2 { font-size: 20px; }
    .grid-2, .grid-2.wide-left, .grid-2.three, .symptoms, .checks.grid-3, .holmes { grid-template-columns: 1fr; }
    .stepper span { width: 20px !important; height: 20px !important; font-size: 10px !important; }
    .stepper::before { top: 10px !important; left: 3%; right: 3%; }
    .sym-group { padding: 12px; }
    .yn-often { grid-template-columns: 1fr; gap: 4px; margin-bottom: 12px; }
    .table.fixed td:last-child { position: static; width: 100%; padding: 0 0 8px; }
    .table.fixed td:last-child::before { content: attr(data-label); }
    .table.fixed tr { padding-right: 12px; }
    .checks.grid-2 { gap: 12px; }

    /* iOS no hace zoom si la fuente es ≥ 16px */
    input:not([type=checkbox]):not([type=radio]), select, textarea { font-size: 16px; padding: 11px 12px; }
    input[type=checkbox], input[type=radio] { width: 20px; height: 20px; }
    .checks label, .radios label { min-height: 32px; }

    .step-welcome { grid-template-columns: 1fr; gap: 0; }
    .welcome-art { border-radius: 0 0 90px 0; min-height: 0; padding: 26px 20px 30px; }
    .welcome-art .logo { width: 150px; height: auto; }
    .lang-picker { grid-template-columns: 1fr; gap: 0; }
    .lang-body { padding: 22px var(--gx) 28px; }
    .welcome-art blockquote { font-size: 15px; margin-top: 14px; }
    .welcome-body { padding: 22px var(--gx) 28px; }

    /* Tablas → tarjetas */
    .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
    .table thead { display: none; }
    .table tr { position: relative; border: 1px solid var(--line); border-radius: 12px; padding: 10px 44px 4px 12px; margin-bottom: 10px; background: var(--soft); }
    .table td { border: 0; padding: 0 0 8px; }
    .table td::before { content: attr(data-label); display: block; font-size: 12px; color: var(--muted); margin-bottom: 3px; }
    .table td:last-child { position: absolute; top: 6px; right: 4px; width: auto; padding: 0; }
    .table td:last-child::before { content: none; }
    .table tbody:empty::after { display: block; }
    .btn-pill { width: 100%; }

    .symptom { padding: 12px; }
    .consent { padding: 12px 14px; gap: 12px; }
    .consent > svg { width: 24px; height: 24px; }

    .actions { padding-top: 12px; padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
    .actions .btn { flex: 1; padding: 12px 14px; }
    .actions .btn-light { flex: 0 0 auto; }
    .actions .btn-light .txt { display: none; }

    .thanks { padding: 40px 0; }
}

@media (max-width: 360px) {
    .stepper span { width: 22px; height: 22px; font-size: 10px; }
    h1 { font-size: 23px; }
}
