/* ¿Dónde está Sara? Bakery & Coffee — maqueta de demostración
   Paleta exacta de BRAND.md (12-jun-2026). Sistema visual: Destacados-IG/PALETA.md */

:root {
  --crema: #FAF1E4;
  --crema-claro: #FFF8EE;
  --tinta: #5F3A22;
  --galleta: #E9C28D;
  --madera: #B5814E;
  --choco: #6B4226;
  --rosa: #D89AAC;
  --rosa-claro: #F2C9D6;
  --rosa-prof: #C2748D;
  --mostaza: #DCA53F;
  --arena: #E8D9C4;
  --oliva: #7A8450; /* solo para el punto "abierto" del chip de horario */

  --fd: "Fraunces", Georgia, serif;
  --ft: "Karla", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--crema);
  color: var(--tinta);
  font-family: var(--ft);
  font-size: 1.0rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--rosa-claro); }

a:focus-visible,
button:focus-visible {
  outline: 2px dashed var(--rosa-prof);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: min(1080px, 100% - 2.5rem);
  margin-inline: auto;
}

/* ---------- Tipos ---------- */

h1, h2, h3 {
  font-family: var(--fd);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 0.5em;
}

h2 {
  font-size: clamp(1.85rem, 5vw, 2.6rem);
  position: relative;
  display: inline-block;
}

h3 { font-size: clamp(1.3rem, 3.4vw, 1.65rem); }

p { margin: 0 0 1em; }

.kicker {
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.lead {
  max-width: 34em;
  margin-bottom: 0;
}

.small {
  font-size: 0.85rem;
  color: var(--choco);
  margin-bottom: 0;
}

/* Subrayado irregular, hecho a mano */
.u { position: relative; white-space: nowrap; }
.u::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -3%;
  bottom: 0.02em;
  height: 0.16em;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 160 12" preserveAspectRatio="none"><path d="M3,8 Q40,3 78,7 T157,5" fill="none" stroke="%23D89AAC" stroke-width="5" stroke-linecap="round"/></svg>') no-repeat center / 100% 100%;
  z-index: -1;
}

/* Garabato bajo los H2 */
.squiggle {
  position: absolute;
  left: 0.06em;
  bottom: -0.42em;
  width: 3.2em;
  height: 0.32em;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 120 14" preserveAspectRatio="none"><path d="M3,9 Q30,3 60,8 T117,6" fill="none" stroke="%23D89AAC" stroke-width="4.5" stroke-linecap="round"/></svg>') no-repeat center / 100% 100%;
}

/* ---------- Botones y etiquetas ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--ft);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.6em 1.5em;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.btn svg { width: 18px; height: 18px; flex: none; }

.btn--cta {
  background: var(--rosa);
  color: var(--tinta);
}
.btn--cta:hover { background: var(--rosa-prof); color: var(--crema-claro); }

.btn--line {
  background: var(--crema-claro);
  color: var(--tinta);
  border: 1.5px solid var(--tinta);
}
.btn--line:hover { background: var(--galleta); }

.btn--ink {
  background: var(--tinta);
  color: var(--crema-claro);
}
.btn--ink:hover { background: var(--choco); color: var(--crema-claro); }

/* Botón primario grande: EL punto de conversión (Encargos) */
.btn--big {
  font-size: 1.02rem;
  padding: 0.85em 2em;
}
.btn--big svg { width: 21px; height: 21px; }

/* Botón secundario de producto: pill rosa claro, claramente pulsable */
.btn--wa-soft {
  background: var(--rosa-claro);
  color: var(--tinta);
}
.btn--wa-soft:hover { background: var(--rosa); }

/* Estado pressed, con tacto */
.btn { transition: background-color 0.15s ease, color 0.15s ease, translate 0.08s ease; }
.btn:active { translate: 0 2px; }

/* Los botones de WhatsApp de cada producto respiran respecto al texto */
.row__text .btn { margin-top: 1rem; }

/* ---------- Chip "abierto ahora" (lo pinta el JS; sin JS queda hidden) ---------- */

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background: var(--crema-claro);
  border: 1.5px solid var(--tinta);
  border-radius: 999px;
  padding: 0.32em 1em;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  margin: 0;
}
.chip[hidden] { display: none; }
.chip__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--rosa-prof);
  flex: none;
}
.chip--abierto .chip__dot { background: var(--oliva); }
.hours-card .chip { margin-bottom: 1rem; }

