/* ============================================================
   De Buena Madera — styles.css
   ============================================================ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #131110;
  --surface:     #1e1a18;
  --surface2:    #2a2320;
  --border:      #3a322e;
  --wine:        #8b1a2b;
  --wine-light:  #a82035;
  --gold:        #c9a84c;
  --gold-light:  #e0c06e;
  --cream:       #f5f0e8;
  --muted:       #a09080;
  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Inter', system-ui, sans-serif;
  --radius:      6px;
  --transition:  .25s ease;
}

html { scroll-behavior: smooth; }

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

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }

/* ── Utility ── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--cream);
  margin-bottom: 18px;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.75;
}

.section-header.centered {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
}
.section-header.centered .section-lead { margin: 0 auto; }

.divider {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 20px 0;
}

/* ── Fade-in animation ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--wine);
  color: var(--cream);
  padding: 14px 30px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .06em;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.btn-primary:hover { background: var(--wine-light); transform: translateY(-1px); }
.btn-primary.full  { width: 100%; justify-content: center; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid rgba(245,240,232,.35);
  color: var(--cream);
  padding: 14px 30px;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .06em;
  transition: border-color var(--transition), background var(--transition);
}
.btn-outline:hover { border-color: var(--gold); background: rgba(201,168,76,.08); }

.btn-outline-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid rgba(245,240,232,.4);
  color: var(--cream);
  padding: 9px 20px;
  border-radius: var(--radius);
  font-size: .82rem;
  font-weight: 500;
  margin-top: 14px;
  transition: border-color var(--transition), background var(--transition);
}
.btn-outline-sm:hover { border-color: var(--gold); background: rgba(201,168,76,.1); }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #25d366;
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .04em;
  transition: background var(--transition);
}
.btn-whatsapp:hover { background: #1ebe5a; }
.btn-whatsapp svg { width: 18px; height: 18px; fill: #fff; }

/* ── SVG icon helpers ── */
.icon-wa  { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }
.icon-arr { width: 16px; height: 16px; stroke: currentColor; fill: none; flex-shrink: 0; }

/* ────────────────────────────────────────────────────────────── */
/*  NAV                                                          */
/* ────────────────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
nav.scrolled {
  background: rgba(19,17,16,.96);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,.5);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.nav-logo span { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .04em;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--cream); }

.nav-cta {
  background: var(--wine) !important;
  color: var(--cream) !important;
  padding: 9px 22px !important;
  border-radius: var(--radius) !important;
  font-weight: 600 !important;
  font-size: .85rem !important;
  letter-spacing: .06em !important;
  transition: background var(--transition) !important;
}
.nav-cta:hover { background: var(--wine-light) !important; color: #fff !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ────────────────────────────────────────────────────────────── */
/*  HERO                                                         */
/* ────────────────────────────────────────────────────────────── */
#hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-video-wrap {
  position: absolute;
  inset: 0;
}
.hero-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(13,10,9,.88) 40%,
    rgba(13,10,9,.45) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,.12);
  border: 1px solid rgba(201,168,76,.3);
  border-radius: 99px;
  padding: 6px 16px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--cream);
  margin-bottom: 24px;
}
.hero-title em { font-style: italic; color: var(--gold); }
.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(245,240,232,.75);
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
.hero-scroll svg { width: 20px; height: 20px; stroke: currentColor; fill: none; }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ────────────────────────────────────────────────────────────── */
/*  NOSOTROS                                                     */
/* ────────────────────────────────────────────────────────────── */
#nosotros { padding: 110px 0; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 14px;
  align-self: start;
  position: relative;
}
.about-img-main {
  grid-column: 1;
  grid-row: 1 / 3;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
}
.about-img-accent-wrap {
  grid-column: 2;
  grid-row: 1 / 3;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}
.about-img-accent {
  width: 100%;
  height: auto;
  display: block;
}
.about-stat {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(19, 17, 16, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(201, 168, 76, 0.35);
  padding: 16px 20px;
  border-radius: var(--radius);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.about-stat-number {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.about-stat-label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.8);
  margin-top: 6px;
}
.about-img-pair {
  grid-column: 1 / -1;
  grid-row: 3;
  display: flex;
  gap: 14px;
}
.about-img-pair-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about-img-pair-item {
  border-radius: var(--radius);
  overflow: hidden;
}
.about-img-pair-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .5s ease;
}
.about-img-pair-item:hover img { transform: scale(1.05); }
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 36px;
}
.about-feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}
.about-feature-icon  { margin-bottom: 8px; }
.about-feature-icon svg { width: 1.8rem; height: 1.8rem; color: var(--gold); }
.about-feature-title { font-size: .85rem; font-weight: 600; color: var(--cream); margin-bottom: 4px; }
.about-feature-text  { font-size: .8rem; color: var(--muted); }

