/* ==========================================================================
   DABB · Distribuidora — estilos
   Regla de movimiento: transform y opacity (+ grid-template-rows y color en elementos chicos).
   ========================================================================== */

/* 1) TOKENS */
:root {
  --bg: #f7f6f1;
  --bg-alt: #ecebe3;
  --surface: #ffffff;
  --ink: #0d1b2e;
  --muted: #5b6676;
  --line: rgba(13, 27, 46, .13);
  --brand: #14305a;          /* azul del logo */
  --brand-2: #1d4a8f;
  --accent: #ffb703;         /* ámbar: solo para destacar */
  --wa: #128c4a;             /* WhatsApp (contraste AA con texto blanco) */
  --wa-dark: #0d6e39;
  --danger: #c0392b;
  --ok: #128c4a;
  --dark: #0e2240;
  --dark-ink: #f3f5f9;
  --dark-muted: #aebad0;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Bricolage Grotesque", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-body: 1.0625rem;
  --fs-h1: clamp(2.35rem, 1.1rem + 4.3vw, 4.2rem);
  --fs-h2: clamp(1.9rem, 1.15rem + 2.7vw, 3.2rem);
  --fs-h3: clamp(1.15rem, 1.05rem + .5vw, 1.4rem);

  --radius: 20px;
  --radius-sm: 14px;
  --radius-pill: 999px;
  --shadow-lg: 0 24px 48px -18px rgba(13, 27, 46, .32);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --t-fast: 180ms;
  --t-base: 420ms;
  --t-slow: 700ms;

  --gutter: clamp(20px, 5vw, 40px);
  --header-h: 72px;
  --section-y: clamp(64px, 9vw, 120px);
}

/* 2) RESET */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html.nav-open { overflow: hidden; }
body { margin: 0; font: 400 var(--fs-body)/1.6 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dl, dd { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ico { width: 1.25em; height: 1.25em; flex: none; }

/* 3) LAYOUT */
.container { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--dark); color: var(--dark-ink); --line: rgba(255, 255, 255, .16); --muted: var(--dark-muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-2); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--accent); }
.section--dark .eyebrow { color: #cfdcf5; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -.028em; line-height: 1.04; text-wrap: balance; }
h1 { font-size: var(--fs-h1); font-weight: 800; }
h2 { font-size: var(--fs-h2); font-weight: 800; }
h3 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.2; letter-spacing: -.015em; }
.lead { font-size: clamp(1.075rem, 1rem + .4vw, 1.3rem); color: var(--muted); max-width: 54ch; text-wrap: pretty; }
.section__head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section__head .lead { margin-top: 18px; }

/* 4) COMPONENTES */

