/* ╔══════════════════════════════════════════════════════════════════════════╗
   ║ Habitación Co · styles.css                                                ║
   ║ Sistema visual compartido para todas las páginas del prototipo.           ║
   ╚══════════════════════════════════════════════════════════════════════════╝ */

/* ─── fuentes oficiales (locales) ─────────────────────────────────── */
@font-face { font-family: 'Chillax'; src: url('Chillax-400.woff2') format('woff2'); font-weight: 400; font-display: swap; font-style: normal; }
@font-face { font-family: 'Chillax'; src: url('Chillax-500.woff2') format('woff2'); font-weight: 500; font-display: swap; font-style: normal; }
@font-face { font-family: 'Chillax'; src: url('Chillax-600.woff2') format('woff2'); font-weight: 600; font-display: swap; font-style: normal; }
@font-face { font-family: 'Chillax'; src: url('Chillax-700.woff2') format('woff2'); font-weight: 700; font-display: swap; font-style: normal; }

/* ─── tokens ───────────────────────────────────────────────────────── */
:root {
  --bg:      #f0e1c2;
  --surface: #faecd0;
  --fg:      #2e6456;
  --muted:   #5a8478;
  --border:  rgba(46,100,86,.18);
  --accent:  #dc4d44;

  --accent-soft:  color-mix(in oklch, var(--accent) 14%, transparent);
  --fg-soft:      color-mix(in oklch, var(--fg) 6%, transparent);
  --surface-deep: color-mix(in oklch, var(--bg) 65%, var(--fg) 8%);

  --font-display: 'Chillax', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-body:    'Chillax', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono:    ui-monospace, 'JetBrains Mono', 'SF Mono', Menlo, monospace;

  --fs-h1: clamp(44px, 7vw, 92px);
  --fs-h2: clamp(30px, 4vw, 52px);
  --fs-h3: 22px;
  --fs-lead: 19px;
  --fs-body: 16px;
  --fs-meta: 12px;

  --gap-xs: 8px;
  --gap-sm: 12px;
  --gap-md: 20px;
  --gap-lg: 32px;
  --gap-xl: 56px;
  --gap-2xl: 96px;
  --container: 1120px;
  --gutter: 32px;

  --radius:    12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --easing: cubic-bezier(0.32, 0.72, 0, 1);
}

/* ─── reset & base ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; font-weight: 600; }

/* ─── ambient decoration ──────────────────────────────────────────── */
.ambient { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; user-select: none; }
/* Glow blobs (CSS) — color ambient sutil al fondo del fondo */
.ambient .blob {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.35;
  animation: drift 24s var(--easing) infinite alternate;
}
.ambient .blob.b1 { width: 520px; height: 520px; background: var(--accent); top: -180px; right: -120px; opacity: 0.12; }
.ambient .blob.b2 { width: 640px; height: 640px; background: var(--fg); bottom: -260px; left: -200px; opacity: 0.10; animation-delay: -12s; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(40px, -30px) scale(1.08); } }

/* Deco oficial (PNGs Habitación) — hojas + blob crema sobre cream bg.
   mix-blend-mode multiply: cream × cream = cream ligeramente más oscura → visible. */
.ambient .deco {
  position: absolute;
  mix-blend-mode: multiply;
  opacity: 0.78;
}
.ambient .deco-tr   { top: -3rem; right: -4rem; width: clamp(14rem, 28vw, 28rem); transform: rotate(15deg); }
.ambient .deco-bl   { bottom: -4rem; left: -4rem; width: clamp(11rem, 22vw, 22rem); transform: rotate(195deg); }
.ambient .deco-blob { bottom: 14%; right: -5rem; width: clamp(10rem, 18vw, 18rem); transform: rotate(45deg); opacity: 0.65; }
@media (max-width: 720px) {
  .ambient .deco-tr   { top: -2rem; right: -3rem; width: 14rem; opacity: 0.65; }
  .ambient .deco-bl   { bottom: -3rem; left: -3rem; width: 12rem; opacity: 0.65; }
  .ambient .deco-blob { display: none; }
}

