:root {
  --bg: #FBF7F0;
  --bg-soft: #F5EBDF;
  --bg-rosa: #F3E1D9;
  --blanco: #FFFFFF;
  --ink: #3B2A21;
  --ink-soft: #6E5847;
  --rosa: #C97B6D;
  --rosa-deep: #A85D4F;
  --oro: #B08A4F;
  --wsp: #128140;
  --wsp-hover: #0E6A34;
  --footer-bg: #32211A;
  --footer-ink: #E9DCCB;
  --border: #E7DAC8;
  --radius-card: 16px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Jost", "Segoe UI", Arial, sans-serif;
  --nav-h: 70px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

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

.section { padding: 4.5rem 0; }

.section-head { max-width: 40rem; margin-bottom: 2.5rem; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 0.6rem; }
.section-head p { color: var(--ink-soft); max-width: 34rem; }
.section-head.centered { margin-inline: auto; text-align: center; }
.section-head.centered p { margin-inline: auto; }

.eyebrow {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rosa-deep);
  font-weight: 500;
  margin-bottom: 0.7rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  min-height: 48px;
}

.btn:active { transform: scale(0.98); }

.btn-wsp {
  background: var(--wsp);
  color: #FFFFFF;
}
.btn-wsp:hover { background: var(--wsp-hover); }

.btn-outline {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn-outline:hover { background: var(--ink); color: var(--bg); }

.btn-light {
  background: var(--bg);
  color: var(--ink);
}
.btn-light:hover { background: var(--blanco); }

.link-wsp {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--wsp);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.4rem 0;
  min-height: 44px;
}
.link-wsp:hover { color: var(--wsp-hover); }

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  height: var(--nav-h);
  background: rgba(251, 247, 240, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand span { color: var(--rosa-deep); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 400;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--rosa-deep); }

.nav-actions { display: flex; align-items: center; gap: 0.8rem; }

.lang-toggle {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
  color: var(--ink-soft);
  min-height: 40px;
}
.lang-toggle:hover { border-color: var(--ink-soft); color: var(--ink); }

.nav-wsp { padding: 0.55rem 1.2rem; min-height: 42px; font-size: 0.88rem; }

.nav-burger {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--ink);
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
}

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

.hero {
  padding-top: calc(var(--nav-h) + 3rem);
  padding-bottom: 4rem;
  background: var(--bg-soft);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 5.2vw, 3.7rem);
  margin-bottom: 1rem;
}

.hero-copy p {
  color: var(--ink-soft);
  font-size: 1.08rem;
  max-width: 30rem;
  margin-bottom: 1.8rem;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero-photo {
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
  box-shadow: 0 24px 48px rgba(59, 42, 33, 0.16);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Sellos ---------- */

.badges {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 2.2rem 0;
}
.badges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.badge-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.badge-item i {
  font-size: 1.7rem;
  color: var(--rosa-deep);
  flex-shrink: 0;
}
.badge-item p { font-size: 0.92rem; font-weight: 500; line-height: 1.35; }

/* ---------- Categorías (bento) ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 215px;
  gap: 1.1rem;
}

.bento-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--blanco);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.bento-card.tall { grid-row: span 2; grid-column: span 2; }
.bento-card.wide { grid-column: span 2; }

.bento-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.5s ease;
}
.bento-card:hover img { transform: scale(1.045); }

.bento-card .bento-label {
  position: relative;
  margin-top: auto;
  padding: 1rem 1.2rem;
  background: linear-gradient(to top, rgba(40, 24, 16, 0.82), rgba(40, 24, 16, 0));
  color: #FFF6EC;
}
.bento-label h3 { font-size: 1.3rem; margin-bottom: 0.15rem; color: #FFF6EC; }
.bento-label .link-wsp { color: #9BE8B7; font-size: 0.85rem; min-height: auto; padding: 0.15rem 0; }
.bento-label .link-wsp:hover { color: #C9F5DB; }

/* ---------- Producto héroe ---------- */

.hero-product {
  background: var(--bg-rosa);
}
.hero-product-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
}
.hero-product-photo {
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.hero-product-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-product-copy h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 0.9rem; }
.hero-product-copy p { color: var(--ink-soft); max-width: 30rem; margin-bottom: 1.6rem; }

/* ---------- Galería preview ---------- */

.occasion-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.8rem;
}
.chip {
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid var(--border);
  background: var(--blanco);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  min-height: 42px;
}
.chip.active, .chip:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.gallery-grid a, .gallery-grid figure {
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 3 / 3.6;
  position: relative;
  margin: 0;
}
.gallery-grid img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-grid a:hover img, .gallery-grid figure:hover img { transform: scale(1.05); }

