/* Restaurante El Sigilo — redesign r1 */
:root {
  --ink: #17120f;
  --coal: #221a15;
  --coal-2: #2c221b;
  --ember: #a8483d;
  --ember-dark: #8c3a31;
  --ember-soft: #c37f78;
  --cream: #faf5ec;
  --sand: #efe6d8;
  --text: #3d342c;
  --muted: #6f6155;
  --gold: #c9a24b;
  --line: rgba(23, 18, 15, 0.14);
  --white-line: rgba(255, 255, 255, 0.16);
  --shadow: 0 18px 40px rgba(23, 18, 15, 0.14);
  --radius: 14px;
  --font-display: "Barlow", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ember-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ember); }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: 0.5px; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }

p { margin: 0 0 1em; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--cream);
  padding: 10px 18px;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 245, 236, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}
.brand img { width: 156px; height: auto; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.site-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--ember); border-color: var(--ember); }
.site-nav a.active { color: var(--ember-dark); border-color: var(--ember); }
.site-nav .nav-phone {
  color: var(--cream);
  background: var(--ember);
  border: none;
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 0.95rem;
}
.site-nav .nav-phone:hover { background: var(--ember-dark); color: var(--cream); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(168, 72, 61, 0.55), transparent 60%),
    radial-gradient(800px 420px at 10% 110%, rgba(201, 162, 75, 0.22), transparent 60%),
    linear-gradient(160deg, var(--ink) 0%, var(--coal) 55%, var(--coal-2) 100%);
  color: var(--cream);
  padding: 96px 0 104px;
}
.hero-inner { max-width: 900px; }
.hero h1 { color: #fff; }
.hero .hero-eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--gold);
  margin: 0 0 14px;
}
.hero-lead { font-size: 1.2rem; color: rgba(250, 245, 236, 0.92); max-width: 46em; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

.subhero {
  background: linear-gradient(160deg, var(--ink), var(--coal-2));
  color: var(--cream);
  padding: 72px 0;
}
.subhero h1 { color: #fff; }
.subhero .hero-eyebrow { color: var(--gold); font-weight: 700; letter-spacing: 3px; text-transform: uppercase; font-size: 0.85rem; margin: 0 0 12px; }
.subhero .hero-lead { color: rgba(250, 245, 236, 0.9); max-width: 50em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--ember); color: #fff; }
.btn-primary:hover { background: var(--ember-dark); color: #fff; }
.btn-ghost { border-color: rgba(250, 245, 236, 0.5); color: var(--cream); }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-outline { border-color: var(--ember); color: var(--ember-dark); }
.btn-outline:hover { background: var(--ember); color: #fff; }

/* ---------- sections ---------- */
.section { padding: 72px 0; }
.section-head { margin-bottom: 34px; }
.section-head .eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--ember);
  margin: 0 0 8px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.about-figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-figure img { width: 100%; object-fit: cover; }

.highlights-section { background: var(--sand); }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.card {
  display: block;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-decoration: none;
  color: var(--text);
  box-shadow: 0 4px 14px rgba(23, 18, 15, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { color: var(--ink); margin-bottom: 8px; }
.card p { margin: 0; font-size: 0.96rem; }

.center-note { text-align: center; margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.instagram-section { background: var(--ink); color: var(--cream); }
.instagram-section .section-head h2 { color: #fff; }
.instagram-section .section-head .eyebrow { color: var(--gold); }
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.ig-item { border-radius: 10px; overflow: hidden; }
.ig-item img { width: 100%; aspect-ratio: 1/1; object-fit: cover; transition: transform 0.25s ease; }
.ig-item:hover img { transform: scale(1.05); }

.contact-strip { background: var(--sand); }
.contact-strip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.contact-strip h2 { font-size: 1.2rem; }
.contact-strip address { font-style: normal; margin-bottom: 8px; }
.hours-list { list-style: none; margin: 0; padding: 0; }
.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.98rem;
}
.hours-list li:last-child { border-bottom: none; }
.hours-list strong { color: var(--ink); }

/* ---------- prose / legal ---------- */
.prose { max-width: 780px; }
.prose h2 { margin-top: 1.6em; }
.legal h2 { margin-top: 1.8em; }
.legal h3 { margin-top: 1.4em; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 0.4em; }

/* ---------- menu ---------- */
.banner-img { width: 100%; height: auto; display: block; }
.menu-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 56px;
  align-items: start;
}
.menu-section { break-inside: avoid; }
.menu-section-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  border-bottom: 2px solid var(--ember);
  padding-bottom: 10px;
  margin-bottom: 14px;
}
.menu-num {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ember);
  font-size: 1.1rem;
}
.menu-section-head h2 { margin: 0; font-size: 1.35rem; text-transform: uppercase; letter-spacing: 1px; }
.menu-list { list-style: none; margin: 0 0 34px; padding: 0; }
.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  padding: 9px 0;
  border-bottom: 1px dotted var(--line);
}
.menu-item-main { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.menu-name { font-weight: 500; color: var(--ink); }
.price { font-family: var(--font-display); font-weight: 700; color: var(--ember-dark); white-space: nowrap; }
.allergens { display: inline-flex; align-items: center; gap: 4px; }
.allergen-icon { border-radius: 6px; }

.allergen-note { margin-top: 26px; padding: 26px 28px; background: var(--sand); border-radius: var(--radius); }
.allergen-legend {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px 18px;
}
.allergen-legend li { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; }

.food-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.food-grid img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 10px; }
.food-grid img:nth-child(5), .food-grid img:nth-child(6) { aspect-ratio: auto; }

/* ---------- news ---------- */
.news-list { display: grid; gap: 30px; }
.news-card {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(23, 18, 15, 0.06);
}
.news-cover { display: block; }
.news-cover img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; }
.card-typographic {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  background: linear-gradient(160deg, var(--ember), var(--ember-dark));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
}
.news-body { padding: 26px 26px 26px 0; }
.news-date { font-family: var(--font-display); font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; font-size: 0.8rem; color: var(--muted); margin-bottom: 8px; }
.news-body h2 { margin-bottom: 10px; font-size: 1.4rem; }
.news-body h2 a { color: var(--ink); text-decoration: none; }
.news-body h2 a:hover { color: var(--ember); }
.badge {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  background: var(--muted);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 10px;
}
.read-more { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; font-size: 0.9rem; }

.post-cover { border-radius: var(--radius); margin-bottom: 26px; }
.related-list { list-style: none; padding: 0; }
.related-list li { margin-bottom: 10px; }
.related-list a { font-weight: 600; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.contact-dl { margin: 0 0 26px; }
.contact-dl dt {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.8rem;
  color: var(--ember);
  margin-top: 18px;
}
.contact-dl dd { margin: 4px 0 0; }
.contact-dl address { font-style: normal; }
.map-wrap iframe { border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }
.map-wrap p { margin-top: 16px; }
.note { font-size: 0.95rem; color: var(--muted); }

.grupo-section { background: #fff; }
.grupo-logos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  justify-content: center;
}
.grupo-logos li { background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: 16px 22px; }
.grupo-logos img { height: 52px; width: auto; }

/* ---------- mapa web ---------- */
.mapa-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.map-group h2 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: 1px; border-bottom: 2px solid var(--ember); padding-bottom: 8px; }
.map-group ul { list-style: none; padding: 0; margin: 14px 0 0; }
.map-group li { margin-bottom: 8px; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(250, 245, 236, 0.85);
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding: 56px 24px 40px;
}
.footer-col h2 {
  color: #fff;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.footer-logo { width: 130px; margin-bottom: 14px; }
.footer-social { display: flex; gap: 16px; }
.footer-social a {
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
}
.footer-col a { color: var(--cream); }
.footer-col address { font-style: normal; }
.footer-col address a { text-decoration: underline; text-underline-offset: 3px; }
.footer-links { list-style: none; margin: 12px 0 0; padding: 0; }
.footer-links li { margin-bottom: 6px; }
.footer-links a { color: rgba(250, 245, 236, 0.8); text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid var(--white-line); padding: 18px 0; }
.footer-bottom p { margin: 0; font-size: 0.85rem; color: rgba(250, 245, 236, 0.6); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .instagram-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .mapa-grid { grid-template-columns: 1fr 1fr; }
  .food-grid { grid-template-columns: repeat(2, 1fr); }
  .news-card { grid-template-columns: 1fr; }
  .news-cover img, .news-cover .card-typographic { min-height: 200px; }
  .news-body { padding: 0 26px 26px; }
  .menu-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 10px 24px 18px;
  }
  .site-nav.open { display: flex; }
  .site-nav a {
    padding: 13px 4px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .site-nav a.active { border-color: transparent; }
  .site-nav .nav-phone { text-align: center; margin-top: 12px; }
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .cards-grid { grid-template-columns: 1fr; }
  .contact-strip-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; padding-top: 44px; }
  .instagram-grid { grid-template-columns: repeat(2, 1fr); }
  .mapa-grid { grid-template-columns: 1fr; }
  .food-grid { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 72px; }
  .section { padding: 52px 0; }
}
