/* =========================================================
   CONLEI · Landing page — estilos (mobile-first)
   ========================================================= */
:root {
  --vino: #62101C;
  --vino-2: #4A0C15;
  --cafe: #2C120A;
  --cafe-2: #5A3A2E;
  --bronce: #8A5A2B;
  --bronce-2: #B07E4C;
  --arena: #F8F2E8;
  --arena-2: #E8D5BD;
  --linea: #DDD0BE;
  --borde-campo: #8C7B66;
  --amarillo: #F6DE28;
  --blanco: #FFFFFF;
  --wa: #1FA855;
  --wa-2: #178a45;
  --font: Tahoma, Verdana, Geneva, "Segoe UI", sans-serif;
  --r: 6px;
  --sombra: 0 10px 30px rgba(44, 18, 10, .14);
  --sombra-2: 0 24px 60px rgba(44, 18, 10, .28);
  --gutter: 16px;
  --barra-movil: 68px;
  color-scheme: light;
}
@media (min-width: 768px) { :root { --gutter: 40px; } }
@media (min-width: 1100px) { :root { --gutter: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--arena); color: var(--cafe);
  font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--barra-movil) + env(safe-area-inset-bottom, 0px));
  overflow-x: hidden;
}
@media (min-width: 768px) { body { padding-bottom: 0; } }
body.agenda-open, body.menu-open { overflow: hidden; }
@media (max-width: 767px) { body.chat-open { overflow: hidden; } }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--vino); }
a:hover { color: var(--vino-2); }
h1, h2, h3 { margin: 0; line-height: 1.25; font-weight: 700; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--amarillo); outline-offset: 2px; box-shadow: 0 0 0 5px var(--cafe); border-radius: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--cafe); color: var(--arena); padding: 10px 16px; border-radius: var(--r); }
.skip:focus { top: 8px; }
.ico { width: 20px; height: 20px; flex: none; }
.muted { color: var(--cafe-2); font-size: 14px; }
.wine { color: var(--vino); }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 920px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--r);
  font-weight: 700; font-size: 15px; text-decoration: none; text-align: center;
  border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, transform .15s, box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 54px; padding: 14px 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--vino); color: var(--arena); }
.btn--primary:hover { background: var(--vino-2); color: var(--arena); box-shadow: 0 6px 18px rgba(98, 16, 28, .3); }
.btn--ghost { background: transparent; color: var(--vino); border-color: var(--vino); }
.btn--ghost:hover { background: var(--vino); color: var(--arena); }
.btn--gold { background: var(--amarillo); color: var(--cafe); }
.btn--gold:hover { background: #ffe94a; color: var(--cafe); box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.link-btn, .inline-link { background: none; border: 0; padding: 0; cursor: pointer; color: var(--vino); font-weight: 700; text-decoration: none; }
.inline-link { text-decoration: underline; font-weight: inherit; }
.link-btn:hover { text-decoration: underline; }
.eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--bronce); }
.eyebrow--gold { color: var(--amarillo); }

/* ---------- Barra superior ---------- */
.topbar { background: var(--cafe); color: var(--arena); font-size: 13px; }
.topbar__in { display: flex; flex-wrap: wrap; gap: 4px 24px; justify-content: space-between; padding-block: 9px; }
.topbar__in span { display: none; }
.topbar__wa { color: var(--amarillo); text-decoration: none; font-weight: 700; margin-inline: auto; }
.topbar__wa:hover { color: var(--amarillo); text-decoration: underline; }
@media (min-width: 900px) { .topbar__in span { display: inline; } .topbar__wa { margin-inline: 0; } }

/* ---------- Encabezado / menú ---------- */
.header { position: sticky; top: 0; z-index: 40; background: var(--arena); border-bottom: 1px solid var(--linea); transition: box-shadow .2s; }
.header.is-scrolled { box-shadow: 0 6px 20px rgba(44, 18, 10, .08); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 10px; }
.brand img { width: 112px; }
@media (min-width: 1100px) { .brand img { width: 140px; } }

