/* sercanaco.com — Fase 1 · Muriel design tokens */
:root {
  --ink: #1A0F08;
  --ink-hero: #2C1508;
  --surface: #F5F0EA;
  --white: #FFFFFF;
  --terracotta: #C4622D;
  --muted: #6B5B52;
  --border: #E8DFD6;
  --open: #2D7A47;
  --closed: #8B4513;
  --radius-btn: 10px;
  --radius-card: 12px;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'DM Sans', system-ui, sans-serif;
  --header-h: 64px;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

img { max-width: 100%; height: auto; }
a { color: var(--terracotta); }
a:hover { text-decoration: none; }

h1, h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.75rem;
}
h1 { font-size: clamp(1.75rem, 4.5vw, 2.75rem); }
h2 { font-size: clamp(1.35rem, 3vw, 1.85rem); }
h3 { font-family: var(--font-sans); font-weight: 600; margin: 0 0 0.5rem; }

.eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.container { width: min(1120px, 100% - 2rem); margin-inline: auto; }
.container-narrow { width: min(720px, 100% - 2rem); margin-inline: auto; }

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0.5rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark {
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  padding: 0.45rem 0.65rem;
  border-radius: 4px;
}
.brand-text { font-size: 0.72rem; line-height: 1.25; max-width: 11rem; }
.brand-text strong { display: block; font-weight: 600; }

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.9rem;
}
.nav-desktop a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}
.nav-desktop a:hover, .nav-desktop a.is-active { color: var(--terracotta); }

.header-actions { display: flex; align-items: center; gap: 0.5rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 44px;
  padding: 0.55rem 1.1rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.15s;
}
.btn:hover { opacity: 0.92; }
.btn-primary { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-terracotta { background: var(--terracotta); color: var(--white); }
.btn-block { width: 100%; }
.btn-lg { min-height: 48px; font-size: 1rem; }

.nav-entrar { display: none !important; }

.menu-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  background: var(--white);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 0 1rem 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  padding: 0.85rem 0;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:last-child { border-bottom: none; }

@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .menu-toggle { display: none; }
  .brand-text { font-size: 0.8rem; max-width: none; }
}

/* —— Hero / Ruleta —— */
.hero {
  background: var(--ink-hero);
  color: var(--white);
  padding: 1.5rem 0 2rem;
}
.hero-grid {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 2rem; padding: 1rem 0 2.5rem; }
}
.hero .eyebrow { color: rgba(255,255,255,0.55); }
.hero h1 { color: var(--white); }
.hero-lead { color: rgba(255,255,255,0.78); font-size: 0.95rem; margin-bottom: 1rem; }

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}
.chip {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent;
  color: rgba(255,255,255,0.85);
  cursor: pointer;
  font-family: inherit;
}
.chip.is-active { background: var(--white); color: var(--ink); border-color: var(--white); }

.chip-more-wrap { position: relative; }
.chip-more-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 4px;
  min-width: 160px;
  max-width: min(92vw, 240px);
  max-height: min(60vh, 320px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  padding: 0.35rem;
  z-index: 20;
}
.chip-more-menu.is-open { display: block; }
.chip-more-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.5rem 0.65rem;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 0.85rem;
  color: var(--ink);
  border-radius: 6px;
  cursor: pointer;
}
.chip-more-menu button:hover { background: var(--surface); }

.open-toggle-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
}
.open-toggle-row label { display: flex; align-items: center; gap: 0.4rem; cursor: pointer; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #6B7280; display: inline-block; }
.status-dot.is-on { background: var(--open); }

.ruleta-card {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-card);
  padding: 1.25rem;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}
.ruleta-label {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.ruleta-wheel {
  width: min(200px, 70vw);
  aspect-ratio: 1;
  margin: 0 auto 1rem;
  border: 2px dashed var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  padding: 1rem;
}
.ruleta-wheel.spinning { border-style: solid; border-color: var(--terracotta); }
.ruleta-result-name { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700; text-align: center; }
.ruleta-meta {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.35rem 0 1rem;
}
.ruleta-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }

/* —— Sections —— */
.section { padding: 2.5rem 0; }
.section-surface { background: var(--surface); }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.search-input {
  width: min(280px, 100%);
  padding: 0.65rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  font-family: inherit;
  font-size: 0.95rem;
}

