/* =============================================================
   IBÉRICOS MACARENA · stylesheet
   Editorial gourmet · oxblood / hueso / oro envejecido
   ============================================================= */

/* ---------- Tokens ---------- */
:root {
  --ink: #1a1410;
  --ink-soft: #3a2f28;
  --bone: #f5efe5;
  --bone-deep: #ece4d4;
  --paper: #faf6ee;
  --oxblood: #6b1d1d;
  --oxblood-deep: #4a1212;
  --rust: #a64020;
  --gold: #b8924a;
  --gold-soft: #d9b876;
  --wood: #8b5a2b;
  --line: rgba(26, 20, 16, 0.14);
  --line-soft: rgba(26, 20, 16, 0.08);
  --shadow-sm: 0 1px 2px rgba(26,20,16,.06), 0 4px 16px rgba(26,20,16,.06);
  --shadow-md: 0 8px 24px rgba(26,20,16,.10), 0 24px 56px -16px rgba(26,20,16,.18);
  --shadow-lg: 0 12px 40px rgba(26,20,16,.18), 0 32px 80px -16px rgba(26,20,16,.30);

  --ff-display: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --ff-body: "Manrope", -apple-system, "Segoe UI", sans-serif;

  --container: 1180px;
  --radius: 4px;
  --radius-lg: 14px;

  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Utilities ---------- */
.is-hidden { display: none !important; }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, iframe { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font: inherit; color: inherit; }

/* ---------- Tipografía ---------- */
h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
h1 em, h2 em, h3 em { font-style: italic; font-weight: 400; color: var(--oxblood); }

.eyebrow {
  font-family: var(--ff-body);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--oxblood);
  font-weight: 600;
  margin: 0 0 18px;
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  border-radius: 100px;
  background: transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--ink);
  color: var(--bone);
  box-shadow: 0 4px 18px -6px rgba(26,20,16,.5);
}
.btn-primary:hover { background: var(--oxblood); box-shadow: 0 8px 24px -6px rgba(107,29,29,.55); }

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

.btn-ghost {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--bone); border-color: var(--ink); }

.btn-block { width: 100%; }

.btn-link {
  background: none; border: 0; padding: 0;
  color: var(--oxblood); font-weight: 600;
  cursor: pointer;
  position: relative;
}
.btn-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: currentColor; transform: scaleX(.4); transform-origin: left;
  transition: transform .3s var(--ease);
}
.btn-link:hover::after { transform: scaleX(1); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 238, 0.78);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), padding .3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(250, 246, 238, 0.94);
  border-color: var(--line-soft);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--ink);
}
.brand-mark { color: var(--oxblood); display: inline-flex; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--ff-display);
  font-size: 19px; font-weight: 600;
  font-variation-settings: "opsz" 144, "SOFT" 60;
  letter-spacing: -0.01em;
}
.brand-sub {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 4px;
}

.nav { display: flex; align-items: center; gap: 30px; }
.nav a, .nav button.btn-link {
  font-size: 14px; font-weight: 500; color: var(--ink);
  position: relative;
  padding: 6px 0;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  transition: border-color .25s var(--ease), background .25s var(--ease);
  margin-left: 4px;
  flex-shrink: 0;
}
.nav-toggle:hover {
  border-color: var(--ink);
  background: var(--bone);
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  margin: 0 auto;
  border-radius: 2px;
  transition: transform .35s var(--ease), opacity .25s var(--ease);
}
/* Animación a "X" cuando está abierto (usamos aria-expanded del nuevo drawer) */
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* =============================================================
   HERO
============================================================= */
.hero {
  position: relative;
  min-height: clamp(640px, 92vh, 920px);
  display: flex; align-items: center;
  background: linear-gradient(180deg, #1a1410 0%, #221814 50%, #2a1d18 100%);
  color: var(--bone);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; color: var(--gold-soft); }
.hero-noise {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(184,146,74,.18), transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(107,29,29,.45), transparent 55%);
  mix-blend-mode: screen;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: .22; mix-blend-mode: overlay;
}
.hero-deco { position: absolute; height: 110%; top: -5%; opacity: .9; }
.hero-deco--left { left: -3%; }
.hero-deco--right { right: -3%; transform: scaleX(-1); }
@media (max-width: 720px) { .hero-deco { display: none; } }

.hero-inner {
  position: relative; z-index: 2;
  padding: 100px 28px 120px;
  width: 100%;
}
.hero-inner .eyebrow { color: var(--gold-soft); }
.hero-title {
  font-size: clamp(56px, 11vw, 168px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.92;
  font-variation-settings: "opsz" 144, "SOFT" 80;
  margin-bottom: 28px;
}
.hero-title em {
  color: var(--gold-soft);
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.hero-sub {
  font-size: clamp(17px, 2.1vw, 22px);
  max-width: 620px;
  color: rgba(245, 239, 229, 0.82);
  margin: 0 0 36px;
  line-height: 1.5;
}
.hero-sub strong { color: var(--bone); font-weight: 600; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-cta .btn-primary { background: var(--bone); color: var(--ink); }
.hero-cta .btn-primary:hover { background: var(--gold-soft); color: var(--ink); }
.hero-cta .btn-ghost { color: var(--bone); border-color: rgba(245,239,229,.3); }
.hero-cta .btn-ghost:hover { background: rgba(245,239,229,.08); border-color: var(--bone); }

.hero-meta {
  list-style: none; padding: 0; margin: 64px 0 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  border-top: 1px solid rgba(245,239,229,.14);
  padding-top: 28px;
  max-width: 880px;
}
.hero-meta li { display: flex; flex-direction: column; gap: 6px; }
.hero-meta .label {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-soft); font-weight: 600;
}
.hero-meta li > span:not(.label) { color: rgba(245,239,229,.85); font-size: 14px; }
@media (max-width: 720px) {
  .hero-meta { grid-template-columns: 1fr; gap: 18px; }
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  width: 22px; height: 36px; border: 1px solid rgba(245,239,229,.35);
  border-radius: 100px;
  z-index: 2;
}
.scroll-cue span {
  position: absolute; top: 8px; left: 50%; width: 2px; height: 6px;
  background: var(--bone); transform: translateX(-50%);
  border-radius: 2px;
  animation: cue 1.6s var(--ease) infinite;
}
@keyframes cue {
  0% { opacity: 0; transform: translate(-50%, 0); }
  35% { opacity: 1; }
  80%, 100% { opacity: 0; transform: translate(-50%, 14px); }
}

/* =============================================================
   SECCIONES (genérico)
============================================================= */
.section {
  padding: clamp(72px, 9vw, 130px) 0;
  position: relative;
}
.section-head {
  max-width: 760px; margin: 0 auto 56px; text-align: center;
}
.section-title {
  font-size: clamp(40px, 6vw, 78px);
  margin-bottom: 18px;
  font-variation-settings: "opsz" 144, "SOFT" 60;
}
.section-lead {
  font-size: 17px; color: var(--ink-soft);
  max-width: 580px; margin: 0 auto;
}

/* =============================================================
   PRODUCTOS
============================================================= */
.products { background: var(--paper); }

.product-filters {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin-bottom: 56px;
}
.chip {
  padding: 9px 18px;
  border: 0;
  background: transparent;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: color .25s var(--ease);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}
.product-card {
  background: var(--bone);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  position: relative;
  display: flex; flex-direction: column;
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--ink);
}
.product-media {
  position: relative;
  aspect-ratio: 4/5;
  background:
    radial-gradient(circle at 30% 30%, rgba(184,146,74,.35), transparent 60%),
    linear-gradient(140deg, #3a1818, #6b1d1d 60%, #2a1010);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.product-media::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='2'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .35 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: .25; mix-blend-mode: overlay;
}
.product-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease);
}
.product-card:hover .product-media img { transform: scale(1.06); }
.product-mark {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 96px;
  color: rgba(245, 239, 229, .14);
  font-weight: 400;
  line-height: 1;
  user-select: none;
  position: relative;
}
.product-tag {
  position: absolute; top: 14px; left: 14px;
  padding: 5px 10px;
  background: rgba(245,239,229,.92);
  border-radius: 100px;
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 600; color: var(--oxblood);
}
.product-body {
  padding: 22px 22px 24px;
  display: flex; flex-direction: column; gap: 6px;
  flex: 1;
}
.product-name {
  font-family: var(--ff-display);
  font-size: 22px; font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  letter-spacing: -0.01em;
}
.product-desc {
  font-size: 14px; color: var(--ink-soft); margin: 0;
  line-height: 1.55;
}
.product-foot {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}
.product-price {
  font-family: var(--ff-display);
  font-size: 20px; font-weight: 500;
  color: var(--oxblood);
}
.product-cta {
  font-size: 13px; font-weight: 600; color: var(--ink);
  display: inline-flex; align-items: center; gap: 6px;
}
.product-card:hover .product-cta { color: var(--oxblood); }