.tag {
  display: inline-block;
  font-weight: 700;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--rosa-claro);
  color: var(--tinta);
  border-radius: 999px;
  padding: 0.45em 1.1em;
  margin-bottom: 0.9rem;
}

.tilt-l { rotate: -1.5deg; }
.tilt-r { rotate: 1.6deg; }

/* ---------- Micro-interacciones (solo con puntero y sin reduced-motion) ---------- */

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .ph { transition: rotate 0.25s ease, translate 0.25s ease; }
  .ph:hover { translate: 0 -3px; }
  .ph.tilt-l:hover { rotate: -0.5deg; }
  .ph.tilt-r:hover { rotate: 0.6deg; }
  .stack .ph--over { transition: rotate 0.25s ease, translate 0.25s ease; }
  .stack .ph--over:hover { rotate: 1.2deg; translate: 0 -3px; }
}

@media (prefers-reduced-motion: no-preference) {
  .ph .x { display: inline-block; animation: latido 3.4s ease-in-out infinite; }
}
@keyframes latido {
  0%, 88%, 100% { transform: scale(1); }
  94% { transform: scale(1.16); }
}

/* ---------- Reveals al scroll (la clase .rv solo la añade el JS) ---------- */

.rv {
  opacity: 0;
  translate: 0 14px;
  transition: opacity 0.4s ease, translate 0.4s ease;
}
.rv--in {
  opacity: 1;
  translate: 0 0;
}

/* ---------- Header fijo ---------- */

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 1.1rem;
  background: var(--crema);
  border-bottom: 1px solid var(--arena);
}

.brand {
  font-family: var(--fd);
  font-style: italic;
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--tinta);
  text-decoration: none;
  margin-right: auto;
  white-space: nowrap;
}

.topnav { display: none; }

.topbar__cta {
  font-size: 0.82rem;
  padding: 0.5em 1.2em;
}

main { padding-top: 3.4rem; }

section[id] { scroll-margin-top: 4.6rem; }

/* ---------- Placeholders de foto (huecos con intención) ---------- */

.ph {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin: 0;
  padding: 1.3rem;
  background: var(--crema-claro);
  border: 1.5px solid var(--rosa);
  border-radius: 12px;
}

.ph::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 2px dotted var(--arena);
  border-radius: 8px;
  pointer-events: none;
}

.ph .icon {
  width: clamp(64px, 34%, 116px);
  height: auto;
}

.ph figcaption {
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.7;
}

.ph .x { color: var(--rosa-prof); margin-left: 0.4em; letter-spacing: 0; }

.ph--43 { aspect-ratio: 4 / 3; }
.ph--32 { aspect-ratio: 3 / 2; }
.ph--34 { aspect-ratio: 3 / 4; }
.ph--34 .icon { width: clamp(76px, 44%, 132px); }
.ph--11 { aspect-ratio: 1 / 1; }

/* Pila: vitrina + cookie partida superpuesta */
.stack { position: relative; margin-bottom: 3.4rem; }
.stack > .ph--43 figcaption {
  align-self: flex-start;
  text-align: left;
  max-width: 52%;
}
.stack .ph--over {
  position: absolute;
  width: 44%;
  right: -0.4rem;
  bottom: -2.8rem;
  rotate: 2.2deg;
  padding: 0.8rem;
  gap: 0.5rem;
}
.stack .ph--over .icon { width: 46%; }
.stack .ph--over figcaption { font-size: 0.53rem; }
.stack .ph--over::before { inset: 6px; }

/* ---------- Hero ---------- */

.hero { padding: clamp(2.6rem, 7vw, 5rem) 0 clamp(3rem, 7vw, 5.5rem); }

.hero__grid { display: grid; gap: 2.6rem; }

.hero__title {
  font-size: clamp(2.55rem, 9.5vw, 4.3rem);
  line-height: 1.02;
  margin-bottom: 0.4em;
}

.hero__sub {
  display: block;
  font-family: var(--fd);
  font-style: italic;
  font-weight: 400;
  font-size: 0.42em;
  letter-spacing: 0.04em;
  color: var(--rosa-prof);
  margin-top: 0.55em;
}