/* ────────────────────────────────────────────────────────────── */
/*  TABLAS                                                       */
/* ────────────────────────────────────────────────────────────── */
#tablas {
  padding: 110px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.tablas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.tabla-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: default;
}
.tabla-card.featured {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}
.tabla-card img,
.tabla-card-wide img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .5s ease;
}
.tabla-card:hover img,
.tabla-card-wide:hover img { transform: scale(1.06); }

.tabla-card-overlay,
.producto-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 55%;
  background: linear-gradient(to top, rgba(13,10,9,.95) 30%, transparent 100%);
  pointer-events: none;
}

.tabla-card-content,
.producto-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px 20px;
}

.product-tag {
  display: inline-block;
  background: var(--wine);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 10px;
}
.product-tag.gold { background: var(--gold); color: var(--bg); }

.tabla-card-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 6px;
}
.tabla-card-desc {
  font-size: .82rem;
  color: rgba(245,240,232,.7);
}

/* Wide row */
.tablas-grid-wide {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  align-items: stretch;
}
.tabla-card-wide {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 400px;
}
.tabla-card-wide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

/* ────────────────────────────────────────────────────────────── */
/*  PRODUCTOS                                                    */
/* ────────────────────────────────────────────────────────────── */
#productos { padding: 110px 0; }

.productos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.producto-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: default;
}
.producto-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .5s ease;
}
.producto-card:hover img { transform: scale(1.04); }

.producto-content h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 4px;
}
.producto-content p {
  font-size: .82rem;
  color: rgba(245,240,232,.7);
}

/* ────────────────────────────────────────────────────────────── */
/*  CLUB DBM                                                     */
/* ────────────────────────────────────────────────────────────── */

/* Benefit banner */
.club-benefit-banner {
  padding: 110px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.benefit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.benefit-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.benefit-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 32px;
}
.benefit-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .95rem;
  color: var(--cream);
}
.benefit-icon { flex-shrink: 0; }
.benefit-icon svg { width: 1.25rem; height: 1.25rem; color: var(--gold); }

/* Bodega del mes */
.bodega-mes-wrap {
  padding: 90px 0;
  background: var(--bg);
}
.bodega-mes-header {
  text-align: center;
  margin-bottom: 40px;
}
.bodega-mes-card {
  max-width: 420px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.55);
}
.bodega-mes-card img { width: 100%; display: block; }

/* Planes */
.planes-wrap {
  padding: 90px 0 110px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.planes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 360px));
  gap: 24px;
  margin-bottom: 48px;
  align-items: stretch;
  justify-content: center;
}
.plan-card {
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface2);
  border: 1px solid var(--border);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.4);
}
.plan-card.featured {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold), 0 16px 40px rgba(0,0,0,.4);
}
.plan-badge {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--bg);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 99px;
  white-space: nowrap;
  z-index: 3;
}
.plan-img-wrap {
  position: relative;
  overflow: hidden;
}
.plan-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .5s ease;
}
.plan-card:hover .plan-img-wrap img { transform: scale(1.05); }
.plan-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,10,9,.6) 0%, transparent 60%);
}
.plan-body {
  padding: 24px 22px 28px;
  text-align: center;
}
.plan-nombre {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 8px;
}
.plan-precio {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 16px;
}
.plan-desc {
  font-size: .83rem;
  color: var(--muted);
  margin-bottom: 4px;
}
.plan-vino {
  font-size: .95rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 20px;
}
.btn-plan {
  width: 100%;
  padding: 11px 20px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}
.btn-plan:hover { border-color: var(--gold); background: rgba(201,168,76,.08); }
.btn-plan-featured {
  background: var(--wine);
  border-color: var(--wine);
  color: #fff;
}
.btn-plan-featured:hover { background: var(--wine-light); border-color: var(--wine-light); }

.planes-cta {
  text-align: center;
}
.planes-note {
  margin-top: 12px;
  font-size: .83rem;
  color: var(--muted);
}

/* Asociate photos strip */
#asociate {
  padding: 0;
  border-top: 1px solid var(--border);
}
.asociate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.asociate-card { overflow: hidden; }
.asociate-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .5s ease;
}
.asociate-card:hover img { transform: scale(1.04); }