.product-card.skeleton {
  background: linear-gradient(110deg, var(--bone-deep) 30%, var(--paper) 50%, var(--bone-deep) 70%);
  background-size: 200% 100%;
  animation: shimmer 1.6s linear infinite;
  height: 460px;
  border: 1px solid var(--line-soft);
  cursor: default;
}
.product-card.skeleton:hover { transform: none; box-shadow: none; }
@keyframes shimmer { to { background-position: -200% 0; } }

.products-foot {
  margin-top: 60px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.products-foot p { color: var(--ink-soft); margin: 0; }

/* =============================================================
   ABOUT
============================================================= */
.about { background: var(--bone); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
@media (max-width: 880px) { .about-grid { grid-template-columns: 1fr; gap: 48px; } }

.about-frame { position: relative; }
.about-photo {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 30% 20%, rgba(184,146,74,.4), transparent 60%),
    linear-gradient(160deg, #2a1d18, #6b1d1d 70%, #4a1212);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
  box-shadow: var(--shadow-lg);
}
.about-photo::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1' numOctaves='2'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .4 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: .2; mix-blend-mode: overlay;
}
.about-photo-mark {
  font-family: var(--ff-display);
  font-style: italic; font-weight: 300;
  font-size: clamp(180px, 28vw, 320px);
  color: rgba(245,239,229,.18);
  line-height: 1; user-select: none;
}
.about-tag {
  position: absolute; bottom: -28px; right: -20px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 16px 22px;
  border-radius: 100px;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 18px;
  line-height: 1.15;
  color: var(--oxblood);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
@media (max-width: 600px) { .about-tag { right: 0; bottom: -22px; padding: 12px 18px; font-size: 15px; } }

.about-text .section-title { text-align: left; font-size: clamp(36px, 5vw, 64px); }
.about-text p { color: var(--ink-soft); margin: 0 0 18px; max-width: 540px; }
.about-text p strong { color: var(--ink); font-weight: 600; }

.about-points {
  list-style: none; padding: 0; margin: 36px 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.about-points li { display: flex; flex-direction: column; gap: 4px; }
.about-points strong {
  font-family: var(--ff-display);
  font-size: 30px; font-weight: 500; color: var(--oxblood);
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
.about-points span { font-size: 12px; color: var(--ink-soft); letter-spacing: 0.05em; }

/* =============================================================
   RESEÑAS
============================================================= */
.reviews {
  background:
    linear-gradient(180deg, var(--bone) 0%, var(--paper) 100%);
  position: relative;
}
.reviews::before {
  content: "\201C";
  position: absolute;
  top: 40px; left: 50%; transform: translateX(-50%);
  font-family: var(--ff-display);
  font-size: 280px; line-height: 1; color: var(--oxblood); opacity: 0.06;
  font-style: italic;
  pointer-events: none;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}
.review-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 28px 26px 24px;
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.review-stars { display: inline-flex; gap: 2px; color: var(--gold); }
.review-text {
  font-family: var(--ff-display);
  font-size: 19px; font-style: italic; font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 80;
  line-height: 1.45;
  color: var(--ink);
  margin: 0;
}
.review-author {
  display: flex; align-items: center; gap: 12px;
  margin-top: auto; padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}
.review-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--ink); color: var(--bone);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display);
  font-weight: 500; font-size: 16px;
}
.review-name { font-size: 14px; font-weight: 600; }
.review-date { font-size: 12px; color: var(--ink-soft); }

.reviews-cta { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.reviews-cta p { color: var(--ink-soft); margin: 0; }

/* =============================================================
   CONTACTO + MAPA
============================================================= */
.contact { background: var(--ink); color: var(--bone); }
.contact .section-title em { color: var(--gold-soft); }
.contact .eyebrow { color: var(--gold-soft); }
.contact .section-lead { color: rgba(245,239,229,.7); }

.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  align-items: stretch;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 36px; } }

.contact-info .section-title { text-align: left; font-size: clamp(36px, 5vw, 60px); }

.contact-list {
  list-style: none; padding: 0; margin: 36px 0 28px;
  display: flex; flex-direction: column; gap: 22px;
}
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.ci-icon {
  flex: 0 0 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(245,239,229,.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-soft);
}
.ci-label {
  display: block;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 600; color: var(--gold-soft); margin-bottom: 4px;
}
.contact-list address { font-style: normal; color: rgba(245,239,229,.92); line-height: 1.55; font-size: 15px; }
.contact-list a { color: var(--bone); border-bottom: 1px solid rgba(245,239,229,.2); padding-bottom: 1px; transition: border-color .25s var(--ease); }
.contact-list a:hover { border-color: var(--gold-soft); }
.ci-hint { display: block; font-size: 12px; color: rgba(245,239,229,.5); margin-top: 4px; }

.hours { font-size: 14px; border-collapse: collapse; }
.hours th { text-align: left; padding: 4px 24px 4px 0; font-weight: 500; color: rgba(245,239,229,.6); font-size: 13px; }
.hours td { color: rgba(245,239,229,.9); padding: 4px 0; }

.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.contact-actions .btn-primary { background: var(--bone); color: var(--ink); }
.contact-actions .btn-primary:hover { background: var(--gold-soft); }
.contact-actions .btn-ghost { color: var(--bone); border-color: rgba(245,239,229,.3); }
.contact-actions .btn-ghost:hover { background: rgba(245,239,229,.08); border-color: var(--bone); }

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(245,239,229,.14);
  min-height: 520px;
  background: #2a1d18;
  box-shadow: var(--shadow-lg);
}
.contact-map iframe { filter: grayscale(.25) contrast(1.05); }

/* =============================================================
   FOOTER
============================================================= */
.site-footer {
  background: var(--ink);
  color: rgba(245,239,229,.7);
  border-top: 1px solid rgba(245,239,229,.06);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(245,239,229,.08);
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
}
.footer-brand .brand-name {
  font-family: var(--ff-display); font-size: 26px; color: var(--bone);
  font-variation-settings: "opsz" 144, "SOFT" 60;
}
.footer-brand p { font-size: 14px; max-width: 320px; margin: 10px 0 0; line-height: 1.6; }
.footer-col h4 {
  font-family: var(--ff-body);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 600; color: var(--gold-soft);
  margin: 0 0 14px;
}
.footer-col a, .footer-col button {
  display: block; padding: 5px 0;
  font-size: 14px; color: rgba(245,239,229,.8);
  text-align: left;
  transition: color .2s var(--ease);
}
.footer-col a:hover, .footer-col button:hover { color: var(--bone); }
.footer-col .btn-link { color: rgba(245,239,229,.8); }
.footer-col .btn-link::after { background: rgba(245,239,229,.6); }

.footer-bottom {
  padding-top: 24px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 12px; color: rgba(245,239,229,.5);
}

