/* =========================================================
   Bello Rincón — Bar · Cafetería · Tapería · Pizzeria
   ========================================================= */

@font-face {
  font-family: "Seramonde Trial";
  src: url("../fonts/Seramonde Trial.otf") format("opentype");
  font-weight: 700;
  font-display: swap;
}

:root{
  --ink: #15130f;
  --ink-2: #1d1a14;
  --gold: #c6a15b;
  --gold-bright: #e9cd8d;
  --cream: #fbf6ec;
  --cream-2: #f2e9d6;
  --text: #2a2318;
  --text-soft: #6c6152;
  --line: #e1d4b4;
  --flag-green: #0f7a3d;
  --flag-red: #bd2d2a;

  --nav-h: 60px;
  --catnav-h: 50px;
  --nav-offset: calc(var(--nav-h) + var(--catnav-h) + 14px);

  --font-display: "Fraunces", "Iowan Old Style", serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --shadow-soft: 0 10px 30px rgba(0,0,0,.35);
}

*, *::before, *::after{
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce){
  html{
    scroll-behavior: auto;
  }

  *, *::before, *::after{
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

body{
  margin:0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img{
  max-width:100%;
  display:block;
}

h1,h2,h3{
  font-family: var(--font-display);
  color: var(--text);
  margin: 0;
  line-height: 1.1;
}

a{
  color: inherit;
  text-decoration: none;
}

.visually-hidden{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

a:focus-visible,
button:focus-visible{
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.container{
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}


/* =========================================================
   HEADER / NAV
   ========================================================= */

.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-bar{
  height: var(--nav-h);
  background: #100e0a;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 0 16px;
  border-bottom: 1px solid rgba(198,161,91,.25);
}

.brand{
  display:flex;
  align-items:center;
  gap:.6rem;
  min-width:0;
}

.brand img{
  width:36px;
  height:36px;
  border-radius:50%;
  flex:none;
}

.brand span{
  font-family: var(--font-display);
  color: var(--gold-bright);
  font-size:1.05rem;
  letter-spacing:.01em;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* Contenedor de Llamar + idioma */
.header-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex:none;
}

/* Botón llamar */
.call-btn{
  flex:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.4rem;
  background:var(--gold);
  color:var(--ink);
  font-weight:700;
  font-size:.85rem;
  padding:.5rem .85rem;
  border-radius:999px;
  transition:background .15s ease, transform .15s ease;
}

.call-btn:hover{
  background:var(--gold-bright);
  transform:translateY(-1px);
}

.call-btn svg{
  width:15px;
  height:15px;
  flex:none;
}

/* Selector ES / EN */
.language-switch{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:2px;
  flex:none;
  white-space:nowrap;
  color:var(--gold-bright);
}

.lang-btn{
  appearance:none;
  -webkit-appearance:none;
  border:1px solid transparent;
  background:transparent;
  color:var(--gold-bright);
  font-family:var(--font-body);
  font-size:.78rem;
  font-weight:700;
  line-height:1;
  min-width:28px;
  min-height:28px;
  padding:4px 5px;
  margin:0;
  border-radius:6px;
  cursor:pointer;
  opacity:.55;
  transition:
    opacity .15s ease,
    background .15s ease,
    color .15s ease,
    border-color .15s ease;
}

.lang-btn:hover{
  opacity:1;
  background:rgba(233,205,141,.08);
}

.lang-btn.active{
  opacity:1;
  color:var(--gold-bright);
  border-color:rgba(233,205,141,.45);
  background:rgba(233,205,141,.10);
}

.lang-separator{
  color:rgba(233,205,141,.45);
  font-size:.78rem;
  user-select:none;
}

.category-nav{
  height:var(--catnav-h);
  background:#1a1712;
  border-bottom:1px solid rgba(198,161,91,.2);
  overflow:hidden;
}

.category-track{
  height:100%;
  display:flex;
  align-items:center;
  gap:.5rem;
  overflow-x:auto;
  padding:0 16px;
  scrollbar-width:none;
}

.category-track::-webkit-scrollbar{
  display:none;
}

.cat-pill{
  flex:none;
  font-size:.82rem;
  font-weight:600;
  color:#cfc3a6;
  padding:.4rem .8rem;
  border-radius:999px;
  border:1px solid rgba(198,161,91,.35);
  white-space:nowrap;
  transition:
    background .15s ease,
    color .15s ease,
    border-color .15s ease;
}

.cat-pill:hover{
  border-color:var(--gold);
  color:var(--gold-bright);
}

.cat-pill.is-active{
  background:var(--gold);
  border-color:var(--gold);
  color:var(--ink);
}


/* =========================================================
   HERO
   ========================================================= */

.hero{
  position:relative;
  background:radial-gradient(
    120% 90% at 50% 15%,
    #23200e 0%,
    var(--ink) 55%,
    #0e0c09 100%
  );
  padding:64px 20px 70px;
  text-align:center;
  overflow:hidden;
}

.hero-glow{
  position:absolute;
  top:-20%;
  left:50%;
  width:620px;
  height:620px;
  transform:translateX(-50%);
  background:radial-gradient(
    circle,
    rgba(198,161,91,.30) 0%,
    rgba(198,161,91,0) 65%
  );
  pointer-events:none;
}

.hero-inner{
  position:relative;
  max-width:560px;
  margin:0 auto;
}

.hero-logo{
  width:min(90%,420px);
  height:auto;
  aspect-ratio:1800 / 377;
  margin:0 auto;
  filter:drop-shadow(0 0 26px rgba(198,161,91,.28));
  opacity:0;
  transform:scale(.94);
  animation:hero-logo-in 1.1s cubic-bezier(.22,.9,.3,1) .1s forwards;
}

.hero-flagline{
  width:0;
  height:3px;
  margin:26px auto 22px;
  border-radius:2px;
  background:linear-gradient(
    90deg,
    var(--flag-green) 0 33%,
    #fff 33% 66%,
    var(--flag-red) 66% 100%
  );
  animation:hero-line-in .7s ease-out .95s forwards;
}

.hero-tag{
  color:#e7ddc4;
  font-size:1.6rem;
  max-width:40ch;
  margin:0 auto;
  opacity:0;
  animation:hero-fade-in .7s ease-out 1.15s forwards;
  font-family:"Seramonde Trial", var(--font-body);
}

.hero-actions{
  display:flex;
  gap:.7rem;
  justify-content:center;
  flex-wrap:wrap;
  margin-top:30px;
  opacity:0;
  animation:hero-fade-in .7s ease-out 1.3s forwards;
}

.btn{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding:.8rem 1.4rem;
  border-radius:999px;
  font-weight:700;
  font-size:.95rem;
  border:1px solid transparent;
  transition:
    transform .15s ease,
    background .15s ease,
    border-color .15s ease,
    color .15s ease;
}

.btn-primary{
  background:var(--gold);
  color:var(--ink);
}

.btn-primary:hover{
  background:var(--gold-bright);
  transform:translateY(-1px);
}

.btn-ghost{
  border-color:rgba(233,205,141,.55);
  color:var(--gold-bright);
}

.btn-ghost:hover{
  border-color:var(--gold-bright);
  background:rgba(233,205,141,.08);
}

@keyframes hero-logo-in{
  to{
    opacity:1;
    transform:scale(1);
  }
}

@keyframes hero-line-in{
  to{
    width:220px;
  }
}

@keyframes hero-fade-in{
  to{
    opacity:1;
  }
}

@media (prefers-reduced-motion:reduce){
  .hero-logo,
  .hero-tag,
  .hero-actions{
    opacity:1;
    transform:none;
  }

  .hero-flagline{
    width:220px;
  }
}


/* =========================================================
   SHOWCASE PHOTO STRIP
   ========================================================= */

.showcase{
  position:relative;
  height:clamp(160px,28vw,340px);
  overflow:hidden;
  background:var(--ink);
}

.showcase picture,
.showcase img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center 42%;
}

.showcase::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    180deg,
    rgba(14,12,9,.55) 0%,
    rgba(14,12,9,0) 18%,
    rgba(14,12,9,0) 78%,
    rgba(251,246,236,.9) 100%
  );
  pointer-events:none;
}


/* =========================================================
   INTRO
   ========================================================= */

.intro{
  padding:44px 20px 8px;
  text-align:center;
}

.intro h1{
  font-size:clamp(1.5rem,4vw,1.9rem);
  font-weight:600;
}

.intro p{
  color:var(--text-soft);
  max-width:56ch;
  margin:12px auto 0;
}


/* =========================================================
   MENU
   ========================================================= */

.menu{
  padding:20px 0 10px;
}

.menu-section{
  scroll-margin-top:var(--nav-offset);
  padding:40px 0;
  border-top:1px solid var(--line);
}

.menu-section:nth-of-type(even){
  background:var(--cream-2);
}

.menu-section:first-of-type{
  border-top:none;
}

.section-head{
  margin-bottom:22px;
}

.section-head h2{
  font-size:clamp(1.4rem,4vw,1.7rem);
  font-weight:600;
}

.section-head .section-note{
  display:block;
  margin-top:6px;
  color:var(--text-soft);
  font-size:.92rem;
  font-style:italic;
  font-family:var(--font-display);
}

.dish-list{
  list-style:none;
  margin:0;
  padding:0;
}

.dish{
  padding:14px 0;
  border-bottom:1px dashed var(--line);
}

.dish:last-child{
  border-bottom:none;
}

.dish-head{
  display:flex;
  align-items:baseline;
  gap:.5rem;
}

.dish-name{
  font-family:var(--font-display);
  font-weight:600;
  font-size:1.05rem;
  flex:none;
}

.leader{
  flex:1 1 auto;
  border-bottom:1px dotted var(--line);
  transform:translateY(-5px);
  margin:0 2px;
  min-width:16px;
}

.dish-price{
  flex:none;
  font-weight:700;
  font-variant-numeric:tabular-nums;
  color:var(--text);
  white-space:nowrap;
}

.dish-price.dual{
  font-size:.92rem;
}

.dish-desc{
  margin:4px 0 0;
  color:var(--text-soft);
  font-size:.93rem;
  max-width:62ch;
}

.allergens{
  display:inline-block;
  margin-top:5px;
  font-size:.74rem;
  letter-spacing:.02em;
  color:var(--gold,#a3814a);
  background:rgba(198,161,91,.14);
  border:1px solid rgba(198,161,91,.35);
  border-radius:999px;
  padding:.12rem .55rem;
  cursor:help;
}

.dish:hover .allergens{
  background:rgba(198,161,91,.24);
}


/* =========================================================
   BUILD-YOUR-OWN PASTA
   ========================================================= */

.builder{
  background:var(--cream);
  border:1px solid var(--line);
  border-radius:14px;
  padding:18px 20px;
  margin-bottom:24px;
}

.builder-step{
  display:flex;
  gap:14px;
  padding:12px 0;
}

.builder-step + .builder-step{
  border-top:1px dashed var(--line);
}

.builder-step .step-num{
  flex:none;
  width:26px;
  height:26px;
  border-radius:50%;
  background:var(--ink);
  color:var(--gold-bright);
  font-family:var(--font-display);
  font-weight:600;
  font-size:.85rem;
  display:flex;
  align-items:center;
  justify-content:center;
}

.builder-step h3{
  font-size:1rem;
  font-weight:700;
  font-family:var(--font-body);
  margin-bottom:6px;
}

.chip-row{
  display:flex;
  flex-wrap:wrap;
  gap:.5rem;
}

.chip{
  font-size:.85rem;
  padding:.35rem .7rem;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  white-space:nowrap;
}

.chip b{
  font-family:var(--font-display);
}

.sauce-list{
  display:grid;
  gap:8px 20px;
  grid-template-columns:1fr;
}

@media (min-width:640px){
  .sauce-list{
    grid-template-columns:1fr 1fr;
  }
}

.sauce-item b{
  font-family:var(--font-display);
}

.sauce-item span{
  color:var(--text-soft);
}


/* =========================================================
   FEATURED COMBO BANNER
   ========================================================= */

.combo-banner{
  position:relative;
  margin:26px 0 6px;
  background:var(--ink);
  color:var(--cream);
  border-radius:14px;
  padding:24px 22px;
  min-height:200px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  overflow:hidden;
  isolation:isolate;
}

.combo-photo{
  position:absolute;
  inset:0;
  z-index:-2;
}

.combo-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 62%;
  display:block;
}

.combo-banner::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(
    100deg,
    rgba(14,12,9,.94) 0%,
    rgba(14,12,9,.86) 45%,
    rgba(14,12,9,.55) 100%
  );
}

.combo-banner .combo-text h3{
  color:var(--gold-bright);
  font-size:1.15rem;
  margin-bottom:4px;
}

.combo-banner .combo-text p{
  margin:0;
  color:#d8cdb2;
  font-size:.9rem;
  max-width:46ch;
}

.combo-price{
  flex:none;
  font-family:var(--font-display);
  font-size:1.7rem;
  font-weight:600;
  color:var(--gold-bright);
  text-shadow:0 2px 10px rgba(0,0,0,.5);
}


/* =========================================================
   ALLERGEN LEGEND
   ========================================================= */

.allergen-legend{
  max-width:720px;
  margin:36px auto 0;
  padding:26px 20px 10px;
  border-top:1px solid var(--line);
}

.allergen-legend h3{
  font-size:1.1rem;
  font-weight:600;
  text-align:center;
  margin-bottom:6px;
}

.allergen-legend > p{
  text-align:center;
  color:var(--text-soft);
  font-size:.88rem;
  max-width:52ch;
  margin:0 auto 16px;
}

.legend-list{
  list-style:none;
  margin:0 0 8px;
  padding:0;
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:8px 20px;
  max-width:520px;
  margin-inline:auto;
}

@media (min-width:560px){
  .legend-list{
    grid-template-columns:repeat(3,1fr);
  }
}

.legend-list li{
  display:flex;
  align-items:center;
  gap:.5rem;
  font-size:.85rem;
  color:var(--text);
}

.legend-list span{
  flex:none;
  width:22px;
  height:22px;
  border-radius:50%;
  background:var(--ink);
  color:var(--gold-bright);
  font-family:var(--font-display);
  font-weight:600;
  font-size:.78rem;
  display:flex;
  align-items:center;
  justify-content:center;
}

.menu-footnote{
  text-align:center;
  color:var(--text-soft);
  font-size:.85rem;
  font-style:italic;
  padding:20px 20px 10px;
}


/* =========================================================
   INFO / VISIT
   ========================================================= */

.info{
  background:var(--ink);
  color:var(--cream);
  padding:52px 20px 40px;
}

.info-inner{
  max-width:560px;
  margin:0 auto;
  display:grid;
  gap:28px;
}

.info h2{
  color:var(--gold-bright);
  font-size:1.5rem;
  margin-bottom:18px;
}

.info-grid{
  display:grid;
  gap:22px;
}

@media (min-width:640px){
  .info-grid{
    grid-template-columns:1fr 1fr;
  }
}

.info-block h3{
  font-family:var(--font-display);
  font-style:italic;
  font-weight:500;
  font-size:1.05rem;
  color:var(--gold);
  margin-bottom:8px;
}

.info-block p,
.info-block a{
  color:#e7ddc4;
  font-size:.95rem;
}

.hours-row{
  display:flex;
  justify-content:space-between;
  gap:1rem;
  padding:4px 0;
  border-bottom:1px dashed rgba(233,205,141,.2);
  font-size:.92rem;
}

.hours-row:last-child{
  border-bottom:none;
}

.info-actions{
  display:flex;
  gap:.7rem;
  flex-wrap:wrap;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer{
  background:#0f0d0a;
  color:#a89a7a;
  text-align:center;
  font-size:.82rem;
  padding:22px 20px calc(22px + env(safe-area-inset-bottom));
}

.site-footer strong{
  color:var(--gold-bright);
}


/* =========================================================
   MOBILE STICKY CTA
   ========================================================= */

.mobile-cta{
  display:none;
}

@media (max-width:640px){

  .mobile-cta{
    display:flex;
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:60;
    background:#100e0a;
    border-top:1px solid rgba(198,161,91,.3);
    padding:10px 14px calc(10px + env(safe-area-inset-bottom));
    gap:.6rem;
  }

  .mobile-cta a{
    flex:1;
    text-align:center;
    padding:.7rem .5rem;
    border-radius:999px;
    font-weight:700;
    font-size:.88rem;
  }

  .mobile-cta .cta-call{
    background:var(--gold);
    color:var(--ink);
  }

  .mobile-cta .cta-map{
    border:1px solid rgba(233,205,141,.5);
    color:var(--gold-bright);
  }

  body{
    padding-bottom:66px;
  }

  /* Evita que el header se comprima demasiado en móviles */
  .header-actions{
    gap:6px;
  }

  .call-btn{
    padding:.48rem .7rem;
    font-size:.82rem;
  }

  .language-switch{
    gap:1px;
  }

  .lang-btn{
    min-width:27px;
    min-height:28px;
    font-size:.75rem;
    padding:4px;
  }
}


/* =========================================================
   RESPONSIVE — LARGER SCREENS
   ========================================================= */

@media (min-width:760px){

  .container{
    max-width:820px;
  }

  .dish-list{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:0 40px;
  }

  .dish{
    break-inside:avoid;
  }
}
