:root{
  --red-1:#7d0f0f;
  --red-2:#b71818;
  --red-3:#d62b1f;
  --yellow-1:#f5be2e;
  --yellow-2:#ffd45b;
  --dark:#1a120d;
  --paper:#efe0c6;
  --paper-2:#e5d0ae;
  --text:#2f1d14;
  --white:#ffffff;
  --shadow:0 10px 24px rgba(0,0,0,.22);
  --radius:20px;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Montserrat', sans-serif;
  color:var(--text);
  background:
    linear-gradient(rgba(23,12,8,.75), rgba(23,12,8,.75)),
    url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?q=80&w=1600&auto=format&fit=crop') center/cover no-repeat;
  line-height:1.5;
}

img{
  display:block;
  max-width:100%;
}

a{
  text-decoration:none;
  color:inherit;
}

.container{
  width:min(1180px, calc(100% - 32px));
  margin-inline:auto;
}

/* HEADER */
.topbar{
  position:sticky;
  top:0;
  z-index:1000;
  background:
    linear-gradient(90deg, rgba(104,9,9,.96), rgba(170,20,20,.95)),
    url('https://www.transparenttextures.com/patterns/wood-pattern.png');
  color:var(--white);
  border-bottom:2px solid rgba(255,212,91,.35);
  box-shadow:0 6px 16px rgba(0,0,0,.22);
}

.header-wrap{
  min-height:88px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  flex-shrink:0;
}

.brand-text{
  font-size:2rem;
  font-weight:900;
  letter-spacing:1px;
  color:#ffe69a;
  text-shadow:2px 2px 0 rgba(80,0,0,.45);
}

.brand-logo{
  width:54px;
  height:54px;
  object-fit:contain;
  border-radius:50%;
  background:#f8c33a;
  padding:4px;
  border:2px solid rgba(80,0,0,.4);
}

.nav{
  display:flex;
  align-items:center;
  gap:28px;
}

.nav a{
  color:#fff6d7;
  font-weight:700;
  position:relative;
}

.nav a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-8px;
  width:0;
  height:3px;
  background:var(--yellow-2);
  transition:.25s;
  border-radius:999px;
}

.nav a:hover::after,
.nav a.active::after{
  width:100%;
}

.header-actions{
  display:flex;
  align-items:center;
  gap:12px;
}

.phone{
  font-weight:800;
  color:#ffe69a;
}

.menu-toggle{
  display:none;
  background:none;
  border:none;
  color:white;
  font-size:1.8rem;
  cursor:pointer;
}

/* BUTTONS */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:0 22px;
  border-radius:14px;
  font-weight:900;
  letter-spacing:.3px;
  transition:background-color .25s ease, color .25s ease, transform .25s ease, opacity .25s ease;
  border:none;
  cursor:pointer;
  box-shadow:var(--shadow);
}

.btn:hover{
  transform:translateY(-2px);
}

.btn-yellow{
  background:linear-gradient(180deg, var(--yellow-2), var(--yellow-1));
  color:#631808;
}

.btn-outline{
  border:2px solid #fff2bf;
  color:#fff2bf;
  background:transparent;
  box-shadow:none;
}

.btn-outline:hover{
  background:#fff2bf;
  color:#6d0f0f;
}

.btn-outline-light{
  border:2px solid #ffde78;
  color:#ffde78;
  background:transparent;
  box-shadow:none;
}

.btn-outline-light:hover{
  background:#ffde78;
  color:#761010;
}

.btn-dark{
  background:#32160f;
  color:#fff;
}

/* HERO */
.hero{
  position:relative;
  min-height:88vh;
  display:grid;
  place-items:center;
  overflow:hidden;
}

.hero-bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 26%;
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(20,8,5,.50), rgba(20,8,5,.72)),
    radial-gradient(circle at center, rgba(214,43,31,.08), transparent 40%);
}

.hero-content{
  position:relative;
  z-index:2;
  text-align:center;
  color:#fff;
  max-width:900px;
  padding:80px 0;
}

.hero-badge{
  display:inline-block;
  margin-bottom:22px;
  background:rgba(255,212,91,.15);
  border:1px solid rgba(255,212,91,.35);
  color:#ffe69a;
  padding:10px 18px;
  border-radius:999px;
  font-weight:800;
}

.hero h1{
  font-size:clamp(2.3rem, 6vw, 5rem);
  line-height:1.02;
  margin-bottom:18px;
  font-weight:900;
  text-shadow:0 5px 20px rgba(0,0,0,.45);
}

.hero h1 span{
  color:#ffd45b;
}

.hero p{
  font-size:1.1rem;
  max-width:720px;
  margin:0 auto 28px;
  color:#fbeed2;
}

.hero-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  justify-content:center;
}

/* GENERIC SECTIONS */
.section{
  padding:80px 0;
}

.paper-section{
  background:
    linear-gradient(rgba(239,224,198,.97), rgba(229,208,174,.96));
}

.section-title{
  text-align:center;
  margin-bottom:40px;
}

.section-title h2{
  font-size:clamp(2rem, 4vw, 3rem);
  color:#7b1212;
  margin-bottom:10px;
}

.section-title p{
  font-size:1.05rem;
  color:#5c3b2d;
}

.section-title.light h2,
.section-title.light p{
  color:#fff5d4;
}

/* CARDS */
.cards-3{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:24px;
}

.food-card{
  background:#fff7ea;
  border-radius:22px;
  overflow:hidden;
  box-shadow:var(--shadow);
  transition:transform .25s ease, opacity .5s ease;
}

.food-card:hover{
  transform:translateY(-6px);
}

.food-card img{
  width:100%;
  height:250px;
  object-fit:cover;
}