/* =============================================================
   AUTH MODAL
============================================================= */
.auth-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(26,20,16,.6);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease);
}
.auth-overlay.is-open { opacity: 1; pointer-events: auto; }
.auth-modal {
  background: var(--paper);
  border-radius: var(--radius-lg);
  width: 100%; max-width: 440px;
  padding: 36px 32px 32px;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(14px) scale(.98); opacity: 0;
  transition: transform .35s var(--ease), opacity .3s var(--ease);
  max-height: 92vh; overflow-y: auto;
}
.auth-overlay.is-open .auth-modal { transform: translateY(0) scale(1); opacity: 1; }

.auth-close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px;
  border-radius: 50%; background: transparent;
  border: 1px solid var(--line);
  font-size: 22px; color: var(--ink-soft);
  display: flex; align-items: center; justify-content: center;
  transition: all .2s var(--ease);
}
.auth-close:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); }

.auth-tabs {
  display: flex; gap: 4px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.auth-tab {
  padding: 12px 4px;
  background: transparent; border: 0;
  font-size: 14px; font-weight: 600;
  color: var(--ink-soft);
  position: relative;
  margin-right: 22px;
}
.auth-tab.is-active { color: var(--ink); }
.auth-tab.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2px; background: var(--oxblood);
}

.auth-form { display: none; }
.auth-form.is-active { display: block; animation: fadeUp .3s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.auth-title {
  font-family: var(--ff-display);
  font-size: 28px; font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 60;
  margin-bottom: 4px;
}
.auth-sub { color: var(--ink-soft); font-size: 14px; margin: 0 0 22px; }

.field { display: block; margin-bottom: 16px; }
.field > span {
  display: block;
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 600;
  margin-bottom: 6px;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="password"] {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bone);
  font-size: 15px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus {
  outline: none; border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(107,29,29,.12);
}
.field.check {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--ink-soft);
  margin-bottom: 22px;
}
.field.check input { margin-top: 3px; accent-color: var(--oxblood); }
.field.check span { font-size: 13px; line-height: 1.5; }
.field.check a { color: var(--oxblood); text-decoration: underline; text-underline-offset: 3px; }

.auth-switch { font-size: 14px; color: var(--ink-soft); text-align: center; margin: 18px 0 0; }
.auth-feedback {
  font-size: 13px; margin: 14px 0 0;
  text-align: center; min-height: 18px;
}
.auth-feedback.is-error { color: var(--oxblood); }
.auth-feedback.is-success { color: #2d6a3a; }

/* =============================================================
   COOKIE BANNER
============================================================= */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px;
  z-index: 95;
  background: var(--ink);
  color: var(--bone);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: translateY(140%);
  transition: transform .5s var(--ease);
  max-width: 1140px;
  margin: 0 auto;
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 20px 24px;
}
@media (max-width: 720px) { .cookie-inner { grid-template-columns: 1fr; padding: 18px; } }

.cookie-text strong { display: block; font-size: 14px; margin-bottom: 4px; color: var(--gold-soft); }
.cookie-text p { margin: 0; font-size: 13.5px; color: rgba(245,239,229,.78); line-height: 1.55; max-width: 640px; }
.cookie-text a { color: var(--bone); text-decoration: underline; text-underline-offset: 3px; }

.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 11px 18px; font-size: 13px; }
.cookie-actions .btn-primary { background: var(--bone); color: var(--ink); }
.cookie-actions .btn-primary:hover { background: var(--gold-soft); }
.cookie-actions .btn-ghost { color: var(--bone); border-color: rgba(245,239,229,.25); }
.cookie-actions .btn-ghost:hover { background: rgba(245,239,229,.08); border-color: var(--bone); }
.cookie-actions .btn-outline { color: var(--bone); border-color: rgba(245,239,229,.4); }
.cookie-actions .btn-outline:hover { background: var(--bone); color: var(--ink); }

.cookie-config {
  position: fixed; inset: 0; z-index: 110;
  background: rgba(26,20,16,.6);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease);
}
.cookie-config.is-open { opacity: 1; pointer-events: auto; }
.cookie-config-modal {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 32px 28px 24px;
  max-width: 460px; width: 100%;
  position: relative;
  box-shadow: var(--shadow-lg);
  max-height: 92vh; overflow-y: auto;
}
.cookie-config h3 {
  font-family: var(--ff-display);
  font-size: 26px; margin: 0 0 4px;
  font-variation-settings: "opsz" 144, "SOFT" 60;
}
.cookie-toggle {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 10px;
  background: var(--bone);
}
.cookie-toggle strong { display: block; font-size: 14px; }
.cookie-toggle small { display: block; color: var(--ink-soft); font-size: 12.5px; line-height: 1.5; margin-top: 2px; }
.cookie-toggle input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 40px; height: 22px; border-radius: 100px;
  background: var(--line); position: relative; cursor: pointer;
  transition: background .25s var(--ease);
  flex-shrink: 0;
}
.cookie-toggle input[type="checkbox"]::before {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--paper);
  transition: transform .25s var(--ease);
}
.cookie-toggle input[type="checkbox"]:checked { background: var(--oxblood); }
.cookie-toggle input[type="checkbox"]:checked::before { transform: translateX(18px); }
.cookie-toggle input[type="checkbox"]:disabled { opacity: 0.5; cursor: not-allowed; }

.cookie-config-actions { display: flex; gap: 10px; margin-top: 14px; }
.cookie-config-actions .btn { flex: 1; }

/* =============================================================
   TOAST
============================================================= */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px);
  background: var(--ink); color: var(--bone);
  padding: 14px 22px; border-radius: 100px;
  box-shadow: var(--shadow-lg);
  font-size: 14px; font-weight: 500;
  opacity: 0; pointer-events: none;
  z-index: 200;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* =============================================================
   ANIMACIÓN DE REVELADO (scroll)
============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* =============================================================
   Selección
============================================================= */
::selection { background: var(--oxblood); color: var(--bone); }

