/* Roofter — sistema visual de la página de pedidos
   Concepto: papel rosado del logo, tarjetas blancas como stickers recién despegados,
   fucsia del logo solo para lo que se toca. Una columna en celular. */
:root {
  --bg: #FFF4F8;
  --band: #F6AFCE;          /* rosado del logo */
  --surface: #FFFFFF;
  --ink: #2E1222;
  --muted: #8B5F74;
  --line: #F3D3E2;
  --pink: #FF0074;          /* fucsia del logo */
  --pink-ink: #FFFFFF;
  --blush: #FDE3EE;
  --sheet: #FFFDFE;
  --ok: #17905F;
  --warn: #C7770F;
  --shadow: 0 1px 0 rgba(255, 0, 116, .06), 0 8px 24px -12px rgba(150, 20, 80, .25);
  --display: "Fraunces", "Georgia", serif;
  --body: "Nunito", ui-rounded, "Segoe UI", system-ui, sans-serif;
  --mono: "DM Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1C0E16; --band: #5A2440; --surface: #29141F; --ink: #FBE9F1; --muted: #CFA0B6;
    --line: #47263A; --pink: #FF4C9A; --pink-ink: #1C0E16; --blush: #3B1A2C; --sheet: #22111A;
    --ok: #4CCB93; --warn: #F0A848; --shadow: 0 8px 24px -12px rgba(0, 0, 0, .6); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #1C0E16; --band: #5A2440; --surface: #29141F; --ink: #FBE9F1; --muted: #CFA0B6;
  --line: #47263A; --pink: #FF4C9A; --pink-ink: #1C0E16; --blush: #3B1A2C; --sheet: #22111A;
  --ok: #4CCB93; --warn: #F0A848; --shadow: 0 8px 24px -12px rgba(0, 0, 0, .6); color-scheme: dark;
}

* { box-sizing: border-box }
html { -webkit-text-size-adjust: 100% }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: 16px; line-height: 1.5;
}
img { max-width: 100% }
[hidden] { display: none !important }
a { color: var(--pink) }
:focus-visible { outline: 2.5px solid var(--pink); outline-offset: 2px }

/* ---------- Cabecera ---------- */
.hero {
  background: var(--band);
  background-image:
    radial-gradient(circle at 12% 30%, rgba(255, 255, 255, .35) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 70%, rgba(255, 255, 255, .3) 0 1.5px, transparent 2.5px);
  background-size: 38px 38px, 26px 26px;
  padding: calc(18px + env(safe-area-inset-top, 0px)) 16px 46px;
  position: relative;
}
.hero::after { /* borde ondulado, como el troquel de un sticker */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 22px;
  background: radial-gradient(circle at 11px -2px, transparent 12px, var(--bg) 12.5px) repeat-x;
  background-size: 22px 22px;
}
.hero-in { max-width: 660px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px }
.hero-top { display: flex; align-items: center; justify-content: space-between; gap: 12px }
.logo { width: 76px; height: 76px; flex: none; filter: drop-shadow(0 4px 10px rgba(180, 0, 80, .2)) }
.hero-link { font-weight: 800; font-size: 15.5px; color: var(--pink); text-decoration: none; background: #fff; padding: 11px 18px; border-radius: 999px; border: 2px solid var(--pink); box-shadow: 0 6px 16px -6px rgba(180, 0, 80, .45); white-space: nowrap }
.hero-link.solid { background: var(--pink); color: #fff; border-color: #fff; font-size: 16.5px; padding: 12px 20px }
.hero-cta {
  align-self: flex-start; margin-top: 6px; display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 19px; color: #fff; text-decoration: none; background: var(--pink);
  padding: 16px 30px; border-radius: 999px; border: 3px solid #fff;
  box-shadow: 0 10px 24px -8px rgba(180, 0, 80, .6);
}
.hero-cta:active, .hero-link:active { transform: scale(.97) }
@media (max-width: 480px) { .hero-cta { align-self: stretch; justify-content: center } }
html { scroll-behavior: smooth }
#datos { scroll-margin-top: 12px }
.hero h1 {
  font-family: var(--display); font-weight: 800; font-style: italic; font-optical-sizing: auto;
  font-size: clamp(30px, 8vw, 44px); line-height: 1.02; letter-spacing: -.02em; margin: 0;
  text-wrap: balance; color: var(--ink);
}
.hero h1 em { color: var(--pink); font-style: italic }
.hero p { margin: 0; max-width: 46ch; font-size: 16.5px }

/* ---------- Estructura ---------- */
.page { max-width: 660px; margin: 0 auto; padding-inline: 16px; padding-block: 8px 140px; display: flex; flex-direction: column; gap: 28px }
section.block { display: flex; flex-direction: column; gap: 14px }
h2 { font-family: var(--display); font-weight: 700; font-size: 23px; letter-spacing: -.01em; margin: 0; display: flex; align-items: center; gap: 10px; text-wrap: balance }
h2 .num {
  width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--pink); color: var(--pink-ink);
  font: 700 14px/30px var(--body); text-align: center; font-style: normal;
}
.lead { color: var(--muted); margin: 0 }
.note { color: var(--muted); font-size: 14px; margin: 0 }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; min-width: 0 }

