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

:root {
  --olive:       #3d5a1e;
  --olive-mid:   #5c7a2c;
  --olive-light: #8aab4e;
  --cream:       #f6f0e4;
  --cream-dark:  #ede5d0;
  --terra:       #b96b38;
  --terra-light: #d4885a;
  --bark:        #2a2016;
  --sage:        #c8d9a8;
  --white:       #fdfaf4;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--white);
  color: var(--bark);
  overflow-x: hidden;
}

/* ── NAVBAR ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 3rem;
  transition: background .4s, box-shadow .4s;
}
nav.scrolled {
  background: rgba(253,250,244,.96);
  box-shadow: 0 2px 24px rgba(61,90,30,.12);
  backdrop-filter: blur(8px);
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--white);
  letter-spacing: .04em;
  text-decoration: none;
  transition: color .3s;
}
nav.scrolled .nav-logo { color: var(--olive); }
.nav-links { display: flex; gap: 2.2rem; list-style: none; }
.nav-links a {
  font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(253,250,244,.88); text-decoration: none;
  transition: color .3s;
}
nav.scrolled .nav-links a { color: var(--bark); }
.nav-links a:hover { color: var(--terra-light); }
.nav-cta {
  background: var(--terra); color: var(--white) !important;
  padding: .45rem 1.3rem; border-radius: 2rem;
  font-weight: 500 !important;
  transition: background .3s !important;
}
.nav-cta:hover { background: var(--terra-light) !important; color: var(--white) !important; }
.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.hamburger span { width: 24px; height: 2px; background: var(--white); display: block; transition: background .3s; }
nav.scrolled .hamburger span { background: var(--bark); }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  background:
    linear-gradient(160deg, rgba(30,45,10,.72) 0%, rgba(90,60,20,.55) 60%, rgba(180,100,40,.35) 100%),
    url('../assets/img/fachada-local.jpeg') center 70%/cover no-repeat;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  position: relative;
}
#hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 120px;
  background: linear-gradient(to top, var(--white), transparent);
}
.hero-eyebrow {
  font-size: .75rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 1.4rem;
  animation: fadeUp .8s both;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.8rem, 9vw, 8rem);
  font-weight: 300;
  line-height: 1.0;
  color: var(--white);
  animation: fadeUp .9s .15s both;
}
.hero-title em { font-style: italic; color: var(--sage); }
.hero-sub {
  font-size: 1rem; font-weight: 300; letter-spacing: .06em;
  color: rgba(253,250,244,.8);
  max-width: 500px;
  margin: 1.6rem auto 2.6rem;
  line-height: 1.7;
  animation: fadeUp .9s .3s both;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; animation: fadeUp .9s .45s both; }
.btn {
  display: inline-block; text-decoration: none;
  padding: .8rem 2rem; border-radius: 3rem;
  font-size: .84rem; letter-spacing: .1em; text-transform: uppercase;
  font-weight: 500; transition: all .3s;
}
.btn-primary { background: var(--terra); color: var(--white); }
.btn-primary:hover { background: var(--terra-light); transform: translateY(-2px); }
.btn-outline {
  border: 1.5px solid rgba(255,255,255,.6); color: var(--white);
  background: rgba(255,255,255,.08); backdrop-filter: blur(4px);
}
.btn-outline:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }
.scroll-hint {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: .5rem;
  color: rgba(253,250,244,.5); font-size: .7rem; letter-spacing: .15em; text-transform: uppercase;
  animation: pulse 2s infinite;
}
.scroll-hint::before {
  content: ''; width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(253,250,244,.5));
}

/* ── SECTIONS ── */
section { padding: 7rem 2rem; }
.container { max-width: 1100px; margin: 0 auto; }
.section-tag {
  font-size: .72rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--terra); margin-bottom: .8rem;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 400; line-height: 1.15;
  color: var(--olive);
}
.section-title em { font-style: italic; color: var(--terra); }

/* ── ABOUT ── */
#about { background: var(--white); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem;
  align-items: center; margin-top: 4rem;
}
.about-img-wrap {
  position: relative;
}
.about-img-wrap img {
  width: 100%; height: 520px; object-fit: cover;
  border-radius: .4rem;
}
.about-badge {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  width: 120px; height: 120px;
  background: var(--terra); border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--white); text-align: center;
  font-family: 'Cormorant Garamond', serif;
}
.about-badge span:first-child { font-size: 2rem; font-weight: 600; line-height: 1; }
.about-badge span:last-child { font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; }
.about-text { display: flex; flex-direction: column; gap: 1.5rem; }
.about-text p {
  font-size: 1rem; line-height: 1.85; font-weight: 300;
  color: #4a3f28;
}
.about-features {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem; margin-top: 3.5rem;
  border-top: 1px solid var(--cream-dark); padding-top: 2.5rem;
}
.feature-item {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: .8rem;
}
.feature-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--sage); display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0;
}
.feature-item p { font-size: .88rem; font-weight: 400; color: var(--bark); margin: 0; line-height: 1.5; }

