/* Antonia — landing editorial panadería (layout distinto a Rentrip y ADNR) */
:root {
  --cream: #f7f2ea;
  --paper: #fffdf9;
  --cocoa: #2f2218;
  --wheat: #b8864f;
  --berry: #7c3d3d;
  --muted: #6b5d52;
  --line: #e8ddd0;
  --font-serif: "Fraunces", "Georgia", serif;
  --font-sans: "Nunito", system-ui, sans-serif;
  --wrap: min(1080px, 92vw);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--cocoa);
  background: var(--cream);
  line-height: 1.65;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--berry); }
a:hover { text-decoration: underline; }
address { font-style: normal; }

.wrap { width: var(--wrap); margin-inline: auto; }

/* Marquee */
.marquee {
  background: var(--cocoa);
  color: var(--cream);
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.5rem 0;
}
.marquee__track {
  display: inline-block;
  animation: scroll-marquee 28s linear infinite;
}
.marquee__track span { padding-inline: 2rem; opacity: 0.9; }
@keyframes scroll-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Header centrado */
.site-head {
  text-align: center;
  padding: 1.75rem 1rem 1rem;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.site-head__mark {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 6vw, 3rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--cocoa);
  display: inline-block;
}
.site-head__mark em {
  font-style: italic;
  color: var(--wheat);
}
.site-head__loc {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.25rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.head-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.25rem;
  margin-top: 1.1rem;
  font-size: 0.9rem;
  font-weight: 700;
}
.head-nav a {
  color: var(--cocoa);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}
.head-nav a:hover,
.head-nav a[aria-current="page"] {
  border-color: var(--wheat);
  color: var(--berry);
}
.head-nav a.tel-link {
  color: var(--berry);
}
.menu-open {
  display: none;
  position: absolute;
  right: 1rem;
  top: 1.5rem;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

/* Intro editorial */
.intro {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  text-align: center;
}
.intro h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  font-weight: 500;
  line-height: 1.15;
  max-width: 18ch;
  margin-inline: auto;
}
.intro__lead {
  margin-top: 1rem;
  color: var(--muted);
  max-width: 42rem;
  margin-inline: auto;
  font-size: 1.05rem;
}
.rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 0.88rem;
}
.rating-pill strong { color: var(--berry); }

/* Polaroid stack */
.polaroid-row {
  display: flex;
  justify-content: center;
  gap: clamp(0.75rem, 3vw, 1.5rem);
  padding: 0 1rem 3rem;
  flex-wrap: wrap;
}
.polaroid {
  background: var(--paper);
  padding: 0.65rem 0.65rem 2.5rem;
  box-shadow: 0 12px 32px rgba(47, 34, 24, 0.12);
  width: min(280px, 88vw);
  transform: rotate(var(--rot, 0deg));
}
.polaroid:nth-child(1) { --rot: -3deg; }
.polaroid:nth-child(2) { --rot: 2deg; margin-top: 1rem; }
.polaroid:nth-child(3) { --rot: -1.5deg; }
.polaroid img {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}
.polaroid figcaption {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  margin-top: 0.65rem;
  text-align: center;
  color: var(--muted);
}

/* Horno del día */
.horno-band {
  background: var(--wheat);
  color: var(--paper);
  padding: 1rem 0;
}
.horno-band .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.horno-band h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
}
.horno-band ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  list-style: none;
  font-size: 0.88rem;
  font-weight: 600;
}

/* Scroll productos */
.section-pad { padding: 3.5rem 0; }
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 0.35rem;
}
.section-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wheat);
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.scroll-cards {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem 0 1rem;
  -webkit-overflow-scrolling: touch;
}
.scroll-cards::-webkit-scrollbar { height: 6px; }
.scroll-cards::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.pcard {
  flex: 0 0 min(260px, 78vw);
  scroll-snap-align: start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem;
}
.pcard h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}
.pcard p { font-size: 0.9rem; color: var(--muted); }

/* Dos columnas historia */
.split-story {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 800px) {
  .split-story { grid-template-columns: 1fr 1fr; }
}
.split-story blockquote {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.45;
  border-left: 3px solid var(--berry);
  padding-left: 1rem;
  color: var(--cocoa);
}

/* Reseñas muro */
.wall {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 700px) {
  .wall { grid-template-columns: repeat(3, 1fr); }
}
.note {
  background: var(--paper);
  border-radius: 12px;
  padding: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
  box-shadow: 2px 3px 0 var(--line);
  transform: rotate(var(--nrot, 0deg));
}
.note:nth-child(2) { --nrot: 1deg; }
.note:nth-child(3) { --nrot: -1deg; }
.note cite {
  display: block;
  margin-top: 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cocoa);
  font-style: normal;
}

/* Visita */
.visit-card {
  background: var(--paper);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  display: grid;
}
@media (min-width: 800px) {
  .visit-card { grid-template-columns: 1fr 1.1fr; }
}
.visit-card__info { padding: 1.75rem; }
.visit-card__info dl { margin-top: 1rem; font-size: 0.92rem; }
.visit-card__info dt { font-weight: 800; margin-top: 0.65rem; }
.visit-card__info dd { color: var(--muted); margin-left: 0; }
.visit-card iframe { width: 100%; height: 100%; min-height: 280px; border: 0; }

.btn-fill {
  display: inline-block;
  margin-top: 1rem;
  background: var(--berry);
  color: var(--paper) !important;
  text-decoration: none !important;
  font-weight: 800;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-size: 0.9rem;
}
.btn-fill:hover { background: #5f2f2f; }

/* Página pan — lista menú */
.menu-sheet {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2rem clamp(1.25rem, 4vw, 2.5rem);
  max-width: 640px;
  margin: 2rem auto 3rem;
  box-shadow: 0 20px 50px rgba(47, 34, 24, 0.08);
}
.menu-group { margin-bottom: 2rem; }
.menu-group h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  border-bottom: 1px dashed var(--wheat);
  padding-bottom: 0.35rem;
  margin-bottom: 0.75rem;
}
.menu-group li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px dotted var(--line);
  font-size: 0.95rem;
}
.menu-group li span:last-child {
  color: var(--muted);
  font-size: 0.85rem;
  text-align: right;
}

.legal { padding: 3rem 0; }
.legal h1 { font-family: var(--font-serif); margin-bottom: 1rem; }
.legal p { color: var(--muted); max-width: 40rem; margin-bottom: 0.75rem; }

.site-foot {
  text-align: center;
  padding: 2rem 1rem 1.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.site-foot a { font-weight: 700; }

@media (max-width: 640px) {
  .menu-open { display: block; }
  .head-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    padding: 1rem;
    border-bottom: 1px solid var(--line);
    z-index: 30;
  }
  .head-nav.is-open { display: flex; }
}