/* ---------- Formularios ---------- */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0 }
.lbl, label.lbl { font-size: 13px; font-weight: 800; color: var(--muted); letter-spacing: .02em }
input, select, textarea {
  font: 16px var(--body); color: var(--ink); background: var(--sheet);
  border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; width: 100%;
  transition: border-color .15s;
}
input:focus, select:focus, textarea:focus { border-color: var(--pink); outline: none }
textarea { resize: vertical; min-height: 80px }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px }
@media (max-width: 420px) { .row.stack { grid-template-columns: 1fr } }

.btn {
  font: 800 16px var(--body); border-radius: 999px; padding: 13px 20px; cursor: pointer;
  border: 1.5px solid var(--line); background: var(--surface); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none;
  transition: transform .12s, background .15s;
}
.btn:active { transform: scale(.97) }
.btn.primary { background: var(--pink); border-color: var(--pink); color: var(--pink-ink); box-shadow: 0 6px 18px -8px var(--pink) }
.btn.soft { background: var(--blush); border-color: transparent; color: var(--ink) }
.btn.ghost { border-style: dashed; border-width: 2px; color: var(--pink); background: transparent }
.btn.small { padding: 8px 14px; font-size: 14px }
.btn[disabled] { opacity: .55; cursor: default; transform: none }

.chips { display: flex; flex-wrap: wrap; gap: 8px }
.chip {
  font: 700 14px var(--body); border: 1.5px solid var(--line); background: var(--sheet); color: var(--ink);
  border-radius: 999px; padding: 8px 14px; cursor: pointer;
}
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink) }
.chip .mono { font-size: 13px }

.pill { display: inline-flex; align-items: center; gap: 5px; font: 800 12px var(--body); border-radius: 999px; padding: 4px 10px; white-space: nowrap }
.pill.ok { background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok) }
.pill.warn { background: color-mix(in srgb, var(--warn) 17%, transparent); color: var(--warn) }
.pill.bad, .pill.pink { background: var(--blush); color: var(--pink) }
.pill.info { background: color-mix(in srgb, var(--muted) 15%, transparent); color: var(--muted) }

/* ---------- Por qué pedir aquí ---------- */
.porque { display: flex; flex-direction: column; gap: 10px }
.porque-t { font-size: 21px }
.porque .lead { max-width: 60ch }
.beneficios { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px }
@media (max-width: 620px) { .beneficios { grid-template-columns: 1fr } }
.beneficios li { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px; min-width: 0 }
.beneficios b { display: block; font-size: 16px }
.beneficios span:not(.b-ico) { font-size: 14px; color: var(--muted); line-height: 1.45 }
.b-ico { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--blush); color: var(--pink); display: grid; place-items: center; font-weight: 800; font-size: 15px }

