/* Co.iFitness — propuesta de rediseño. Paleta tomada de sus propias portadas de producto. */
:root {
  --paper: #F6EEE6;
  --paper-2: #EFE2D6;
  --card: #FFFAF5;
  --line: #E3D2C3;
  --ink: #2B1911;
  --ink-2: #6B5245;
  --clay: #C47A5A;
  --clay-ink: #A3573A;
  --clay-soft: #F2D8C8;
  --clay-light: #E7A383;
  --sage: #6F8762;
  --sage-soft: #DDE5D4;
  --honey: #E3B66E;
  --night: #1F130D;
  --night-2: #2C1B13;
  --display: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --r-lg: 28px;
  --r: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --hdr: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; color-scheme: light !important; } /* la plantilla de Higgsfield pone color-scheme:dark en <html> */
body { margin: 0; background: var(--paper); color: var(--ink); }
.coi { font-family: var(--display); font-size: 17px; line-height: 1.6; font-stretch: 100%; -webkit-font-smoothing: antialiased; overflow-x: clip; }
.coi img { display: block; max-width: 100%; height: auto; }
.coi a { color: inherit; }
.coi button { font: inherit; color: inherit; }
.coi h1, .coi h2, .coi h3 { margin: 0; font-weight: 780; font-stretch: 112%; letter-spacing: -0.025em; line-height: .98; text-wrap: balance; }
.coi h1 em, .coi h2 em, .coi h3 em {
  font-family: var(--serif); font-style: italic; font-weight: 400; font-stretch: 100%;
  letter-spacing: -0.005em; color: var(--clay); font-size: 1.1em; line-height: .8;
}
.coi p { margin: 0; }
.coi section[id], .coi article[id], .coi #find { scroll-margin-top: calc(var(--hdr) + 16px); }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.coi :focus-visible { outline: 2px solid var(--clay-ink); outline-offset: 3px; border-radius: 6px; }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 40; background: rgba(246, 238, 230, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.hdr.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px -24px rgba(43, 25, 17, .5); }
.hdr-in { height: var(--hdr); display: flex; align-items: center; gap: 28px; }
.wm { font-weight: 820; font-stretch: 116%; font-size: 21px; letter-spacing: -0.03em; text-decoration: none; white-space: nowrap; }
.wm span { color: var(--clay); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 520; color: var(--ink-2); transition: color .2s; }
.nav a:hover { color: var(--ink); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--ink); color: var(--paper) !important; text-decoration: none;
  font-size: 15.5px; font-weight: 640; font-stretch: 108%; letter-spacing: -0.005em; white-space: nowrap;
  transition: background .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn:hover { background: var(--clay-ink); transform: translateY(-1px); box-shadow: 0 12px 24px -14px rgba(163, 87, 58, .8); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn-clay { background: var(--clay); color: var(--night) !important; width: 100%; }
.btn-clay:hover { background: var(--clay-light); box-shadow: 0 12px 28px -14px rgba(231, 163, 131, .7); }
.btn-light { background: var(--paper); color: var(--ink) !important; }
.btn-light:hover { background: #fff; }
.btn-ghost-light { background: transparent; color: #fff !important; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1.5px #fff; }
.link { font-weight: 600; font-size: 15px; text-decoration: underline; text-decoration-color: var(--clay); text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.link:hover { color: var(--clay-ink); }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 28px; }

/* ---------- labels ---------- */
.eyebrow, .label, .tag, .mini-label {
  font-size: 12.5px; font-weight: 650; font-stretch: 120%; letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--clay-ink); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--clay); }
.label { color: var(--clay-ink); margin-bottom: 18px; }

/* ---------- hero ---------- */
.hero { padding: 24px 0 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: 56px; align-items: stretch; }
.hero-copy { padding-top: 28px; display: flex; flex-direction: column; }
.hero h1 { font-size: clamp(44px, 5.1vw, 76px); margin-top: 18px; }
.hero-sub { margin-top: 30px; max-width: 520px; font-size: 18.5px; color: var(--ink-2); }
.hero-media { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 680px; background: var(--night); }
.hero-media picture, .hero-media picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.hero-card {
  position: absolute; left: 20px; bottom: 20px; right: auto; display: flex; gap: 14px; align-items: center;
  padding: 10px 18px 10px 10px; border-radius: 20px; text-decoration: none;
  background: rgba(255, 250, 245, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); transition: transform .3s var(--ease);
}
.hero-card:hover { transform: translateY(-3px); }
.hero-card img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.hero-card small { display: block; font-size: 11px; font-weight: 650; font-stretch: 120%; letter-spacing: .12em; text-transform: uppercase; color: var(--clay-ink); }
.hero-card strong { display: block; font-size: 16px; font-weight: 720; font-stretch: 108%; line-height: 1.25; }
.price-mini { font-size: 14px; color: var(--ink-2); }
.price-mini s { opacity: .6; margin-left: 4px; }

/* ---------- quiz ---------- */
.quiz {
  margin-top: 36px; max-width: 560px; background: var(--card); border: 1px solid var(--line); border-radius: 24px;
  padding: 22px 22px 20px; box-shadow: 0 34px 60px -38px rgba(43, 25, 17, .45); min-height: 392px;
  display: flex; flex-direction: column;
}
.quiz-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.quiz-title { white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; font-weight: 720; font-stretch: 112%; font-size: 15px; letter-spacing: .02em; text-transform: uppercase; }
.pulse { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--clay); }
.pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--clay); opacity: 0; animation: pulse 2.2s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }
.quiz-meta { font-size: 13.5px; color: var(--ink-2); white-space: nowrap; }
.quiz-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 16px; }
.quiz-bar i { height: 4px; border-radius: 4px; background: var(--paper-2); overflow: hidden; position: relative; }
.quiz-bar i::after { content: ""; position: absolute; inset: 0; background: var(--clay); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.quiz[data-step="2"] .quiz-bar i:nth-child(-n+1)::after,
.quiz[data-step="3"] .quiz-bar i:nth-child(-n+2)::after,
.quiz[data-step="4"] .quiz-bar i::after { transform: scaleX(1); }
.quiz-step { display: flex; flex-direction: column; flex: 1; }
.quiz-step[hidden] { display: none; }
.quiz-step.enter { animation: stepIn .42s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
.quiz-q { font-size: 23px; font-weight: 700; font-stretch: 106%; letter-spacing: -0.015em; line-height: 1.2; margin: 22px 0 16px; outline: none; }
.quiz-opts { display: grid; gap: 8px; }
.quiz-opts button {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; cursor: pointer;
  padding: 13px 16px; min-height: 54px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper);
  font-size: 16px; font-weight: 520; line-height: 1.3; transition: border-color .2s, background .2s, transform .2s var(--ease);
}
.quiz-opts button:hover { border-color: var(--ink); background: #fff; transform: translateX(3px); }
.quiz-opts button.is-picked { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.k { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); font-size: 12.5px; font-weight: 700; color: var(--ink-2); background: var(--card); }
.is-picked .k { background: var(--clay); color: var(--night); border-color: var(--clay); }
.quiz-back { align-self: flex-start; margin-top: auto; padding: 14px 0 0; background: none; border: 0; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.quiz-back:hover { color: var(--ink); }

.quiz-result { padding-top: 20px; }
.res-head { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; align-items: center; }
.res-head img { width: 88px; height: 88px; border-radius: 14px; object-fit: cover; box-shadow: 0 10px 20px -12px rgba(43, 25, 17, .5); }
.res-kicker { font-size: 12px; font-weight: 650; font-stretch: 120%; letter-spacing: .14em; text-transform: uppercase; color: var(--clay-ink); }
.res-name { font-size: 23px; font-weight: 760; font-stretch: 110%; letter-spacing: -0.02em; line-height: 1.1; margin-top: 4px !important; outline: none; }
.res-price { font-size: 15px; color: var(--ink-2); margin-top: 4px !important; }
.res-price s { opacity: .6; margin-left: 4px; }
.res-why { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 9px; }
.res-why li { position: relative; padding-left: 28px; font-size: 15.5px; line-height: 1.45; }
.res-why li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--clay-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.5 2.6 2.6L14 7.6' fill='none' stroke='%23A3573A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.res-ctas { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: auto; padding-top: 20px; }
.res-ctas .btn { min-height: 48px; }
.res-alt { font-size: 14px; color: var(--ink-2); margin-top: 14px !important; }
.res-alt a { font-weight: 600; text-decoration-color: var(--clay); text-underline-offset: 3px; }
.res-retake { background: none; border: 0; padding: 0; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--ink-2); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- ribbon ---------- */
.ribbon { background: var(--ink); color: var(--paper); overflow: hidden; padding: 18px 0; }
.ribbon-track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.ribbon span { display: inline-flex; align-items: center; gap: 30px; padding-right: 30px; font-size: 20px; font-weight: 720; font-stretch: 118%; letter-spacing: -0.01em; text-transform: uppercase; white-space: nowrap; }
.ribbon span::after { content: "✦"; color: var(--clay); font-size: 15px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.sec { padding: 120px 0; }
.sec-head { max-width: 760px; }
.sec h2, .guide h2 { font-size: clamp(38px, 4.6vw, 66px); }
.lede { margin-top: 22px !important; font-size: 19px; color: var(--ink-2); max-width: 600px; }

/* ---------- programs ---------- */
.prog { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; margin-top: 88px; }
.prog + .prog { margin-top: 140px; }
.prog.rev .prog-media { order: 2; }
.prog-media { position: relative; padding: 0 44px 56px 0; }
.prog.rev .prog-media { padding: 0 0 56px 44px; }
.prog-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); }
.prog-sheet {
  position: absolute; right: 0; bottom: 0; width: 48%; border-radius: 16px; border: 6px solid var(--card);
  box-shadow: 0 30px 50px -24px rgba(43, 25, 17, .55); transform: rotate(2.5deg); transition: transform .5s var(--ease);
}
.prog.rev .prog-sheet { right: auto; left: 0; transform: rotate(-2.5deg); }
.prog-media:hover .prog-sheet { transform: rotate(0) scale(1.03); }
.tag { display: inline-block; padding: 7px 12px; border-radius: 999px; background: var(--clay-soft); color: var(--clay-ink); font-size: 11.5px; }
.tag-sage { background: var(--sage-soft); color: #4E6444; }
.prog h3 { font-size: clamp(34px, 3.6vw, 52px); margin-top: 18px; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin: 16px 0 18px !important; }
.price strong { font-size: 30px; font-weight: 760; font-stretch: 108%; letter-spacing: -0.02em; }
.price .cur { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.price s { color: var(--ink-2); opacity: .7; font-size: 17px; }
.sale { align-self: center; padding: 3px 9px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 11.5px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.prog-body > p:not([class]) { color: var(--ink-2); }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
.stats div { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 14px 12px; }
.stats b { display: block; font-size: 28px; font-weight: 760; font-stretch: 106%; letter-spacing: -0.02em; line-height: 1.05; color: var(--clay-ink); }
.stats span { display: block; margin-top: 6px; font-size: 13px; line-height: 1.3; color: var(--ink-2); }

.mini-label { margin-top: 28px !important; color: var(--ink-2); font-size: 11.5px; }
.week { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.week li { padding: 10px 8px 12px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); font-size: 12.5px; font-weight: 560; line-height: 1.25; }
.week i { display: block; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--ink-2); margin-bottom: 6px; }
.week i::before { content: "Day "; }
.week .g { background: var(--clay-soft); border-color: #E8BFA8; }
.week .g i { color: var(--clay-ink); }
.week .r { background: transparent; border-style: dashed; color: var(--ink-2); font-style: italic; }

.checks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 22px; }
.checks li { position: relative; padding-left: 28px; font-size: 15.5px; line-height: 1.4; }
.checks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.5 2.6 2.6L14 7.6' fill='none' stroke='%23F6EEE6' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.checks-sage li::before { background-color: var(--sage); }
.fine { margin-top: 22px !important; font-size: 14px; color: var(--ink-2); }

.phases { list-style: none; margin: 26px 0 0; padding: 0; display: flex; gap: 6px; }
.phases li { flex: var(--w) 1 0; min-width: 0; padding-top: 14px; position: relative; }
.phases li:last-child { min-width: 104px; }
.phases li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 8px; border-radius: 8px; background: var(--c); }
.phases li:nth-child(1) { --c: #EDC3AA; }
.phases li:nth-child(2) { --c: var(--honey); }
.phases li:nth-child(3) { --c: #93A884; }
.phases li:nth-child(4) { --c: var(--clay-ink); }
.phases b { display: block; white-space: nowrap; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.phases span { display: block; margin-top: 4px; font-size: 14.5px; font-weight: 640; line-height: 1.25; }

/* ---------- free guide ---------- */
.guide { background: var(--night); color: var(--paper); padding: 120px 0; position: relative; overflow: hidden; }
.guide::before { content: "5"; position: absolute; right: -2vw; top: -6vw; font-family: var(--serif); font-style: italic; font-size: 52vw; line-height: 1; color: rgba(255, 255, 255, .025); pointer-events: none; }
.guide-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 80px; align-items: center; position: relative; }
.guide .label { color: var(--clay-light); }
.guide h2 em { color: var(--clay-light); }
.guide .lede { color: #CDB8AA; }
.reasons { list-style: none; margin: 34px 0 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.reasons li { display: flex; align-items: baseline; gap: 22px; padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 21px; font-weight: 640; font-stretch: 106%; letter-spacing: -0.01em; }
.reasons i { font-family: var(--serif); font-size: 26px; color: var(--clay-light); min-width: 34px; }
.guide-note { margin-top: 20px !important; color: #CDB8AA; font-size: 15.5px; }
.guide-card { position: relative; background: var(--night-2); border: 1px solid rgba(255, 255, 255, .09); border-radius: 26px; padding: 30px; padding-top: 128px; margin-top: 96px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.guide-cover { position: absolute; top: -84px; left: 30px; width: 186px; border-radius: 12px; transform: rotate(-4deg); box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .8); }
.lead-title { font-size: 26px; font-weight: 760; font-stretch: 110%; letter-spacing: -0.02em; margin-bottom: 18px !important; line-height: 1.15; }
.lead label { display: block; font-size: 13.5px; font-weight: 600; color: #CDB8AA; margin-bottom: 14px; }
.lead input:not([type="checkbox"]) {
  display: block; width: 100%; margin-top: 6px; padding: 14px 16px; border-radius: 12px; font: inherit; font-size: 16px; color: var(--paper);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); transition: border-color .2s, background .2s;
}
.lead input:not([type="checkbox"]):focus { outline: none; border-color: var(--clay-light); background: rgba(255, 255, 255, .09); }
.lead input[aria-invalid="true"] { border-color: #E9846B !important; }
.lead .tick { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; line-height: 1.45; margin: 4px 0 20px; cursor: pointer; }
.tick input { margin: 3px 0 0; width: 17px; height: 17px; accent-color: var(--clay); flex: none; }
.lead .btn { white-space: normal; text-align: center; line-height: 1.25; padding: 12px 22px; }
.lead .btn[disabled] { opacity: .6; cursor: progress; }
.lead-fine { margin-top: 12px !important; text-align: center; font-size: 13px; color: #A99283; }
.lead-msg { margin-top: 10px !important; text-align: center; font-size: 14px; color: #F0A58C; min-height: 1px; }
.lead-done p { color: #DCCABE; }
.lead-done .lead-title { color: var(--paper); }
.demo-note { margin-top: 14px !important; padding: 12px 14px; border-radius: 12px; background: rgba(196, 122, 90, .14); border: 1px dashed rgba(231, 163, 131, .5); font-size: 14px; line-height: 1.5; }

/* ---------- progress ---------- */
.ba { display: grid; grid-template-columns: minmax(0, 1.52fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 16px; margin-top: 56px; }
.ba figure { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; background: var(--paper-2); }
.ba img { width: 100%; height: auto; }
.ba-1 img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.ba-1 { grid-row: 1 / 3; }
.ba figure::after { content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--s, 50%) - 1px); width: 2px; background: var(--paper); }
.ba span { position: absolute; top: 12px; padding: 5px 11px; border-radius: 999px; background: rgba(31, 19, 13, .72); color: #fff; font-size: 11.5px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ba .b { left: 12px; }
.ba .a { left: calc(var(--s, 50%) + 12px); background: var(--clay); color: var(--night); }

/* ---------- about ---------- */
.about { background: var(--paper-2); }
.about-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.about-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: var(--r-lg); }
.about h2 { font-size: clamp(34px, 3.8vw, 54px); }
.about blockquote { margin: 30px 0 26px; padding-left: 22px; border-left: 3px solid var(--clay); font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1.3; color: var(--ink); }
.about-copy > p:not(.label) { color: var(--ink-2); margin-top: 14px; }
.about-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.about-links a { display: inline-flex; align-items: center; gap: 9px; padding: 11px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); text-decoration: none; font-size: 15px; font-weight: 600; transition: border-color .2s; }
.about-links a:hover { border-color: var(--ink); }
.about-links svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 80px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 19px; font-weight: 650; font-stretch: 104%; letter-spacing: -0.01em; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); font-size: 20px; font-weight: 400; transition: transform .3s var(--ease), background .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--ink); color: var(--paper); border-color: var(--ink); }
.faq details p { padding: 0 54px 22px 0; color: var(--ink-2); }

/* ---------- final ---------- */
.final { position: relative; padding: 150px 0; color: #fff; text-align: center; overflow: hidden; background: var(--night); }
.final picture, .final picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.final::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(31, 19, 13, .72), rgba(31, 19, 13, .86)); }
.final picture img { filter: blur(1.5px) saturate(.85); transform: scale(1.03); }
.final-in { position: relative; z-index: 1; }
.final h2 { font-size: clamp(42px, 6vw, 92px); }
.final h2 em { color: var(--clay-light); }
.final p { margin: 22px auto 0; max-width: 520px; font-size: 19px; color: rgba(255, 255, 255, .85); }
.ctas-c { justify-content: center; margin-top: 34px; }

/* ---------- footer ---------- */
.ftr { background: var(--night); color: #CDB8AA; padding: 72px 0 110px; font-size: 15px; }
.ftr-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.wm-light { color: var(--paper); font-size: 26px; }
.ftr-tag { margin-top: 10px !important; font-size: 14px; }
.ftr-nav, .ftr-contact { display: grid; gap: 10px; align-content: start; }
.ftr a { text-decoration: none; }
.ftr-nav a:hover, .ftr-contact a:hover { color: var(--paper); }
.disclaimer { padding: 22px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.disclaimer summary { cursor: pointer; font-weight: 600; color: var(--paper); }
.disclaimer p { margin-top: 14px; font-size: 13px; line-height: 1.6; color: #A99283; max-width: 980px; }
.ftr-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 22px; font-size: 13.5px; }
.proposal a { color: var(--clay-light); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- distintivo de propuesta ---------- */
.badge {
  position: fixed; left: 16px; bottom: 16px; z-index: 60; margin: 0; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 11px; border-radius: 999px; background: rgba(31, 19, 13, .9); color: var(--paper); border: 1px solid rgba(246, 238, 230, .18);
  font-size: 12.5px; font-weight: 600; letter-spacing: .01em; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .6);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); pointer-events: none;
}
.badge span { width: 7px; height: 7px; border-radius: 50%; background: var(--clay); }

/* ---------- reveal ---------- */
.rv.pre { opacity: 0; transform: translateY(26px); }
.rv.in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav { gap: 18px; }
  .nav a:nth-child(n+4) { display: none; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --hdr: 60px; }
  .wrap { padding: 0 20px; }
  .coi { font-size: 16.5px; }
  .nav { display: none; }
  .hdr-in { justify-content: space-between; }
  .wm { font-size: 19px; }

  .hero { padding: 0 0 56px; }
  .hero .wrap { padding: 0; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hero-copy { display: contents; }
  .hero-media { grid-row: 1 / 3; grid-column: 1; min-height: 0; height: min(76svh, 640px); border-radius: 0; }
  .hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(31, 19, 13, 0) 35%, rgba(31, 19, 13, .82) 100%); }
  .hero-card { display: none; }
  .hero-head { grid-row: 2; grid-column: 1; z-index: 1; align-self: end; padding: 0 20px 26px; color: #fff; }
  .hero-head .eyebrow { color: #F4CDB9; }
  .hero-head .dot { background: var(--clay-light); }
  .hero h1 { font-size: clamp(40px, 11.4vw, 60px); margin-top: 12px; }
  .hero h1 em { color: #F0B293; }
  .hero-sub { grid-row: 3; padding: 22px 20px 0; font-size: 17px; }
  .quiz { grid-row: 4; margin: 22px 20px 0; max-width: none; padding: 20px 16px 18px; }
  .quiz-q { font-size: 21px; }
  .quiz-opts button { font-size: 15.5px; }

  .ribbon span { font-size: 16px; gap: 22px; padding-right: 22px; }

  .sec, .guide { padding: 84px 0; }
  .prog, .prog.rev { grid-template-columns: minmax(0, 1fr); gap: 40px; margin-top: 56px; }
  .prog + .prog { margin-top: 96px; }
  .prog.rev .prog-media { order: 0; }
  .prog-media, .prog.rev .prog-media { padding: 0 28px 44px 0; }
  .prog.rev .prog-sheet { left: auto; right: 0; }
  .prog-sheet { width: 52%; }
  .week { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin-right: -20px; padding-right: 20px; scrollbar-width: none; }
  .week::-webkit-scrollbar { display: none; }
  .week li { flex: 0 0 112px; scroll-snap-align: start; }
  .checks { grid-template-columns: minmax(0, 1fr); }
  .phases { flex-direction: column; gap: 14px; }
  .phases li, .phases li:last-child { flex: none; min-width: 0; padding: 0; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 2px 14px; align-items: center; }
  .phases li::before { position: static; height: 8px; width: calc(var(--w) * 11px); grid-column: 1; grid-row: 1 / 3; align-self: center; }
  .phases b, .phases span { grid-column: 2; margin: 0; }

  .guide-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .guide-card { padding: 24px 20px; padding-top: 112px; margin-top: 90px; }
  .guide-cover { width: 160px; top: -76px; left: 20px; }
  .reasons li { font-size: 18px; gap: 16px; }

  .ba { grid-template-columns: minmax(0, 1fr); margin-top: 40px; }
  .ba-1 { grid-row: auto; }
  .ba-1 img { position: static; height: auto; }

  .about-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .about blockquote { font-size: 23px; }
  .faq summary { font-size: 17px; }
  .faq details p { padding-right: 0; }

  .final { padding: 110px 0; }
  .ftr { padding-bottom: 96px; }
  .ftr-top { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  /* a la izquierda y en dos líneas: a la derecha va la insignia "Made in Higgsfield" de la plataforma */
  .badge { left: 12px; bottom: 12px; max-width: 152px; padding: 7px 11px 7px 10px; border-radius: 14px; font-size: 11px; line-height: 1.3; align-items: flex-start; }
  .badge span { flex: none; margin-top: 4px; }
}

@media (max-width: 420px) {
  .btn-sm { padding: 0 14px; font-size: 13.5px; min-height: 40px; }
  .stats b { font-size: 24px; }
  .lead-title { font-size: 23px; }
  .quiz-meta span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ribbon-track, .pulse::after { animation: none; }
  .rv.pre { opacity: 1; transform: none; }
  .quiz-step.enter { animation: none; }
}