.menu-btn { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 48px; height: 48px; padding: 12px; background: none; border: 1px solid var(--linea); border-radius: var(--r); cursor: pointer; }
.menu-btn span { display: block; height: 2px; background: var(--cafe); border-radius: 2px; transition: transform .25s, opacity .2s; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav {
  position: fixed; inset: 0; z-index: -1; overflow-y: auto;
  display: flex; flex-direction: column; gap: 4px;
  padding: 110px var(--gutter) 32px; background: var(--arena);
  transform: translateY(-100%); transition: transform .3s ease; visibility: hidden;
}
.nav a { color: var(--cafe); text-decoration: none; font-weight: 700; font-size: 20px; padding: 14px 4px; border-bottom: 1px solid var(--linea); }
.nav__cta { margin-top: 20px; min-height: 56px; font-size: 17px; }
.menu-open .nav { transform: none; visibility: visible; }

@media (min-width: 1024px) {
  .menu-btn { display: none; }
  .nav { position: static; z-index: auto; transform: none; visibility: visible; flex-direction: row; align-items: center; gap: 22px; padding: 0; background: none; }
  .nav a { font-size: 14px; padding: 6px 0; border: 0; position: relative; }
  .nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--vino); transform: scaleX(0); transition: transform .2s; }
  .nav a:hover::after { transform: scaleX(1); }
  .nav__cta { margin: 0; min-height: 46px; font-size: 14px; }
}

/* ---------- Hero ---------- */
.hero__in { display: grid; gap: 32px; padding-block: 40px 48px; }
.hero__copy { display: flex; flex-direction: column; gap: 18px; }
.hero h1 { font-size: clamp(30px, 7.4vw, 46px); line-height: 1.17; letter-spacing: -.01em; }
.lead { font-size: clamp(16px, 2.2vw, 18px); line-height: 1.65; color: var(--cafe-2); max-width: 580px; }
.hero__ctas { display: flex; flex-direction: column; gap: 12px; padding-top: 4px; }
.hero__note { font-size: 14px; color: var(--cafe-2); }
.hero__card { background: var(--cafe); color: var(--arena); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 18px; box-shadow: var(--sombra); }
.hero__item { border-top: 1px solid var(--cafe-2); padding-top: 16px; display: flex; flex-direction: column; }
.hero__item strong { font-size: 20px; }
.hero__item span { font-size: 14px; color: var(--arena-2); }
@media (min-width: 560px) { .hero__ctas { flex-direction: row; flex-wrap: wrap; } }
@media (min-width: 900px) {
  .hero__in { grid-template-columns: 1.4fr 1fr; align-items: center; gap: 56px; padding-block: 80px; }
  .hero__card { padding: 40px; }
}

/* ---------- Franja de confianza ---------- */
.trust { background: var(--arena-2); }
.trust__in { list-style: none; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; padding-block: 22px; font-size: 13.5px; font-weight: 700; }
.trust li { display: flex; align-items: center; gap: 10px; }
.trust .ico { color: var(--vino); }
@media (min-width: 1000px) { .trust__in { grid-template-columns: repeat(4, auto); justify-content: space-between; font-size: 14px; } }