.rest-grid, .rest-list { display: flex; flex-direction: column; gap: 0.65rem; }
@media (min-width: 700px) {
  .rest-grid.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); }
}
.rest-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--white);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.15s;
}
.rest-card:hover { border-color: var(--terracotta); }
.rest-card.is-highlight { border-color: var(--terracotta); box-shadow: 0 0 0 1px var(--terracotta); }
.rest-thumb {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.rest-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #fff;
}
.rest-thumb-initials {
  font-size: 0.65rem;
  color: var(--ink);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.rest-thumb-initials-lg {
  font-size: 1.5rem;
  width: 120px;
  height: 120px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.5rem;
}
#ruletaWinnerLogo {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  margin-bottom: 0.5rem;
}
.rest-info { flex: 1; min-width: 0; }
.rest-name { font-weight: 600; font-size: 0.95rem; }
.rest-meta { font-size: 0.8rem; color: var(--muted); margin-top: 0.15rem; }
.rest-chevron { color: var(--muted); font-size: 1.1rem; }

/* Status: dot + text only (no colored pills) */
.st-open::before, .st-closed::before, .st-unknown::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  margin-right: 0.35rem;
  vertical-align: middle;
}
.st-open::before { background: var(--open); }
.st-closed::before { background: var(--closed); }
.st-unknown::before { background: #9CA3AF; }

.cta-duo {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}
@media (min-width: 700px) { .cta-duo { grid-template-columns: 1fr 1fr; } }
.cta-box {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  background: var(--white);
}
.cta-box h3 { font-family: var(--font-serif); font-size: 1.1rem; }

.canaco-band {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}
.canaco-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
}

/* —— Footer —— */
.site-footer {
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
}
.footer-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); }
}
.footer-grid a { color: var(--ink); text-decoration: none; display: block; padding: 0.2rem 0; }
.footer-grid a:hover { color: var(--terracotta); }
.footer-copy { margin-top: 2rem; font-size: 0.75rem; color: var(--muted); text-align: center; }

/* —— Page content blocks —— */
.page-hero { padding: 2.5rem 0 2rem; }
.page-hero.lead-only { padding-bottom: 1rem; }
.card-grid-4 {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) { .card-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .card-grid-4 { grid-template-columns: repeat(4, 1fr); } }
.feature-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.25rem;
  background: var(--surface);
}
.feature-card h3 { font-size: 0.95rem; }

.split-panel {
  display: grid;
  gap: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  background: var(--surface);
}
@media (min-width: 800px) { .split-panel { grid-template-columns: 1fr 1fr; } }

.steps { list-style: none; padding: 0; margin: 0; }
.step-item { display: flex; gap: 1rem; margin-bottom: 1.25rem; }
.step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.faq details {
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0;
}
.faq summary { cursor: pointer; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin: 0.5rem 0 0; color: var(--muted); font-size: 0.92rem; }

.placeholder-box {
  border: 2px dashed var(--terracotta);
  border-radius: var(--radius-card);
  padding: 1.25rem;
  background: #FFF9F5;
  margin-top: 1rem;
  display: none;
}
.placeholder-box.is-visible { display: block; }
.placeholder-box .todo { color: var(--terracotta); font-weight: 600; font-size: 0.8rem; }

.photo-placeholder {
  min-height: 200px;
  background: var(--surface);
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
  padding: 1rem;
}

.mesa-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  margin-top: 2rem;
}

/* Sticky spin bar (mobile) */
.sticky-spin {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom));
  background: var(--ink);
  z-index: 90;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}
.sticky-spin.is-visible { display: block; }
@media (min-width: 900px) { .sticky-spin { display: none !important; } }

.legal-prose h2 { margin-top: 1.5rem; }
.legal-prose p, .legal-prose li { color: var(--muted); }