/* Botones */
.btn {
  --_bg: transparent; --_fg: var(--ink); --_bd: var(--line);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px;
  border-radius: var(--radius-pill); border: 1.5px solid var(--_bd); background: var(--_bg); color: var(--_fg);
  font-weight: 700; font-size: 1rem; white-space: nowrap; -webkit-tap-highlight-color: transparent;
  transition: transform var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.btn .ico { width: 20px; height: 20px; }
.btn .ico-arrow { transition: transform var(--t-base) var(--ease); }
.btn:active { transform: scale(.97); }
.btn--wa { --_bg: var(--wa); --_fg: #fff; --_bd: var(--wa); }
.btn--brand { --_bg: var(--brand); --_fg: #fff; --_bd: var(--brand); }
.btn--light { --_bg: #fff; --_fg: var(--brand); --_bd: #fff; }
.btn--ghost-light { --_fg: #fff; --_bd: rgba(255, 255, 255, .35); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: .9375rem; }
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .btn:active { transform: scale(.97); }
  .btn:hover .ico-arrow { transform: translateX(3px); }
  .btn--wa:hover { --_bg: var(--wa-dark); --_bd: var(--wa-dark); }
  .btn--brand:hover { --_bg: var(--brand-2); --_bd: var(--brand-2); }
  .btn--light:hover { --_bg: var(--accent); --_bd: var(--accent); --_fg: var(--ink); }
  .btn--ghost-light:hover { --_bd: #fff; }
  .btn:not(.btn--wa):not(.btn--brand):not(.btn--light):not(.btn--ghost-light):hover { --_bd: var(--ink); }
}

/* Cabecera */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h); }
.site-header::before {
  content: ""; position: absolute; inset: 0; background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line);
  opacity: 0; transition: opacity var(--t-base) var(--ease);
}
.site-header.is-scrolled::before, html.nav-open .site-header::before { opacity: 1; }
.site-header__row { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--brand); font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: .03em; }
.logo svg { width: 32px; height: 28px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { display: flex; gap: 2px; }
.nav li a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; font-size: .9375rem; font-weight: 600; color: var(--muted); transition: color var(--t-fast) var(--ease); }
.nav li a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 8px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: center; transition: transform var(--t-base) var(--ease); }
.nav li a[aria-current="true"] { color: var(--ink); }
.nav li a[aria-current="true"]::after { transform: scaleX(1); }
@media (hover: hover) { .nav li a:hover { color: var(--ink); } .nav li a:hover::after { transform: scaleX(1); } }
.nav-toggle { display: none; position: relative; z-index: 2; width: 48px; height: 48px; margin-right: -10px; border-radius: 50%; }
.nav-toggle span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform var(--t-base) var(--ease); }
.nav-toggle span:nth-child(1) { top: 20px; }
.nav-toggle span:nth-child(2) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* Hero */
.hero { position: relative; isolation: isolate; padding-top: calc(var(--header-h) + clamp(32px, 6vw, 80px)); padding-bottom: clamp(48px, 7vw, 96px); overflow: clip; }
.hero::before {   /* chevrones del logo como textura, fija y sutil */
  content: ""; position: absolute; z-index: -1; right: -6%; top: 0; width: 62%; height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%2314305a' stroke-width='14' stroke-opacity='.07'%3E%3Cpath d='M10 20l40 40-40 40'/%3E%3Cpath d='M55 20l40 40-40 40'/%3E%3C/g%3E%3C/svg%3E") no-repeat right center / auto 92%;
  -webkit-mask-image: linear-gradient(to left, #000 35%, transparent 100%); mask-image: linear-gradient(to left, #000 35%, transparent 100%);
}
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 68%, color-mix(in srgb, var(--accent) 75%, transparent) 68%); }
.hero .lead { margin-bottom: 34px; }
.ask { font-weight: 700; margin-bottom: 12px; font-size: 1rem; }