/* ---------- Promo ---------- */
.promo {
  display: flex; gap: 14px; align-items: center; background: var(--surface); border: 2px dashed var(--pink);
  border-radius: 22px; padding: 14px 18px;
}
.promo b { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 30px; color: var(--pink); white-space: nowrap; line-height: 1 }
.promo p { margin: 0; font-size: 15px }

/* ---------- Saludo de cliente recurrente ---------- */
.hello { background: var(--blush); border-radius: 18px; padding: 14px 16px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between }
.hello p { margin: 0 }

/* ---------- Diseños ---------- */
.line-head { display: flex; justify-content: space-between; align-items: center; gap: 8px }
.line-head strong { font-family: var(--display); font-size: 19px; font-weight: 700 }
.x { border: 0; background: none; color: var(--muted); font: 700 14px var(--body); cursor: pointer; padding: 6px }
.drop {
  display: flex; gap: 14px; align-items: center; border: 2px dashed var(--line); border-radius: 18px; padding: 12px;
  cursor: pointer; min-width: 0; background: var(--sheet); transition: border-color .15s, background .15s;
}
.drop:hover, .drop.over { border-color: var(--pink); background: var(--blush) }
.drop input { display: none }
.thumb {
  width: 64px; height: 64px; border-radius: 14px; flex: none; object-fit: contain; display: grid; place-items: center;
  background-color: var(--surface);
  background-image: linear-gradient(45deg, var(--line) 25%, transparent 25%, transparent 75%, var(--line) 75%),
                    linear-gradient(45deg, var(--line) 25%, transparent 25%, transparent 75%, var(--line) 75%);
  background-size: 12px 12px; background-position: 0 0, 6px 6px;
  color: var(--pink); font-size: 26px; font-weight: 800;
}
.drop-text { display: flex; flex-direction: column; min-width: 0 }
.drop-text b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.drop-text span { font-size: 13px; color: var(--muted) }
.custom { display: grid; grid-template-columns: 1fr auto 1fr auto; gap: 8px; align-items: center }
.qty { display: grid; grid-template-columns: 48px 1fr 48px; gap: 8px }
.qty button { font: 800 22px var(--body); border-radius: 14px; border: 1.5px solid var(--line); background: var(--sheet); color: var(--pink); cursor: pointer }
.qty input { text-align: center; font-family: var(--mono); font-size: 18px }
/* Subida múltiple */
.drop.bulk { border-color: var(--pink); background: var(--surface); padding: 16px }
.drop.bulk .drop-text b { white-space: normal; font-size: 16px }
.bulk-icon { background: var(--pink) !important; color: var(--pink-ink) !important; font-size: 28px }