.claim {
  max-width: 30em;
  font-size: 1.06rem;
  margin-bottom: 1.6em;
}

.hero__cta { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }

.hero__hours {
  font-size: 0.86rem;
  line-height: 1.75;
  color: var(--choco);
  margin: 0;
}

.hero__media { position: relative; max-width: 30rem; }

.spark { position: absolute; width: 30px; height: 30px; }
.spark--hero { top: -16px; left: -10px; }
.spark--order { width: 24px; height: 24px; top: 1.4rem; right: 1.6rem; }

/* ---------- Cinta del oficio (marquee decorativo) ---------- */

.marquee {
  overflow: hidden;
  background: var(--crema-claro);
  border-top: 2px solid var(--tinta);
  border-bottom: 2px solid var(--tinta);
  padding: 0.55rem 0;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.marquee__group {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  padding-right: 2.2rem;
}

.marquee__group span {
  font-family: var(--fd);
  font-style: italic;
  font-size: 1.05rem;
  white-space: nowrap;
}

.marquee__spark { width: 13px; height: 13px; flex: none; }

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* ---------- Lo que sale del horno ---------- */

.horno { padding: clamp(3rem, 8vw, 5.5rem) 0; }

.row {
  display: grid;
  gap: 1.8rem;
  align-items: center;
  margin-top: clamp(2.6rem, 6vw, 4rem);
}

.row__text .tag { margin-bottom: 1rem; }
.row__text p:last-of-type { margin-bottom: 0; }

/* ---------- Slot de temporada ---------- */

.season {
  position: relative;
  margin-top: clamp(3.2rem, 7vw, 4.5rem);
  background: var(--crema-claro);
  border: 1.5px solid var(--rosa);
  border-radius: 16px;
  padding: 2.1rem 1.4rem 1.7rem;
  display: grid;
  gap: 1.6rem;
}

.season::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 2px dotted var(--arena);
  border-radius: 11px;
  pointer-events: none;
}

.tag--season {
  position: absolute;
  top: -0.95rem;
  left: 1.4rem;
  margin: 0;
  background: var(--rosa);
  z-index: 1;
}

.season__media .ph { background: var(--crema); }
.season__text p { max-width: 32em; }
.season__text .btn { margin-top: 0.2rem; }

/* ---------- ¿Y quién es Sara? ---------- */

.sara { padding: clamp(3rem, 8vw, 6rem) 0; }

.sara__grid { display: grid; gap: 2.6rem; align-items: center; }

.sara__media { max-width: 21rem; }

.sara__text { position: relative; }

.bigq {
  position: absolute;
  top: -1.2em;
  right: -0.1em;
  font-family: var(--fd);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(5.5rem, 16vw, 9rem);
  line-height: 1;
  color: var(--rosa-claro);
  z-index: -1;
  user-select: none;
}

.sara__tease {
  font-family: var(--fd);
  font-style: italic;
  font-size: 1.18rem;
  line-height: 1.45;
  color: var(--rosa-prof);
  max-width: 24em;
  margin-bottom: 0;
}

/* ---------- Horario y dónde ---------- */

.donde { padding: clamp(3rem, 8vw, 5.5rem) 0; }

.donde__grid {
  display: grid;
  gap: 1.6rem;
  margin-top: 2.2rem;
}

.card {
  position: relative;
  background: var(--crema-claro);
  border: 1.5px solid var(--rosa);
  border-radius: 16px;
  padding: 1.9rem 1.6rem;
}

.card::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 2px dotted var(--arena);
  border-radius: 11px;
  pointer-events: none;
}

.icon--card { width: 78px; height: auto; display: block; margin-bottom: 1rem; }

.card__title { margin-bottom: 0.6em; }

.hours { border-collapse: collapse; width: 100%; }
.hours th, .hours td {
  text-align: left;
  vertical-align: top;
  padding: 0.5em 0;
  border-bottom: 1px dotted var(--arena);
  font-size: 0.94rem;
}
.hours tr:last-child th, .hours tr:last-child td { border-bottom: none; }
.hours th { font-weight: 700; padding-right: 1.2em; white-space: nowrap; }

