/* ==========================================================================
   Fonda Raíces — landing de demostración (Awolkie Tech)
   Tipografía: Fraunces (display) + Work Sans (texto)
   ========================================================================== */

:root {
  --accent: #E0742A;

  --cream: #FBF3E4;
  --cream-soft: #F3E6CC;
  --ink: #2B2118;
  --ink-soft: #5A4B3B;
  --olive: #5C6B3F;
  --terracotta: #B65C38;
  --white: #FFFFFF;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(43, 33, 24, 0.12);
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0;
  color: var(--ink);
}

p {
  margin: 0;
}

.section__eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 10px;
}

.section__title {
  font-size: clamp(1.8rem, 4.2vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: 14px;
}

.section__lead {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 560px;
}

.section__head {
  max-width: 680px;
  margin: 0 auto 44px;
  text-align: center;
}

section {
  padding: 72px 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(224, 116, 42, 0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(224, 116, 42, 0.42);
}

.btn--ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn--ghost:hover {
  background: var(--ink);
  color: var(--cream);
}

/* ==========================================================================
   Nav
   ========================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(251, 243, 228, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(43, 33, 24, 0.08);
  transition: box-shadow 0.2s ease;
}

.nav.is-scrolled {
  box-shadow: 0 6px 18px rgba(43, 33, 24, 0.08);
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.nav__brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--ink);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav__menu a {
  color: var(--ink-soft);
  transition: color 0.15s ease;
}

.nav__menu a:hover {
  color: var(--accent);
}

.nav__cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav__toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 120px 20px 80px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(43, 33, 24, 0.55) 0%, rgba(43, 33, 24, 0.45) 45%, rgba(43, 33, 24, 0.85) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  color: var(--cream);
}

.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cream-soft);
  margin-bottom: 16px;
}

.hero__title {
  font-size: clamp(2.6rem, 8vw, 5.2rem);
  color: var(--white);
  line-height: 1.02;
  margin-bottom: 18px;
}

.hero__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 2.6vw, 1.5rem);
  color: var(--cream-soft);
  max-width: 480px;
  margin-bottom: 34px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__actions .btn--ghost {
  border-color: var(--cream);
  color: var(--cream);
}

.hero__actions .btn--ghost:hover {
  background: var(--cream);
  color: var(--ink);
}

/* ==========================================================================
   Menu
   ========================================================================== */

.menu {
  background: var(--cream);
}

.menu__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.dish {
  background: var(--white);
  border: 1px solid rgba(43, 33, 24, 0.08);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.dish:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(224, 116, 42, 0.35);
}

.dish__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
}

.dish__name {
  font-size: 1.2rem;
  font-weight: 600;
}

.dish__price {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--accent);
  font-size: 1.15rem;
  white-space: nowrap;
}

.dish__desc {
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.55;
}

/* ==========================================================================
   About
   ========================================================================== */

.about {
  background: var(--cream-soft);
}

.about__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

.about__text p {
  color: var(--ink-soft);
  margin-bottom: 16px;
  max-width: 600px;
}

.about__text p:last-child {
  margin-bottom: 0;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stat {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px 14px;
  text-align: center;
  box-shadow: var(--shadow);
}

.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--terracotta);
}

.stat__label {
  display: block;
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 4px;
}

/* ==========================================================================
   Gallery
   ========================================================================== */

.gallery {
  background: var(--cream);
}

.gallery__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.gallery__item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
}

.gallery__item--wide {
  grid-column: span 2;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery__item:hover img {
  transform: scale(1.05);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonials {
  background: var(--ink);
  color: var(--cream);
}

.testimonials .section__eyebrow {
  color: var(--accent);
}

.testimonials .section__title {
  color: var(--cream);
}

.testimonials__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.testimonial {
  background: rgba(251, 243, 228, 0.06);
  border: 1px solid rgba(251, 243, 228, 0.14);
  border-radius: var(--radius);
  padding: 26px;
}

.testimonial__stars {
  color: var(--accent);
  letter-spacing: 2px;
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.testimonial__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.5;
  margin-bottom: 16px;
  color: var(--cream);
}

.testimonial__author {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--cream-soft);
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact {
  background: var(--cream-soft);
}

.contact__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

.contact__lead {
  color: var(--ink-soft);
  margin-bottom: 26px;
  max-width: 480px;
}

.contact__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.contact__list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 3px solid var(--accent);
  padding-left: 14px;
}

.contact__label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--terracotta);
}

.contact__card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}

.contact__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--ink);
  color: var(--cream-soft);
  padding: 56px 20px 30px;
  text-align: center;
}

.footer__inner {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.footer__brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--white);
}

.footer__tagline {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--cream-soft);
}

.footer__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  font-size: 0.88rem;
  color: rgba(251, 243, 228, 0.65);
}

.footer__cta {
  margin-top: 8px;
  background: var(--accent);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
}

.footer__legal {
  margin-top: 18px;
  font-size: 0.76rem;
  color: rgba(251, 243, 228, 0.4);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 760px) {
  .nav__menu {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 20px;
    box-shadow: 0 12px 24px rgba(43, 33, 24, 0.12);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav__menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__menu a {
    padding: 14px 4px;
    border-bottom: 1px solid rgba(43, 33, 24, 0.08);
  }

  .nav__cta {
    text-align: center;
    margin-top: 12px;
  }

  .nav__toggle {
    display: flex;
  }

  .gallery__item--wide {
    grid-column: span 1;
  }

  .gallery__grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 640px) {
  .menu__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

  .about__inner {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .contact__inner {
    grid-template-columns: 1fr 0.9fr;
  }
}

@media (min-width: 1024px) {
  section {
    padding: 100px 40px;
  }
}
