/* ==========================================================================
   La Buena — base de estilos
   Paso 1: fundamentos y paleta. El diseño fino llega en el Paso 3.
   Mobile-first: todo se escribe primero para móvil, porque ahí es donde
   la gente abrirá esta web, de camino al mercado.
   ========================================================================== */

/* --- Tipografía autoalojada ---------------------------------------------
   Variables: un solo fichero cubre del peso 100 al 900.
   Autoalojadas a propósito: enlazar Google Fonts enviaría la IP de cada
   visitante a Google sin consentimiento, y esto es una empresa de la UE.   */

@font-face {
  font-family: 'Fraunces';
  src: url('/assets/fonts/fraunces.89f3cdfc.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Hanken Grotesk';
  src: url('/assets/fonts/hanken.02930992.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Paleta: sacada de una paella de verdad, no de una plantilla */
  --charcoal: #241f1c;      /* el hierro de la paellera */
  --ink: #14100e;
  --saffron: #e9a13b;       /* azafrán */
  --saffron-deep: #c9832a;
  --terracotta: #c05a34;
  --olive: #6b7148;
  --cream: #fbf5e9;
  --cream-warm: #f4e9d4;
  --white: #fffdf9;

  --text: var(--ink);
  --text-soft: #5c524b;
  --line: rgba(36, 31, 28, 0.12);

  --font-body: 'Hanken Grotesk', ui-sans-serif, system-ui, sans-serif;
  --font-display: 'Fraunces', ui-serif, Georgia, serif;

  --wrap: 68rem;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(36, 31, 28, .06), 0 8px 24px -12px rgba(36, 31, 28, .18);

  --step: clamp(2.5rem, 8vw, 5rem);
}

/* --- Reset mínimo ------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
  text-wrap: balance;
}

p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: var(--terracotta); text-underline-offset: .18em; }
a:hover { color: var(--saffron-deep); }

:focus-visible {
  outline: 3px solid var(--saffron);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  /* En móvil el texto se pegaba al borde. 1.5rem a cada lado da aire
     sin comerse la línea de lectura. */
  width: min(100% - 3rem, var(--wrap));
  margin-inline: auto;
}
/* Columna estrecha para leer cómodo (formulario, textos legales).
   El CONTENEDOR sigue centrado como cualquier .wrap; lo que se estrecha es el
   contenido de dentro. Así comparte borde izquierdo con las secciones anchas.
   Estrechar el propio .wrap con margin-inline: 0 lo pegaba al borde de la
   pantalla y se salía por la izquierda. */
.wrap--narrow > * { max-width: 44rem; }

.skip-link {
  position: absolute;
  left: -9999px;
  background: var(--charcoal);
  color: var(--cream);
  padding: .75rem 1.25rem;
  z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* --- Botones ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 3rem;            /* área táctil cómoda en móvil */
  padding: .75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: var(--shadow);
}
.btn--primary:hover { background: #a94a29; color: var(--white); }

.btn--ghost {
  border: 1.5px solid var(--line);
  color: var(--charcoal);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--charcoal); color: var(--charcoal); }

/* --- Cabecera ----------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 245, 233, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4rem;
}

/* El logo YA lleva el nombre "La Buena" dentro, así que no se repite en texto
   al lado: quedaba escrito dos veces. Es una marca-escudo, no un logo
   horizontal, por eso necesita algo de alto para que se lea el rótulo. */
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-right: auto;
  padding: .25rem 0;
}
.brand__logo {
  height: 2.75rem;
  width: auto;
  transition: transform .25s ease;
}
.brand:hover .brand__logo { transform: scale(1.04); }

@media (min-width: 48rem) {
  .brand__logo { height: 3.25rem; }
}

.nav { display: none; gap: 1.5rem; }
.nav a {
  color: var(--charcoal);
  text-decoration: none;
  font-weight: 500;
  font-size: .9375rem;
}
.nav a:hover { color: var(--terracotta); }

.lang { display: flex; gap: .25rem; font-size: .8125rem; font-weight: 600; }
.lang a {
  color: var(--text-soft);
  text-decoration: none;
  padding: .25rem .5rem;
  border-radius: 6px;
}
.lang a[aria-current] { background: var(--charcoal); color: var(--cream); }

@media (min-width: 48rem) {
  .nav { display: flex; }
}

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

.hero {
  background: var(--charcoal);
  color: var(--cream);
  padding-block: var(--step);
}

.hero__kicker {
  font-size: .8125rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: .75rem;
}

.hero__title {
  font-size: clamp(2.125rem, 7vw, 3.75rem);
  color: var(--cream);
  max-width: 18ch;
}