/* ─── layout primitives ───────────────────────────────────────────── */
.container { position: relative; z-index: 1; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, var(--gap-2xl)); position: relative; z-index: 1; }
.section + .section { border-top: 1px solid var(--border); }
.stack { display: flex; flex-direction: column; }
.stack > * + * { margin-top: var(--gap-md); }
.row { display: flex; align-items: center; gap: var(--gap-md); }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: var(--gap-md); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap-lg); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-lg); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap-md); }
.grid-2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: var(--gap-xl); align-items: start; }
.grid-1-2 { display: grid; grid-template-columns: 1fr 2fr; gap: var(--gap-xl); align-items: center; }
@media (max-width: 920px) {
  .grid-2, .grid-3, .grid-4, .grid-2-1, .grid-1-2 { grid-template-columns: 1fr; }
}

/* ─── type ────────────────────────────────────────────────────────── */
.h1, h1 { font-family: var(--font-display); font-size: var(--fs-h1); line-height: 0.98; letter-spacing: -0.025em; font-weight: 600; }
.h2, h2 { font-family: var(--font-display); font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -0.018em; font-weight: 600; }
.h3, h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.3; letter-spacing: -0.005em; }
.lead   { font-size: var(--fs-lead); line-height: 1.5; color: var(--muted); max-width: 56ch; font-weight: 400; }
.eyebrow {
  font-family: var(--font-mono); font-size: var(--fs-meta);
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); font-weight: 500; margin-bottom: var(--gap-md);
}
.eyebrow--muted { color: var(--muted); }
.meta { font-family: var(--font-mono); font-size: var(--fs-meta); color: var(--muted); letter-spacing: 0.04em; }
.num  { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }

/* ─── chrome: floating-pill nav ───────────────────────────────────── */
.topnav {
  position: fixed; top: 18px; left: 50%;
  transform: translateX(-50%); z-index: 20;
  padding: 8px;
  background: color-mix(in oklch, var(--bg) 78%, transparent);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset, 0 8px 28px -12px rgba(46,100,86,0.15);
  transition: transform 400ms var(--easing), padding 300ms var(--easing);
}
.topnav--scrolled { padding: 6px; box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 16px 36px -16px rgba(46,100,86,0.22); }
.topnav-inner { display: flex; align-items: center; gap: var(--gap-md); padding-inline: 8px; }
.topnav .logo {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: 16px; font-weight: 600;
  letter-spacing: -0.01em; color: var(--fg); padding-inline: 6px;
}
.topnav .logo-mark { width: 26px; height: 26px; display: block; }
.topnav-inner > nav { display: flex; gap: 4px; }
.topnav-inner > nav a {
  font-size: 13px; color: var(--muted);
  padding: 8px 14px; border-radius: 999px;
  transition: color 200ms var(--easing), background 200ms var(--easing);
}
.topnav-inner > nav a:hover, .topnav-inner > nav a.is-active { color: var(--fg); background: var(--fg-soft); }
.topnav .btn { padding: 8px 16px; font-size: 13px; }
@media (max-width: 720px) {
  .topnav { width: calc(100vw - 24px); max-width: 460px; border-radius: 18px; }
  .topnav > .topnav-inner > nav { display: none; }
  .topnav-inner { gap: var(--gap-sm); padding-inline: 4px; }
  .topnav .btn-primary { padding: 8px 14px; font-size: 13px; }
  .topnav .btn-primary .btn-icon { display: none; }
  .topnav .btn-primary::after { content: '→'; margin-left: 2px; }
}

/* ─── hamburger button (mobile only) ──────────────────────────────── */
.topnav-burger {
  display: none;
  width: 38px; height: 38px;
  border-radius: 999px;
  background: var(--fg-soft);
  border: 1px solid var(--border);
  align-items: center; justify-content: center;
  cursor: pointer; padding: 0;
  transition: background 200ms var(--easing);
  flex-shrink: 0;
}
.topnav-burger:hover, .topnav-burger:focus-visible { background: color-mix(in oklch, var(--fg) 12%, transparent); outline: none; }
.topnav-burger svg { width: 20px; height: 20px; stroke: var(--fg); }
.topnav-burger .burger-line { transition: transform 250ms var(--easing), opacity 200ms var(--easing); transform-origin: center; transform-box: fill-box; }
.topnav.is-open .topnav-burger .burger-line.l1 { transform: translateY(5px) rotate(45deg); }
.topnav.is-open .topnav-burger .burger-line.l2 { opacity: 0; }
.topnav.is-open .topnav-burger .burger-line.l3 { transform: translateY(-5px) rotate(-45deg); }