/* Con fondo / sin fondo */
.fondo-field .req { font-weight: 800; font-size: 11px; color: var(--pink); background: var(--blush); border-radius: 999px; padding: 2px 8px; margin-left: 4px }
.fondo-field.falta .opt { border-color: var(--pink); border-style: dashed }
.fondo-field .opt { align-items: flex-start }
.ico-fondo { width: 46px; height: 34px; border-radius: 8px; display: grid; place-items: center; margin-bottom: 4px; border: 1px solid var(--line) }
.ico-fondo i { width: 18px; height: 18px; border-radius: 50%; background: var(--pink) }
.ico-fondo.con { background: #FFE9A8 }
.ico-fondo.sin { background-color: #fff; background-image: linear-gradient(45deg, #EBD3DE 25%, transparent 25%, transparent 75%, #EBD3DE 75%), linear-gradient(45deg, #EBD3DE 25%, transparent 25%, transparent 75%, #EBD3DE 75%); background-size: 8px 8px; background-position: 0 0, 4px 4px }

/* Subir archivo / Lo mando por WhatsApp */
.via-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--blush); border-radius: 999px; padding: 4px }
.via-tabs button { border: 0; background: none; color: var(--ink); font: 800 13.5px var(--body); padding: 9px 8px; border-radius: 999px; cursor: pointer }
.via-tabs button[aria-selected="true"] { background: var(--surface); color: var(--pink); box-shadow: 0 2px 8px -4px rgba(150, 20, 80, .4) }
.wa-box { display: flex; flex-direction: column; gap: 10px; background: color-mix(in srgb, #25D366 9%, var(--surface)); border: 1.5px solid color-mix(in srgb, #25D366 35%, var(--line)); border-radius: 18px; padding: 14px }
.wa-t { font-size: 15.5px }
.wa-pasos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px }
@media (max-width: 420px) { .wa-pasos { grid-template-columns: 1fr } .wa-pasos > div:not(.on) { order: 2 } }
.wa-pasos > div { background: var(--surface); border-radius: 14px; padding: 10px 12px; font-size: 13.5px; border: 1px solid var(--line) }
.wa-pasos > div.on { border-color: color-mix(in srgb, #25D366 50%, var(--line)) }
.wa-pasos ol { margin: 6px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 3px }
.wa-ojo { margin: 0; font-size: 13.5px; background: var(--blush); border-radius: 12px; padding: 8px 12px }
.wa-faltan { margin: 0; padding-left: 20px; font-weight: 700 }

/* Proporción */
.lock { display: flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 700; color: var(--muted) }
.lock input { width: 18px; height: 18px; accent-color: var(--pink) }

/* Materiales con foto */
.mats { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 8px; scroll-snap-type: x mandatory; scrollbar-width: thin }
.mat {
  flex: 0 0 152px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 6px; text-align: left;
  border: 1.5px solid var(--line); background: var(--sheet); color: var(--ink); border-radius: 18px; padding: 8px 8px 12px;
  font: inherit; cursor: pointer; transition: border-color .15s, box-shadow .15s;
}
.mat[aria-pressed="true"] { border-color: var(--pink); box-shadow: inset 0 0 0 1.5px var(--pink); background: var(--blush) }
.mat b { font-size: 14.5px; line-height: 1.25; padding-inline: 4px }
.mat .precio { font: 500 13px var(--mono); color: var(--pink); padding-inline: 4px }
.mat .desc { font-size: 12.5px; color: var(--muted); line-height: 1.35; padding-inline: 4px }
.sw { width: 100%; aspect-ratio: 4 / 3; max-width: 100%; border-radius: 12px; object-fit: cover; display: block; position: relative; overflow: hidden }
.sw::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.55) 48%, transparent 60%) }
.sw-base { background: radial-gradient(circle at 35% 40%, #FF5FA2 0 18%, transparent 19%), radial-gradient(circle at 68% 62%, #FFC2DA 0 15%, transparent 16%), #FFFFFF; border: 1px solid var(--line) }
.sw-holo { background: linear-gradient(125deg, #F9C5E8, #B8E6FF 30%, #D6FFC9 50%, #FFF1B8 68%, #E5C6FF 85%, #F9C5E8) }
.sw-foil { background: linear-gradient(125deg, #8C6A1F, #F6E19B 30%, #B8902F 48%, #FFF3C4 62%, #9C7623 85%) }
.sw-plata { background: linear-gradient(125deg, #8E949C, #F3F5F7 30%, #A9AFB6 48%, #FFFFFF 62%, #8E949C 85%) }
.sw-transp { background-color: #fff; background-image: linear-gradient(45deg, #EBD3DE 25%, transparent 25%, transparent 75%, #EBD3DE 75%), linear-gradient(45deg, #EBD3DE 25%, transparent 25%, transparent 75%, #EBD3DE 75%); background-size: 14px 14px; background-position: 0 0, 7px 7px }

.reco {display: flex; flex-direction: column; gap: 10px; background: var(--blush); border-radius: 16px; padding: 12px 14px; font-size: 14.5px }
.reco .chip { background: var(--surface) }
.reco .chip[aria-pressed="true"] { background: var(--ink) }
.reco-libre { margin: 0; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; border-top: 1.5px dashed color-mix(in srgb, var(--pink) 35%, transparent); padding-top: 10px }
.warn-text {color: var(--pink); font-size: 14px; font-weight: 700; margin: 0 }

/* Revisión */
.checks { display: flex; flex-direction: column; gap: 8px; background: var(--sheet); border: 1.5px solid var(--line); border-radius: 16px; padding: 12px 14px }
.checks-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap }
.ck { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.45 }
.ck i { flex: none; width: 10px; height: 10px; border-radius: 50%; margin-top: 6px; background: var(--muted) }
.ck.ok i { background: var(--ok) } .ck.warn i { background: var(--warn) } .ck.bad i { background: var(--pink) }
.ai { display: flex; flex-direction: column; gap: 8px; border-top: 1.5px dashed var(--line); padding-top: 10px }
.spark { color: var(--pink) }
.dots::after { content: ""; animation: dots 1.2s steps(4) infinite }
@keyframes dots { 0% { content: "" } 25% { content: "." } 50% { content: ".." } 75% { content: "..." } }

/* Montaje */
.mat-head { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; flex-wrap: wrap }
.mat-head b { font-family: var(--display); font-size: 18px }
.sheet-row { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin }
.sheet-row svg { flex: none; height: 168px; width: auto; filter: drop-shadow(0 3px 6px rgba(150, 20, 80, .15)) }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--muted) }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px }

/* Entrega */
.options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px }
.opt { border: 1.5px solid var(--line); background: var(--sheet); border-radius: 18px; padding: 14px; cursor: pointer; display: flex; flex-direction: column; gap: 2px; text-align: left; font: inherit; color: var(--ink) }
.opt b { font-size: 16px }
.opt span { font-size: 13px; color: var(--muted) }
.opt[aria-pressed="true"] { border-color: var(--pink); background: var(--blush); box-shadow: inset 0 0 0 1px var(--pink) }

/* Barra de total */
.totalbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; background: var(--surface);
  border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(150, 20, 80, .4);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
}
.totalbar .in { max-width: 660px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 12px }
.totalbar .amt { font-family: var(--display); font-weight: 800; font-size: 28px; font-variant-numeric: tabular-nums; line-height: 1.1 }
.totalbar small { display: block; color: var(--muted); font-size: 12.5px }
.totalbar small.goal { color: var(--pink); font-weight: 700 }
.meter { height: 6px; border-radius: 99px; background: var(--blush); overflow: hidden; margin-top: 4px; max-width: 220px }
.meter i { display: block; height: 100%; background: var(--pink); border-radius: 99px; transition: width .3s }

/* Confirmación */
.done { text-align: left; align-items: stretch }
.ordno { font: 500 32px var(--mono); color: var(--pink); letter-spacing: .02em }
pre.msg { white-space: pre-wrap; font: 13.5px/1.55 var(--mono); background: var(--sheet); border: 1.5px solid var(--line); border-radius: 14px; padding: 14px; margin: 0; user-select: all; overflow-x: auto }
.acts { display: flex; flex-wrap: wrap; gap: 10px }
.toast { max-width: calc(100% - 32px); width: max-content; text-align: center; position: fixed; left: 50%; bottom: 110px; transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 10px 18px; border-radius: 999px; font-weight: 700; z-index: 20 }

/* Seguimiento */
.track { display: flex; flex-direction: column; gap: 0 }
.step { display: grid; grid-template-columns: 28px 1fr; gap: 14px; position: relative; padding-bottom: 22px }
.step:last-child { padding-bottom: 0 }
.step::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: var(--line) }
.step:last-child::before { display: none }
.step .dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); background: var(--surface); display: grid; place-items: center; font-size: 14px; font-weight: 800; color: var(--pink-ink) }
.step.on .dot { background: var(--pink); border-color: var(--pink) }
.step.lit::before { background: var(--pink) }
.step b { display: block; font-size: 17px }
.step span { font-size: 14px; color: var(--muted) }