/* ---------- Secciones ---------- */
.section { padding-block: 56px; }
.section--white { background: var(--blanco); border-block: 1px solid var(--linea); }
.section--sand { background: var(--arena-2); }
.section__head { max-width: 720px; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.section h2, .band h2 { font-size: clamp(26px, 5vw, 34px); }
.section__head p { color: var(--cafe-2); }
.section__foot { margin-top: 28px; font-size: 15px; color: var(--cafe-2); }
@media (min-width: 900px) { .section { padding-block: 88px; } .section__head { margin-bottom: 40px; } }

.feature { background: var(--cafe); color: var(--arena); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 20px; margin-bottom: 20px; }
.feature__copy { display: flex; flex-direction: column; gap: 10px; }
.feature h3 { font-size: 26px; }
.feature p { color: var(--arena-2); line-height: 1.65; }
@media (min-width: 900px) { .feature { flex-direction: row; align-items: center; justify-content: space-between; gap: 48px; padding: 40px; } .feature__copy { max-width: 760px; } .feature .btn { flex: none; } }

.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid--3 { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.card { background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.card h3 { font-size: 19px; }
.card p { font-size: 14.5px; color: var(--cafe-2); }
.card ul { margin: 0; padding-left: 18px; font-size: 14.5px; color: var(--cafe-2); display: flex; flex-direction: column; gap: 4px; }
.card--area { border-top: 4px solid var(--vino); transition: transform .2s, box-shadow .2s; }
.card--area:hover { transform: translateY(-3px); box-shadow: var(--sombra); }
.card--area .link-btn { margin-top: auto; padding-top: 8px; font-size: 14px; min-height: 44px; text-align: left; }
.card--sand { background: var(--arena); padding: 28px; }
.card--sand h3 { font-size: 22px; }
.checks { list-style: none; padding: 0 !important; color: var(--cafe) !important; }
.checks li { position: relative; padding-left: 26px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 2.5px solid var(--vino); border-bottom: 2.5px solid var(--vino); transform: rotate(-45deg); }

/* ---------- Iguala ---------- */
.band { background: var(--vino); color: var(--arena); }
.band__in { display: flex; flex-direction: column; gap: 24px; padding-block: 56px; }
.band__in > div { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.band p { color: var(--arena-2); line-height: 1.65; }
.band .btn { align-self: flex-start; }
@media (min-width: 900px) { .band__in { flex-direction: row; align-items: center; justify-content: space-between; padding-block: 72px; } .band .btn { align-self: center; flex: none; } }

/* ---------- Proceso ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.steps li { border-top: 2px solid var(--bronce-2); padding-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.steps__n { font-size: 32px; font-weight: 700; color: var(--bronce); line-height: 1; }
.steps h3 { font-size: 18px; }
.steps p { font-size: 14.5px; color: var(--cafe-2); }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--linea); }
.faq details { border-bottom: 1px solid var(--linea); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-size: 17px; font-weight: 700; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--arena); color: var(--vino); font-size: 22px; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; font-size: 15px; line-height: 1.7; color: var(--cafe-2); max-width: 760px; }

/* ---------- Contacto ---------- */
.contact { display: grid; gap: 32px; }
.contact__info { display: flex; flex-direction: column; gap: 14px; }
.contact__info > p { color: var(--cafe-2); margin-bottom: 6px; }
.contact__data { margin: 12px 0 0; display: grid; gap: 4px; font-size: 15px; }
.contact__data dt { font-weight: 700; margin-top: 8px; }
.contact__data dd { margin: 0; color: var(--cafe-2); }
.map-link { font-weight: 700; font-size: 15px; }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; } }

.form { padding: 24px; gap: 16px; }
.form h3 { font-size: 20px; }
.form__row { display: grid; gap: 16px; }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } .form { padding: 32px; } }
label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; color: var(--cafe); }
input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--borde-campo); border-radius: var(--r);
  font: 400 16px var(--font); color: var(--cafe); background: var(--blanco);
}
textarea { resize: vertical; min-height: 96px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--vino); box-shadow: 0 0 0 3px rgba(98, 16, 28, .18); }
.check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; color: var(--cafe-2); }
.check input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--vino); }
.form__error { background: #fbe9e9; color: #8f1d1d; border: 1px solid #e7b9b9; border-radius: var(--r); padding: 10px 12px; font-size: 14px; font-weight: 700; }
.form__note { font-size: 13px; color: var(--cafe-2); }

/* ---------- Pie ---------- */
.footer { background: var(--cafe); color: var(--arena); }
.footer__in { display: grid; gap: 28px; padding-block: 48px 28px; font-size: 14px; }
.footer__in img { width: 140px; }
.footer__in > div { display: flex; flex-direction: column; gap: 6px; color: var(--arena-2); }
.footer__in strong { color: var(--arena); }
.footer a { color: var(--amarillo); text-decoration: none; }
.footer a:hover { text-decoration: underline; color: var(--amarillo); }
.footer__legal { border-top: 1px solid var(--cafe-2); padding-block: 20px; font-size: 13px; color: var(--arena-2); }
@media (min-width: 700px) { .footer__in { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer__in { grid-template-columns: 1.2fr 1fr 1.2fr .8fr; padding-block: 56px 32px; } }

/* =========================================================
   WIDGETS FLOTANTES
   ========================================================= */
/* Móvil: barra inferior de 3 accesos */
.fab {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
  background: rgba(248, 242, 232, .97); backdrop-filter: blur(10px);
  border-top: 1px solid var(--linea); box-shadow: 0 -6px 20px rgba(44, 18, 10, .08);
}
.fab__btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: var(--r);
  border: 0; cursor: pointer; font-weight: 700; font-size: 14px; text-decoration: none;
}
.fab__btn--agenda { background: var(--vino); color: var(--arena); }
.fab__btn--chat { background: var(--cafe); color: var(--arena); }
.fab__btn--wa { background: var(--wa); color: #fff; }
.fab__btn--wa:hover { color: #fff; }
.chat-open .fab, .agenda-open .fab, .menu-open .fab { display: none; }

/* Escritorio: botones flotantes apilados */
@media (min-width: 768px) {
  .fab { left: auto; right: 24px; bottom: 24px; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; padding: 0; background: none; border: 0; box-shadow: none; backdrop-filter: none; }
  .chat-open .fab { display: flex; }
  .chat-open .fab__btn--chat { display: none; }
  .fab__btn { height: 58px; min-height: 0; border-radius: 999px; box-shadow: var(--sombra-2); transition: transform .2s, box-shadow .2s; }
  .fab__btn:hover { transform: translateY(-2px) scale(1.03); }
  .fab__btn--wa, .fab__btn--chat { width: 58px; padding: 0; }
  .fab__btn--wa span, .fab__btn--chat span { position: absolute; right: 70px; white-space: nowrap; background: var(--cafe); color: var(--arena); font-size: 13px; padding: 7px 12px; border-radius: var(--r); opacity: 0; transform: translateX(6px); transition: opacity .2s, transform .2s; pointer-events: none; }
  .fab__btn--wa:hover span, .fab__btn--chat:hover span, .fab__btn:focus-visible span { opacity: 1; transform: none; }
  .fab__btn--wa .ico { width: 30px; height: 30px; }
  .fab__btn--chat .ico { width: 26px; height: 26px; }
  .fab__btn--agenda { padding: 0 22px; background: var(--amarillo); color: var(--cafe); }
  .fab__btn--wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(31, 168, 85, .55); animation: pulso 2.4s infinite; }
  .fab__btn { position: relative; }
}
@keyframes pulso { 0% { box-shadow: 0 0 0 0 rgba(31, 168, 85, .5); } 70% { box-shadow: 0 0 0 16px rgba(31, 168, 85, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 168, 85, 0); } }

.icon-btn { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 0; background: transparent; color: inherit; cursor: pointer; }
.icon-btn:hover { background: rgba(0, 0, 0, .08); }

/* ---------- Asistente (chatbot) ---------- */
.chat {
  position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column;
  background: var(--arena); animation: subir .25s ease;
}
.chat[hidden] { display: none; }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 12px 10px 12px 16px; padding-top: calc(12px + env(safe-area-inset-top, 0px)); background: var(--cafe); color: var(--arena); }
.chat__head > div:nth-child(2) { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.chat__head span { font-size: 12.5px; color: var(--arena-2); }
.chat__head span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #4cd07d; margin-right: 6px; }
.chat__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--amarillo); color: var(--cafe); display: grid; place-items: center; font-weight: 700; font-size: 18px; }
.chat__head .icon-btn:hover { background: rgba(255, 255, 255, .12); }
.chat__log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.msg { max-width: 86%; padding: 11px 14px; border-radius: 14px; font-size: 15px; line-height: 1.5; animation: aparecer .2s ease; }
.msg--bot { background: var(--blanco); border: 1px solid var(--linea); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg--user { background: var(--vino); color: var(--arena); border-bottom-right-radius: 4px; align-self: flex-end; }
.msg__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.msg__btn { display: inline-flex; align-items: center; min-height: 38px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--vino); background: var(--vino); color: var(--arena); font-size: 13.5px; font-weight: 700; text-decoration: none; cursor: pointer; }
.msg__btn--wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.msg__btn:hover { filter: brightness(1.08); color: #fff; }
.typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--bronce-2); animation: tecleo 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
.chat__chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 16px 10px; scrollbar-width: none; }
.chat__chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 38px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--vino); background: var(--blanco); color: var(--vino); font-size: 13.5px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.chip:hover { background: var(--vino); color: var(--arena); }
.chat__form { display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--linea); background: var(--blanco); }
.chat__form input { flex: 1; min-height: 46px; border-radius: 999px; padding: 0 16px; }
.icon-btn--send { background: var(--vino); color: var(--arena); width: 46px; height: 46px; }
.icon-btn--send:hover { background: var(--vino-2); }
@media (min-width: 768px) {
  .chat { inset: auto 24px 96px auto; width: 390px; height: min(600px, calc(100vh - 120px)); border-radius: 14px; overflow: hidden; box-shadow: var(--sombra-2); border: 1px solid var(--linea); }
  .chat-open .fab__btn--agenda { display: none; }
  .chat__head { padding-top: 12px; }
}

