/* ══════════════════════════════════════════════
   voluntariado.css — Comunidad HR × Casa Ronald
   ══════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --sky:      #00BAF2;
  --sky-blue: #00BAF2;
  --yellow:   #FFD400;
  --navy:     #012d50;
  --text:     #475569;
  --border:   #E2E8F0;
  --bg:       #F8FAFC;
  --nav-h:    60px;
  --side-w:   320px;
}

body, html { height: 100%; font-family: 'Poppins', sans-serif; background: #fff; color: var(--navy); }

/* ── Animaciones ── */
@keyframes heartbeat  { 0%,100%{transform:scale(1)} 14%{transform:scale(1.3)} 28%{transform:scale(1)} 42%{transform:scale(1.15)} 56%{transform:scale(1)} }
@keyframes sparkle    { 0%,100%{transform:scale(1) rotate(0deg)} 25%{transform:scale(1.3) rotate(12deg)} 50%{transform:scale(.9) rotate(-8deg)} 75%{transform:scale(1.15) rotate(6deg)} }
@keyframes vlt-shimmer { 0%{background-position:-600px 0} 100%{background-position:600px 0} }

.emoji-heart   { display: inline-block; animation: heartbeat 2.4s ease-in-out infinite; }
.emoji-sparkle { display: inline-block; animation: sparkle 2.2s ease-in-out infinite; }

/* ══ SKELETON ══ */
.vlt-sk {
  background: linear-gradient(90deg, #EEF2F6 25%, #E2E8F0 50%, #EEF2F6 75%);
  background-size: 1200px 100%;
  animation: vlt-shimmer 1.5s ease-in-out infinite;
  border-radius: 10px;
}
#vlt-skeleton {
  position: fixed; inset: 0; z-index: 9999;
  background: #F8FAFC;
  display: flex; flex-direction: column;
  transition: opacity .4s ease, visibility .4s ease;
}
#vlt-skeleton.vlt-sk-done { opacity: 0; visibility: hidden; pointer-events: none; }

.vlt-sk-nav {
  height: var(--nav-h); background: #fff;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; flex-shrink: 0;
}
.vlt-sk-nav-left { display: flex; align-items: center; gap: 10px; }
.vlt-sk-logo-sq  { width: 34px; height: 34px; border-radius: 9px; }
.vlt-sk-logo-txt { width: 70px; height: 24px; }
.vlt-sk-divider  { width: 1.5px; height: 28px; background: var(--border); margin: 0 6px; }
.vlt-sk-ronald   { width: 90px; height: 30px; border-radius: 6px; }
.vlt-sk-badge    { width: 160px; height: 32px; border-radius: 20px; }

.vlt-sk-body-split {
  flex: 1; display: grid;
  grid-template-columns: var(--side-w) 1fr;
  overflow: hidden;
}
.vlt-sk-left {
  background: var(--sky); opacity: .35;
  padding: 28px 24px; display: flex; flex-direction: column; gap: 14px;
}
.vlt-sk-right { padding: 32px 7%; display: flex; flex-direction: column; gap: 14px; background: var(--bg); }
.vlt-sk-h2    { height: 60px; border-radius: 10px; }
.vlt-sk-h3    { height: 44px; border-radius: 10px; }
.vlt-sk-p     { height: 14px; border-radius: 6px; }
.vlt-sk-p.sm  { width: 60%; }
.vlt-sk-card  { height: 80px; border-radius: 14px; }
.vlt-sk-field { height: 52px; border-radius: 12px; }
.vlt-sk-btn   { height: 52px; border-radius: 14px; }

/* ══ NAV ══ */
.global-nav {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 500;
  background: #fff; border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  display: flex; align-items: center; justify-content: space-between; padding: 0 24px;
}