.address {
  font-style: normal;
  line-height: 1.7;
  margin-bottom: 1.3rem;
}

/* ---------- El día a día (Instagram) ---------- */

.dia { padding: clamp(2.6rem, 7vw, 4.5rem) 0; }

.dia__inner { display: grid; gap: 2rem; }

.dia__text .tag { background: var(--galleta); margin-bottom: 1rem; }
.dia__text p { max-width: 30em; }
.dia__text .btn { margin-top: 0.4rem; }

.dia__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.dia__grid .ph { padding: 0.9rem; }
.dia__grid .ph .icon { width: clamp(48px, 40%, 84px); }
.dia__grid .ph figcaption { font-size: 0.54rem; }
.dia__grid .ph:nth-child(1) { rotate: -1.4deg; }
.dia__grid .ph:nth-child(2) { rotate: 1.1deg; }
.dia__grid .ph:nth-child(3) { rotate: 1.3deg; }
.dia__grid .ph:nth-child(4) { rotate: -1deg; }

/* ---------- De barrio (comunidad local) ---------- */

.barrio { padding: clamp(3rem, 8vw, 5.5rem) 0; }

.barrio__grid {
  list-style: none;
  margin: 2.2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.3rem;
}

.barrio__item {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  margin: 0;
  background: var(--crema-claro);
  border: 1.5px solid var(--rosa);
  border-radius: 14px;
  padding: 1.3rem 1.4rem;
}

.barrio__ic { width: 52px; height: 52px; flex: none; }
.barrio__item h3 { font-size: clamp(1.12rem, 3vw, 1.28rem); margin-bottom: 0.3em; }
.barrio__item p { margin: 0; font-size: 0.95rem; }

/* ---------- Reseñas (5,0 · 18 real + placeholders honestos) ---------- */

.resenas { padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2rem, 5vw, 3rem); }

.resenas__head {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin: 2rem 0 0.4rem;
}

.resenas__score {
  font-family: var(--fd);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(3.2rem, 12vw, 4.6rem);
  line-height: 0.85;
  color: var(--rosa-prof);
}

.resenas__head-txt p { margin: 0.35em 0 0; font-size: 0.95rem; }

.stars { width: 132px; height: 24px; display: block; }
.stars--sm { width: 94px; height: 17px; }
.stars--ghost { opacity: 0.5; }

.resenas__link {
  font-weight: 700;
  color: var(--tinta);
  text-decoration: underline;
  text-decoration-color: var(--rosa);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.resenas__link:hover { color: var(--rosa-prof); text-decoration-color: var(--rosa-prof); }

.resenas__grid { display: grid; gap: 1.2rem; margin-top: 1.7rem; }

.quote {
  position: relative;
  margin: 0;
  background: var(--crema-claro);
  border: 1.5px solid var(--rosa);
  border-radius: 14px;
  padding: 1.4rem 1.5rem;
}

.quote blockquote {
  margin: 0.8rem 0 0.9rem;
  padding: 0;
  font-family: var(--fd);
  font-size: 1.12rem;
  line-height: 1.42;
}
.quote blockquote::before { content: "\201C"; color: var(--rosa-prof); }
.quote blockquote::after { content: "\201D"; color: var(--rosa-prof); }

.quote figcaption {
  font-weight: 700;
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--madera);
}

.quote--slot { background: var(--crema); border-style: dashed; }
.quote--slot::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 2px dotted var(--arena);
  border-radius: 9px;
  pointer-events: none;
}

.quote__ph {
  margin: 0.8rem 0 0.9rem;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  line-height: 1.7;
  color: var(--rosa-prof);
}
.quote__ph .x { color: var(--rosa-prof); margin-left: 0.3em; }

.resenas__maria {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 1.7rem 0 0;
  font-family: var(--fd);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--tinta);
}
.resenas__maria svg { width: 22px; height: 22px; flex: none; }
.resenas__maria span { color: var(--rosa-prof); }

/* ---------- Encargos ---------- */

.encargos { padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(3.5rem, 8vw, 6rem); }

.order-card {
  position: relative;
  background: var(--rosa-claro);
  border-radius: 20px;
  padding: clamp(2.4rem, 6vw, 3.6rem) 1.5rem;
  text-align: center;
}

