/* Factor de Cambio · web pública. Mismo lenguaje que el calendario: negro, Inter Tight, tipografía grande y apretada. */
:root {
  --ink: #000;
  --ink-2: #0c0c0c;
  --ink-3: #161616;
  --hair: rgba(244, 244, 244, .09);
  --hair-2: rgba(244, 244, 244, .16);
  --paper: #f4f4f4;
  --stone: #989898;
  --song: #c9baa9;
  --ok: #7cc79a;
  --low: #e8675c;
  --sans: 'Inter Tight', system-ui, sans-serif;
  --pad: clamp(20px, 4vw, 48px);
  --max: 1280px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
html, body { margin: 0; overflow-x: clip; }
body { background: var(--ink); color: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--song); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -.05em; line-height: .98; }
h1 { font-size: clamp(54px, 10vw, 148px); }
h2 { font-size: clamp(40px, 6.4vw, 92px); }
h3 { font-size: clamp(26px, 3vw, 38px); letter-spacing: -.04em; }
p { margin: 0 0 1em; }
.eyebrow { font-size: 13px; letter-spacing: .02em; color: var(--stone); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ''; width: 18px; height: 1px; background: currentColor; }
.lede { color: rgba(244,244,244,.72); font-size: clamp(17px, 1.6vw, 20px); max-width: 58ch; margin-top: 22px; }
.muted { color: var(--stone); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--hair-2); background: transparent; color: var(--paper); font-size: 15px; font-weight: 500; cursor: pointer; text-decoration: none; transition: background .2s, border-color .2s, color .2s, transform .2s; white-space: nowrap; }
.btn:hover { border-color: var(--paper); }
.btn.solid { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn.solid:hover { background: #fff; transform: translateY(-1px); }
.btn.big { height: 58px; padding: 0 30px; font-size: 16px; }
.btn[disabled] { opacity: .5; cursor: progress; }

/* Encabezado */
.top { position: fixed; inset: 0 0 auto; z-index: 40; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.top.solid { background: rgba(0,0,0,.82); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); border-bottom-color: var(--hair); }
.top-inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); height: 76px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; text-decoration: none; margin-right: auto; }
.brand img { height: 44px; width: auto; }
.brand .name { font-size: 20px; font-weight: 600; letter-spacing: -.04em; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; font-size: 15px; color: rgba(244,244,244,.78); transition: color .2s; }
.nav a:hover { color: var(--paper); }
.nav a.cta { color: var(--ink); background: var(--paper); padding: 10px 18px; border-radius: 999px; font-weight: 500; }
.menu { display: none; width: 44px; height: 44px; border: 1px solid var(--hair-2); border-radius: 50%; background: rgba(0,0,0,.4); cursor: pointer; position: relative; }
.menu span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--paper); transition: transform .25s; }
.menu span:first-child { top: 18px; } .menu span:last-child { top: 24px; }
.menu[aria-expanded=true] span:first-child { transform: translateY(3px) rotate(45deg); }
.menu[aria-expanded=true] span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* Portada */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; background: radial-gradient(80% 60% at 70% 30%, color-mix(in srgb, var(--song) 40%, transparent), transparent 70%), var(--ink); }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease, transform 8s ease-out; transform: scale(1.06); }
.hero-bg img.on { opacity: 1; transform: scale(1); }
.hero-bg:not(.blur) img { filter: brightness(.74) contrast(1.04) saturate(.92); }
.hero-bg.blur img { filter: blur(40px) saturate(1.1) brightness(.6); transform: scale(1.2); }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.08) 55%, rgba(0,0,0,.25) 100%), linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.05) 30%, rgba(0,0,0,.5) 72%, #000 100%); }
.hero h1, .hero-sub, .hero .eyebrow { text-shadow: 0 2px 24px rgba(0,0,0,.55); }
.witt-img { margin: -26px -26px 22px; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 24px 24px 0 0; }
.witt-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-inner { width: 100%; max-width: var(--max); margin: 0 auto; padding: 140px var(--pad) clamp(64px, 10vh, 120px); display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: end; }
.hero h1 { max-width: 12ch; text-wrap: balance; }
.hero-sub { font-size: clamp(17px, 1.7vw, 21px); color: rgba(244,244,244,.82); margin: 24px 0 0; max-width: 46ch; }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-cover { width: clamp(220px, 24vw, 340px); aspect-ratio: 1; border-radius: 18px; overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,.6); border: 1px solid var(--hair-2); }
.hero-cover img { width: 100%; height: 100%; object-fit: cover; }
.count { display: inline-flex; gap: 14px; margin-top: 26px; font-variant-numeric: tabular-nums; }
.count div { display: grid; text-align: center; min-width: 64px; padding: 10px 6px; border: 1px solid var(--hair-2); border-radius: 14px; background: rgba(0,0,0,.35); backdrop-filter: blur(8px); }
.count b { font-size: 30px; font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.count span { font-size: 12px; color: var(--stone); margin-top: 4px; }
.scroll { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; margin-left: -13px; border: 1px solid var(--hair-2); border-radius: 999px; }
.scroll span { position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--paper); animation: drop 1.8s infinite; }
@keyframes drop { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* Secciones */
.sec { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 12vw, 160px) var(--pad) 0; }
.sec-head { margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head.row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* Música */
.music { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: start; }
.spotify-artist iframe, .feature-card iframe { border-radius: 16px; display: block; background: var(--ink-2); }
.feature { display: grid; gap: 24px; }
.feature-card { border: 1px solid var(--hair); border-radius: 24px; padding: 26px; background: var(--ink-2); }
.feature-card p { color: var(--stone); margin: 10px 0 20px; }
.releases { border: 1px solid var(--hair); border-radius: 24px; padding: 26px; background: var(--ink-2); }
.rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.rel { text-decoration: none; display: grid; gap: 8px; }
.rel .rc { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--ink-3); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.rel:hover .rc { transform: scale(1.03); }
.rel .rc img { width: 100%; height: 100%; object-fit: cover; }
.rel b { font-weight: 500; font-size: 14px; letter-spacing: -.02em; line-height: 1.25; }
.rel small { color: var(--stone); font-size: 12px; }

/* Tira de fotos */
.strip { display: flex; gap: 14px; overflow: hidden; padding: clamp(80px, 12vw, 160px) 0 0; }
.strip-track { display: flex; gap: 14px; animation: slide 60s linear infinite; }
.strip img { height: clamp(220px, 28vw, 380px); width: auto; aspect-ratio: auto; border-radius: 18px; object-fit: cover; flex: none; background: var(--ink-3); }
@keyframes slide { to { transform: translateX(calc(-50% - 7px)); } }

/* Videos */
.videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: var(--ink-3); border: 1px solid var(--hair); cursor: pointer; }
.video:first-child, .video:nth-child(2):last-child { grid-column: 1 / -1; }
.video img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.video:hover img { transform: scale(1.03); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video .vmeta { position: absolute; inset: auto 0 0; padding: 60px 24px 22px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.85)); display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.video .vmeta b { font-size: clamp(20px, 2.4vw, 32px); font-weight: 500; letter-spacing: -.04em; line-height: 1.05; }
.play { width: 56px; height: 56px; border-radius: 50%; background: var(--paper); flex: none; display: grid; place-items: center; }
.play::before { content: ''; margin-left: 4px; border-left: 16px solid var(--ink); border-top: 10px solid transparent; border-bottom: 10px solid transparent; }