/* Izquierda: flecha volver */
.nav-back {
  display: flex; align-items: center;
}
.nav-back-btn {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--bg); border: 1.5px solid var(--border);
  color: var(--navy); cursor: pointer; text-decoration: none;
  transition: background .2s, border-color .2s;
  flex-shrink: 0;
}
.nav-back-btn:hover { background: #e8f4fb; border-color: var(--sky); }
.nav-back-btn svg { width: 18px; height: 18px; display: block; }

/* Derecha: logos (tamaños del home) */
.nav-brand {
  display: flex; align-items: center; gap: 16px;
}
.nav-hr-full { display: flex; align-items: center; gap: 10px; }
.nav-hr-icon  {
  width: 48px; height: 48px; background: var(--sky); border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 17px; color: white; flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(0,186,242,.28);
  letter-spacing: -.5px;
}
.nav-hr-label { font-weight: 800; font-size: 11px; line-height: 1.15; text-transform: uppercase; letter-spacing: .6px; color: var(--navy); }
.nav-sep { width: 2px; height: 36px; background: #ebebeb; border-radius: 2px; flex-shrink: 0; }
.nav-ronald img { height: 48px; width: auto; object-fit: contain; display: block; }

/* Legacy — ya no se usan pero se mantienen por si quedan referencias */
.nav-left { display: none; }
.nav-right { display: none; }
.nav-event-badge { display: none !important; }
.nav-badge-short  { display: none !important; }

/* Volver: solo texto + flecha en azul, sin contenedor */
.nav-volver {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .8rem; font-weight: 700; color: var(--sky);
  text-decoration: none; letter-spacing: .2px;
  transition: opacity .2s;
}
.nav-volver:hover { opacity: .7; }
.nav-volver svg { flex-shrink: 0; stroke: var(--sky); }

/* ══ LAYOUT ══ */
.split-layout {
  display: grid;
  grid-template-columns: var(--side-w) 1fr;
  min-height: 100vh;
  padding-top: var(--nav-h);
}

/* ══ SIDEBAR ══ */
.visual-side {
  position: sticky; top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  background: var(--sky); overflow: hidden;
  display: flex; flex-direction: column;
  padding: 28px 24px 24px; gap: 16px;
}
.visual-side::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 260px; height: 260px; border-radius: 50%;
  background: rgba(255,255,255,.13); pointer-events: none;
}
.visual-side::after {
  content: ''; position: absolute; bottom: -60px; left: -60px;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(1,45,80,.10); pointer-events: none;
}
.visual-side > * { position: relative; z-index: 1; }

.vs-over { font-size: .46rem; font-weight: 800; text-transform: uppercase; letter-spacing: 3px; color: rgba(1,45,80,.55); display: flex; align-items: center; gap: 7px; }
.vs-over::after { content: ''; flex: 1; height: 1px; background: rgba(1,45,80,.15); }
.vs-title { font-size: 2rem; font-weight: 900; color: white; line-height: 1.04; letter-spacing: -.5px; text-shadow: 0 2px 12px rgba(1,45,80,.18); }
.vs-title em { font-style: normal; background-image: linear-gradient(var(--yellow),var(--yellow)); background-size: 100% 7px; background-repeat: no-repeat; background-position: 0 94%; }
.vs-intro { font-size: .69rem; font-weight: 500; color: var(--navy); line-height: 1.62; opacity: .88; }
.vs-intro b { font-weight: 800; }
.vs-pills { display: flex; flex-wrap: wrap; gap: 5px; }
.vs-pill { display: inline-flex; align-items: center; gap: 5px; background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.7); padding: 5px 11px; border-radius: 20px; font-size: .6rem; font-weight: 700; color: var(--navy); backdrop-filter: blur(4px); }
.vs-pill svg { width: 9px; height: 9px; stroke: var(--navy); flex-shrink: 0; }
.vs-rule { height: 1px; background: rgba(1,45,80,.12); }
.vs-price-block { display: flex; flex-direction: column; gap: 3px; }
.vsp-label { font-size: .44rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: rgba(1,45,80,.5); }
.vsp-row   { display: flex; align-items: baseline; gap: 3px; }
.vsp-cur   { font-size: 1.1rem; font-weight: 900; color: var(--navy); }
.vsp-num   { font-size: 2.8rem; font-weight: 900; color: var(--navy); line-height: 1; }
.vsp-per   { font-size: .62rem; font-weight: 600; color: rgba(1,45,80,.5); margin-left: 4px; }
.vsp-desc  { font-size: .66rem; color: rgba(1,45,80,.65); font-weight: 500; margin-top: 1px; display: flex; align-items: center; gap: 5px; }
.vsp-desc svg { width: 11px; height: 11px; stroke: var(--navy); opacity: .55; flex-shrink: 0; }
.vs-note-label { font-size: .44rem; font-weight: 800; text-transform: uppercase; letter-spacing: 2.5px; color: rgba(1,45,80,.45); margin-bottom: 5px; }
.vs-note p { font-size: .75rem; color: var(--navy); line-height: 1.6; font-weight: 500; }
.vs-note strong { font-weight: 900; color: var(--navy); background: var(--yellow); padding: 1px 5px 2px; border-radius: 4px; display: inline; }
.vs-foot { margin-top: auto; font-size: .63rem; color: rgba(1,45,80,.6); line-height: 1.55; font-weight: 500; border-top: 1px solid rgba(1,45,80,.12); padding-top: 14px; }
.vs-foot strong { font-weight: 800; color: var(--navy); }

