/* Don Zoilo — sitio estático (v2) */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond-italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0c100c;
  --bg-alt: #141a14;
  --panel: #1a221a;
  --green: #8dc63f;
  --green-dim: #6ea32e;
  --cream: #f3efe4;
  --muted: #c5cbb8;
  --line: rgba(141, 198, 63, 0.28);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  --font-serif: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Segoe UI", Calibri, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: #b5e06a; }
.wrap { width: min(1120px, calc(100% - 2.4rem)); margin-inline: auto; }

header.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(12, 16, 12, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.7rem 0;
}
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand img.logo-dz { width: 52px; height: auto; }
.brand img.logo-name { height: 34px; width: auto; }
.menu { display: flex; flex-wrap: wrap; gap: 0.2rem 1.1rem; align-items: center; }
.menu a { color: var(--cream); font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase; }
.menu a:hover { color: #b5e06a; }
.menu a.btn:hover { color: var(--bg); }
.menu a.btn {
  background: var(--green); color: var(--bg);
  padding: 0.45rem 0.9rem; border-radius: 999px; font-weight: 700;
}
.menu-toggle {
  display: none; background: none; border: 1px solid var(--line);
  color: var(--cream); padding: 0.35rem 0.6rem; border-radius: 6px;
}
.social-links { display: flex; flex-wrap: wrap; gap: 0.7rem 1rem; align-items: center; }
.social-links a { color: var(--cream); font-size: 0.92rem; }
.social-links a:hover { color: var(--green); }

.hero {
  position: relative; min-height: 88vh;
  display: grid; place-items: end stretch;
  background: #000 url("img/fachada.jpg") center/cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,16,12,0.25) 0%, rgba(12,16,12,0.55) 50%, rgba(12,16,12,0.92) 100%);
}
.hero-content { position: relative; z-index: 1; padding: 0 0 4.5rem; }
.hero h1 { margin: 0; }
.hero h1 img { height: 86px; width: auto; filter: drop-shadow(0 6px 18px rgba(0,0,0,.55)); }
.hero p.tag {
  margin: 0.8rem 0 1.4rem;
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-style: italic; color: var(--cream);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.btn {
  display: inline-block; padding: 0.75rem 1.25rem; border-radius: 999px;
  font-weight: 700; letter-spacing: 0.03em;
}
.btn-solid { background: var(--green); color: var(--bg); }
.btn-solid:hover { background: #b5e06a; color: var(--bg); }
.btn-ghost { border: 1px solid var(--green); color: var(--cream); }
.btn-ghost:hover { background: var(--green); color: var(--bg); }

section { padding: 4.2rem 0; }
section.alt { background: var(--bg-alt); }
.kicker {
  color: var(--green); text-transform: uppercase; letter-spacing: 0.16em;
  font-size: 0.8rem; font-weight: 700; margin: 0 0 0.4rem;
}
h2 {
  font-family: var(--font-serif);
  font-weight: 500; font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 1.2rem; line-height: 1.15;
}
.split {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 2.4rem; align-items: center;
}
.split img {
  width: 100%; height: 420px; object-fit: cover;
  border-radius: 12px; box-shadow: var(--shadow);
}
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2rem; }
.card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 12px; padding: 1.3rem 1.2rem; min-height: 100%;
}
.card h3 {
  font-family: var(--font-serif); font-size: 1.55rem; margin: 0 0 0.5rem; font-weight: 600;
}
.nota-carta {
  margin: 2rem 0 0;
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--green);
  color: var(--muted);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 170px;
  gap: 0.7rem;
}
.gallery-item {
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: 10px;
  background: var(--panel);
  position: relative;
}
.gallery-item:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.03); }
.g-carne img {
  object-fit: contain;
  background: #0a0e0a;
}
.g-carne:hover img { transform: none; }
.g-vinos { grid-column: 1 / 3; grid-row: 1 / 3; }
.g-carne { grid-column: 3 / 5; grid-row: 1 / 5; }
.g-burrata { grid-column: 1 / 3; grid-row: 3 / 5; }
.g-salon { grid-column: 1 / 2; grid-row: 5 / 9; }
.g-cava { grid-column: 2 / 3; grid-row: 5 / 9; }
.g-rabas { grid-column: 3 / 5; grid-row: 5 / 7; }
.g-flan { grid-column: 3 / 4; grid-row: 7 / 9; }
.g-volcan { grid-column: 4 / 5; grid-row: 7 / 9; }

