/* =========================
   VARIABLES DE COLOR / FUENTE
========================= */
:root {
  --vino-bg: #5e1f28;
  --vino-text: #3a0d11;
  --crema-bg: #fdfcea;
  --crema-alt: #f6f5e7;
  --dorado: #d2a73b;
  --dorado-dark: #b38b2f;
  --verde-valle: #214b24;
  --gris-borde: rgba(0,0,0,.15);

  --radius-card: 8px;
  --radius-big: 10px;

  --font-title: 'Playfair Display', serif;
  --font-body: 'Raleway', sans-serif;
}

/* =========================
   RESET BÁSICO
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--crema-bg);
  color: #2a2a2a;
  line-height: 1.5;
}

/* contenedor reutilizable */
.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* =========================
   MODAL / VERIFICACIÓN DE EDAD
========================= */
.age-overlay {
  position: fixed;
  inset: 0;
  background-color: #6d2d32;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 1rem;
}

.modal {
  background-color: #fff;
  border-radius: 12px;
  border: 2px solid var(--dorado);
  padding: 40px;
  text-align: center;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  color: #4b1e21;
  font-family: var(--font-body);
}

.modal .icon {
  margin-bottom: 10px;
  line-height: 1;
}

.modal .icon img {
  width: 100px;
  height: auto;
  display: block;
  margin: 0 auto 15px;
}

.modal h1 {
  font-family: var(--font-title);
  font-size: 24px;
  color: #4b1e21;
  margin-bottom: 12px;
  line-height: 1.2;
  font-weight: 600;
}

.modal p {
  color: #6d2d32;
  font-size: 16px;
  margin-bottom: 30px;
  line-height: 1.5;
  font-weight: 500;
}

.btn-container {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-yes,
.btn-no {
  cursor: pointer;
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid var(--dorado);
  padding: 10px 20px;
  font-size: 16px;
  transition: 0.3s;
  font-family: var(--font-body);
}

.btn-yes {
  background-color: var(--dorado);
  color: #000;
}

.btn-yes:hover {
  background-color: var(--dorado-dark);
  border-color: var(--dorado-dark);
}

.btn-no {
  background-color: #fff;
  color: #4b1e21;
}

.btn-no:hover {
  background-color: #f5f5f5;
}

/* El sitio real empieza oculto */
.site-content {
  display: none;
}

/* =========================
   BOTONES GENERALES
========================= */
.btn {
  display: inline-block;
  border-radius: var(--radius-big);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  font-size: .95rem;
  line-height: 1.2;
  padding: .8rem 1.4rem;
  border: 2px solid transparent;
  transition: 0.3s ease;
  font-family: var(--font-body);
  background: transparent;
}

.btn-gold {
  background-color: var(--dorado);
  color: #000;
  border-color: var(--dorado);
}

.btn-gold:hover {
  background-color: var(--dorado-dark);
  border-color: var(--dorado-dark);
  color: #000;
}

.btn-black {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-black:hover {
  background-color: rgba(255,255,255,0.15);
  color: var(--dorado);
  border-color: #fff;
}

.small {
  font-size: .9rem;
  padding: .6rem 1rem;
  line-height: 1.2;
}

.full {
  width: 100%;
}

/* =========================
   HERO / NAVBAR
========================= */
.hero {
  position: relative;
  min-height: 80vh;
  background-image:
    linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6)),
    url('./imagenes/banner.webp');
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  padding-bottom: 4rem;
}

.navbar {
  width: min(1200px, 92%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 0;
  color: #fff;
  position: relative;
  z-index: 10;
  font-family: var(--font-body);
}

.navbar-left {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: #fff;
}

.logo-encabezado img {
  height: 40px;
  width: auto;
  display: block;
}

.brand-name {
  color: #fff;
  text-decoration: none;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.1rem;
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar-menu {
  list-style: none;
  display: flex;
  gap: 2rem;
  font-weight: 600;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.navbar-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: opacity 0.3s;
}

.navbar-menu a:hover {
  opacity: 0.8;
}

/* Contenido hero */
.hero-content {
  width: min(900px, 92%);
  margin: auto;
  text-align: center;
  position: relative;
  z-index: 5;
  color: #fff;
}

.hero-title {
  font-family: var(--font-title);
  font-size: clamp(2rem, 2vw + 2rem, 3.5rem);
  line-height: 1.15;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 500;
  color: #f5f3e9;
  line-height: 1.4;
  margin: 0 auto 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* =========================
   SECCIONES GENERALES
========================= */
.section {
  padding: 3rem 0 4rem;
}

.section.light-bg {
  background-color: var(--crema-bg);
  color: var(--vino-text);
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 2rem;
  padding: 0 1rem;
}

.section-title {
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 1vw + 1rem, 2.5rem);
  font-weight: 600;
  color: var(--vino-text);
  margin-bottom: 1rem;
  line-height: 1.2;
  text-align: center;
}

.section-title.light {
  color: #fff;
}

.section-desc {
  font-size: 1.1rem;
  line-height: 1.5;
  font-weight: 500;
  color: var(--vino-text);
  text-align: center;
}

.section-desc.light {
  color: #f2e9e9;
}

/* =========================
   PRODUCTOS (VINOS / PISCOS)
========================= */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(350px,100%),1fr));
  gap: 1.5rem;
  align-items: stretch;
  margin-top: 2rem;
  position: relative;
}