/* =============================================================
   FORMULARIO DE RESEÑAS (v3)
============================================================= */
/* =============================================================
   MENÚ DE USUARIO (cuando hay sesión iniciada)
============================================================= */
.user-menu { position: relative; display: inline-flex; align-items: center; }
.user-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 100px;
  cursor: pointer;
  transition: border-color .25s var(--ease), background .25s var(--ease);
  font-size: 14px;
  color: var(--ink);
}
.user-trigger:hover {
  border-color: var(--ink);
  background: var(--bone);
}
.user-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--oxblood), var(--oxblood-deep));
  color: var(--bone);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0;
  flex-shrink: 0;
  box-shadow: 0 2px 6px -2px rgba(107, 29, 29, .35);
}
.user-name {
  font-weight: 500;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-chevron {
  transition: transform .25s var(--ease);
  color: var(--ink-soft);
}
.user-menu.is-open .user-chevron { transform: rotate(180deg); }

.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 240px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  z-index: 60;
}
.user-menu.is-open .user-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.user-dropdown-head {
  padding: 12px 14px 10px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.user-dropdown-head strong {
  font-family: var(--ff-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
.user-dropdown-head small {
  font-size: 12px;
  color: var(--ink-soft);
  word-break: break-all;
}
.user-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  background: transparent;
  border: 0;
  border-radius: 8px;
  text-align: left;
  cursor: pointer;
  font-size: 14px;
  color: var(--ink);
  transition: background .2s var(--ease);
}
.user-dropdown-item:hover {
  background: var(--bone);
  color: var(--oxblood);
}
.user-dropdown-item svg { color: var(--ink-soft); flex-shrink: 0; }
.user-dropdown-item:hover svg { color: var(--oxblood); }

/* En móvil, el menú de usuario queda dentro del nav desplegable */
@media (max-width: 880px) {
  .user-menu { width: 100%; padding: 8px 0; }
  .user-trigger { width: auto; }
  .user-dropdown {
    position: static;
    transform: none;
    box-shadow: none;
    border: 1px solid var(--line-soft);
    margin-top: 8px;
    width: 100%;
  }
}

/* =============================================================
   GATE DE RESEÑAS (visible cuando NO hay sesión)
============================================================= */
.review-gate {
  margin: 56px auto 32px;
  max-width: 720px;
  padding: 32px 28px;
  background: var(--bone);
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  text-align: center;
  color: var(--ink-soft);
}
.review-gate h3 {
  font-family: var(--ff-display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 500;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 50;
  margin: 0 0 8px;
}
.review-gate p { margin: 0 0 20px; }
.review-gate .gate-actions {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

/* =============================================================
   RESEÑAS · estado vacío (cuando aún no hay opiniones)
============================================================= */
.reviews-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 56px 24px;
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  color: var(--ink-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.reviews-empty svg {
  color: var(--gold-soft);
  opacity: 0.7;
  animation: emptyStar 3s var(--ease) infinite;
}
.reviews-empty h3 {
  font-family: var(--ff-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 500;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 50;
  margin: 0;
}
.reviews-empty p { margin: 0; max-width: 440px; }

@keyframes emptyStar {
  0%, 100% { transform: scale(1) rotate(0); opacity: 0.7; }
  50%      { transform: scale(1.06) rotate(-4deg); opacity: 1; }
}

.review-form-wrap {
  margin: 56px auto 32px;
  max-width: 720px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 40px 32px 32px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.review-form-wrap::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--oxblood), var(--gold-soft), var(--oxblood));
}
.review-form-head { text-align: center; margin-bottom: 28px; }
.review-form-title {
  font-family: var(--ff-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  margin: 4px 0 8px;
  font-variation-settings: "opsz" 144, "SOFT" 60;
}
.review-form-title em { color: var(--oxblood); font-style: italic; font-weight: 400; }
.review-form-lead { color: var(--ink-soft); font-size: 15px; margin: 0; }

.review-form-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  margin-bottom: 16px;
  align-items: start;
}
@media (max-width: 600px) {
  .review-form-row { grid-template-columns: 1fr; gap: 14px; }
}

.review-form .field input[type="text"],
.review-form .field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bone);
  font-family: var(--ff-body);
  font-size: 15px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.review-form .field textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.5;
}
.review-form .field input:focus,
.review-form .field textarea:focus {
  outline: none; border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(107, 29, 29, .12);
}
.field-hint {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--ink-soft);
  text-align: right;
  letter-spacing: 0.02em;
}

/* Rating de estrellas (radio buttons invertidos para CSS hover) */
.rating-input {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 2px;
  padding: 6px 0;
}
.rating-input input[type="radio"] {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}
.rating-input label {
  width: 32px; height: 32px;
  cursor: pointer;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c8b89c' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><polygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/></svg>") center / 26px no-repeat;
  transition: background-image .15s var(--ease), transform .15s var(--ease);
}
.rating-input label:hover,
.rating-input label:hover ~ label,
.rating-input input:checked ~ label {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23b8924a' stroke='%23b8924a' stroke-width='1.2' stroke-linejoin='round'><polygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/></svg>");
}
.rating-input label:hover { transform: scale(1.12); }
.rating-input input:focus-visible + label {
  outline: 2px solid var(--oxblood);
  outline-offset: 3px;
  border-radius: 4px;
}

.review-form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.review-form-feedback {
  margin: 0;
  font-size: 14px;
  min-height: 18px;
  flex: 1;
  text-align: right;
}
.review-form-feedback.is-error { color: var(--oxblood); }
.review-form-feedback.is-success { color: #2d6a3a; }
.review-form-feedback.is-loading { color: var(--ink-soft); }

/* Animación de aparición de una reseña recién publicada */
.review-card.is-new {
  animation: reviewIn .8s var(--ease) both;
  border-color: var(--gold-soft);
}
@keyframes reviewIn {
  from { opacity: 0; transform: translateY(20px) scale(.96); box-shadow: 0 0 0 0 rgba(184,146,74,.4); }
  60%  { box-shadow: 0 0 0 12px rgba(184,146,74,0); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}



/* Mantener bloque de texto en about-points alineado en línea */
.about-points strong { display: inline-flex; align-items: baseline; gap: 1px; }
.about-points strong > span {
  font-family: var(--ff-display);
  font-size: 30px;
  font-weight: 500;
  color: var(--oxblood);
  font-variation-settings: "opsz" 144, "SOFT" 50;
  line-height: 1;
}

/* Hero — animación de entrada del título */
.hero-title { animation: heroIn 1.1s var(--ease) .05s both; }
.hero-title em { animation: heroEmIn 1.4s var(--ease) .35s both; display: inline-block; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(28px); letter-spacing: -.025em; }
  to   { opacity: 1; transform: translateY(0);    letter-spacing: -.04em; }
}
@keyframes heroEmIn {
  from { opacity: 0; transform: translateY(40px) skewY(2deg); }
  to   { opacity: 1; transform: translateY(0) skewY(0); }
}

/* Brillo dorado al pasar por encima de los CTA del hero */
.hero-cta .btn-primary { position: relative; overflow: hidden; }
.hero-cta .btn-primary::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(184,146,74,.4) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .8s var(--ease);
  pointer-events: none;
}
.hero-cta .btn-primary:hover::after { transform: translateX(100%); }

/* Cards de producto — refinar hover */
.product-card { will-change: transform; }
.product-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.35));
  opacity: .4;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}
.product-card:hover .product-media::after { opacity: .65; }

/* Tag flotando suavemente */
.product-tag { transition: transform .4s var(--ease); }
.product-card:hover .product-tag { transform: translateY(-2px); }

/* Review cards — borde superior dorado al hover */
.review-card {
  position: relative;
  overflow: hidden;
}
.review-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--oxblood), var(--gold-soft), var(--oxblood));
  transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease);
}
.review-card:hover::before { transform: scaleX(1); }

/* Sección de productos — entrada suave del filtro */
.product-filters .chip {
  animation: chipIn .6s var(--ease) both;
}
.product-filters .chip:nth-child(1) { animation-delay: .05s; }
.product-filters .chip:nth-child(2) { animation-delay: .12s; }
.product-filters .chip:nth-child(3) { animation-delay: .19s; }
.product-filters .chip:nth-child(4) { animation-delay: .26s; }
.product-filters .chip:nth-child(5) { animation-delay: .33s; }
@keyframes chipIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Footer — links más vivos */
.footer-col a, .footer-col button.btn-link {
  transition: color .25s var(--ease), transform .25s var(--ease);
}
.footer-col a:hover, .footer-col button.btn-link:hover {
  transform: translateX(3px);
}

/* Map iframe — borde decorativo en hover */
.contact-map { position: relative; transition: transform .5s var(--ease); }
.contact-map:hover { transform: translateY(-2px); }

/* CTA pulse en "Cómo llegar" para guiar la mirada */
.contact-actions .btn-primary {
  animation: subtlePulse 4s var(--ease) infinite;
}
@keyframes subtlePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 239, 229, 0); }
  50%      { box-shadow: 0 0 0 8px rgba(245, 239, 229, .08); }
}

/* Ajuste fino: scrollbars elegantes en navegadores webkit */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bone-deep); }
::-webkit-scrollbar-thumb {
  background: var(--ink-soft);
  border-radius: 100px;
  border: 2px solid var(--bone-deep);
}
::-webkit-scrollbar-thumb:hover { background: var(--oxblood); }

/* Respeto a prefers-reduced-motion para las animaciones añadidas */
@media (prefers-reduced-motion: reduce) {
  .hero-title, .hero-title em,
  .product-filters .chip,
  .contact-actions .btn-primary {
    animation: none !important;
  }
  .hero-cta .btn-primary::after { display: none; }
}