/* ══ COLUMNA DERECHA ══ */
.form-side { overflow-y: auto; height: calc(100vh - var(--nav-h)); background: var(--bg); }

/* ══ MOBILE BANNER ══ */
.mobile-banner { display: none; }
.mb-wrap { margin: 14px 14px 0; background: var(--sky); border-radius: 18px; overflow: hidden; position: relative; box-shadow: 0 6px 24px rgba(0,186,242,.28); }
.mb-wrap::before { content: ''; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: rgba(255,255,255,.12); pointer-events: none; }
.mb-wrap::after  { content: ''; position: absolute; left: -30px; bottom: -30px; width: 110px; height: 110px; border-radius: 50%; background: rgba(1,45,80,.08); pointer-events: none; }
.mb-inner { position: relative; z-index: 1; padding: 20px 20px 18px; display: flex; flex-direction: column; gap: 13px; }
.mb-over  { font-size: .45rem; font-weight: 800; text-transform: uppercase; letter-spacing: 2.5px; color: rgba(1,45,80,.55); }
.mb-title { font-size: 1.45rem; font-weight: 900; color: white; line-height: 1.1; text-shadow: 0 1px 8px rgba(1,45,80,.15); }
.mb-title em { font-style: normal; background-image: linear-gradient(var(--yellow),var(--yellow)); background-size: 100% 5px; background-repeat: no-repeat; background-position: 0 94%; }
.mb-intro { font-size: .7rem; color: var(--navy); line-height: 1.6; opacity: .85; }
.mb-intro b { font-weight: 800; }
.mb-pills { display: flex; flex-wrap: wrap; gap: 5px; }
.mb-pill  { display: inline-flex; align-items: center; gap: 4px; background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.7); padding: 4px 10px; border-radius: 20px; font-size: .58rem; font-weight: 700; color: var(--navy); }
.mb-pill svg { width: 9px; height: 9px; stroke: var(--navy); flex-shrink: 0; }
.mb-rule  { height: 1px; background: rgba(1,45,80,.12); }
.mbp-label { font-size: .42rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: rgba(1,45,80,.5); margin-bottom: 3px; }
.mbp-row   { display: flex; align-items: baseline; gap: 2px; }
.mbp-cur   { font-size: .9rem; font-weight: 900; color: var(--navy); }
.mbp-num   { font-size: 2.1rem; font-weight: 900; color: var(--navy); line-height: 1; }
.mbp-per   { font-size: .56rem; color: rgba(1,45,80,.5); margin-left: 4px; }
.mbp-desc  { font-size: .64rem; color: rgba(1,45,80,.65); margin-top: 2px; display: flex; align-items: center; gap: 4px; }
.mbp-desc svg { width: 10px; height: 10px; stroke: var(--navy); opacity: .5; }
.mb-note  { font-size: .68rem; color: var(--navy); line-height: 1.58; font-weight: 500; border-top: 1px solid rgba(1,45,80,.12); padding-top: 10px; }
.mb-note strong { font-weight: 900; background: var(--yellow); padding: 1px 5px 2px; border-radius: 4px; display: inline; }
.mb-foot  { font-size: .62rem; color: rgba(1,45,80,.6); line-height: 1.55; font-weight: 500; border-top: 1px solid rgba(1,45,80,.12); padding-top: 10px; }
.mb-foot strong { font-weight: 800; color: var(--navy); }