table { width: 100%; border-collapse: collapse; font-size: 14.5px }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top }
th { font-size: 12px; font-weight: 800; color: var(--muted) }
.tbl { overflow-x: auto; margin-inline: -4px }

@media (prefers-reduced-motion: reduce) { *, *::after { animation: none !important; transition: none !important } }
@media (prefers-reduced-motion: no-preference) {
  .pop { animation: pop .3s cubic-bezier(.2, .9, .3, 1.3) }
  @keyframes pop { from { transform: translateY(8px) scale(.98) } to { transform: none } }
}

/* ---------- Franja de confianza (cabecera) ---------- */
.confianza { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 8px }
.confianza li { font-size: 13px; font-weight: 800; color: var(--ink); background: rgba(255, 255, 255, .6); padding: 6px 11px; border-radius: 999px; display: inline-flex; gap: 6px; align-items: center }
.confianza li span { color: var(--pink) }
:root[data-theme="dark"] .confianza li { background: rgba(0, 0, 0, .22) }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .confianza li { background: rgba(0, 0, 0, .22) } }

/* ---------- Cómo funciona ---------- */
.pasos-sec { display: flex; flex-direction: column; gap: 10px }
.pasos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; counter-reset: paso }
@media (max-width: 720px) { .pasos { grid-template-columns: 1fr 1fr } }
.pasos li { counter-increment: paso; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px; display: flex; flex-direction: column; gap: 4px; min-width: 0 }
.pasos li::before { content: counter(paso); width: 28px; height: 28px; border-radius: 50%; background: var(--pink); color: var(--pink-ink); font: 800 14px var(--body); display: grid; place-items: center; margin-bottom: 4px }
.pasos b { font-size: 15.5px; line-height: 1.25 }
.pasos span { font-size: 13.5px; color: var(--muted); line-height: 1.45 }

