:root{
  --header-h: 0; /* ajusta si tu header es más alto */
  --bg: #ffffff;
  --text: #1a1a1a;
  --muted: #6b7280;
  --wine: #7a1f2b;
  --wine-2: #5e1821;
  --sand: #f3e4cf;
  --shadow: 0 10px 30px rgba(0,0,0,.12);
  --radius: 18px;
}

*{ box-sizing: border-box; }
body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* Header */
.site-header{
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1100;
  background: #f7f7f7;
  border-bottom: 1px solid #e6e6e6;
}

/* Evita que el contenido se meta debajo */
main{
  padding-top: var(--header-h);
}

.header-inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
}
.logos{
  display: flex;
  gap: 8px;
  align-items: center;
}

.logo-img{
  height: 100px;          /* ajusta según tu diseño */
  width: auto;
  object-fit: contain;
  display: block;
}


.logo-placeholder{
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #e9e9e9;
  display: grid;
  place-items: center;
  font-size: 10px;
  color: #555;
}
.brand-title{
  font-weight: 700;
  font-size: 14px;
}
.brand-subtitle{
  font-size: 12px;
  color: var(--muted);
}

.nav{
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav a{
  text-decoration: none;
  color: #444;
  font-weight: 600;
  font-size: 14px;
}
.nav a:hover{ color: var(--wine); }

.search-btn{
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 999px;
  padding: 7px 10px;
  cursor: pointer;
}

.burger{
  display: none;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
}

/* Dropdown */
.dropdown{ position: relative; }
.dropbtn{
  border: none;
  background: transparent;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  color: #444;
  padding: 8px 4px;
}
.dropbtn:hover{ color: var(--wine); }
.dropdown-content{
  display: none;
  position: absolute;
  top: 36px;
  right: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.dropdown-content a{
  display: block;
  padding: 10px 12px;
  font-weight: 600;
  color: #333;
}
.dropdown-content a:hover{
  background: #fafafa;
  color: var(--wine);
}
.dropdown:hover .dropdown-content{ display: block; }

/* Hero / Slider */
.hero{
  position: relative;
  background: #fff;
}
.slider{
  position: relative;
  height: min(560px, 72vh);
  overflow: hidden;
}
.slides{
  height: 100%;
    aspect-ratio: 1920 / 600;  /* AJUSTA AL RATIO REAL DE TU IMAGEN */
}

.slide::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.12); /* muy sutil */
}

.slide{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity .35s ease, transform .6s ease;
}
.slide.is-active{
  opacity: 1;
  transform: scale(1);
}

.slide-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(243,228,207,.92) 0%, rgba(243,228,207,.88) 45%, rgba(243,228,207,.20) 72%, rgba(243,228,207,0) 100%);
  display: flex;
  align-items: center;
}

.hero-card{
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 14px;
  width: 100%;
}
.hero-kicker{
  color: var(--wine-2);
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: 12px;
}
.hero-title{
  margin: 6px 0 2px;
  font-size: clamp(36px, 5vw, 70px);
  letter-spacing: -0.02em;
  color: var(--wine);
}
.hero-subtitle{
  margin: 0 0 16px;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 800;
  color: #342a6c;
}

.hero-grid{
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 12px;
  max-width: 720px;
}
.pill{
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius);
  padding: 12px 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  display: flex;
  gap: 12px;
  align-items: center;
}
.pill-big{
  font-size: 44px;
  font-weight: 900;
  color: #b88a3b;
  line-height: 1;
}
.pill-text{
  font-weight: 800;
  color: #5b5b5b;
  font-size: 13px;
}
.pill-text span{
  color: var(--wine);
}

.hero-hours{
  margin-top: 14px;
  font-weight: 800;
  color: var(--wine);
}

.hero-badge{
  margin-top: 14px;
  max-width: 340px;
  background: var(--wine);
  color: #fff;
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 800;
  box-shadow: var(--shadow);
}