/* =============================================================
   PULIDO VISUAL (v3) — refinamientos finales
   Las reglas de aquí abajo afinan espacios, jerarquía y respiración.
   Sin cambios de estructura, solo profesionalismo visual.
============================================================= */

/* —— Variables ajustadas —— */
:root {
  --section-pad-y: clamp(88px, 11vw, 150px);
}

/* —— Header: más espacio y jerarquía —— */
.site-header {
  background: rgba(250, 246, 238, 0.72);
}
.site-header.is-scrolled {
  background: rgba(250, 246, 238, 0.96);
  box-shadow: 0 1px 0 var(--line-soft), 0 8px 32px -16px rgba(26, 20, 16, 0.08);
}
.nav-wrap { padding: 22px 28px; }
.site-header.is-scrolled .nav-wrap { padding: 16px 28px; }
.brand { gap: 14px; }
.brand-name { letter-spacing: -0.015em; }
.brand-sub { letter-spacing: 0.18em; opacity: 0.75; }
.nav { gap: 36px; }
.nav a { font-weight: 450; opacity: 0.85; transition: opacity .2s var(--ease); }
.nav a:hover { opacity: 1; }

/* —— Hero: respiración refinada —— */
.hero-inner { padding: 120px 28px 130px; }
.hero-sub {
  line-height: 1.55;
  color: rgba(245, 239, 229, 0.88);
  letter-spacing: -0.005em;
}
.hero-meta {
  margin-top: 80px;
  padding-top: 36px;
  gap: 36px;
}
.hero-meta .label { letter-spacing: 0.2em; opacity: 0.85; }

/* —— Secciones: más respiración entre bloques —— */
.section { padding: var(--section-pad-y) 0; }
.section-head { margin-bottom: 72px; }
.section-title { letter-spacing: -0.025em; }
.section-lead {
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 600px;
}
.eyebrow {
  letter-spacing: 0.22em;
  font-size: 11px;
  opacity: 0.9;
}

/* —— Transiciones entre secciones —— */
/* Los cortes secos entre fondos claros y oscuros se ven más limpios.
   No usamos gradientes aquí: añaden "humo" gris sobre los fondos oscuros. */

/* —— Productos: cards más elegantes —— */
.product-grid { gap: 32px; }
.product-card {
  border-radius: 16px;
  border-color: transparent;
  background: var(--bone);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -20px rgba(26, 20, 16, .22), 0 1px 0 var(--line-soft);
  border-color: var(--line-soft);
}
.product-body { padding: 26px 24px 26px; gap: 8px; }
.product-name {
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.product-desc { line-height: 1.6; }
.product-foot {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  border-top-style: solid;
}
.product-price { letter-spacing: -0.01em; }

.product-filters { gap: 10px; margin-bottom: 64px; }
.chip { padding: 10px 20px; }

/* —— Sección Nosotros: bloque "2024 / Bellota / Local" alineado —— */
.about-points {
  margin-top: 44px;
  gap: 16px;
  padding-top: 36px;
  grid-template-columns: repeat(3, 1fr);
}
.about-points li {
  gap: 10px;
  text-align: left;
}
.about-points strong {
  font-size: 32px;
  letter-spacing: -0.02em;
  line-height: 1;
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 60;
}
.about-points span {
  font-size: 13px;
  letter-spacing: 0.04em;
  line-height: 1.4;
  color: var(--ink-soft);
  text-transform: none;
  font-weight: 400;
}

@media (max-width: 600px) {
  .about-points {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .about-points li { padding-left: 0; }
}

/* —— Reseñas: jerarquía y respiración —— */
.reviews-grid { gap: 28px; }
.review-card {
  padding: 32px 28px 26px;
  border-radius: 16px;
  border-color: transparent;
  box-shadow: 0 1px 0 var(--line-soft);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -18px rgba(26, 20, 16, .18), 0 1px 0 var(--line-soft);
}
.review-text {
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.review-author { padding-top: 16px; gap: 14px; }
.review-avatar {
  background: linear-gradient(135deg, var(--ink), var(--ink-soft));
  font-size: 15px;
}
.review-name { font-weight: 500; letter-spacing: -0.005em; }
.review-date { letter-spacing: 0.02em; }

/* —— Reviews CTA: separación —— */
.reviews-cta { margin-top: 32px; gap: 16px; }

/* —— Contacto: items con más estructura —— */
.contact-list { margin: 44px 0 32px; gap: 28px; }
.contact-list li { gap: 18px; }
.ci-icon {
  flex: 0 0 48px;
  height: 48px;
  border-color: rgba(245, 239, 229, 0.18);
}
.ci-label {
  letter-spacing: 0.2em;
  font-size: 11px;
}
.contact-list address,
.contact-list a {
  font-size: 15.5px;
  line-height: 1.6;
}
.hours { font-size: 14.5px; }
.hours th { font-size: 12px; letter-spacing: 0.04em; }

/* —— Mapa: borde más sutil —— */
.contact-map {
  border-radius: 16px;
  border-color: rgba(245, 239, 229, 0.1);
}

/* —— Footer: más aire y refinamiento —— */
.site-footer { padding: 80px 0 32px; }
.footer-grid { gap: 48px; padding-bottom: 44px; }
.footer-brand .brand-name { font-size: 28px; letter-spacing: -0.015em; }
.footer-brand p {
  font-size: 14.5px;
  line-height: 1.7;
  margin-top: 14px;
  color: rgba(245, 239, 229, 0.65);
}
.footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.2em;
  margin-bottom: 18px;
}
.footer-col a, .footer-col button {
  font-size: 14.5px;
  padding: 6px 0;
  color: rgba(245, 239, 229, 0.75);
}
.footer-bottom {
  padding-top: 28px;
  font-size: 12.5px;
  color: rgba(245, 239, 229, 0.5);
  letter-spacing: 0.01em;
}

/* —— Botones: más afinados —— */
.btn {
  font-size: 14.5px;
  font-weight: 500;
  padding: 14px 24px;
  letter-spacing: 0.005em;
}
.btn-primary {
  box-shadow: 0 6px 20px -8px rgba(26, 20, 16, 0.45);
}
.btn-primary:hover {
  box-shadow: 0 10px 28px -8px rgba(107, 29, 29, 0.5);
}

/* —— Selección de texto más visible —— */
::selection {
  background: var(--oxblood);
  color: var(--bone);
  text-shadow: none;
}

/* —— Foco accesible y elegante —— */
*:focus-visible {
  outline: 2px solid var(--oxblood);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible {
  outline-offset: 4px;
}

/* —— Inputs y forms: refinados —— */
.field input[type="text"],
.field input[type="email"],
.field input[type="password"],
.field textarea,
.review-form .field input,
.review-form .field textarea {
  border-radius: 10px;
  font-size: 15.5px;
  padding: 14px 16px;
  background: var(--paper);
  border-color: var(--line-soft);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.field input:hover,
.field textarea:hover {
  border-color: var(--line);
}
.field input:focus,
.field textarea:focus,
.review-form .field input:focus,
.review-form .field textarea:focus {
  background: var(--bone);
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(107, 29, 29, 0.08);
}

/* —— Modal de auth: más limpio —— */
.auth-modal { padding: 40px 36px 32px; border-radius: 16px; }
.auth-title { font-size: 30px; letter-spacing: -0.02em; margin-bottom: 6px; }
.auth-sub { font-size: 14.5px; line-height: 1.5; }
.auth-tabs { margin-bottom: 32px; gap: 0; }
.auth-tab { font-size: 14px; padding: 14px 4px; }

/* —— Form de reseñas: más espacio —— */
.review-form-wrap { padding: 44px 36px 36px; border-radius: 18px; }
.review-form-head { margin-bottom: 32px; }
.review-form-title { letter-spacing: -0.02em; }
.review-form .field span { font-size: 12px; letter-spacing: 0.12em; }
.review-form-foot { margin-top: 16px; }

/* —— Banner cookies: más elegante —— */
.cookie-banner { border-radius: 16px; }
.cookie-text strong { letter-spacing: 0.005em; }

/* —— Toast: más aire —— */
.toast {
  padding: 16px 26px;
  font-size: 14.5px;
  letter-spacing: 0.005em;
}

/* —— Reseñas: estado vacío, mejor balance —— */
.reviews-empty {
  padding: 72px 24px;
  border-radius: 18px;
}
.reviews-empty h3 { letter-spacing: -0.02em; }
.reviews-empty p {
  font-size: 15.5px;
  line-height: 1.6;
}

/* —— Review gate: más respiración —— */
.review-gate {
  padding: 44px 32px;
  border-radius: 18px;
}
.review-gate h3 { margin-bottom: 12px; }
.review-gate p { font-size: 15.5px; line-height: 1.6; margin-bottom: 24px; }

/* —— User dropdown: refinado —— */
.user-dropdown { border-radius: 14px; padding: 8px; min-width: 260px; }
.user-dropdown-head {
  padding: 14px 16px 12px;
}
.user-dropdown-head strong { letter-spacing: -0.005em; }
.user-dropdown-item { padding: 11px 16px; font-size: 14px; }

/* —— Section heads centrados con respiración —— */
.section-head .eyebrow { margin-bottom: 22px; }
.section-head .section-title { margin-bottom: 22px; }

/* —— Decoraciones del hero más sutiles —— */
.hero-deco {
  height: 90%;
  top: 5%;
  opacity: 0.55;
}
.hero-deco path,
.hero-deco circle {
  opacity: 0.5;
}

/* —— Microajuste: el divisor doble en hero-meta es más sutil —— */
.hero-meta { border-top-color: rgba(245, 239, 229, 0.12); }

/* —— Headings em italic: más elegante —— */
h1 em, h2 em, h3 em {
  font-style: italic;
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

/* —— Eliminar líneas de subrayado de cita en reviews para más limpieza —— */
.review-text {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 80;
}

/* =============================================================
   FASE 3 (v3) · NUEVO HEADER + DRAWER + STATUS PILL + GALERÍA
============================================================= */

/* —— Header limpio: sólo brand + status + hamburguesa —— */
.site-header .nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* —— Status pill (estado abierto/cerrado en header) —— */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 12px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: rgba(250, 246, 238, 0.6);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
  margin-left: auto;
}
.status-pill:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink-soft);
  flex-shrink: 0;
  position: relative;
}
.status-pill.is-open .status-dot {
  background: #2d7a4a;
  box-shadow: 0 0 0 0 rgba(45, 122, 74, 0.6);
  animation: pulseDot 2.4s var(--ease) infinite;
}
.status-pill.is-closed .status-dot {
  background: #b94a3b;
}
@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0   rgba(45, 122, 74, 0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(45, 122, 74, 0); }
  100% { box-shadow: 0 0 0 0   rgba(45, 122, 74, 0); }
}
.status-pill.is-open  .status-text { color: #2d7a4a; font-weight: 600; }
.status-pill.is-closed .status-text { color: #b94a3b; font-weight: 600; }

@media (max-width: 600px) {
  .status-pill { font-size: 11.5px; padding: 6px 12px 6px 10px; }
  .status-pill .status-text-extra { display: none; }
}

/* —— Drawer lateral —— */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 12, 10, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease);
  z-index: 90;
}
.nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(420px, 92vw);
  background: var(--paper);
  border-left: 1px solid var(--line-soft);
  box-shadow: -20px 0 60px -20px rgba(15, 12, 10, 0.25);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .45s cubic-bezier(.7, 0, .2, 1);
  z-index: 100;
  overflow-y: auto;
}
.nav-drawer.is-open { transform: translateX(0); }
.nav-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line-soft);
}
.nav-drawer-title {
  font-family: var(--ff-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.nav-drawer-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: border-color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease);
}
.nav-drawer-close:hover {
  border-color: var(--ink);
  background: var(--bone);
  transform: rotate(90deg);
}