/* ─── mobile dropdown panel ───────────────────────────────────────── */
.topnav-mobile {
  display: none;
  flex-direction: column;
  gap: 2px;
  margin-top: 8px;
  padding: 8px;
  border-top: 1px solid var(--border);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 250ms var(--easing), transform 250ms var(--easing);
}
.topnav.is-open .topnav-mobile { display: flex; opacity: 1; transform: translateY(0); }
.topnav-mobile a {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 15px;
  color: var(--fg);
  font-weight: 500;
  transition: background 200ms var(--easing);
}
.topnav-mobile a:hover { background: var(--fg-soft); }
.topnav-mobile a.is-active { background: var(--fg-soft); color: var(--accent); }

@media (max-width: 720px) {
  .topnav-burger { display: inline-flex; }
  .topnav.is-open { border-radius: 22px; padding-bottom: 4px; }
}

/* ─── buttons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 15px; font-weight: 500; letter-spacing: -0.005em;
  transition: transform 200ms var(--easing), background 250ms var(--easing), border-color 250ms var(--easing), box-shadow 250ms var(--easing);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--accent); color: var(--bg); border-color: var(--accent);
  box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset, 0 10px 24px -10px rgba(220,77,68,0.5);
}
.btn-primary:hover {
  background: color-mix(in oklch, var(--accent) 88%, black);
  box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset, 0 14px 32px -10px rgba(220,77,68,0.55);
}
.btn-primary .btn-icon {
  width: 22px; height: 22px;
  background: rgba(255,255,255,0.18);
  border-radius: 999px; display: grid; place-items: center;
  margin-right: -8px;
  transition: transform 250ms var(--easing);
}
.btn-primary:hover .btn-icon { transform: translate(2px, -1px) scale(1.06); }
.btn-primary .btn-icon svg { width: 12px; height: 12px; }
.btn-secondary { background: transparent; color: var(--fg); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--fg); background: var(--surface); }
.btn-ghost { background: transparent; color: var(--fg); padding: 8px 12px; font-weight: 500; }
.btn-ghost:hover { color: var(--accent); }
.btn-arrow::after { content: '→'; transition: transform 200ms var(--easing); margin-left: 2px; }
.btn-arrow:hover::after { transform: translateX(3px); }

/* ─── card / surface (double-bezel) ───────────────────────────────── */
.card-shell {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 6px;
  box-shadow: 0 20px 48px -24px rgba(46,100,86,0.18);
}
.card { background: var(--surface); border-radius: calc(var(--radius-xl) - 6px); padding: 28px; }
.card-flat { background: transparent; padding: 0; }

/* ─── pill / badge ────────────────────────────────────────────────── */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: var(--fg-soft); color: var(--fg);
  border: 1px solid var(--border); border-radius: 999px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500;
}
.pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.4s var(--easing) infinite;
}
.pill--accent { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.pill--surface { background: var(--surface); color: var(--fg); }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.85); } }

