/* =========================================================
   Victoria Materazzi · Licenciada en Psicología
   Estilos del sitio (desktop y móvil)
   ========================================================= */

:root {
  --borgona: #633E3B;
  --oliva: #50563F;
  --oliva-osc: #3F4431;
  --marfil: #F2E7E1;
  --marfil-2: #EADBD2;
  --papel: #FFFCFA;
  --terracota: #A45F3D;
  --carbon: #24211D;
  --gris: #4A443D;
  --gris-2: #6B5A52;
  --linea: rgba(99, 62, 59, .22);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Montserrat', system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(16px, 4vw, 24px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--marfil);
  color: var(--carbon);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--borgona); }
a:hover { color: var(--carbon); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 500; color: var(--borgona); line-height: 1.05; }
h1 em, h2 em { font-weight: 400; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--terracota); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { max-width: 1100px; margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 10vw, 112px); }
.stack { display: flex; flex-direction: column; }
.h2 { font-size: clamp(34px, 4.2vw, 52px); }
.lead { font-size: 18px; line-height: 1.6; }
.muted { color: var(--gris); }
.kicker { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--borgona); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo__name { font-family: var(--serif); font-weight: 500; font-size: 25px; line-height: .9; letter-spacing: -.01em; color: var(--oliva); }
.logo__mark { position: relative; width: 1px; height: 46px; background: var(--borgona); flex: none; }
.logo__mark::after { content: ""; position: absolute; left: 1px; top: 8px; width: 11px; height: 22px; background: var(--terracota); border-radius: 0 22px 22px 0; }
.logo__desc { padding-left: 12px; font-size: 8px; letter-spacing: .32em; text-transform: uppercase; line-height: 1.9; color: var(--oliva); }

.logo-stack { display: flex; align-items: stretch; color: var(--marfil); }
.logo-stack__name { font-family: var(--serif); font-weight: 500; font-size: clamp(64px, 8vw, 112px); line-height: .84; letter-spacing: -.025em; padding-right: clamp(16px, 2vw, 26px); }
.logo-stack__line { position: relative; width: 1px; background: currentColor; }
.logo-stack__line::after { content: ""; position: absolute; left: 1px; top: 26%; width: clamp(28px, 3vw, 40px); height: clamp(56px, 6vw, 80px); background: var(--terracota); border-radius: 0 80px 80px 0; }
.logo-stack__desc { align-self: flex-end; padding: 0 0 22% clamp(16px, 2vw, 28px); font-size: clamp(10px, 1vw, 12px); letter-spacing: .36em; text-transform: uppercase; line-height: 2.1; }
.logo-stack--sm .logo-stack__name { font-size: 34px; padding-right: 14px; }
.logo-stack--sm .logo-stack__line::after { width: 13px; height: 26px; }
.logo-stack--sm .logo-stack__desc { font-size: 8px; padding: 0 0 12% 14px; letter-spacing: .32em; line-height: 2; }