/* Lista de enlaces dentro del drawer */
.nav-drawer .nav {
  display: flex !important;
  flex-direction: column;
  gap: 0;
  padding: 16px 0;
  flex: 1;
}
.nav-drawer .nav a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 18px 28px;
  font-family: var(--ff-display);
  font-size: clamp(28px, 5vw, 36px);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 70;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.015em;
  position: relative;
  border: 0;
  transition: color .25s var(--ease), padding .25s var(--ease);
}
.nav-drawer .nav a::before {
  content: "";
  position: absolute;
  left: 28px; right: 28px; bottom: 0;
  height: 1px;
  background: var(--line-soft);
  opacity: 0.5;
}
.nav-drawer .nav a:last-child::before { display: none; }
.nav-drawer .nav a:hover {
  color: var(--oxblood);
  padding-left: 38px;
}
.nav-drawer .nav .nav-num {
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  font-style: normal;
  font-variation-settings: normal;
  flex-shrink: 0;
  width: 28px;
}
.nav-drawer .nav .nav-label {
  font-style: italic;
}

.nav-drawer-foot {
  padding: 24px 28px 32px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.nav-drawer-foot .btn-block {
  width: 100%;
  justify-content: center;
}
.nav-drawer-meta {
  margin: 8px 0 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  text-align: center;
}

/* En drawer, el user-menu se muestra en bloque (no flotante) */
.nav-drawer .user-menu {
  width: 100%;
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
}
.nav-drawer .user-menu.is-hidden { display: none !important; }
.nav-drawer .user-trigger {
  width: 100%;
  justify-content: flex-start;
}
.nav-drawer .user-dropdown {
  position: static;
  transform: none;
  box-shadow: none;
  border: 1px solid var(--line-soft);
  margin-top: 10px;
  width: 100%;
  opacity: 1;
  pointer-events: auto;
}
/* Cuando NO está abierto en el drawer, ocultarlo */
.nav-drawer .user-menu:not(.is-open) .user-dropdown {
  display: none;
}

/* —— Bloque de horario en contacto: badge de temporada + estado —— */
.hours-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 100px;
  font-family: var(--ff-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(245, 239, 229, 0.1);
  border: 1px solid rgba(245, 239, 229, 0.18);
  color: var(--paper);
  margin-left: 8px;
  vertical-align: middle;
}
.hours-status {
  margin: 12px 0 0;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 100px;
  background: rgba(245, 239, 229, 0.06);
  border: 1px solid rgba(245, 239, 229, 0.14);
  letter-spacing: 0.005em;
}
.hours-status::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(245, 239, 229, 0.4);
  flex-shrink: 0;
}
.hours-status.is-open::before { background: #6fb585; box-shadow: 0 0 8px rgba(111, 181, 133, 0.5); }
.hours-status.is-closed::before { background: #d56b5c; }
.hours-status.is-open    { color: #a8d4b4; }
.hours-status.is-closed  { color: #e8a99c; }

.hours tr.is-today th,
.hours tr.is-today td {
  color: var(--paper);
  font-weight: 500;
}
.hours tr.is-today th::before {
  content: "→ ";
  color: var(--gold-soft);
  font-weight: 600;
}

/* =============================================================
   GALERÍA
============================================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  grid-auto-rows: 240px;
  grid-auto-flow: dense;
}
.gallery-grid .gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  cursor: pointer;
  background: var(--bone);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  border: 1px solid var(--line-soft);
}
/* Algunas piezas más grandes para crear ritmo masonry */
.gallery-grid .gallery-item:nth-child(7n+1) { grid-column: span 2; grid-row: span 2; }
.gallery-grid .gallery-item:nth-child(7n+5) { grid-row: span 2; }
@media (max-width: 720px) {
  .gallery-grid { grid-auto-rows: 180px; }
  .gallery-grid .gallery-item:nth-child(7n+1) { grid-column: span 2; grid-row: span 1; }
  .gallery-grid .gallery-item:nth-child(7n+5) { grid-row: span 1; }
}
.gallery-grid .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
  display: block;
}
.gallery-grid .gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -22px rgba(15, 12, 10, 0.3);
}
.gallery-grid .gallery-item:hover img { transform: scale(1.06); }
.gallery-grid .gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15, 12, 10, 0.55) 100%);
  opacity: 0;
  transition: opacity .35s var(--ease);
  pointer-events: none;
}
.gallery-grid .gallery-item:hover::after { opacity: 1; }
.gallery-grid .gallery-caption {
  position: absolute;
  bottom: 18px; left: 20px; right: 20px;
  color: var(--bone);
  font-size: 14px;
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  z-index: 2;
  font-style: italic;
}
.gallery-grid .gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

