/* Tokens provisionales hasta la guía de marca (rosa/morado de referencia). */
:root {
  --bg: #fffafc;
  --surface: #ffffff;
  --surface-alt: #f6effa;
  --text: #22142e;
  --text-muted: #5a4b66;
  --brand: #6b2a9e;
  --brand-strong: #561f82;
  --accent: #d6336c;
  --on-brand: #ffffff;
  --border: #e8dcef;
  --focus: #d6336c;
  --radius: 16px;
  --max: 1080px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #150d1c;
    --surface: #1f1429;
    --surface-alt: #2a1b37;
    --text: #f6eefb;
    --text-muted: #c9b8d6;
    --brand: #c39bec;
    --brand-strong: #d7b9f5;
    --accent: #ff8ab3;
    --on-brand: #1b0f25;
    --border: #3a2a48;
    --focus: #ff8ab3;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

a {
  color: var(--brand);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  padding: 8px 12px;
  background: var(--surface);
  z-index: 10;
}

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

/* Encabezado */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.logo {
  font-weight: 800;
  font-size: 1.375rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.logo span {
  color: var(--accent);
}

.logo,
.header-link,
.site-footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.header-link {
  font-weight: 600;
  text-decoration: none;
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.0625rem;
  text-decoration: none;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--brand);
  color: var(--on-brand);
}

.btn-primary:hover {
  background: var(--brand-strong);
}

.btn-secondary {
  border-color: var(--border);
  color: var(--text);
  background: var(--surface);
}

/* Portada */
.hero {
  padding: 56px 0 48px;
}

.hero .wrap {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 860px) {
  .hero .wrap {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--accent);
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(2.125rem, 6vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}

.lead {
  font-size: 1.1875rem;
  color: var(--text-muted);
  margin: 0 0 28px;
  max-width: 34em;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.fine {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 16px 0 0;
}

/* Ejemplo de menú */
.phone {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 20px;
  max-width: 360px;
  width: 100%;
  margin: 0 auto;
  box-shadow: 0 18px 48px rgb(80 30 110 / 0.12);
}

.phone-title {
  font-weight: 800;
  font-size: 1.125rem;
  margin: 0;
}

.phone-sub {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin: 0 0 14px;
}

.pills {
  display: flex;
  gap: 8px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  overflow: hidden;
}

.pills li {
  font-size: 0.875rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface-alt);
  white-space: nowrap;
}

.pills li:first-child {
  background: var(--brand);
  color: var(--on-brand);
}

.dish {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
}

.dish-name {
  font-weight: 700;
}

.dish-price {
  font-weight: 700;
  text-align: right;
}

.dish-desc {
  grid-column: 1 / -1;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.phone-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
  margin: 10px 0 0;
}

/* Secciones */
section {
  padding: 48px 0;
}

.alt {
  background: var(--surface-alt);
}

h2 {
  font-size: clamp(1.625rem, 4vw, 2.125rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 24px;
}

h3 {
  font-size: 1.1875rem;
  margin: 0 0 8px;
}

.grid {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 720px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.card p {
  margin: 0;
  color: var(--text-muted);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--on-brand);
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-final {
  text-align: center;
}

.cta-final p {
  color: var(--text-muted);
  margin: 0 auto 24px;
  max-width: 32em;
}

/* Pie */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
  justify-content: space-between;
}

.site-footer a {
  color: var(--text-muted);
}

/* Páginas de texto */
.prose {
  max-width: 44em;
  padding: 40px 16px 56px;
  margin: 0 auto;
}

.prose h1 {
  font-size: clamp(1.875rem, 5vw, 2.5rem);
}

.prose h2 {
  font-size: 1.375rem;
  margin: 32px 0 12px;
}

.prose li {
  margin-bottom: 6px;
}

@media (prefers-reduced-motion: no-preference) {
  .btn {
    transition: background-color 0.15s ease;
  }
}
