/* ===========================================================================
   Integratec — Landing styles
   Cascade-based: una clase por sección, hijos estilizados por tipo de elemento.
   =========================================================================== */

/* ── Reset ─────────────────────────────────────────────────────────────── */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html, body { background: var(--bg); color: var(--ink); font-family: 'Inter', system-ui, -apple-system, sans-serif; font-feature-settings: 'cv11', 'ss01'; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; }

/* ── Utils globales ────────────────────────────────────────────────────── */
.shell { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 768px) { .shell { padding: 0 20px; } }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease-out, transform .6s ease-out; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

.btn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; font-size: 15px; font-weight: 600; border-radius: 8px; transition: all .15s ease; cursor: pointer; }
.btn.primary { background: var(--cta); color: #fff; border: 1px solid var(--cta); box-shadow: var(--sh-subtle), inset 0 1px 0 rgba(255, 255, 255, .08); }
.btn.primary:hover { background: var(--cta-hover); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(26, 23, 21, .22); }
.btn.ghost { background: transparent; color: var(--ink-2); border: 1px solid var(--line-2); }
.btn.ghost:hover { background: var(--bg-2); }
.btn.lg { padding: 14px 28px; font-size: 16px; }

.kicker { display: inline-flex; align-items: center; gap: 8px; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; color: var(--brand-deep); margin-bottom: 18px; }
.kicker::before { content: ""; width: 6px; height: 6px; background: var(--brand); border-radius: 50%; }

/* ===========================================================================
   HEADER + NAV (sticky)
   =========================================================================== */
header.site { position: sticky; top: 0; z-index: 50; background: rgba(252, 252, 253, .78); backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%); border-bottom: 1px solid var(--line); }
header.site nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 32px; position: relative; }
.logo { display: flex; align-items: center; flex-shrink: 0; color: var(--ink); }
.logo img { display: block; height: 38px; width: auto; }

header.site .links { display: flex; align-items: center; gap: 2px; }
header.site .links > a,
header.site .links > [data-mega] > button { display: inline-flex; align-items: center; gap: 5px; font-size: 16px; font-weight: 500; color: var(--ink-2); padding: 9px 14px; border-radius: 7px; transition: all .15s; letter-spacing: -.005em; cursor: pointer; background: none; border: 0; }
header.site .links > a:hover,
header.site .links > [data-mega] > button:hover { color: var(--ink); background: rgba(47, 72, 88, .05); }
header.site .links > [data-mega] > button > svg { width: 11px; height: 11px; transition: transform .2s; opacity: .6; }
header.site .links > [data-mega] { position: static; }
header.site .links > [data-mega].is-open > button { color: var(--ink); background: rgba(47, 72, 88, .06); }
header.site .links > [data-mega].is-open > button > svg { transform: rotate(180deg); }

header.site .actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }

/* ── Language switch (ES/EN) ──────────────────────────────────────────── */
header.site .lang-switch { display: flex; align-items: center; gap: 5px; margin-right: 8px; padding-right: 8px; border-right: 1px solid var(--line-2); font-size: 13px; font-weight: 600; letter-spacing: .01em; }
header.site .lang-switch__link { color: var(--ink-2); opacity: .5; transition: opacity .15s; }
header.site .lang-switch__link:hover { opacity: .85; }
header.site .lang-switch__link.is-active { color: var(--ink); opacity: 1; pointer-events: none; cursor: default; }
header.site .lang-switch__sep { color: var(--line-2); font-weight: 400; }
@media (max-width: 640px) { header.site .lang-switch { margin-right: 4px; padding-right: 6px; } }

/* ── Mega menu ─────────────────────────────────────────────────────────── */
.mega { position: absolute; top: calc(100% + 10px); left: 0; right: 0; width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 24px 60px -12px rgba(15, 30, 40, .18), 0 8px 20px -8px rgba(15, 30, 40, .08); opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .18s, transform .18s; z-index: 60; overflow: hidden; }
[data-mega].is-open > .mega { opacity: 1; pointer-events: auto; transform: translateY(0); }

.mega > .grid { display: grid; grid-template-columns: 1.15fr 1fr 1.15fr 1.15fr 1fr; padding: 32px 16px; }
.mega .col { padding: 0 22px; border-right: 1px solid var(--line); }
.mega .col:last-child { border-right: 0; }
.mega .col h5 { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 15.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); margin-bottom: 8px; padding: 0 12px; line-height: 1.2; }
.mega .col p { font-size: 13px; color: var(--muted); padding: 0 12px; margin-bottom: 14px; line-height: 1.45; }
.mega .col hr { border: 0; height: 1px; background: var(--line); margin: 16px 10px; }