/* Opciones (comercio / personal) */
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }
.opt {
  position: relative; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 14px; text-align: left; min-height: 88px; padding: 16px 18px;
  background: var(--surface); border-radius: var(--radius-sm); border: 1.5px solid var(--line); -webkit-tap-highlight-color: transparent;
  transition: transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.opt::after {      /* aro de selección: solo opacity + transform */
  content: ""; position: absolute; inset: -1.5px; border-radius: inherit; border: 2px solid var(--brand); opacity: 0; transform: scale(.985);
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease); pointer-events: none;
}
.opt__ico { grid-row: span 2; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; background: color-mix(in srgb, var(--brand) 9%, white); color: var(--brand); transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.opt__ico svg { width: 24px; height: 24px; }
.opt strong { font-weight: 700; line-height: 1.2; align-self: end; }
.opt small { color: var(--muted); font-size: .875rem; line-height: 1.3; align-self: start; }
.opt__check { position: absolute; top: 10px; right: 10px; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; opacity: 0; transform: scale(.5); transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease); }
.opt__check svg { width: 14px; height: 14px; }
.opt[aria-pressed="true"]::after, .opt[aria-pressed="true"] .opt__check { opacity: 1; transform: none; }
.opt[aria-pressed="true"] .opt__ico { background: var(--brand); color: #fff; }
@media (hover: hover) { .opt:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--brand) 50%, transparent); } }
.opt:active { transform: scale(.98); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Tarjeta de chat (vista previa del mensaje) */
.chat-wrap { position: relative; padding: 0 0 0 clamp(0px, 3vw, 32px); }
.chat { background: #efeae2; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.chat__bar { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: #0b6b45; color: #fff; }
.chat__avatar { width: 40px; height: 40px; flex: none; display: grid; place-items: center; background: #fff; color: var(--brand); border-radius: 50%; }
.chat__avatar svg { width: 24px; height: 20px; }
.chat__bar strong { display: block; font-size: .9375rem; line-height: 1.2; }
.chat__bar small { opacity: .8; font-size: .8125rem; }
.chat__body { display: flex; flex-direction: column; align-items: flex-end; justify-content: flex-start; gap: 10px; min-height: 190px; padding: 22px 18px 24px; }
.bubble { position: relative; max-width: 88%; padding: 11px 14px 12px; background: #d9fdd3; color: #111b21; border-radius: 14px 14px 4px 14px; font-size: .9875rem; line-height: 1.45; box-shadow: 0 1px 1px rgba(0, 0, 0, .1); }
.bubble--in { align-self: flex-start; background: #fff; border-radius: 14px 14px 14px 4px; color: #3b4a54; }
.chat__foot { padding: 12px 18px 16px; background: #f7f5f0; font-size: .875rem; color: var(--muted); border-top: 1px solid var(--line); }
.chips { position: absolute; inset: 0; pointer-events: none; }
.chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-pill); font-weight: 700; font-size: .875rem; box-shadow: 0 12px 24px -12px rgba(13, 27, 46, .35); }
.chip svg { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--accent); color: var(--ink); }
.chip:nth-child(1) { top: -26px; left: 4px; }
.chip:nth-child(2) { top: 44%; left: -20px; }
.chip:nth-child(3) { bottom: -18px; right: 8%; }

/* Franja de datos */
.strip { border-block: 1px solid var(--line); background: var(--surface); }
.strip__row { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 12px 32px; padding-block: 20px; }
.strip__item { display: flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 600; font-size: .9375rem; }
.strip__item svg { width: 22px; height: 22px; color: var(--brand-2); }
.strip__item small { display: block; font-weight: 400; color: var(--muted); font-size: .8125rem; line-height: 1.2; }
a.strip__item { transition: color var(--t-fast) var(--ease); }
@media (hover: hover) { a.strip__item:hover { color: var(--brand-2); } }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); flex: none; }
.is-open .dot { background: #1fa95b; box-shadow: 0 0 0 4px rgba(31, 169, 91, .18); }
.is-closed .dot { background: var(--danger); box-shadow: 0 0 0 4px rgba(192, 57, 43, .15); }

/* Rubros */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 32px; min-height: 290px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: transform var(--t-base) var(--ease); }
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity var(--t-base) var(--ease); }
.card__icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: var(--brand); color: #fff; }
.card__icon svg { width: 28px; height: 28px; }
.card p { color: var(--muted); }
.card__link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; color: var(--brand); }
.card__link svg { width: 18px; height: 18px; transition: transform var(--t-base) var(--ease); }
@media (hover: hover) { .card:hover { transform: translateY(-6px); } .card:hover::after { opacity: 1; } .card:hover .card__link svg { transform: translateX(4px); } }

/* Pasos */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); counter-reset: step; }
.step { counter-increment: step; padding-top: 26px; border-top: 1px solid var(--line); }
.step::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: 18px; font-family: var(--font-display); font-weight: 800; font-size: 2.25rem; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.step p { margin-top: 10px; color: var(--muted); }