.error-page { text-align: center; padding: 4rem 1rem; min-height: 50vh; }/* ============ PASE MURIEL (pegar al FINAL de site/assets/site.css) ============ */
[hidden] { display: none !important; }
:root {
  /* Base CANACO (azules del logo canaco-logo-370x123.png en canacochihuahua.com: #0B4A85 y #1DAFE6) */
  --ink: #071B33;            /* tinta navy: texto, banda hero, botones oscuros (17.3:1 sobre blanco) */
  --ink-hero: #071B33;
  --canaco-blue: #0B4A85;    /* azul CANACO: enlaces, chip activo, marca (9.0:1 sobre blanco) */
  --canaco-sky: #1DAFE6;     /* azul cielo CANACO: SOLO sobre navy (6.9:1) o como relleno; nunca texto sobre blanco (2.5:1) */
  --surface: #F4F7FB;        /* off-white frío */
  --surface-2: #E8F1FA;
  --white: #FFFFFF;
  --border: #DCE3EE;
  --muted: #52607A;          /* 6.3:1 blanco · 5.9:1 surface */
  /* Acento cálido único (comida/apetito) */
  --terracotta: #C4622D;     /* CTA ¡Sorpréndeme!, puntero, resaltado. Texto blanco ≥19px/700 (texto grande, 4.1:1 ≥ 3:1) */
  --terracotta-hover: #A84F20;/* blanco 5.5:1 */
  --terracotta-text: #A3501F;/* texto cálido sobre blanco 5.6:1 */
  --open: #1F7A4A;           /* 5.3:1 */
  --closed: #A3501F;
  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-spin: cubic-bezier(.15,.9,.25,1.04);  /* frena y se pasa ~1–2° antes de asentarse */
  --ease-pop: cubic-bezier(.34,1.56,.64,1);
  --shadow-card: 0 1px 2px rgba(7,27,51,.06), 0 14px 36px rgba(7,27,51,.12);
}
a { color: var(--canaco-blue); text-underline-offset: .18em; }
.hero-copy a, .site-footer a { color: inherit; }
.brand-mark { background: var(--canaco-blue); }

/* Tipografía */
h1, h2, h3 { text-wrap: balance; }
h1 { font-size: clamp(2rem, 1rem + 4.6vw, 4.5rem); line-height: 1.04; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.25rem); line-height: 1.12; letter-spacing: -0.01em; }
p { text-wrap: pretty; }
body { line-height: 1.6; -webkit-font-smoothing: antialiased; }
.eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .14em; }
.section { padding: clamp(3rem, 2rem + 4vw, 6rem) 0; }

/* Foco visible + skip link */
:focus-visible { outline: 3px solid var(--canaco-blue); outline-offset: 3px; border-radius: 6px; }
.hero-copy :focus-visible, .sticky-spin :focus-visible, .local-band :focus-visible { outline-color: var(--canaco-sky); }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 200; background: var(--ink); color: #fff; padding: .75rem 1rem; border-radius: var(--radius-btn); }
.skip-link:focus { top: .75rem; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Micro-interacciones */
.btn { transition: transform .12s var(--ease-out), background-color .15s, box-shadow .15s, opacity .15s; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.97); }
.btn-primary:hover { background: var(--canaco-blue); border-color: var(--canaco-blue); opacity: 1; }
.btn-cta, #spinBtn, .sticky-spin .btn-primary { background: var(--terracotta); border-color: var(--terracotta); color: #fff; font-size: 1.1875rem; font-weight: 700; box-shadow: 0 6px 18px rgba(196,98,45,.35); }
.btn-cta:hover, #spinBtn:hover, .sticky-spin .btn-primary:hover { background: var(--terracotta-hover); border-color: var(--terracotta-hover); }
.btn-ghost:hover { background: var(--surface-2); opacity: 1; }
.hero .btn-ghost, .ruleta-card .btn-ghost { border-color: rgba(7,27,51,.22); }
.rest-card { transition: border-color .15s, transform .2s var(--ease-out), box-shadow .2s; }
.rest-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: var(--canaco-blue); }
.rest-name, .rest-meta { display: block; }

/* Header móvil: CANACO General vive en el menú y en la banda del footer */
@media (max-width: 899px) {
  .header-actions .btn-ghost { display: none; }
  .menu-toggle { flex: 0 0 44px; }
  .mobile-nav a { min-height: 48px; display: flex; align-items: center; }
}

