/* =========================================================
   eRa Productos Artesanos — Panadería y pastelería en Getafe
   ========================================================= */

/* ---------- Fuentes (alojadas en el propio servidor, OFL) ---------- */
@font-face {
  font-family: 'Young Serif';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('../assets/fonts/young-serif-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../assets/fonts/libre-franklin-latin-wght-normal.woff2') format('woff2-variations');
}

/* ---------- Tokens ---------- */
:root {
  --paper: #F4ECDE;
  --paper-2: #FAF6EE;
  --flour: #EBE0CC;
  --flour-2: #E2D4BB;
  --ink: #2A211B;
  --ink-2: #5B4D42;
  --crust: #8A4E24;
  --crust-2: #A8692F;
  --awning: #E4D0A6;
  --oven: #2A211B;
  --oven-2: #3A2E25;
  --on-dark: #F6EFE3;
  --on-dark-2: #D8C9B1;
  --line: rgba(42, 33, 27, .16);
  --line-soft: rgba(42, 33, 27, .09);
  --ok: #3F6E45;

  --serif: 'Young Serif', Georgia, 'Times New Roman', serif;
  --sans: 'Libre Franklin', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --pad-x: clamp(20px, 5vw, 64px);
  --section-y: clamp(72px, 9vw, 128px);
  --radius: 14px;
  --ease: cubic-bezier(.2, .75, .1, 1);
  --header-h: 72px;
  --banner-h: 34px;
  --header-total: calc(var(--header-h) + var(--banner-h));
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-total) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--crust); }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--crust); outline-offset: 3px; border-radius: 4px; }
address { font-style: normal; }
strong { font-weight: 600; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 18px; border-radius: 8px; text-decoration: none;
  transition: top .3s;
}
.skip:focus { top: 12px; color: var(--paper); }

.container { max-width: 1240px; margin-inline: auto; padding-inline: var(--pad-x); }

.display { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; line-height: 1.08; }
.accent { color: var(--crust); }
.muted { color: var(--ink-2); }
.lead { font-size: clamp(17px, 1.35vw, 19px); color: var(--ink-2); max-width: 34em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--crust); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }
.eyebrow--light { color: var(--awning); }

.h2 { font-size: clamp(32px, 3.9vw, 52px); }
.h2--sm { font-size: clamp(30px, 3.3vw, 44px); }