/* ────────────────────────────────────────────────────────────── */
/*  GALERÍA STRIP (dentro de #productos)                        */
/* ────────────────────────────────────────────────────────────── */
.gallery-strip-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 60px 0 24px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 12px;
}
.gallery-strip-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--cream);
}
.gallery-link {
  font-size: .875rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: .04em;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}
.gallery-link:hover { border-color: var(--gold); }

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.gallery-strip-item {
  border-radius: var(--radius);
  overflow: hidden;
}
.gallery-strip-item img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery-strip-item:hover img { transform: scale(1.04); }

/* ────────────────────────────────────────────────────────────── */
/*  HORARIOS                                                     */
/* ────────────────────────────────────────────────────────────── */
#horarios {
  padding: 110px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table tr { border-bottom: 1px solid var(--border); }
.hours-table tr:last-child { border-bottom: none; }
.hours-table td { padding: 14px 0; font-size: .9rem; }
.hours-table td:first-child { color: var(--muted); font-weight: 500; width: 140px; }
.hours-table td:last-child  { color: var(--cream); text-align: right; }
.hours-table tr.today td    { color: var(--gold); font-weight: 600; }
.hours-table tr.closed td:last-child { color: var(--muted); font-style: italic; }

.hours-note {
  margin-top: 20px;
  background: rgba(201,168,76,.08);
  border-left: 3px solid var(--gold);
  padding: 14px 16px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .83rem;
  color: var(--muted);
}
.hours-contact-cards { display: flex; flex-direction: column; gap: 20px; }
.contact-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
}
.contact-card-title   { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 600; margin-bottom: 6px; }
.contact-card-address { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.contact-card-phone   { font-size: .9rem; color: var(--muted); margin-bottom: 16px; }
.contact-card-phone a { color: var(--cream); font-weight: 500; }

/* ────────────────────────────────────────────────────────────── */
/*  MAPAS                                                        */
/* ────────────────────────────────────────────────────────────── */
.maps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 56px;
}
.map-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface2);
}
.map-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--border);
}
.map-label svg {
  width: 14px;
  height: 14px;
  stroke: var(--gold);
  flex-shrink: 0;
}
.map-frame-wrap {
  position: relative;
  height: 260px;
}
.map-frame-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(30%) contrast(1.05);
}

/* ────────────────────────────────────────────────────────────── */
/*  RESEÑAS                                                      */
/* ────────────────────────────────────────────────────────────── */
#resenas { padding: 110px 0; }

.reviews-header { text-align: center; margin-bottom: 16px; }
.reviews-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.rating-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px 28px;
}
.rating-number {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.rating-stars   { display: flex; gap: 3px; }
.star           { color: var(--gold); font-size: 1.1rem; }
.rating-source  { font-size: .8rem; color: var(--muted); margin-top: 4px; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
  transition: border-color var(--transition), transform var(--transition);
}
.review-card:hover { border-color: rgba(201,168,76,.35); transform: translateY(-2px); }
.review-stars   { display: flex; gap: 4px; margin-bottom: 16px; }
.review-text    { font-size: .93rem; color: var(--cream); line-height: 1.72; margin-bottom: 20px; font-style: italic; }
.review-text::before { content: '"'; }
.review-text::after  { content: '"'; }
.review-author  { display: flex; align-items: center; gap: 12px; }
.review-avatar  {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--surface2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 1rem; font-weight: 700;
  color: var(--gold); flex-shrink: 0;
}
.review-name     { font-size: .88rem; font-weight: 600; color: var(--cream); }
.review-platform { font-size: .76rem; color: var(--muted); margin-top: 2px; }
.reviews-cta     { text-align: center; margin-top: 44px; }
.btn-google {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--border);
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: .88rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .04em;
  transition: border-color var(--transition), color var(--transition);
}
.btn-google:hover { border-color: var(--gold); color: var(--cream); }