/* TARJETA INDIVIDUAL */
.product-card {
  background-color: #fff; /* antes var(--crema-bg); ahora toda la card es blanca */
  border-radius: var(--radius-big);
  border: 1px solid var(--gris-borde);
  overflow: hidden;

  /* igualamos alturas entre hermanas en la misma fila */
  display: flex;
  flex-direction: column;
  height: 100%;

  box-shadow: 0 8px 20px rgba(0,0,0,.05);
  transition: transform .25s ease, box-shadow .25s ease;
  will-change: transform, box-shadow;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(0,0,0,.12);
}

.product-card-img {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-bottom: 1px solid var(--gris-borde);
  background-color: #fdfcea;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-img img {
  max-height: 100%;
  width: auto;
  display: block;
  object-fit: contain;
  object-position: center;
  transition: transform .4s ease;
}

.product-card:hover .product-card-img img {
  transform: scale(1.05);
}

.product-card-img.img-vino {
  background-size: cover;
  background-position: center;
}

.product-card-img.placeholder {
  background: linear-gradient(
    to bottom right,
    rgba(150,90,90,0.15),
    rgba(90,120,90,0.15)
  );
  color: rgba(94,31,40,.4);
  font-family: var(--font-title);
  font-size: 4rem;
  line-height: 1;
  border-bottom: 1px solid var(--gris-borde);
}

.placeholder-icon.gold {
  color: var(--dorado);
}

.badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--dorado);
  color: #000;
  font-size: .9rem;
  font-weight: 600;
  padding: .4rem .75rem;
  border-radius: var(--radius-big);
  border: 1px solid rgba(0,0,0,.15);
  line-height: 1.2;
}

.badge-gold {
  background-color: var(--dorado);
  color: #000;
}

/* cuerpo de la tarjeta */
.product-card-body {
  background-color: #fff;
  padding: 1.5rem 1.25rem 2rem;
  border-top: 0;

  /* ESTO es lo importante para forzar que el cuerpo
     llene verticalmente y el fondo blanco nunca se "corte" */
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-family: var(--font-title);
  color: var(--vino-text);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: .75rem;
  line-height: 1.3;
}

.product-meta {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dorado);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.product-desc {
  font-size: 1rem;
  line-height: 1.5;
  color: #4a4a4a;
  font-weight: 500;
}

.card-btn {
  width: 100%;
  font-size: .8rem;
  padding: .6rem .8rem;
  border-radius: var(--radius-big);
  background-color: transparent;
  border: 1px solid var(--vino-bg);
  color: var(--vino-bg);
  font-weight: 600;
  cursor: pointer;
  margin-top: 1.2rem;
  transition: all .3s ease;
  font-family: var(--font-body);
}

.card-btn:hover {
  background-color: var(--vino-bg);
  color: #fff;
}

/* Evitar que los piscos se estiren demasiado cuando hay solo 2 */
.piscos-grid {
  grid-template-columns: repeat(auto-fit, minmax(350px,1fr));
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  justify-content: center;
}