.hero__subtitle {
  font-size: clamp(1.0625rem, 2.5vw, 1.25rem);
  color: rgba(251, 245, 233, .78);
  max-width: 46ch;
  margin-bottom: 2rem;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero .btn--ghost { border-color: rgba(251, 245, 233, .35); color: var(--cream); }
.hero .btn--ghost:hover { border-color: var(--cream); color: var(--cream); }

/* --- Bloque "¿dónde estamos hoy?" --------------------------------------- */

.today { padding-block: var(--step); }

.today__heading {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  margin-bottom: 1.5rem;
}

.today__panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--saffron);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}
.today__panel.is-closed { border-left-color: var(--text-soft); }

.today__status,
.today__next-label {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: .25rem;
}

/* Punto que late: señala "esto es de ahora mismo", no un horario impreso */
.today__dot {
  width: .5rem; height: .5rem;
  border-radius: 50%;
  background: var(--olive);
  flex: none;
}
.is-open .today__dot { background: #3f8f4a; }
.is-soon .today__dot { background: var(--saffron); }
.today__panel.is-soon { border-left-color: var(--saffron); }
.is-closed .today__dot { background: #b33a2b; }

@media (prefers-reduced-motion: no-preference) {
  .is-open .today__dot { animation: pulse 2.4s ease-in-out infinite; }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(63, 143, 74, .45); }
  50%      { box-shadow: 0 0 0 .375rem rgba(63, 143, 74, 0); }
}

.today__city {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: .25rem;
}

.today__place { font-size: 1.0625rem; margin-bottom: .25rem; }
.today__hours { font-variant-numeric: tabular-nums; color: var(--text-soft); }
.today__note { color: var(--text-soft); max-width: 44ch; }
.today__route { margin-top: .75rem; }

/* --- Calendario semanal ------------------------------------------------- */

.markets {
  display: grid;
  gap: .75rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 40rem) {
  .markets { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 64rem) {
  .markets { grid-template-columns: repeat(4, 1fr); }
}

.market {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.125rem 1.25rem;
}

.market.is-today {
  border-color: var(--saffron);
  background: var(--cream-warm);
  box-shadow: 0 0 0 2px var(--saffron);
}

.market--rest { background: transparent; border-style: dashed; }

.market__badge {
  position: absolute;
  top: -.625rem;
  left: 1.25rem;
  background: var(--saffron);
  color: var(--charcoal);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .1875rem .5rem;
  border-radius: 999px;
}

.market__day {
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: .125rem;
}

.market__city {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: .125rem;
}

.market__place,
.market__hours,
.market__note {
  font-size: .9375rem;
  color: var(--text-soft);
  margin-bottom: .25rem;
}
.market__hours { font-variant-numeric: tabular-nums; }

.market__route {
  display: inline-block;
  margin-top: .5rem;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--terracotta);
}

.link-more { font-weight: 600; }

/* --- Cabecera de página interior ---------------------------------------- */

.page-head { padding-block: var(--step) 0; }
.page-head h1 { font-size: clamp(2rem, 6vw, 3rem); }
.lede { font-size: 1.125rem; color: var(--text-soft); max-width: 52ch; }

/* --- Pie ---------------------------------------------------------------- */

.site-footer {
  background: var(--charcoal);
  color: rgba(251, 245, 233, .75);
  padding-block: var(--step) 1.5rem;
  margin-top: var(--step);
  font-size: .9375rem;
}

.site-footer__inner {
  display: grid;
  gap: 2rem;
}
@media (min-width: 44rem) {
  .site-footer__inner { grid-template-columns: 1.4fr 1fr 1fr; }
}

.site-footer h2 {
  font-family: var(--font-body);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: .75rem;
}

.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--saffron); text-decoration: underline; }
.site-footer li { margin-bottom: .375rem; }
.site-footer__brand img { width: 3rem; margin-bottom: .75rem; }
.site-footer .legal { color: rgba(251, 245, 233, .6); }

.site-footer__base {
  border-top: 1px solid rgba(251, 245, 233, .14);
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
  font-size: .8125rem;
  color: rgba(251, 245, 233, .5);
}

/* ==========================================================================
   Menú
   ========================================================================== */

.portion-note {
  display: inline-block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--charcoal);
  background: var(--cream-warm);
  border-radius: 999px;
  padding: .375rem 1rem;
}

.menu { padding-block: var(--step) 0; }

.dishes {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 46rem) { .dishes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 72rem) { .dishes { grid-template-columns: repeat(3, 1fr); } }

.dish {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.dish__figure {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--charcoal);
  overflow: hidden;
}
.dish__figure img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.7,.3,1);
}
.dish:hover .dish__figure img { transform: scale(1.04); }

/* Número de plato, detalle editorial */
.dish__index {
  position: absolute;
  top: .75rem; left: .875rem;
  font-family: var(--font-body);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--cream);
  mix-blend-mode: difference;
}

