* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.95) 0%, transparent 32%),
    linear-gradient(180deg, #faf8f4 0%, #f6f1e8 38%, #efe5d6 100%);
  color: #221c17;
}

/* HERO */

.hero-region {
  height: 430px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero-region::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 65%, rgba(246,241,232,.95) 100%);
  pointer-events: none;
}

.hero-valle-de-lerma {
  background-image:
    linear-gradient(90deg, rgba(0,0,0,.74) 0%, rgba(0,0,0,.46) 45%, rgba(0,0,0,.15) 100%),
    url("imagenes/portada-valle-de-lerma.jpg");
}

.hero-region-content {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  position: relative;
  z-index: 2;
}

.hero-region-content > span {
  display: inline-block;
  margin-bottom: 18px;
  padding: 10px 18px;
  border-radius: 30px;
  background: #7a1f2d;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-region-content h1 {
  margin: 0 0 16px;
  font-family: Georgia, serif;
  font-size: 66px;
  line-height: 1;
}

.hero-region-content p {
  max-width: 760px;
  margin: 0;
  font-size: 20px;
  line-height: 1.5;
}

.hero-region-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 25px;
}

.hero-region-stats div {
  min-width: 145px;
  padding: 15px 18px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 16px;
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(8px);
}

.hero-region-stats strong {
  display: block;
  color: #f3d28b;
  font-family: Georgia, serif;
  font-size: 32px;
}

.hero-region-stats span {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
}

/* ÍNDICE DE REGIONES */

.indice-regiones {
  position: relative;
  z-index: 4;
  width: min(760px, calc(100% - 32px));
  margin: -18px auto 26px;
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(212,175,55,.45);
  border-radius: 999px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 12px 30px rgba(70,40,20,.12);
}

.indice-regiones a {
  padding: 11px 22px;
  border-radius: 999px;
  color: #7a1f2d;
  font-weight: 800;
  text-decoration: none;
  transition: .25s;
}

.indice-regiones a:hover {
  background: #7a1f2d;
  color: #fff;
}

.bloque-region {
  scroll-margin-top: 90px;
}

.bloque-region-alterno {
  border-top: 1px solid rgba(122,31,45,.12);
}

/* RESUMEN REGIONAL */

.region-resumen {
  padding: 30px 20px 74px;
  background:
    radial-gradient(circle at left top, rgba(122,31,45,.06), transparent 30%),
    linear-gradient(180deg, #f6f1e8 0%, #fcfbf9 100%);
}

.region-resumen-card {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(300px, .82fr) minmax(0, 1.38fr);
  overflow: hidden;
  border: 1px solid rgba(212,175,55,.48);
  border-radius: 28px;
  background: linear-gradient(135deg, #fffaf0 0%, #fff 58%, #f8f0e3 100%);
  box-shadow: 0 22px 55px rgba(70,40,20,.13);
}

.region-resumen-mapa {
  position: relative;
  min-height: 660px;
  padding: 76px 34px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 35% 28%, rgba(212,175,55,.18), transparent 36%),
    linear-gradient(160deg, #f4ead8 0%, #eee1ca 100%);
  border-right: 1px solid rgba(122,31,45,.12);
}

.region-mapa-etiqueta {
  position: absolute;
  top: 25px;
  left: 28px;
  padding: 9px 15px;
  border-radius: 999px;
  background: #7a1f2d;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.region-mapa {
  width: 100%;
  height: 455px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 16px 20px rgba(44,28,16,.12));
}

.region-localidades {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.region-localidades span {
  padding: 8px 11px;
  border: 1px solid rgba(122,31,45,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.75);
  color: #5c4d42;
  font-size: 12px;
  font-weight: 600;
}

.region-resumen-contenido {
  padding: 55px 52px 46px;
}

.region-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
  color: #9b7424;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.region-kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: #c89d3d;
}

.region-resumen-contenido > h2 {
  margin: 0;
  color: #7a1f2d;
  font-family: Georgia, serif;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.08;
  font-weight: 500;
}

.region-intro {
  margin: 22px 0 27px;
  color: #5f574f;
  font-size: 16px;
  line-height: 1.75;
}

.region-recomendaciones {
  margin-top: 18px;
  padding: 21px 23px;
  border-radius: 18px;
  background: #28221e;
}

.region-recomendaciones h3 {
  margin: 0 0 12px;
  color: #e2c576;
  font-family: Georgia, serif;
  font-size: 21px;
}

.region-recomendaciones ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.region-recomendaciones li {
  position: relative;
  padding: 0 0 8px 22px;
  color: rgba(255,255,255,.82);
  font-size: 13px;
  line-height: 1.5;
}

.region-recomendaciones li:last-child {
  padding-bottom: 0;
}

.region-recomendaciones li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #e2c576;
  font-weight: 800;
}

.region-experiencias {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 17px;
}

.region-experiencias span {
  padding: 8px 12px;
  border: 1px solid rgba(212,175,55,.36);
  border-radius: 999px;
  background: #f8efe2;
  color: #7a1f2d;
  font-size: 12px;
  font-weight: 700;
}

/* DIRECTORIO */