/* =========================
   BOTÓN WHATSAPP
========================= */
.whatsapp-btn {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #25d366;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
  border: 2px solid #fff;
  text-decoration: none;
  z-index: 999;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-btn img {
  width: 22px;
  height: auto;
  display: block;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}

/* =========================
   HISTORIA
========================= */
.historia-section {
  background-color: var(--vino-bg);
  color: #fff;
  padding-top: 3rem;
  padding-bottom: 4rem;
  border-top: 4px solid var(--crema-bg);
  border-bottom: 4px solid var(--verde-valle);
}

.historia-wrapper {
  max-width: 1000px;
}

.historia-header {
  margin-bottom: 2rem;
}

.metrics-grid {
  display: grid;
  gap: .8rem;
  grid-template-columns: repeat(auto-fit,minmax(min(230px,100%),1fr));
  margin-bottom: 2rem;
}

.metric-card {
  border: 1px solid rgba(255,255,255,.4);
  border-radius: var(--radius-big);
  padding: 1rem;
  background-color: rgba(255,255,255,.05);
  color: #fff;
  min-height: 90px;
  text-align: center;
  font-size: .9rem;
  line-height: 1.4;
  font-family: var(--font-body);
  transition: transform 0.3s ease, background-color 0.3s ease;
  background-clip: padding-box;
}

.metric-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255,255,255,0.1);
}

.metric-icon {
  color: var(--dorado);
  font-size: 1.2rem;
  font-weight: 600;
}

.metric-icon i {
  font-size: 40px;
  color: #d4af37;
  margin-bottom: 10px;
}

.metric-value {
  font-weight: 600;
  color: #fff;
  font-size: 28px;
  margin-top: .4rem;
}

.metric-label {
  color: #f5f5f5;
  font-size: 16px;
  font-weight: 500;
}

.timeline {
  border-left: 2px solid var(--dorado);
  margin-left: 2rem;
  padding-left: 1rem;
  color: #fff;
  font-size: .9rem;
  line-height: 1.4;
  display: grid;
  gap: 1.5rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1rem;
}

.timeline-year {
  color: var(--dorado);
  font-weight: 600;
  font-size: .9rem;
  font-family: var(--font-title);
}

.timeline-content h4 {
  color: #fff;
  font-weight: 600;
  margin-bottom: .3rem;
  font-family: var(--font-title);
  font-size: 1rem;
}

.timeline-content p {
  color: #fff;
  font-size: .85rem;
  line-height: 1.4;
  font-weight: 500;
}

/* =========================
   SECCIÓN VALLE (MAPA)
========================= */
.valle-section {
  background-color: var(--verde-valle);
  color: #fff;
  padding-top: 3rem;
  padding-bottom: 3rem;
  border-top: 4px solid var(--verde-valle);
  border-bottom: 4px solid var(--crema-bg);
}

/* layout principal de valle en desktop */
.valle-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "map info";
  gap: 1.5rem;
  align-items: start;
}

/* tarjeta del mapa */
.valle-img {
  grid-area: map;
  position: relative;
  background: radial-gradient(circle at 10% 10%, #0b1a0b 0%, #0f210e 60%, #0f2610 100%);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-big);
  box-shadow: 0 24px 48px rgba(0,0,0,.8);
  padding: 20px;
  min-height: 420px;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* iframe del mapa */
.map-frame {
  width: 100%;
  height: 400px;
  border: 0;
  border-radius: 6px;
  display: block;
  filter: brightness(0.9) contrast(1.05) saturate(1.1);
  box-shadow: 0 12px 24px rgba(0,0,0,0.7);
}

/* etiqueta flotante en el mapa */
.valle-location {
  position: absolute;
  left: 32px;
  bottom: 32px;
  background-color: rgba(0,0,0,.75);
  color: #fff;
  font-size: .9rem;
  line-height: 1.4;
  padding: .6rem .8rem;
  border-radius: var(--radius-big);
  border: 1px solid rgba(255,255,255,.3);
  font-weight: 500;
  font-family: var(--font-body);
  box-shadow: 0 12px 24px rgba(0,0,0,.9);
  white-space: nowrap;
  z-index: 2;
}

/* texto derecha valle */
.valle-info {
  grid-area: info;
}

.valle-info .section-title {
  color: #fff;
  margin-bottom: 1rem;
}

.valle-desc {
  color: #fff;
  font-size: .95rem;
  line-height: 1.5;
  font-weight: 500;
  margin-bottom: 1.5rem;
  max-width: 100%;
  font-family: var(--font-body);
}

/* lista de beneficios */
.valle-benefits {
  display: grid;
  gap: .6rem;
}

/* cada fila beneficio */
.benefit-item {
  display: flex;
  align-items: center;
  gap: .8rem;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: var(--radius-big);
  padding: .8rem 1rem;
  background-color: rgba(0,0,0,.2);
  color: #fff;
  font-family: var(--font-body);
}

/* contenedor del icono */
.benefit-icon {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--dorado);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s ease, color .25s ease;
}

.benefit-icon i {
  font-size: 1.5rem;
  color: var(--dorado);
  line-height: 1;
  display: inline-block;
  transition: transform .25s ease, color .25s ease;
}

.benefit-item:hover .benefit-icon,
.benefit-item:hover .benefit-icon i {
  transform: scale(1.1);
  color: #f8d878;
}

/* bloque de texto a la derecha del ícono */
.benefit-item > div:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.benefit-title {
  color: #fff;
  font-weight: 600;
  font-size: .9rem;
  line-height: 1.3;
  margin-bottom: .2rem;
  font-family: var(--font-title);
}

.benefit-text {
  color: #dcdcdc;
  font-size: .8rem;
  line-height: 1.4;
  font-weight: 500;
}

/* =========================
   PROCESO ARTESANAL
========================= */
.proceso-section {
  background-color: var(--crema-bg);
  border-top: none;
  border-bottom: 4px solid rgba(0,0,0,.08);
}

.proceso-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(260px,100%),1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.proceso-card {
  background-color: #fff;
  border: 1px solid var(--gris-borde);
  border-radius: var(--radius-big);
  padding: 1.2rem 1rem 1rem;
  position: relative;
  min-height: 150px;
}

.step-badge {
  position: absolute;
  top: -12px;
  left: 1rem;
  background-color: var(--dorado);
  color: #000;
  font-weight: 600;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(0,0,0,.2);
  font-family: var(--font-body);
}

.proceso-title {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--vino-text);
  font-weight: 600;
  margin-bottom: .5rem;
}

