/* ==========================================================================
   Cabeto Medina Digital — negro, blanco y amarillo Cabeto
   Base clara; el negro se usa como acento (demo, método, contacto).
   ========================================================================== */
:root {
  --y: #FFD84D;
  --y-soft: #FFF3C2;
  --ink: #0B0B0C;
  --ink-2: #151517;
  --ink-3: #222226;
  --bone: #F5F4F0;
  --white: #FFFFFF;
  --line: rgba(11, 11, 12, .1);
  --line-d: rgba(255, 255, 255, .13);
  --mute: #5C5C63;
  --mute-d: #A3A3A8;
  --head: "Space Grotesk", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --r: 16px;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bone); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.sec--dark :focus-visible, .footer :focus-visible, .live :focus-visible { outline-color: var(--y); }
section[id] { scroll-margin-top: 84px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--y); padding: 10px 16px; border-radius: 8px; z-index: 100; font-weight: 600; }
.skip:focus { left: 8px; }
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: var(--y); transform: scaleX(0); transform-origin: 0 50%; z-index: 60; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 28px; border-radius: 999px; border: 1.5px solid transparent; font: 600 16px/1 var(--body); cursor: pointer; transition: transform .18s, background .18s, border-color .18s, color .18s, box-shadow .18s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--k { background: var(--ink); color: var(--white); box-shadow: 0 0 0 0 var(--y); }
.btn--k:hover { box-shadow: 4px 4px 0 0 var(--y); }
.btn--y { background: var(--y); color: var(--ink); }
.btn--y:hover { background: #FFE27A; }
.btn--line { border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--white); }
.btn--full { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* ---------- Cabecera ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(245, 244, 240, .86); backdrop-filter: saturate(150%) blur(14px); -webkit-backdrop-filter: saturate(150%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.header.scrolled { border-bottom-color: var(--line); }
.header__in { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { border-radius: 10px; }
.brand__txt { font: 500 17px/1 var(--head); letter-spacing: -.01em; white-space: nowrap; }
.brand__txt b { font-weight: 700; background: linear-gradient(transparent 58%, var(--y) 58%); padding: 0 2px; }
.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav a:not(.btn) { color: var(--mute); position: relative; transition: color .15s; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--y); transform: scaleX(0); transform-origin: 0 50%; transition: transform .2s; }
.nav a:not(.btn):hover { color: var(--ink); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav__cta { min-height: 42px; padding: 0 20px; font-size: 15px; }
.header__tools { display: flex; align-items: center; gap: 8px; }
.lang { border: 1px solid var(--line); border-radius: 999px; color: var(--mute-d); font: 600 13px/1 var(--body); letter-spacing: .04em; padding: 0 14px; min-height: 40px; display: inline-flex; gap: 5px; align-items: center; background: var(--white); }
.lang i { font-style: normal; opacity: .5; }
.lang .on { color: var(--ink); }
.burger { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, top .2s; }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 64px, linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 64px 100%; -webkit-mask-image: radial-gradient(ellipse 80% 90% at 70% 20%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 80% 90% at 70% 20%, #000 10%, transparent 70%); }
.hero::after { content: ""; position: absolute; width: 520px; height: 520px; right: -120px; top: -160px; border-radius: 50%; background: var(--y); opacity: .35; filter: blur(90px); pointer-events: none; }
.hero__in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.hero h1 { display: block; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 14px/1.35 var(--body); letter-spacing: 0; color: var(--mute); background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px 8px 12px; margin-bottom: 28px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--y); box-shadow: 0 0 0 4px rgba(255, 216, 77, .35); flex-shrink: 0; animation: beat 2.4s infinite; }
@keyframes beat { 50% { box-shadow: 0 0 0 8px rgba(255, 216, 77, 0); } }
.hero__big { display: block; font: 700 clamp(46px, 7.4vw, 92px)/.98 var(--head); letter-spacing: -.045em; }
.hero__big mark { color: inherit; background: linear-gradient(var(--y), var(--y)) no-repeat 0 88% / 0% 38%; animation: marker 1s .5s cubic-bezier(.2, .7, .2, 1) forwards; padding: 0 .06em; margin: 0 -.06em; }
@keyframes marker { to { background-size: 100% 38%; } }
.hero__sub { margin-top: 28px; max-width: 560px; font-size: clamp(17px, 1.6vw, 20px); color: var(--mute); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__note { margin-top: 20px; font-size: 14px; color: var(--mute); }

/* Demo en vivo */
.live { background: var(--ink); color: var(--white); border-radius: 22px; box-shadow: 0 40px 70px -30px rgba(11, 11, 12, .55), 10px 10px 0 0 var(--y); overflow: hidden; transform: rotate(1.2deg); transition: transform .4s; }
.live:hover { transform: rotate(0); }
.live__head { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--line-d); }
.live__head span { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-3); }
.live__head span:first-child { background: var(--y); }
.live__head em { margin-left: 8px; font: 500 12px/1 var(--mono); color: var(--mute-d); font-style: normal; }
.live__head b { margin-left: auto; font: 600 10.5px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); background: var(--y); padding: 5px 8px; border-radius: 5px; }
.live__feed { padding: 12px; display: grid; gap: 8px; min-height: 372px; align-content: start; }
.live__feed li { display: flex; gap: 12px; align-items: center; background: var(--ink-2); border: 1px solid var(--line-d); border-radius: 13px; padding: 12px 14px; opacity: 0; transform: translateY(14px) scale(.97); transition: opacity .45s, transform .45s cubic-bezier(.2, .8, .2, 1), border-color .45s; }
.live__feed li.on { opacity: 1; transform: none; }
.live__feed li.now { border-color: var(--y); }
.live__feed strong { display: block; font: 600 15px/1.25 var(--head); letter-spacing: -.01em; }
.live__feed small { display: block; font-size: 13px; color: var(--mute-d); margin-top: 2px; }
.ic { flex: 0 0 36px; height: 36px; border-radius: 10px; background: var(--ink-3) center / 18px no-repeat; }
.now .ic { background-color: var(--y); }
.ic--web { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='4' width='18' height='15' rx='2'/%3E%3Cpath d='M3 9h18'/%3E%3C/svg%3E"); }
.ic--sms { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11H9l-5 4z'/%3E%3C/svg%3E"); }
.ic--crm { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 5v14M12 5v9M19 5v11'/%3E%3C/svg%3E"); }
.ic--auto { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Cpath d='M12 8v4l3 2'/%3E%3C/svg%3E"); }
.ic--ai { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 3l2 6 6 2-6 2-2 6-2-6-6-2 6-2z'/%3E%3C/svg%3E"); }
.now .ic { filter: invert(1); background-color: #0027B2; }
.live__foot { display: flex; align-items: center; gap: 10px; padding: 13px 18px; border-top: 1px solid var(--line-d); font-size: 13px; color: var(--mute-d); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #5BE38A; animation: beat2 1.6s infinite; }
@keyframes beat2 { 0% { box-shadow: 0 0 0 0 rgba(91, 227, 138, .6); } 100% { box-shadow: 0 0 0 9px rgba(91, 227, 138, 0); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--ink); color: var(--white); overflow: hidden; padding: 18px 0; transform: rotate(-1deg) scale(1.02); margin: -8px 0; position: relative; z-index: 2; }
.marquee__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: slide 32s linear infinite; font: 600 clamp(18px, 2.2vw, 24px)/1 var(--head); letter-spacing: -.02em; white-space: nowrap; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee i { width: 10px; height: 10px; border-radius: 50%; background: var(--y); flex-shrink: 0; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.sec { padding: 104px 0; position: relative; }
.sec--white { background: var(--white); }
.sec--dark { background: var(--ink); color: var(--white); }
.sec--y { background: var(--y); }
.kicker { font: 600 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 22px; height: 3px; background: var(--y); }
.sec--dark .kicker { color: var(--y); }
.sec--y .kicker::before { background: var(--ink); }
.h2 { font: 700 clamp(30px, 4.2vw, 50px)/1.06 var(--head); letter-spacing: -.035em; max-width: 820px; }
.lead { margin-top: 20px; max-width: 640px; font-size: 18px; color: var(--mute); }
.sec--dark .lead { color: var(--mute-d); }
.sec--y .lead { color: #3d3512; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }

.pain { background: var(--bone); border: 1px solid var(--line); border-radius: var(--r); padding: 30px 28px 32px; transition: transform .25s, box-shadow .25s; }
.pain:hover { transform: translateY(-4px); box-shadow: 6px 6px 0 0 var(--ink); }
.pain__n { display: inline-block; font: 700 13px/1 var(--head); background: var(--ink); color: var(--y); padding: 7px 10px; border-radius: 7px; margin-bottom: 22px; }
.pain h3 { font: 700 21px/1.2 var(--head); letter-spacing: -.02em; margin-bottom: 10px; }
.pain p { color: var(--mute); font-size: 16px; }
.principle { margin-top: 72px; font: 500 clamp(24px, 3.4vw, 40px)/1.18 var(--head); letter-spacing: -.03em; max-width: 980px; }
.principle span { color: var(--mute-d); }
.principle strong { font-weight: 700; background: linear-gradient(transparent 62%, var(--y) 62%); }

/* Tarjetas con foco que sigue el cursor */
.card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 30px 28px 32px; overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; isolation: isolate; }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), var(--y-soft), transparent 70%); opacity: 0; transition: opacity .3s; }
.card:hover { transform: translateY(-4px); border-color: var(--ink); box-shadow: 6px 6px 0 0 var(--y); }
.card:hover::before { opacity: 1; }
.card svg { width: 46px; height: 46px; padding: 10px; border-radius: 12px; background: var(--ink); fill: none; stroke: var(--y); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 22px; transition: transform .3s; }
.card:hover svg { transform: rotate(-6deg) scale(1.06); }
.card h3 { font: 600 20px/1.22 var(--head); letter-spacing: -.02em; margin-bottom: 10px; }
.card p { color: var(--mute); font-size: 16px; }

/* ---------- Método: explorador ---------- */
.xp { margin-top: 52px; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 20px; }
.xp__tabs { display: grid; gap: 8px; align-content: start; }
.xp__tabs button { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; background: var(--ink-2); border: 1px solid var(--line-d); border-radius: 14px; padding: 15px 16px; cursor: pointer; overflow: hidden; font: 600 17px/1.2 var(--head); color: var(--mute-d); transition: color .2s, border-color .2s, background .2s; }
.xp__tabs button:hover { color: var(--white); border-color: rgba(255, 255, 255, .3); }
.xp__tabs b { display: grid; place-items: center; flex: 0 0 30px; height: 30px; border-radius: 50%; background: var(--ink-3); font: 700 13px/1 var(--head); transition: background .2s, color .2s; }
.xp__tabs [aria-selected="true"] { color: var(--white); border-color: var(--y); background: #1b1a14; }
.xp__tabs [aria-selected="true"] b { background: var(--y); color: var(--ink); }
.xp__tabs button::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--y); transform: scaleX(0); transform-origin: 0 50%; }
.xp.auto .xp__tabs [aria-selected="true"]::after { animation: fill 6s linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }
.xp__panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 32px; align-items: center; background: var(--ink-2); border: 1px solid var(--line-d); border-radius: 20px; padding: 36px; min-height: 380px; animation: panelIn .45s cubic-bezier(.2, .8, .2, 1); }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } }
.xp__txt h3 { font: 700 clamp(22px, 2.4vw, 28px)/1.15 var(--head); letter-spacing: -.025em; margin-bottom: 12px; }
.xp__txt p { color: var(--mute-d); }
.xp__txt ul { margin-top: 20px; display: grid; gap: 10px; }
.xp__txt li { position: relative; padding-left: 28px; font-size: 16px; }
.xp__txt li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 13px; height: 7px; border-left: 2px solid var(--y); border-bottom: 2px solid var(--y); transform: rotate(-45deg); }
.xp__foot { margin-top: 24px; padding: 20px 24px; border: 1px dashed var(--line-d); border-radius: 14px; color: var(--mute-d); display: flex; gap: 14px; align-items: center; }
.xp__foot::before { content: "↻"; color: var(--y); font-size: 22px; line-height: 1; }

/* Mini maquetas */
.mk { background: var(--ink); border: 1px solid var(--line-d); border-radius: 16px; min-height: 250px; padding: 18px; display: grid; align-content: center; gap: 10px; font-size: 13.5px; }
.mk__bar { display: flex; gap: 6px; margin-bottom: 8px; } .mk__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.mk__body { display: grid; gap: 10px; }
.l { display: block; height: 9px; border-radius: 5px; background: var(--ink-3); } .l.big { height: 20px; background: #3a3a40; }
.w60 { width: 60%; } .w70 { width: 70%; } .w90 { width: 90%; }
.mk__btn { justify-self: start; margin-top: 8px; background: var(--y); color: var(--ink); font-weight: 600; padding: 10px 18px; border-radius: 999px; animation: nudge 2.2s infinite; }
@keyframes nudge { 50% { transform: scale(1.06); box-shadow: 0 0 0 8px rgba(255, 216, 77, .15); } }
.toast { background: var(--ink-2); border: 1px solid var(--line-d); border-left: 3px solid var(--y); border-radius: 10px; padding: 11px 14px; opacity: 0; animation: toastIn .5s forwards; }
.toast:nth-child(2) { animation-delay: .5s; } .toast:nth-child(3) { animation-delay: 1s; }
.toast b { display: block; font-weight: 600; } .toast small { color: var(--mute-d); }
@keyframes toastIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.mk--crm { grid-template-columns: repeat(3, 1fr); align-content: start; align-items: start; }
.mk--crm div { background: var(--ink-2); border-radius: 10px; padding: 10px; display: grid; gap: 8px; }
.mk--crm em { font-style: normal; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute-d); }
.mk--crm span { height: 34px; border-radius: 7px; background: var(--ink-3); }
.mk--crm .hot { background: var(--y); animation: hop 3s infinite; }
@keyframes hop { 0%, 40% { transform: none; } 55%, 85% { transform: translateX(calc(100% + 20px)); } 100% { transform: none; } }
.mk--auto { justify-items: center; gap: 0; }
.mk--auto span { background: var(--ink-2); border: 1px solid var(--line-d); border-radius: 10px; padding: 11px 18px; font-weight: 600; }
.mk--auto .hot { background: var(--y); color: var(--ink); border-color: var(--y); }
.mk--auto i { width: 2px; height: 26px; background: linear-gradient(var(--y) 50%, transparent 50%) 0 0 / 2px 8px; animation: flow .6s linear infinite; }
@keyframes flow { to { background-position: 0 8px; } }
.mk--ai { align-content: end; }
.mk--ai p { max-width: 82%; padding: 10px 14px; border-radius: 14px; opacity: 0; animation: toastIn .45s forwards; }
.mk--ai .them { background: var(--ink-3); border-bottom-left-radius: 4px; }
.mk--ai .us { background: var(--y); color: var(--ink); justify-self: end; border-bottom-right-radius: 4px; font-weight: 500; }
.mk--ai p:nth-child(2) { animation-delay: .7s; } .mk--ai p:nth-child(3) { animation-delay: 1.5s; } .mk--ai p:nth-child(4) { animation-delay: 2.1s; }
.typing { display: flex; gap: 4px; padding: 14px !important; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .25; transform: translateY(-2px); } }