.directorio-region {
  padding: 10px 20px 70px;
  background:
    radial-gradient(circle at left top, rgba(122,31,45,.06), transparent 28%),
    radial-gradient(circle at right bottom, rgba(212,175,55,.12), transparent 35%),
    linear-gradient(180deg, #fcfbf9, #f6efe4, #efe2d1);
}

.lista-bodegas-categorias {
  max-width: 1200px;
  margin: 0 auto;
}

.grupo-plan {
  margin-bottom: 55px;
}

.grupo-plan .titulo-plan {
  margin: 0 0 22px;
  color: #7a1f2d;
  font-family: Georgia, serif;
  font-size: 38px;
}

/* PREMIUM */

.bodega-item.premium {
  display: grid;
  grid-template-columns: 250px 1fr 120px;
  align-items: start;
  gap: 25px;
  padding: 16px;
  margin-bottom: 18px;
  border: 1px solid rgba(212,175,55,.55);
  border-radius: 18px;
  background: linear-gradient(135deg, #fffaf0 0%, #fff 55%, #fbf6eb 100%);
  color: #221c17;
  text-decoration: none;
  box-shadow: 0 12px 35px rgba(70,40,20,.08);
  transition: .35s;
}

.bodega-item.premium:hover,
.bodega-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(70,40,20,.14);
}

.bodega-item.premium img {
  width: 100%;
  height: 100%;
  min-height: 290px;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
}

.titulo-con-sello {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}

.titulo-con-sello h3 {
  margin: 0;
}

.premium-icon {
  color: #d4af37;
  font-size: 30px;
  line-height: 1;
}

.basico-icon {
  color: #154e9e;
  font-size: 20px;
  line-height: 1;
  font-weight: 900;
}

.bodega-card h3,
.bodega-item h3 {
  color: #7a1f2d;
  font-family: Georgia, serif;
}

.bodega-item h3 {
  font-size: 28px;
}

.ubicacion,
.descripcion-bodega {
  color: #5f574f;
  font-size: 15px;
  line-height: 1.6;
}

.servicios,
.contacto-bodega,
.redes-bodega {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.servicios span,
.contacto-bodega span,
.redes-bodega span,
.datos-basico span {
  padding: 7px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.servicios span {
  background: #f3ebe2;
  color: #7a1f2d;
}

.contacto-bodega span {
  border: 1px solid rgba(122,31,45,.15);
  background: #fff;
  color: #5f1422;
}

.redes-bodega span {
  border: 1px solid rgba(212,175,55,.35);
  background: #f8efe2;
  color: #7a1f2d;
}

.btn-ficha {
  margin-top: 45px;
  padding: 12px 20px;
  border: 1px solid #7a1f2d;
  border-radius: 30px;
  color: #7a1f2d;
  font-weight: 700;
  white-space: nowrap;
  transition: .3s;
}

.bodega-item.premium:hover .btn-ficha {
  background: #7a1f2d;
  color: #fff;
}

/* BÁSICO */

.grid-basico {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.bodega-card {
  overflow: hidden;
  border: 1px solid rgba(212,175,55,.45);
  border-radius: 18px;
  background: linear-gradient(135deg, #fffaf0, #fff, #fbf6eb);
  color: #221c17;
  box-shadow: 0 12px 35px rgba(70,40,20,.08);
  transition: .35s;
}

.bodega-card img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.bodega-card.basico img {
  height: 220px;
}

.bodega-card-info {
  padding: 16px;
}

.bodega-card.basico h3 {
  font-size: 26px;
}

.datos-basico {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.datos-basico > span {
  background: #f3ebe2;
  color: #7a1f2d;
}

.botones-contacto {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.info-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 999px;
  background: #1b1819;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: .25s;
}

.info-btn:hover {
  background: #7a1f2d;
}

/* GRATIS */

.grid-gratis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.bodega-card.gratis img {
  height: 150px;
}

.bodega-card.gratis h3 {
  margin: 0 0 9px;
  font-size: 21px;
}

.bodega-card.gratis p {
  margin: 7px 0;
  color: #555;
  font-size: 14px;
  line-height: 1.5;
}

.instagram-texto {
  display: inline-block;
  margin-top: 8px;
  color: #7a1f2d;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.instagram-texto:hover {
  text-decoration: underline;
}

/* RESPONSIVE */

@media (max-width: 980px) {
  .region-resumen-card {
    grid-template-columns: 1fr;
  }

  .region-resumen-mapa {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(122,31,45,.12);
  }

  .region-mapa {
    height: 410px;
  }

  .bodega-item.premium {
    grid-template-columns: 1fr;
  }

  .bodega-item.premium img {
    height: 260px;
    min-height: 0;
  }

  .btn-ficha {
    margin-top: 10px;
    text-align: center;
  }

  .grid-gratis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .hero-region {
    min-height: 500px;
    height: auto;
    padding: 80px 0;
  }

  .hero-region-content h1 {
    font-size: 48px;
  }

  .hero-region-content p {
    font-size: 17px;
  }

  .hero-region-stats div {
    min-width: 120px;
    flex: 1 1 120px;
  }

  .indice-regiones {
    border-radius: 22px;
    flex-direction: column;
    text-align: center;
  }

  .region-resumen {
    padding: 20px 12px 55px;
  }

  .region-resumen-card {
    border-radius: 21px;
  }

  .region-resumen-mapa {
    padding: 68px 20px 25px;
  }

  .region-mapa {
    height: 315px;
  }

  .region-resumen-contenido {
    padding: 34px 21px 30px;
  }

  .region-resumen-contenido > h2 {
    font-size: 36px;
  }

  .directorio-region {
    padding-left: 12px;
    padding-right: 12px;
  }

  .grupo-plan .titulo-plan {
    font-size: 31px;
  }

  .grid-basico,
  .grid-gratis {
    grid-template-columns: 1fr;
  }
}