/* ---------- Galería ---------- */
.galeria { display: flex; flex-direction: column; gap: 10px }
.gal-fila { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 46%); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin-inline: -16px; padding-inline: 16px; scrollbar-width: thin }
@media (min-width: 700px) { .gal-fila { grid-auto-columns: calc((100% - 20px) / 3) } }
.gal-item { margin: 0; scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow) }
.gal-item img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--blush) }
.gal-item figcaption { font-size: 13px; font-weight: 700; padding: 8px 12px 10px }

/* ---------- Autorización de datos ---------- */
.acepto { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; padding: 12px; border-radius: 14px; background: var(--blush); cursor: pointer }
.acepto input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--pink) }
.acepto a { font-weight: 800 }
.acepto.falta { outline: 2.5px solid var(--pink); outline-offset: 2px }

/* ---------- Preguntas frecuentes ---------- */
.faq-sec, .nosotros { display: flex; flex-direction: column; gap: 10px }
.faq { display: flex; flex-direction: column; gap: 8px }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 0 16px }
.faq-item summary { cursor: pointer; list-style: none; font-weight: 800; padding: 14px 28px 14px 0; position: relative }
.faq-item summary::-webkit-details-marker { display: none }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: 10px; font: 700 22px var(--body); color: var(--pink) }
.faq-item[open] summary::after { content: "–" }
.faq-item p { margin: 0 0 14px; color: var(--muted); font-size: 15px; line-height: 1.55 }
.nosotros p { margin: 0; font-size: 16px; line-height: 1.6; max-width: 62ch }

