/* El Babero — site stylesheet */

:root {
  --color-ink: #1c1a12;
  --color-ink-2: #121109;
  --color-bg: #f6f8f5;
  --color-card: #ffffff;
  --color-gold: #dab200;
  --color-gold-dark: #b08f00;
  --color-olive: #536942;
  --color-olive-dark: #3e4f32;
  --color-text: #2a2a22;
  --color-muted: #6b6a5c;
  --color-border: #e6e2d4;
  --font-primary: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Poppins', 'Segoe UI', sans-serif;
  --max-width: 1180px;
  --radius: 14px;
  --radius-pill: 999px;
  --shadow: 0 10px 30px rgba(28, 26, 18, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-primary);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 16px;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 16px; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  font-weight: 600;
  margin-bottom: 10px;
}

.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--dark { background: var(--color-ink); color: #f1ecdd; }
.section--alt { background: var(--color-card); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.section-head p { color: var(--color-muted); }
.section--dark .section-head p { color: #c9c3ac; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-size: 0.98rem;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--color-gold); color: #211a00; }
.btn--primary:hover { background: var(--color-gold-dark); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--outline { background: transparent; color: var(--color-olive); border-color: var(--color-olive); }
.btn--outline:hover { background: var(--color-olive); color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--color-ink); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 0; }
.nav__logo { font-family: var(--font-primary); font-size: 1.6rem; font-weight: 700; color: #fff; letter-spacing: .02em; }
.nav__logo span { color: var(--color-gold); }

.nav__panel { display: flex; align-items: center; gap: 34px; }
.nav__links { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav__links a { color: #f1ecdd; font-size: .95rem; opacity: .9; transition: opacity .2s ease; }
.nav__links a:hover { opacity: 1; }

.nav__toggle { display: none; }
.nav__burger { display: none; width: 26px; height: 20px; position: relative; cursor: pointer; }
.nav__burger span, .nav__burger::before, .nav__burger::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: #fff;
  transition: transform .2s ease, opacity .2s ease;
}
.nav__burger::before { top: 0; }
.nav__burger span { top: 9px; }
.nav__burger::after { top: 18px; }

/* Hero */
.hero {
  position: relative; min-height: 82vh; display: flex; align-items: center; color: #fff;
  background-size: cover; background-position: center; isolation: isolate;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,17,9,.55) 0%, rgba(18,17,9,.85) 100%); z-index: -1;
}
.hero__content { max-width: 640px; }
.hero__content p { font-size: 1.15rem; color: #f1ecdd; }
.hero__actions { display: flex; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
.hero__quote { font-family: var(--font-primary); font-style: italic; font-size: 1.3rem; margin-top: 30px; color: #e9dfb8; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.about img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* Menu */
.menu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 56px; }
.menu-group h3 {
  color: var(--color-olive-dark);
  border-bottom: 2px solid var(--color-gold);
  padding-bottom: 8px;
  margin-bottom: 14px;
}
.menu-group ul { list-style: none; margin: 0; padding: 0; }
.menu-group li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 7px 0; border-bottom: 1px dashed var(--color-border);
  font-size: .96rem;
}
.menu-group li:last-child { border-bottom: none; }
.menu-note { color: var(--color-muted); font-size: .85rem; }
.menu-footnotes {
  margin-top: 40px; padding: 20px 24px; background: var(--color-card);
  border: 1px solid var(--color-border); border-radius: var(--radius);
  font-size: .86rem; color: var(--color-muted);
}
.menu-footnotes p { margin: 0 0 6px; }
.menu-footnotes p:last-child { margin-bottom: 0; }

/* Feature cards */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature-card { background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 30px 24px; text-align: left; }
.feature-card__icon {
  width: 50px; height: 50px; border-radius: 50%; background: #fbf1cf; color: var(--color-gold-dark);
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 16px;
}
.feature-card p { color: var(--color-muted); margin-bottom: 0; }

/* Contact */
.contact__grid { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; text-align: center; }
.contact__item { min-width: 220px; }
.contact__item .eyebrow { color: var(--color-gold); }
.contact__item a, .contact__item p { color: #f1ecdd; margin: 0; font-size: 1rem; }
.contact__actions { display: flex; justify-content: center; gap: 16px; margin-top: 36px; flex-wrap: wrap; }
.social-row { display: flex; justify-content: center; gap: 18px; margin-top: 36px; }
.social-row a {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35);
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
  transition: background-color .2s ease, border-color .2s ease;
}
.social-row a:hover { background: var(--color-gold); border-color: var(--color-gold); color: #211a00; }

/* Footer */
.site-footer { background: var(--color-ink-2); color: #c9c3ac; padding: 32px 0; font-size: .86rem; }
.footer__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer__links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__links a { color: #c9c3ac; }
.footer__links a:hover { color: #fff; }

/* Responsive */
@media (max-width: 980px) {
  .about { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .menu-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav__panel {
    position: fixed; inset: 64px 0 0 0; background: var(--color-ink);
    flex-direction: column; align-items: flex-start; padding: 24px; gap: 20px;
    transform: translateY(-110%); transition: transform .25s ease; z-index: 40;
  }
  .nav__links { flex-direction: column; align-items: flex-start; gap: 18px; }
  .nav__toggle:checked ~ .nav__panel { transform: translateY(0); }
  .nav__burger { display: block; }
  .features { grid-template-columns: 1fr; }
  .contact__grid { gap: 26px; }
  .footer__row { flex-direction: column; text-align: center; }
}