/* ---------- HERO con foto + mensaje ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 1.25rem 0 1.75rem; }
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-bg img { object-fit: cover; object-position: 50% 30%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(7,27,51,.92) 0%, rgba(7,27,51,.45) 42%, rgba(7,27,51,.88) 100%); }
@media (min-width: 900px) {
  .hero { padding: 5rem 0 5.5rem; min-height: min(86vh, 820px); display: flex; align-items: center; }
  .hero-bg img { object-position: 30% 50%; }
  .hero::before { background: linear-gradient(90deg, rgba(7,27,51,.95) 0%, rgba(7,27,51,.78) 40%, rgba(7,27,51,.15) 100%); }
}
.hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "card" "proof"; gap: 1.25rem; }
.hero-grid > * { min-width: 0; }
.hero-copy { grid-area: copy; } .ruleta-card { grid-area: card; } .proof-strip { grid-area: proof; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); grid-template-areas: "copy card" "proof card"; column-gap: 3.5rem; align-items: start; }
  .proof-strip { align-self: end; }
}
.hero-copy .eyebrow { color: var(--canaco-sky); margin-bottom: .5rem; }
.hero h1 { margin-bottom: .6rem; }
.hero h1 em { font-style: normal; color: var(--canaco-sky); display: block; }
.hero-lead { font-size: 1rem; line-height: 1.5; color: rgba(255,255,255,.86); margin: 0; max-width: 34rem; }
@media (max-width: 899px) { .hero-copy .eyebrow { display: none; } .hero-lead { font-size: .9375rem; } }
@media (min-width: 900px) { .hero-lead { font-size: 1.125rem; } }

/* Franja de prueba (cifras) */
.proof-strip { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); color: #fff; }
.proof-strip li { border-top: 1px solid rgba(255,255,255,.22); padding-top: .75rem; }
.proof-strip strong { display: block; font-family: var(--font-serif); font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); line-height: 1; margin-bottom: .35rem; }
.proof-strip span { font-size: .875rem; color: rgba(255,255,255,.78); }
.proof-strip--light { color: var(--ink); } .proof-strip--light li { border-top-color: var(--border); } .proof-strip--light span { color: var(--muted); }
/* Marcador de cifra pendiente: imposible de pasar por alto */
.is-pendiente strong { font-family: ui-monospace, Menlo, monospace; font-size: .75rem; line-height: 1.35; background: #FFF3B0; color: #071B33; outline: 2px dashed #C4622D; outline-offset: 2px; padding: .25rem .4rem; border-radius: 4px; }

/* ---------- RULETA ---------- */
.ruleta-card { padding: 1rem; border-radius: var(--radius-card); box-shadow: 0 30px 80px rgba(0,0,0,.40); }
@media (min-width: 900px) { .ruleta-card { padding: 1.5rem; } }
.ruleta-card .chip-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -1rem .5rem; padding: 0 1rem; scroll-snap-type: x proximity; }
.ruleta-card .chip-row::-webkit-scrollbar { display: none; }
.ruleta-card .chip { flex: 0 0 auto; min-height: 40px; padding: .5rem .95rem; font-size: .875rem; color: var(--ink); border-color: var(--border); background: #fff; position: relative; scroll-snap-align: start; }
.ruleta-card .chip::after { content: ""; position: absolute; inset: -2px 0; } /* objetivo táctil 44px */
.ruleta-card .chip.is-active { background: var(--canaco-blue); color: #fff; border-color: var(--canaco-blue); }
.ruleta-card .chip-more-wrap { flex: 0 0 auto; position: static; }
.ruleta-card { position: relative; }
.ruleta-card .chip-more-menu { top: 3.25rem; left: auto; right: 1rem; }
.chip-more-menu button { min-height: 44px; }

/* Switch «Solo abiertos» */
.switch { display: flex; align-items: center; gap: .6rem; min-height: 44px; font-size: .875rem; font-weight: 500; cursor: pointer; position: relative; }
.switch input { position: absolute; left: 0; width: 44px; height: 44px; margin: 0; opacity: 0; cursor: pointer; }
.switch-track { flex: 0 0 40px; height: 24px; border-radius: 999px; background: #C4CEDC; position: relative; transition: background .2s; }
.switch-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s var(--ease-out); }
.switch input:checked + .switch-track { background: var(--open); }
.switch input:checked + .switch-track::after { transform: translateX(16px); }
.switch input:focus-visible + .switch-track { outline: 3px solid var(--canaco-blue); outline-offset: 2px; }
.switch-count { margin-left: auto; color: var(--muted); font-weight: 400; font-size: .8125rem; }

/* Rueda: 12 gajos sin texto (legible a cualquier tamaño), puntero fijo, hub con logo */
.ruleta-stage { position: relative; width: min(176px, 46vw); aspect-ratio: 1; margin: .5rem auto .75rem; }
@media (min-width: 900px) { .ruleta-stage { width: 240px; } }
.ruleta-wheel { position: absolute; inset: 0; width: 100%; margin: 0; padding: 0; border: 0; border-radius: 50%;
  background: repeating-conic-gradient(from -15deg, var(--canaco-blue) 0 30deg, var(--canaco-sky) 30deg 60deg, #FFFFFF 60deg 90deg);
  box-shadow: inset 0 0 0 6px #fff, 0 0 0 1px var(--border), 0 12px 28px rgba(7,27,51,.22);
  will-change: transform; }
.ruleta-wheel.spinning { border: 0; }
.ruleta-pointer { position: absolute; top: -6px; left: 50%; z-index: 2; width: 0; height: 0; transform: translateX(-50%);
  border-left: 10px solid transparent; border-right: 10px solid transparent; border-top: 18px solid var(--terracotta); filter: drop-shadow(0 2px 2px rgba(0,0,0,.25)); }
.ruleta-hub { position: absolute; inset: 22%; z-index: 1; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(7,27,51,.22); }
.ruleta-hub.is-tick .logo-tile { animation: hubTick .12s var(--ease-out); }
@keyframes hubTick { from { transform: scale(.88); opacity: .6; } to { transform: none; opacity: 1; } }

/* Resultado */
.ruleta-hint { text-align: center; font-size: .9375rem; color: var(--muted); margin: 0 0 .75rem; }
.ruleta-result { display: none; gap: .85rem; align-items: flex-start; margin: 0 0 .9rem; text-align: left; }
.ruleta-result.is-shown { display: flex; }
.ruleta-result.is-in { animation: resultPop .42s var(--ease-pop) both; }
@keyframes resultPop { 0% { opacity: 0; transform: translateY(10px) scale(.94); } 100% { opacity: 1; transform: none; } }
.ruleta-stage.is-done .ruleta-wheel { animation: wheelGlow .6s var(--ease-out); }
@keyframes wheelGlow { 0% { box-shadow: inset 0 0 0 6px #fff, 0 0 0 0 rgba(196,98,45,.55); } 100% { box-shadow: inset 0 0 0 6px #fff, 0 0 0 18px rgba(196,98,45,0); } }
.res-name { font-family: var(--font-serif); font-size: 1.375rem; line-height: 1.15; margin: 0 0 .15rem; }
.res-line { margin: 0; font-size: .875rem; color: var(--muted); line-height: 1.45; }
.res-thanks { margin: .35rem 0 0; font-size: .8125rem; color: var(--terracotta-text); font-weight: 600; }
.ruleta-actions .btn { flex: 1 1 auto; }
.ruleta-actions #spinBtn { flex: 1 0 100%; min-height: 56px; }
@media (min-width: 420px) { .ruleta-actions #spinBtn { flex-basis: auto; } }
.btn[aria-disabled="true"] { opacity: .7; pointer-events: none; }

/* Estado vacío */
.ruleta-empty { display: flex; gap: .75rem; align-items: center; background: var(--surface); border-radius: var(--radius-card); padding: .75rem; margin: 0 0 .75rem; font-size: .875rem; }
.ruleta-empty[hidden] { display: none; }
.ruleta-empty img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; flex: none; }

/* Logos estandarizados */
.logo-tile { --s: 64px; width: var(--s); height: var(--s); flex: none; border-radius: 14px; background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--border); padding: 4px; display: grid; place-items: center; overflow: hidden; }
.logo-tile img { width: 100%; height: 100%; object-fit: contain; display: block; }
.logo-tile--lg { --s: clamp(104px, 28vw, 128px); padding: 6px; border-radius: 20px; }
.logo-tile--mono { padding: 0; background: var(--canaco-blue); color: #FFFFFF; font-family: var(--font-serif); font-weight: 700; font-size: calc(var(--s) * .36); letter-spacing: .02em; box-shadow: none; }
.logo-tile--mono.alt { background: var(--terracotta); color: #fff; }
.rest-card.is-highlight { border-color: var(--terracotta); box-shadow: 0 0 0 2px var(--terracotta); }
.rest-thumb { display: none; } /* reemplazado por .logo-tile */

/* Barra fija */
.sticky-spin { display: block; transform: translateY(110%); transition: transform .25s var(--ease-out); padding: .6rem 1rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(7,27,51,.94); backdrop-filter: blur(10px); }
.sticky-spin.is-visible { transform: none; }
.sticky-spin .btn-primary { min-height: 56px; }
body.has-sticky { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }

/* Fotos de sección */
.media { margin: 0; border-radius: var(--radius-card); overflow: hidden; background: var(--surface); position: relative; }
.media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media--4x3 { aspect-ratio: 4 / 3; } .media--3x4 { aspect-ratio: 3 / 4; }
@media (max-width: 799px) { .media--3x4 { aspect-ratio: 4 / 3; } .media--3x4 img { object-position: 50% 22%; } }
.media figcaption { position: absolute; inset: auto 0 0 0; padding: 2.5rem 1rem 1rem; color: #fff; background: linear-gradient(180deg, rgba(7,27,51,0) 0%, rgba(7,27,51,.90) 70%); }
.media figcaption strong { display: block; font-family: var(--font-serif); font-size: 1.375rem; line-height: 1.15; }
.media figcaption span { font-size: .875rem; color: rgba(255,255,255,.85); }
.impact-grid { display: grid; gap: 1rem; } @media (min-width: 800px) { .impact-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
.local-band { background: var(--ink-hero); color: #fff; border-radius: 16px; padding: clamp(1.5rem, 1rem + 3vw, 3rem); display: grid; gap: 1rem; }
@media (min-width: 800px) { .local-band { grid-template-columns: 1.4fr 1fr; align-items: center; } }
.local-band h2 { color: #fff; margin: 0; } .local-band p { color: rgba(255,255,255,.82); margin: .5rem 0 0; }
.local-band { background: linear-gradient(135deg, var(--ink) 0%, var(--canaco-blue) 100%); }
.local-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.ia-note { font-size: .75rem; color: var(--muted); text-align: center; margin: .5rem 0 0; }

/* Vida: entrada del hero + revelado escalonado al hacer scroll (solo con JS y sin reduced-motion) */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-copy > *, .js .ruleta-card { animation: rise .7s var(--ease-out) both; }
  .js .hero-copy > :nth-child(2) { animation-delay: .08s; } .js .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .js .ruleta-card { animation-delay: .22s; }
  .js-reveal-ready .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
  .js-reveal-ready .reveal.is-visible { opacity: 1; transform: none; }
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .ruleta-wheel { transition: none !important; }
  .rest-card:hover { transform: none; }
  .sticky-spin { transition: none; }
}
.unete-grid { display: grid; gap: 1.5rem; margin-top: 2rem; align-items: start; }
@media (min-width: 800px) { .unete-grid { grid-template-columns: 1.2fr 1fr; gap: 2.5rem; } }
.step-num { background: var(--canaco-blue); }
@media (min-width: 900px) { .hero--seccion { min-height: min(70vh, 640px); } }
.nav-desktop a:hover, .nav-desktop a.is-active { color: var(--canaco-blue); }
.nav-desktop a.is-active { text-decoration: underline; text-decoration-color: var(--terracotta); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.logo-tile--full { padding: 0; } .logo-tile--full img { object-fit: cover; } /* logos que traen su propio fondo sólido */
.empty-state { display: flex; gap: .75rem; align-items: center; color: var(--muted); }
.empty-state img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }

@media print { .reveal { opacity: 1 !important; transform: none !important; } }

.ruleta-hub { inset: 13%; }
.ruleta-hub .logo-tile { width: 100%; height: 100%; padding: 13%; border-radius: 50%; box-shadow: none; background: #fff; }
.ruleta-hub .logo-tile--mono { padding: 0; font-size: 2rem; }
.ruleta-hub .logo-tile--mono { background: var(--canaco-blue); color: #fff; }
.ruleta-hub .logo-tile--mono.alt { background: var(--terracotta); }
@media (min-width: 900px) { .ruleta-hub .logo-tile--mono { font-size: 2.5rem; } }
.hub-idle { font: 700 .8125rem/1 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--canaco-blue); }

/* Home: menos hueco lista → CTAs (móvil y desktop) */
.section-home-directory { padding-bottom: clamp(1.25rem, 0.75rem + 1.5vw, 2rem); }
.section-home-cta { padding-top: clamp(1.25rem, 0.75rem + 1.5vw, 2rem); }
.section-home-cta .cta-duo { margin-top: 0; }
.home-dir-more { margin: 0.75rem 0 0; text-align: center; }
