﻿:root {
  --bg: #f5f1ea;
  --surface: #ffffff;
  --text: #2b241f;
  --muted: #6f665f;
  --accent: #8b2f2f;
  --accent-2: #d6a25d;
  --radius: 18px;
  --shadow: 0 14px 32px rgba(43, 36, 31, 0.14);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 10% 10%, #fff5df 0%, var(--bg) 40%, #efe8de 100%);
}
img { max-width: 100%; display: block; }
.wrap { width: min(1100px, 92vw); margin: 0 auto; }
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 20px 0;
}
.brand { text-decoration: none; color: var(--text); font: 700 1.5rem 'Playfair Display', serif; }
.links { display: flex; flex-wrap: wrap; gap: 12px; }
.links a {
  text-decoration: none;
  color: var(--text);
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.65);
}
.links a[aria-current='page'] { background: var(--accent); color: #fff; }
.nav-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
}
.lang-btn {
  border: 1px solid #d9cec2;
  background: #fff;
  border-radius: 999px;
  padding: 3px;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  width: 36px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.lang-btn.is-active {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(139, 47, 47, 0.15);
}
.lang-btn img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 999px;
}
.hero-image { position: relative; }
.hero-image img {
  width: 100%;
  max-width: 100%;
  margin: 0;
  height: auto;
  aspect-ratio: 940 / 210;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-copy {
  position: static;
  margin-top: 12px;
  background: rgba(255,255,255,.92);
  border-radius: 12px;
  padding: 10px 14px;
}
.hero-copy h1 { margin: 0; }
.page-title {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.35rem, 2.8vw, 2.15rem);
  font-weight: 700;
  font-style: italic;
  letter-spacing: .02em;
  line-height: 1.2;
  color: var(--text);
}
.layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  padding: 24px 0 44px;
}
.content, .contacto {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.content p { line-height: 1.7; margin: 0 0 14px; }
.photo { margin: 14px 0 20px; }
.photo img { border-radius: 12px; }
.cards { display: grid; gap: 14px; margin-top: 20px; }
.card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 14px;
  border-top: 1px solid #ece4d8;
  padding-top: 14px;
}
.card img { width: 150px; height: 100px; object-fit: cover; border-radius: 10px; }
.card h2 { margin: 0 0 6px; font: 700 1.15rem 'Playfair Display', serif; }
.card a { color: var(--accent); font-weight: 700; }
.contacto h2 { font: 700 1.3rem 'Playfair Display', serif; margin-top: 0; }
.contacto p { color: var(--muted); line-height: 1.6; }
.contacto a { color: var(--accent); }
.contacto figure img { border-radius: 12px; }
.menu-shot { margin: 14px 0; }
.menu-shot img { border-radius: 12px; box-shadow: var(--shadow); }
.pinchos-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}
.pinchos-grid img {
  width: auto;
  max-width: 100%;
  height: 180px;
  border-radius: 12px;
  justify-self: start;
}
@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-tools {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .card { grid-template-columns: 1fr; }
  .card img { width: 100%; height: 180px; }
  .pinchos-grid { grid-template-columns: repeat(2, 1fr); }
  .pinchos-grid img { width: 100%; height: auto; }
}