/* ────────────────────────────────────────────────────────────── */
/*  CTA BANNER                                                   */
/* ────────────────────────────────────────────────────────────── */
#cta-banner {
  padding: 80px 0;
  background: var(--wine);
  text-align: center;
}
.cta-banner-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}
.cta-banner-text {
  font-size: 1rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.cta-banner-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--wine);
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .04em;
  transition: background var(--transition);
  border: none;
  cursor: pointer;
}
.btn-white:hover { background: rgba(255,255,255,.9); }
.btn-white-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid rgba(255,255,255,.6);
  background: none;
  color: #fff;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  transition: border-color var(--transition);
}
.btn-white-outline:hover { border-color: #fff; }

/* ────────────────────────────────────────────────────────────── */
/*  FOOTER                                                       */
/* ────────────────────────────────────────────────────────────── */
footer {
  background: #0c0a09;
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 52px;
}
.footer-brand-name { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700; margin-bottom: 12px; }
.footer-brand-name span { color: var(--gold); }
.footer-tagline    { font-size: .85rem; color: var(--muted); margin-bottom: 24px; line-height: 1.65; }
.footer-socials    { display: flex; gap: 12px; }
.footer-social {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: .9rem;
  transition: border-color var(--transition), color var(--transition);
}
.footer-social:hover { border-color: var(--gold); color: var(--gold); }
.footer-social svg  { width: 16px; height: 16px; fill: currentColor; }
.footer-heading     { font-size: .75rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer-list        { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-list li a,
.footer-list li     { font-size: .88rem; color: var(--muted); transition: color var(--transition); font-style: normal; }
.footer-list li a:hover { color: var(--cream); }
.footer-divider     { border: none; border-top: 1px solid var(--border); margin-bottom: 28px; }
.footer-bottom      { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copy        { font-size: .8rem; color: var(--muted); }
.footer-copy span   { color: var(--gold); }
.footer-address     { font-style: normal; font-size: .88rem; color: var(--muted); line-height: 1.6; }

/* ────────────────────────────────────────────────────────────── */
/*  WHATSAPP FLOAT                                               */
/* ────────────────────────────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 200;
  width: 56px; height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8) translateY(8px);
  transition: opacity .3s ease, transform .3s ease, box-shadow var(--transition);
}
.wa-float.visible          { opacity: 1; pointer-events: auto; transform: scale(1) translateY(0); }
.wa-float.visible:hover    { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37,211,102,.55); }
.wa-float svg              { width: 28px; height: 28px; fill: #fff; }

/* ────────────────────────────────────────────────────────────── */
/*  MODAL FORMULARIO                                             */
/* ────────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(10,8,7,.85);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 36px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(16px);
  transition: transform .3s ease;
}
.modal-overlay.active .modal { transform: translateY(0); }

.modal-close {
  position: absolute;
  top: 16px; right: 18px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
  transition: color var(--transition);
}
.modal-close:hover { color: var(--cream); }

.modal-header  { margin-bottom: 28px; }
.modal-title   { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 600; margin-bottom: 6px; }
.modal-subtitle{ font-size: .9rem; color: var(--muted); }

.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-group label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .04em;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: .9rem;
  padding: 12px 14px;
  transition: border-color var(--transition);
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a09080' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-group select option { background: var(--surface2); }
.form-group textarea { resize: vertical; min-height: 80px; }

.form-error {
  background: rgba(139,26,43,.2);
  border: 1px solid rgba(139,26,43,.5);
  border-radius: var(--radius);
  color: #f08090;
  font-size: .85rem;
  padding: 10px 14px;
  margin-bottom: 16px;
}

/* ────────────────────────────────────────────────────────────── */
/*  RESPONSIVE                                                   */
/* ────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .tablas-grid           { grid-template-columns: 1fr 1fr; }
  .tablas-grid .tabla-card:nth-child(3) { grid-column: span 2; }
  .productos-grid        { grid-template-columns: 1fr 1fr; }
  .planes-grid           { grid-template-columns: repeat(2, minmax(0, 360px)); }
  .benefit-grid          { gap: 48px; }
  .gallery-strip         { grid-template-columns: repeat(2, 1fr); }
  .footer-grid           { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  /* ── Paddings de sección ── */
  #nosotros, #productos, #horarios, #resenas { padding: 64px 0; }
  #tablas                    { padding: 64px 0; }
  .club-benefit-banner       { padding: 64px 0; }
  .bodega-mes-wrap           { padding: 52px 0; }
  .planes-wrap               { padding: 52px 0 64px; }
  #cta-banner                { padding: 56px 0; }

  /* ── Section header ── */
  .section-header.centered   { margin-bottom: 36px; }

  /* ── Nav mobile ── */
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(19,17,16,.97);
    padding: 20px 24px 28px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .hamburger      { display: flex; }
  .nav-cta {
    width: 100%;
    text-align: center;
    padding: 12px 22px !important;
  }

  /* ── Hero ── */
  .hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(13,10,9,.5) 0%,
      rgba(13,10,9,.82) 100%
    );
  }
  .hero-content  { max-width: 100%; }
  .hero-subtitle { font-size: 1rem; }

  /* ── Nosotros ── */
  .about-grid     { grid-template-columns: 1fr; gap: 40px; }
  .about-images   { grid-template-columns: 1fr 1fr; }
  .about-features { grid-template-columns: 1fr 1fr; gap: 12px; }

  /* ── Tablas ── */
  .tablas-grid      { grid-template-columns: 1fr; }
  .tablas-grid .tabla-card:nth-child(3) { grid-column: auto; }
  .tablas-grid-wide { grid-template-columns: 1fr; }
  .tabla-card-wide  { min-height: 260px; }
  .tabla-card img   { height: auto; object-fit: unset; }

  /* ── Productos ── */
  .productos-grid   { grid-template-columns: 1fr 1fr; }

  /* ── Gallery strip ── */
  .gallery-strip    { grid-template-columns: repeat(2, 1fr); }
  .gallery-strip-header { margin: 40px 0 18px; padding-top: 36px; }

  /* ── Club DBM ── */
  .benefit-grid     { grid-template-columns: 1fr; gap: 36px; }
  .planes-grid      { grid-template-columns: 1fr; }
  .plan-card.featured { transform: none; }

  /* ── Asociate ── */
  .asociate-grid    { grid-template-columns: repeat(2, 1fr); }
  .asociate-card:last-child { grid-column: span 2; }

  /* ── Horarios ── */
  .hours-grid       { grid-template-columns: 1fr; gap: 40px; }
  .contact-card     { padding: 20px; }
  .maps-grid        { grid-template-columns: 1fr; }

  /* ── Reseñas ── */
  .reviews-grid     { grid-template-columns: 1fr; }
  .review-card      { padding: 20px; }

  /* ── Footer ── */
  .footer-grid      { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom    { flex-direction: column; text-align: center; gap: 8px; }

  /* ── Modal ── */
  .modal            { padding: 28px 20px; }

  /* ── WA float ── */
  .wa-float         { bottom: 20px; right: 16px; }
}

@media (max-width: 480px) {
  /* ── Container ── */
  .container        { padding: 0 16px; }

  /* ── Paddings más ajustados ── */
  #nosotros, #productos, #horarios, #resenas { padding: 48px 0; }
  #tablas                    { padding: 48px 0; }
  .club-benefit-banner       { padding: 48px 0; }
  .bodega-mes-wrap           { padding: 40px 0; }
  .planes-wrap               { padding: 40px 0 48px; }
  #cta-banner                { padding: 44px 0; }

  /* ── Section header ── */
  .section-header.centered   { margin-bottom: 28px; }

  /* ── Nav ── */
  .nav-logo          { font-size: 1.15rem; }

  /* ── Hero ── */
  .hero-badge        { font-size: .72rem; padding: 5px 12px; margin-bottom: 20px; }
  .hero-subtitle     { font-size: .92rem; margin-bottom: 28px; }
  .hero-actions      { flex-direction: column; gap: 12px; }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline { width: 100%; justify-content: center; }

  /* ── Nosotros ── */
  .about-features    { grid-template-columns: 1fr; }
  .about-feature     { padding: 14px; }

  /* ── Productos ── */
  .productos-grid    { grid-template-columns: 1fr; }

  /* ── Gallery strip ── */
  .gallery-strip     { grid-template-columns: 1fr; }

  /* ── Asociate ── */
  .asociate-grid     { grid-template-columns: 1fr; }
  .asociate-card:last-child { grid-column: auto; }

  /* ── Horarios ── */
  .hours-table td:first-child { width: 100px; font-size: .85rem; }
  .hours-table td:last-child  { font-size: .85rem; }
  .hours-note        { font-size: .78rem; }

  /* ── Reseñas ── */
  .reviews-rating    { flex-direction: column; gap: 12px; }
  .rating-badge      { justify-content: center; padding: 16px 24px; }

  /* ── CTA banner ── */
  .cta-banner-actions { flex-direction: column; align-items: center; gap: 12px; }
  .cta-banner-actions .btn-white,
  .cta-banner-actions .btn-white-outline { width: 100%; justify-content: center; }

  /* ── Footer ── */
  .footer-grid       { gap: 24px; }
  footer             { padding: 48px 0 24px; }

  /* ── Modal ── */
  .modal             { padding: 24px 16px; border-radius: 8px; }
  .modal-title       { font-size: 1.35rem; }

  /* ── Planes ── */
  .plan-body         { padding: 20px 16px 24px; }
}