/* ---------- Header y menú ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(242, 231, 225, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.header.is-scrolled { border-bottom-color: var(--linea); }
.header__inner { max-width: 1240px; margin: 0 auto; padding: 14px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 13px; }
.nav a { color: var(--carbon); text-decoration: none; padding: 12px 0; }
.nav .btn { padding: 13px 22px; color: #FFFAF6; }
.burger { display: none; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; padding: 0; align-items: center; justify-content: center; flex-direction: column; gap: 5px; --burger-offset: 6px; }
.burger [data-bar] { display: block; width: 24px; height: 1px; background: var(--borgona); transform-origin: center; transition: transform .3s ease, opacity .2s ease; }
.burger[aria-expanded="true"] [data-bar="top"] { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] [data-bar="middle"] { opacity: 0; }
.burger[aria-expanded="true"] [data-bar="bottom"] { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .burger { display: inline-flex; }
  .nav {
    position: fixed; inset: 75px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--marfil); padding: 8px var(--gutter) 24px; border-bottom: 1px solid var(--linea);
    font-size: 17px; opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s ease, transform .3s var(--ease), visibility .3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--linea); }
  .nav .btn { margin-top: 16px; text-align: center; border-bottom: 0; }
  .logo__name { font-size: 22px; }
}

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 16px 28px; border-radius: 2px; border: 1px solid transparent; background: var(--terracota); color: #FFFAF6; font-size: 14px; font-weight: 500; letter-spacing: .03em; text-decoration: none; cursor: pointer; }
.btn:hover { color: #FFFAF6; background: #8F5134; }
.btn--ghost { background: transparent; color: var(--borgona); border-color: var(--borgona); }
.btn--ghost:hover { background: var(--borgona); color: #FFFAF6; }
.btn--light { background: var(--marfil); color: var(--borgona); }
.btn--light:hover { background: #FFFFFF; color: var(--borgona); }
.btn--olive { background: var(--oliva); color: var(--marfil); }
.btn--olive:hover { background: var(--oliva-osc); color: var(--marfil); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link-btn { border: 0; background: none; padding: 12px 0; color: var(--borgona); font-weight: 600; font-size: 14px; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }

.audio-btn { display: inline-flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 20px 0 7px; border: 1px solid var(--borgona); background: transparent; color: var(--borgona); border-radius: 27px; cursor: pointer; text-align: left; }
.audio-btn__icon { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--borgona); color: var(--marfil); display: flex; align-items: center; justify-content: center; }
.audio-btn__icon svg { width: 14px; height: 14px; }
.audio-btn .i-pause { display: none; }
.audio-btn[aria-pressed="true"] .i-play { display: none; }
.audio-btn[aria-pressed="true"] .i-pause { display: block; }
.audio-btn__text { display: flex; flex-direction: column; gap: 2px; }
.audio-btn__text strong { font-size: 13px; font-weight: 600; }
.audio-btn__text span { font-size: 11px; color: var(--gris); }
.audio-btn--solid { border: 0; background: var(--marfil); }
.audio-btn--solid .audio-btn__icon { background: var(--terracota); color: #FFFAF6; }

/* ---------- Inicio ---------- */
.hero { display: flex; flex-wrap: wrap; min-height: calc(100vh - 75px); min-height: calc(100svh - 75px); }
.hero__text { flex: 1 1 480px; padding: clamp(48px, 8vw, 80px) var(--gutter); display: flex; align-items: center; justify-content: center; }
.hero__text > div { max-width: 540px; display: flex; flex-direction: column; gap: 28px; }
.hero h1 { font-size: clamp(42px, 5.6vw, 76px); line-height: 1; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__brand { flex: 1 1 420px; min-height: 420px; background: var(--oliva); display: flex; align-items: center; justify-content: center; padding: 56px var(--gutter); position: relative; overflow: hidden; }
.hero__brand::before { content: ""; position: absolute; right: -90px; bottom: -120px; width: 320px; height: 320px; border-radius: 160px 160px 0 0; background: #5C6249; }
.hero__brand > * { position: relative; }

.pains { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 0 56px; list-style: none; margin: 0; padding: 0; }
.pains li { padding: 26px 0; border-top: 1px solid var(--linea); font-family: var(--serif); font-size: clamp(22px, 2.4vw, 26px); line-height: 1.25; }

.band { background: var(--borgona); color: var(--marfil); text-align: center; position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; inset: -12px; background: url(../img/perfiles.jpg) center 30% / cover no-repeat; filter: blur(2px); mix-blend-mode: multiply; opacity: .6; }
.band > * { position: relative; }
.band__big { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 4.6vw, 60px); line-height: 1.05; }
.band__small { margin-top: 18px; font-size: 16px; color: #EFE3DB; }

.mind { position: relative; overflow: hidden; }
.mind::before { content: ""; position: absolute; inset: -8px; background: url(../img/mente.jpg) right center / cover no-repeat; filter: blur(1.5px); opacity: .55; -webkit-mask-image: linear-gradient(90deg, transparent 15%, #000 65%); mask-image: linear-gradient(90deg, transparent 15%, #000 65%); }
.mind > * { position: relative; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 40px; }
.steps li { display: flex; flex-direction: column; gap: 12px; }
.steps .half { width: 26px; height: 52px; border-radius: 0 52px 52px 0; }
.steps h3 { font-size: 28px; font-weight: 600; }
.steps p { font-size: 15px; }

.about { background: var(--marfil-2); }
.about__grid { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.about__photo { flex: 1 1 300px; display: flex; justify-content: center; }
.about__frame { position: relative; width: min(320px, 86vw); aspect-ratio: 320 / 380; overflow: clip; }
.about__frame::before { content: ""; position: absolute; left: 0; top: 0; width: 87.5%; height: 89.5%; background: var(--oliva); border-radius: 999px 999px 0 0; }
.about__frame img { position: absolute; left: 6.25%; top: 5.3%; width: 87.5%; height: 89.5%; object-fit: cover; border-radius: 999px 999px 0 0; }
.about__frame::after { content: ""; position: absolute; right: 0; bottom: 18%; width: 12.5%; height: 21%; background: var(--terracota); border-radius: 0 80px 80px 0; }
.about__text { flex: 1 1 380px; display: flex; flex-direction: column; gap: 22px; }

.options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.option { padding: clamp(24px, 4vw, 32px); border-radius: 4px; display: flex; flex-direction: column; gap: 18px; background: var(--papel); }
.option--dark { background: var(--oliva); color: var(--marfil); }
.option__kicker { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gris-2); }
.option--dark .option__kicker { color: #E2CFC3; }
.option h3 { font-size: 40px; color: inherit; }
.option__rule { height: 1px; background: var(--linea); }
.option--dark .option__rule { background: rgba(242, 231, 225, .3); }
.option__price { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; }
.option__price strong { font-family: var(--serif); font-weight: 600; font-size: 34px; }
.notice { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding: 26px 28px; border: 1px solid rgba(99, 62, 59, .35); border-radius: 4px; }
.notice .half { width: 22px; height: 44px; flex: none; background: var(--terracota); border-radius: 0 44px 44px 0; }
.notice > div { flex: 1 1 300px; display: flex; flex-direction: column; gap: 6px; }
.notice strong { font-family: var(--serif); font-weight: 600; font-size: 26px; color: var(--borgona); }

.cta { background: var(--oliva); color: var(--marfil); display: flex; flex-wrap: wrap; }
.cta__text { flex: 1 1 420px; padding: clamp(64px, 9vw, 96px) clamp(24px, 5vw, 48px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 28px; }
.cta h2 { color: var(--marfil); font-size: clamp(36px, 4.6vw, 60px); }
.cta__img { flex: 1 1 420px; min-height: 380px; position: relative; overflow: clip; }
.cta__img img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; object-position: center 45%; }

/* ---------- Footer ---------- */
.footer { background: var(--oliva-osc); color: var(--marfil); }
.footer a { color: var(--marfil); }
.footer__inner { max-width: 1100px; margin: 0 auto; padding: 56px var(--gutter) 36px; display: flex; flex-direction: column; gap: 32px; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; align-items: center; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer__small { font-size: 12px; line-height: 1.7; color: #E2D6CD; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 12px; color: #E2D6CD; align-items: center; }
.footer__bottom .back-top { margin-left: auto; }

/* ---------- Páginas internas ---------- */
.page { padding-block: clamp(40px, 7vw, 72px) clamp(64px, 9vw, 96px); }
.page__head { display: flex; flex-direction: column; gap: 12px; max-width: 720px; margin-bottom: 36px; }
.page__head h1 { font-size: clamp(36px, 4.6vw, 56px); }
.panel { background: var(--papel); border-radius: 6px; padding: clamp(20px, 4vw, 32px); }
.grid-2 { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.grid-2 > :first-child { flex: 999 1 520px; min-width: 0; }
.grid-2 > :last-child { flex: 1 1 320px; min-width: 0; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .label { font-size: 13px; font-weight: 600; }
.input { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #B9A59B; background: #FFFFFF; border-radius: 2px; font-size: 16px; }
.input:focus { border-color: var(--borgona); outline: none; box-shadow: 0 0 0 3px rgba(164, 95, 61, .2); }
.row { display: flex; flex-wrap: wrap; gap: 16px; }
.row > * { flex: 1 1 200px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.55; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--borgona); flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 18px; border-radius: 22px; border: 1px solid #C9B4A8; background: #FFFFFF; cursor: pointer; font-size: 14px; font-weight: 500; }
.chip[aria-pressed="true"], .chip[aria-checked="true"] { background: var(--oliva); color: var(--marfil); border-color: var(--oliva); }
.status { font-size: 14px; color: #3D4230; font-weight: 500; }
.error { color: #8E2F23; font-size: 14px; font-weight: 500; }

/* Calendario */
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal__head h2, .cal__head h3 { font-size: 28px; font-weight: 600; }
.round-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #C9B4A8; background: transparent; color: var(--borgona); cursor: pointer; font-size: 18px; }
.round-btn[disabled] { opacity: .35; cursor: not-allowed; }
.cal__dow, .cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal__dow { text-align: center; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gris-2); margin-bottom: 6px; }
.cal__day { height: 48px; border-radius: 6px; border: 1px solid transparent; background: transparent; color: #A3928A; font-size: 15px; font-weight: 600; }
.cal__day--open { background: #FFFFFF; border-color: var(--borgona); color: var(--borgona); cursor: pointer; }
.cal__day--sel { background: var(--borgona); color: #FFFAF6; }
.cal__day--mark { cursor: pointer; background: #F7EFEA; color: var(--carbon); }
@media (max-width: 420px) { .cal__day { height: 42px; font-size: 14px; } }

.summary { background: var(--oliva); color: var(--marfil); border-radius: 6px; padding: clamp(22px, 4vw, 32px); display: flex; flex-direction: column; gap: 18px; }
.summary h2 { color: var(--marfil); font-size: 30px; }
.summary dl { margin: 0; display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.summary dl > div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid rgba(242, 231, 225, .25); }
.summary dd { margin: 0; font-weight: 600; text-align: right; }
.summary__note { background: rgba(242, 231, 225, .1); padding: 14px 16px; font-size: 13px; line-height: 1.6; }

/* Tarjetas de Mi espacio */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 18px; }
.tile { display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: 6px; background: var(--papel); text-decoration: none; color: var(--carbon); min-height: 190px; }
.tile:hover { color: var(--carbon); }
.tile h2 { font-size: 30px; }
.tile p { color: var(--gris); font-size: 15px; }
.tile__go { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--borgona); }
.tile--dark { background: var(--oliva); color: var(--marfil); }
.tile--dark h2, .tile--dark .tile__go { color: var(--marfil); }
.tile--dark p { color: #EFE3DB; }
.progress { height: 6px; border-radius: 3px; background: var(--marfil-2); overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--terracota); border-radius: 3px; width: 0; transition: width .4s var(--ease); }

/* Consentimiento */
.doc { max-width: 760px; }
.doc h2 { font-family: var(--sans); font-size: 13px; letter-spacing: .08em; font-weight: 600; color: var(--borgona); margin: 30px 0 12px; line-height: 1.4; }
.doc p { margin-bottom: 12px; font-size: 16px; line-height: 1.75; }
.doc .is-reading { background: #F6E3D8; box-shadow: -8px 0 0 #F6E3D8, 8px 0 0 #F6E3D8; border-radius: 2px; }
.player { position: sticky; top: 84px; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; background: var(--oliva); color: var(--marfil); padding: 10px 12px; border-radius: 32px; margin-bottom: 24px; }
.player button { min-width: 44px; height: 44px; border-radius: 22px; border: 1px solid rgba(242, 231, 225, .5); background: transparent; color: var(--marfil); cursor: pointer; padding: 0 14px; font-size: 13px; font-weight: 600; }
.player .player__main { background: var(--marfil); color: var(--oliva); border: 0; }
.player__label { flex: 1 1 140px; font-size: 13px; }
.sign { position: relative; height: 180px; border: 1px dashed #B9A59B; border-radius: 4px; background: #FFFFFF; touch-action: none; }
.sign canvas { width: 100%; height: 100%; display: block; cursor: crosshair; }
.sign__hint { position: absolute; left: 16px; bottom: 12px; font-size: 12px; color: var(--gris-2); pointer-events: none; }
.sign__clear { position: absolute; right: 8px; top: 8px; }
.signed-print { display: none; }

/* PID-5 */
.quiz { max-width: 640px; margin: 0 auto; }
.quiz__blocks { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 3px; }
.quiz__blocks span { height: 4px; border-radius: 2px; background: #DCC9BE; }
.quiz__blocks span.is-done { background: var(--oliva); }
.quiz__blocks span.is-current { background: var(--terracota); }
.quiz__num { font-family: var(--serif); font-size: 22px; color: var(--terracota); }
.quiz__text { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 4vw, 38px); line-height: 1.15; color: var(--borgona); min-height: 3.5em; }
.quiz__tools { display: flex; flex-wrap: wrap; gap: 10px; }
.quiz__tools button { flex: 1 1 160px; min-height: 48px; border-radius: 24px; cursor: pointer; font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.quiz__listen { border: 1px solid var(--borgona); background: transparent; color: var(--borgona); }
.quiz__voice { border: 0; background: var(--oliva); color: var(--marfil); }
.quiz__voice[aria-pressed="true"] { background: var(--terracota); }
.answers { display: flex; flex-direction: column; gap: 8px; }
.answer { min-height: 60px; display: flex; align-items: center; gap: 14px; padding: 0 16px; text-align: left; border-radius: 4px; border: 1px solid #D8C6BB; background: #FFFFFF; cursor: pointer; font-size: 16px; }
.answer__n { width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--marfil); color: var(--borgona); display: flex; align-items: center; justify-content: center; font-weight: 600; }
.answer[aria-checked="true"] { background: var(--borgona); color: #FFFAF6; border-color: var(--borgona); }
.quiz__nav { display: flex; gap: 10px; }
.quiz__nav .btn { flex: 1; }
.quiz__nav .btn--ghost { flex: 0 0 auto; }
.heard { background: #E7EADF; color: #2F3325; padding: 12px 14px; border-radius: 4px; font-size: 14px; }
.urgent { font-size: 13px; color: var(--gris); border-top: 1px solid var(--linea); padding-top: 16px; }

/* Calculadora */
.bubble-wrap { background: #E6DFD3; border-radius: 10px; padding: 24px 18px; display: flex; flex-direction: column; gap: 10px; }
.bubble { align-self: flex-end; max-width: 92%; background: var(--papel); border-radius: 14px 14px 4px 14px; padding: 14px 16px 8px; box-shadow: 0 1px 1px rgba(36, 33, 29, .08); white-space: pre-line; font-size: 15px; line-height: 1.6; }
.tools-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tool { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 15px; border-radius: 21px; cursor: pointer; font-size: 13px; font-weight: 500; border: 1px solid #D8C6BB; background: transparent; }
.tool[aria-checked="true"] { background: var(--carbon); color: #FFFAF6; border-color: var(--carbon); }
.tool i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.mark-vino { background: var(--terracota) !important; color: #FFFAF6 !important; }
.mark-falta { background: var(--borgona) !important; color: #FFFAF6 !important; }
.mark-aviso { background: #E7EADF !important; color: #2F3325 !important; border-color: var(--oliva) !important; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 7px 0 14px; border-radius: 19px; border: 1px solid #D8C6BB; background: transparent; cursor: pointer; font-size: 13px; font-weight: 500; }
.tab[aria-pressed="true"] { background: #F3E2D8; color: var(--borgona); border-color: var(--borgona); }
.tab b { min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; background: var(--terracota); color: #FFFAF6; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.pay-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--linea); }

/* =========================================================
   Animaciones (data-motion) — sin dependencias externas
   ========================================================= */
[data-motion] { --motion-ease: cubic-bezier(.22, 1, .36, 1); }
.motion-ready [data-motion~="title"] { opacity: 0; transform: translateY(.45em); clip-path: inset(0 0 100% 0); transition: opacity .9s var(--ease), transform 1.1s var(--ease), clip-path 1.2s var(--ease); }
.motion-ready [data-motion~="title"][data-inview] { opacity: 1; transform: none; clip-path: inset(-10% -5% -30% -5%); }
.motion-ready [data-motion~="reveal"] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.motion-ready [data-motion~="reveal"][data-inview] { opacity: 1; transform: none; }
.motion-ready [data-motion~="stagger"] > * { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.motion-ready [data-motion~="stagger"][data-inview] > * { opacity: 1; transform: none; }
[data-motion~="stagger"] > :nth-child(2) { transition-delay: .08s; }
[data-motion~="stagger"] > :nth-child(3) { transition-delay: .16s; }
[data-motion~="stagger"] > :nth-child(4) { transition-delay: .24s; }
[data-motion~="stagger"] > :nth-child(5) { transition-delay: .32s; }
[data-motion~="stagger"] > :nth-child(6) { transition-delay: .4s; }
.motion-ready [data-motion~="scrub"] { opacity: calc(.25 + .75 * var(--p, 1)); }
[data-motion~="parallax-frame"], [data-motion~="zoom-frame"] { overflow: clip; }
[data-motion~="parallax"] { transform: translateY(var(--py, 0%)); will-change: transform; }
[data-motion~="zoom"] { transition: scale .5s var(--ease); }
[data-motion~="button"] { transition: translate .3s var(--ease), background-color .2s, color .2s; }
[data-motion~="button"] [data-motion-icon] { display: inline-block; transition: translate .3s var(--ease); }
[data-motion~="shadow"] { transition: box-shadow .25s ease; }
[data-motion~="underline"] { text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-position: left bottom; background-repeat: no-repeat; background-size: 0% 1px; transition: background-size .35s var(--ease); }
[data-motion~="panel"] { animation: panel-in .4s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@media (hover: hover) and (pointer: fine) {
  [data-motion~="zoom-frame"]:hover [data-motion~="zoom"] { scale: 1.04; }
  [data-motion~="button"]:hover { translate: 0 -2px; }
  [data-motion~="button"]:hover [data-motion-icon] { translate: 4px 0; }
  [data-motion~="shadow"]:hover { box-shadow: 0 12px 30px color-mix(in srgb, currentColor 12%, transparent); }
  [data-motion~="underline"]:hover { background-size: 100% 1px; }
}
[data-motion~="underline"]:focus-visible { background-size: 100% 1px; }
@media (prefers-reduced-motion: reduce) {
  [data-motion], [data-motion] *, .nav, .burger [data-bar] { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-motion~="parallax"] { transform: none; }
}

/* ---------- Impresión (consentimiento firmado) ---------- */
@media print {
  .header, .footer, .player, .no-print { display: none !important; }
  body { background: #FFFFFF; }
  .panel { padding: 0; background: none; }
  .signed-print { display: block; }
  .sign { display: none; }
  .doc p { font-size: 11pt; }
}

.is-disabled { opacity: .5; pointer-events: none; }

/* Ajustes */
[hidden] { display: none !important; }
.pains { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 720px) { .pains { grid-template-columns: 1fr; } .notice .half { display: none; } }
.option__rule { margin-top: auto; }
.footer__credit { margin: 0; padding-top: 18px; border-top: 1px solid rgba(242, 231, 225, .18); font-size: 12px; letter-spacing: .04em; color: #E2D6CD; text-align: center; }
.footer__credit a { font-weight: 600; }

/* =========================================================
   Manual de marca · Edición 1 (octubre 2026)
   Oliva = identidad · terracota = acción · marfil = aire
   ========================================================= */
:root {
  --borgona: #24211D;          /* títulos y acentos de texto: tinta */
  --carbon: #24211D;
  --carbon-marca: #2E2A24;
  --oliva: #8C9667;            /* identidad principal */
  --oliva-osc: #2E2A24;        /* fondos oscuros con texto chico: carbón */
  --oliva-circulo: #7E8859;
  --salvia: #C5D0B0;           /* acompaña, nunca lleva texto */
  --marfil: #F2E7E1;           /* fondo de página */
  --marfil-calido: #F6EDE5;
  --marfil-2: #EADBD2;         /* arena: bandas y divisores */
  --papel: #FAF3EF;
  --terracota: #A45F3D;        /* botones con texto */
  --terracota-marca: #B06A48;  /* medio círculo y formas */
  --linea: #D8C6BB;
}
a:hover { color: var(--terracota); }

/* Logo: tinta en fondo claro, blanco en oliva, medio círculo terracota de marca */
.logo__name, .logo__desc { color: var(--carbon-marca); }
.logo__mark { background: var(--carbon-marca); }
.logo__mark::after, .logo-stack__line::after { background: var(--terracota-marca); }
.hero__brand .logo-stack { color: #FFFFFF; }
.hero__brand::before { left: -90px; right: auto; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; background: var(--oliva-circulo); }

/* Botones secundarios y audios */
.btn:hover { background: #8F5134; }
.btn--ghost { color: var(--carbon); border-color: var(--carbon); }
.btn--ghost:hover { background: var(--carbon); color: #FFFAF6; }
.btn--light { background: #FFFFFF; color: var(--carbon); }
.btn--olive, .btn--olive:hover { background: var(--carbon-marca); color: #FFFAF6; }
.audio-btn, .audio-btn--solid { background: #F3E2D8; border: 1px solid #E9CBB9; color: var(--carbon); }
.audio-btn__icon, .audio-btn--solid .audio-btn__icon { background: var(--terracota-marca); color: #FFFAF6; }

/* Secciones */
.band { background: var(--oliva); }
.band::before { opacity: .45; }
.band__big { color: #FFFFFF; }
.band__small { color: #FFFFFF; font-size: 17px; font-weight: 500; }
.about__frame::before { background: var(--oliva); }
.about__frame::after { background: var(--terracota-marca); }
.option { background: #FFFFFF; }
.option--dark { background: var(--oliva); color: #FFFFFF; }
.option--dark .option__kicker { color: #FFFFFF; }
.option--dark p { font-size: 17px; font-weight: 500; }
.option--dark .option__rule { background: rgba(255, 255, 255, .45); }
.notice { background: var(--papel); border-color: var(--linea); }
.notice .half { background: var(--terracota-marca); }
.cta { background: var(--oliva); color: #FFFFFF; }
.cta h2 { color: #FFFFFF; }
.cta__text { position: relative; overflow: hidden; }
.cta__text::before { content: ""; position: absolute; left: -110px; bottom: -150px; width: 320px; height: 320px; border-radius: 50%; background: var(--oliva-circulo); }
.cta__text > * { position: relative; }
.footer { background: var(--carbon-marca); }

/* Plataforma: textos chicos nunca sobre oliva */
.summary { background: #FFFFFF; color: var(--carbon); border: 1px solid var(--linea); border-top: 4px solid var(--oliva); }
.summary h2 { color: var(--carbon); }
.summary dl > div { border-bottom-color: var(--linea); }
.summary__note { background: var(--papel); }
.tile--dark { background: var(--carbon-marca); }
.player { background: var(--carbon-marca); }
.chip[aria-pressed="true"], .chip[aria-checked="true"] { background: var(--carbon); border-color: var(--carbon); color: #FFFAF6; }
.quiz__voice { background: var(--carbon-marca); }
.quiz__voice[aria-pressed="true"] { background: var(--terracota); }
.quiz__num { color: var(--terracota); }
.quiz__blocks span.is-done { background: var(--oliva); }
.cal__day--open { border-color: var(--carbon); color: var(--carbon); }
.tab b { background: var(--terracota); }

/* Ajustes: sin bloques negros, pie claro */
.footer { background: var(--marfil-2); color: var(--carbon); }
.footer a { color: var(--carbon); }
.footer .logo-stack { color: var(--carbon-marca); }
.footer .logo-stack__line { background: var(--carbon-marca); }
.footer__small, .footer__bottom, .footer__credit { color: var(--gris); }
.footer__credit { border-top-color: var(--linea); }
.tile--dark { background: #F3E2D8; color: var(--carbon); }
.tile--dark h2, .tile--dark .tile__go { color: var(--carbon); }
.tile--dark p { color: var(--gris); }
.player { background: #F3E2D8; color: var(--carbon); }
.player button { border-color: rgba(36, 33, 29, .35); color: var(--carbon); }
.player .player__main { background: var(--terracota); color: #FFFAF6; }
.quiz__voice { background: var(--terracota); color: #FFFAF6; }
.quiz__voice[aria-pressed="true"] { background: #8F5134; }
.btn--olive, .btn--olive:hover { background: transparent; color: var(--carbon); border-color: var(--carbon); }
.btn--ghost:hover { background: #F3E2D8; color: var(--carbon); }
.chip[aria-pressed="true"], .chip[aria-checked="true"],
.cal__day--sel, .answer[aria-checked="true"], .tool[aria-checked="true"] { background: var(--terracota); border-color: var(--terracota); color: #FFFAF6; }
.answer[aria-checked="true"] .answer__n { background: #FFFAF6; color: var(--terracota); }
.mark-falta { background: #6E3A22 !important; color: #FFFAF6 !important; }
