:root {
  --cream: #faf6f0;
  --latte: #efe4d6;
  --coffee: #6f4e37;
  --espresso: #3b2a20;
  --accent: #c8874a;
  --text: #2d221b;
  --muted: #7a6a5e;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
}

h1,
h2,
h3,
.brand {
  font-family: "Fraunces", Georgia, serif;
}

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

/* Navegación */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--latte);
}

.brand {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--espresso);
}

.nav nav a {
  margin-left: 1.5rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}

.nav nav a:hover {
  color: var(--coffee);
}

/* Hero */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
  color: var(--cream);
  background:
    linear-gradient(rgba(40, 26, 18, 0.65), rgba(40, 26, 18, 0.75)),
    url("https://images.unsplash.com/photo-1495474472287-4d71bcdd2085?auto=format&fit=crop&w=1600&q=80")
      center / cover no-repeat,
    var(--espresso);
}

.hero-content {
  max-width: 680px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.lead {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s, background 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: #b57438;
}

.btn-ghost {
  border: 2px solid rgba(250, 246, 240, 0.7);
}

.btn-ghost:hover {
  background: rgba(250, 246, 240, 0.12);
}

/* Secciones */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.section h2 {
  font-size: 2.2rem;
  color: var(--espresso);
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-sub {
  text-align: center;
  color: var(--muted);
  margin-bottom: 3rem;
}

/* Menú */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--latte);
  border-radius: 16px;
  padding: 1.75rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(59, 42, 32, 0.1);
}

.card .icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.75rem;
}

.card h3 {
  font-size: 1.3rem;
  color: var(--espresso);
  margin-bottom: 0.4rem;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.price {
  font-weight: 600;
  color: var(--coffee);
}

/* Nosotros */
.about {
  max-width: none;
  background: var(--latte);
}

.about-text {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.about-text p {
  margin: 1.25rem 0 2rem;
  font-size: 1.05rem;
}

.features {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.features li {
  background: var(--cream);
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
}

/* Visítanos */
.visit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  text-align: center;
}

.visit-grid h3 {
  color: var(--coffee);
  margin-bottom: 0.5rem;
}

.visit-grid p {
  color: var(--muted);
}

/* Footer */
.footer {
  background: var(--espresso);
  color: var(--latte);
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  .nav {
    padding: 0.85rem 1rem;
  }

  .nav nav a {
    margin-left: 0.9rem;
    font-size: 0.9rem;
  }

  .section {
    padding: 3.5rem 1rem;
  }
}
