:root{
  --wrap: 980px;
  --textDark: #0b0f14;
  --mutedDark: #22304a;
}

/* RESET */
*{ box-sizing: border-box; }

html{
  scroll-behavior: smooth;
}

body{
  margin: 0;
  font-family: "Source Sans 3", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Arial, sans-serif;
  background: #ffffff;
  color: var(--textDark);
}

/* CONTENEDOR */
.wrap{
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 22px 16px;
}

/* TOPBAR */
.topbar{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.topbar-inner{
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.brand{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.brand-home{
  text-decoration: none;
  color: var(--textDark);
  font-weight: 900;
  letter-spacing: 0.01em;
  cursor: pointer;
}

.brand-home:hover{
  text-decoration: underline;
}

.navlink{
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  text-decoration: none;
  font-weight: 800;
  color: var(--textDark);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.92);
}

/* HERO */
.hero{
  min-height: 650px;
  position: relative;
  background-image: url("img/Burduntzi.jpg");
  background-size: cover;
  background-position: 50% 40%;
  background-repeat: no-repeat;
}

/* CAJA SOBRE FOTO */
.hero-box{
  position: absolute;
  top: 210px;
  right: 40px;
  background: rgba(255,255,255,0.92);
  border-radius: 18px;
  padding: 18px 22px;
  max-width: 420px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.20);
  backdrop-filter: blur(6px);
}

.hero-box h1{
  margin: 0 0 8px;
  font-size: 2.4rem;
}

.hero-box .sub{
  margin: 0 0 10px;
  color: var(--mutedDark);
  font-weight: 700;
}

.msg{
  margin: 0 0 6px;
  color: rgba(0,0,0,0.70);
  font-weight: 650;
}

.tel{
  margin: 14px 0 6px;
  font-size: 1.4rem;
  font-weight: 900;
}

.tel a{
  color: var(--textDark);
  text-decoration: none;
}

.dir{
  margin: 2px 0 6px;
  font-weight: 700;
  color: rgba(0,0,0,0.82);
  letter-spacing: 0.01em;
}

.mapa{
  margin: 8px 0 0;
}

.mapa a{
  display: inline-block;
  margin-top: 4px;
  padding: 6px 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  background: rgba(34,48,74,0.12);
  color: var(--mutedDark);
  text-decoration: none;
  transition: background 0.15s ease, transform 0.1s ease;
}

.mapa a:hover{
  background: rgba(34,48,74,0.20);
  transform: translateY(-1px);
}

/* HORARIO */
.page-index .horario{
  width: 520px;
  max-width: 92vw;
  margin: 110px auto 90px;
  padding: 18px 22px;
  border-radius: 22px;
  border: 2px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.97);
  box-shadow:
    0 26px 70px rgba(0,0,0,0.18),
    0 10px 26px rgba(0,0,0,0.10);
}

.page-index .horario h2{
  margin: 0 0 14px;
  font-size: 1.10rem;
  font-weight: 900;
  color: rgba(15,20,30,0.92);
}

.page-index .horario ul{
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-index .horario li{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.page-index .horario li:last-child{
  border-bottom: none;
}

.page-index .horario li span:first-child{
  font-weight: 700;
  color: rgba(0,0,0,0.82);
  white-space: nowrap;
}

.page-index .horario li span:last-child{
  font-weight: 650;
  color: rgba(0,0,0,0.72);
  white-space: nowrap;
  text-align: right;
}

.page-index .horario .cerrado{
  font-weight: 900;
  color: rgba(0,0,0,0.92);
}

/* MAPA */
.mapa-section{
  margin: 90px auto 10px;
  max-width: 980px;
}

.mapa-section h2{
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--mutedDark);
}

.map-embed{
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(0,0,0,0.18), 0 6px 16px rgba(0,0,0,0.10);
  border: 1px solid rgba(0,0,0,0.06);
}

.map-embed iframe{
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

/* ANCLAS Y APARICIÓN */
#horario,
#mapa{
  scroll-margin-top: 90px;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
/* FOOTER */
.foot{
  text-align: center;
  padding: 18px 16px 26px;
  color: rgba(0,0,0,0.55);
}

/* RESPONSIVE */
@media (max-width: 700px){
  .hero-box{
    position: static;
    margin: 16px;
    max-width: 100%;
  }
}

@media (max-width: 640px){
  .topbar-inner{
    justify-content: flex-start;
    row-gap: 8px;
  }

  .brand{
    width: 100%;
    white-space: normal;
    line-height: 1.1;
  }

  .navlink{
    padding: 8px 10px;
    font-size: 15px;
  }
}