/* Epicurium Gastronomía — shared stylesheet
   Recreated from the Claude Design handoff (project/*.dc.html). */

:root {
  --bg: #f3f0ea;
  --text: #1d1c1a;
  --muted: #45423d;
  --muted-2: #6b665e;
  --line: #d6d1c7;
  --accent: oklch(0.6 0.17 32);
  --accent-mid: oklch(0.55 0.17 32);
  --accent-dark: oklch(0.5 0.17 32);
  --accent-darker: oklch(0.45 0.17 32);
  --olive: oklch(0.3 0.04 130);
  --olive-text: #efece3;
  --gold: oklch(0.82 0.11 85);
  --gold-text: #262a1e;
  --highlight: oklch(0.92 0.06 85);
  --font-sans: 'Bricolage Grotesque', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --font-serif: 'Gloock', serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:hover { opacity: .75; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }

.page {
  container-type: inline-size;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  min-height: 100vh;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--text);
}
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding: 18px clamp(20px, 4cqw, 56px);
}
.logo {
  text-decoration: none;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -.03em;
}
.logo__dot { color: var(--accent); }

.nav-desktop {
  display: none;
  align-items: center;
  gap: 26px;
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.nav-desktop a { text-decoration: none; }
.nav-desktop a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--accent);
}
.btn-socio {
  font: inherit;
  background: var(--text);
  color: var(--bg);
  border: 0;
  padding: 12px 16px;
  cursor: pointer;
}

.nav-toggle {
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  background: none;
  border: 1px solid var(--text);
  color: var(--text);
  padding: 12px 16px;
  min-height: 44px;
  cursor: pointer;
}