/* ── MENU ── */
#menu { background: var(--cream); }
.menu-header { text-align: center; margin-bottom: 3.5rem; }
.menu-tabs {
  display: flex; justify-content: center; gap: .6rem; flex-wrap: wrap;
  margin-bottom: 3rem;
}
.tab-btn {
  padding: .5rem 1.4rem; border-radius: 2rem; border: 1.5px solid var(--olive-mid);
  background: transparent; color: var(--olive); cursor: pointer;
  font-family: 'Jost', sans-serif; font-size: .82rem; letter-spacing: .08em;
  text-transform: uppercase; transition: all .25s;
}
.tab-btn.active, .tab-btn:hover {
  background: var(--olive); color: var(--white); border-color: var(--olive);
}
.menu-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.menu-card {
  background: var(--white); border-radius: .5rem;
  overflow: hidden; box-shadow: 0 2px 16px rgba(61,90,30,.08);
  transition: transform .3s, box-shadow .3s;
}
.menu-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(61,90,30,.14); }
.menu-card-img {
  height: 200px; overflow: hidden;
}
.menu-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.menu-card:hover .menu-card-img img { transform: scale(1.06); }
.menu-card-body { padding: 1.4rem; }
.menu-card-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; color: var(--olive); margin-bottom: .3rem;
}
.menu-card-body p { font-size: .88rem; color: #6b5d3f; line-height: 1.6; font-weight: 300; }
.menu-card-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: .9rem 1.4rem; border-top: 1px solid var(--cream-dark);
}
.price { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; color: var(--terra); font-weight: 600; }
.tag { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; background: var(--sage); color: var(--olive); padding: .25rem .7rem; border-radius: 2rem; }

.menu-pane { display: none; }
.menu-pane.active { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }

/* ── GALLERY ── */
#gallery { background: var(--bark); padding: 6rem 0; overflow: hidden; }
.gallery-header { text-align: center; padding: 0 2rem 3rem; }
.gallery-header .section-tag { color: var(--sage); }
.gallery-header .section-title { color: var(--white); }
.gallery-strip {
  display: flex; gap: 1rem; padding: 0 2rem;
  animation: slide 30s linear infinite;
  width: max-content;
}
.gallery-strip img {
  width: 280px; height: 200px; object-fit: cover;
  border-radius: .4rem; flex-shrink: 0;
}
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── EXPERIENCE ── */
#experience { background: var(--white); }
.exp-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3.5rem;
}
.exp-card {
  padding: 2.5rem 2rem;
  border: 1px solid var(--cream-dark); border-radius: .5rem;
  text-align: center; transition: border-color .3s, box-shadow .3s;
}
.exp-card:hover { border-color: var(--olive-light); box-shadow: 0 4px 24px rgba(61,90,30,.1); }
.exp-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.exp-card h3 {
  font-family: 'Cormorant Garamond', serif; font-size: 1.4rem;
  color: var(--olive); margin-bottom: .7rem;
}
.exp-card p { font-size: .9rem; line-height: 1.75; color: #5a4d30; font-weight: 300; }

/* ── CONTACT ── */
#contact { background: var(--cream); }
.contact-cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; margin: 3rem auto 0;
  max-width: 680px;
}
.contact-col { display: flex; flex-direction: column; gap: 2rem; align-items: flex-start; }
.contact-social { margin-top: 2.5rem; text-align: center; }
.contact-social .social-row { justify-content: center; }
.contact-item { display: flex; gap: 1.2rem; align-items: flex-start; }
.ci-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--olive); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.ci-text span { display: block; font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; color: var(--terra); margin-bottom: .2rem; }
.ci-text a, .ci-text p { font-size: .95rem; color: var(--bark); text-decoration: none; }
.ci-text a:hover { color: var(--olive); }
.social-row { display: flex; gap: 1rem; margin-top: .5rem; }
.social-btn {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--olive); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; font-size: 1rem;
  transition: background .3s, transform .2s;
}
.social-btn:hover { background: var(--terra); transform: translateY(-2px); }
.map-placeholder {
  background: var(--cream-dark); border-radius: .5rem;
  overflow: hidden; height: 360px;
  display: flex; align-items: center; justify-content: center;
}
.map-placeholder iframe { width: 100%; height: 100%; border: none; }

/* ── FOOTER ── */
footer {
  background: var(--bark); color: rgba(253,250,244,.6);
  text-align: center; padding: 2.5rem 2rem;
  font-size: .82rem; letter-spacing: .04em;
}
footer a { color: var(--sage); text-decoration: none; }
footer .footer-logo {
  font-family: 'Cormorant Garamond', serif; font-size: 1.8rem;
  color: var(--white); display: block; margin-bottom: .8rem;
}

/* ── WA FLOAT ── */
.wa-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 200;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: transform .25s, box-shadow .25s;
  animation: bounce 2s 2s both;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.55); }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%,100% { opacity: .5; } 50% { opacity: 1; } }
@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.reveal.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; flex-direction: column; gap: 1rem;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); padding: 1.5rem; box-shadow: 0 8px 24px rgba(0,0,0,.1); }
  .nav-links.open { display: flex; }
  nav.scrolled .nav-links a { color: var(--bark); }
  .nav-links a { color: var(--bark) !important; }
  .hamburger { display: flex; }
  .about-grid, .contact-cols, .exp-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-features { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; margin-top: 2rem; }
  .about-badge { right: 0; bottom: -1rem; width: 90px; height: 90px; }
  .about-badge span:first-child { font-size: 1.4rem; }
  section { padding: 4rem 1.5rem; }
  .hero-title { font-size: 3.2rem; }
}