/* Catálogo próximamente */
.catalog { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 64px); align-items: center; padding: clamp(28px, 5vw, 64px); border-radius: calc(var(--radius) + 8px); background: var(--brand); color: #fff; overflow: hidden; isolation: isolate; }
.catalog::before { content: ""; position: absolute; z-index: -1; right: -40px; top: -20px; width: 420px; height: 130%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='14' stroke-opacity='.08'%3E%3Cpath d='M10 20l40 40-40 40'/%3E%3Cpath d='M55 20l40 40-40 40'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: var(--radius-pill); background: var(--accent); color: var(--ink); font-weight: 800; font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
.catalog p { color: #cfdcf5; margin-top: 16px; max-width: 48ch; }
.catalog__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ghosts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ghost { aspect-ratio: 3 / 4; border-radius: 16px; background: rgba(255, 255, 255, .09); border: 1px dashed rgba(255, 255, 255, .28); display: grid; place-items: center; color: rgba(255, 255, 255, .7); }
.ghost svg { width: 34px; height: 34px; }
.ghost:nth-child(2) { transform: translateY(18px); }

/* Ubicación y horarios */
.where { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 88px); align-items: center; }
.status { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px; margin-bottom: 22px; border-radius: var(--radius-pill); background: var(--surface); border: 1px solid var(--line); font-weight: 700; font-size: .9375rem; }
.where address { font-style: normal; font-size: 1.25rem; font-weight: 600; margin: 18px 0 28px; display: flex; gap: 12px; align-items: flex-start; }
.where address svg { width: 26px; height: 26px; color: var(--brand-2); margin-top: 2px; }
.where__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hours { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.hours li { position: relative; display: flex; justify-content: space-between; gap: 16px; padding: 20px 26px; font-weight: 600; }
.hours li + li { border-top: 1px solid var(--line); }
.hours li span:last-child { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 500; }
.hours li.is-today { background: color-mix(in srgb, var(--accent) 18%, white); }
.hours li.is-today::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--accent); }
.hours li.is-today span:last-child { color: var(--ink); font-weight: 700; }
.hours li.is-today span:first-child::after { content: "Hoy"; margin-left: 10px; padding: 2px 9px; border-radius: var(--radius-pill); background: var(--ink); color: #fff; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; vertical-align: 2px; }

/* FAQ */
.faq { max-width: 820px; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; padding-block: 16px; text-align: left; font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
.faq__icon { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line); transition: transform var(--t-base) var(--ease), background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; margin: -1px 0 0 -5.5px; background: currentColor; }
.faq__icon::after { transform: rotate(90deg); }
.faq__item.is-open .faq__icon { transform: rotate(45deg); background: var(--brand); border-color: var(--brand); color: #fff; }
@media (hover: hover) { .faq__q:hover .faq__icon { border-color: var(--ink); } .faq__item.is-open .faq__q:hover .faq__icon { border-color: var(--brand); } }
.faq__a { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows var(--t-base) var(--ease), visibility 0s linear var(--t-base); }
.faq__a > div { overflow: hidden; min-height: 0; }
.faq__a p { padding: 0 48px 24px 0; color: var(--muted); max-width: 64ch; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }

/* Contacto */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 88px); align-items: start; }
.who { display: grid; gap: 14px; margin-top: 32px; }
.who__card { display: grid; gap: 14px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .05); transition: transform var(--t-base) var(--ease), border-color var(--t-fast) var(--ease); }
.who__card header { display: flex; align-items: center; gap: 14px; }
.who__card header span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--accent); color: var(--ink); flex: none; }
.who__card header svg { width: 24px; height: 24px; }
.who__card p { color: var(--dark-muted); font-size: .9875rem; }
.who__card .btn { width: 100%; }
@media (hover: hover) { .who__card:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, .4); } }
.contact__direct { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 24px; color: var(--dark-muted); }
.contact__direct a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--dark-ink); font-weight: 600; transition: color var(--t-fast) var(--ease); }
.contact__direct svg { width: 20px; height: 20px; color: var(--accent); }
@media (hover: hover) { .contact__direct a:hover { color: var(--accent); } }