.order-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 2px dotted var(--rosa-prof);
  border-radius: 14px;
  pointer-events: none;
  opacity: 0.55;
}

.order-card h2 { display: block; }
.order-card p { max-width: 30em; margin-inline: auto; }

.tel {
  display: inline-block;
  font-family: var(--fd);
  font-weight: 600;
  font-size: clamp(2rem, 8vw, 3.2rem);
  color: var(--tinta);
  text-decoration: none;
  margin: 0.3em 0 0.5em;
  position: relative;
  z-index: 1;
}
.tel:hover { text-decoration: underline; text-decoration-color: var(--rosa-prof); text-underline-offset: 8px; }

.order-card .small { color: var(--tinta); opacity: 0.85; }

.order-card .btn--ink { position: relative; z-index: 1; margin: 0.4em 0 0.2em; }

.order-card__or {
  font-size: 0.88rem;
  margin: 1.1em auto 0;
  opacity: 0.85;
}

/* --- "Encargar es así de fácil": 3 pasos --- */

.order-card__sub { margin: 1.9em 0 0.8em; }

.steps {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 22rem;
  display: grid;
  gap: 0.9rem;
  text-align: left;
}

.steps li { display: flex; align-items: center; gap: 0.9rem; margin: 0; }

.steps__num {
  flex: none;
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  background: var(--crema-claro);
  border: 2px solid var(--tinta);
  border-radius: 50%;
  font-family: var(--fd);
  font-style: italic;
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1;
}

/* --- Mini-formulario "Cuéntame tu encargo" (compone el WhatsApp) --- */

.order-form { margin: 0; position: relative; z-index: 1; }

.order-form__hint { font-size: 0.88rem; opacity: 0.85; }

.order-form__fields {
  display: grid;
  gap: 0.9rem;
  max-width: 22rem;
  margin: 1.2rem auto 1.5rem;
  text-align: left;
}

.field { display: grid; gap: 0.35rem; }

.field label {
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.field input,
.field select {
  width: 100%;
  margin: 0;
  font-family: var(--ft);
  font-size: 1rem;
  line-height: 1.4;
  color: var(--tinta);
  background-color: var(--crema-claro);
  border: 1.5px solid var(--tinta);
  border-radius: 10px;
  padding: 0.55em 0.9em;
  height: 2.7em; /* fija (no min-): el input date trae alturas UA propias y descuadra la fila */
  appearance: none;
  -webkit-appearance: none;
}

.field select {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 10"><path d="M2,2 L8,8 L14,2" fill="none" stroke="%235F3A22" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-repeat: no-repeat;
  background-position: right 0.9em center;
  background-size: 13px auto;
  padding-right: 2.6em;
}

.field input:focus,
.field select:focus {
  outline: 2px dashed var(--rosa-prof);
  outline-offset: 3px;
  border-color: var(--rosa-prof);
}

.order-form__send { margin-bottom: 0; }

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--arena);
  padding: 2.2rem 0 2.6rem;
  font-size: 0.86rem;
  line-height: 1.7;
}

.footer p { margin: 0 0 0.35em; }

.footer__brand { font-family: var(--fd); font-style: italic; font-size: 1.05rem; }

.footer__ig a { color: var(--tinta); text-decoration-color: var(--rosa); text-underline-offset: 3px; }
.footer__ig a:hover { color: var(--rosa-prof); }

.demo-note {
  margin-top: 1.1rem !important;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--madera);
}

/* ---------- Barra de acciones fija (solo móvil) ---------- */

/* Hueco para que la barra no tape el footer (se anula a partir de 768px) */
body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }

.actionbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  gap: 0.5rem;
  background: var(--crema-claro);
  border-top: 2px solid var(--tinta);
  padding: 0.4rem 0.7rem calc(0.4rem + env(safe-area-inset-bottom, 0px));
}

.actionbar__btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 0.32em 0 0.38em;
  border: 1.5px solid var(--tinta);
  border-radius: 12px;
  color: var(--tinta);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.64rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.actionbar__btn svg { width: 22px; height: 22px; }
.actionbar__btn:active { background: var(--arena); translate: 0 1px; }

