/* ===== Tropic Burger — estilo tropical, mobile-first ===== */

:root {
  --green: #0f7a4f;
  --green-dark: #0a5c3b;
  --orange: #ff7a18;
  --yellow: #ffc23c;
  --cream: #fff8ee;
  --ink: #20342b;
  --muted: #5c6f66;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(15, 122, 79, 0.12);
  --max: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Nunito", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .logo { font-family: "Baloo 2", "Nunito", sans-serif; line-height: 1.15; }

a { color: inherit; }

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

/* ===== Botones ===== */
.btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  cursor: pointer;
  border: none;
}
.btn:hover { transform: translateY(-2px); }
.btn--wa { background: #25d366; color: #fff; box-shadow: 0 8px 20px rgba(37,211,102,.35); }
.btn--ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.8); }
.btn--small { background: var(--orange); color: #fff; padding: 9px 18px; font-size: .9rem; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 16px;
  padding: 12px 20px;
  background: rgba(255, 248, 238, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(15,122,79,.1);
}
.logo { font-size: 1.4rem; font-weight: 800; text-decoration: none; color: var(--green-dark); }
.logo span { color: var(--orange); }
.nav { display: none; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; color: var(--ink); }
.nav a:hover { color: var(--green); }
.site-header .btn--small { margin-left: auto; }
.nav-toggle {
  margin-left: 8px; width: 40px; height: 40px;
  background: transparent; border: 0; cursor: pointer;
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
}
.nav-toggle span { height: 3px; background: var(--green-dark); border-radius: 3px; transition: .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  color: #fff;
  text-align: center;
  padding: 72px 20px 88px;
  background:
    linear-gradient(160deg, rgba(10,92,59,.74) 0%, rgba(10,92,59,.62) 45%, rgba(8,70,46,.85) 100%),
    url("burger-doble.webp") center / cover no-repeat;
  overflow: hidden;
}
.hero::after {
  content: "🌴🍹🌴"; position: absolute; bottom: -8px; left: 0; right: 0;
  font-size: 2rem; opacity: .15; letter-spacing: 40px; text-align: center;
}
.hero__inner { max-width: 720px; margin: 0 auto; position: relative; z-index: 1; }
.hero__eyebrow { font-weight: 700; letter-spacing: .5px; opacity: .95; margin-bottom: 14px; }
.hero__title { font-size: clamp(2.2rem, 7vw, 3.6rem); font-weight: 800; margin-bottom: 16px; }
.hero__sub { font-size: 1.1rem; opacity: .95; margin: 0 auto 28px; max-width: 520px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero__badge { margin-top: 26px; font-weight: 700; opacity: .95; }

/* ===== Secciones ===== */
.section { padding: 64px 0; }
.section--alt { background: var(--white); }
.section__title { font-size: clamp(1.6rem, 5vw, 2.2rem); color: var(--green-dark); margin-bottom: 18px; }
.section__title.center, .section__lead.center, .center { text-align: center; }
.section__lead { color: var(--muted); margin: 0 auto 36px; max-width: 540px; }
.section p { margin-bottom: 14px; }

.grid-2 { display: grid; gap: 36px; }

/* Sobre nosotros */
.features { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.features li { font-weight: 600; }
.about-card {
  background: linear-gradient(160deg, var(--yellow), var(--orange));
  color: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 48px 28px; min-height: 240px;
}
.about-card__emoji { font-size: 4rem; margin-bottom: 16px; }
.about-card p { font-family: "Baloo 2", sans-serif; font-size: 1.3rem; font-weight: 600; }

/* Menú */
.menu-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.menu-card {
  background: var(--white); border: 1px solid rgba(15,122,79,.1);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transition: transform .18s ease;
}
.menu-card:hover { transform: translateY(-4px); }
.menu-card img { display: block; width: 100%; height: 200px; object-fit: cover; }
.menu-card__body { padding: 18px 20px 22px; }
.menu-card h3 { color: var(--green-dark); margin-bottom: 6px; }
.menu-card p { color: var(--muted); margin: 0; }
.menu-note { margin-top: 28px; font-weight: 600; }
.menu-note a, .contact-list a, .footer a { color: var(--orange); font-weight: 700; }

/* Reseñas */
.reviews { display: grid; grid-template-columns: 1fr; gap: 20px; }
.review {
  background: var(--white); border: 1px solid rgba(15,122,79,.1);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
}
.review__stars { color: var(--yellow); font-size: 1.2rem; letter-spacing: 2px; margin-bottom: 10px; }
.review__text { font-style: italic; color: var(--ink); margin-bottom: 12px; }
.review__author { color: var(--muted); font-weight: 700; font-size: .9rem; margin: 0; }

/* Contacto */
.contact-list { list-style: none; display: grid; gap: 16px; margin-bottom: 28px; }
.hours h3 { color: var(--green-dark); margin-bottom: 10px; }
.hours table { width: 100%; border-collapse: collapse; max-width: 360px; }
.hours td { padding: 7px 0; border-bottom: 1px dashed rgba(15,122,79,.15); }
.hours td:last-child { text-align: right; font-weight: 600; }
.hours .closed td { color: #c0392b; opacity: .8; }
.map {
  position: relative;
  min-height: 320px; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
}
.map iframe { display: block; width: 100%; height: 100%; min-height: 320px; }
.map__link {
  position: absolute; bottom: 12px; left: 12px;
  background: var(--white); color: var(--green-dark);
  padding: 8px 14px; border-radius: 999px; font-weight: 700;
  text-decoration: none; box-shadow: 0 4px 14px rgba(0,0,0,.18); font-size: .9rem;
}
.map__link:hover { background: var(--cream); }

/* Oferta */
.offer {
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  padding: 36px 0;
  text-align: center;
}
.offer__inner { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.offer__tag {
  background: rgba(255,255,255,.9); color: var(--green-dark);
  font-weight: 800; font-size: .8rem; padding: 5px 14px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: .5px;
}
.offer__text {
  font-family: "Baloo 2", sans-serif; color: #fff; font-size: clamp(2rem, 7vw, 3rem);
  font-weight: 800; line-height: 1.1; margin: 6px 0 0; text-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.offer__sub { color: rgba(255,255,255,.95); font-weight: 600; margin: 0; }
.offer__cta {
  margin-top: 14px; display: inline-block; background: var(--green-dark); color: #fff;
  font-weight: 700; padding: 12px 26px; border-radius: 999px; text-decoration: none;
  transition: transform .15s ease, background .15s ease;
}
.offer__cta:hover { transform: translateY(-2px); background: var(--green); }

/* Footer */
.footer { background: var(--green-dark); color: #eaf6ef; padding: 40px 0 28px; text-align: center; }
.footer__inner p { margin-bottom: 8px; }
.footer__brand { font-family: "Baloo 2", sans-serif; font-size: 1.4rem; font-weight: 800; }
.footer__social a { margin: 0 2px; }
.footer__copy { opacity: .7; font-size: .85rem; margin-top: 10px; }

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; font-size: 1.6rem;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; box-shadow: 0 8px 22px rgba(37,211,102,.45);
  transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.08); }

/* ===== Responsive ===== */
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: 1fr 1fr; align-items: center; }
  .menu-grid { grid-template-columns: repeat(3, 1fr); }
  .reviews { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 860px) {
  .nav { display: flex; }
  .site-header .btn--small { margin-left: 0; }
  .nav-toggle { display: none; }
}

/* Menú móvil desplegable */
@media (max-width: 859px) {
  .nav {
    display: flex;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--cream); border-bottom: 1px solid rgba(15,122,79,.1);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav.open { max-height: 320px; }
  .nav a { padding: 14px 20px; border-top: 1px solid rgba(15,122,79,.08); }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; transition: none !important; }
}
