/* Landings de servicios con el estilo del mixto 3. Se carga después de estilos-mixto-3.css */

/* Portada */
.hero.sub { padding-bottom: 90px; }
.hero.sub h1 { font-size: clamp(36px, 4.4vw, 58px); }
.hero.sub .ctas { margin-bottom: 0; }
.crumb { display: block; font-family: var(--mono); font-size: 12px; color: var(--n-dim); margin-bottom: 18px; }
.crumb a:hover { color: var(--n-text); }

/* Visuales del panel oscuro */
.bar-list { display: grid; gap: 10px; }
.bar-item { display: grid; grid-template-columns: 92px 1fr 52px; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; }
.bar-item .track { height: 26px; border-radius: 8px; background: rgba(255,255,255,.05); overflow: hidden; }
.bar-item .fill { height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--violet-l), var(--magenta)); transform-origin: left; transform: scaleX(0); animation: growx 1s ease forwards; }
.bar-item .val { font-family: var(--mono); font-size: 12px; text-align: right; }
.bar-item.alert .fill { background: linear-gradient(90deg, var(--coral), #FFB36B); }
@keyframes growx { to { transform: scaleX(1); } }
.alert-note { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11.5px; color: var(--coral); padding: 8px 12px; border-radius: 10px; background: rgba(255,122,89,.1); border: 1px solid rgba(255,122,89,.25); }

/* ¿Te suena? */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pain { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 30px 28px; display: flex; flex-direction: column; gap: 12px; transition: transform .3s, box-shadow .3s; }
.pain:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(106,76,245,.35); }
.pain .q { font-size: 19px; font-weight: 800; letter-spacing: -.03em; line-height: 1.28; }
.pain .q::before { content: "\201C"; display: block; font-family: var(--serif); font-size: 56px; line-height: .6; height: 26px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pain p { color: var(--ink-2); font-size: 15px; }
.pain .fix { margin-top: auto; align-self: flex-start; font-family: var(--mono); font-size: 11.5px; color: var(--violet); background: var(--bg-2); padding: 7px 12px; border-radius: 999px; }
@media (max-width: 960px) { .pains { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .pains { grid-template-columns: 1fr; } }

/* Qué incluye: tarjetas del mixto 1, con el punto de color repetido de a 4 */
.row:nth-child(4n+1) { --c: #8B6CFF; }
.row:nth-child(4n+2) { --c: #FF7A59; }
.row:nth-child(4n+3) { --c: #3CCFB0; }
.row:nth-child(4n+4) { --c: #C35CF0; }
.row h3 .stage { display: block; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }

/* Qué medimos */
.glossary-sec { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 55%, var(--bg) 100%); }
.glossary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: start; }
.gcat { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 24px 22px 10px; }
.gcat h4 { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--ink-2); margin-bottom: 6px; }
.gcat h4 i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 18%, transparent); }
.gcat dl > div { padding: 14px 0; border-top: 1px solid var(--line); }
.gcat dl > div:first-child { border-top: 0; }
.gcat dt { font-weight: 800; font-size: 16.5px; letter-spacing: -.02em; margin-bottom: 3px; }
.gcat dd { color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
@media (max-width: 1000px) { .glossary { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .glossary { grid-template-columns: 1fr; } }

/* Cómo trabajamos */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.steps::before { content: ""; position: absolute; top: 28px; left: 12%; right: 12%; height: 2px; background: var(--grad); opacity: .35; }
.step { position: relative; text-align: center; padding: 0 8px; }
.step .dot { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 20px; border-radius: 16px; background: var(--night); color: #fff; font-family: var(--mono); font-size: 14px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 12px 24px -12px rgba(27,21,48,.6); position: relative; transition: background .3s; }
.step .dot::after { content: ""; position: absolute; right: 7px; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
.step:nth-child(1) { --c: #8B6CFF; }
.step:nth-child(2) { --c: #FF7A59; }
.step:nth-child(3) { --c: #3CCFB0; }
.step:nth-child(4) { --c: #C35CF0; }
.step:hover .dot { background: var(--grad); }
.step h3 { font-size: 20px; letter-spacing: -.03em; margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 15px; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { top: 0; bottom: 0; left: 27px; right: auto; width: 2px; height: auto; background: linear-gradient(var(--violet), var(--coral)); }
  .step { text-align: left; display: grid; grid-template-columns: 56px 1fr; gap: 0 18px; padding: 0 0 28px; }
  .step .dot { grid-row: span 2; margin: 0; }
}

/* También hacemos */
.others { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.other { display: flex; align-items: center; justify-content: space-between; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px 20px 20px 22px; transition: transform .3s, box-shadow .3s; }
.other:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -30px var(--c); }
.other small { display: block; font-family: var(--mono); font-size: 11px; color: var(--c); }
.other strong { font-size: 16.5px; letter-spacing: -.03em; line-height: 1.25; }
.other .arr { flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); font-weight: 700; transition: background .3s, color .3s; }
.other:hover .arr { background: var(--c); color: #fff; }
.others.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .others, .others.three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .others, .others.three { grid-template-columns: 1fr; } .bar-item { grid-template-columns: 74px 1fr 44px; } }
@media (prefers-reduced-motion: reduce) { .bar-item .fill { animation: none; transform: none; } }

/* Visuales del panel para CRM y Email (pipeline y flujo) */
.kanban { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.kcol { background: rgba(255,255,255,.03); border: 1px solid var(--n-line); border-radius: 12px; padding: 8px; display: grid; gap: 6px; align-content: start; min-width: 0; }
.kcol > .mono { display: flex; justify-content: space-between; font-size: 10.5px; padding: 2px 2px 4px; }
.kcard { background: var(--n-surface-2); border: 1px solid var(--n-line); border-radius: 8px; padding: 7px 8px; font-size: 11.5px; font-weight: 700; line-height: 1.3; min-width: 0; }
.kcard small { display: block; font-family: var(--mono); font-size: 10px; font-weight: 400; color: var(--n-dim); margin-top: 2px; }
.kcard.dup { opacity: .45; text-decoration: line-through; border-style: dashed; }
.kcard.hot small { color: var(--coral); }
.kcard.won { border-color: rgba(60,221,184,.4); }
.kcard.won small { color: var(--mint); }

.flow { display: grid; justify-items: center; }
.node { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 330px; padding: 10px 14px; border-radius: 12px; background: var(--n-surface-2); border: 1px solid var(--n-line); font-size: 13px; font-weight: 700; }
.node .ic { width: 28px; height: 28px; flex-shrink: 0; border-radius: 8px; display: grid; place-items: center; font-size: 13px; background: rgba(139,108,255,.18); color: var(--violet-l); }
.node small { margin-left: auto; font-family: var(--mono); font-size: 10.5px; font-weight: 400; color: var(--n-dim); }
.node.trigger .ic { background: rgba(60,221,184,.16); color: var(--mint); }
.node.cond { border-style: dashed; }
.node.cond .ic { background: rgba(255,122,89,.16); color: var(--coral); }
.link { width: 2px; height: 14px; background: linear-gradient(var(--violet-l), var(--magenta)); opacity: .6; }
.branches { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.branches .node { max-width: none; font-size: 12px; padding: 9px 10px; }
.branches .node .ic { width: 24px; height: 24px; }
.branch-tag { font-family: var(--mono); font-size: 10.5px; color: var(--n-dim); text-align: center; margin-bottom: 4px; }

/* Automatizaciones: herramientas conectadas por un flujo central */
.integ { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; }
.integ .col { display: grid; gap: 8px; }
.integ .tool { position: relative; padding: 9px 12px; border-radius: 10px; background: var(--n-surface-2); border: 1px solid var(--n-line); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.integ .col:first-child .tool::after, .integ .col:last-child .tool::before { content: ""; position: absolute; top: 50%; width: 14px; height: 2px; background: linear-gradient(90deg, var(--violet-l), var(--magenta)); opacity: .7; }
.integ .col:first-child .tool::after { right: -15px; }
.integ .col:last-child .tool::before { left: -15px; }
.integ .hub { width: 86px; height: 86px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: var(--grad); color: #fff; font-family: var(--mono); font-size: 10.5px; line-height: 1.3; box-shadow: 0 0 40px -6px rgba(176,92,240,.8); }
.integ .hub b { display: block; font-size: 20px; font-family: var(--sans); }
.log { display: grid; gap: 6px; margin-top: 4px; }
.log span { font-family: var(--mono); font-size: 11.5px; color: var(--n-dim); }
.log span::before { content: "✓ "; color: var(--mint); }
.hero .wrap > * { min-width: 0; }
@media (max-width: 560px) { .integ { grid-template-columns: 1fr; justify-items: center; } .integ .col { width: 100%; grid-template-columns: repeat(3, 1fr); } .integ .tool { white-space: normal; text-align: center; font-size: 11.5px; padding: 8px 6px; } .integ .tool::after, .integ .tool::before { display: none; } }

/* Etapas de trabajo con lo que incluye cada una */
.stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stage-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 30px 28px 28px; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.stage-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -32px rgba(106,76,245,.4); }
.stage-card:nth-child(1) { --c: #8B6CFF; }
.stage-card:nth-child(2) { --c: #FF7A59; }
.stage-card:nth-child(3) { --c: #3CCFB0; }
.stage-card .n { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-family: var(--mono); font-size: 14px; color: #fff; background: var(--night); position: relative; margin-bottom: 20px; box-shadow: 0 12px 24px -12px rgba(27,21,48,.6); }
.stage-card .n::after { content: ""; position: absolute; right: 7px; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
.stage-card .stage { display: block; font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.stage-card h3 { font-size: 22px; letter-spacing: -.03em; margin-bottom: 8px; }
.stage-card > p { color: var(--ink-2); font-size: 15px; }
.stage-card ul { list-style: none; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.stage-card li { position: relative; padding-left: 20px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.stage-card li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
@media (max-width: 900px) { .stages { grid-template-columns: 1fr; } }

/* Por área: qué hacemos y qué medimos en cada una */
.areas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.area-card { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 30px 30px 26px; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s, border-color .3s; }
.area-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 35%, transparent); box-shadow: 0 30px 60px -34px var(--c); }
.area-card h3 { display: flex; align-items: center; gap: 12px; font-size: 23px; letter-spacing: -.03em; margin-bottom: 8px; }
.area-card h3 i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 16%, transparent); flex-shrink: 0; }
.area-card > p { color: var(--ink-2); font-size: 15.5px; }
.area-card ul { list-style: none; display: grid; gap: 9px; margin: 18px 0 22px; }
.area-card li { position: relative; padding-left: 20px; font-size: 15px; font-weight: 600; }
.area-card li::before { content: "→"; position: absolute; left: 0; color: var(--c); font-weight: 800; }
.area-card .mide { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-top: 16px; border-top: 1px solid var(--line); }
.area-card .mide .mono { margin-right: 6px; color: var(--muted); }
.area-card .mide b { font-size: 12.5px; font-weight: 700; color: color-mix(in srgb, var(--c) 75%, #1B1530); background: color-mix(in srgb, var(--c) 10%, #fff); padding: 5px 10px; border-radius: 999px; }
@media (max-width: 760px) { .areas { grid-template-columns: 1fr; } .area-card { padding: 24px 22px 22px; } }

/* Paso a paso: lo que recibís en cada paso */
.step .get { display: block; margin-top: 12px; font-size: 13.5px; font-weight: 700; color: var(--violet); }
@media (max-width: 860px) { .step .get { grid-column: 2; justify-self: start; } }

/* Otros servicios: título sutil, alineado a la izquierda, con una línea fina */
.others-title { display: flex; align-items: center; gap: 18px; font-size: 20px; letter-spacing: -.02em; color: var(--ink-2); margin-bottom: 18px; }
.others-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.others .other { padding: 18px 18px 18px 22px; }
.others .other strong { font-size: 16px; }

/* Áreas en tres columnas, cuando son tres tarjetas */
.areas.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .areas.three { grid-template-columns: 1fr; } }