body.lightbox-open { overflow: hidden; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 10, 8, 0.92);
  padding: 3.5rem 4.5rem 2.5rem;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: var(--panel);
  color: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0.45rem 0.9rem;
}
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--green);
  color: var(--bg);
}

.contact-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 1.6rem; align-items: start;
}
.info-list { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.info-list li { margin: 0 0 1rem; }
.info-list strong { display: block; color: var(--green); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; }
.info-list a { color: var(--cream); }
.info-list a:hover { color: var(--green); }
.note { color: var(--muted); font-size: 0.95rem; }
.map iframe {
  width: 100%; height: 360px; border: 0; border-radius: 12px;
  filter: grayscale(0.15) contrast(1.05);
}

footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.4rem; text-align: center; color: var(--muted); font-size: 0.95rem;
}
footer img { height: 36px; margin: 0 auto 0.8rem; }
footer .social-links { justify-content: center; margin: 0.6rem 0 1rem; }

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .menu {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: rgba(12,16,12,0.98); flex-direction: column;
    padding: 1rem 1.2rem 1.2rem; border-bottom: 1px solid var(--line);
  }
  .menu.open { display: flex; }
  .split, .cards, .contact-grid { grid-template-columns: 1fr; }
  .split img { height: 260px; }
  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
  }
  .gallery-item.g-vinos,
  .gallery-item.g-carne,
  .gallery-item.g-burrata,
  .gallery-item.g-salon,
  .gallery-item.g-cava,
  .gallery-item.g-rabas,
  .gallery-item.g-flan,
  .gallery-item.g-volcan {
    grid-column: auto;
    grid-row: auto;
    height: 240px;
  }
  .gallery-item.g-vinos,
  .gallery-item.g-carne,
  .gallery-item.g-burrata,
  .gallery-item.g-rabas { grid-column: 1 / -1; height: 260px; }
  .gallery-item.g-carne { height: 480px; }
  .gallery-item.g-salon,
  .gallery-item.g-cava,
  .gallery-item.g-volcan { height: 380px; }
  .lightbox { padding: 4rem 0.8rem 1.2rem; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 0.8rem; transform: none; }
  .lightbox-prev { left: 0.8rem; }
  .lightbox-next { right: 0.8rem; }
  .hero { min-height: 78vh; }
  .hero h1 img { height: 58px; }
}

@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery-item.g-vinos,
  .gallery-item.g-carne,
  .gallery-item.g-burrata,
  .gallery-item.g-salon,
  .gallery-item.g-cava,
  .gallery-item.g-rabas,
  .gallery-item.g-flan,
  .gallery-item.g-volcan { grid-column: 1; }
  .gallery-item.g-vinos { height: 220px; }
  .gallery-item.g-carne { height: 440px; }
  .gallery-item.g-burrata { height: 250px; }
  .gallery-item.g-salon { height: 620px; }
  .gallery-item.g-cava { height: 560px; }
  .gallery-item.g-rabas { height: 230px; }
  .gallery-item.g-flan { height: 300px; }
  .gallery-item.g-volcan { height: 520px; }
}

.btn-google { display:inline-flex; align-items:center; justify-content:center; gap:10px; background:#a8c7fa; color:#062e6f; border:none; border-radius:999px; font-weight:600; padding:14px 28px; }
.btn-google:hover { background:#c2d7fb; color:#041e49; }
.btn-google .cal-ico { width:20px; height:20px; flex:none; }