.form { display: grid; gap: 18px; padding: clamp(24px, 4vw, 40px); border-radius: calc(var(--radius) + 6px); background: var(--bg); color: var(--ink); --line: rgba(13, 27, 46, .16); --muted: #5b6676; }
.form h3 { font-size: 1.5rem; }
.seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: var(--radius-pill); background: var(--bg-alt); isolation: isolate; }
.seg__thumb { position: absolute; z-index: -1; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: var(--radius-pill); background: var(--brand); opacity: 0; transform: translateX(0); transition: transform var(--t-base) var(--ease), opacity var(--t-fast) var(--ease); }
.seg[data-value] .seg__thumb { opacity: 1; }
.seg[data-value="minorista"] .seg__thumb { transform: translateX(100%); }
.seg button { min-height: 46px; padding: 0 10px; font-weight: 700; font-size: .9375rem; border-radius: var(--radius-pill); color: var(--muted); transition: color var(--t-base) var(--ease); }
.seg button[aria-pressed="true"] { color: #fff; }
.field { display: grid; gap: 8px; }
.field label { font-size: .9375rem; font-weight: 700; }
.field input, .field textarea { width: 100%; min-height: 52px; padding: 14px 16px; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-sm); transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-2) 18%, transparent); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field__err { min-height: 1.2em; font-size: .875rem; color: var(--danger); }
.form__status { min-height: 1.4em; font-size: .9375rem; color: var(--ok); font-weight: 600; }

/* Botón flotante */
.fab { position: fixed; z-index: 40; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: 10px; min-height: 58px; padding: 0 24px 0 18px; border-radius: var(--radius-pill); background: var(--wa); color: #fff; font-weight: 700; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .5); opacity: 0; transform: translateY(16px) scale(.96); pointer-events: none; transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease), background-color var(--t-fast) var(--ease); }
.fab svg { width: 26px; height: 26px; }
.fab.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.fab::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: inherit; z-index: -1; opacity: 0; }
.fab.is-visible::before { animation: pulse 1.8s var(--ease) .5s 3; }
@keyframes pulse { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(1.35, 1.5); opacity: 0; } }
@media (hover: hover) { .fab.is-visible:hover { transform: translateY(-3px); background: var(--wa-dark); } }
.fab:active { transform: scale(.96); }

/* Pie */
.footer { padding-block: 40px; background: var(--dark); color: var(--dark-muted); font-size: .9375rem; }
.footer .logo { color: #fff; }
.footer__row { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.footer a { display: inline-flex; align-items: center; min-height: 44px; transition: color var(--t-fast) var(--ease); }
@media (hover: hover) { .footer a:hover { color: #fff; } }
.footer__links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer__legal { width: 100%; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .8125rem; }

/* 5) MOVIMIENTO */
.js [data-rise] { animation: rise var(--t-slow) var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms + 80ms); }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* 6) RESPONSIVE */
@media (max-width: 1024px) {
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .strip__row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 899px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 28px; padding: calc(var(--header-h) + 24px) var(--gutter) 32px; background: var(--bg); overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease), visibility 0s linear var(--t-base); }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li a { font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); min-height: 66px; padding: 0; border-bottom: 1px solid var(--line); width: 100%; }
  .nav li a::after { display: none; }
  .nav li a[aria-current="true"] { color: var(--brand-2); }
  .nav .btn { width: 100%; }
  .hero__grid, .where, .contact, .catalog { grid-template-columns: 1fr; }
  .hero::before { width: 100%; opacity: .7; }
  .chat-wrap { padding: 0; margin-top: 12px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .ghosts { max-width: 420px; }
}
@media (max-width: 640px) {
  .opts { grid-template-columns: 1fr; }
  .hero__cta .btn, .catalog__cta .btn, .where__cta .btn { flex: 1 1 100%; }
  .strip__row { grid-template-columns: 1fr; gap: 4px; }
  .fab span { display: none; }
  .fab { padding: 0; width: 58px; justify-content: center; }
  .faq__a p { padding-right: 0; }
  .chip:nth-child(2) { display: none; }
  .hours li { padding: 18px 20px; }
}

/* 7) MENOS MOVIMIENTO */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