/* Devocionales */
.devos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.devo { text-align: left; border: 1px solid var(--hair); background: var(--ink-2); border-radius: 24px; overflow: hidden; cursor: pointer; padding: 0; display: flex; flex-direction: column; transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .2s; }
.devo:hover { transform: translateY(-4px); border-color: var(--hair-2); }
.devo .dc { aspect-ratio: 16 / 10; background: var(--ink-3); overflow: hidden; }
.devo .dc img { width: 100%; height: 100%; object-fit: cover; }
.devo .db { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.devo .ds { font-size: 13px; color: var(--stone); }
.devo h3 { font-size: 26px; }
.devo p { color: rgba(244,244,244,.72); font-size: 15px; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.devo .go { margin-top: auto; padding-top: 10px; font-size: 14px; font-weight: 500; }

.reader { width: min(820px, 100vw); max-width: 100vw; height: min(92vh, 100%); max-height: 100vh; margin: auto; padding: 0; border: 1px solid var(--hair-2); border-radius: 28px; background: var(--ink-2); color: var(--paper); overflow: hidden; }
.reader::backdrop { background: rgba(0,0,0,.78); backdrop-filter: blur(6px); }
.reader[open] { display: flex; flex-direction: column; }
.rhead { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--hair); }
.rhead .x { margin-left: auto; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--hair-2); background: none; cursor: pointer; font-size: 16px; }
.rbody { overflow-y: auto; padding: 0 0 40px; }
.rcover { aspect-ratio: 16 / 7; background: var(--ink-3); }
.rcover img { width: 100%; height: 100%; object-fit: cover; }
.rin { padding: 32px clamp(20px, 5vw, 56px) 0; }
.rin h2 { font-size: clamp(36px, 5vw, 60px); }
.rin .rdesc { color: rgba(244,244,244,.78); font-size: 18px; margin: 18px 0 0; white-space: pre-line; }
.days { display: flex; gap: 8px; margin: 32px 0 28px; flex-wrap: wrap; }
.days button { height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--hair-2); background: none; cursor: pointer; font-size: 14px; }
.days button.on { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.dtext { font-size: 18px; line-height: 1.75; white-space: pre-line; max-width: 64ch; }
.dverse { margin-top: 26px; padding: 16px 20px; border-left: 2px solid var(--song); background: rgba(244,244,244,.04); border-radius: 0 14px 14px 0; color: rgba(244,244,244,.86); }
.dverse a { color: inherit; text-underline-offset: 3px; text-decoration-color: rgba(244,244,244,.35); }
.dverse a:hover { text-decoration-color: currentColor; }
.dtext.rich { white-space: normal; margin-top: 30px; }
.dtext.rich p { margin: 0 0 1.1em; }
.dtext.rich p:first-child strong:only-child { display: block; font-size: clamp(24px, 3vw, 30px); font-weight: 500; letter-spacing: -.035em; line-height: 1.15; margin-bottom: .2em; }
.dtext.rich blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 2px solid var(--song); font-size: clamp(19px, 2vw, 22px); line-height: 1.45; }
.dtext.rich blockquote strong { font-weight: 500; }
.dtext.rich h2, .dtext.rich h3 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--stone); font-weight: 500; margin: 2em 0 .6em; }
.dtext.rich a { color: inherit; text-underline-offset: 3px; word-break: break-word; }
.dtext.rich em { color: rgba(244,244,244,.82); }
.dverse { margin-top: 26px; }
.dverse small { display: block; color: var(--stone); font-size: 12px; margin-bottom: 4px; }
.rnav { display: flex; gap: 10px; justify-content: space-between; flex-wrap: wrap; margin-top: 36px; }