.gallery-cta { margin-top: 2rem; display: flex; justify-content: center; gap: 0.9rem; flex-wrap: wrap; }

/* ---------- Historia ---------- */

.story { background: var(--bg); }
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.story-photo {
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4 / 4.4;
}
.story-photo img { width: 100%; height: 100%; object-fit: cover; }
.story-copy h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 1rem; }
.story-copy p { color: var(--ink-soft); margin-bottom: 1rem; max-width: 32rem; }

/* ---------- Cafetería band ---------- */

.cafe-band {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.cafe-band > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cafe-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(40, 24, 16, 0.72) 0%, rgba(40, 24, 16, 0.25) 65%, rgba(40, 24, 16, 0.05) 100%);
}
.cafe-band .container { position: relative; z-index: 2; }
.cafe-copy { max-width: 30rem; color: #FFF6EC; padding: 4rem 0; }
.cafe-copy h2 { font-size: clamp(2rem, 4.5vw, 2.9rem); margin-bottom: 0.9rem; color: #FFF6EC; }
.cafe-copy p { margin-bottom: 1.6rem; color: rgba(255, 246, 236, 0.88); }

/* ---------- Temporada ---------- */

.season {
  background: var(--bg-soft);
  border-block: 1px solid var(--border);
}
.season-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 2rem 0;
}
.season-inner h3 { font-size: 1.6rem; margin-bottom: 0.2rem; }
.season-inner p { color: var(--ink-soft); font-size: 0.95rem; max-width: 32rem; }

/* ---------- Testimonios ---------- */

.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.quote-card {
  background: var(--blanco);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.quote-card blockquote {
  font-family: var(--font-display);
  font-size: 1.18rem;
  line-height: 1.45;
}
.quote-card figcaption {
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.quote-card figcaption strong { color: var(--ink); font-weight: 500; }

/* ---------- Redes ---------- */

.social { background: var(--bg-rosa); }
.social-actions {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.btn-social {
  background: var(--blanco);
  color: var(--ink);
  border: 1px solid var(--border);
}
.btn-social:hover { background: var(--ink); color: var(--bg); }
.btn-social i { font-size: 1.2rem; }

/* ---------- Visítanos ---------- */

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
}
.visit-map {
  border-radius: var(--radius-card);
  overflow: hidden;
  min-height: 380px;
  border: 1px solid var(--border);
}
.visit-map iframe { width: 100%; height: 100%; border: 0; display: block; }

.visit-info h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 1.4rem; }
.visit-row {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.visit-row:last-of-type { border-bottom: none; }
.visit-row i { font-size: 1.4rem; color: var(--rosa-deep); flex-shrink: 0; margin-top: 0.15rem; }
.visit-row h3 { font-size: 1.15rem; margin-bottom: 0.15rem; }
.visit-row p { color: var(--ink-soft); font-size: 0.95rem; }
.visit-row a { color: var(--rosa-deep); font-weight: 500; }
.visit-row a:hover { text-decoration: underline; }
.visit-ctas { margin-top: 1.6rem; display: flex; gap: 0.9rem; flex-wrap: wrap; }

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

.site-footer {
  background: var(--footer-bg);
  color: var(--footer-ink);
  padding: 3.5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-grid h3 {
  font-size: 1.05rem;
  color: #FFF6EC;
  margin-bottom: 0.9rem;
  font-family: var(--font-body);
  font-weight: 500;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFF6EC;
  margin-bottom: 0.8rem;
}
.footer-grid p, .footer-grid li {
  font-size: 0.92rem;
  color: rgba(233, 220, 203, 0.85);
  line-height: 1.7;
}
.footer-grid ul { list-style: none; }
.footer-grid ul a:hover { color: #FFF6EC; text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(233, 220, 203, 0.2);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(233, 220, 203, 0.7);
}
.footer-social { display: flex; gap: 1rem; }
.footer-social a {
  font-size: 1.35rem;
  color: rgba(233, 220, 203, 0.85);
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.footer-social a:hover { color: #FFF6EC; }

/* ---------- WhatsApp flotante ---------- */

.wsp-float {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 50;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wsp);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  box-shadow: 0 10px 26px rgba(18, 129, 64, 0.4);
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.wsp-float:hover { background: var(--wsp-hover); transform: translateY(-3px); }

/* ---------- Página de menú ---------- */

.page-head {
  padding-top: calc(var(--nav-h) + 3.5rem);
  padding-bottom: 3rem;
  background: var(--bg-soft);
}
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 0.8rem; }
.page-head p { color: var(--ink-soft); max-width: 36rem; }

.menu-section { padding: 3.5rem 0; }
.menu-section + .menu-section { border-top: 1px solid var(--border); }
.menu-section h2 { font-size: clamp(1.7rem, 3.5vw, 2.2rem); margin-bottom: 0.5rem; }
.menu-section > .container > p { color: var(--ink-soft); max-width: 34rem; margin-bottom: 2rem; }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.menu-card {
  background: var(--blanco);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.menu-card .menu-photo { aspect-ratio: 4 / 3; overflow: hidden; }
.menu-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.menu-card:hover img { transform: scale(1.05); }
.menu-card-body { padding: 1.2rem 1.3rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.menu-card-body h3 { font-size: 1.35rem; margin-bottom: 0.3rem; }
.menu-card-body p { color: var(--ink-soft); font-size: 0.92rem; flex: 1; margin-bottom: 0.6rem; }

/* ---------- Animación de entrada ---------- */

.reveal { opacity: 0; transform: translateY(26px); }
.reveal.visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .bento-card img, .gallery-grid img, .menu-card img { transition: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero-grid, .hero-product-grid, .story-grid, .visit-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-photo { aspect-ratio: 4 / 3; }
  .badges-grid { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .bento-card.tall { grid-column: span 2; grid-row: span 1; }
  .quotes-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 760px) {
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.2rem 1.5rem 1.6rem;
    gap: 1.1rem;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.05rem; min-height: 44px; display: flex; align-items: center; }
  .nav-burger { display: inline-flex; align-items: center; justify-content: center; }
  .nav-wsp { display: none; }
  .section { padding: 3.2rem 0; }
  .menu-grid { grid-template-columns: 1fr; }
  .cafe-band { min-height: 420px; }
  .season-inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- Botón de música ---------- */

.music-float {
  position: fixed;
  right: 1.45rem;
  bottom: 5.7rem;
  z-index: 50;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--ink);
  color: var(--bg);
  cursor: pointer;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(40, 24, 16, 0.35);
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.85;
}
.music-float:hover { transform: translateY(-2px); opacity: 1; }
.music-float.playing { opacity: 1; }
.music-float.playing i { animation: musicPulse 1.6s ease-in-out infinite; }

@keyframes musicPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}

@media (prefers-reduced-motion: reduce) {
  .music-float.playing i { animation: none; }
}

.music-credit { font-size: 0.78rem; opacity: 0.75; }

/* ---------- Temporadas, regalos, paquetes y extras ---------- */

.extras { background: var(--bg-soft); }

.extras-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.3rem;
}

.extra-card {
  background: var(--blanco);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.7rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.extra-card > i {
  font-size: 1.8rem;
  color: var(--rosa-deep);
  background: var(--bg-rosa);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.extra-card h3 { font-size: 1.3rem; }
.extra-card p { color: var(--ink-soft); font-size: 0.92rem; flex: 1; }

@media (max-width: 960px) {
  .extras-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .extras-grid { grid-template-columns: 1fr; }
}

/* ---------- Logotipos ---------- */

.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand-badge { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; }

.story-logo {
  width: 230px;
  max-width: 60%;
  mix-blend-mode: multiply;
  margin-bottom: 1rem;
}

.footer-logo {
  width: 210px;
  filter: invert(1);
  mix-blend-mode: screen;
  margin-bottom: 0.6rem;
}

/* ---------- Encabezado compacto en móvil ---------- */

@media (max-width: 760px) {
  .brand { font-size: 1rem; letter-spacing: 0.07em; gap: 0.45rem; }
  .brand-badge { width: 32px; height: 32px; }
  .nav-actions { gap: 0.5rem; }
  .lang-toggle { padding: 0.35rem 0.7rem; }
}

@media (max-width: 380px) {
  .brand { font-size: 0.88rem; letter-spacing: 0.04em; }
}