.nav-mobile {
  display: none;
  border-top: 1px solid var(--text);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -.02em;
}
.nav-mobile.is-open { display: grid; }
.nav-mobile a {
  text-decoration: none;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.nav-mobile a[aria-current="page"] { color: var(--accent-mid); }
.nav-mobile__cta { padding: 20px; }
.nav-mobile__cta button {
  width: 100%;
  font-family: var(--font-mono);
  font-size: 14px;
  text-transform: uppercase;
  background: var(--accent);
  color: #fff;
  border: 0;
  padding: 16px;
  cursor: pointer;
}

@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .nav-toggle { display: none; }
  .nav-mobile { display: none !important; }
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 28px clamp(20px, 4cqw, 56px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer a { text-decoration: none; }

/* ---------- Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 14px;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  border: 0;
  border-radius: 0;
}
.btn-primary { background: var(--accent); color: #fff; padding: 16px 22px; }
.btn-outline { background: none; color: var(--text); border: 1px solid var(--text); padding: 15px 22px; }

.btn-gold {
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  background: var(--gold);
  color: var(--gold-text);
  border: 0;
  border-radius: 6px;
  padding: 16px 26px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.btn-ghost-light {
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--olive-text);
  background: none;
  border: 1px solid rgba(239, 236, 227, .7);
  border-radius: 6px;
  padding: 15px 26px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.btn-dark {
  font: inherit;
  background: var(--text);
  color: #fff;
  border: 0;
  padding: 16px 22px;
  cursor: pointer;
}

/* ---------- Hero (split, two columns) ---------- */
.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: clamp(40px, 4cqw, 56px);
  padding: clamp(32px, 5cqw, 64px) clamp(20px, 4cqw, 56px) clamp(48px, 6cqw, 80px);
}
.hero--interesados {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: clamp(40px, 5cqw, 72px);
  padding: clamp(32px, 5cqw, 64px) clamp(20px, 4cqw, 56px) clamp(56px, 8cqw, 104px);
  align-items: start;
}
.hero__content { display: flex; flex-direction: column; gap: 32px; justify-content: space-between; }
.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.hero__title {
  margin: 0;
  font-weight: 800;
  font-size: clamp(46px, 7.6cqw, 112px);
  line-height: .9;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.hero__title--xl {
  font-size: clamp(56px, 10.5cqw, 150px);
  line-height: .86;
  letter-spacing: -.05em;
}
.hero__title--interesados {
  font-size: clamp(46px, 7.4cqw, 108px);
  line-height: .9;
  letter-spacing: -.045em;
}
.hero__body { display: grid; gap: 20px; max-width: 560px; }
.hero__lead { margin: 0; font-size: clamp(18px, 1.8cqw, 22px); line-height: 1.4; text-wrap: pretty; max-width: 560px; }
.hero__box {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  padding: 16px 18px;
  border: 1px solid var(--text);
  background: #fff;
}
.accent-text { color: var(--accent); }

.hero__media { position: relative; }
.hero__media img.media-main { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hero__media img.media-badge {
  position: absolute;
  left: -4%;
  bottom: -5%;
  width: 38%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 8px solid var(--bg);
}
.hero__media--single img { aspect-ratio: 16 / 10; }

/* ---------- Section headings (eyebrow numbered) ---------- */
.section-label {
  display: block;
  margin: 0;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--accent-dark);
}
.section-label--gap { margin-bottom: 28px; }
.section-label--rule {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--text);
}
.section-label--plain { color: var(--text); }

/* ---------- "La idea" text block (home) ---------- */
.idea-section {
  padding: clamp(56px, 9cqw, 120px) clamp(20px, 4cqw, 56px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 28px 56px;
  border-top: 1px solid var(--text);
}
.idea-section__body {
  grid-column: 1 / -1;
  display: grid;
  gap: 22px;
  min-width: 0;
  max-width: 960px;
  justify-self: end;
}
.idea-section__lead {
  margin: 0;
  font-size: clamp(24px, 2.8cqw, 36px);
  line-height: 1.2;
  letter-spacing: -.02em;
  font-weight: 600;
  text-wrap: pretty;
}
.idea-section__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 24px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}
.idea-section__cols p { margin: 0; text-wrap: pretty; }

/* ---------- Two-column intro (image + text), used on Lunes/Martes/Reservas ---------- */
.intro-split {
  padding: clamp(56px, 9cqw, 120px) clamp(20px, 4cqw, 56px);
  border-top: 1px solid var(--text);
}
.intro-split__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 40px 64px;
  align-items: center;
}
.intro-split__text { display: grid; gap: 22px; }
.intro-split__lead {
  margin: 0;
  font-size: clamp(24px, 2.8cqw, 36px);
  line-height: 1.2;
  letter-spacing: -.02em;
  font-weight: 600;
  text-wrap: pretty;
}
.intro-split__body {
  margin: 0;
  font-size: clamp(17px, 1.6cqw, 20px);
  line-height: 1.55;
  color: var(--muted);
  text-wrap: pretty;
}
.intro-split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- Numbered feature rows (three keys / detalles) ---------- */
.keys-section { padding: 0 clamp(20px, 4cqw, 56px) clamp(56px, 9cqw, 120px); }
.feature-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 16px 40px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--text);
}
.feature-row__num {
  font-weight: 800;
  font-size: clamp(40px, 5cqw, 64px);
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--accent);
}
.feature-row h3 {
  margin: 0;
  font-weight: 600;
  font-size: clamp(24px, 2.6cqw, 34px);
  letter-spacing: -.02em;
}
.feature-row p {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
  color: var(--muted);
}
.feature-row img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------- Rule rows (Bases: no image, two columns) ---------- */
.rule-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 8px 40px;
  padding: 24px 0;
  border-bottom: 1px solid var(--text);
}
.rule-row h3 {
  margin: 0;
  font-weight: 600;
  font-size: clamp(21px, 2.1cqw, 27px);
  line-height: 1.2;
  letter-spacing: -.015em;
}
.rule-row p {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
  text-wrap: pretty;
}

/* ---------- CTA band (dark olive, image overlay) ---------- */
.cta-band {
  position: relative;
  color: var(--olive-text);
  background: var(--olive);
  padding: clamp(72px, 11cqw, 140px) clamp(20px, 4cqw, 56px);
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 28px;
  overflow: hidden;
}
.cta-band__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .28;
}
.cta-band__text {
  position: relative;
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(30px, 4.2cqw, 56px);
  line-height: 1.12;
  max-width: 900px;
  text-wrap: pretty;
}
.cta-band__heading {
  position: relative;
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(34px, 4.6cqw, 60px);
  line-height: 1.05;
}
.cta-band__lead {
  position: relative;
  margin: 0;
  font-size: clamp(18px, 1.9cqw, 22px);
  line-height: 1.5;
  max-width: 720px;
  text-wrap: pretty;
}
.cta-band .btn-row {
  position: relative;
  justify-content: center;
  font-family: var(--font-sans);
}
.cta-band__highlight { color: var(--gold); }