.mega .col ul a { display: flex; gap: 12px; padding: 8px 12px; border-radius: 8px; transition: background .12s; align-items: center; }
.mega .col ul a:hover { background: #f5f7f8; }
.mega .col ul i { width: 32px; height: 32px; border-radius: 8px; background: #eef2f5; display: flex; align-items: center; justify-content: center; color: #506f80; flex-shrink: 0; font-style: normal; }
.mega .col ul i svg { width: 16px; height: 16px; }
.mega .col ul strong { font-size: 14px; font-weight: 600; color: var(--ink); letter-spacing: -.005em; display: flex; align-items: center; gap: 6px; line-height: 1.3; }
.mega .col ul strong small { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; padding: 2px 6px; border-radius: 3px; background: var(--bg-2); color: var(--muted); font-weight: 600; }

/* Categorías por sub-sección — color del h5 + del icono del item */
.mega .des h5 { color: var(--m-des); }
.mega .sat h5 { color: var(--m-sat); }
.mega .reclu h5 { color: var(--m-reclu); }
.mega .cap h5 { color: var(--m-cap); }
.mega .admin h5 { color: var(--m-admin); }
.mega .nom h5 { color: var(--m-nom); }
.mega .normativas h5 { color: var(--m-norm); }
.mega .des  ul i { background: var(--m-des-soft);   color: var(--m-des); }
.mega .sat  ul i { background: var(--m-sat-soft);   color: var(--m-sat); }
.mega .reclu ul i { background: var(--m-reclu-soft); color: var(--m-reclu); }
.mega .cap  ul i { background: var(--m-cap-soft);   color: var(--m-cap); }
.mega .admin ul i { background: var(--m-admin-soft); color: var(--m-admin); }
.mega .nom  ul i { background: var(--m-nom-soft);   color: var(--m-nom); }
.mega .normativas ul i { background: var(--m-norm-soft); color: var(--m-norm); }

/* Soon items: dasheado y muted */
.mega li.soon i { background: repeating-linear-gradient(135deg, #fff 0, #fff 4px, #eef2f5 4px, #eef2f5 5px) !important; border: 1px dashed var(--line-2); color: var(--muted) !important; }
.mega li.soon strong { color: var(--muted); }

/* Integraciones grid */
.mega .integ ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; padding: 0 10px; }
.mega .integ a { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 7px; background: #fff; transition: all .12s; font-size: 12.5px; font-weight: 500; color: var(--ink); letter-spacing: -.005em; }
.mega .integ a:hover { border-color: var(--ink-2); background: #fafbfc; }
.mega .integ svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--ink-2); }

/* Mega footer */
.mega > footer { display: flex; justify-content: space-between; align-items: center; padding: 16px 32px; border-top: 1px solid var(--line); background: #fafbfc; }
.mega > footer p { font-size: 13.5px; color: var(--muted); }
.mega > footer p strong { color: var(--ink); font-weight: 600; }
.mega > footer a { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); padding: 8px 14px; border-radius: 8px; transition: all .15s; }
.mega > footer a:hover { background: var(--ink); color: #fff; }
.mega > footer svg { width: 12px; height: 12px; }

/* ===========================================================================
   HERO
   =========================================================================== */
.hero { padding: 38px 0 0; position: relative; overflow-x: clip; text-align: center; }
.hero::after { content: ""; position: absolute; top: -200px; left: 50%; transform: translateX(-50%); width: 900px; height: 600px; background: radial-gradient(ellipse, var(--brand-soft), transparent 60%); opacity: .85; pointer-events: none; }
.hero > .shell > header { position: relative; z-index: 1; max-width: 980px; margin: 0 auto; }

.hero .triad { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 38px; }
.hero .triad span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; background: #fff; border: 1px solid var(--line-2); border-radius: 999px; box-shadow: 0 1px 2px rgba(15, 30, 40, .05); font-size: 13px; font-weight: 500; color: var(--ink); letter-spacing: -.005em; }
.hero .triad span i { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; font-style: normal; }
.hero .triad span i svg { width: 12px; height: 12px; }
.hero .triad span:nth-of-type(1) i { background: #f0a66c; }
.hero .triad span:nth-of-type(2) i { background: #6cc98e; }
.hero .triad span:nth-of-type(3) i { background: #9782e5; }
.hero .triad em { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 13px; color: var(--muted); font-weight: 400; font-style: normal; }

.hero h1 { font-weight: 500; font-size: clamp(40px, 5vw, 68px); line-height: 1; letter-spacing: -.04em; margin-bottom: 24px; text-wrap: balance; }
.hero h1 em { font-style: normal; background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero header > p { font-size: 19px; line-height: 1.55; color: var(--muted); max-width: 640px; margin: 0 auto 36px; font-weight: 600; }

.hero form { display: flex; background: #fff; border: 1px solid var(--line-2); border-radius: 14px; padding: 6px; box-shadow: 0 4px 16px -4px rgba(0, 0, 0, .08); max-width: 540px; margin: 0 auto; transition: all .2s; }
.hero form:focus-within { border-color: var(--cta); box-shadow: 0 0 0 4px var(--cta-soft); }
.hero form input { flex: 1; border: 0; outline: 0; background: transparent; padding: 14px 18px; font-size: 16px; font-family: inherit; color: var(--ink); min-width: 0; }
.hero form input::placeholder { color: var(--muted); font-size: 16px; font-weight: 600; }
.hero form button { background: var(--cta); color: #fff; border: 0; padding: 0 26px; font-size: 17px; font-weight: 700; border-radius: 10px; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: background .15s; white-space: nowrap; letter-spacing: -.005em; }
.hero form button:hover { background: var(--cta-hover); }

/* Visual: stack de mockups */
.hero .visual { margin-top: 40px; position: relative; max-width: 1180px; margin-left: auto; margin-right: auto; }
.hero .stack { display: flex; align-items: flex-start; justify-content: center; padding: 24px 0 90px; min-height: 380px; }
.hero .stack figure { margin: 0; flex-shrink: 0; max-width: 440px; transition: transform .5s; }
.hero .stack figure img { display: block; width: 100%; height: auto; border-radius: 0 0 14px 14px; }
.hero .stack figure:nth-of-type(2) { z-index: 3; transform: translateY(70px); margin: 0 -100px; filter: drop-shadow(0 30px 40px rgba(24, 24, 27, .14)) drop-shadow(0 6px 14px rgba(24, 24, 27, .08)); position: relative; }
.hero .stack figure:nth-of-type(odd) { z-index: 1; filter: drop-shadow(0 22px 32px rgba(24, 24, 27, .10)) drop-shadow(0 4px 10px rgba(24, 24, 27, .06)); }

@media (max-width: 1100px) {
	.hero .stack figure:nth-of-type(2) { max-width: 340px; margin: 0 -70px; transform: translateY(60px); }
	.hero .stack figure:nth-of-type(odd) { max-width: 400px; }
}
@media (max-width: 900px) {
	.hero .stack { padding: 20px 8px 60px; min-height: 280px; }
	.hero .stack figure:nth-of-type(2) { max-width: 50%; margin: 0 -14%; transform: translateY(40px); }
	.hero .stack figure:nth-of-type(odd) { max-width: 60%; }
}
@media (max-width: 640px) {
	.hero .stack figure:nth-of-type(odd) { display: none; }
	.hero .stack figure:nth-of-type(2) { max-width: 100%; margin: 0; transform: none; }
}

/* Floats */
.hero .float { position: absolute; left: 8px; top: 80px; background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; box-shadow: 0 16px 36px -14px rgba(24, 24, 27, .28); display: flex; align-items: center; gap: 10px; z-index: 3; animation: floatA 5s ease-in-out infinite; text-align: left; }
.hero .float:nth-of-type(2) { left: auto; right: 8px; top: 32px; animation: floatB 4.5s ease-in-out infinite; }
.hero .float i { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; background: var(--ink); flex-shrink: 0; font-style: normal; }
.hero .float:nth-of-type(2) i { background: var(--brand); color: #1a1715; }
.hero .float strong { font-size: 13.5px; font-weight: 700; display: block; color: var(--ink); }
.hero .float small { font-size: 11.5px; color: var(--muted); }
@keyframes floatA { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes floatB { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
@media (max-width: 780px) { .hero .float { display: none; } }

/* ===========================================================================
   LOGOS marquee
   =========================================================================== */
.logos { padding: 40px 0 0; position: relative; }
.hero .logos { padding: 80px 0 0; }
.hero .logos .shell { padding: 0; }
.hero-metrics { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 40px; margin: 26px auto 0; position: relative; z-index: 1; }
.hero-metrics > div { display: flex; align-items: baseline; gap: 7px; }
.hero-metrics dt { font-weight: 700; font-size: 20px; line-height: 1; letter-spacing: -.02em; color: var(--ink); font-feature-settings: "tnum"; }
.hero-metrics dd { margin: 0; font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: -.005em; }
.logos .shell { overflow: hidden; mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.4) 6%, #000 16%, #000 84%, rgba(0,0,0,.4) 94%, transparent 100%); -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.4) 6%, #000 16%, #000 84%, rgba(0,0,0,.4) 94%, transparent 100%); }
.logos .track { display: flex; align-items: center; animation: logoScroll 32s linear infinite; width: max-content; }
.logos img { height: 42px; width: auto; flex-shrink: 0; margin-right: 64px; filter: grayscale(1) brightness(0); opacity: .45; transition: opacity .25s, filter .25s; }
.logos img:hover { filter: grayscale(0); opacity: 1; }
@keyframes logoScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logos .track { animation: none; } }

/* ===========================================================================
   MÉTRICAS
   =========================================================================== */
.metrics { padding: 48px 0 var(--section-y); }
.metrics dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1080px; margin: 0 auto; }
.metrics dl > div { text-align: center; padding: 16px 12px; }
.metrics dt { font-weight: 700; font-size: 56px; line-height: .95; letter-spacing: -.04em; margin-bottom: 8px; font-feature-settings: "tnum"; color: var(--ink); }
.metrics dd { font-size: 15px; color: var(--ink); line-height: 1.5; font-weight: 700; letter-spacing: -.005em; margin: 0; }
@media (max-width: 768px) {
	.metrics dl { grid-template-columns: 1fr; gap: 16px; }
	.metrics dt { font-size: 44px; }
}

/* ===========================================================================
   Section head genérico (modules, flow, security, consulting, global)
   =========================================================================== */
.modules, .flow, .security, .consulting, .global { padding: var(--section-y) 0; position: relative; }
.flow, .security, .consulting, .global { border-top: 1px solid var(--line); }

.modules > .shell > header,
.flow > .shell > header,
.security > .shell > header,
.consulting > .shell > header { text-align: center; max-width: 1020px; margin: 0 auto 64px; }
header h2 { font-weight: 800; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.08; letter-spacing: -.03em; margin-bottom: 18px; text-wrap: balance; color: var(--ink); }
header h2 em { font-style: normal; font-weight: inherit; color: var(--brand-deep); }
.modules header h2 em { font-weight: inherit; color: #f0a66c; }
.flow header h2 em { font-weight: inherit; }
.modules header > p:not(.kicker),
.flow header > p:not(.kicker),
.security header > p:not(.kicker) { font-size: 18px; font-weight: 600; line-height: 1.55; color: var(--muted); max-width: 720px; margin: 0 auto; text-wrap: pretty; }
@media (max-width: 768px) {
	.modules > .shell > header,
	.flow > .shell > header,
	.security > .shell > header,
	.consulting > .shell > header { margin-bottom: 40px; }
}

/* ===========================================================================
   MODULES — bento + combo
   =========================================================================== */
.modules .bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(240px, auto); gap: 16px; }
.modules .bento > a { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px 28px 28px; position: relative; overflow: hidden; transition: all .25s; display: flex; flex-direction: column; cursor: pointer; grid-column: span 2; }
.modules .bento > a:hover { border-color: var(--ink-2); transform: translateY(-3px); box-shadow: 0 20px 40px -20px rgba(24, 24, 27, .2); }
.modules .bento > a > svg { position: absolute; top: 24px; right: 28px; width: 28px; height: 28px; padding: 6px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink-2); transition: all .2s; }
.modules .bento > a:hover > svg { background: var(--ink); color: #fff; transform: rotate(-45deg); }
.modules .bento h3 { font-weight: 700; font-size: 20px; letter-spacing: -.02em; margin-bottom: 8px; color: var(--ink); }
.modules .bento h3 small { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11px; font-weight: 700; letter-spacing: .1em; padding: 3px 8px; border-radius: 5px; background: var(--bg-2); color: var(--muted); margin-left: 8px; text-transform: uppercase; vertical-align: middle; }
.modules .bento p { font-size: 16px; font-weight: 500; color: var(--muted); line-height: 1.5; margin-bottom: 20px; min-height: 48px; }
.modules .bento ul { display: flex; flex-wrap: wrap; gap: 6px; }
.modules .bento li { font-size: 14.5px; padding: 7px 13px; background: #fff; border: 1px solid var(--line); border-radius: 7px; color: var(--ink-2); font-weight: 500; }
.modules .bento .des   { background: var(--m-des-soft); }
.modules .bento .cap   { background: var(--m-cap-soft); }
.modules .bento .reclu { background: var(--m-reclu-soft); }
.modules .bento .sat   { background: var(--m-sat-soft); }
.modules .bento .des   h3 { color: var(--m-des); }
.modules .bento .cap   h3 { color: var(--m-cap); }
.modules .bento .reclu h3 { color: var(--m-reclu); }
.modules .bento .sat   h3 { color: var(--m-sat); }
.modules .bento .admin h3 { color: var(--m-admin); }
.modules .bento .nom   h3 { color: var(--m-nom); }
.modules .bento .soon { background: repeating-linear-gradient(135deg, #fff 0, #fff 10px, var(--bg-2) 10px, var(--bg-2) 11px); border-style: dashed; border-color: var(--line-2); }
.modules .bento .soon:hover { border-color: var(--brand-deep); }

.modules .bento .normativas { background: var(--m-norm-soft); }
.modules .bento .normativas h3 { color: var(--m-norm); }

.modules .bento .band { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; gap: 40px; padding: 28px 32px; }
.modules .bento .band .norm-head { max-width: 560px; }
.modules .bento .band h3 { margin-bottom: 6px; }
.modules .bento .band p { margin-bottom: 0; }
.modules .bento .band ul { margin-top: 0; flex-wrap: nowrap; }

@media (max-width: 1023px) { .modules .bento { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 768px) {
	.modules .bento { grid-template-columns: 1fr; gap: 12px; }
	.modules .bento > a { grid-column: span 1; }
	.modules .bento .band { flex-direction: column; align-items: flex-start; gap: 18px; }
	.modules .bento .band ul { flex-wrap: wrap; }
}

/* Combo info cards */
.modules .combo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 60px; }
.modules .combo > div { padding: 36px 32px; background: #fff; border: 1px solid var(--line); border-radius: 18px; position: relative; overflow: hidden; }
.modules .combo .humano { background: #fdeede; }
.modules .combo .ia     { background: #fdeede; }
.modules .combo h3 { font-weight: 700; font-size: 20px; letter-spacing: -.02em; margin-bottom: 20px; color: var(--ink); }

.modules .combo .team { display: flex; align-items: center; height: 74px; margin-bottom: 24px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.modules .combo .team > div { display: flex; gap: 6px; animation: teamScroll 22s linear infinite; width: max-content; }
.modules .combo .team img { width: 74px; height: 74px; border-radius: 50%; border: 3px solid #f0a66c; flex-shrink: 0; object-fit: cover; }
@keyframes teamScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .modules .combo .team > div { animation: none; } }

.modules .combo .teki { display: flex; align-items: center; gap: 14px; height: 74px; margin-bottom: 24px; }
.modules .combo .teki img { width: 74px; height: 74px; flex-shrink: 0; display: block; animation: tekiPulse 3.2s ease-in-out infinite; }
.modules .combo .teki strong { font-size: 16px; font-weight: 700; color: var(--ink); display: block; }
.modules .combo .teki small  { font-size: 13px; color: var(--muted); font-weight: 500; }
@keyframes tekiPulse { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .modules .combo .teki img { animation: none; } }

.modules .combo ul { margin: 0; padding: 0; }
.modules .combo li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 16px; color: var(--ink-2); display: flex; align-items: center; gap: 12px; font-weight: 500; }
.modules .combo li:first-child { border-top: 0; }
.modules .combo li::before { content: ""; width: 20px; height: 20px; border-radius: 50%; background-color: var(--ink); background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>"); background-repeat: no-repeat; background-position: center; background-size: 12px 12px; flex-shrink: 0; }
.modules .combo .ia li::before { background-color: var(--brand-deep); }

@media (max-width: 768px) {
	.modules .combo { grid-template-columns: 1fr; margin-top: 40px; }
	.modules .combo > div { padding: 28px 22px; }
}

/* ===========================================================================
   FLOW — implementación timeline
   =========================================================================== */
.flow ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 0; background: transparent; border: 0; border-radius: 0; position: relative; }
.flow ol::after { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 48px; height: 2px; background: linear-gradient(90deg, var(--ink), var(--brand-deep) 50%, var(--brand)); border-radius: 2px; opacity: .5; }
.flow li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; text-align: center; transition: all .25s; position: relative; z-index: 1; }
.flow li:hover { transform: translateY(-4px); box-shadow: 0 14px 30px -14px rgba(24, 24, 27, .14); border-color: var(--line-2); }
.flow li > span { width: 52px; height: 52px; border-radius: 14px; margin: 0 auto 18px; display: flex; align-items: center; justify-content: center; background: #f0a66c; color: #1a1715; font-family: 'JetBrains Mono', ui-monospace, monospace; font-weight: 700; font-size: 18px; position: relative; }
.flow li > small { display: block; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; margin-bottom: 8px; }
.flow li h3 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 6px; color: var(--ink); }
.flow li p { font-size: 16px; color: var(--muted); line-height: 1.5; }
/* Exactly 3 pasos: centrar la fila para que no quede un hueco de 4° paso */
.flow ol:has(> li:nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); max-width: 920px; margin-left: auto; margin-right: auto; }
.flow ol:has(> li:nth-child(3):last-child)::after { left: 16.67%; right: 16.67%; }

/* Variante "steps": recuadros clicables (número, semana y título) — ligera y llamativa */
.flow--steps { background: linear-gradient(180deg, var(--brand-softer) 0%, transparent 58%); }
.flow--steps ol { gap: 20px; }
.flow--steps ol::after { top: 52px; height: 3px; opacity: .5; }
.flow--steps li { background: transparent; border: 0; padding: 0; }
.flow--steps li:hover { transform: none; box-shadow: none; border-color: transparent; }
.flow--steps li a { display: flex; flex-direction: column; align-items: center; height: 100%; box-sizing: border-box; text-align: center; text-decoration: none; background: var(--brand-softer); border: 1px solid rgba(217, 127, 58, .18); border-radius: 16px; padding: 24px 18px 22px; position: relative; z-index: 1; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s; }
.flow--steps li a:hover { transform: translateY(-4px); background: var(--brand-soft); border-color: rgba(217, 127, 58, .42); box-shadow: 0 16px 32px -16px rgba(217, 127, 58, .4); }
.flow--steps li a > span { width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; font-family: 'JetBrains Mono', ui-monospace, monospace; font-weight: 700; font-size: 20px; color: #1a1715; background: linear-gradient(140deg, var(--brand-deep) 0%, var(--brand) 100%); box-shadow: 0 10px 22px -8px rgba(217, 127, 58, .5); position: relative; }
.flow--steps li a > span::after { content: ""; position: absolute; inset: -4px; border-radius: 20px; border: 1.5px solid var(--brand); opacity: .3; }
.flow--steps li a small { display: block; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; margin-bottom: 8px; }
.flow--steps li a h3 { font-size: 19px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); margin: 0; }
.flow--steps + .moment, .moment[id] { scroll-margin-top: 90px; }

@media (max-width: 768px) {
	.flow ol { grid-template-columns: 1fr; padding: 32px 20px; }
	.flow ol::after { display: none; }
	.flow--steps ol { padding: 8px 20px; gap: 16px; }
}

/* ===========================================================================
   SECURITY — 3 cards
   =========================================================================== */
.security .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.security article { padding: 32px 28px; background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: all .25s; }
.security article:hover { border-color: var(--line-2); transform: translateY(-2px); box-shadow: 0 14px 28px -16px rgba(24, 24, 27, .14); }
.security article > svg { width: 42px; height: 42px; border-radius: 11px; display: block; margin-bottom: 20px; padding: 11px; }
.security article:nth-child(1) > svg { background: var(--brand-soft); color: var(--brand-deep); }
.security article:nth-child(2) > svg { background: var(--bg-2);       color: var(--ink); }
.security article:nth-child(3) > svg { background: var(--ink);        color: var(--brand); }
.security article > small { display: inline-flex; align-items: center; gap: 8px; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--ink); margin-bottom: 14px; padding: 7px 14px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); }
.security article > small::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); flex-shrink: 0; }
.security article:nth-child(1) > small::before { background: var(--brand-deep); }
.security article:nth-child(2) > small::before { background: var(--ink); }
.security article:nth-child(3) > small::before { background: var(--brand); }
.security h3 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 18px; line-height: 1.3; color: var(--ink); }
.security ul { margin: 0; padding: 0; }
.security li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 16px; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.security li:first-child { border-top: 0; }
.security li::before { content: "✓"; color: var(--brand-deep); font-weight: 700; font-size: 12px; display: inline-block; width: 16px; text-align: center; flex-shrink: 0; }

/* Sección Seguridad — tema oscuro */
.security { background: #111729; border-top: 0; }
.security header h2 { color: #fff; }
.security header h2 em { color: #f0a66c; }
.security header > p:not(.kicker) { color: #aab2c2; }
.security article { background: #1b2238; border-color: rgba(255, 255, 255, .09); }
.security article:hover { border-color: rgba(255, 255, 255, .2); box-shadow: 0 16px 32px -16px rgba(0, 0, 0, .55); }
.security article:nth-child(1) > svg,
.security article:nth-child(2) > svg,
.security article:nth-child(3) > svg { background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .85); }
.security article > small { color: #f0a66c; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); }
.security article:nth-child(1) > small::before,
.security article:nth-child(2) > small::before,
.security article:nth-child(3) > small::before { background: #f0a66c; }
.security h3 { color: #fff; }
.security li { color: #c2c9d6; border-top-color: rgba(255, 255, 255, .08); }
.security li::before { color: var(--brand); }
.security li.li-brand::before { content: none; }
.security li.li-brand img { width: 16px; height: 16px; flex-shrink: 0; }

@media (max-width: 1023px) {
	.security .grid { grid-template-columns: 1fr 1fr; }
	.security article:nth-child(3) { grid-column: span 2; }
}
@media (max-width: 768px) {
	.security .grid { grid-template-columns: 1fr; }
	.security article:nth-child(3) { grid-column: span 1; }
}

/* ===========================================================================
   CONSULTING — 3 steps
   =========================================================================== */
.consulting ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.consulting li { padding: 36px 32px; background: #fff; border: 1px solid var(--line); border-radius: 16px; position: relative; transition: all .25s; }
.consulting li:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -16px rgba(24, 24, 27, .14); }
.consulting li:nth-child(2) { background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%); color: #fff; border-color: var(--ink); }
.consulting li > span { width: 36px; height: 36px; border-radius: 50%; background: var(--bg-2); display: flex; align-items: center; justify-content: center; font-family: 'JetBrains Mono', ui-monospace, monospace; font-weight: 700; font-size: 14px; color: var(--ink); margin-bottom: 24px; }
.consulting li:nth-child(2) > span { background: rgba(255, 255, 255, .2); color: #fff; }
.consulting h3 { font-weight: 700; font-size: 20px; letter-spacing: -.02em; margin-bottom: 10px; }
.consulting li > p { font-size: 16px; line-height: 1.55; color: var(--muted); }
.consulting li:nth-child(2) > p { color: rgba(255, 255, 255, .85); }
@media (max-width: 768px) { .consulting ol { grid-template-columns: 1fr; } }

/* ===========================================================================
   GLOBAL — mapa + idiomas
   =========================================================================== */
.global .grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.global .map { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; overflow: hidden; }
.global #world-map-wrapper { position: relative; width: 100%; }
.global #world-map { width: 100%; height: auto; display: block; }
.global #world-map path { fill: #e4e7ec; stroke: #fff; stroke-width: .4; transition: fill .3s ease; }
.global #world-map path.active { fill: var(--brand-deep); cursor: pointer; animation: shimmerMap 8s ease-in-out infinite; }
.global #world-map path.active:hover { fill: var(--brand); filter: drop-shadow(0 2px 6px rgba(240, 166, 108, .35)); animation: none; }
.global #world-map path.active:nth-child(odd)  { animation-delay: 0s; }
.global #world-map path.active:nth-child(even) { animation-delay: -4s; }
@keyframes shimmerMap { 0% { fill: var(--brand-deep); } 50% { fill: var(--brand); } 100% { fill: var(--brand-deep); } }
.global .map-tooltip { background: var(--ink); border-radius: 6px; color: #fff; font-size: 12.5px; font-weight: 600; letter-spacing: -.005em; opacity: 0; padding: 6px 10px; pointer-events: none; position: absolute; transition: opacity .15s ease; white-space: nowrap; z-index: 10; }
.global .map-tooltip.visible { opacity: 1; }
.global .legend { display: flex; justify-content: center; gap: 24px; margin-top: 16px; flex-wrap: wrap; }
.global .legend-item { align-items: center; display: flex; font-size: 13px; gap: 8px; color: var(--muted); font-weight: 500; }
.global .legend-dot { border-radius: 50%; display: inline-block; height: 10px; width: 10px; }
.global .legend-dot.active { background: var(--brand-deep); }
.global header { text-align: left; max-width: none; margin: 0; }
.global header > p:last-of-type { font-size: 18px; font-weight: 600; line-height: 1.55; color: var(--muted); margin: 0; text-align: left; }
.global ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.global li { padding: 7px 14px; background: #fff; border: 1px solid var(--line-2); border-radius: 8px; font-size: 13px; color: var(--ink-2); transition: all .15s; font-weight: 500; }
.global li:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
@media (max-width: 900px) { .global .grid { grid-template-columns: 1fr; gap: 32px; } }

/* ===========================================================================
   CTA — siguiente paso
   =========================================================================== */
.cta { padding: calc(var(--section-y) * 2) 0; text-align: center; position: relative; overflow: hidden; background: linear-gradient(180deg, var(--bg), var(--brand-softer)); }
.cta::before { content: ""; position: absolute; top: 50%; left: 50%; width: 1000px; height: 600px; background: radial-gradient(ellipse, rgba(240, 166, 108, .22), transparent 60%); transform: translate(-50%, -50%); pointer-events: none; }
.cta > .shell > div { position: relative; max-width: 820px; margin: 0 auto; }
.cta .kicker { justify-content: center; }
.cta h2 { font-weight: 700; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.1; letter-spacing: -.035em; margin-bottom: 24px; text-wrap: balance; color: var(--ink); }
.cta > .shell > div > p { font-size: 16px; color: var(--muted); max-width: 620px; margin: 0 auto 32px; line-height: 1.55; }
.cta nav { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* Forma embebida de demostración */
/* Ilustración palomas/buzón detrás del formulario (estilo clásico) */
.cta--mail { padding-bottom: 150px; }
.cta--mail::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); width: min(1280px, 100%); background: url('/blog/imagenes/portada-formulario.webp') no-repeat bottom center; background-size: 100% auto; opacity: .5; pointer-events: none; z-index: 0; }
.cta--mail > .shell > div { position: relative; z-index: 1; }
.cta.cta--mail .lead-card { background: rgba(255, 255, 255, .45); }
.cta.cta--mail .lead-form input, .cta.cta--mail .lead-form select { background: #fff; }
@media (max-width: 760px) { .cta--mail { padding-bottom: 90px; } .cta--mail::after { opacity: .4; } }
.cta > .shell > div { max-width: 980px; }
.cta h2 { max-width: 820px; margin-left: auto; margin-right: auto; }
.cta .lead-embed { max-width: 520px; margin: 36px auto 0; text-align: left; }
.cta .lead-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px; box-shadow: 0 24px 60px -32px rgba(24, 24, 27, .22); }
.lead-form { display: grid; gap: 14px; }
.lead-form__product { display: none; }
.lead-field, .lead-select { display: flex; flex-direction: column; }
.lead-form input, .lead-form select { width: 100%; box-sizing: border-box; border: 1px solid var(--line-2); border-radius: 11px; padding: 14px 16px; font-size: 16px; font-family: inherit; font-weight: 500; color: var(--ink); background: #fff; outline: 0; transition: border-color .15s, box-shadow .15s; }
.lead-form input::placeholder { color: var(--muted); font-weight: 500; }
.lead-form input:focus, .lead-form select:focus { border-color: var(--cta); box-shadow: 0 0 0 4px var(--cta-soft); }
.lead-form select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.lead-form select:invalid { color: var(--muted); }
.lead-field--phone .iti { width: 100%; }
/* Teléfono: el input arranca después del selector de país (94px de ancho). !important le gana al style inline que fija intl-tel-input. */
.lead-form .lead-field--phone input { padding-left: 94px !important; }
/* Teléfono (360) — selector de país alineado como los demás campos + fondo gris */
.cta--mail .lead-field--phone .iti__country-container { z-index: 2; top: 1px; bottom: 1px; left: 1px; width: 94px; background: #e5e7eb; border-radius: 10px 0 0 10px; border-right: 1px solid var(--line-2); }
.cta--mail .lead-field--phone .iti__selected-country { display: flex; align-items: center; width: 100%; height: 100%; }
.cta--mail .lead-field--phone .iti__selected-country-primary { padding-left: 16px; padding-right: 4px; }
.cta--mail .lead-field--phone .iti__selected-dial-code { padding-right: 4px; color: var(--ink); font-weight: 500; }
.lead-field__error, .lead-select__error, .lead-form__global-error { display: none; font-size: 13px; font-weight: 500; color: #c0392b; margin-top: 6px; }
.lead-field__error.is-visible, .lead-select__error.is-visible, .lead-form__global-error.is-visible { display: block; }
.lead-field.is-invalid input, .lead-select.is-invalid select { border-color: #c0392b; }
.lead-submit { margin-top: 4px; background: var(--cta); color: #fff; border: 0; padding: 15px 24px; font-size: 17px; font-weight: 700; border-radius: 11px; cursor: pointer; transition: background .15s; letter-spacing: -.005em; }
.lead-submit:hover { background: var(--cta-hover); }
.lead-aside { align-self: center; padding: 4px; }
.lead-aside h3 { font-size: 19px; font-weight: 700; color: var(--ink); margin-bottom: 18px; letter-spacing: -.01em; }
.lead-aside ul { display: grid; gap: 14px; }
.lead-aside li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.lead-aside__ico { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--cta-soft); color: var(--cta); display: flex; align-items: center; justify-content: center; }
.lead-aside__ico svg { width: 15px; height: 15px; }
.lead-aside__note { margin-top: 22px; font-size: 13.5px; color: var(--muted); font-weight: 500; line-height: 1.5; }
@media (max-width: 860px) {
	.cta .lead-embed { grid-template-columns: 1fr; max-width: 540px; gap: 20px; }
	.cta .lead-card { padding: 24px; }
}

/* ===========================================================================
   PÁGINA DE PRODUCTO (Evaluaciones 360, etc.)
   =========================================================================== */
/* Imagen única del hero */
.hero .feature-shot { max-width: 1080px; margin: 44px auto 0; position: relative; }
.hero .feature-shot img { display: block; width: 100%; height: auto; }

/* Hero en dos columnas (texto izquierda · imagen derecha) */
.hero--split { text-align: left; padding-bottom: 72px; }
.hero--split .hero-split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.hero--split .hero-split > header { max-width: none; margin: 0; }
.hero--split .triad { justify-content: flex-start; }
.hero--split h1 { font-size: clamp(38px, 4vw, 58px); }
.hero--split header > p { margin: 0 0 32px; max-width: 540px; }
.hero--split form { margin: 0; max-width: 520px; }
.hero--split .feature-shot { margin: 0; max-width: none; }
@media (max-width: 980px) {
	.hero--split { text-align: center; }
	.hero--split .hero-split { grid-template-columns: 1fr; gap: 36px; }
	.hero--split .triad { justify-content: center; }
	.hero--split header > p { margin: 0 auto 32px; }
	.hero--split form { margin: 0 auto; }
}

/* Tres pilares (Plataforma / Humano / IA) */
.modules .pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.modules .pillars > div { background: #fdeede; border: 1px solid var(--line); border-radius: 18px; padding: 32px 28px; }
.modules .pillars h3 { font-weight: 700; font-size: 19px; letter-spacing: -.01em; color: var(--ink); margin-bottom: 18px; }
.modules .pillars ul { display: grid; gap: 11px; margin: 0; padding: 0; }
.modules .pillars li { display: flex; align-items: flex-start; gap: 10px; font-size: 15.5px; font-weight: 500; color: var(--ink-2); line-height: 1.45; }
.modules .pillars li::before { content: "✓"; color: var(--brand-deep); font-weight: 700; font-size: 12px; flex-shrink: 0; margin-top: 3px; }
.modules .pillars .team { display: flex; margin-bottom: 20px; }
.modules .pillars .team img { width: 44px; height: 44px; border-radius: 50%; border: 2px solid #fdeede; margin-left: -12px; object-fit: cover; }
.modules .pillars .team img:first-child { margin-left: 0; }
@media (max-width: 900px) { .modules .pillars { grid-template-columns: 1fr; } }

/* Plataforma completa (mapa de módulos, tema oscuro) */
.overview { padding: var(--section-y) 0; background: #1e2a38; position: relative; }
.overview > .shell > header { text-align: center; max-width: 840px; margin: 0 auto 48px; }
.overview header h2 { color: #fff; }
.overview header h2 em { color: #f0a66c; }
.overview header > p { font-size: 18px; font-weight: 600; line-height: 1.55; color: #aab2c2; margin: 0 auto; max-width: 600px; }
.overview-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px; max-width: 1180px; margin: 0 auto; }
.overview-grid h4 { font-size: 15px; font-weight: 700; letter-spacing: -.01em; color: #fff; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.overview-grid ul { display: grid; gap: 9px; margin: 0; padding: 0; }
.overview-grid li { font-size: 14.5px; font-weight: 500; line-height: 1.4; color: #aeb8c5; }
@media (max-width: 1100px) { .overview-grid { grid-template-columns: repeat(3, 1fr); row-gap: 38px; } }
@media (max-width: 620px) { .overview-grid { grid-template-columns: repeat(2, 1fr); } }

/* Momentos en detalle (zig-zag texto + imagen) */
.moment { padding: var(--section-y) 0; border-top: 1px solid var(--line); }
.moment .moment-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; max-width: 1120px; margin: 0 auto; }
.moment--reverse .moment-shot { order: -1; }
.moment-step { display: inline-block; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-deep); margin-bottom: 16px; }
.moment-copy h2 { font-weight: 800; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -.03em; color: var(--ink); margin-bottom: 14px; text-wrap: balance; }
.moment-copy h2 em { font-style: normal; color: #f0a66c; }
.moment-copy > p { font-size: 18px; font-weight: 600; line-height: 1.55; color: var(--muted); margin: 0 0 30px; max-width: 460px; }
.moment-feats { display: grid; gap: 18px; margin: 0; padding: 0; }
.moment-feats li { display: flex; gap: 14px; align-items: flex-start; }
.moment-feats .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-deep); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.moment-feats .ic svg { width: 20px; height: 20px; }
.moment-feats strong { display: block; font-size: 16px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); margin-bottom: 3px; }
.moment-feats span { font-size: 16px; line-height: 1.5; color: var(--muted); }
.moment-shot img { display: block; width: 100%; height: auto; }
.moment-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 30px; background: var(--cta); color: #fff; font-size: 16px; font-weight: 700; letter-spacing: -.005em; padding: 13px 24px; border-radius: 11px; transition: background .15s; }
.moment-cta:hover { background: var(--cta-hover); }
/* Dos recuadros por momento: equipo + IA */
.moment-assist { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 1120px; margin: 44px auto 0; }
.assist-card { display: flex; gap: 15px; align-items: flex-start; border: 1px solid transparent; border-radius: 16px; padding: 22px 24px; }
.assist-card .ic { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #fff; }
.assist-card .ic svg { width: 21px; height: 21px; }
.assist-card--team { background: #eaf6ef; border-color: rgba(108, 201, 142, .38); }
.assist-card--team .ic { background: #6cc98e; }
.assist-card--team .assist-label { color: #2f7d52; }
.assist-card--ai { background: #f0edfb; border-color: rgba(151, 130, 229, .38); }
.assist-card--ai .ic { background: #9782e5; }
.assist-card--ai .assist-label { color: #5b46b0; }
.assist-label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 6px; }
.assist-card p { font-size: 15px; line-height: 1.5; color: var(--ink-2); margin: 0; }
@media (max-width: 900px) {
	.moment .moment-grid { grid-template-columns: 1fr; gap: 32px; }
	.moment--reverse .moment-shot { order: 0; }
	.moment-assist { grid-template-columns: 1fr; margin-top: 32px; }
}

/* FAQ */
.faq { padding: var(--section-y) 0; border-top: 1px solid var(--line); }
.faq > .shell > header { text-align: center; max-width: 820px; margin: 0 auto 44px; }
.faq .items { max-width: 840px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #f3f4f6; border: 1px solid var(--line); border-radius: 14px; padding: 0 24px; transition: border-color .15s, box-shadow .15s; }
.faq details[open] { border-color: var(--line-2); box-shadow: 0 10px 28px -18px rgba(24, 24, 27, .14); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 0; font-weight: 700; font-size: 17px; letter-spacing: -.01em; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; font-size: 24px; font-weight: 300; line-height: 1; color: var(--brand-deep); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; font-size: 16px; line-height: 1.6; color: var(--muted); }

/* ===========================================================================
   FOOTER
   =========================================================================== */
footer.site { --f-bg: #1d2b35; --f-line: rgba(255, 255, 255, .08); --f-line-2: rgba(255, 255, 255, .14); --f-text: #e6ecef; --f-muted: #8fa3ae; --f-muted-2: #b8c5cd; background: var(--f-bg); color: var(--f-text); }
footer.site .logo { color: #fff; }

/* Cierre editorial */
footer.site .close { padding: 88px 0 72px; border-bottom: 1px solid var(--f-line); }
footer.site .close > .shell { display: grid; grid-template-columns: 1.3fr 1fr; gap: 80px; align-items: end; }
footer.site .close h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: clamp(34px, 3.4vw, 52px); line-height: 1.05; letter-spacing: -.022em; color: #fff; text-wrap: balance; }
footer.site .close h2 em { font-style: italic; color: var(--f-muted-2); }
footer.site .close > .shell > div { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
footer.site .close p { font-size: 14px; line-height: 1.6; color: var(--f-muted); max-width: 380px; }
footer.site .close a { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; background: #fff; color: #1a1715; font-weight: 600; border-radius: 8px; font-size: 14.5px; transition: all .15s; }
footer.site .close a:hover { background: var(--brand); }
footer.site .close a svg { width: 14px; height: 14px; }

/* Columnas */
footer.site .main { padding: 64px 0 48px; border-bottom: 1px solid var(--f-line); }
footer.site .main > .shell { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 56px; }
footer.site .brand p { font-size: 13.5px; line-height: 1.6; color: var(--f-muted); margin: 18px 0 24px; max-width: 320px; }
footer.site .brand .badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
footer.site .brand .badges li { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; padding: 5px 9px; border: 1px solid var(--f-line-2); border-radius: 4px; color: var(--f-muted-2); }
footer.site .brand .social { display: flex; gap: 14px; }
footer.site .brand .social a { color: var(--f-muted); transition: color .15s; display: inline-flex; }
footer.site .brand .social a:hover { color: #fff; }
.brand-ico { display: inline-block; width: 18px; height: 18px; background-color: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }

footer.site .main nav h4 { font-family: 'JetBrains Mono', ui-monospace, monospace; font-weight: 500; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--f-muted); margin-bottom: 18px; }
footer.site .main nav a { display: block; font-size: 13.5px; padding: 5px 0; color: var(--f-text); transition: color .15s; letter-spacing: -.005em; }
footer.site .main nav a:hover { color: var(--brand); }

/* Oficinas */
footer.site .offices { padding: 32px 0; border-bottom: 1px solid var(--f-line); display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; }
footer.site .offices h5 { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--f-muted); }
footer.site .offices ul { display: flex; flex-wrap: wrap; gap: 32px; }
footer.site .offices li { display: flex; flex-direction: column; gap: 2px; }
footer.site .offices strong { font-size: 13.5px; color: #fff; font-weight: 500; }
footer.site .offices small { font-size: 12.5px; color: var(--f-muted); font-variant-numeric: tabular-nums; letter-spacing: .01em; }

/* Bottom legal */
footer.site .legal { padding: 24px 0 36px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 12.5px; color: var(--f-muted); }
footer.site .legal p { line-height: 1.5; }
footer.site .legal nav { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
footer.site .legal nav a { color: var(--f-muted); transition: color .15s; }
footer.site .legal nav a:hover { color: #fff; }
footer.site .legal .locale { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--f-line-2); border-radius: 6px; color: var(--f-muted-2); font-size: 12px; }
footer.site .legal .locale svg { width: 11px; height: 11px; }

@media (max-width: 1023px) {
	footer.site .close > .shell { grid-template-columns: 1fr; gap: 32px; }
	footer.site .main > .shell { grid-template-columns: 1fr 1fr; gap: 40px; }
	footer.site .brand { grid-column: span 2; }
}
@media (max-width: 640px) {
	footer.site .close { padding: 56px 0 48px; }
	footer.site .main { padding: 48px 0 32px; }
	footer.site .main > .shell { grid-template-columns: 1fr; gap: 32px; }
	footer.site .brand { grid-column: auto; }
	footer.site .offices { grid-template-columns: 1fr; gap: 16px; }
	footer.site .legal { flex-direction: column; align-items: flex-start; }
}

/* ===========================================================================
   Modal de módulos (home · sección .modules)
   =========================================================================== */
.module-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; }
.module-modal[hidden] { display: none; }
.module-modal .mm-overlay { position: absolute; inset: 0; background: rgba(24, 24, 27, .55); backdrop-filter: blur(3px); opacity: 0; transition: opacity .22s ease; }
.module-modal.is-open .mm-overlay { opacity: 1; }

.module-modal .mm-panel { position: relative; width: min(920px, 100%); max-height: calc(100vh - 48px); background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 40px 90px -30px rgba(24, 24, 27, .5); transform: translateY(16px) scale(.98); opacity: 0; transition: transform .26s cubic-bezier(.2, .8, .2, 1), opacity .26s ease; }
.module-modal.is-open .mm-panel { transform: translateY(0) scale(1); opacity: 1; }

.module-modal .mm-close { position: absolute; top: 16px; right: 16px; z-index: 2; width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; background: rgba(255, 255, 255, .85); color: var(--ink-2); cursor: pointer; transition: all .18s; }
.module-modal .mm-close:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.module-modal .mm-close svg { width: 18px; height: 18px; }

.module-modal .mm-body { display: grid; grid-template-columns: 1fr 1fr; max-height: calc(100vh - 48px); }
.module-modal .mm-info { padding: 44px 40px; overflow-y: auto; display: flex; flex-direction: column; }
.module-modal .mm-info h3 { font-size: 26px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; margin-bottom: 14px; color: var(--mm-accent, var(--ink)); }
.module-modal .mm-info h3 small { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11px; font-weight: 700; letter-spacing: .1em; padding: 3px 8px; border-radius: 5px; background: var(--bg-2); color: var(--muted); margin-left: 8px; text-transform: uppercase; vertical-align: middle; }
.module-modal .mm-desc { font-size: 16px; font-weight: 500; color: var(--muted); line-height: 1.6; margin-bottom: 24px; }
.module-modal .mm-features { display: flex; flex-direction: column; gap: 16px; margin-bottom: 30px; }
.module-modal .mm-features li { position: relative; padding-left: 26px; }
.module-modal .mm-features li::before { content: ''; position: absolute; left: 4px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--mm-accent, var(--ink-2)); }
.module-modal .mm-features strong { display: block; font-size: 15.5px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; margin-bottom: 2px; }
.module-modal .mm-features span { display: block; font-size: 14.5px; font-weight: 500; color: var(--muted); line-height: 1.5; }
.module-modal .mm-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.module-modal .mm-actions .btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 10px; font-weight: 600; font-size: 15px; text-decoration: none; transition: all .18s; border: 1px solid transparent; }
.module-modal .mm-actions .btn.primary { background: var(--cta); color: #fff; }
.module-modal .mm-actions .btn.primary:hover { background: var(--cta-hover); }
.module-modal .mm-actions .btn.ghost { background: #fff; border-color: var(--line); color: var(--ink-2); }
.module-modal .mm-actions .btn.ghost:hover { border-color: var(--ink-2); }
.module-modal .mm-actions .mm-soon { font-size: 13px; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.module-modal .mm-actions .mm-soon svg { width: 15px; height: 15px; }

.module-modal .mm-media { position: relative; background: var(--mm-accent-soft, var(--bg-2)); display: flex; align-items: center; justify-content: center; padding: 28px; overflow: hidden; perspective: 1150px; }
/* imagen estática (fallback / un solo screenshot) */
.module-modal .mm-media > .mm-img { width: 100%; height: 100%; max-height: 460px; object-fit: contain; border-radius: 12px; }
.module-modal .mm-media > .mm-img[hidden] { display: none; }
/* rueda 3D (tambor vertical) — el eje se empuja hacia atrás para que el frente quede a tamaño natural */
.module-modal .mm-wheel { position: relative; width: 100%; height: clamp(360px, 62vh, 540px); transform-style: preserve-3d; --r: 620px; transform: translateZ(calc(-1 * var(--r))); }
.module-modal .mm-wheel.spin { animation: mm-spin var(--dur, 48s) linear infinite; }
.module-modal .mm-media:hover .mm-wheel.spin { animation-play-state: paused; }
.module-modal .mm-slide { position: absolute; inset: 0; margin: auto; width: 98%; height: 60%; display: flex; align-items: center; justify-content: center; transform: rotateX(calc(var(--i) * var(--step, 30deg))) translateZ(var(--r)); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.module-modal .mm-slide img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; }
/* viñetas superior/inferior para el efecto "rueda invisible" */
.module-modal .mm-media::before, .module-modal .mm-media::after { content: ''; position: absolute; left: 0; right: 0; height: 110px; z-index: 3; pointer-events: none; }
.module-modal .mm-media::before { top: 0; background: linear-gradient(to bottom, var(--mm-accent-soft, var(--bg-2)) 12%, transparent); }
.module-modal .mm-media::after { bottom: 0; background: linear-gradient(to top, var(--mm-accent-soft, var(--bg-2)) 12%, transparent); }
@keyframes mm-spin { from { transform: translateZ(calc(-1 * var(--r))) rotateX(0deg); } to { transform: translateZ(calc(-1 * var(--r))) rotateX(360deg); } }

@media (max-width: 768px) {
	.module-modal { padding: 0; align-items: stretch; }
	.module-modal .mm-panel { width: 100%; max-height: 100vh; border-radius: 0; }
	.module-modal .mm-body { grid-template-columns: 1fr; max-height: 100vh; overflow-y: auto; }
	.module-modal .mm-media { order: -1; padding: 20px 20px 0; perspective: 1100px; }
	.module-modal .mm-media > .mm-img { max-height: 240px; }
	.module-modal .mm-wheel { height: 300px; --r: 360px; }
	.module-modal .mm-media::before, .module-modal .mm-media::after { height: 48px; }
	.module-modal .mm-info { padding: 28px 24px 36px; overflow: visible; }
}

@media (prefers-reduced-motion: reduce) {
	.module-modal .mm-overlay, .module-modal .mm-panel { transition: none; }
	.module-modal .mm-wheel.spin { animation: none; }
}
