/* ==========================================================================
   Offimedicas × Ecopetrol — Confirmación de entrega de pendientes
   Colores institucionales en variables: ajustar con el manual de marca oficial
   ========================================================================== */
:root {
  /* Ecopetrol */
  /* Ecopetrol (tomados del logo oficial: verde #004438, amarillo #FDDA00, lima #BBC900) */
  --eco-green: #00694F;
  --eco-green-2: #2F9445;
  --eco-green-deep: #004438;
  --eco-yellow: #FDDA00;
  --eco-lime: #BBC900;
  /* Offimedicas (offimedicas.com: azul #084283, verde #92BC3E) */
  --ofm-blue: #084283;
  --ofm-blue-soft: #E6EEF8;
  --ofm-green: #92BC3E;

  --ink: #0F1F17;
  --ink-2: #44554C;
  --muted: #6B7C73;
  --line: #DDE6E1;
  --surface: #FFFFFF;
  --bg: #F3F7F4;
  --danger: #C8372D;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow-lg: 0 30px 60px -20px rgba(0, 68, 56, .28), 0 10px 24px -12px rgba(0, 68, 56, .18);
  --shadow-sm: 0 2px 6px rgba(15, 31, 23, .06);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* ============================== HERO ============================== */
.hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  padding: max(16px, env(safe-area-inset-top)) 16px 110px;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(253, 218, 0, .22) 0%, transparent 55%),
    linear-gradient(160deg, #002A23 0%, var(--eco-green-deep) 45%, var(--eco-green) 100%);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.topo { position: absolute; inset: 0; width: 100%; height: 100%; color: rgba(255, 255, 255, .09); }
.orb { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .55; animation: float 14s ease-in-out infinite; }
.orb-1 { width: 320px; height: 320px; background: var(--eco-yellow); top: -140px; right: -90px; opacity: .35; }
.orb-2 { width: 260px; height: 260px; background: var(--eco-lime); opacity: .3; bottom: -80px; left: -90px; animation-delay: -5s; }
.orb-3 { width: 180px; height: 180px; background: var(--ofm-blue); top: 40%; right: 15%; opacity: .25; animation-delay: -9s; }
@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(20px, -24px, 0) scale(1.08); }
}

.brandbar {
  max-width: 1080px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.brands { display: flex; align-items: center; gap: 16px; }
.brands img { width: auto; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .25)); }
.logo-ofm { height: 36px; }
.logo-eco { height: 40px; }
.brand-sep { width: 1px; height: 32px; background: rgba(255, 255, 255, .35); }
.secure-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .01em;
  padding: 7px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.secure-pill svg { width: 15px; height: 15px; fill: var(--eco-yellow); }

.hero-content { max-width: 1080px; margin: 0 auto; padding-top: clamp(32px, 7vw, 72px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px;
  font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .9);
  padding: 6px 12px 6px 10px; border-radius: 999px; background: rgba(0, 0, 0, .18);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--eco-yellow); box-shadow: 0 0 0 0 rgba(253, 218, 0, .7); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(253, 218, 0, .7); } 80%, 100% { box-shadow: 0 0 0 10px rgba(253, 218, 0, 0); } }

