    :root{
  --bg: #0f1724;
  --card: rgba(11,18,32,0.6);
  --accent: #ff6b35;
  --text: #f7fafc;
  --header-height: 72px; 
}

*{box-sizing:border-box}

html,body{
  height:100%;
  margin:0;
  font-family:Inter,Segoe UI,Arial,sans-serif;
  color:var(--text);
}

body::before{
  content: "";
  position: fixed;
  inset: 0; /* top:0; right:0; bottom:0; left:0; */
  z-index: -1;
  background: linear-gradient(180deg, rgb(255, 255, 255) 0%, rgb(255, 149, 0) 110%);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

main{min-height:100vh;  justify-content:center; padding: calc(var(--header-height) + 1rem) 1rem 2rem; display:flex; flex-direction:column; align-items:center}

.main-box{
    
    display:flex;
    flex-direction:column;
    gap:1.5rem;
}

.encabezado-inter{
    margin-bottom: 1rem;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    max-width:980px;
    width:100%;
    margin: 0 auto 1rem auto;
    padding:0.5rem 0.75rem;
    background: linear-gradient(180deg, rgb(240, 140, 1), rgb(255, 196, 0));
    backdrop-filter: blur(6px);
    border-radius: 12px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.28);
    white-space: nowrap;
    overflow: hidden;
    /* expose actual header height to layout (keeps main padded) */
    --header-height:72px;
}

#encabezado-img{
  width: 64px;
  height:64px;
  background-color: var(--text);
  border-radius: 50%;
  padding:1px;
  display:inline-block;
}

.encabezado-inter h2{
  font-size:1.25rem;
  margin:0;
  color:var(--text);
  font-weight:600;
  display:flex;
  align-items:center;
  gap:0.6rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

.seccion-principal{
  align-items: center;
  text-align: center;
}

.seccion-secundaria{
  align-items: center;
  text-align: center;
  margin-top:2rem;
}

.logos-principal{
  width: 150px;
  /*background-color: rgb(255, 196, 0);*/
  padding: 0.2rem;
  margin: 1rem 0.5rem 0.5rem 1rem;
  border-radius: 100%;
}

.logos-secundario{
  width: 75px;
  /*background-color: rgb(255, 196, 0);*/
  padding: 0.2rem;
  margin: 1rem 0.5rem 0.5rem 1rem;
  border-radius: 100%;
}



@media (max-width:420px){
  .encabezado-inter h2{font-size:1.15rem}
}

.restaurantes-wrapper{
  width:100%;
  max-width:1200px;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap:1.25rem;
  justify-content:center;
  padding:0.75rem 0.5rem 2rem;
  box-sizing:border-box;
}


.restaurantes-wrapper .caja-restaurante{max-width:720px; margin:0 auto}

/* Resposive */
@media (max-width:900px){
  :root{--header-height:64px}
  .restaurantes-wrapper{grid-template-columns:repeat(auto-fit, minmax(260px, 1fr)); gap:1rem}
  .boton1{max-width:220px}
}

@media (max-width:480px){
  :root{--header-height:56px}
  main{padding: calc(var(--header-height) + 0.75rem) 0.75rem 1.25rem}
  .restaurantes-wrapper{grid-template-columns:1fr; padding:0.5rem}
  .encabezado-inter{padding:0.4rem 0.6rem}
  #encabezado-img{width:48px; height:48px}
  .encabezado-inter h2{font-size:1rem}
  .boton1{max-width:180px}
}