/* Estado vacío (sin fotos aún) */
.gallery-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 88px 24px;
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: 18px;
  color: var(--ink-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.gallery-empty svg { color: var(--gold-soft); opacity: 0.7; }
.gallery-empty h3 {
  font-family: var(--ff-display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin: 0;
}
.gallery-empty p { margin: 0; max-width: 440px; font-size: 15.5px; line-height: 1.6; }

/* =============================================================
   LIGHTBOX
============================================================= */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 12, 10, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease);
}
.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-figure {
  margin: 0;
  max-width: min(1200px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.lightbox-figure img {
  max-width: 100%;
  max-height: calc(100vh - 160px);
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
}
.lightbox-figure figcaption {
  color: rgba(245, 239, 229, 0.85);
  font-size: 14px;
  letter-spacing: 0.005em;
  font-style: italic;
  text-align: center;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(245, 239, 229, 0.08);
  border: 1px solid rgba(245, 239, 229, 0.2);
  color: var(--bone);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
}
.lightbox-close { top: 24px; right: 24px; width: 44px; height: 44px; }
.lightbox-prev,
.lightbox-next { top: 50%; transform: translateY(-50%); width: 50px; height: 50px; }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(245, 239, 229, 0.18);
  border-color: rgba(245, 239, 229, 0.35);
}
.lightbox-close:hover { transform: rotate(90deg); }
.lightbox-prev:hover  { transform: translateY(-50%) translateX(-3px); }
.lightbox-next:hover  { transform: translateY(-50%) translateX(3px); }

@media (max-width: 600px) {
  .lightbox-prev, .lightbox-next { width: 42px; height: 42px; }
  .lightbox-prev { left: 12px; }
  .lightbox-next { right: 12px; }
}

/* =============================================================
   REFINAMIENTOS EDITORIALES (v4)
   Detalles que separan "web bien hecha" de "web memorable".
   Cada bloque está pensado como una pequeña joya tipográfica
   o de comportamiento. NO toca nada anterior.
============================================================= */

/* ── Textura sutil de "papel" en fondo paper ─────────────────
   SVG inline con micro-noise. Casi imperceptible pero hace
   que el fondo deje de sentirse "digital" y empiece a sentirse
   como papel impreso. Truco de diseño editorial premium.
*/
body {
  background-image:
    /* grano ultra-sutil */
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.08 0 0 0 0 0.06 0 0 0 0.025 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
  background-size: 200px 200px;
  background-attachment: fixed;
}

/* Para que el grano no aparezca sobre secciones oscuras */
.hero, .contact, .site-footer {
  position: relative;
}
.hero::before, .contact::before, .site-footer::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 0.95 0 0 0 0 0.9 0 0 0 0.018 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
  background-size: 200px 200px;
  pointer-events: none;
  z-index: 0;
}
.hero > *, .contact > *, .site-footer > * { position: relative; z-index: 1; }


/* ── Número de receta en tarjetas de producto ────────────────
   "Nº 01", "Nº 02"… volado, italic, color gold-soft.
   Inspirado en libros de recetas vintage y revistas culinarias.
*/
.product-grid { counter-reset: recipe; }
.product-card { counter-increment: recipe; }
.product-card .product-body { position: relative; }
.product-card .product-body::before {
  content: "Nº " counter(recipe, decimal-leading-zero);
  position: absolute;
  top: 26px;
  right: 24px;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--gold);
  opacity: 0.55;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  pointer-events: none;
}
.product-card .product-name { padding-right: 44px; } /* hueco para el Nº */


/* ── Numeración romana en section-heads ──────────────────────
   Cada sección lleva un romano discreto sobre el eyebrow.
   Da estructura editorial sin ser ostentoso.
*/
.section-head {
  position: relative;
}
.section-head[data-section]::before {
  content: attr(data-section);
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: var(--gold);
  opacity: 0.6;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}


/* ── Drop cap en "Sobre nosotros" ────────────────────────────
   La primera letra del primer párrafo "normal" del about, en
   grande, en Fraunces. Detalle de revista de cocina.
*/
.about-text h2 + p::first-letter {
  font-family: var(--ff-display);
  font-size: clamp(48px, 6.5vw, 72px);
  font-weight: 500;
  font-style: normal;
  float: left;
  line-height: 0.85;
  margin: 6px 12px 0 0;
  color: var(--oxblood);
  font-variation-settings: "opsz" 144, "SOFT" 60;
}


/* ── Chip filtro con barra deslizante ────────────────────────
   En vez de cambiar de color, una barra inferior fina
   indica el activo. Mucho más editorial.
*/
.product-filters {
  position: relative;
}
.chip {
  position: relative;
  color: var(--ink-soft);
  transition: color .25s var(--ease);
  padding: 10px 4px;
  margin: 0 12px;
}
.chip::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1.5px;
  background: var(--oxblood);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .35s cubic-bezier(.7, 0, .2, 1);
}
.chip:hover { color: var(--ink); }
.chip:hover::after { transform: scaleX(0.4); }
.chip.is-active {
  color: var(--oxblood);
  font-weight: 500;
}
.chip.is-active::after { transform: scaleX(1); }


/* ── Brand mark con micro-rotación al hover del header ───────
   Pequeñísimo gesto que da vida.
*/
.brand .brand-mark svg {
  transition: transform .5s cubic-bezier(.7, 0, .2, 1);
}
.brand:hover .brand-mark svg {
  transform: rotate(-8deg) scale(1.05);
}


/* ── Aspect-ratio reservation en imágenes (anti-CLS) ─────────
   Reserva el espacio antes de que carguen, evita saltos.
*/
.product-media,
.review-avatar,
.about-frame {
  aspect-ratio: auto;
}
.product-media {
  aspect-ratio: 4 / 3;
}


/* ── Scrollbar custom (Webkit/Chromium) ──────────────────────
   Fina, color de marca. Detalle que solo se nota cuando se nota.
*/
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}
::-webkit-scrollbar-track {
  background: var(--bone);
}
::-webkit-scrollbar-thumb {
  background: var(--ink-soft);
  border-radius: 100px;
  border: 3px solid var(--bone);
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--oxblood);
  background-clip: padding-box;
  border: 3px solid var(--bone);
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--ink-soft) var(--bone);
}


/* ── Status pill: separador interior + microajuste ───────────
*/
.status-pill {
  padding: 7px 16px 7px 14px;
}
.status-pill .status-dot {
  margin-right: 4px;
}


/* ── Eyebrow con punto inicial decorativo ────────────────────
   El "— " del eyebrow ahora es un punto+raya más estilizado.
*/
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}


/* ── Hover en review-cards más editorial ─────────────────────
   En vez de "subir y sombra", la cita gira ligeramente.
*/
.review-card {
  transition: transform .5s cubic-bezier(.7, 0, .2, 1),
              box-shadow .5s var(--ease);
}
.review-card:hover {
  transform: translateY(-4px) rotate(-0.4deg);
}
.review-card:nth-child(even):hover {
  transform: translateY(-4px) rotate(0.4deg);
}