.food-card-body{
  padding:22px;
}

.food-card-body h3{
  color:#7f1111;
  margin-bottom:8px;
  font-size:1.25rem;
}

/* PROMOS */
.promos-highlight{
  background:
    linear-gradient(rgba(38,16,12,.85), rgba(38,16,12,.88)),
    url('img/cocina.png') center/cover no-repeat;
}

.promo-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:26px;
}

.promo-grid-page{
  grid-template-columns:repeat(2, 1fr);
}

.promo-box{
  background:linear-gradient(180deg, #f7ead0, #ead4ac);
  border-radius:24px;
  overflow:hidden;
  box-shadow:var(--shadow);
  transition:opacity .5s ease, transform .25s ease;
}

.promo-box img{
  width:100%;
  height:260px;
  object-fit:cover;
}

.promo-info{
  padding:24px;
}

.promo-info h3{
  color:#8d1111;
  font-size:1.5rem;
  margin-bottom:10px;
}

.promo-info p{
  margin-bottom:14px;
}

.price{
  font-size:2rem;
  font-weight:900;
  color:#7a0e0e;
  margin-bottom:18px;
}

.center-btn{
  text-align:center;
  margin-top:34px;
}

/* CONTACT */
.contact-section{
  background:linear-gradient(180deg, #f5c542, #e9ab1a);
}

.contact-wrap{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
}

.contact-text h2{
  font-size:2.2rem;
  margin-bottom:8px;
  color:#65110d;
}

.contact-actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

/* PAGE HERO */
.page-main{
  min-height:calc(100vh - 180px);
}

.page-hero{
  background:
    linear-gradient(180deg, rgba(112,12,12,.92), rgba(72,8,8,.92)),
    url('https://www.transparenttextures.com/patterns/wood-pattern.png');
  color:#fff5d8;
  text-align:center;
}

.small-hero{
  padding:80px 0 60px;
}

.page-hero h1{
  font-size:clamp(2.2rem, 5vw, 4rem);
  margin-bottom:10px;
}

/* MENU */
.menu-category{
  margin-bottom:42px;
}

.menu-category h2{
  font-size:2rem;
  color:#7f1111;
  margin-bottom:18px;
  border-left:8px solid #cf2a1d;
  padding-left:14px;
}

.menu-list{
  display:grid;
  gap:16px;
}

.menu-item{
  background:#fff8ee;
  border-radius:18px;
  padding:20px 22px;
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:20px;
  box-shadow:0 8px 18px rgba(0,0,0,.08);
  border:1px solid rgba(123,18,18,.08);
  transition:opacity .5s ease, transform .25s ease;
}

.menu-item h3{
  color:#6d1010;
  margin-bottom:6px;
}

.menu-item span{
  font-weight:900;
  color:#b71818;
  font-size:1.2rem;
  white-space:nowrap;
}

/* FOOTER */
.footer{
  background:#1e0f0b;
  color:#efd7a7;
  padding:26px 0;
}

.footer-wrap{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  flex-wrap:wrap;
}

.footer a{
  color:#ffe69a;
}

.footer-logo-inline{
  width:22px;
  height:22px;
  vertical-align:middle;
  margin-left:4px;
}

/* FLOAT */
.whatsapp-float{
  position:fixed;
  right:18px;
  bottom:18px;
  width:62px;
  height:62px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#22c55e;
  color:#fff;
  font-size:1.6rem;
  box-shadow:0 10px 24px rgba(0,0,0,.28);
  z-index:999;
}

/* SCROLL REVEAL */
.reveal{
  opacity:0;
  transform:translateY(32px);
  transition:opacity .45s ease, transform .45s ease;
}

.reveal-left{
  opacity:0;
  transform:translateX(-32px);
  transition:opacity .45s ease, transform .45s ease;
}

.reveal-right{
  opacity:0;
  transform:translateX(32px);
  transition:opacity .45s ease, transform .45s ease;
}

.reveal.show,
.reveal-left.show,
.reveal-right.show{
  opacity:1;
  transform:translate(0, 0);
}

.reveal-delay-1{ transition-delay:.05s; }
.reveal-delay-2{ transition-delay:.10s; }
.reveal-delay-3{ transition-delay:.15s; }
.reveal-delay-4{ transition-delay:.20s; }

/* RESPONSIVE */
@media (max-width: 980px){
  .nav{
    position:absolute;
    top:88px;
    left:0;
    right:0;
    background:#7f1111;
    flex-direction:column;
    gap:18px;
    padding:20px;
    display:none;
    border-top:1px solid rgba(255,255,255,.12);
  }

  .nav.open{
    display:flex;
  }

  .menu-toggle{
    display:block;
  }

  .phone{
    display:none;
  }

  .cards-3,
  .promo-grid,
  .promo-grid-page{
    grid-template-columns:1fr;
  }

  .contact-wrap{
    flex-direction:column;
    text-align:center;
  }

  .hero-bg{
    object-position:center 22%;
  }
}

@media (max-width: 700px){
  .brand-text{
    font-size:1.5rem;
  }

  .brand-logo{
    width:44px;
    height:44px;
  }

  .header-wrap{
    min-height:76px;
  }

  .nav{
    top:76px;
  }

  .header-actions .btn{
    display:none;
  }

  .hero{
    min-height:78vh;
  }

  .hero-content{
    padding:50px 0;
  }

  .hero p{
    font-size:1rem;
  }

  .food-card img,
  .promo-box img{
    height:220px;
  }

  .menu-item{
    flex-direction:column;
    align-items:flex-start;
  }

  .section{
    padding:60px 0;
  }

  .hero-bg{
    object-position:center 18%;
  }
}