/* ---------- Diagnóstico ---------- */
.quiz { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.quiz__card { background: var(--ink); color: var(--white); border-radius: 22px; padding: 34px; min-height: 380px; display: flex; flex-direction: column; box-shadow: 10px 10px 0 0 rgba(11, 11, 12, .18); }
.qz__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; font: 500 13px/1 var(--mono); color: var(--mute-d); }
.qz__bar { flex: 1; height: 4px; border-radius: 4px; background: var(--ink-3); overflow: hidden; }
.qz__bar i { display: block; height: 100%; background: var(--y); transition: width .4s; }
.qz__q { font: 700 clamp(21px, 2.4vw, 27px)/1.2 var(--head); letter-spacing: -.02em; margin-bottom: 20px; }
.qz__opts { display: grid; gap: 10px; }
.qz__opts button { text-align: left; background: var(--ink-2); border: 1px solid var(--line-d); border-radius: 13px; padding: 16px 18px; cursor: pointer; font-size: 16px; line-height: 1.35; transition: border-color .15s, background .15s, transform .15s; }
.qz__opts button:hover { border-color: var(--y); background: #1b1a14; transform: translateX(4px); }
.qz__step { animation: panelIn .4s cubic-bezier(.2, .8, .2, 1); display: flex; flex-direction: column; flex: 1; }
.qz__res small { display: block; font: 600 12.5px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--y); margin-bottom: 12px; }
.qz__res h3 { font: 700 clamp(26px, 3vw, 36px)/1.08 var(--head); letter-spacing: -.03em; margin-bottom: 12px; }
.qz__res p { color: var(--mute-d); }
.qz__act { margin-top: auto; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.qz__again { background: none; border: 0; color: var(--mute-d); cursor: pointer; padding: 12px; text-decoration: underline; text-underline-offset: 3px; }
.qz__again:hover { color: var(--white); }

/* ---------- Nosotros ---------- */
.about, .faq { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; }
.about__body p { color: var(--mute); font-size: 18px; margin-bottom: 20px; }
.ticks { margin-top: 30px; border-top: 1px solid var(--line); }
.ticks li { padding: 16px 0 16px 34px; border-bottom: 1px solid var(--line); position: relative; font-weight: 500; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 17px; width: 20px; height: 20px; border-radius: 50%; background: var(--y); }
.ticks li::after { content: ""; position: absolute; left: 5px; top: 23px; width: 10px; height: 5px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }

/* ---------- FAQ ---------- */
.faq__list { display: grid; gap: 10px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--ink); box-shadow: 5px 5px 0 0 var(--y); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font: 600 17.5px/1.3 var(--head); letter-spacing: -.01em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; width: 28px; height: 28px; margin-top: -14px; display: grid; place-items: center; border-radius: 50%; background: var(--bone); font: 500 20px/1 var(--body); transition: transform .25s, background .25s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--y); }
.faq details p { padding: 0 22px 22px; color: var(--mute); font-size: 16.5px; }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; }
.contact__ways { margin-top: 36px; display: grid; gap: 18px; }
.contact__ways span { display: block; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute-d); margin-bottom: 3px; }
.contact__ways a { font: 600 19px/1.3 var(--head); border-bottom: 1.5px solid var(--y); overflow-wrap: anywhere; }
.form { background: var(--ink-2); border: 1px solid var(--line-d); border-radius: 22px; padding: 32px; display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 8px; font-size: 14px; font-weight: 500; color: var(--mute-d); }
.form input, .form select, .form textarea { width: 100%; background: var(--ink); color: var(--white); border: 1px solid var(--line-d); border-radius: 11px; padding: 14px; font: 400 16px/1.4 var(--body); transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none; }
.form select { background-image: linear-gradient(45deg, transparent 50%, var(--mute-d) 50%), linear-gradient(135deg, var(--mute-d) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.form textarea { resize: vertical; min-height: 110px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--y); box-shadow: 0 0 0 3px rgba(255, 216, 77, .18); }
.hp { position: absolute !important; left: -9999px; width: 1px !important; height: 1px; opacity: 0; }
.form__status { font-size: 15px; color: var(--mute-d); }
.form__status:empty { display: none; }
.form__status.good { color: var(--y); } .form__status.bad { color: #FF8A7A; }

/* ---------- Pie ---------- */
.footer { background: var(--ink); color: var(--white); border-top: 1px solid var(--line-d); padding: 56px 0 32px; font-size: 15px; }
.footer .brand__txt b { background: none; color: var(--y); padding: 0; }
.footer .brand img { border: 1px solid var(--line-d); }
.footer__in { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 40px; align-items: start; }
.footer__tag { margin-top: 14px; color: var(--mute-d); font: 500 15px/1 var(--head); }
.footer__links, .footer__social { display: grid; gap: 12px; color: var(--mute-d); }
.footer__links a:hover, .footer__social a:hover { color: var(--y); }
.footer__legal { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line-d); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; color: #77777e; font-size: 13.5px; }

/* Botón fijo en móvil */
.dock { display: none; }

/* ---------- Aparición ---------- */
.anim .rv { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1), box-shadow .25s, border-color .25s; }
.anim .rv.in { opacity: 1; transform: none; }
.anim .grid3 > .rv:nth-child(3n+2) { transition-delay: .08s; }
.anim .grid3 > .rv:nth-child(3n) { transition-delay: .16s; }
.anim .rv.in:hover { transform: translateY(-4px); transition-delay: 0s; }
.anim .form.rv.in:hover, .anim .about__body.rv.in:hover, .anim details.rv.in:hover, .anim .principle.rv.in:hover { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero__big mark { background-size: 100% 38%; }
  .live__feed li, .toast, .mk--ai p { opacity: 1; transform: none; }
  .live { transform: none; }
}

/* ---------- Tablet ---------- */
@media (max-width: 980px) {
  .hero__in, .about, .faq, .contact, .quiz { grid-template-columns: 1fr; gap: 44px; }
  .live { max-width: 520px; transform: none; }
  .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xp { grid-template-columns: 1fr; }
  .xp__tabs { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 4px; margin: 0 -24px; padding-left: 24px; padding-right: 24px; scrollbar-width: none; }
  .xp__tabs::-webkit-scrollbar { display: none; }
  .xp__tabs button { width: auto; flex: 0 0 auto; scroll-snap-align: start; padding: 12px 16px 12px 12px; font-size: 16px; white-space: nowrap; }
  .xp__panel { grid-template-columns: 1fr; padding: 28px; min-height: 0; }
  .footer__in { grid-template-columns: 1fr 1fr; }
}

/* ---------- Móvil ---------- */
@media (max-width: 820px) {
  .burger { display: block; }
  .nav { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bone); border-bottom: 1px solid var(--line); padding: 8px 24px 24px; display: none; font-size: 18px; box-shadow: 0 30px 40px -20px rgba(11, 11, 12, .25); }
  .nav.open { display: flex; animation: panelIn .25s; }
  .nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 20px; min-height: 52px; font-size: 16px; }
  .header__tools { margin-left: auto; }
  .dock { display: flex; position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 40; min-height: 54px; align-items: center; justify-content: center; border-radius: 999px; background: var(--ink); color: var(--white); font: 600 16px/1 var(--body); box-shadow: 0 14px 30px -10px rgba(11, 11, 12, .6), 4px 4px 0 0 var(--y); transform: translateY(140%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
  .dock.show { transform: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .header__in { gap: 10px; }
  .header__tools { gap: 2px; }
  .brand { gap: 9px; min-width: 0; }
  .brand img { width: 34px; height: 34px; }
  .brand__txt { font-size: 14.5px; }
  .lang { padding: 0 11px; min-height: 38px; font-size: 12.5px; }
  .burger { width: 40px; margin-right: -8px; }
  .hero { padding: 40px 0 72px; }
  .hero::after { width: 320px; height: 320px; right: -140px; top: -120px; }
  .eyebrow { font-size: 13px; border-radius: 14px; margin-bottom: 22px; }
  .hero__cta .btn { width: 100%; }
  .live { box-shadow: 0 30px 50px -30px rgba(11, 11, 12, .5), 6px 6px 0 0 var(--y); }
  .live__feed { min-height: 356px; }
  .sec { padding: 72px 0; }
  .grid3 { grid-template-columns: 1fr; margin-top: 40px; gap: 14px; }
  .principle { margin-top: 52px; }
  .xp__tabs { margin: 0 -20px; padding-left: 20px; padding-right: 20px; }
  .xp__panel { padding: 22px 20px; gap: 22px; }
  .mk { min-height: 210px; }
  .quiz__card { padding: 24px 20px; min-height: 400px; box-shadow: 6px 6px 0 0 rgba(11, 11, 12, .18); }
  .qz__act .btn { width: 100%; }
  .faq summary { font-size: 16.5px; padding: 18px 52px 18px 18px; }
  .faq details p { padding: 0 18px 20px; }
  .form { padding: 22px 18px; }
  .form__row { grid-template-columns: 1fr; }
  .footer { padding-bottom: 96px; }
  .footer__in { grid-template-columns: 1fr; gap: 32px; }
  .footer__legal { flex-direction: column; }
}
@media (max-width: 360px) {
  .brand__txt { font-size: 13px; } .brand img { width: 30px; height: 30px; }
}