h1 {
  margin: 0; max-width: 16ch;
  font-size: clamp(34px, 8.4vw, 64px); line-height: 1.04; font-weight: 800; letter-spacing: -.035em;
}
h1 em {
  font-style: normal; color: var(--eco-yellow);
  background: linear-gradient(transparent 70%, rgba(253, 218, 0, .22) 70%);
}
#saludo { color: rgba(255, 255, 255, .78); font-weight: 600; }
.lead { margin: 18px 0 0; max-width: 54ch; font-size: clamp(15.5px, 2.4vw, 18px); color: rgba(255, 255, 255, .86); }
.lead strong { color: #fff; }

/* Ruta animada */
.route {
  margin-top: 30px; max-width: 560px;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px;
  padding: 14px 16px; border-radius: 20px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.route-node { display: grid; justify-items: center; gap: 4px; }
.route-node small { font-size: 11px; font-weight: 600; opacity: .85; }
.node-ic {
  width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center;
  background: #fff;
}
.node-ic svg { width: 22px; height: 22px; fill: var(--ofm-blue); }
.node-home { background: var(--eco-yellow); }
.node-home svg { fill: var(--eco-green-deep); animation: bounce 1.8s var(--ease) infinite; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.route-track { position: relative; height: 40px; }
.track-line {
  position: absolute; left: 0; right: 0; top: 50%; height: 3px; transform: translateY(-50%);
  background-image: linear-gradient(90deg, rgba(255, 255, 255, .6) 50%, transparent 50%);
  background-size: 14px 3px; animation: dash 1s linear infinite;
}
@keyframes dash { to { background-position: -14px 0; } }
.truck {
  position: absolute; top: 50%; left: 0; width: 46px; transform: translate(0, -60%);
  animation: drive 5.5s var(--ease) infinite; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .3));
}
@keyframes drive {
  0% { left: 0; opacity: 0; }
  8% { opacity: 1; }
  70% { left: calc(100% - 46px); opacity: 1; }
  85%, 100% { left: calc(100% - 46px); opacity: 0; }
}

.cta-scroll {
  margin-top: 26px; display: inline-flex; align-items: center; gap: 8px;
  color: var(--eco-green-deep); background: var(--eco-yellow);
  font-weight: 700; text-decoration: none; padding: 13px 20px; border-radius: 999px;
  box-shadow: 0 12px 26px -10px rgba(253, 218, 0, .7);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.cta-scroll svg { width: 20px; height: 20px; fill: currentColor; animation: nudge 1.6s ease-in-out infinite; }
.cta-scroll:hover { transform: translateY(-2px); }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }

/* ============================== MAIN ============================== */
.wrap { max-width: 760px; margin: -72px auto 0; padding: 0 16px 40px; position: relative; z-index: 2; }

.steps {
  list-style: none; margin: 0 0 18px; padding: 10px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.steps li { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 16px; min-width: 0; }
.steps b { display: block; font-size: 13.5px; line-height: 1.2; }
.steps small { display: block; font-size: 11.5px; color: var(--muted); line-height: 1.3; }
.step-ic {
  flex: none; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center;
  font-weight: 800; font-size: 14px; background: var(--bg); color: var(--muted);
}
.step-ic svg { width: 20px; height: 20px; fill: #fff; }
.steps .done .step-ic { background: var(--eco-green); }
.steps .current { background: linear-gradient(135deg, #FFF8D6, #FFFBEA); box-shadow: inset 0 0 0 1.5px rgba(253, 218, 0, .8); }
.steps .current .step-ic { background: var(--eco-yellow); color: var(--eco-green-deep); }

.card {
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: clamp(20px, 5vw, 36px);
}

/* ============================== FORM ============================== */
.form-head { margin-bottom: 18px; }
.form-head h2 { margin: 10px 0 4px; font-size: clamp(22px, 4.6vw, 28px); letter-spacing: -.02em; line-height: 1.15; }
.muted { color: var(--muted); margin: 0; }
.badge-48 {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700;
  color: var(--eco-green-deep); background: #F1F5D2; padding: 5px 10px; border-radius: 999px;
}
.badge-48 svg { width: 15px; height: 15px; fill: currentColor; }

.group { border: 0; margin: 0; padding: 0; min-width: 0; }
.addr-grid {
  display: grid; grid-template-columns: 1.4fr 1fr auto 1fr auto .9fr; gap: 8px; align-items: end;
}
.addr-sym { font-weight: 800; font-size: 20px; color: var(--muted); padding-bottom: 14px; }

.field { display: grid; gap: 6px; margin-bottom: 14px; min-width: 0; }
.addr-grid .field { margin-bottom: 0; }
.lbl { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.lbl i { font-style: normal; font-weight: 500; color: var(--muted); font-size: 12px; margin-left: 4px; }

input, select, textarea {
  width: 100%; min-height: 50px; padding: 13px 14px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #FBFDFC;
  font-size: 16px; /* evita zoom en iOS */
  transition: border-color .2s, box-shadow .2s, background .2s;
  -webkit-appearance: none; appearance: none;
}
textarea { resize: vertical; min-height: 64px; }
input::placeholder, textarea::placeholder { color: #A3B2AA; }
input:hover, select:hover, textarea:hover { border-color: #C2D2C9; }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--eco-green); background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 105, 79, .14);
}
.select-field select {
  padding-right: 36px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 15.4 6.6 10 8 8.6l4 4 4-4 1.4 1.4z' fill='%236B7C73'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 20px;
}
.field.invalid input, .field.invalid select, .field.invalid textarea, .invalid input { border-color: var(--danger); background: #FFF7F6; }
.field-error { margin: 0; font-size: 12.5px; color: var(--danger); font-weight: 600; min-height: 0; }
.field-error:empty { display: none; }
.addr-grid + .field-error, .row-actions + .field-error { margin-top: -4px; margin-bottom: 10px; }

.addr-preview {
  margin-top: 12px; display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #F0FAF4, #F7FCF9); border: 1.5px dashed #BFE3CD;
  font-weight: 700; font-size: 15px; color: var(--eco-green-deep);
  transition: background .3s, border-color .3s;
}
.addr-preview svg { width: 20px; height: 20px; flex: none; fill: var(--eco-green); }
.addr-preview .placeholder { color: #8FA79A; font-weight: 500; }
.addr-preview.ok { border-style: solid; border-color: var(--eco-green-2); }
.addr-preview.pop { animation: pop .35s var(--ease); }
@keyframes pop { 50% { transform: scale(1.015); } }

.row-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; margin: 10px 0 16px; }
.link-btn {
  border: 0; background: none; padding: 4px 0; cursor: pointer;
  color: var(--ofm-blue); font-size: 13.5px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px;
}
.link-btn.inline { font-size: inherit; padding: 0; }
.link-btn.geo { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.link-btn.geo svg { width: 17px; height: 17px; fill: currentColor; }
.link-btn.geo.ok { color: var(--eco-green); }

.geo-card {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin: -6px 0 14px; padding: 12px 14px; border-radius: var(--radius-sm);
  background: #F1F5D2; border: 1.5px solid rgba(187, 201, 0, .55); animation: rise .4s var(--ease);
}
.geo-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--eco-green-deep); flex: none; }
.geo-ic svg { width: 18px; height: 18px; fill: var(--eco-yellow); }
.geo-txt { flex: 1; min-width: 140px; line-height: 1.3; }
.geo-txt b { display: block; font-size: 14px; color: var(--eco-green-deep); }
.geo-txt small { font-size: 12.5px; color: var(--ink-2); }
.geo-msg { margin: -6px 0 14px; padding: 10px 12px; border-radius: 12px; background: #FFF8DC; color: #6B5300; font-size: 13px; }
.link-btn.geo:disabled { opacity: .6; cursor: progress; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }

.divider { display: flex; align-items: center; gap: 12px; margin: 10px 0 18px; color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.phone-wrap { display: flex; align-items: stretch; }
.cc {
  display: inline-flex; align-items: center; gap: 6px; padding: 0 12px;
  border: 1.5px solid var(--line); border-right: 0; border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  background: var(--bg); font-weight: 700; font-size: 15px; color: var(--ink-2);
}
.flag { width: 20px; height: 14px; border-radius: 3px; background: linear-gradient(#FCD116 0 50%, #003893 50% 75%, #CE1126 75%); box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.phone-wrap input { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; letter-spacing: .02em; }

/* Checkbox */
.check { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; margin: 8px 0 6px; font-size: 13.5px; color: var(--ink-2); cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check .box {
  width: 24px; height: 24px; border-radius: 8px; border: 1.8px solid #B9C9C0; display: grid; place-items: center;
  background: #fff; transition: all .2s var(--ease); margin-top: 1px;
}
.check .box svg { width: 16px; height: 16px; fill: #fff; transform: scale(0); transition: transform .2s var(--ease); }
.check input:checked + .box { background: var(--eco-green); border-color: var(--eco-green); }
.check input:checked + .box svg { transform: scale(1); }
.check input:focus-visible + .box { box-shadow: 0 0 0 4px rgba(0, 105, 79, .2); }

/* Botones */
.btn-primary {
  position: relative; width: 100%; margin-top: 18px; min-height: 58px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: 16px; cursor: pointer;
  color: #fff; font-size: 17px; font-weight: 700; letter-spacing: .01em;
  background: linear-gradient(135deg, var(--eco-green) 0%, var(--eco-green-2) 100%);
  box-shadow: 0 16px 30px -12px rgba(0, 105, 79, .65), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), filter .2s;
  overflow: hidden;
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-100%);
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%);
  animation: shine 3.2s ease-in-out infinite 1.5s;
}
@keyframes shine { 0% { transform: translateX(-100%); } 40%, 100% { transform: translateX(100%); } }
.btn-primary:hover { transform: translateY(-2px); filter: saturate(1.1); }
.btn-primary:active { transform: translateY(0) scale(.99); }
.btn-primary .btn-arrow { width: 20px; height: 20px; fill: currentColor; transition: transform .25s var(--ease); }
.btn-primary:hover .btn-arrow { transform: translateX(4px); }
.btn-primary.small { width: auto; min-height: 46px; padding: 0 24px; margin-top: 8px; font-size: 15px; }
.spinner { display: none; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .8s linear infinite; }
.btn-primary.loading { pointer-events: none; filter: saturate(.8); }
.btn-primary.loading .spinner { display: block; }
.btn-primary.loading .btn-arrow { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.btn-ghost {
  margin-top: 18px; border: 1.5px solid var(--line); background: #fff; border-radius: 14px;
  padding: 12px 20px; font-weight: 700; color: var(--ink-2); cursor: pointer; transition: border-color .2s;
}
.btn-ghost:hover { border-color: var(--eco-green); color: var(--eco-green); }

.form-alert { margin: 12px 0 0; padding: 12px 14px; border-radius: 12px; background: #FFF1EF; color: var(--danger); font-weight: 600; font-size: 14px; }

/* ============================== NOTICE / SUCCESS ============================== */
.notice { text-align: center; margin-bottom: 18px; }
.notice h2 { margin: 12px 0 6px; font-size: 22px; }
.notice p { color: var(--muted); margin: 0 auto; max-width: 46ch; }
.notice-ic { width: 60px; height: 60px; border-radius: 18px; margin: 0 auto; display: grid; place-items: center; }
.notice-ic.warn { background: #FFF5D1; }
.notice-ic svg { width: 30px; height: 30px; fill: #B88A00; }

.success { position: relative; text-align: center; overflow: hidden; animation: rise .6s var(--ease); }
.success:focus { outline: none; }
.success h2 { margin: 14px 0 6px; font-size: clamp(22px, 5vw, 28px); letter-spacing: -.02em; line-height: 1.2; }
#ok-nombre { color: var(--eco-green); display: block; }
@keyframes rise { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }

.check-anim { width: 96px; height: 96px; margin: 4px auto 0; }
.c-ring { fill: #E7F6EE; stroke: var(--eco-green); stroke-width: 4; stroke-dasharray: 227; stroke-dashoffset: 227; animation: draw .7s var(--ease) forwards .1s; }
.c-tick { fill: none; stroke: var(--eco-green); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 50; stroke-dashoffset: 50; animation: draw .45s var(--ease) forwards .7s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.burst { position: absolute; left: 50%; top: 70px; width: 0; height: 0; }
.burst i {
  position: absolute; width: 9px; height: 9px; border-radius: 2px; opacity: 0;
  background: var(--eco-yellow); animation: confetti 1.1s var(--ease) forwards .75s;
}
.burst i:nth-child(3n) { background: var(--eco-green-2); border-radius: 50%; }
.burst i:nth-child(4n) { background: var(--ofm-blue); }
.burst i:nth-child(1) { --x: -120px; --y: -40px; --r: 120deg; }
.burst i:nth-child(2) { --x: 110px; --y: -50px; --r: -80deg; }
.burst i:nth-child(3) { --x: -80px; --y: -90px; --r: 200deg; }
.burst i:nth-child(4) { --x: 90px; --y: -95px; --r: 60deg; }
.burst i:nth-child(5) { --x: -150px; --y: 20px; --r: -140deg; }
.burst i:nth-child(6) { --x: 150px; --y: 10px; --r: 160deg; }
.burst i:nth-child(7) { --x: -30px; --y: -120px; --r: 90deg; }
.burst i:nth-child(8) { --x: 35px; --y: -125px; --r: -30deg; }
.burst i:nth-child(9) { --x: -110px; --y: 60px; --r: 45deg; }
.burst i:nth-child(10) { --x: 120px; --y: 55px; --r: -200deg; }
.burst i:nth-child(11) { --x: -60px; --y: 80px; --r: 300deg; }
.burst i:nth-child(12) { --x: 70px; --y: 90px; --r: -260deg; }
@keyframes confetti {
  0% { opacity: 1; transform: translate(0, 0) rotate(0) scale(.6); }
  100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(1); }
}

.ticket {
  margin: 22px auto 0; max-width: 460px; text-align: left;
  border-radius: 18px; background: var(--bg); padding: 6px 18px;
  position: relative;
}
.ticket::before, .ticket::after {
  content: ""; position: absolute; top: 50%; width: 18px; height: 18px; border-radius: 50%;
  background: var(--surface); transform: translateY(-50%);
}
.ticket::before { left: -9px; } .ticket::after { right: -9px; }
.ticket-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed #CFDCD5; font-size: 14px; }
.ticket-row:last-child { border-bottom: 0; }
.ticket-row span { color: var(--muted); flex: none; }
.ticket-row b { text-align: right; overflow-wrap: anywhere; }
.ticket-row.hl b { color: var(--eco-green); }
.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .04em; }

/* ============================== TRUST / FOOTER ============================== */
.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.trust-item {
  display: flex; gap: 12px; align-items: flex-start; padding: 16px;
  border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); border: 1px solid #E6EEEA;
}
.trust-item svg { width: 26px; height: 26px; flex: none; fill: var(--eco-green); padding: 5px; box-sizing: content-box; background: #E7F6EE; border-radius: 10px; }
.trust-item:last-child svg { fill: var(--ofm-blue); background: var(--ofm-blue-soft); }
.trust-item p { margin: 0; font-size: 13.5px; color: var(--ink-2); }
.trust-item b { color: var(--ink); }

.foot {
  margin-top: 24px; text-align: center; font-size: 13px; color: rgba(255, 255, 255, .72);
  padding: 34px 16px calc(36px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, var(--eco-green-deep), #002A23);
}
.foot-brands { display: flex; gap: 16px; justify-content: center; align-items: center; margin-bottom: 16px; }
.foot-brands img { height: 30px; width: auto; }
.foot-brands .brand-sep { height: 24px; }
.foot p { margin: 4px 0; }
.foot em { font-style: italic; color: var(--eco-lime); }
.supersalud { height: 30px; width: auto; margin: 16px auto 10px; opacity: .9; }
.fine { font-size: 12px; opacity: .7; }

/* Dialog */
.dlg { border: 0; border-radius: 22px; padding: 26px; max-width: min(520px, calc(100vw - 32px)); box-shadow: var(--shadow-lg); }
.dlg::backdrop { background: rgba(0, 68, 56, .45); backdrop-filter: blur(4px); }
.dlg h3 { margin: 0 0 10px; }
.dlg p { color: var(--ink-2); font-size: 14.5px; }

/* ============================== REVEAL ============================== */
.reveal { opacity: 0; transform: translateY(18px); }
.ready .reveal { animation: rise .8s var(--ease) forwards; }
.ready .reveal.d1 { animation-delay: .06s; }
.ready .reveal.d2 { animation-delay: .12s; }
.ready .reveal.d3 { animation-delay: .18s; }
.ready .reveal.d4 { animation-delay: .24s; }
.ready main .reveal { animation-delay: .2s; }
.ready main .form.reveal { animation-delay: .28s; }
.ready main .trust.reveal { animation-delay: .36s; }

/* ============================== RESPONSIVE ============================== */
@media (max-width: 640px) {
  .hero { padding-bottom: 96px; }
  .brands { gap: 12px; }
  .logo-ofm { height: 30px; }
  .logo-eco { height: 34px; }
  .secure-pill { display: none; }
  .steps { grid-template-columns: 1fr; padding: 8px; gap: 2px; }
  .steps li { padding: 8px 10px; }
  .addr-grid { grid-template-columns: 1fr auto 1fr auto 1fr; gap: 8px 6px; }
  .addr-grid .select-field { grid-column: 1 / -1; }
  .addr-sym { font-size: 17px; padding-bottom: 14px; }
  .grid-2 { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr; }
  .row-actions { flex-direction: column; align-items: flex-start; }
}
@media (min-width: 641px) and (max-width: 760px) {
  .addr-grid { grid-template-columns: 1fr 1fr auto 1fr auto 1fr; }
  .addr-grid .select-field { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