.proceso-text {
  font-size: .9rem;
  line-height: 1.4;
  color: #3a3a3a;
  font-weight: 500;
  font-family: var(--font-body);
}

/* =========================
   CONTACTO
========================= */
.contacto-section {
  background-color: #e8e8d5;        /* mismo fondo que tenía visit-section */
  border-top: none;
  border-bottom: none;
}

.contacto-wrapper {
  max-width: 600px;
}

.contact-form {
  display: grid;
  gap: .8rem;
  margin-top: 1.5rem;
}

.input {
  width: 100%;
  border-radius: var(--radius-big);
  border: 1px solid rgba(0,0,0,.2);
  padding: .75rem .9rem;
  font-size: .9rem;
  outline: none;
  background-color: #fff;
  font-family: var(--font-body);
}

.input:focus {
  border-color: var(--vino-bg);
  box-shadow: 0 0 0 3px rgba(94,31,40,.15);
}

.textarea {
  resize: vertical;
  min-height: 110px;
  font-family: var(--font-body);
}

/* =========================
   FOOTER
========================= */
.site-footer {
  background-color: var(--vino-bg);
  color: #fff;
  font-size: .85rem;
}

/* AHORA: 5 columnas reales en desktop */
.footer-top {
  padding-top: 2rem;
  padding-bottom: 2rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(5, minmax(0,1fr));
  border-bottom: 1px solid rgba(255,255,255,.3);
  align-items: start;
}

/* Columna marca */
.footer-brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: #fff;
  font-family: var(--font-title);
  font-weight: 600;
}

.footer-brand .brand-name {
  color: #fff;
}

.footer-text {
  color: #e8dddd;
  font-size: .8rem;
  line-height: 1.4;
  font-weight: 500;
  margin-top: .5rem;
  font-family: var(--font-body);
}

/* Títulos de columnas */
.footer-title {
  color: #fff;
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: .75rem;
}

/* Lista de enlaces / contacto */
.footer-list {
  list-style: none;
  display: grid;
  gap: .4rem;
  color: #fff;
  font-family: var(--font-body);
}

.footer-list a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: .8rem;
}

.footer-list a:hover {
  color: var(--dorado);
}

/* Newsletter */
.newsletter {
  display: flex;
  align-items: stretch;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: var(--radius-big);
  overflow: hidden;
  max-width: 230px;
  margin-top: .5rem;
}

.newsletter-input {
  flex: 1;
  background-color: transparent;
  border: 0;
  padding: .6rem .7rem;
  font-size: .8rem;
  color: #fff;
  outline: none;
  font-family: var(--font-body);
}

.newsletter-input::placeholder {
  color: #c7c7c7;
}

.newsletter-btn {
  background-color: var(--dorado);
  color: #000;
  border: 0;
  padding: .6rem .7rem;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
}

/* === NUEVA COLUMNA: LIBRO DE RECLAMACIONES === */
.footer-libro {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.libro-img {
  max-width: 120px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  background-color: #fff;
  padding: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.35);
  transition: transform .2s ease, box-shadow .2s ease;
  cursor: pointer;
  display: block;
}