.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.i--fill { fill: currentColor; stroke: none; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px; border-radius: 10px; border: 1.5px solid var(--ink);
  font-family: var(--sans); font-size: 16px; font-weight: 600; letter-spacing: .01em; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.btn--dark { background: var(--ink); color: var(--paper-2); }
.btn--dark:hover { background: var(--crust); border-color: var(--crust); color: #fff; }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper-2); }
.btn--light { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
.btn--light:hover { background: var(--awning); border-color: var(--awning); color: var(--ink); }
.btn--line-light { background: transparent; color: var(--on-dark); border-color: rgba(246, 239, 227, .5); }
.btn--line-light:hover { background: var(--on-dark); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 0;
  font-weight: 600; text-decoration: underline; text-decoration-color: rgba(138, 78, 36, .45); text-decoration-thickness: 1.5px;
}
.link:hover { text-decoration-color: currentColor; }

/* ---------- Cabecera ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 236, 222, .92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .3s;
}
.header.is-scrolled { box-shadow: 0 10px 28px -22px rgba(42, 33, 27, .55); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); padding-block: 8px; }
.brand { display: flex; align-items: center; text-decoration: none; flex: none; }
.brand img { width: 92px; height: auto; }
.nav__links { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); }
.nav__links a { font-size: 15px; font-weight: 500; text-decoration: none; padding: 10px 0; color: var(--ink); }
.nav__links a:hover { color: var(--crust); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__tel { font-weight: 600; font-size: 15px; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 4px; white-space: nowrap; }
.burger {
  display: none; position: relative; width: 48px; height: 48px; border-radius: 10px;
  border: 1.5px solid var(--line); background: transparent; cursor: pointer;
}
.burger span {
  position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 27px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

.demo-banner {
  display: flex; align-items: center; justify-content: center; min-height: var(--banner-h); padding: 6px var(--pad-x);
  background: var(--ink); color: var(--paper-2); font-size: 12px; font-weight: 400; line-height: 1.35; letter-spacing: .03em; text-align: center;
}

.mobile-menu {
  display: flex; flex-direction: column; padding: 8px var(--pad-x) 28px;
  border-top: 1px solid var(--line-soft);
  max-height: calc(100vh - var(--header-total)); max-height: calc(100dvh - var(--header-total));
  overflow-y: auto; overscroll-behavior: contain;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a {
  font-family: var(--serif); font-size: 28px; line-height: 1.2; padding: 14px 0; text-decoration: none;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu .mobile-menu__cta { margin-top: 20px; border: 0; font-family: var(--sans); font-size: 17px; }

/* ---------- Portada ---------- */
.hero { padding: clamp(36px, 5vw, 72px) 0 clamp(56px, 7vw, 96px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--crust);
  margin-bottom: 22px;
}
.hero__kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.hero__title { font-size: clamp(40px, 4.6vw, 64px); line-height: 1.06; }
.hero__lead { margin-top: 26px; }
.hero .btn-row { margin-top: 34px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts .i { color: var(--crust); width: 18px; height: 18px; }
.hero__facts strong { color: var(--ink); }

.hero__visual { position: relative; padding: 0 0 56px 0; max-width: 520px; justify-self: end; width: 100%; }
.hero__main { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; width: 82%; margin-left: auto; background: var(--flour); box-shadow: 0 30px 60px -40px rgba(42, 33, 27, .6); }
.hero__main img, .hero__second img { width: 100%; height: 100%; object-fit: cover; }
.hero__second {
  position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden;
  border: 6px solid var(--paper); background: var(--flour); box-shadow: 0 24px 50px -30px rgba(42, 33, 27, .65);
}
.hero__tag {
  position: absolute; right: -8px; bottom: 22px; display: grid; gap: 2px; padding: 12px 18px; text-align: left;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 10px; font-size: 13px; color: var(--ink-2);
  box-shadow: 0 16px 30px -24px rgba(42, 33, 27, .6);
}
.hero__tag strong { font-family: var(--serif); font-weight: 400; font-size: 18px; color: var(--ink); }

/* Estado abierto / cerrado */
.open-now { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--ink); }
.open-now:empty { display: none; }
.open-now::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #9A8B7C; flex: none; }
.open-now.is-open::before { background: var(--ok); box-shadow: 0 0 0 0 rgba(63, 110, 69, .5); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(63, 110, 69, .5); } 100% { box-shadow: 0 0 0 10px rgba(63, 110, 69, 0); } }
.hero .open-now { margin-top: 26px; }

/* ---------- Franja ---------- */
.strip { background: var(--flour); border-block: 1px solid var(--line-soft); }
.strip ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.strip ul.container { padding-inline: var(--pad-x); }
.strip li { display: flex; align-items: center; gap: 14px; padding: 22px 20px; font-size: 15px; line-height: 1.4; color: var(--ink-2); }
.strip li + li { border-left: 1px solid var(--line-soft); }
.strip li:first-child { padding-left: 0; }
.strip .i { width: 28px; height: 28px; color: var(--crust); stroke-width: 1.4; }
.strip strong { display: block; color: var(--ink); font-weight: 600; }

/* ---------- Secciones ---------- */
.section { padding: var(--section-y) 0; }
.section--flour { background: var(--flour); }
.section--paper2 { background: var(--paper-2); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 48px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head > div { max-width: 640px; }
.section-head__aside { max-width: 420px; color: var(--ink-2); }
.note { font-size: 14px; color: var(--ink-2); font-style: italic; }

/* ---------- Productos ---------- */
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.product { display: flex; flex-direction: column; background: var(--paper-2); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
.product__media { aspect-ratio: 4 / 3.3; overflow: hidden; background: var(--flour); }
.product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.product:hover .product__media img { transform: scale(1.04); }
.product__body { display: flex; flex-direction: column; gap: 12px; padding: 22px 22px 24px; flex: 1; }
.product h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.15; }
.product p { font-size: 16px; color: var(--ink-2); }
.product__list { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); display: flex; flex-wrap: wrap; gap: 6px; }
.product__list li { font-size: 13px; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--flour); color: var(--ink); }
.products-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 28px; }
.badge-real { position: absolute; left: 12px; top: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(42, 33, 27, .78); color: var(--on-dark); font-size: 12px; font-weight: 500; }
.product__media, .tienda__media figure { position: relative; }