/* ─── hero (full landing) ─────────────────────────────────────────── */
.hero {
  min-height: 100dvh;
  padding-block: clamp(112px, 14vw, 180px) clamp(64px, 10vw, 112px);
  display: grid; place-items: center;
}
.hero-inner { text-align: center; margin-inline: auto; }
.hero h1 { max-width: 18ch; margin-inline: auto; margin-block: var(--gap-md); }
.hero h1 .accent { color: var(--accent); display: block; }
.hero .lead { max-width: 44ch; margin-inline: auto; margin-bottom: var(--gap-xl); }
.hero-iso {
  width: clamp(72px, 9vw, 104px); height: auto;
  margin: 0 auto var(--gap-lg);
  filter: drop-shadow(0 8px 24px rgba(220,77,68,0.18));
}
.hero-cta { display: inline-flex; gap: var(--gap-sm); flex-wrap: wrap; justify-content: center; }
.hero-scroll-hint {
  margin-top: var(--gap-2xl);
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); opacity: 0.6;
  animation: bob 3s var(--easing) infinite;
}
@keyframes bob { 0%, 100% { transform: translateY(0); opacity: 0.6; } 50% { transform: translateY(6px); opacity: 0.9; } }

/* ─── page hero (inner pages, compact) ────────────────────────────── */
.page-hero {
  padding-block: clamp(140px, 16vw, 200px) clamp(48px, 6vw, 80px);
  text-align: left;
}
.page-hero h1 { max-width: 18ch; margin-bottom: var(--gap-md); font-size: clamp(40px, 5.5vw, 72px); }
.page-hero .lead { max-width: 48ch; }
.page-hero--center { text-align: center; }
.page-hero--center h1, .page-hero--center .lead { margin-inline: auto; }

/* ─── event card (when/where) ─────────────────────────────────────── */
.event-card { padding: clamp(28px, 4vw, 44px); }
.event-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: var(--gap-lg); }
.event-grid > div + div { padding-left: var(--gap-lg); border-left: 1px solid var(--border); }
@media (max-width: 720px) {
  .event-grid { grid-template-columns: 1fr; }
  .event-grid > div + div { padding-left: 0; padding-top: var(--gap-md); border-left: 0; border-top: 1px solid var(--border); }
  .event-grid .val br { display: none; }
}
.event-grid .label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.event-grid .val { font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 28px); font-weight: 600; letter-spacing: -0.01em; line-height: 1.12; color: var(--fg); text-wrap: balance; }
.event-grid .sub { color: var(--muted); font-size: 13px; margin-top: 6px; }

/* ─── event tile (lista de eventos / teaser) ──────────────────────── */
.event-tile {
  display: grid; grid-template-columns: 5fr 7fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  padding: 6px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition: transform 300ms var(--easing), box-shadow 300ms var(--easing), border-color 300ms var(--easing);
}
.event-tile:hover { transform: translateY(-2px); box-shadow: 0 24px 56px -28px rgba(46,100,86,0.25); border-color: color-mix(in oklch, var(--fg) 30%, var(--border)); }
.event-tile .tile-img {
  aspect-ratio: 4 / 3;
  border-radius: calc(var(--radius-xl) - 6px);
  background:
    radial-gradient(at 30% 20%, color-mix(in oklch, var(--accent) 30%, transparent), transparent 55%),
    linear-gradient(135deg, var(--surface-deep), var(--surface));
  border: 1px solid var(--border);
  display: grid; place-items: center;
  color: var(--muted); font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
}
.event-tile .tile-body { padding: clamp(8px, 1.5vw, 16px) clamp(12px, 2vw, 24px); }
.event-tile h3 { font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 32px); font-weight: 600; letter-spacing: -0.015em; margin-bottom: var(--gap-sm); }
.event-tile .tile-meta { display: flex; flex-wrap: wrap; gap: var(--gap-md); color: var(--muted); font-size: 14px; }
.event-tile .tile-meta span { display: inline-flex; align-items: center; gap: 6px; }
.event-tile p { margin-top: var(--gap-md); color: var(--muted); max-width: 48ch; }
.event-tile .tile-link { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--gap-md); color: var(--accent); font-weight: 500; }
.event-tile .tile-link::after { content: '→'; transition: transform 200ms var(--easing); }
.event-tile:hover .tile-link::after { transform: translateX(3px); }
@media (max-width: 720px) {
  .event-tile { grid-template-columns: 1fr; }
  .event-tile .tile-img { aspect-ratio: 16 / 10; }
}