/* Slider buttons */
.slider-btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: none;
  background: rgba(255,255,255,.75);
  box-shadow: 0 6px 20px rgba(0,0,0,.15);
  cursor: pointer;
  font-size: 26px;
  font-weight: 900;
  display: grid;
  place-items: center;
}
.slider-btn:hover{ background: rgba(255,255,255,.9); }
.slider-btn.prev{ left: 14px; }
.slider-btn.next{ right: 14px; }

.dots{
  position: absolute;
  left: 50%;
  bottom: 86px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.dot{
  width: 10px; height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(0,0,0,.15);
  cursor: pointer;
}
.dot.is-active{
  background: var(--wine);
  border-color: rgba(255,255,255,.9);
}

/* Bottom bar */
.bottom-bar{
  background: #2c79b8;
  color: #fff;
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.bottom-item{
  max-width: 1200px;
  margin: 0 auto;
}
.bottom-label{
  opacity: .85;
  font-size: 12px;
  font-weight: 700;
}
.bottom-value{
  font-size: 16px;
  font-weight: 900;
}

/* Responsive */
@media (max-width: 980px){
  .nav{ display: none; }
  .burger{ display: inline-flex; }
  .hero-grid{ grid-template-columns: 1fr; max-width: 520px; }
  .dots{ bottom: 96px; }
  .bottom-bar{ grid-template-columns: 1fr; }
}
/* Footer */
.site-footer{
  
  background: linear-gradient(
    135deg,
    #0B7EBE 0%,
    #0063A6 60%,
    #1D3E74 100%
  );
  color: #eaeaea;
  border-top: 0px solid #6b1d25; /* franja vino */
}

.footer-top{
  padding: 44px 14px 26px;
}

.footer-container{
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 30px;
  align-items: start;
}

/* Col 1 */
.footer-logos{
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.footer-logo{
  height: 120px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-divider{
  width: 1px;
  height: 70px;
  background: rgba(255,255,255,.25);
}

.footer-note{
  margin: 0;
  line-height: 1.35;
  color: #f0f0f0;
  font-weight: 500;
}

/* Col 2 */
.footer-title{
  margin: 0 0 14px;
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
}

.footer-links{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.footer-links a{
  color: #e9e9e9;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
}

.footer-links a:hover{
  color: #ffffff;
  text-decoration: underline;
}

/* Col 3 map */
.footer-map{
  width: 100%;
  max-width: 420px;
  background: rgba(255,255,255,.06);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
}
.footer-map iframe{
  width: 100%;
  height: 220px;
  border: 0;
  display: block;
}

/* Bottom bar */
.footer-bottom{
  border-top: 1px solid rgba(255, 255, 255, 0.842);
  background: #13a4d5;
  padding: 16px 14px;
}
.footer-bottom-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.footer-copy{
  font-size: 13px;
  color: rgba(255,255,255,.8);
}
.footer-privacy{
  color: rgba(255,255,255,.85);
  text-decoration: none;
  font-size: 13px;
}
.footer-privacy:hover{
  color: #fff;
  text-decoration: underline;
}

/* Social icons (sin librerías) */
.footer-social{
  display: flex;
  align-items: center;
  gap: 14px;
}
.social-btn{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  font-size: 16px;
  opacity: .95;
}
.social-btn:hover{
  opacity: 1;
  background: rgba(255,255,255,.10);
}

/* Back to top button */
.back-to-top{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 86px;
  height: 86px;
  border-radius: 999px;
  border: 4px solid rgba(255,255,255,.95);
  background: rgb(11,126,190);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  gap: 2px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.back-to-top .arrow{
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
}
.back-to-top .text{
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
}
.back-to-top:hover{
  background: rgba(0,110,222 ); 
}

.footer-top{
  padding: 44px 14px 26px;
}

.footer-container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 14px;
}

/* Solo el layout de columnas del footer (parte superior) */
.footer-grid{
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 30px;
  align-items: start;
}

/* Responsive */
@media (max-width: 980px){
  .footer-container{
    grid-template-columns: 1fr;
  }
  .footer-map{
    max-width: 100%;
  }
  .footer-bottom-inner{
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================= */
/* MOBILE RESPONSIVE FIXES       */
/* ============================= */

/* Evita desbordamientos en móvil */
html, body{
  max-width: 100%;
  overflow-x: hidden;
}

/* Contenedores respiren en móvil */
@media (max-width: 980px){
  .header-inner{
    padding: 10px 12px;
  }

  .brand{
    min-width: 0;
  }

  .brand-title{
    font-size: 13px;
  }

  .brand-subtitle{
    font-size: 11px;
  }

  /* Menú: oculta nav y usa burger */
  .nav{ display: none; }
  .burger{ display: inline-flex; }
}

/* Hero/slider: ajusta altura para pantallas pequeñas */
@media (max-width: 768px){
  .slider{
    height: auto;
  }

  .slides{
    /* Si tu hero es solo color, esto define altura bonita en móvil */
    aspect-ratio: 16 / 10;
  }

  .slider-btn{
    width: 38px;
    height: 38px;
    font-size: 22px;
  }

  .dots{
    bottom: 16px;
  }
}

/* Footer: 1 columna y mapa full */
@media (max-width: 980px){
  .footer-grid{
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-map{
    max-width: 100%;
  }

  .footer-map iframe{
    height: 220px;
  }

  .footer-bottom-inner{
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* Menú móvil desplegable */
@media (max-width: 980px){
  .nav.is-open{
    display: flex;
    position: absolute;
    top: 64px;
    right: 12px;
    left: 12px;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0,0,0,.12);
    z-index: 100;
  }

  .nav.is-open a,
  .nav.is-open .dropbtn{
    padding: 10px 8px;
    border-radius: 10px;
  }

  .dropdown-content{
    position: static;
    display: none;
    box-shadow: none;
    border: 0;
    padding-left: 8px;
  }

  .dropdown.is-open .dropdown-content{
    display: block;
  }
}

/* ============================= */
/* FOOTER RESPONSIVE (MÓVIL)     */
/* ============================= */

@media (max-width: 980px){

  /* Footer en una sola columna */
  .footer-grid{
    grid-template-columns: 1fr;
    gap: 22px;
  }

  /* Logos más chicos */
  .footer-logo{
    height: 85px;
  }

  .footer-divider{
    height: 70px;
  }

  /* Mapa ocupa todo el ancho */
  .footer-map{
    max-width: 100%;
  }

  .footer-map iframe{
    width: 100%;
    height: 220px;
  }

  /* Barra inferior en columna */
  .footer-bottom-inner{
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* ===== HERO SLIDER LOOK (tipo tu ejemplo) ===== */
.hero {
  position: relative;
}

.slider {
  position: relative;
  width: 100%;
  height: clamp(420px, 70vh, 760px);
  overflow: hidden;
  background: #111;
}

.slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity .7s ease, transform 1.4s ease;
  background-size: cover;
  background-position: center;
}

.slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

/* Overlay oscuro */
.slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
}

/* Contenido centrado */
.slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  gap: 18px;
}

.slide-kicker {
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: clamp(46px, 2vw, 50px);
  opacity: .95;
}

.slide-title {
  margin: 0;
  font-weight: 800;
  line-height: 1.05;
  font-size: clamp(28px, 4vw, 56px);
  text-shadow: 0 10px 24px rgba(0,0,0,.45);
}

/* Botones */
.slide-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,.65);
  color: #fff;
  background: rgba(0,0,0,.20);
  transition: transform .15s ease, background .2s ease;
}

.btn:hover { transform: translateY(-1px); background: rgba(0,0,0,.32); }

.btn.primary {
  background: rgba(122,14,26,.92);
  border-color: rgba(122,14,26,1);
}

.btn.primary:hover { background: rgba(122,14,26,1); }

.btn.outline {
  background: rgba(0,0,0,.15);
}

/* Flechas (si no las tienes bonitas) */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.55);
  background: rgba(0,0,0,.25);
  color: #fff;
  cursor: pointer;
}

.slider-btn.prev { left: 18px; }
.slider-btn.next { right: 18px; }

/* Dots (si tu script los genera) */
.dots {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  gap: 10px;
  justify-content: center;
}