/* ---------- Sin azúcar ---------- */
.sugar { background: var(--oven); color: var(--on-dark); }
.sugar__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.sugar .h2 { color: var(--on-dark); }
.sugar .lead { color: var(--on-dark-2); margin-top: 20px; }
.sugar .btn-row { margin-top: 32px; }
/* Cartela: replica el marco de esquinas cóncavas del logotipo */
.cartela, .cartela__ring, .cartela__in {
  --r: 26px;
  -webkit-mask:
    radial-gradient(circle var(--r) at 0 0, #0000 98%, #000) top left,
    radial-gradient(circle var(--r) at 100% 0, #0000 98%, #000) top right,
    radial-gradient(circle var(--r) at 0 100%, #0000 98%, #000) bottom left,
    radial-gradient(circle var(--r) at 100% 100%, #0000 98%, #000) bottom right;
  -webkit-mask-size: 51% 51%; -webkit-mask-repeat: no-repeat;
  mask:
    radial-gradient(circle var(--r) at 0 0, #0000 98%, #000) top left,
    radial-gradient(circle var(--r) at 100% 0, #0000 98%, #000) top right,
    radial-gradient(circle var(--r) at 0 100%, #0000 98%, #000) bottom left,
    radial-gradient(circle var(--r) at 100% 100%, #0000 98%, #000) bottom right;
  mask-size: 51% 51%; mask-repeat: no-repeat;
}
.cartela { background: var(--paper); padding: 12px; color: var(--ink); max-width: 520px; width: 100%; justify-self: end; }
.cartela__ring { --r: 18px; background: var(--ink); padding: 2px; }
.cartela__in { --r: 20px; background: var(--paper); padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 44px); text-align: center; }
.cartela__kicker { font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--crust); }
.cartela__title { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4.4vw, 56px); line-height: 1.05; margin-top: 6px; }
.cartela__list { margin-top: 24px; text-align: left; }
.cartela__list li { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; font-size: 16px; }
.cartela__list li > span:first-child { font-weight: 600; }
.cartela__list li > span:last-child { color: var(--ink-2); white-space: nowrap; }
.cartela__dots { flex: 1; min-width: 16px; border-bottom: 2px dotted rgba(42, 33, 27, .35); transform: translateY(-4px); }
.cartela__foot { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.sugar__quote { margin-top: 28px; padding-left: 20px; border-left: 2px solid var(--crust-2); font-family: var(--serif); font-size: 20px; line-height: 1.4; color: var(--on-dark); }
.sugar__quote cite { display: block; margin-top: 8px; font-family: var(--sans); font-style: normal; font-size: 14px; color: var(--on-dark-2); }

/* ---------- La tienda ---------- */
.tienda { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.tienda__media { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; align-items: end; }
.tienda__media figure { border-radius: var(--radius); overflow: hidden; background: var(--flour); }
.tienda__media figure:first-child { aspect-ratio: 3 / 4; }
.tienda__media figure:last-child { aspect-ratio: 4 / 5; margin-bottom: 48px; }
.tienda__media img { width: 100%; height: 100%; object-fit: cover; }
.tienda .lead { margin-top: 20px; }
.features { margin-top: 36px; display: grid; gap: 22px; }
.features li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.features__ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--flour); color: var(--crust); }
.features__ico .i { width: 22px; height: 22px; }
.features h3 { font-family: var(--sans); font-size: 17px; font-weight: 600; line-height: 1.35; }
.features p { color: var(--ink-2); font-size: 16px; margin-top: 2px; }

/* ---------- Encargos ---------- */
.orders { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); }
.order {
  position: relative; padding: 30px 24px 26px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 10px;
}
.order::before {
  content: ""; position: absolute; inset: 6px; border: 1px solid var(--line-soft); border-radius: 10px; pointer-events: none;
}
.order__when { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--crust); }
.order h3 { font-family: var(--serif); font-weight: 400; font-size: 23px; line-height: 1.15; }
.order p { color: var(--ink-2); font-size: 16px; }
.order--featured { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.order--featured::before { border-color: rgba(246, 239, 227, .18); }
.order--featured p { color: var(--on-dark-2); }
.order--featured .order__when { color: var(--awning); }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.steps li { padding: 24px 28px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.steps__n { font-family: var(--serif); font-size: 34px; line-height: 1; color: var(--crust); }
.steps h3 { font-size: 17px; font-weight: 600; line-height: 1.35; }
.steps p { color: var(--ink-2); font-size: 16px; }
.orders-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 40px; }

/* ---------- Reseñas ---------- */
.rating { display: flex; align-items: center; gap: 18px; }
.rating__score { font-family: var(--serif); font-size: 64px; line-height: 1; }
.stars { display: flex; gap: 3px; color: var(--crust-2); }
.stars svg { width: 18px; height: 18px; fill: currentColor; }
.rating__meta { font-size: 14px; color: var(--ink-2); margin-top: 4px; }
.reviews-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.reviews { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); }
.review figure { height: 100%; display: flex; flex-direction: column; gap: 20px; padding: 28px 26px; background: var(--paper-2); border: 1px solid var(--line-soft); border-radius: var(--radius); }
.review blockquote { font-family: var(--serif); font-size: 19px; line-height: 1.45; flex: 1; }
.review blockquote::before { content: "“"; display: block; font-size: 48px; line-height: .6; height: 22px; color: var(--crust); }
.review figcaption { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; }
.review figcaption small { display: block; font-weight: 400; color: var(--ink-2); font-size: 13px; }
.review__avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--flour); color: var(--crust); font-family: var(--serif); font-weight: 400; font-size: 17px; flex: none; }
.reviews-note { margin-top: 20px; }

/* ---------- Preguntas frecuentes ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-wrap .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header-total) + 32px); }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { margin: 0; font-size: inherit; }
.faq__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; text-align: left;
  padding: 22px 0; background: none; border: 0; cursor: pointer;
  font-family: var(--serif); font-weight: 400; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.3; color: var(--ink);
}
.faq__btn:hover { color: var(--crust); }
.faq__icon { position: relative; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line); flex: none; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__btn[aria-expanded="true"] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a { padding: 0 52px 24px 0; color: var(--ink-2); }
.faq__a p + p { margin-top: 10px; }
.faq__a[hidden] { display: none; }

/* ---------- Visítanos ---------- */
.visit { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: stretch; }
.map { position: relative; min-height: 460px; border-radius: var(--radius); overflow: hidden; background: var(--flour-2); border: 1px solid var(--line-soft); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.visit__addr { margin-top: 22px; font-size: 18px; line-height: 1.5; }
.visit__tel { margin-top: 14px; }
.visit__tel a { font-size: 28px; font-weight: 600; letter-spacing: .01em; text-decoration: none; font-variant-numeric: lining-nums; }
.visit__how { margin-top: 14px; font-size: 16px; color: var(--ink-2); }
.visit .btn-row { margin-top: 22px; }
.visit .open-now { margin-top: 28px; }
.hours { margin-top: 16px; border-top: 1px solid var(--line); }
.hours div { display: flex; justify-content: space-between; gap: 24px; padding: 11px 0; border-bottom: 1px solid var(--line-soft); }
.hours dt { font-weight: 500; }
.hours dd { color: var(--ink-2); text-align: right; font-variant-numeric: tabular-nums; }
.hours div.is-today dt, .hours div.is-today dd { color: var(--ink); font-weight: 700; }
.hours div.is-today dt::after { content: " · hoy"; font-weight: 400; color: var(--crust); }

/* ---------- Pie ---------- */
.footer { background: var(--oven); color: var(--on-dark); padding: var(--section-y) 0 36px; }
.footer a:not(.btn) { color: var(--on-dark); }
.footer a:not(.btn):hover { color: var(--awning); }
.footer__cta { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 32px 64px; align-items: end; }
.footer__title { font-size: clamp(38px, 5.4vw, 72px); line-height: 1.04; }
.footer__title .accent { color: var(--awning); }
.footer__cta p { color: var(--on-dark-2); margin-top: 18px; max-width: 32em; }
.footer__cta .btn-row { justify-content: flex-end; }
.footer__bottom {
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px 40px; align-items: center;
  margin-top: clamp(56px, 8vw, 104px); padding-top: 28px; border-top: 1px solid rgba(246, 239, 227, .16);
}
.footer__logo { width: 120px; height: auto; }
.footer__info { font-size: 14px; color: var(--on-dark-2); line-height: 1.6; }
.footer__links { display: flex; flex-wrap: wrap; gap: 4px 22px; justify-content: flex-end; font-size: 14px; }
.footer__links a { padding: 8px 0; }
.footer__credits { grid-column: 1 / -1; font-size: 12.5px; color: #B9A88F; line-height: 1.6; }
.footer .footer__credits a { color: #CDBDA4; }
.footer .footer__credits a:hover { color: var(--on-dark); }

/* ---------- Barra fija móvil ---------- */
.actionbar { display: none; }

/* ---------- Aparición al hacer scroll (solo con JS activo) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.anim-fade { animation: fadeUp .9s var(--ease) var(--d, 0s) both; }

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .nav__links { display: none; }
  .burger { display: inline-block; }
  .products, .orders, .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip li:nth-child(3) { border-left: 0; padding-left: 0; }
  .strip li:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
}
@media (max-width: 900px) {
  .hero__grid, .sugar__grid, .tienda, .visit, .faq-wrap, .footer__cta { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { justify-self: start; max-width: 460px; }
  .cartela { justify-self: start; }
  .tienda__media { max-width: 560px; }
  .faq-wrap .section-head { position: static; }
  .map { min-height: 360px; }
  .footer__cta .btn-row { justify-content: flex-start; }
  .footer__bottom { grid-template-columns: 1fr; }
  .footer__links { justify-content: flex-start; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li, .steps li + li { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .nav__tel span { display: none; }
}
@media (max-width: 560px) {
  :root { --banner-h: 48px; --header-h: 64px; }
  body { font-size: 16px; padding-bottom: 76px; }
  .brand img { width: 78px; }
  .nav__cta, .nav__tel { display: none; }
  .btn-row .btn, .orders-cta .btn { width: 100%; }
  .cartela__list li { font-size: 15px; gap: 8px; }
  .products, .orders, .reviews { grid-template-columns: minmax(0, 1fr); }
  .strip ul { grid-template-columns: minmax(0, 1fr); }
  .strip li, .strip li:nth-child(3) { padding: 16px 0; border-left: 0 !important; }
  .strip li + li { border-top: 1px solid var(--line-soft); }
  .hero__visual { padding-bottom: 40px; }
  .hero__tag { right: 0; bottom: 8px; padding: 10px 14px; }
  .tienda__media { gap: 10px; }
  .tienda__media figure:last-child { margin-bottom: 28px; }
  .faq__a { padding-right: 0; }
  .rating__score { font-size: 54px; }
  .footer { padding-bottom: 28px; }
  .actionbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(244, 236, 222, .96);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  }
  .actionbar .btn { min-height: 50px; padding: 10px 12px; font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* Ajuste tipográfico: evita palabras sueltas en la última línea */
p, li, dd, blockquote { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
