.hero-cordoba{
  height:520px;

  background:
    linear-gradient(
      rgba(0,0,0,.35),
      rgba(0,0,0,.50)
    ),
    url("Imagenes/fondo.jpg");

  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;

  display:flex;
  align-items:center;
}

.hero.hero-cordoba .hero-content{
  width:90%;
  max-width:1200px;
  margin:auto;
  color:white;
}

.hero.hero-cordoba h1{
  font-size:72px;
  font-family:Georgia, serif;
  margin-bottom:15px;
  color:white;
}

.hero.hero-cordoba p{
  font-size:24px;
  color:white;
  max-width:700px;
  line-height:1.5;
}
.hero-bodega{
    height:400px;
    background:url("Imagenes/fondo.jpg");
    background-size:cover;
    background-position:center;
    display:flex;
    align-items:center;
}

.hero-bodega-info{
    width:90%;
    max-width:1200px;
    margin:auto;
    color:rgb(0, 0, 0);
}

.hero-bodega-info h1{
    font-size:60px;
}

.detalle-bodega{
    max-width:1200px;
    margin:0 auto;
    padding:0 30px 30px;
}

.detalle-bodega img{
    width:100%;
    height:420px;
    object-fit:cover;
    object-position:center;
    display:block;
    margin:0 auto;
    border-radius:12px;
}
.detalle-bodega{
    max-width:1200px;
    margin:50px auto;
    padding:0 30px;
}

.bodega-portada{
    margin-bottom:35px;
}

.bodega-portada img{
    width:100%;
    height:500px;
    object-fit:cover;
    border-radius:16px;
    display:block;

    box-shadow:0 15px 35px rgba(0,0,0,.15);
}

.bodega-contenido{
    background:white;
    padding:40px;
    border-radius:16px;

    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.etiqueta-bodega{
    background:#7a1f2d;
    color:white;
    padding:8px 14px;
    border-radius:20px;
    font-size:12px;
    font-weight:bold;
    text-transform:uppercase;
}

.bodega-contenido h2{
    margin-top:20px;
    margin-bottom:10px;

    font-size:42px;
    font-family:Georgia, serif;
    color:#221c17;
}

.ubicacion{
    color:#777;
    margin-bottom:30px;
}

.descripcion-bodega h3{
    color:#7a1f2d;
    margin-bottom:20px;
    font-size:26px;
}

.descripcion-bodega p{
    line-height:1.9;
    margin-bottom:20px;
    color:#444;
}
.servicios-bodega{
    margin-top:50px;
}

.servicios-bodega h2,
.ubicacion-bodega h2{
    font-family:Georgia, serif;
    font-size:36px;
    margin-bottom:30px;
    color:#221c17;
}

.servicios-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.servicio-card{
    background:#fbfbfb30;
    padding:30px;
    border-radius:14px;

    text-decoration:none;
    color:#222;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    transition:.3s;

    display:block;
}

.servicio-card:hover{
    transform:translateY(-5px);

    box-shadow:0 15px 35px rgba(0,0,0,.15);

    background:#faf8f434;
}

.servicio-card h3{
    color:#7a1f2d;
    margin-bottom:12px;
}

.servicio-card p{
    color:#555;
}
.servicios-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:15px;
}

.servicio-card img{
    height:120px;
}

.servicio-info{
    padding:12px;
}

.servicio-info h3{
    font-size:16px;
}

.servicio-info p{
    display:none;
}
.hero-degustacion{
    height:450px;

    background:
    linear-gradient(
        rgba(0,0,0,.35),
        rgba(0,0,0,.45)
    ),
    url("assets/imagen-no-disponible.svg");

    background-size:cover;
    background-position:center;

    display:flex;
    align-items:center;
}


/* =====================================================
   AJUSTES PARA HOSTING Y DISEÑO RESPONSIVE
===================================================== */

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-width: 0;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

header {
  min-height: 76px;
  height: auto;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid #7a1f2d;
  border-radius: 9px;
  background: #fff;
  color: #7a1f2d;
  font-size: 24px;
  cursor: pointer;
}

