:root {
  --color-bg: #faf8f5;
  --color-text: #2b2b2b;
  --color-accent: #8a6d4b;
  --font-title: 'Cormorant Garamond', serif;
  --font-body: 'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

h1, h2, h3 { font-family: var(--font-title); font-weight: 600; }

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

/* --- Navegación --- */
.nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  z-index: 10;
}
.nav__logo {
  font-family: var(--font-title);
  font-size: 1.6rem;
  color: #fff;
  text-decoration: none;
}
.nav__links { display: flex; gap: 2rem; list-style: none; }
.nav__links a { color: #fff; text-decoration: none; font-size: 0.95rem; }
.nav__links a:hover { text-decoration: underline; }
.nav__cta {
  border: 1px solid #fff;
  padding: 0.4rem 1rem;
  border-radius: 2rem;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)), url('img/hero.webp') center/cover no-repeat;
  color: #fff;
}
.hero__title { font-size: clamp(2.5rem, 7vw, 5rem); }
.hero__tagline { font-size: 1.2rem; margin: 0.5rem 0 2rem; letter-spacing: 0.15em; text-transform: uppercase; }

/* --- Botones --- */
.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  border-radius: 2rem;
  text-decoration: none;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s;
}
.btn--primary { background: var(--color-accent); color: #fff; }
.btn--primary:hover { opacity: 0.85; }

/* --- Secciones --- */
.section { padding: 5rem 5%; max-width: 1100px; margin: 0 auto; }
.section h2 { font-size: 2.2rem; margin-bottom: 2rem; text-align: center; }

/* --- Sobre nosotros --- */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about h2 { text-align: left; }

/* --- Menú --- */
.menu__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.dish img { border-radius: 0.5rem; margin-bottom: 1rem; }
.dish h3 { font-size: 1.4rem; margin-bottom: 0.3rem; }
.dish__price { display: inline-block; margin-top: 0.5rem; font-weight: 500; color: var(--color-accent); }
.menu__link {
  display: block;
  text-align: center;
  margin-top: 2.5rem;
  color: var(--color-accent);
  text-decoration: underline;
}

/* --- Ubicación --- */
.location__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.location__map iframe { border-radius: 0.5rem; }

/* --- Reservas --- */
.booking form {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.form__row { display: flex; flex-direction: column; gap: 0.4rem; }
.form__row--half { flex-direction: row; gap: 1rem; }
.form__row--half > div { flex: 1; display: flex; flex-direction: column; gap: 0.4rem; }
label { font-size: 0.9rem; font-weight: 500; }
input {
  padding: 0.75rem 1rem;
  border: 1px solid #d5cfc7;
  border-radius: 0.4rem;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
}
input:focus { outline: 2px solid var(--color-accent); outline-offset: 1px; }
.form__mensaje { text-align: center; font-weight: 500; min-height: 1.5rem; }
.form__mensaje--ok { color: #2e7d32; }
.form__mensaje--error { color: #b3261e; }
.booking__contact { text-align: center; margin-top: 2.5rem; }
.booking__contact a { color: var(--color-accent); }

/* --- Footer --- */
.footer {
  text-align: center;
  padding: 2.5rem 5%;
  border-top: 1px solid #e5e0d8;
  font-size: 0.9rem;
}
.footer__social { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 1rem; }
.footer__social a { color: var(--color-text); text-decoration: none; }
.footer__social a:hover { color: var(--color-accent); }

/* --- Responsive --- */
@media (max-width: 768px) {
  .about, .location__grid { grid-template-columns: 1fr; }
  .about h2 { text-align: center; }
  .nav__links { gap: 1rem; font-size: 0.85rem; }
  .form__row--half { flex-direction: column; }
}