/* Nosotros */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-img { aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; background: radial-gradient(80% 80% at 30% 20%, color-mix(in srgb, var(--song) 35%, transparent), transparent 70%), var(--ink-2); border: 1px solid var(--hair); }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-text h2 { margin-bottom: 32px; }
.about-text p { color: rgba(244,244,244,.78); font-size: 18px; }
blockquote { margin: 32px 0 0; padding: 0; font-size: clamp(20px, 2vw, 26px); letter-spacing: -.03em; line-height: 1.3; font-weight: 400; }
blockquote cite { display: block; font-style: normal; color: var(--stone); font-size: 14px; letter-spacing: 0; margin-top: 12px; }

/* Invitaciones */
.invite-img { position: relative; aspect-ratio: 21 / 8; border-radius: 28px; overflow: hidden; margin: 0 0 36px; max-width: 980px; background: var(--ink-2); border: 1px solid var(--hair); }
.invite-img img { width: 100%; height: 100%; object-fit: cover; }
.invite-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.45)); }
@media (max-width: 760px) { .invite-img { aspect-ratio: 16 / 10; border-radius: 20px; } }
.form { display: grid; gap: 28px; max-width: 980px; }
fieldset { border: 1px solid var(--hair); border-radius: 24px; padding: 26px; margin: 0; background: var(--ink-2); display: grid; gap: 18px; }
legend { padding: 0 10px; margin-left: -10px; font-size: 13px; color: var(--stone); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.f { display: grid; gap: 8px; }
.f > span { font-size: 14px; color: rgba(244,244,244,.82); }
.f input, .f textarea { width: 100%; background: var(--ink); border: 1px solid var(--hair-2); border-radius: 14px; padding: 13px 16px; font-size: 16px; transition: border-color .2s; }
.f textarea { resize: vertical; }
.f input:focus, .f textarea:focus { outline: none; border-color: var(--paper); }
.f input::placeholder, .f textarea::placeholder { color: #5f5f5f; }
.f.bad input, .f.bad textarea, .f.bad .chips label span { border-color: var(--low); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { cursor: pointer; position: relative; }
.chips input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.chips span { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--hair-2); font-size: 14px; transition: background .2s, color .2s, border-color .2s; }
.chips input:checked + span { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.chips input:focus-visible + span { outline: 2px solid var(--song); outline-offset: 2px; }
.form-end { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.form-err { color: var(--low); margin: 0; font-size: 15px; }
.sent { max-width: 620px; border: 1px solid var(--hair-2); border-radius: 28px; padding: 40px; background: var(--ink-2); }
.sent .check { width: 56px; height: 56px; border-radius: 50%; background: var(--ok); color: #062; display: grid; place-items: center; font-size: 26px; font-weight: 700; margin-bottom: 22px; }
.sent p { color: rgba(244,244,244,.78); margin-top: 12px; }

/* Pie */
.foot { margin-top: clamp(100px, 14vw, 180px); border-top: 1px solid var(--hair); }
.foot-inner { max-width: var(--max); margin: 0 auto; padding: 56px var(--pad) 32px; display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; align-items: flex-start; }
.foot-name { font-size: clamp(40px, 6vw, 80px); font-weight: 500; letter-spacing: -.055em; line-height: .95; margin-bottom: 16px; }
.mail { display: inline-block; margin-top: 4px; font-size: 18px; text-underline-offset: 4px; }
.social { display: flex; gap: 10px; flex-wrap: wrap; }
.social a { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--hair-2); display: grid; place-items: center; transition: background .2s, color .2s; }
.social a:hover { background: var(--paper); color: var(--ink); }
.social svg { width: 22px; height: 22px; }
.foot-legal { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) 40px; color: var(--stone); font-size: 13px; }

@media (max-width: 980px) {
  .music, .about { grid-template-columns: 1fr; }
  .devos { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-cover { order: -1; width: 180px; }
}
@media (max-width: 760px) {
  .menu { display: block; }
  .nav { position: fixed; inset: 76px 0 auto; flex-direction: column; align-items: flex-start; gap: 0; background: rgba(0,0,0,.96); backdrop-filter: blur(18px); padding: 8px var(--pad) 28px; border-bottom: 1px solid var(--hair); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { font-size: 30px; letter-spacing: -.04em; padding: 10px 0; color: var(--paper); }
  .nav a.cta { margin-top: 14px; font-size: 18px; padding: 14px 22px; }
  .top { background: rgba(0,0,0,.6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
  .brand img { height: 36px; }
  .devos, .videos, .grid2, .grid3 { grid-template-columns: 1fr; }
  .rel-grid { grid-template-columns: repeat(2, 1fr); }
  fieldset { padding: 20px; }
  .btn.big { width: 100%; }
  .form-end { flex-direction: column-reverse; align-items: stretch; }
  .reader { border-radius: 0; height: 100%; width: 100vw; }
  .hero-cover { width: 150px; border-radius: 14px; }
  .count div { min-width: 56px; }
}