/* ── Underline animado en enlaces de navegación drawer ───────
   El número 01, 02… ahora se subraya cuando hover sobre el link.
*/
.nav-drawer .nav a .nav-num {
  position: relative;
}
.nav-drawer .nav a .nav-num::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 1px;
  background: var(--oxblood);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s cubic-bezier(.7, 0, .2, 1);
}
.nav-drawer .nav a:hover .nav-num::after { transform: scaleX(1); }


/* ── Detalle de cabecera del drawer: número total ────────────
*/
.nav-drawer-head {
  align-items: baseline;
}
.nav-drawer-title::after {
  content: " · 6 secciones";
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ink-soft);
  opacity: 0.5;
  margin-left: 2px;
  font-size: 12px;
  text-transform: none;
}


/* ── Selección de texto refinada ─────────────────────────────
*/
::selection {
  background: var(--oxblood);
  color: var(--bone);
}


/* ── Botón primario: ligero halo dorado al hover ─────────────
*/
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, var(--gold-soft) 50%, transparent 100%);
  opacity: 0;
  transform: translateX(-100%);
  transition: transform .8s cubic-bezier(.7, 0, .2, 1), opacity .3s var(--ease);
  pointer-events: none;
}
.btn-primary:hover::before {
  opacity: 0.25;
  transform: translateX(100%);
}


/* ── Footer brand: lleva una "firma" italic ──────────────────
*/
.footer-brand p::after {
  content: " — Macarena.";
  font-family: var(--ff-display);
  font-style: italic;
  color: var(--gold-soft);
  opacity: 0.65;
}


/* ── Refinamiento del about-points (2024 / Bellota / Local) ──
   Línea vertical fina entre cada bloque, no solo arriba.
*/
.about-points {
  position: relative;
}
.about-points li {
  position: relative;
  padding-right: 20px;
}
.about-points li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}
@media (max-width: 600px) {
  .about-points li:not(:last-child)::after { display: none; }
  .about-points li { padding-right: 0; }
}


/* ── Galería: estado "construcción" con animación sutil ──────
*/
.gallery-empty svg {
  animation: emptyFloat 4s ease-in-out infinite;
}
@keyframes emptyFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}


/* ── Inputs: línea bajo el texto en focus en vez de borde ────
   Más editorial, menos "form de Bootstrap".
   (Solo en inputs de un solo línea, no en textarea ni checks.)
*/
.review-form .field input:focus,
.review-form .field textarea:focus,
.field input:focus {
  box-shadow: 0 0 0 4px rgba(107, 29, 29, 0.07),
              inset 0 -2px 0 0 var(--oxblood);
}


/* ── Reduced motion: respetar preferencia del usuario ────────
*/
@media (prefers-reduced-motion: reduce) {
  .review-card:hover {
    transform: translateY(-4px);
  }
  .gallery-empty svg { animation: none; }
  .brand:hover .brand-mark svg { transform: none; }
}


/* ── Print: si alguien imprime la web, que sea elegante ──────
*/
@media print {
  .site-header, .site-footer, .nav-drawer, .nav-overlay,
  .cookie-banner, .review-form-wrap, .review-gate,
  .product-filters, .reviews-cta, .status-pill,
  .nav-toggle, .lightbox {
    display: none !important;
  }
  body {
    background: white;
    color: black;
  }
  .section { padding: 32px 0; page-break-inside: avoid; }
  a { color: black; text-decoration: underline; }
}

/* ── Eyebrow del hero: el punto decorativo en gold-soft para contraste ──
*/
.hero .eyebrow::before {
  background: var(--gold-soft);
  opacity: 0.9;
}

/* ── Eyebrow dentro de hero-meta-items (etiquetas "label" pequeñas) ─────
   Estos no llevan punto, son micro-etiquetas. Restaurar look original.
*/
.hero-meta .label {
  display: inline;
}
.hero-meta .label::before { content: none; }

/* =============================================================
   FOTOS REALES (v5)
============================================================= */

/* ── Foto de fachada en la sección "Nosotros" ────────────────
   Cuando el marco contiene una foto real, cambiamos la
   proporción a 4/3 (la del original) para no recortar el rótulo,
   y quitamos el degradado del placeholder.
*/
.about-photo.has-photo {
  aspect-ratio: 4 / 3;
  background: var(--bone-deep);
  display: block;
}
.about-photo.has-photo::before { opacity: .07; } /* grano casi imperceptible */
.about-photo.has-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s var(--ease);
}
.about-frame:hover .about-photo.has-photo img {
  transform: scale(1.03);
}

/* ── Galería con fotos: fondo neutro mientras cargan ─────────
*/
.gallery-grid .gallery-item {
  background: var(--bone-deep);
}

/* ── Formas explícitas en la galería ─────────────────────────
   Por defecto la cuadrícula reparte tamaños automáticamente,
   pero una foto panorámica en una celda cuadrada queda muy
   recortada. Con `wide: true` / `tall: true` en GALLERY_IMAGES
   se le puede dar a una foto la forma que le corresponde.
   Van al final del archivo para ganar a las reglas nth-child.
*/
.gallery-grid .gallery-item.is-wide {
  grid-column: span 2;
  grid-row: span 1;
}
.gallery-grid .gallery-item.is-tall {
  grid-column: span 1;
  grid-row: span 2;
}
@media (max-width: 720px) {
  .gallery-grid .gallery-item.is-tall { grid-row: span 1; }
}

/* =============================================================
   MARCA (v7) · logo real "Todo un Placer!"
============================================================= */

/* ── Logo en el header ───────────────────────────────────────
   El arte original es blanco sobre rojo; aquí usamos la versión
   recortada y teñida en oxblood para que no rompa la paleta.
*/
.brand-mark--logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 42px;
  border: 0;
  background: none;
  flex-shrink: 0;
}
.brand-mark--logo img {
  height: 100%;
  width: auto;
  display: block;
  transition: transform .5s cubic-bezier(.7, 0, .2, 1);
}
.brand:hover .brand-mark--logo img {
  transform: rotate(-3deg) scale(1.04);
}
@media (max-width: 600px) {
  .brand-mark--logo { height: 34px; }
}

/* ── Logo en el footer (versión hueso sobre fondo oscuro) ──── */
.footer-logo {
  display: block;
  height: 74px;
  width: auto;
  margin-bottom: 18px;
  opacity: .92;
}
@media (max-width: 880px) {
  .footer-logo { height: 62px; }
}

/* =============================================================
   GALERÍA · adelanto en la home + página propia
============================================================= */

/* Adelanto: solo 6 fotos, todas del mismo tamaño (sin mosaico) */
.gallery-grid--preview {
  grid-auto-rows: 230px;
}
.gallery-grid--preview .gallery-item:nth-child(7n+1),
.gallery-grid--preview .gallery-item:nth-child(7n+5) {
  grid-column: span 1;
  grid-row: span 1;
}

/* Pie de la galería: frase + botón */
.gallery-foot {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  text-align: center;
}
.gallery-foot p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15.5px;
}

/* ── Cabecera de la página de galería ─────────────────────── */
.gallery-page { padding-top: 140px; }
.page-head {
  max-width: 760px;
  margin: 0 auto 64px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.page-title {
  font-family: var(--ff-display);
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0;
  font-variation-settings: "opsz" 144, "SOFT" 60;
}
.page-title em { color: var(--oxblood); }
.page-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  transition: color .2s var(--ease), gap .2s var(--ease);
}
.page-back:hover { color: var(--oxblood); gap: 12px; }

/* Enlace del menú marcado como página actual */
.nav-drawer .nav a[aria-current="page"] {
  color: var(--oxblood);
}
.nav-drawer .nav a[aria-current="page"] .nav-num::after {
  transform: scaleX(1);
}

/* Dos teléfonos de contacto, uno debajo del otro */
.contact-list li > div > a[href^="tel:"] { display: block; }