/* tile compacto para grid de archivo */
.event-tile--compact { display: block; padding: 6px; }
.event-tile--compact .tile-img { aspect-ratio: 16 / 10; margin-bottom: 14px; }
.event-tile--compact .tile-body { padding: 6px 10px 14px; }
.event-tile--compact h3 { font-size: 20px; margin-bottom: 6px; }
.event-tile--compact p { display: none; }
.event-tile--compact .tile-meta { font-size: 13px; gap: var(--gap-sm); }

/* ─── feature row ─────────────────────────────────────────────────── */
.feature .mark {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--accent-soft); border-radius: 12px;
  color: var(--accent); margin-bottom: var(--gap-md);
}
.feature .mark svg { width: 20px; height: 20px; stroke-width: 1.6; }
.feature h3 { margin-bottom: 8px; }
.feature p  { color: var(--muted); font-size: 15px; max-width: 32ch; }

/* ─── story split (sobre, invitada, etc.) ─────────────────────────── */
.story-split {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(32px, 6vw, var(--gap-2xl));
  align-items: center;
}
.story-split--reverse { grid-template-columns: 6fr 5fr; }
.story-split--reverse > :first-child { order: 2; }
@media (max-width: 920px) {
  .story-split, .story-split--reverse { grid-template-columns: 1fr; gap: var(--gap-xl); }
  .story-split--reverse > :first-child { order: 0; }
}

.invitada-img, .story-img {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(at 30% 20%, color-mix(in oklch, var(--accent) 35%, transparent), transparent 50%),
    linear-gradient(135deg, var(--surface-deep), var(--surface));
  border: 1px solid var(--border);
  display: grid; place-items: center;
  color: var(--muted); font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
}
.story-img--landscape { aspect-ratio: 4 / 3; }
@media (max-width: 920px) {
  .invitada-img, .story-img { aspect-ratio: 3 / 4; max-width: 360px; margin-inline: auto; }
  .story-img--landscape { aspect-ratio: 4 / 3; max-width: 100%; }
}

/* ─── value cards (sobre) ─────────────────────────────────────────── */
.value-card {
  padding: 28px; border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: color-mix(in oklch, var(--surface) 60%, transparent);
  transition: border-color 250ms var(--easing), transform 250ms var(--easing);
}
.value-card:hover { border-color: color-mix(in oklch, var(--fg) 25%, var(--border)); transform: translateY(-2px); }
.value-card .value-num { font-family: var(--font-mono); font-size: 11px; color: var(--accent); letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: var(--gap-md); }
.value-card h3 { margin-bottom: 8px; }
.value-card p { color: var(--muted); font-size: 15px; }

