/* AgendaSimple Pro — estilos */
:root {
  --tinta: #13201c;
  --tinta-2: #4a5a55;
  --tinta-3: #7b8a85;
  --papel: #faf7f2;
  --blanco: #ffffff;
  --linea: #e6e0d6;
  --verde: #0e6b54;
  --verde-2: #0a5442;
  --verde-claro: #e3f2ec;
  --coral: #ff6a3d;
  --coral-claro: #ffeee7;
  --ambar: #b7791f;
  --ambar-claro: #fdf3dc;
  --rojo: #c0392b;
  --rojo-claro: #fbe7e4;
  --azul: #2563a8;
  --azul-claro: #e5effa;
  --gris-claro: #f0eee9;
  --radio: 14px;
  --sombra: 0 1px 2px rgba(19, 32, 28, .06), 0 6px 20px rgba(19, 32, 28, .06);
  --titulo: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --texto: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--texto);
  font-size: 16px;
  line-height: 1.5;
  color: var(--tinta);
  background: var(--papel);
}
a { color: var(--verde); }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--titulo); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
h2 { font-size: 1.3rem; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
small, .muted { color: var(--tinta-2); }
.muted-3 { color: var(--tinta-3); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.wrap-sm { max-width: 560px; margin: 0 auto; padding: 0 16px; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45em;
  padding: .7em 1.15em; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 .95rem/1.1 var(--texto); text-decoration: none; cursor: pointer;
  background: var(--verde); color: #fff; transition: background .15s, transform .05s;
  white-space: nowrap;
}
.btn:hover { background: var(--verde-2); }
.btn:active { transform: translateY(1px); }
.btn-coral { background: var(--coral); }
.btn-coral:hover { background: #e95a2e; }
.btn-line { background: transparent; color: var(--tinta); border-color: var(--linea); }
.btn-line:hover { background: var(--gris-claro); }
.btn-wa { background: #1fa855; }
.btn-wa:hover { background: #17904a; }
.btn-red { background: transparent; color: var(--rojo); border-color: #efc4be; }
.btn-red:hover { background: var(--rojo-claro); }
.btn-sm { padding: .45em .8em; font-size: .85rem; }
.btn-lg { padding: .95em 1.5em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* Formularios */
label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .3em; }
.field { margin-bottom: 1rem; }
.hint { font-size: .82rem; color: var(--tinta-2); margin-top: .25em; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number],
input[type=date], input[type=time], input[type=search], select, textarea {
  width: 100%; padding: .7em .85em; border: 1.5px solid var(--linea); border-radius: 10px;
  font: inherit; background: var(--blanco); color: var(--tinta);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--verde); box-shadow: 0 0 0 3px var(--verde-claro); }
textarea { min-height: 90px; resize: vertical; }
.check { display: flex; align-items: center; gap: .5em; font-weight: 500; }
.check input { width: 18px; height: 18px; accent-color: var(--verde); }
.error { color: var(--rojo); font-size: .85rem; margin-top: .25em; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 1rem; }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* Tarjetas */
.card { background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--radio); padding: 1.25rem; box-shadow: var(--sombra); }
.card + .card { margin-top: 1rem; }
.card-flat { background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--radio); padding: 1rem; }

/* Avisos */
.alert { padding: .85em 1em; border-radius: 12px; margin-bottom: 1rem; font-size: .95rem; }
.alert-ok { background: var(--verde-claro); color: var(--verde-2); }
.alert-err { background: var(--rojo-claro); color: var(--rojo); }
.alert-warn { background: var(--ambar-claro); color: #7a4f0c; }
.alert-info { background: var(--azul-claro); color: #1b4a80; }

/* Etiquetas */
.tag { display: inline-flex; align-items: center; gap: .35em; font-size: .78rem; font-weight: 700; padding: .25em .65em; border-radius: 999px; white-space: nowrap; }
.tag-verde { background: var(--verde-claro); color: var(--verde-2); }
.tag-ambar { background: var(--ambar-claro); color: #8a5a0e; }
.tag-rojo { background: var(--rojo-claro); color: var(--rojo); }
.tag-azul { background: var(--azul-claro); color: var(--azul); }
.tag-gris { background: var(--gris-claro); color: var(--tinta-2); }
.tag-coral { background: var(--coral-claro); color: #c4431b; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dot-verde { background: #1fa855; } .dot-amarillo { background: #e5a913; } .dot-rojo { background: var(--rojo); }

/* Barra superior pública */
.topbar { padding: 14px 0; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: inline-flex; align-items: center; gap: .5em; font-family: var(--titulo); font-weight: 800; font-size: 1.2rem; color: var(--tinta); text-decoration: none; }
.logo { gap: .4em; line-height: 0; }
.logo-icon { width: 34px; height: 34px; flex: none; }
.logo-word { height: 22px; width: auto; }
.side .logo-icon, .mobile-bar .logo-icon, .topbar-dark .logo-icon { filter: drop-shadow(0 0 0 #fff) drop-shadow(0 0 1.5px rgba(255,255,255,.55)); }
.topbar-dark .logo { color: #fff; }
.mobile-bar .logo-word { height: 19px; } .mobile-bar .logo-icon { width: 30px; height: 30px; }
.logo-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--verde); display: grid; place-items: center; color: #fff; font-size: 1rem; }
.logo b { color: var(--coral); font-weight: 800; }

/* Panel */
.panel-shell { display: grid; grid-template-columns: 230px 1fr; min-height: 100vh; }
.side { background: var(--tinta); color: #dfe7e4; padding: 18px 14px; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; }
.side .logo { color: #fff; margin: 4px 6px 22px; }
.side nav a { display: flex; align-items: center; gap: .65em; padding: .65em .8em; border-radius: 10px; color: #c9d4d0; text-decoration: none; font-weight: 500; margin-bottom: 2px; }
.side nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.side nav a.on { background: rgba(255,255,255,.1); color: #fff; }
.side nav a .ico { width: 20px; text-align: center; }
.side .side-foot { margin-top: auto; font-size: .82rem; color: #9fb0aa; padding: 0 6px; }
.side .side-foot a { color: #fff; }
.main { padding: 26px 28px 60px; min-width: 0; }
.main-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.main-head h1 { margin: 0; }
.mobile-bar { display: none; }
@media (max-width: 860px) {
  .panel-shell { grid-template-columns: 1fr; }
  .side { display: none; }
  .main { padding: 16px 16px 90px; }
  .mobile-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: var(--tinta); color: #fff; position: sticky; top: 0; z-index: 5; }
  .mobile-bar .logo { color: #fff; font-size: 1.05rem; }
  .tabbar { position: fixed; bottom: 0; left: 0; right: 0; display: grid; grid-template-columns: repeat(5, 1fr); background: var(--blanco); border-top: 1px solid var(--linea); z-index: 5; padding-bottom: env(safe-area-inset-bottom); }
  .tabbar a { text-align: center; padding: 8px 2px 9px; font-size: .7rem; color: var(--tinta-2); text-decoration: none; font-weight: 600; }
  .tabbar a .ico { display: block; font-size: 1.15rem; }
  .tabbar a.on { color: var(--verde); }
}
@media (min-width: 861px) { .tabbar { display: none; } }

/* Estadísticas */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 1.2rem; }
.stat { background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--radio); padding: 14px 16px; }
.stat .n { font-family: var(--titulo); font-size: 1.6rem; font-weight: 800; line-height: 1.1; }
.stat .l { font-size: .8rem; color: var(--tinta-2); }
.stat.destacado { background: var(--verde); color: #fff; border-color: var(--verde); }
.stat.destacado .l { color: #cfe8df; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }

/* Agenda del día */
.daynav { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.daynav .fecha { font-family: var(--titulo); font-weight: 700; font-size: 1.1rem; min-width: 12ch; text-align: center; }
.appt { display: grid; grid-template-columns: 92px 1fr auto; gap: 14px; align-items: start; padding: 14px 0; border-top: 1px solid var(--linea); }
.appt:first-child { border-top: 0; }
.appt .hora { font-family: var(--titulo); font-weight: 800; font-size: 1.05rem; }
.appt .hora small { display: block; font-family: var(--texto); font-weight: 500; font-size: .78rem; }
.appt .quien { font-weight: 700; }
.appt .acciones { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.appt .acciones form { margin: 0; }
@media (max-width: 640px) {
  .appt { grid-template-columns: 70px 1fr; }
  .appt .acciones { grid-column: 1 / -1; justify-content: flex-start; }
}
.empty { text-align: center; padding: 2.2rem 1rem; color: var(--tinta-2); }
.empty .big { font-size: 2rem; }

/* Tablas */
.table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table th { text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--tinta-3); padding: .6em .5em; border-bottom: 1px solid var(--linea); }
.table td { padding: .75em .5em; border-bottom: 1px solid var(--linea); vertical-align: middle; }
.table-wrap { overflow-x: auto; }

/* Horario */
.sched-row { display: grid; grid-template-columns: 130px 1fr 1fr 1fr 1fr; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--linea); }
.sched-row:first-of-type { border-top: 0; }
.sched-row .lbl { font-size: .72rem; color: var(--tinta-3); display: none; }
@media (max-width: 700px) {
  .sched-row { grid-template-columns: 1fr 1fr; }
  .sched-row .dia { grid-column: 1 / -1; }
  .sched-row .lbl { display: block; }
  .sched-head { display: none !important; }
}

/* ===== Página pública de reservas ===== */
.pub-hero { background: var(--verde); color: #fff; padding: 26px 0 64px; }
.pub-hero h1 { color: #fff; margin-bottom: .2em; }
.pub-hero p { color: #d3ebe2; margin: 0; }
.pub-hero .cat { display: inline-block; background: rgba(255,255,255,.14); padding: .2em .7em; border-radius: 999px; font-size: .8rem; font-weight: 600; margin-bottom: .6rem; }
.pub-body { margin-top: -44px; padding-bottom: 50px; }
.step { margin-bottom: 1rem; }
.step-title { display: flex; align-items: center; gap: .6em; font-family: var(--titulo); font-weight: 700; font-size: 1.05rem; margin-bottom: .75rem; }
.step-num { width: 26px; height: 26px; border-radius: 50%; background: var(--coral); color: #fff; display: grid; place-items: center; font-size: .85rem; font-family: var(--texto); font-weight: 800; flex: none; }
.svc { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 14px 16px; border: 1.5px solid var(--linea); border-radius: 12px; background: var(--blanco); cursor: pointer; font: inherit; color: inherit; margin-bottom: 8px; }
.svc:hover { border-color: #b9d8cc; }
.svc.on { border-color: var(--verde); background: var(--verde-claro); }
.svc .p { font-weight: 800; font-family: var(--titulo); white-space: nowrap; }
.dates { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.date { flex: none; width: 64px; padding: 9px 0; text-align: center; border: 1.5px solid var(--linea); border-radius: 12px; background: var(--blanco); cursor: pointer; font: inherit; color: inherit; scroll-snap-align: start; }
.date .dw { font-size: .72rem; text-transform: uppercase; color: var(--tinta-2); font-weight: 700; }
.date .dn { font-family: var(--titulo); font-size: 1.35rem; font-weight: 800; line-height: 1.1; }
.date .dm { font-size: .72rem; color: var(--tinta-2); }
.date.on { border-color: var(--verde); background: var(--verde); color: #fff; }
.date.on .dw, .date.on .dm { color: #d3ebe2; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.slot { padding: 10px 0; border: 1.5px solid var(--linea); border-radius: 10px; background: var(--blanco); cursor: pointer; font: 600 .95rem var(--texto); color: var(--tinta); }
.slot:hover { border-color: var(--verde); }
.slot.on { background: var(--verde); border-color: var(--verde); color: #fff; }
.hidden { display: none !important; }
.resumen { background: var(--gris-claro); border-radius: 12px; padding: 12px 14px; font-size: .93rem; margin-bottom: 1rem; }
.deposit-box { border: 2px dashed #f3b9a5; background: var(--coral-claro); border-radius: 14px; padding: 16px; }
.clabe { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.15rem; font-weight: 700; letter-spacing: .04em; background: var(--blanco); padding: 10px 12px; border-radius: 10px; display: flex; justify-content: space-between; align-items: center; gap: 8px; word-break: break-all; }
.status-big { text-align: center; padding: 10px 0 4px; }
.status-big .ico { font-size: 2.6rem; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: .95rem; }
.kv dt { color: var(--tinta-2); }
.kv dd { margin: 0; font-weight: 600; }
.foot-brand { text-align: center; font-size: .82rem; color: var(--tinta-3); padding: 20px 0 30px; }
.foot-brand a { color: var(--tinta-2); font-weight: 600; }

/* ===== Landing ===== */
.hero { padding: 40px 0 60px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 5.5vw, 3.4rem); font-weight: 800; line-height: 1.04; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--coral); }
.hero .lead { font-size: 1.15rem; color: var(--tinta-2); max-width: 34em; }
.eyebrow { display: inline-flex; align-items: center; gap: .5em; background: var(--coral-claro); color: #c4431b; font-weight: 700; font-size: .82rem; padding: .35em .8em; border-radius: 999px; margin-bottom: 1rem; }
.phone { background: var(--tinta); border-radius: 34px; padding: 12px; max-width: 320px; margin: 0 auto; box-shadow: 0 30px 60px rgba(19,32,28,.25); transform: rotate(2deg); }
.phone-in { background: var(--papel); border-radius: 24px; overflow: hidden; }
.phone-top { background: var(--verde); color: #fff; padding: 18px 16px 30px; }
.phone-top b { font-family: var(--titulo); font-size: 1.1rem; }
.phone-body { padding: 0 12px 14px; margin-top: -18px; }
.mini { background: var(--blanco); border: 1px solid var(--linea); border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; font-size: .82rem; }
.section { padding: 56px 0; }
.section-alt { background: var(--blanco); border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); }
.section h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat { padding: 20px; border-radius: var(--radio); background: var(--papel); border: 1px solid var(--linea); }
.feat .ico { font-size: 1.6rem; margin-bottom: .4rem; }
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: paso; }
.flow > div { background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--radio); padding: 18px; position: relative; }
.flow > div::before { counter-increment: paso; content: counter(paso); position: absolute; top: -12px; left: 16px; width: 26px; height: 26px; border-radius: 50%; background: var(--coral); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .85rem; }
.vs { width: 100%; border-collapse: collapse; background: var(--blanco); border-radius: var(--radio); overflow: hidden; font-size: .93rem; }
.vs th, .vs td { padding: 12px 14px; border-bottom: 1px solid var(--linea); text-align: left; }
.vs th { background: var(--gris-claro); font-size: .82rem; }
.vs td.us { background: var(--verde-claro); font-weight: 700; color: var(--verde-2); }
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 760px; margin: 0 auto; }
.price { background: var(--blanco); border: 1.5px solid var(--linea); border-radius: 18px; padding: 24px; }
.price.top { border-color: var(--verde); box-shadow: 0 10px 30px rgba(14,107,84,.15); position: relative; }
.price .amt { font-family: var(--titulo); font-size: 2.4rem; font-weight: 800; }
.price ul { list-style: none; padding: 0; margin: 1rem 0 1.4rem; }
.price li { padding: .35em 0 .35em 1.6em; position: relative; }
.price li::before { content: "✓"; position: absolute; left: 0; color: var(--verde); font-weight: 800; }
.price li.no { color: var(--tinta-3); }
.price li.no::before { content: "–"; color: var(--tinta-3); }
.ribbon { position: absolute; top: -12px; right: 18px; background: var(--coral); color: #fff; font-size: .75rem; font-weight: 800; padding: .3em .8em; border-radius: 999px; }
.faq details { background: var(--blanco); border: 1px solid var(--linea); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { margin: .7em 0 0; color: var(--tinta-2); }
.site-foot { padding: 30px 0 40px; font-size: .88rem; color: var(--tinta-2); }
@media (max-width: 860px) {
  .hero-grid, .feats, .flow, .prices { grid-template-columns: 1fr; }
  .phone { transform: none; }
}

/* Utilidades */
.row { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.between { justify-content: space-between; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: .5rem; } .mb-2 { margin-bottom: 1rem; }
.center { text-align: center; }
.right { text-align: right; }
.w-100 { width: 100%; }
.nowrap { white-space: nowrap; }
.sep { border: 0; border-top: 1px solid var(--linea); margin: 1.2rem 0; }
.lock { opacity: .55; pointer-events: none; }
.copybtn { flex: none; }
.pagination { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 1rem; list-style: none; padding: 0; }
.pagination a, .pagination span { padding: .4em .75em; border: 1px solid var(--linea); border-radius: 8px; text-decoration: none; font-size: .9rem; }

/* ===== Entrega 2 ===== */
.side { overflow-y: auto; }
.side nav a { padding: .5em .8em; }
.nav-group { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: #7f948d; margin: 14px 8px 4px; font-weight: 700; }
.nav-group:first-child { margin-top: 0; }
.badge { margin-left: auto; background: var(--coral); color: #fff; font-size: .7rem; font-weight: 800; border-radius: 999px; padding: .1em .5em; line-height: 1.5; }
.tabbar .ico { position: relative; }
.tabbar .badge { position: absolute; top: -4px; right: calc(50% - 20px); font-size: .6rem; }

.stars { color: #f2a516; letter-spacing: 1px; white-space: nowrap; }
.stars .off { color: #d9d3c7; }
.rating-head { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.rating-head .big { font-family: var(--titulo); font-size: 1.8rem; font-weight: 800; line-height: 1; }
.review { padding: 12px 0; border-top: 1px solid var(--linea); }
.review:first-child { border-top: 0; }
.review .who { font-weight: 700; font-size: .92rem; }
.review p { margin: .25rem 0 0; color: var(--tinta-2); font-size: .93rem; }
.verified { font-size: .72rem; color: var(--verde); font-weight: 700; }
.star-input { display: flex; flex-direction: row-reverse; justify-content: center; gap: 4px; }
.star-input input { position: absolute; opacity: 0; pointer-events: none; }
.star-input label { font-size: 2.3rem; color: #d9d3c7; cursor: pointer; margin: 0; line-height: 1; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: #f2a516; }

.pub-rating { display: inline-flex; align-items: center; gap: .4rem; background: rgba(255,255,255,.14); padding: .25em .7em; border-radius: 999px; font-size: .88rem; font-weight: 600; margin-top: .6rem; }
.pub-rating .stars { color: #ffd166; }

.staff-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.staff-pick button { padding: .6em 1em; border: 1.5px solid var(--linea); border-radius: 999px; background: var(--blanco); font: 600 .92rem var(--texto); color: var(--tinta); cursor: pointer; }
.staff-pick button.on { background: var(--verde); color: #fff; border-color: var(--verde); }
.tag-staff { background: #efe9ff; color: #5a3fb3; }

.bars { display: grid; gap: 6px; }
.bar-row { display: grid; grid-template-columns: 110px 1fr 70px; gap: 10px; align-items: center; font-size: .9rem; }
.bar-track { background: var(--gris-claro); border-radius: 999px; height: 12px; overflow: hidden; }
.bar-fill { background: var(--verde); height: 100%; border-radius: 999px; min-width: 2px; }
.bar-fill.coral { background: var(--coral); }
@media (max-width: 520px) { .bar-row { grid-template-columns: 80px 1fr 56px; } }

.upsell { text-align: center; padding: 2rem 1rem; border: 2px dashed #b9d8cc; border-radius: var(--radio); background: var(--verde-claro); }
.upsell .big { font-size: 2rem; }

.more-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.more-grid a { display: flex; align-items: center; gap: .6rem; padding: 14px; background: var(--blanco); border: 1px solid var(--linea); border-radius: 12px; text-decoration: none; color: var(--tinta); font-weight: 600; }
.more-grid a .ico { font-size: 1.3rem; }

.check-done { opacity: .55; }
.wl-free { font-size: .82rem; }

/* Cartel imprimible */
.poster { background: #fff; max-width: 560px; margin: 0 auto; border-radius: 22px; overflow: hidden; border: 1px solid var(--linea); text-align: center; }
.poster-top { background: var(--verde); color: #fff; padding: 34px 24px 26px; }
.poster-top h1 { color: #fff; font-size: 2.3rem; margin: 0; }
.poster-top p { color: #d3ebe2; margin: .4rem 0 0; font-size: 1.1rem; }
.poster-body { padding: 26px 24px 30px; }
.poster-body .cta { font-family: var(--titulo); font-size: 1.7rem; font-weight: 800; margin: 0 0 1rem; }
.poster-body .cta em { color: var(--coral); font-style: normal; }
#qr { display: inline-block; padding: 14px; border: 3px solid var(--tinta); border-radius: 18px; }
#qr img, #qr canvas { display: block; }
.poster-url { font-family: ui-monospace, Menlo, monospace; font-weight: 700; font-size: 1.05rem; margin-top: 1rem; word-break: break-all; }
.poster-steps { display: flex; justify-content: center; gap: 18px; margin-top: 1.2rem; font-size: .9rem; color: var(--tinta-2); flex-wrap: wrap; }
@media print {
  body { background: #fff; }
  .side, .mobile-bar, .tabbar, .no-print, .alert { display: none !important; }
  .panel-shell { display: block; }
  .main { padding: 0; }
  .poster { border: 0; max-width: none; }
  .poster-top { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

.slot { line-height: 1.15; }
.slot-left { display: block; font-size: .68rem; font-weight: 700; color: var(--coral); margin-top: 2px; }
.slot.on .slot-left { color: #ffd9cb; }

/* ===== v2.2 ===== */
.upsell-lock { display: inline-block; background: #fff; color: var(--verde-2); border: 1px solid #b9d8cc; font-size: .75rem; font-weight: 800; padding: .25em .75em; border-radius: 999px; margin-bottom: .6rem; }
.pro-pill { display: inline-block; font-size: .62rem; font-weight: 800; background: var(--coral); color: #fff; border-radius: 999px; padding: .1em .45em; margin-left: auto; letter-spacing: .03em; }
.side nav a .pro-pill { opacity: .9; }
.tabbar a.tab-add .ico { width: 42px; height: 42px; margin: -14px auto 2px; border-radius: 50%; background: var(--coral); color: #fff; display: grid; place-items: center; font-size: 1.4rem; box-shadow: 0 4px 12px rgba(255,106,61,.4); }
.tabbar a.tab-add { color: var(--coral); }
.side .side-foot .btn-coral { border: 0; }
.share-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 1rem; }
.share-grid h3 { margin-bottom: .3rem; }
@media (max-width: 760px) { .share-grid { grid-template-columns: 1fr; } }
.msg-box { background: var(--gris-claro); border-radius: 10px; padding: 10px 12px; font-size: .9rem; white-space: pre-wrap; word-break: break-word; }

.setup { border-color: #b9d8cc; background: linear-gradient(180deg, #f3faf7, #fff 60%); margin-bottom: 1rem; }
.progress { height: 8px; background: var(--gris-claro); border-radius: 999px; overflow: hidden; }
.progress div { height: 100%; background: var(--verde); border-radius: 999px; transition: width .3s; }
.steps { list-style: none; padding: 0; margin: .8rem 0 0; display: grid; gap: 6px; }
.steps a { display: flex; align-items: center; gap: .7rem; padding: 10px 12px; border: 1px solid var(--linea); border-radius: 12px; background: #fff; color: var(--tinta); text-decoration: none; font-weight: 600; }
.steps a:hover { border-color: var(--verde); }
.steps .chk { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--linea); display: grid; place-items: center; font-size: .82rem; flex: none; color: var(--tinta-2); }
.steps li.ok a { color: var(--tinta-3); font-weight: 500; }
.steps li.ok .chk { background: var(--verde); border-color: var(--verde); color: #fff; }
.steps .go { margin-left: auto; color: var(--coral); font-weight: 800; }

.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 1rem; }
.week a { text-align: center; padding: 8px 0 7px; border-radius: 12px; border: 1px solid var(--linea); background: #fff; text-decoration: none; color: var(--tinta); }
.week a .dw { font-size: .7rem; text-transform: uppercase; color: var(--tinta-2); font-weight: 700; }
.week a .dn { font-family: var(--titulo); font-weight: 800; font-size: 1.15rem; line-height: 1.2; }
.week a .cnt { font-size: .7rem; color: var(--tinta-3); }
.week a .cnt b { color: var(--verde); }
.week a.on { background: var(--verde); border-color: var(--verde); color: #fff; }
.week a.on .dw, .week a.on .cnt, .week a.on .cnt b { color: #d3ebe2; }
.week a.closed { opacity: .45; }
.today-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); vertical-align: middle; margin-left: 2px; }
.alert { animation: fadein .25s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) { .hide-mobile { display: none !important; } .week { gap: 4px; } .week a .cnt { font-size: .62rem; } }
.brand-preview { width: 92px; height: 92px; border-radius: 20px; display: grid; place-items: center; overflow: hidden; flex: none; color: #fff; font-family: var(--titulo); font-size: 2.4rem; font-weight: 800; }
.brand-preview img { width: 100%; height: 100%; object-fit: cover; background: #fff; }
.swatch { width: 34px; height: 34px; border-radius: 50%; cursor: pointer; position: relative; margin: 0; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--linea); }
.swatch input { position: absolute; opacity: 0; }
.swatch:has(input:checked) { box-shadow: 0 0 0 3px var(--tinta); }
.pub-id { display: flex; align-items: center; gap: 14px; }
.pub-logo { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; background: #fff; flex: none; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.pub-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: .6rem; font-size: .88rem; }
.pub-meta a { color: #e6f3ee; text-decoration: none; }
.pub-meta a:hover { text-decoration: underline; }
.pub-meta details { color: #e6f3ee; }
.pub-meta summary { cursor: pointer; list-style: none; }
.pub-meta summary::-webkit-details-marker { display: none; }
.pub-meta ul { list-style: none; padding: 8px 12px; margin: 6px 0 0; background: rgba(0,0,0,.18); border-radius: 10px; min-width: 230px; }
.pub-meta li { display: flex; justify-content: space-between; gap: 16px; padding: 2px 0; }
.pub-hero { padding-bottom: 60px; }
.pub-hero h1 { margin-bottom: 0; }
.plan-now { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.calc { background: var(--coral-claro); border-color: #f3c9b9; }
.calc-out { font-size: 1.05rem; }
.calc-out strong { font-family: var(--titulo); }
.compare { display: grid; grid-template-columns: 1fr 1.25fr; gap: 16px; margin-top: 1rem; align-items: start; }
.pro-list li { padding-bottom: .55em; }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }

/* ===== v2.3: ventana de pago ===== */
.paywall-bg { min-height: 100vh; background: rgba(19,32,28,.82); background-image: radial-gradient(circle at 20% 10%, rgba(14,107,84,.55), transparent 50%), radial-gradient(circle at 90% 90%, rgba(255,106,61,.35), transparent 45%); padding: 28px 16px 60px; display: flex; justify-content: center; align-items: flex-start; }
.paywall { background: var(--papel); border-radius: 22px; max-width: 760px; width: 100%; padding: 22px 26px 28px; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.paywall-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.paywall .big { font-size: 2.6rem; text-align: center; }
.paywall-status { text-align: center; padding: 1rem 0; }
.period-toggle { display: flex; justify-content: center; gap: 0; background: var(--gris-claro); border-radius: 999px; padding: 4px; width: fit-content; margin-left: auto; margin-right: auto; }
.period-toggle label { margin: 0; cursor: pointer; }
.period-toggle input { position: absolute; opacity: 0; }
.period-toggle span { display: block; padding: .5em 1.2em; border-radius: 999px; font-weight: 700; font-size: .92rem; }
.period-toggle small { color: var(--coral); font-weight: 800; margin-left: .2em; }
.period-toggle input:checked + span { background: #fff; box-shadow: var(--sombra); }
.plan-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 1rem; }
.plan-card { position: relative; display: block; background: #fff; border: 2px solid var(--linea); border-radius: 16px; padding: 18px; cursor: pointer; font-weight: 400; margin: 0; }
.plan-card input { position: absolute; top: 18px; right: 18px; width: 20px; height: 20px; accent-color: var(--verde); }
.plan-card:has(input:checked) { border-color: var(--verde); box-shadow: 0 8px 24px rgba(14,107,84,.15); }
.plan-card h3 { margin: 0; }
.plan-card .amt { font-family: var(--titulo); font-size: 2rem; font-weight: 800; margin: .2rem 0 .4rem; }
.plan-card .amt small { font-size: .95rem; font-weight: 500; color: var(--tinta-2); }
.plan-card ul { list-style: none; padding: 0; margin: 0; font-size: .88rem; }
.plan-card li { padding: .2em 0 .2em 1.4em; position: relative; }
.plan-card li::before { content: "✓"; position: absolute; left: 0; color: var(--verde); font-weight: 800; }
.plan-card .ribbon { top: -11px; right: 50px; }
.pay-steps { display: grid; gap: 12px; margin-top: 1.2rem; }
.pay-step { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--linea); border-radius: 14px; padding: 14px 16px; }
.file-input { padding: .6em; background: #fff; border: 1.5px dashed #b9d8cc; border-radius: 10px; width: 100%; }
@media (max-width: 640px) { .plan-pick { grid-template-columns: 1fr; } .paywall { padding: 18px 16px 22px; } }
.paydlg { border: 0; border-radius: 18px; padding: 20px; width: min(420px, calc(100vw - 32px)); box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.paydlg::backdrop { background: rgba(19,32,28,.5); }
.pay-methods { display: grid; grid-template-columns: 1fr; gap: 8px; }
.pay-methods .btn { justify-content: flex-start; padding: .85em 1.1em; font-size: 1rem; }
.block-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin-top: 8px; border-radius: 12px; background: repeating-linear-gradient(135deg, var(--gris-claro), var(--gris-claro) 8px, #fff 8px, #fff 16px); border: 1px dashed var(--linea); font-size: .92rem; }
.block-row form { margin: 0 0 0 auto; }
.cash-total { font-family: var(--titulo); font-size: 2.4rem; font-weight: 800; }

/* ---------- v2.5: íconos de línea y ajustes de pulido ---------- */
.i { display: inline-block; vertical-align: -0.2em; flex: none; }
.btn .i { margin-right: .1em; }
.side nav a .ico { display: inline-flex; justify-content: center; color: #9fb0aa; }
.side nav a.on .ico, .side nav a:hover .ico { color: #fff; }
.tabbar a .ico { display: flex; justify-content: center; height: 24px; align-items: center; }
.tabbar a.tab-add .ico { display: grid; height: 42px; }
.more-grid a .ico { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--verde-claro); color: var(--verde); flex: none; }
.h-ico { display: flex; align-items: center; gap: .45em; }
.h-ico .i { color: var(--ambar); }
.empty .big .i { color: var(--tinta-3); }
/* iOS Safari dibuja las fechas con su propio ancho y se salen de la caja */
input[type=date], input[type=time] { -webkit-appearance: none; appearance: none; display: block; min-width: 0; max-width: 100%; min-height: 2.9em; text-align: left; }
input[type=date]::-webkit-date-and-time-value, input[type=time]::-webkit-date-and-time-value { text-align: left; }
.field, form > div { min-width: 0; }

/* ---------- v2.6: aviso de la tarde ---------- */
.aviso-box { border: 1.5px solid var(--linea); border-radius: 14px; padding: 14px 16px; margin: .4rem 0 1.1rem; background: var(--blanco); }
.aviso-box .check { align-items: flex-start; }
.push-box { margin: .8rem 0 0 1.9rem; padding: 12px 14px; border-radius: 12px; background: var(--crema, #f8f5ef); display: flex; flex-direction: column; gap: .6rem; }
.push-state { display: flex; align-items: center; gap: .5rem; font-size: .93rem; font-weight: 600; }
.push-dot { width: 10px; height: 10px; border-radius: 50%; background: #c9c2b6; flex: none; }
.push-box.on .push-dot { background: #1fa463; box-shadow: 0 0 0 4px rgba(31,164,99,.18); }
.push-box.warn .push-dot { background: var(--ambar, #d18a00); }
.aviso-strip { background: var(--verde-claro, #e3f1ec); color: var(--verde, #0e6b54); border-radius: 12px; padding: 10px 14px; margin-bottom: .8rem; font-size: .93rem; }
@media (max-width: 560px) { .push-box { margin-left: 0; } .aviso-box .row { margin-left: 0 !important; } .aviso-box .hint { margin-left: 0 !important; } }

[hidden] { display: none !important; }
.demo-row { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .7rem 0; border-top: 1px solid var(--linea); }

/* ---------- v2.7: recibo ---------- */
.receipt { text-align: left; margin: 1rem 0 .4rem; padding: 14px 16px; border: 1.5px dashed var(--linea); border-radius: 14px; background: var(--blanco); }
.receipt .kv { margin: .6rem 0; }
.receipt .kv dd { text-align: right; font-variant-numeric: tabular-nums; }
.receipt .total { font-weight: 800; color: var(--tinta); border-top: 1px solid var(--linea); padding-top: .4rem; }
.btn-quiet { color: var(--tinta-3, #6b7a75); }
