/* Landing Argos & Co — capa propia sobre base.css (sistema del informe) */

.hl { color: var(--brand-text); }
.hero .hl, .about .hl { color: var(--arcilla-clara); }
.wrap.narrow { max-width: 860px; }

/* cabecera con navegación y botón */
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: inherit; opacity: .8; padding: 8px 12px; border-radius: 999px; }
.nav a:hover { opacity: 1; }
.nav .btn-sm { opacity: 1; background: var(--arcilla); color: #fff; font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; padding: 9px 16px; margin-left: 8px; }
.nav .btn-sm:hover { background: #AD4D2B; }
@media screen and (max-width: 719px) { .nav a:not(.btn-sm) { display: none; } }

/* botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 600 17px var(--sans); color: #fff; background: var(--arcilla); border: 0; border-radius: 999px; padding: 17px 30px; text-decoration: none; cursor: pointer; transition: background .2s, transform .2s; box-shadow: 0 10px 30px rgba(196, 90, 53, .28); }
.btn:hover { background: #AD4D2B; transform: translateY(-1px); }
.btn.full { width: 100%; }
.btn.ghost { background: transparent; color: inherit; box-shadow: none; border: 1px solid currentColor; opacity: .85; }
.btn.sm { padding: 10px 18px; font-size: 14px; }
.btn:disabled { opacity: .6; cursor: default; transform: none; }

/* portada */
.hero h1 { font-size: clamp(44px, 7.4vw, 96px); line-height: .95; max-width: 1000px; }
.hero .lede { font-size: clamp(18px, 2vw, 22px); line-height: 1.45; color: #D5E2EA; max-width: 680px; margin: 24px 0 0; }
.badge { display: inline-flex; align-items: center; gap: 12px; padding: 6px 16px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); font-size: 14px; color: #E7EEF1; }
.badge b { font-family: var(--mono); font-weight: 500; color: #fff; }
.avatars { display: flex; }
.avatars img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; border: 2px solid #1F4F6E; margin-left: -8px; }
.avatars img:first-child { margin-left: 0; }
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 32px; margin-top: 48px; align-items: center; }
.vsl { aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: rgba(20, 27, 38, .5); border: 1px solid rgba(255, 255, 255, .22); box-shadow: 0 30px 80px rgba(10, 15, 25, .45); position: relative; }
.vsl iframe { width: 100%; height: 100%; border: 0; display: block; }
.vsl-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; background: radial-gradient(60% 60% at 50% 45%, rgba(42, 106, 140, .5), transparent 70%); }
.vsl-empty .play { width: 72px; height: 72px; border-radius: 50%; background: var(--arcilla); color: #fff; display: grid; place-items: center; padding-left: 4px; box-shadow: 0 0 0 10px rgba(196, 90, 53, .22); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 18px rgba(196, 90, 53, .08); } }
.vsl-k { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #9FC0D2; margin-top: 8px; }
.vsl-t { font-weight: 600; font-size: 18px; }
.hero-nums { display: grid; gap: 1px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--r-lg); overflow: hidden; }
.hero-nums div { background: rgba(20, 27, 38, .38); padding: 16px 20px; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; }
.hero-nums b { font-family: var(--mono); font-weight: 500; font-size: 26px; letter-spacing: -.04em; white-space: nowrap; }
.hero-nums span { font-size: 14px; color: #D5E2EA; line-height: 1.35; }
.hero-side .btn { width: 100%; margin-top: 20px; }
.micro { text-align: center; font-size: 13px; color: #CFE0EA; margin: 12px 0 0; }
@media screen and (max-width: 959px) { .hero-grid { grid-template-columns: 1fr; } }

/* problema */
.pain .pn, .model .pn, .duo-col .pn { font-family: var(--mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-text); }
.pain h3, .model h3 { margin-top: 12px; }

/* método */
.phases { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); margin-top: 56px; }
.phase-line { position: absolute; left: 24px; right: 24px; top: 23px; height: 2px; background: var(--hairline); }
.phase-line .fill { height: 100%; background: linear-gradient(90deg, var(--arcilla), var(--s-data)); transform-origin: 0 50%; transform: scaleX(0); transition: transform 2s var(--ease); }
.phases.in .phase-line .fill { transform: scaleX(1); }
.phase { position: relative; }
.phase .dot { width: 48px; height: 48px; border-radius: 50%; background: var(--surface); border: 2px solid var(--arcilla); display: grid; place-items: center; font-family: var(--mono); font-size: 14px; color: var(--brand-text); position: relative; z-index: 1; }
.phase h3 { margin-top: 20px; font-size: 24px; }
.phase p { margin: 8px 0 0; color: var(--ink-muted); font-size: 15px; line-height: 1.55; }
@media screen and (max-width: 859px) {
  .phases { grid-template-columns: 1fr; gap: 28px; padding-left: 68px; }
  .phase-line { left: 23px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .phase-line .fill { transform-origin: 50% 0; transform: scaleY(0); }
  .phases.in .phase-line .fill { transform: scaleY(1); }
  .phase .dot { position: absolute; left: -68px; top: -4px; }
  .phase h3 { margin-top: 6px; }
}

/* casos */
.cases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.case { position: relative; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: var(--tinta); color: #fff; isolation: isolate; }
.case img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); z-index: -2; }
.case:hover img { transform: scale(1.05); }
.case::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 27, 38, 0) 35%, rgba(20, 27, 38, .55) 60%, rgba(20, 27, 38, .95) 100%); }
.case-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; }
.case-niche { display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; background: var(--cal); color: var(--tinta); padding: 4px 8px; border-radius: 6px; }
.case-num { display: block; font-family: var(--mono); font-weight: 500; font-size: clamp(28px, 3vw, 38px); letter-spacing: -.05em; line-height: 1; margin-top: 10px; color: #fff; }
.case-num small { font-size: .45em; letter-spacing: 0; color: var(--arcilla-clara); margin-left: 4px; }
.case-ctx { display: block; font-size: 13px; line-height: 1.4; color: #D5E2EA; margin-top: 8px; }
.case-handle { display: block; font-family: var(--mono); font-size: 11px; color: #9FC0D2; margin-top: 8px; }
.case.logo-case img { object-fit: contain; padding: 22%; background: #16302D; }
@media screen and (max-width: 959px) { .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.feature { margin-top: 24px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: center; background: var(--grad-card); border: 1px solid #D6E2E8; border-radius: 28px; padding: 36px; }
.feature-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; margin-bottom: 18px; }
.feature h3 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.035em; margin-top: 10px; }
.feature-nums { display: flex; gap: 32px; margin-top: 24px; }
.feature-nums b { display: block; font-family: var(--mono); font-weight: 500; font-size: 30px; letter-spacing: -.04em; color: var(--s-base); }
.feature-nums span { font-size: 13px; color: var(--ink-muted); }
@media screen and (max-width: 859px) { .feature { grid-template-columns: 1fr; padding: 24px; } }

/* piezas */
.work { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.work figure { margin: 0; }
.work img { width: 100%; display: block; border-radius: 16px; border: 1px solid var(--hairline); box-shadow: 0 18px 40px rgba(20, 27, 38, .1); background: #fff; }
.work-phone { grid-column: span 2; }
.work-phone img { aspect-ratio: 420 / 756; object-fit: cover; object-position: top; border-radius: 28px; border: 6px solid var(--tinta); }
.work-wide { grid-column: span 3; }
.work-wide img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.work figcaption { font-size: 14px; color: var(--ink-muted); margin-top: 12px; line-height: 1.4; }
.work figcaption b { display: block; color: var(--ink); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.chips span { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; border: 1px solid var(--hairline); background: var(--surface-raised); border-radius: 999px; padding: 7px 14px; }
@media screen and (max-width: 719px) { .work { grid-template-columns: 1fr 1fr; } .work-phone { grid-column: span 1; } .work-phone:nth-child(3) { display: none; } .work-wide { grid-column: span 2; } }

/* tú / nosotros */
.duo { display: grid; grid-template-columns: 1fr 1.5fr; gap: var(--gutter); margin-top: 40px; }
.duo-col { border-radius: var(--r-lg); padding: 28px; background: var(--surface-raised); border: 1px solid var(--hairline); }
.duo-col.us { background: var(--tinta); color: var(--cal); border-color: transparent; background-image: radial-gradient(70% 90% at 100% 0%, rgba(42, 106, 140, .5), transparent 70%); }
.duo-col.us .pn { color: var(--arcilla-clara); }
.duo-col ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.duo-col li { position: relative; padding-left: 24px; font-size: 16px; line-height: 1.5; }
.duo-col li::before { content: ""; position: absolute; left: 2px; top: .66em; width: 12px; height: 2px; background: var(--arcilla); border-radius: 2px; }
@media screen and (max-width: 719px) { .duo { grid-template-columns: 1fr; } }

.foot-note { margin: 20px 0 0; color: var(--ink-muted); font-size: 16px; }

/* para ti */
.check { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.check li { position: relative; padding-left: 32px; line-height: 1.5; }
.check li::before { position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 600; }
.check.yes li::before { content: "✓"; background: #DCE9F1; color: #164E70; }
.check.no li::before { content: "✕"; background: #F5E1D8; color: #8E3A1D; }

/* sobre nosotros */
.about { position: relative; margin-top: 112px; padding: 112px 0; background: linear-gradient(180deg, #141B26 0%, #16283A 55%, #1F4F6E 100%); color: var(--cal); overflow: hidden; }
.about .painting { position: absolute; inset: 0; pointer-events: none; }
.about .painting img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 55%; opacity: .16; filter: grayscale(1); mix-blend-mode: luminosity; }
.about-inner { position: relative; display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: center; }
.about-photo { aspect-ratio: 4 / 5; border-radius: 24px; border: 1px dashed rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .05); display: grid; place-items: center; }
.about-photo span { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #9FC0D2; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; filter: grayscale(1); }
.about .eyebrow { color: var(--arcilla-clara); }
.about h2 { font-size: clamp(30px, 4vw, 48px); }
.about p { font-size: 17px; line-height: 1.65; color: #D5E2EA; margin: 18px 0 0; max-width: 640px; }
.about p b { color: #fff; }
.about .sign { font-size: 24px; font-weight: 600; letter-spacing: -.02em; color: #fff; }
.about .sign span { color: var(--arcilla-clara); }
@media screen and (max-width: 859px) { .about-inner { grid-template-columns: 1fr; } .about-photo { max-width: 280px; } }

/* FAQ */
.faq { margin-top: 36px; border-top: 1px solid var(--hairline); }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 22px; color: var(--brand-text); transition: transform .3s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--ink-muted); font-size: 16px; line-height: 1.6; max-width: 720px; }

/* aplicar */
.apply { margin-top: 112px; padding: 112px 0; background: radial-gradient(70% 60% at 85% 20%, rgba(42, 106, 140, .45), transparent 70%), var(--tinta); color: var(--cal); }
.apply .eyebrow { color: var(--arcilla-clara); }
.apply-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.apply-side p { color: #D5E2EA; font-size: 18px; line-height: 1.55; }
.steps { list-style: none; counter-reset: s; margin: 32px 0 0; padding: 0; display: grid; gap: 18px; }
.steps li { counter-increment: s; position: relative; padding-left: 52px; }
.steps li::before { content: "0" counter(s); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--arcilla-clara); color: var(--arcilla-clara); display: grid; place-items: center; font-family: var(--mono); font-size: 12px; }
.steps b { display: block; font-weight: 600; }
.steps span { display: block; font-size: 15px; color: #B9C7D1; margin-top: 2px; }
.apply-card { background: var(--cal); color: var(--ink); border-radius: 28px; padding: 32px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.progress-steps { display: flex; gap: 6px; margin-bottom: 20px; }
.progress-steps span { flex: 1; height: 4px; border-radius: 4px; background: var(--hairline); transition: background .3s; }
.progress-steps span.on { background: var(--arcilla); }
.step { display: none; border: 0; padding: 0; margin: 0; min-width: 0; }
.step.on { display: grid; gap: 16px; animation: stepIn .5s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.step legend { font-size: 22px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 4px; padding: 0; }
.step label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.step .opt { font-weight: 400; color: var(--ink-muted); }
.step input, .step select, .step textarea { font: 16px var(--sans); color: var(--ink); background: #fff; border: 1px solid var(--hairline); border-radius: 12px; padding: 13px 14px; width: 100%; }
.step textarea { resize: vertical; }
.step input:focus, .step select:focus, .step textarea:focus { outline: 2px solid var(--s-data); outline-offset: 1px; border-color: transparent; }
.step .invalid { border-color: var(--arcilla); background: #FFF6F2; }
.step .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; color: var(--ink-muted); }
.step .consent input { width: auto; margin-top: 3px; accent-color: var(--arcilla); }
.step .consent a { color: var(--brand-text); }
.step .row { display: flex; gap: 12px; justify-content: space-between; flex-wrap: wrap; }
.step .row .btn:last-child { flex: 1; }
.form-msg { margin: 14px 0 0; font-size: 14px; color: #8E3A1D; }
.booking { min-height: 520px; }
.booking .done { text-align: center; padding: 24px 8px; }
.booking .done h3 { font-size: 26px; letter-spacing: -.03em; }
.booking .done p { color: var(--ink-muted); }
@media screen and (max-width: 959px) { .apply-grid { grid-template-columns: 1fr; gap: 40px; } .apply-card { padding: 22px; } }

/* pie */
.legal-links { display: flex; gap: 20px; flex-wrap: wrap; }
.legal-links a { color: #8E8778; }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }

/* cookies */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px; margin: 0 auto; background: var(--tinta); color: var(--cal); border-radius: 18px; padding: 16px 18px; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.cookie p { margin: 0; font-size: 14px; flex: 1 1 260px; }
.cookie div { display: flex; gap: 8px; }

/* páginas interiores (gracias, legales) */
.page { padding: 140px 0 96px; }
.page h1 { font-size: clamp(36px, 6vw, 64px); line-height: 1; letter-spacing: -.05em; font-weight: 600; margin: 14px 0 0; }
.page .prose { max-width: 760px; margin-top: 32px; }
.page .prose h2 { font-size: 22px; letter-spacing: -.02em; margin: 36px 0 0; }
.page .prose p, .page .prose li { color: var(--ink-muted); line-height: 1.65; }
.todo { background: #FFF1C2; padding: 0 4px; border-radius: 4px; color: var(--ink); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* gracias */
.thanks-top { max-width: 760px; }
.check-big { width: 64px; height: 64px; border-radius: 50%; background: #DCE9F1; color: #164E70; display: grid; place-items: center; font-size: 30px; font-weight: 600; margin-bottom: 20px; animation: pop .6s var(--ease); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.thanks-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: var(--gutter); margin-top: 40px; align-items: start; }
.thanks .vsl { background: var(--tinta); color: var(--cal); }
.prep { list-style: none; counter-reset: s; margin: 16px 0 24px; padding: 0; display: grid; gap: 16px; }
.prep li { counter-increment: s; position: relative; padding-left: 44px; }
.prep li::before { content: "0" counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--arcilla); color: var(--brand-text); display: grid; place-items: center; font-family: var(--mono); font-size: 11px; }
.prep b { display: block; }
.prep span { display: block; font-size: 14px; color: var(--ink-muted); }
@media screen and (max-width: 859px) { .thanks-grid { grid-template-columns: 1fr; } }

/* ?static: capturas */
.static *, .static *::before, .static *::after { animation: none !important; transition: none !important; }
.static .hero { min-height: 900px; }
.static .bar-top { position: absolute; }

[hidden] { display: none !important; }
.case-num { white-space: nowrap; }
.case-num small { display: block; font-size: .42em; margin: 4px 0 0; }
.case.logo-case img { object-fit: contain; object-position: 50% 18%; padding: 12% 28% 52%; }
.avatars { margin-right: 2px; flex: none; }
@media screen and (max-width: 519px) { .badge { border-radius: 18px; align-items: center; font-size: 13px; } }

/* v2: estructura B2B en 3 bloques */
.center { text-align: center; margin-left: auto; margin-right: auto; }
h2.center, .intro.center { max-width: 820px; }
.hero-inner.centered { align-items: center; text-align: center; }
.hero-inner.centered h1 { margin-left: auto; margin-right: auto; max-width: 960px; font-size: clamp(42px, 6.6vw, 88px); }
.hero-inner.centered .lede { margin-left: auto; margin-right: auto; }
.vsl-big { width: 100%; max-width: 920px; margin: 44px auto 0; }
.hero-cta { margin-top: 32px; display: flex; flex-direction: column; align-items: center; }
.hero-cta .btn { min-width: 320px; }
.trusted { margin-top: 56px; width: 100%; }
.trusted p { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #CFE0EA; margin: 0 0 14px; }
.trusted-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--tinta); font-size: 13px; font-weight: 500; }
.pill img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.results .feature { margin-top: 48px; }
.results .cases { margin-top: 24px; }
.points { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 20px; }
.points li { position: relative; padding-left: 36px; }
.points li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: rgba(224, 122, 85, .18); color: var(--arcilla-clara); display: grid; place-items: center; font-size: 13px; font-weight: 600; }
.points b { display: block; font-weight: 600; color: #fff; }
.points span { display: block; font-size: 15px; color: #B9C7D1; margin-top: 3px; line-height: 1.5; }
.apply { margin-top: 96px; }
@media screen and (max-width: 519px) { .hero-cta .btn { min-width: 0; width: 100%; } }
.trusted p { color: #2B3A4A; }

/* v3: portada compacta (título, subtítulo, vídeo y botón en la primera pantalla) */
.centered-bar .wrap { justify-content: center; }
.hero { min-height: 0; }
.hero-inner { padding-top: 96px; padding-bottom: 40px; }
.hero-inner.centered h1 { font-size: clamp(34px, 4.4vw, 62px); line-height: 1.04; letter-spacing: -.045em; max-width: 1040px; margin-top: 22px; }
.hero-inner.centered .lede { font-size: clamp(16px, 1.5vw, 19px); margin-top: 16px; max-width: 760px; }
.vsl-big { max-width: 800px; margin-top: 28px; }
.hero-cta { margin-top: 24px; }
.hero-cta .btn { min-width: 280px; }
.badge b { display: inline-block; min-width: 7.2ch; text-align: right; }
.badge { position: relative; overflow: hidden; }
.badge::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%); transform: translateX(-100%); }
.badge.done::after { animation: shine 1.2s var(--ease) forwards; }
@keyframes shine { to { transform: translateX(100%); } }

/* cinta "Han confiado en nosotros" */
.trusted { position: relative; z-index: 1; margin: 8px 0 56px; text-align: center; }
.trusted p { color: #2B3A4A; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 10px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.pill { flex: none; padding: 6px 16px 6px 6px; font-size: 14px; box-shadow: 0 4px 14px rgba(20, 27, 38, .12); }
.pill img { width: 30px; height: 30px; }
.results { padding-top: 72px; }
/* el vídeo se adapta al alto de la pantalla para que el botón quede siempre visible */
.hero-inner { padding-top: 84px; }
.vsl-big { width: min(100%, 780px, calc((100svh - 470px) * 16 / 9)); min-width: min(100%, 460px); margin-top: 24px; }
.hero-cta .micro { color: rgba(20, 27, 38, .78); }
@media screen and (max-width: 719px) { .vsl-big { width: 100%; min-width: 0; } }

/* v4: calendario de Cal.com en lugar del formulario */
.apply h2.center { max-width: 820px; }
.apply-sub { color: #D5E2EA; font-size: 18px; line-height: 1.55; max-width: 660px; margin: 16px auto 0; }
.cal-card { margin: 40px auto 0; max-width: 1040px; background: #fff; border-radius: 28px; padding: 8px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); overflow: hidden; }
.cal-inline { min-height: 640px; width: 100%; overflow: auto; border-radius: 22px; position: relative; }
.cal-loading { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 14px; color: var(--ink-muted); font-size: 14px; }
.cal-loading span { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--hairline); border-top-color: var(--arcilla); animation: spin 1s linear infinite; }
.cal-inline.ready .cal-loading { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@media screen and (max-width: 719px) { .cal-card { padding: 4px; border-radius: 20px; } }

/* v5: fichas de caso con protagonismo (estilo Skool Scaling) */
.cases { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 980px; margin-left: auto; margin-right: auto; }
.story { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: center; background: var(--surface-raised); border: 1px solid var(--hairline); border-radius: 28px; padding: 18px 32px 18px 18px; box-shadow: 0 20px 50px rgba(20, 27, 38, .06); }
.story-photo { position: relative; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: var(--tinta); }
.story-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.story:hover .story-photo img { transform: scale(1.04); }
.story-photo .case-niche { position: absolute; left: 12px; bottom: 12px; }
.story.logo-case .story-photo { background: #16302D; }
.story.logo-case .story-photo img { object-fit: contain; padding: 22%; }
.story-who { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 15px; }
.story-who b { font-weight: 600; }
.story-who span { color: var(--ink-muted); }
.story-who span::before { content: "|"; margin-right: 10px; color: var(--hairline); }
.story h3 { font-size: clamp(24px, 2.8vw, 34px); line-height: 1.12; letter-spacing: -.035em; margin-top: 12px; }
.story-text { margin: 14px 0 0; color: var(--ink-muted); font-size: 16px; line-height: 1.6; max-width: 580px; }
.story-video { margin-top: 18px; aspect-ratio: 16 / 9; max-width: 460px; border-radius: 16px; overflow: hidden; background: var(--tinta); }
.story-video iframe { width: 100%; height: 100%; border: 0; display: block; }
.story-handle { margin: 16px 0 0; font-family: var(--mono); font-size: 12px; color: var(--ink-muted); }
@media screen and (max-width: 719px) {
  .story { grid-template-columns: 1fr; padding: 14px 14px 22px; gap: 18px; }
  .story-photo { aspect-ratio: 16 / 11; }
  .story-body { padding: 0 6px; }
}

/* pie mínimo: solo el logo centrado */
footer.foot-min { padding: 56px 0 40px; }
footer.foot-min .wrap { flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; }
footer.foot-min .logo-cal { height: 30px; }
footer.foot-min .legal-links { justify-content: center; font-size: 12px; }

/* ============ TEMAS: ?tema=azul (por defecto) | arcilla | crema ============ */

/* ---- arcilla ---- */
.theme-arcilla .hero { background: linear-gradient(180deg, #7E321B 0%, #A8452A 30%, #C45A35 58%, #DB8A67 82%, #F3EEE4 100%); }
.theme-arcilla .hero .painting img { mix-blend-mode: multiply; opacity: .32; filter: grayscale(1) contrast(1.1) brightness(1.15); }
.theme-arcilla .hero .glow.g1 { background: #E07A55; opacity: .45; }
.theme-arcilla .hero .glow.g2 { background: #141B26; opacity: .18; }
.theme-arcilla .hero .hl { color: var(--tinta); }
.theme-arcilla .hero .lede { color: #FBE3D8; }
.theme-arcilla .badge { background: rgba(20, 27, 38, .18); border-color: rgba(255, 255, 255, .28); }
.theme-arcilla .avatars img { border-color: #B04E2C; }
.theme-arcilla .vsl { background: rgba(20, 27, 38, .35); border-color: rgba(255, 255, 255, .3); }
.theme-arcilla .vsl-empty { background: radial-gradient(60% 60% at 50% 45%, rgba(20, 27, 38, .35), transparent 70%); }
.theme-arcilla .vsl-empty .play, .theme-arcilla .hero .btn { background: var(--tinta); box-shadow: 0 10px 30px rgba(20, 27, 38, .3); }
.theme-arcilla .vsl-empty .play { box-shadow: 0 0 0 10px rgba(20, 27, 38, .2); }
.theme-arcilla .hero .btn:hover { background: #26303F; }
.theme-arcilla .vsl-k { color: #FBE3D8; }
.theme-arcilla .apply { background: radial-gradient(70% 60% at 85% 20%, rgba(224, 122, 85, .5), transparent 70%), linear-gradient(180deg, #A8452A, #7E321B); }
.theme-arcilla .apply .eyebrow { color: #FBE3D8; }
.theme-arcilla .apply-sub { color: #FBE3D8; }
.theme-arcilla .story .hl, .theme-arcilla .results .eyebrow { color: var(--brand-text); }

/* ---- crema ---- */
.theme-crema .hero { background: linear-gradient(180deg, #EFE7D8 0%, #F3EEE4 70%); color: var(--ink); }
.theme-crema .hero .painting img { mix-blend-mode: multiply; opacity: .2; filter: grayscale(1) contrast(1.05) brightness(1.08); }
.theme-crema .hero .glow.g1 { background: #9FC0D2; opacity: .35; }
.theme-crema .hero .glow.g2 { background: #E07A55; opacity: .16; }
.theme-crema .hero .hl { color: var(--brand-text); }
.theme-crema .hero .lede { color: var(--ink-muted); }
.theme-crema .grain::after { opacity: .04; }
.theme-crema .badge { background: rgba(255, 255, 255, .7); border-color: var(--hairline); color: var(--ink-muted); }
.theme-crema .badge b { color: var(--ink); }
.theme-crema .avatars img { border-color: #fff; }
.theme-crema .vsl { background: var(--tinta); border-color: transparent; color: var(--cal); box-shadow: 0 30px 70px rgba(20, 27, 38, .22); }
.theme-crema .vsl-empty { background: radial-gradient(60% 60% at 50% 45%, rgba(42, 106, 140, .45), transparent 70%); }
.theme-crema .hero-cta .micro, .theme-crema .trusted p { color: var(--ink-muted); }
.theme-crema .bar-top:not(.solid):not(.on-dark) .logo.light { display: none; }
.theme-crema .bar-top:not(.solid):not(.on-dark) .logo.dark { display: block; }
.theme-crema .apply { background: var(--surface-sunken); color: var(--ink); }
.theme-crema .apply .eyebrow { color: var(--brand-text); }
.theme-crema .apply-sub { color: var(--ink-muted); }
.theme-crema .cal-card { box-shadow: 0 30px 70px rgba(20, 27, 38, .12); }

/* v6: crema por defecto; final en degradado cal → arena → tinta, sin cortes */
.theme-crema .apply {
  margin-top: 0; padding: 120px 0 160px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-sunken) 22%, var(--surface-sunken) 58%, #B9BBB3 74%, #4F6475 88%, var(--tinta) 100%);
}
.theme-crema .results { padding-bottom: 0; }
.theme-crema footer.foot-min { border-top: 0; padding-top: 24px; }

/* v7: la portada se funde con los casos (sin corte) */
.theme-crema .hero { background: linear-gradient(180deg, #E8DFCD 0%, #EFE8DA 45%, var(--surface) 100%); }
.hero-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 260px; z-index: 0; pointer-events: none; background: linear-gradient(180deg, rgba(243, 238, 228, 0) 0%, var(--surface) 100%); }
.theme-azul .hero-fade, .theme-arcilla .hero-fade { display: none; }
.theme-crema .grain::after { -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
.theme-crema .hero .glow { display: none; }
.theme-crema .results { padding-top: 40px; }