/* ---------- Bases: hero quote / price section ---------- */
.price-band {
  background: var(--accent);
  color: #fff;
  padding: clamp(56px, 9cqw, 112px) clamp(20px, 4cqw, 56px);
  display: grid;
  gap: 28px;
}
.price-band__label {
  margin: 0;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.price-band__text {
  margin: 0;
  font-weight: 800;
  font-size: clamp(28px, 4.2cqw, 58px);
  line-height: 1.02;
  letter-spacing: -.035em;
  max-width: 1100px;
  text-wrap: pretty;
}

.bullet-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--text); }
.bullet-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--text);
  font-size: clamp(18px, 1.8cqw, 22px);
  line-height: 1.4;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
}
.bullet-list li > span:first-child { color: var(--accent); font-weight: 800; }

.feature-block { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 40px 64px; }
.feature-block h2 { margin: 0; font-family: var(--font-mono); font-weight: 400; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--accent-dark); }

/* ---------- Reservas: price stat + schedule ---------- */
.stat-row { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: end; }
.stat__value { font-weight: 800; font-size: clamp(64px, 9cqw, 128px); line-height: .85; letter-spacing: -.05em; color: var(--accent); }
.stat__value--sm { font-weight: 800; font-size: clamp(36px, 4.4cqw, 60px); line-height: .85; letter-spacing: -.04em; }
.stat__label { font-family: var(--font-mono); font-size: 13px; text-transform: uppercase; margin-top: 10px; }

.schedule-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.schedule-card { border: 1px solid var(--text); background: #fff; padding: 22px; display: grid; gap: 8px; }
.schedule-card--dark { background: var(--text); color: var(--bg); }
.schedule-card__label { font-family: var(--font-mono); font-size: 13px; text-transform: uppercase; }
.schedule-card__value { font-weight: 800; font-size: clamp(30px, 3.4cqw, 42px); letter-spacing: -.03em; }

.bullet-list--plain { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--text); }
.bullet-list--plain li { padding: 20px 0; border-bottom: 1px solid var(--text); display: grid; gap: 6px; }
.bullet-list--plain strong { font-weight: 600; font-size: clamp(20px, 2cqw, 24px); }
.bullet-list--plain span.detail { font-size: 17px; line-height: 1.5; color: var(--muted); }

/* ---------- Lista de interesados: form card ---------- */
.signup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: clamp(40px, 5cqw, 72px);
  padding: clamp(32px, 5cqw, 64px) clamp(20px, 4cqw, 56px) clamp(56px, 8cqw, 104px);
  align-items: start;
}
.signup-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--text);
  padding: clamp(24px, 3.4cqw, 44px);
  display: grid;
  gap: 24px;
}
.signup-card h2 { margin: 0; font-weight: 800; font-size: clamp(28px, 3cqw, 38px); letter-spacing: -.03em; line-height: 1; }

.signup-ok {
  display: grid;
  gap: 12px;
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--text);
}
.signup-ok strong { font-weight: 800; font-size: 24px; letter-spacing: -.02em; color: var(--accent-dark); }
.signup-ok p { margin: 0; font-size: 17px; line-height: 1.5; }

.form-grid { display: grid; gap: 16px; }
.form-field { display: grid; gap: 6px; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.form-field input {
  font-family: var(--font-sans);
  font-size: 17px;
  text-transform: none;
  letter-spacing: 0;
  padding: 14px;
  border: 1px solid var(--text);
  border-radius: 0;
  background: #fff;
  color: var(--text);
  width: 100%;
}
.form-honeypot { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

.consent-field {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
  cursor: pointer;
  padding-top: 4px;
}
.consent-field input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--accent); }
.consent-field a { color: var(--accent-dark); text-decoration: underline; }

.form-error {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--accent-dark);
  color: var(--accent-darker);
  font-size: 15px;
  line-height: 1.45;
}
.form-submit {
  font-family: var(--font-mono);
  font-size: 14px;
  text-transform: uppercase;
  background: var(--accent);
  color: #fff;
  border: 0;
  padding: 17px 22px;
  cursor: pointer;
  text-align: center;
  margin-top: 4px;
  width: 100%;
}
.form-submit[disabled] { opacity: .65; cursor: progress; }
.form-note { margin: 0; font-size: 13px; color: var(--muted-2); }