.libro-img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(0,0,0,0.5);
}

.footer-libro-text {
  color: #fff;
  font-size: 0.8rem;
  font-family: var(--font-body);
  line-height: 1.4;
  font-weight: 500;
  margin-top: 0.75rem;
  text-align: center;
}

/* Bottom del footer */
.footer-bottom {
  background-color: var(--vino-bg);
  padding: 1rem 0;
  font-size: .75rem;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: #fff;
  font-family: var(--font-body);
}

.footer-copy {
  color: #e8dddd;
  font-size: .75rem;
  font-weight: 500;
}

/* Social si lo usas en algún momento */
.footer-social {
  display: flex;
  gap: .8rem;
  color: #fff;
}

.social-icon {
  color: #fff;
  text-decoration: none;
  font-size: .9rem;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: var(--radius-big);
  padding: .4rem .5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
}

/* =========================
   RESPONSIVE / BREAKPOINTS
========================= */

/* Footer bottom horizontal desde 600px */
@media (min-width:600px){
  .footer-bottom-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* Ajustes navbar y valle en pantallas menores a 800px */
@media (max-width:800px){
  .navbar-menu {
    display: none;
  }

  .valle-wrapper {
    grid-template-columns: 1fr;
  }

  .timeline {
    margin-left: 1rem;
  }

  .hero {
    min-height: 90vh;
  }
}

/* Sección Historia - Métricas en 2 columnas en móviles */
@media (max-width:600px){
  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 1rem;
  }

  .metric-card {
    min-height: 150px;
    padding: 1rem;
    font-size: .9rem;
  }

  .metric-icon {
    font-size: 2rem;
    margin-bottom: .5rem;
  }

  .metric-value {
    font-size: 1.4rem;
    margin-top: .5rem;
  }

  .metric-label {
    font-size: .9rem;
    line-height: 1.3;
  }
}

/* Productos (vinos/piscos) en 2 columnas en pantallas chicas */
@media (max-width:700px){
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 1rem;
  }

  .piscos-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 1rem;
    max-width: 100%;
  }

  .product-card {
    font-size: 0.9rem;
  }

  .product-card-img {
    height: 200px;
  }

  .product-title {
    font-size: 1.2rem;
  }

  .product-meta {
    font-size: 0.9rem;
  }

  .product-desc {
    font-size: 0.85rem;
  }
}

/* Valle: en pantallas más angostas que 1100px
   cambiamos orden -> primero texto, luego mapa,
   y ajustamos altura del mapa para que no sea gigante */
@media (max-width:1100px){
  .valle-wrapper {
    grid-template-columns: 1fr;
    grid-template-areas:
      "info"
      "map";
  }

  .map-frame {
    height: 300px;
  }

  .valle-img {
    min-height: 320px;
  }
}

/* FOOTER RESPONSIVE:
   - En pantallas medianas reducimos columnas
   - En pantallas muy chicas apilamos todo */
@media (max-width:900px){
  .footer-top {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .footer-libro {
    margin-top: 1rem;
  }
}

@media (max-width:500px){
  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-libro {
    margin-top: 1.5rem;
  }
}

/* ===== Ajustes específicos del logo en el footer ===== */
.footer-brand .brand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-brand .brand-icon img {
  height: 48px;        /* controla el alto visual del logo */
  width: auto;         /* mantiene proporción */
  display: block;
  object-fit: contain; /* evita deformaciones raras */
}

/* Si quieres el logo más chico en pantallas muy pequeñas */
@media (max-width:480px){
  .footer-brand .brand-icon img {
    height: 40px;
  }
}

/* ===== Columna Libro de Reclamaciones (footer) ===== */
.footer-claim {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  /* en desktop se ve como otra columna más */
}

.claim-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  color: #fff;
  font-family: var(--font-body);
  gap: .5rem;
  max-width: 180px;
}

.claim-badge img {
  max-width: 120px;        /* <-- controla el ancho máximo del ícono */
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1); 
  /* si tu PNG es negro y quieres que se vea blanco sobre el fondo vino.
     Si ya hiciste el PNG en dorado/blanco, puedes BORRAR esta línea */
}

.claim-text {
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-title);
}

/* En pantallas chicas: que esa columna no rompa la grilla */
@media (max-width:600px){
  .footer-claim {
    align-items: center;
  }

  .claim-badge {
    align-items: center;
    text-align: center;
  }

  .claim-text {
    font-size: .8rem;
  }
}