.hero-cordoba {
  min-height: 520px;
  height: auto;
  padding: 70px 0;
}

.bodegas-destacadas,
.map-section,
.experiencias-section,
.footer-bodegar-container,
.footer-bodegar-bottom {
  width: 100%;
}

.bodegas-grid,
.experiencias-grid {
  min-width: 0;
}

.map-wrapper img {
  width: 100%;
  height: auto;
}

@media (max-width: 1100px) {
  header {
    padding: 0 24px;
    gap: 16px;
  }

  nav {
    gap: 5px;
  }

  .menu-btn {
    padding: 10px 9px;
    font-size: 12px;
  }

  .btn-publicar {
    padding: 10px 14px;
    font-size: 12px;
  }

  .hero.hero-cordoba h1 {
    font-size: clamp(50px, 8vw, 68px);
  }

  .map-section {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .province-list {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .servicios-grid,
  .experiencias-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-bodegar-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 8px 18px;
    background: rgba(255,255,255,.98);
  }

  .logo img {
    width: auto;
    max-height: 66px;
  }

  .menu-toggle {
    display: grid;
  }

  header nav {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    padding: 12px 0 6px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  header nav.nav-open {
    display: flex;
  }

  .dropdown {
    width: 100%;
  }

  .menu-btn {
    display: block;
    width: 100%;
    padding: 13px 14px;
    text-align: left;
    border-radius: 8px;
    background: #f8f3ed;
  }

  .dropdown-content {
    position: static;
    display: block;
    min-width: 0;
    margin-top: 4px;
    border-radius: 8px;
    box-shadow: none;
    background: #fff;
  }

  .dropdown-content a {
    padding: 11px 18px;
    border-bottom: 1px solid #eee5dc;
  }

  .btn-publicar {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 2px;
    text-align: center;
    white-space: normal;
  }

  .hero-cordoba {
    min-height: 480px;
    padding: 70px 0 60px;
    background-position: center;
  }

  .hero.hero-cordoba .hero-content {
    width: calc(100% - 36px);
  }

  .hero.hero-cordoba h1 {
    font-size: clamp(46px, 14vw, 62px);
  }

  .hero.hero-cordoba p {
    font-size: 18px;
  }

  .bodegas-destacadas,
  .experiencias-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .bodegas-grid,
  .experiencias-grid,
  .servicios-grid {
    grid-template-columns: 1fr;
  }

  .bodega-card img,
  .experiencia-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
  }

  .map-section {
    grid-template-columns: 1fr;
    padding-left: 16px;
    padding-right: 16px;
  }

  .map-info h2,
  .experiencias-section h2,
  .bodegas-destacadas h2 {
    font-size: clamp(34px, 10vw, 44px);
  }

  .province-list {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .region-btn {
    width: 100%;
  }

  .detalle-bodega {
    margin: 30px auto;
    padding: 0 16px;
  }

  .bodega-portada img,
  .detalle-bodega img {
    height: 270px;
  }

  .bodega-contenido {
    padding: 24px 20px;
  }

  .bodega-contenido h2 {
    font-size: 34px;
  }

  .footer-bodegar-container {
    grid-template-columns: 1fr;
    padding: 35px 22px 24px;
    gap: 28px;
  }

  .footer-bodegar-bottom {
    padding: 14px 22px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .logos-auspiciantes {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 520px) {
  .hero-cordoba {
    min-height: 440px;
  }

  .hero.hero-cordoba .hero-content {
    width: calc(100% - 28px);
  }

  .hero.hero-cordoba h1 {
    font-size: 48px;
  }

  .hero.hero-cordoba p {
    font-size: 17px;
  }

  .bodega-card img,
  .experiencia-card img {
    height: 200px;
  }

  .bodega-portada img,
  .detalle-bodega img {
    height: 220px;
  }

  .logos-auspiciantes {
    grid-template-columns: repeat(2, 1fr);
  }
}