.legal-summary { display: grid; gap: 8px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.legal-summary h3 {
  margin: 0;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text);
}
.legal-summary dl { margin: 0; border-top: 1px solid var(--line); }
.legal-summary dl > div {
  display: grid;
  grid-template-columns: minmax(0, 120px) minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.legal-summary dt {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding-top: 2px;
}
.legal-summary dd { margin: 0; }
.legal-summary a { color: var(--accent-dark); }

/* ---------- Modal (generic CTA modal + aviso popup) ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(29, 28, 26, .6);
  display: none;
  place-items: center;
  padding: 20px;
}
.modal-overlay.is-open { display: grid; }
.modal-overlay--aviso { z-index: 60; background: rgba(29, 28, 26, .65); }
.modal {
  width: 100%;
  max-width: 440px;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--text);
  padding: clamp(24px, 5vw, 36px);
  font-family: var(--font-sans);
  display: grid;
  gap: 20px;
}
.modal--aviso { max-width: 520px; max-height: calc(100vh - 40px); overflow: auto; padding: 0; position: relative; }
.modal__head { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.modal__head h2 { margin: 0; font-weight: 800; font-size: 32px; line-height: 1; letter-spacing: -.03em; }
.modal__close {
  background: none;
  border: 0;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: inherit;
  width: 44px;
  height: 44px;
  margin: -10px -10px 0 0;
}
.modal form { display: grid; gap: 14px; }
.modal label { display: grid; gap: 6px; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; }
.modal input {
  font-family: var(--font-sans);
  font-size: 17px;
  text-transform: none;
  padding: 13px 14px;
  border: 1px solid var(--text);
  border-radius: 0;
  background: #fff;
}
.modal button[type="submit"] {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 14px;
  text-transform: uppercase;
  background: var(--accent);
  color: #fff;
  border: 0;
  padding: 17px;
  cursor: pointer;
}
.modal p { margin: 0; font-size: 18px; line-height: 1.5; }

.modal--aviso .modal__image { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.modal--aviso .modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--bg);
}
.modal--aviso .modal__body { padding: clamp(24px, 5vw, 36px); display: grid; gap: 20px; }
.modal--aviso .modal__eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--accent-dark);
}
.modal--aviso .modal__lead { margin: 0; font-size: clamp(19px, 2.4vw, 22px); line-height: 1.4; text-wrap: pretty; }
.modal--aviso .btn-primary { display: block; }

/* ---------- Legal article (Política de privacidad) ---------- */
.legal-article { max-width: 820px; margin: 0 auto; padding: clamp(32px, 5cqw, 64px) clamp(20px, 4cqw, 56px) clamp(56px, 8cqw, 104px); }
.legal-article__eyebrow { font-family: var(--font-mono); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.legal-article h1 { margin: 16px 0 12px; font-weight: 800; font-size: clamp(40px, 6cqw, 80px); line-height: .92; letter-spacing: -.045em; }
.legal-article__updated { margin: 0 0 32px; font-family: var(--font-mono); font-size: 13px; color: var(--muted-2); }
.legal-article__intro { margin: 0; font-size: 17px; line-height: 1.65; color: #2f2d2a; text-wrap: pretty; }
.legal-article section { display: grid; gap: 14px; padding: 32px 0; border-top: 1px solid var(--text); }
.legal-article h2 { margin: 0; font-weight: 800; font-size: clamp(22px, 2.4cqw, 28px); letter-spacing: -.02em; line-height: 1.15; }
.legal-article h2 span { color: var(--accent); margin-right: 10px; }
.legal-article p { margin: 0; font-size: 17px; line-height: 1.65; color: #2f2d2a; text-wrap: pretty; }
.legal-article ul { margin: 0; padding-left: 22px; display: grid; gap: 8px; font-size: 17px; line-height: 1.6; color: #2f2d2a; }
.legal-article dl { margin: 0; display: grid; gap: 6px; font-size: 17px; line-height: 1.6; }
.legal-article dl div { margin: 0; }
.legal-article dt, .legal-article dd { display: inline; }
.legal-article dt { font-weight: 600; }
.legal-article a { color: var(--accent-dark); }

/* ---------- Utility ---------- */
.visually-hidden { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
[hidden] { display: none !important; }