/* ══ FORM ══ */
.form-body { padding: 32px 7% 100px; }
.form-header { margin-bottom: 36px; }
.form-header h1 { font-size: 1.75rem; font-weight: 900; letter-spacing: -.5px; }
.form-header p  { font-size: .83rem; color: var(--text); margin-top: 6px; }
.progress-strip { height: 4px; width: 60px; background: var(--sky); border-radius: 10px; margin-bottom: 14px; }

.section-title {
  font-size: .67rem; font-weight: 800; color: var(--sky);
  text-transform: uppercase; letter-spacing: 2.5px;
  margin: 36px 0 16px;
  display: flex; align-items: center; gap: 10px;
}
.section-title::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.field { margin-bottom: 18px; }
.field > label { display: block; font-weight: 700; font-size: .74rem; margin-bottom: 8px; color: var(--text); text-transform: uppercase; letter-spacing: .5px; }
.input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

input[type="text"],
input[type="email"],
input[type="number"],
input[type="tel"],
input[type="url"],
textarea {
  width: 100%; background: white; border: 2px solid var(--border);
  padding: 13px 15px; border-radius: 12px; font-family: inherit;
  font-size: .9rem; color: var(--navy);
  transition: border-color .2s, box-shadow .2s;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
textarea:focus {
  outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(0,186,242,.1);
}
textarea { resize: vertical; min-height: 96px; }
input[type="radio"],
input[type="checkbox"] { display: none; }

.options-grid { display: grid; gap: 8px; }
.options-grid.col-1 { grid-template-columns: 1fr; }
.options-grid.col-2 { grid-template-columns: 1fr 1fr; }
.options-grid.col-3 { grid-template-columns: repeat(3, 1fr); }
.options-grid > label { display: flex; cursor: pointer; }

.opt-card {
  flex: 1; background: white; border: 2px solid var(--border);
  padding: 11px 13px; border-radius: 12px;
  display: flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .83rem; line-height: 1.3;
  color: var(--navy); user-select: none;
  transition: border-color .16s, background .16s;
}
.opt-card svg { width: 14px; height: 14px; stroke: var(--text); flex-shrink: 0; transition: stroke .16s; }
.opt-card:hover { border-color: var(--sky); background: #F0F9FF; }
.opt-card:hover svg { stroke: var(--sky); }
input[type="radio"]:checked  + .opt-card,
input[type="checkbox"]:checked + .opt-card { border-color: var(--sky); background: #E0F2FE; }
input[type="radio"]:checked  + .opt-card svg,
input[type="checkbox"]:checked + .opt-card svg { stroke: var(--sky); }

.field-note {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: .74rem; color: var(--text);
  background: #FFFBEB; border-left: 3px solid var(--yellow);
  padding: 9px 12px; border-radius: 0 10px 10px 0;
  margin-top: 8px; line-height: 1.5;
}
.field-note svg { width: 13px; height: 13px; stroke: #b45309; flex-shrink: 0; margin-top: 2px; }

.form-footer {
  margin-top: 48px; padding-top: 24px; border-top: 2px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
}
.form-footer p { font-size: .8rem; color: var(--text); line-height: 1.6; }
.btn-send {
  background: var(--navy); color: white;
  padding: 15px 38px; border-radius: 14px;
  font-family: inherit; font-weight: 800; font-size: .88rem;
  text-transform: uppercase; letter-spacing: .6px;
  border: none; cursor: pointer;
  display: flex; align-items: center; gap: 9px;
  transition: all .26s; box-shadow: 0 8px 24px rgba(1,45,80,.2);
  white-space: nowrap;
}
.btn-send svg { width: 16px; height: 16px; stroke: white; }
.btn-send:hover { background: var(--sky); transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,186,242,.28); }

/* ══ POLO TALLAS — aparece solo cuando polo = si / quizas ══ */
.polo-tallas {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height .38s ease, opacity .3s ease, margin .3s ease;
  margin-top: 0;
}
.polo-tallas.visible {
  max-height: 200px;
  opacity: 1;
  margin-top: 0;
}

/* ══ PAGO — QR + comprobante ══ */
.pago-block {
  background: white;
  border: 2px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

/* Cabecera con logos Yape + Plin */
.qr-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-bottom: 2px solid var(--border);
  background: #fafafa;
}

.pago-panel { display: none; padding: 20px; }
.pago-panel.active { display: block; }

/* Panel QR */
.qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.qr-logos {
  display: flex;
  gap: 10px;
  align-items: center;
}
.qr-logo-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .3px;
}
.qr-logo-pill.yape  { background: #6D2BF5; color: white; }
.qr-logo-pill.plin  { background: #00B4D8; color: white; }
.qr-img-frame {
  width: 180px;
  height: 180px;
  border: 3px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  position: relative;
}
.qr-img-frame img { width: 100%; height: 100%; object-fit: cover; }
.qr-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
}
.qr-placeholder svg { width: 40px; height: 40px; stroke: #cbd5e1; }
.qr-placeholder span { font-size: .65rem; font-weight: 600; text-align: center; line-height: 1.4; }
.qr-amount {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -.5px;
  line-height: 1;
}
.qr-cuota-label-block {
  font-size: .68rem;
  font-weight: 800;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 3px;
  text-underline-offset: 3px;
  margin-top: 2px;
}
/* Highlight del número y nombre en el qr-note */
.qr-highlight {
  color: var(--navy);
  font-weight: 900;
  background: #FFF9C4;
  padding: 1px 5px;
  border-radius: 4px;
  white-space: nowrap;
}
/* Subrayado énfasis en "adjunta tu comprobante" */
.qr-underline {
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  font-weight: 700;
  color: var(--navy);
}
.qr-note {
  font-size: .7rem;
  color: var(--text);
  text-align: center;
  line-height: 1.55;
  background: #F0F9FF;
  border-radius: 10px;
  padding: 10px 14px;
  width: 100%;
}
.qr-note strong { color: var(--navy); }

/* Panel comprobante */
.upload-area {
  border: 2px dashed var(--border);
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  position: relative;
}
.upload-area:hover,
.upload-area.dragover { border-color: var(--sky); background: #F0F9FF; }
.upload-area input[type="file"] {
  position: absolute; inset: 0; opacity: 0; cursor: pointer;
  width: 100%; height: 100%; padding: 0; border: none; border-radius: 0;
  box-shadow: none;
}
.upload-area input[type="file"]:focus { outline: none; box-shadow: none; }
.upload-icon { width: 36px; height: 36px; stroke: #94a3b8; margin: 0 auto 10px; display: block; }
.upload-label { font-size: .82rem; font-weight: 700; color: var(--navy); }
.upload-sub   { font-size: .7rem; color: var(--text); margin-top: 4px; }
.upload-preview {
  display: none;
  align-items: center;
  gap: 10px;
  background: #F0F9FF;
  border: 2px solid var(--sky);
  border-radius: 12px;
  padding: 12px 16px;
  margin-top: 10px;
  text-align: left;
}
.upload-preview.show { display: flex; }
.upload-preview svg { width: 18px; height: 18px; stroke: var(--sky); flex-shrink: 0; }
.upload-preview-name { font-size: .8rem; font-weight: 700; color: var(--navy); flex: 1; word-break: break-all; }
.upload-remove { background: none; border: none; cursor: pointer; padding: 2px; color: #94a3b8; }
.upload-remove svg { width: 14px; height: 14px; stroke: currentColor; display: block; }
.upload-remove:hover { color: #dc2626; }

/* ══ THANK YOU SCREEN ══ */
@keyframes ty-fade-in  { from { opacity:0; transform:translateY(24px) scale(.97) } to { opacity:1; transform:translateY(0) scale(1) } }
@keyframes ty-sparkle  { 0%,100%{transform:scale(1) rotate(0deg)} 25%{transform:scale(1.3) rotate(18deg)} 50%{transform:scale(.9) rotate(-12deg)} 75%{transform:scale(1.15) rotate(8deg)} }

.ty-screen {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* Cabe en una sola pantalla sin scroll */
  height: calc(100vh - var(--nav-h, 64px));
  overflow: hidden;
  padding: 20px 24px 16px;
  text-align: center;
  animation: ty-fade-in .5s ease both;
}
.ty-screen.show { display: flex; }

.ty-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #dcfce7; color: #15803d;
  border-radius: 20px; padding: 4px 14px;
  font-size: .65rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 10px;
}
.ty-badge i { width: 13px; height: 13px; stroke: #15803d; flex-shrink: 0; }

.ty-title {
  font-size: clamp(1.35rem, 3.5vw, 1.9rem);
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -.5px;
  line-height: 1.15;
  margin-bottom: 8px;
}
.ty-title em { font-style: normal; color: var(--sky); }

.ty-body {
  max-width: 480px;
  font-size: .78rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 14px;
}
/* Subrayado amarillo en las palabras clave del cuerpo */
.ty-body strong {
  color: var(--navy);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.ty-steps {
  display: flex;
  flex-direction: column;
  gap: 7px;
  max-width: 440px;
  width: 100%;
  margin-bottom: 14px;
}
.ty-step {
  display: flex;
  align-items: center;
  gap: 11px;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 9px 14px;
  text-align: left;
}
.ty-step-icon {
  width: 30px; height: 30px; flex-shrink: 0;
  border-radius: 8px;
  background: #e0f7ff;         /* celeste claro */
  display: flex; align-items: center; justify-content: center;
}
.ty-step-icon i { width: 15px; height: 15px; stroke: var(--sky); stroke-width: 2; }
.ty-step-text {
  font-size: .74rem;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.4;
}
.ty-step-text span { color: var(--text); font-weight: 400; }

/* Número de celular subrayado en amarillo */
.ty-step-text strong[id="ty-celular-num"] {
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.ty-sign {
  font-size: .82rem;
  color: var(--text);
  margin-top: 4px;
}
.ty-sign strong { color: var(--navy); font-weight: 800; }

/* ── Modo ty: oculta sidebar y banner al llegar al thank-you ── */
.split-layout.ty-mode > .visual-side  { display: none !important; }
.split-layout.ty-mode > .form-side > .mobile-banner { display: none !important; }
.split-layout.ty-mode { display: block; }
.split-layout.ty-mode > .form-side {
  max-width: 600px;
  margin: 0 auto;
  padding: 0;
  height: calc(100vh - var(--nav-h, 64px));
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Firma con avatar ── */
.ty-firma {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 10px 16px;
  text-align: left;
  max-width: 340px;
}
.ty-firma-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  /* Anillo celeste como acento de marca */
  border: 2.5px solid var(--sky);
  box-shadow: 0 0 0 3px rgba(0,180,220,.12);
}
.ty-firma-texto {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.ty-firma-amor {
  font-size: .66rem;
  color: var(--text);
  font-style: italic;
}
.ty-firma-nombre {
  font-size: .84rem;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -.2px;
  /* Subrayado amarillo en el nombre */
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.ty-firma-rol {
  font-size: .62rem;
  color: var(--text);
  font-weight: 500;
}

/* ══ RESPONSIVE ══ */
@media (max-width: 960px) {
  .split-layout { grid-template-columns: 1fr; }
  .visual-side   { display: none; }
  .mobile-banner { display: block; }
  .input-row { grid-template-columns: 1fr; }
  .options-grid.col-3 { grid-template-columns: 1fr 1fr; }
  .vlt-sk-body-split { grid-template-columns: 1fr; }
  .vlt-sk-left { display: none; }
}
@media (max-width: 600px) {
  .nav-event-badge { display: none !important; }
  .nav-badge-short  { display: none !important; }
  .nav-hr-label     { display: none; }
  .mb-wrap   { margin: 12px 12px 0; }
  .form-body { padding: 24px 5% 80px; }
  .form-header h1 { font-size: 1.5rem; }
}
@media (max-width: 480px) {
  :root { --nav-h: 56px; }
  .global-nav { padding: 0 12px; }
  .nav-hr-icon { width: 36px; height: 36px; font-size: .85rem; border-radius: 10px; }
  .nav-sep { height: 24px; }
  .nav-ronald img { height: 36px; }
  .nav-back-btn { width: 32px; height: 32px; border-radius: 8px; }
  .nav-back-btn svg { width: 15px; height: 15px; }
  .mb-wrap { margin: 10px 10px 0; border-radius: 14px; }

/* ── Donación: upload comprobante ── */
.dn-upload-block { margin: 16px 0 4px; }

/* ── Link de tienda en tabla de víveres ── */
.trow-tienda-link { color: inherit; text-decoration: none; border-bottom: 1px dashed currentColor; transition: color .15s; }
.trow-tienda-link:hover { color: var(--sky); }
.dn-upload-label { display: flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #334155; margin-bottom: 8px; }
.dn-upload-zone {
  display: block; border: 1.5px dashed #94a3b8; border-radius: 12px; padding: 14px 16px;
  cursor: pointer; transition: border-color .2s, background .2s; background: #f8fafc;
}
.dn-upload-zone:hover { border-color: var(--sky); background: #f0f9ff; }
.dn-upload-placeholder { display: flex; flex-direction: column; align-items: center; gap: 6px; color: #64748b; font-size: .78rem; text-align: center; }
.dn-upload-placeholder svg { opacity: .45; }
.dn-upload-placeholder small { font-size: .67rem; color: #94a3b8; }
.dn-upload-preview { display: flex; align-items: center; gap: 8px; font-size: .8rem; }

  .btn-send { width: 100%; justify-content: center; }
  .form-footer { flex-direction: column; align-items: flex-start; }
}

/* -- FIELD HINT (celular) -- */
.field-hint {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  font-size: .75rem;
  color: #0369a1;
  background: #e0f2fe;
  border-radius: 8px;
  padding: 6px 10px;
  /* Siempre en el DOM pero invisible por defecto */
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
  pointer-events: none;
  transition: max-height .35s ease, opacity .3s ease, padding .3s ease, margin-top .3s ease;
}
.field-hint.visible {
  max-height: 48px;
  opacity: 1;
  padding-top: 6px;
  padding-bottom: 6px;
  pointer-events: auto;
}
.field-hint strong { font-weight: 800; color: #012d50; }
.field-hint svg { flex-shrink: 0; stroke: #0369a1; }

/* -- INPUT ERROR -- */
input.input-error {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220,38,38,.12) !important;
  animation: shake .3s ease;
}
@@keyframes shake {
  0%,100% { transform: translateX(0); }
  25%      { transform: translateX(-5px); }
  75%      { transform: translateX(5px); }
}