/* ---------- Pie de página ---------- */
.pie { background: var(--band); color: var(--ink); padding: 34px 16px 22px; margin-top: 12px }
.pie.con-barra { padding-bottom: 150px }
.pie-in { max-width: 660px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px }
@media (min-width: 760px) { .pie-in { max-width: 980px; grid-template-columns: 1.4fr 1fr 1fr 1fr } }
.pie-marca { grid-column: 1 / -1; display: flex; gap: 14px; align-items: center }
@media (min-width: 760px) { .pie-marca { grid-column: auto; flex-direction: column; align-items: flex-start } }
.pie-marca img { width: 64px; height: 64px; flex: none }
.pie-marca p { margin: 0; font-size: 14px; max-width: 30ch }
.pie-col { display: flex; flex-direction: column; gap: 6px; font-size: 14px; min-width: 0 }
.pie-col b { font-family: var(--display); font-size: 16px; margin-bottom: 2px }
.pie-col a { color: var(--ink); text-decoration: none; font-weight: 700; overflow-wrap: anywhere }
.pie-col a:hover { color: var(--pink) }
.pie-col span { overflow-wrap: anywhere }
.pie-legal { max-width: 980px; margin: 22px auto 0; padding-top: 14px; border-top: 1px solid rgba(46, 18, 34, .15); font-size: 12.5px; text-align: center }

/* ---------- Envío en el seguimiento ---------- */
.guia-card .guia-dato { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; border-bottom: 1px dashed var(--line); padding-bottom: 8px }
.guia-card .guia-dato b { font-size: 17px; overflow-wrap: anywhere; text-align: right }

/* ---------- Páginas legales ---------- */
.legal { max-width: 720px }
.legal h2 { font-size: 19px; margin: 8px 0 0 }
.legal p, .legal li { line-height: 1.6; font-size: 15.5px }
.legal ul { padding-left: 20px; margin: 0 }
#app { padding-block-end: 36px }

.pasos-mini { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; counter-reset: paso }
.pasos-mini li { counter-increment: paso; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; min-width: 0; position: relative }
.pasos-mini li::before { content: counter(paso); width: 30px; height: 30px; border-radius: 50%; background: var(--pink); color: var(--pink-ink); font: 800 14px var(--body); display: grid; place-items: center; margin-bottom: 4px; position: relative; z-index: 1 }
.pasos-mini li:not(:last-child)::after { content: ""; position: absolute; top: 15px; left: calc(50% + 18px); right: calc(-50% + 18px); border-top: 2px dashed var(--line) }
.pasos-mini b { font-size: 14px }
.pasos-mini span { font-size: 12px; color: var(--muted); line-height: 1.3 }

.porque-wa { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 16px 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px }
.porque-wa h2 { font-size: 19px; line-height: 1.2 }
.porque-sub { margin: 0; font-size: 14.5px; color: var(--muted) }
.porque-wa ul { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px }
.porque-wa li { display: flex; gap: 10px; align-items: center; font-size: 14.5px; line-height: 1.35 }
.porque-wa li > span { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--blush); display: grid; place-items: center; font-size: 15px }
@media (min-width: 700px) { .porque-wa ul { flex-direction: row } .porque-wa li { flex: 1 } }

/* ---------- Optimización del formulario ---------- */
.fondo-field .solo-si-falta { display: none }
.mostrar-faltas .fondo-field .solo-si-falta { display: block }
.fondo-field.falta .opt { border-color: var(--line); border-style: solid }
.mostrar-faltas .fondo-field.falta .opt { border-color: var(--pink); border-style: dashed }
.fondo-field .opt { padding: 11px 12px }
.mats { flex-direction: column; overflow: visible; gap: 6px; padding: 0; scroll-snap-type: none }
.mats .mat { width: auto; min-width: 0; flex: none; flex-direction: row; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; text-align: left; scroll-snap-align: none }
.mats .mat .sw { width: 52px; height: 52px; flex: none; border-radius: 12px; aspect-ratio: 1; object-fit: cover }
.mats .mat-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px }
.mats .mat-txt b { padding: 0; font-size: 14.5px }
.mats .mat-txt .desc { padding: 0; display: none }
.mats .mat[aria-pressed="true"] .mat-txt .desc { display: block }
.mats .mat-precio { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 1px; text-align: right }
.mats .mat-precio .precio { padding: 0; font-size: 13.5px; font-weight: 500 }
.mats .mat-precio .mono { font-size: 11px; color: var(--muted) }