/* Panel tipográfico: para los platos que aún no tienen foto.
   Mismo aspect-ratio que la foto, así al cambiarlo no se mueve nada. */
.dish__figure--typo {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(120% 80% at 50% 0%, #332c27 0%, var(--charcoal) 60%);
}
.dish__figure--typo::after {
  content: '';
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(233, 161, 59, .28);
  border-radius: 50%;
}
.dish__keywords {
  position: relative;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1rem, 3.4vw, 1.25rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--cream);
  padding: 1.5rem;
}
.dish__keywords li + li { border-top: 1px solid rgba(251,245,233,.14); }
.dish__keywords li:nth-child(even) { color: var(--saffron); }

.dish__body {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: 1.25rem 1.25rem 1.5rem;
  flex: 1;
}

.dish__head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .5rem;
}
.dish__name {
  font-size: 1.375rem;
  margin: 0;
  flex: 1 1 auto;
}
.dish__description {
  color: var(--text-soft);
  font-size: .9375rem;
  margin: 0;
}
.dish__price {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}

/* Etiquetas discretas: halal y vegetariano */
.badge {
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .1875rem .5rem;
  border-radius: 999px;
  white-space: nowrap;
}
.badge--halal { background: #e7efe4; color: #3b5c31; }
.badge--veg   { background: #eef1e2; color: #4f5a26; }

/* Alérgenos */
.dish__allergens {
  margin-top: auto;
  padding-top: .875rem;
  border-top: 1px solid var(--line);
}
.dish__allergens h4 {
  font-family: var(--font-body);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin: 0 0 .5rem;
}
.dish__allergens ul {
  display: flex;
  flex-wrap: wrap;
  gap: .375rem;
}
.allergen {
  font-size: .8125rem;
  font-weight: 600;
  padding: .1875rem .5625rem;
  border-radius: 6px;
  background: #fbeaea;
  color: #8c2f2f;
}
.allergen--none { background: #e7efe4; color: #3b5c31; }

/* Avisos y encargos */
.notice { padding-block: var(--step); }
.notice h2 { font-size: 1.5rem; }
.notice p { max-width: 62ch; color: var(--text-soft); }
.notice__good {
  border-left: 3px solid var(--olive);
  padding-left: 1rem;
  color: var(--charcoal);
}

.preorder {
  background: var(--charcoal);
  color: var(--cream);
  padding-block: var(--step);
}
.preorder h2 { color: var(--cream); font-size: clamp(1.75rem, 5vw, 2.5rem); }
.preorder p { color: rgba(251,245,233,.78); max-width: 54ch; margin-bottom: 1.75rem; }

/* Aparición al hacer scroll.
   OJO al orden: el estado oculto lo pone el JavaScript (.is-hidden), no el CSS.
   Si el JS falla o el navegador lo bloquea, el contenido se ve igual. Al revés
   —ocultar desde CSS y revelar desde JS— una web sin JS queda en blanco. */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    transition: opacity .5s ease, transform .5s cubic-bezier(.2,.7,.3,1);
  }
  .reveal.is-hidden {
    opacity: 0;
    transform: translateY(14px);
  }
}

/* ==========================================================================
   Héroe con foto
   Móvil: foto arriba, texto debajo. Escritorio: dos columnas.
   ========================================================================== */

.hero {
  position: relative;
  background: var(--charcoal);
  color: var(--cream);
  padding-block: 0 var(--step);
  overflow: hidden;
}

.hero__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 42% 34%;   /* deja dentro al cocinero y el logo de la furgoneta;
                                  en escritorio el recorte es por los lados */
}
/* Degradado para que el texto de debajo no choque con la foto */
.hero__media::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(to bottom, transparent, var(--charcoal));
}

.hero__inner { position: relative; padding-top: 1.5rem; }

@media (min-width: 56rem) {
  .hero { padding-block: 0; }
  .hero__media {
    position: absolute;
    inset: 0 0 0 50%;
    aspect-ratio: auto;
  }
  .hero__media::after {
    inset: 0 auto 0 0;
    width: 45%; height: 100%;
    background: linear-gradient(to right, var(--charcoal), transparent);
  }
  .hero__inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: min(78vh, 40rem);
    padding-block: var(--step);
  }
  .hero__title, .hero__subtitle { max-width: 15ch; }
  .hero__subtitle { max-width: 34ch; }
}

/* ==========================================================================
   Formulario, contacto, sobre nosotros y textos legales
   ========================================================================== */

/* Las secciones con fondo propio llevan margen arriba.
   Las secciones normales se separan con el padding de la siguiente, pero eso
   no vale cuando cambia el color: la banda arrancaba pegada al contenido
   anterior. Poniéndolo aquí funciona venga de donde venga. */
.form-section, .preorder { margin-top: var(--step); }
.page-head + .band, .band + .steps-section { margin-top: 0; }