/* El de WhatsApp es EL botón de la barra: relleno frente a los otros dos en línea */
.actionbar__btn--wa { background: var(--tinta); border-color: var(--tinta); color: var(--crema-claro); }
.actionbar__btn--wa:active { background: var(--choco); color: var(--crema-claro); }

/* ---------- Páginas legales (versión sobria del sistema) ---------- */

/* Sin barra de acciones móvil en las legales: fuera el hueco inferior */
body.legal-page { padding-bottom: 0; }

.topbar__back {
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--tinta);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid var(--rosa);
  white-space: nowrap;
}
.topbar__back:hover { color: var(--rosa-prof); border-bottom-color: var(--rosa-prof); }

/* OJO: el padding-top del hueco bajo el topbar fijo ya lo pone `main` —
   aquí solo el respiro inferior; el superior va como margen del h1. */
.legal { padding-bottom: clamp(3rem, 7vw, 5rem); }

.legal .wrap { width: min(46rem, 100% - 2.5rem); }

.legal h1 {
  font-size: clamp(2rem, 7vw, 2.8rem);
  margin-top: clamp(1.8rem, 5vw, 3rem);
  margin-bottom: 0.35em;
}

.legal-updated {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--madera);
  margin-bottom: 2.4em;
}

.legal h2 {
  display: block;
  font-size: clamp(1.25rem, 3.6vw, 1.5rem);
  margin: 1.9em 0 0.55em;
}

.legal p, .legal li { font-size: 0.97rem; }
.legal p { max-width: 62ch; }

.legal ul {
  margin: 0 0 1em;
  padding-left: 1.25em;
}
.legal li { margin-bottom: 0.35em; }
.legal li::marker { color: var(--rosa-prof); }

.legal a {
  color: var(--tinta);
  text-decoration: underline;
  text-decoration-color: var(--rosa);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.legal a:hover { color: var(--rosa-prof); text-decoration-color: var(--rosa-prof); }

/* Enlaces legales del footer (en todas las páginas) */
.footer__legal {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--madera);
}
.footer__legal a {
  color: var(--madera);
  text-decoration: underline;
  text-decoration-color: var(--rosa);
  text-underline-offset: 3px;
}
.footer__legal a:hover { color: var(--rosa-prof); }

/* ============ 768px ============ */
@media (min-width: 768px) {
  body { font-size: 1.05rem; padding-bottom: 0; }

  .actionbar { display: none; }

  .topbar { padding: 0.75rem 2rem; }

  .topnav {
    display: flex;
    gap: 1.5rem;
    margin-right: 1.2rem;
  }
  .topnav a {
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--tinta);
    text-decoration: none;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
  }
  .topnav a:hover { border-bottom-color: var(--rosa); }

  main { padding-top: 3.7rem; }

  .hero__grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
  }
  .hero__media { justify-self: end; width: 100%; }

  .row { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .row--flip .row__media { order: 2; }
  .row--flip .row__text { order: 1; }
  .row .ph--34 { max-width: 21rem; margin-inline: auto; }
  .row .ph--32 { max-width: 26rem; }

  .season {
    grid-template-columns: 2fr 3fr;
    align-items: center;
    padding: 2.4rem 2.2rem 2.2rem;
  }

  .sara__grid { grid-template-columns: 2fr 3fr; gap: 3.5rem; }

  .donde__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }

  .steps {
    max-width: 46rem;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
    align-items: start;
  }
  .steps li {
    flex-direction: column;
    text-align: center;
    gap: 0.7rem;
  }
  .steps li > span:last-child { max-width: 13em; }

  .order-form__fields {
    max-width: 44rem;
    grid-template-columns: 1.15fr 1fr 1fr;
    gap: 1rem;
    align-items: start;
  }

  .dia__inner { grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center; }
  .dia__grid { gap: 1.1rem; }

  .barrio__grid { grid-template-columns: 1fr 1fr; gap: 1.6rem; }

  .resenas__grid { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; align-items: start; }
}

/* ============ 1080px ============ */
@media (min-width: 1080px) {
  .hero { padding-top: 5.5rem; }
  .hero__grid { gap: 4.5rem; }
  .row { gap: 4.5rem; }
  .row__text { max-width: 30rem; }
  .sara__grid { gap: 5rem; }
  .stack { margin-right: 1.5rem; }
}