/* ---------- Agenda (modal) ---------- */
.modal { position: fixed; inset: 0; z-index: 70; display: flex; align-items: flex-end; justify-content: center; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(44, 18, 10, .55); animation: fundido .2s ease; }
.modal__box {
  position: relative; width: 100%; max-height: 94vh; max-height: 94dvh; overflow-y: auto; overscroll-behavior: contain;
  background: var(--arena); border-radius: 16px 16px 0 0; padding: 20px 18px calc(20px + env(safe-area-inset-bottom, 0px));
  box-shadow: var(--sombra-2); animation: subir .28s ease;
}
@media (min-width: 640px) {
  .modal { align-items: center; padding: 24px; }
  .modal__box { max-width: 600px; border-radius: 14px; padding: 28px 32px; }
}
.modal__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.modal__head h2 { font-size: 24px; }
.stepper { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; counter-reset: paso; }
.stepper li { counter-increment: paso; font-size: 12.5px; font-weight: 700; color: var(--cafe-2); padding-top: 10px; border-top: 4px solid var(--linea); }
.stepper li::before { content: counter(paso) ". "; }
.stepper li.is-on { border-color: var(--vino); color: var(--vino); }
.pane { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.pane[hidden] { display: none; }
.pane__label { font-size: 14px; font-weight: 700; margin-top: 8px; }
.pane__label small { font-weight: 400; color: var(--cafe-2); }
.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; }
.opt { min-height: 52px; padding: 10px; border-radius: var(--r); border: 1.5px solid var(--linea); background: var(--blanco); font-weight: 700; font-size: 15px; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.2; }
.opt small { font-weight: 400; font-size: 12.5px; color: var(--cafe-2); margin-top: 2px; }
.opt:hover { border-color: var(--vino); }
.opt.is-on { border-color: var(--vino); background: var(--vino); color: var(--arena); }
.opt.is-on small { color: var(--arena-2); }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; }
.day { flex: none; width: 64px; min-height: 76px; border-radius: var(--r); border: 1.5px solid var(--linea); background: var(--blanco); display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; scroll-snap-align: start; line-height: 1.2; }
.day small { font-size: 12px; color: var(--cafe-2); text-transform: capitalize; }
.day strong { font-size: 22px; }
.day:hover:not(:disabled) { border-color: var(--vino); }
.day.is-on { background: var(--vino); border-color: var(--vino); color: var(--arena); }
.day.is-on small { color: var(--arena-2); }
.day:disabled { opacity: .4; cursor: not-allowed; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.slots .muted { grid-column: 1 / -1; }
.modal__box { overflow-x: hidden; }
.slot { min-height: 46px; border-radius: var(--r); border: 1.5px solid var(--linea); background: var(--blanco); font-weight: 700; cursor: pointer; }
.slot:hover { border-color: var(--vino); }
.slot.is-on { background: var(--vino); border-color: var(--vino); color: var(--arena); }
.summary { background: var(--blanco); border: 1px solid var(--linea); border-left: 0; border-radius: var(--r); padding: 14px 16px; font-size: 14.5px; line-height: 1.6; position: relative; }
.summary .link-btn { position: absolute; right: 14px; top: 12px; font-size: 13.5px; }
.modal .form__error { margin-top: 14px; }
.modal__foot { display: flex; gap: 10px; margin-top: 20px; }
.modal__foot .btn { flex: 1; }
.modal__note { margin-top: 12px; font-size: 12.5px; color: var(--cafe-2); text-align: center; }
.done { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 16px 0 8px; }
.done[hidden] { display: none; }
.done__ico { width: 72px; height: 72px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; }
.done__ico .ico { width: 38px; height: 38px; }
.done h2 { font-size: 22px; }
.done p { color: var(--cafe-2); max-width: 420px; }

/* ---------- Animaciones ---------- */
@keyframes subir { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fundido { from { opacity: 0; } }
@keyframes aparecer { from { opacity: 0; transform: translateY(6px); } }
@keyframes tecleo { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