.form-section { background: var(--cream-warm); padding-block: var(--step); }

.form { display: grid; gap: 1.125rem; margin-top: 1.5rem; }

.field { margin: 0; display: grid; gap: .375rem; }
.field label {
  font-size: .9375rem;
  font-weight: 600;
  display: flex;
  align-items: baseline;
  gap: .5rem;
}
.field__req, .field__opt {
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.field__req { color: var(--terracotta); }

.field input, .field textarea {
  font: inherit;
  font-size: 1rem;                /* 16px: por debajo, iOS hace zoom al enfocar */
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: .75rem .875rem;
  min-height: 3rem;
  width: 100%;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: rgba(36,31,28,.28); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--saffron);
  box-shadow: 0 0 0 3px rgba(233,161,59,.28);
}
.field [aria-invalid] { border-color: #b23b3b; }

/* Honeypot: fuera de la vista pero NO con display:none ni hidden,
   porque muchos bots saltan justamente los campos ocultos así. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form__privacy { font-size: .875rem; color: var(--text-soft); margin: 0; }
.form__submit { justify-self: start; }
.form.is-done { background: var(--white); border-radius: var(--radius); padding: 2rem; }

.form__status { margin: 0; font-weight: 600; min-height: 1.5rem; }
.form__status.is-sending { color: var(--text-soft); }
.form__status.is-error { color: #a52f2f; }

/* Pasos numerados */
.steps-section, .occasions, .values-section, .prose { padding-block: var(--step) 0; }
.steps { display: grid; gap: 1.5rem; margin-top: 1.5rem; }
@media (min-width: 48rem) { .steps { grid-template-columns: repeat(3, 1fr); } }

.step__n {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--saffron-deep);
  margin-bottom: .5rem;
}
.step h3 { font-size: 1.25rem; }
.step p { color: var(--text-soft); margin: 0; }

/* Chips de ocasiones */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.chips li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .4375rem 1rem;
  font-size: .9375rem;
  font-weight: 500;
}

/* Banda de imagen ancha */
.band { padding-top: var(--step); }
.band__img { border-radius: var(--radius); width: 100%; }

/* Contacto */
.contact { padding-block: var(--step) 0; }
.contact-grid { display: grid; gap: .75rem; }
@media (min-width: 40rem) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }

.contact-card {
  display: flex;
  align-items: center;
  gap: .875rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.125rem 1.25rem;
}
/* El icono distingue de un vistazo llamar de escribir por WhatsApp:
   sin él las dos tarjetas enseñan el mismo número y parecen repetidas. */
.contact-card__icon {
  flex: 0 0 auto;
  width: 1.625rem;
  height: 1.625rem;
  color: var(--terracotta);
}
.contact-card__label {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: .25rem;
}
.contact-card__value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
  word-break: break-word;
}

/* Sobre nosotros */
.prose p { font-size: 1.0625rem; }
.prose h2 { font-size: 1.375rem; margin-top: 2rem; }
.prose .meta { font-size: .875rem; color: var(--text-soft); }
.legal-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.125rem 1.25rem;
  margin-bottom: 1.5rem;
}
.legal-block li { margin-bottom: .25rem; }

.values { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
@media (min-width: 48rem) { .values { grid-template-columns: repeat(3, 1fr); } }
.value h3 { font-size: 1.125rem; }
.value p { color: var(--text-soft); margin: 0; }

/* Pie: etiquetas para que el Instagram no parezca un texto suelto */
.footer-links li { display: flex; flex-direction: column; margin-bottom: .625rem; }
.footer-links span {
  font-size: .6875rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(251,245,233,.45);
}

/* --- Móvil: cabeceras centradas -----------------------------------------
   El texto pegado al borde izquierdo se leía duro en pantalla pequeña.
   A partir de tablet vuelve a la izquierda, que es donde toca en lectura larga. */
@media (max-width: 47.99rem) {
  .hero__inner, .page-head { text-align: center; }
  .hero__title, .hero__subtitle, .lede { margin-inline: auto; }
  .hero__actions, .chips { justify-content: center; }
  .today__heading, .steps-section h2, .occasions h2, .values-section h2 { text-align: center; }
  .today__status, .today__next-label { justify-content: center; }
  .today__panel { text-align: center; }
  .today__route { display: inline-flex; }
  .portion-note { display: block; margin-inline: auto; width: fit-content; }
}

.field__hint {
  font-size: .8125rem;
  color: var(--text-soft);
  line-height: 1.45;
}

.form__fallback {
  display: inline-block;
  margin-top: .375rem;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--terracotta);
}

/* El mensaje de gracias no debe enseñar el anillo de foco: el foco está ahí
   por accesibilidad, no porque el usuario haya pulsado nada. */
.form.is-done h3:focus { outline: none; }
.form.is-done h3 { margin-top: 0; }