/* ─── team grid ───────────────────────────────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--gap-lg); }
.team-card { text-align: left; }
.team-card .team-photo {
  aspect-ratio: 1; border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--surface-deep), var(--surface));
  border: 1px solid var(--border);
  margin-bottom: var(--gap-md);
}
.team-card .team-name { font-weight: 600; font-size: 16px; }
.team-card .team-role { color: var(--muted); font-size: 13px; margin-top: 2px; }

/* ─── community tiles ─────────────────────────────────────────────── */
.community-tile {
  display: block;
  padding: clamp(28px, 4vw, 40px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition: transform 300ms var(--easing), box-shadow 300ms var(--easing), border-color 300ms var(--easing);
  position: relative; overflow: hidden;
}
.community-tile:hover { transform: translateY(-2px); box-shadow: 0 24px 56px -28px rgba(46,100,86,0.22); border-color: color-mix(in oklch, var(--fg) 25%, var(--border)); }
.community-tile .tile-num { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; color: var(--accent); text-transform: uppercase; margin-bottom: var(--gap-lg); }
.community-tile h3 { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; letter-spacing: -0.015em; margin-bottom: 10px; }
.community-tile p { color: var(--muted); margin-bottom: var(--gap-md); max-width: 32ch; }
.community-tile .tile-link { color: var(--fg); font-weight: 500; display: inline-flex; gap: 6px; }
.community-tile .tile-link::after { content: '→'; color: var(--accent); transition: transform 200ms var(--easing); }
.community-tile:hover .tile-link::after { transform: translateX(3px); }

/* ─── en vivo (card teaser + frame standalone) ────────────────────── */
.live-card {
  background: var(--fg); color: var(--surface);
  border-radius: var(--radius-xl);
  padding: clamp(36px, 5vw, 64px);
  position: relative; overflow: hidden;
}
.live-card::before {
  content: ''; position: absolute;
  inset: -40% -20% auto auto;
  width: 60%; aspect-ratio: 1 / 1;
  background: radial-gradient(circle, color-mix(in oklch, var(--accent) 50%, transparent), transparent 60%);
  filter: blur(40px); pointer-events: none;
}
.live-card .pill { background: color-mix(in oklch, var(--accent) 18%, transparent); color: var(--accent); border-color: transparent; }
.live-card h2 { color: var(--surface); }
.live-card p  { color: color-mix(in oklch, var(--surface) 70%, transparent); max-width: 42ch; }
.live-card .btn-secondary { color: var(--surface); border-color: color-mix(in oklch, var(--surface) 30%, transparent); }
.live-card .btn-secondary:hover { background: color-mix(in oklch, var(--surface) 8%, transparent); border-color: var(--surface); }

.live-frame {
  aspect-ratio: 16 / 9;
  background: var(--fg);
  border-radius: var(--radius-xl);
  position: relative; overflow: hidden;
  border: 1px solid var(--border);
}
.live-frame::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, color-mix(in oklch, var(--accent) 30%, transparent), transparent 50%);
}
.live-frame .live-state {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  text-align: center; color: var(--surface);
  padding: var(--gap-lg);
}
.live-frame .live-state .pill { background: color-mix(in oklch, var(--surface) 14%, transparent); color: var(--surface); border-color: color-mix(in oklch, var(--surface) 24%, transparent); margin-bottom: var(--gap-md); }
.live-frame .live-state h3 { font-family: var(--font-display); font-size: clamp(24px, 3vw, 36px); color: var(--surface); margin-bottom: 8px; }
.live-frame .live-state p { color: color-mix(in oklch, var(--surface) 70%, transparent); }

/* ─── FAQ ─────────────────────────────────────────────────────────── */
.faq details { border-top: 1px solid var(--border); padding: 22px 4px; }
.faq details:last-of-type { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--gap-md);
  font-family: var(--font-display); font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 600; letter-spacing: -0.005em;
  transition: color 200ms var(--easing);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--font-mono); font-size: 22px; color: var(--accent); transition: transform 250ms var(--easing); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent); }
.faq details p { margin-top: 14px; color: var(--muted); max-width: 56ch; }

/* ─── closing CTA ─────────────────────────────────────────────────── */
.closing-cta { text-align: center; max-width: 36ch; margin-inline: auto; }
.closing-cta h2 { margin-bottom: var(--gap-md); }
.closing-cta .lead { margin-inline: auto; margin-bottom: var(--gap-lg); }
.closing-cta-buttons { display: inline-flex; gap: var(--gap-sm); flex-wrap: wrap; justify-content: center; }

/* ─── footer ──────────────────────────────────────────────────────── */
.pagefoot {
  padding-block: var(--gap-xl);
  color: var(--muted); font-size: 13px;
  border-top: 1px solid var(--border);
  position: relative; z-index: 1;
}
.pagefoot .row-between { flex-wrap: wrap; gap: var(--gap-md); }
.pagefoot a:hover { color: var(--accent); }
@media (max-width: 600px) {
  .pagefoot .row-between { flex-direction: column; align-items: flex-start; gap: var(--gap-sm); }
  .pagefoot .meta { line-height: 1.6; }
}

/* ─── section header (stack utility) ──────────────────────────────── */
.section-header { max-width: 48ch; margin-bottom: var(--gap-xl); }
.section-header--center { text-align: center; margin-inline: auto; }

/* ─── reveal-on-scroll (GSAP target state) ────────────────────────── */
.reveal { opacity: 0; transform: translateY(20px); }

/* respeta reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ambient .blob, .hero-scroll-hint, .pill .dot { animation: none; }
  .reveal { opacity: 1; transform: none; }
  * { transition: none !important; animation-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
