/* Portada: hero con imagen, situaciones de negocio, calculadora de oportunidades,
   transformaciones, diagnóstico express y franja de valor. */
.home-page { --font-tech: "Space Grotesk", var(--font-head); }
.home-page [hidden] { display: none !important; }

/* ---------- Hero ---------- */
.home-page .hero { padding: clamp(36px, 5vw, 72px) 0 clamp(52px, 6vw, 84px); isolation: isolate; }
.home-page .hero-bg { z-index: 0; }
/* Alineado arriba: si el texto cambia de alto al cargar la fuente, la foto no se desplaza (CLS). */
.home-page .hero-inner { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 4.5vw, 64px); align-items: start; }
.home-page .hero-content { min-width: 0; max-width: 620px; }
.home-page .hero-title { font-size: clamp(2.05rem, 3.7vw, 3.1rem); font-weight: 900; letter-spacing: -.02em; line-height: 1.08; }
.home-page .hero-title .grad-text { display: block; }
.home-page :is(.section-head h2, .tr-body h3, .cta-head h2) { text-wrap: balance; }
.home-page .hero-sub { font-size: 1.14rem; max-width: 560px; margin: 22px 0 28px; }
.home-page .hero-actions { gap: 12px; }
.btn-lg { font-size: 1.05rem; padding: 16px 28px; }
.hero-micro { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: .88rem; color: var(--ink-soft); }
.hero-micro-icon { flex: 0 0 auto; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #e3f6ea; color: #1d7f35; }
.hero-micro-icon svg { width: 12px; height: 12px; }
/* Palomita dibujada con CSS: se ve igual en cualquier dispositivo, sin depender de fuentes de símbolos. */
.chip-week li::before, .diag-gets li::after { content: ""; position: absolute; width: 5px; height: 10px; border: solid currentColor; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.home-page .hero-trust { gap: 16px 0; margin-top: 30px; }
.home-page .hero-trust li { padding-right: 16px; padding-left: 16px; }
.home-page .hero-trust li:first-child { padding-left: 0; }
.home-page .hero-trust strong { font-size: 1.2rem; }

.hero-visual { position: relative; min-width: 0; width: min(500px, 100%); justify-self: end; margin-top: 8px; }
.hero-visual::before { content: ""; position: absolute; inset: 7% -5% -5% 9%; z-index: -1; border-radius: 34px; background: linear-gradient(135deg, var(--blue), var(--cyan) 55%, var(--green)); opacity: .9; transform: rotate(3.5deg); }
.hero-photo-frame { position: relative; overflow: hidden; border-radius: 28px; background: #dfe9f3; box-shadow: 0 30px 70px rgba(7, 20, 38, .22); }
.hero-photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.hero-chip { position: absolute; z-index: 2; color: var(--ink); background: rgba(255, 255, 255, .97); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 40px rgba(7, 20, 38, .18); }
.chip-lead { top: 8%; left: -38px; display: flex; align-items: center; gap: 10px; padding: 11px 14px; max-width: 300px; animation: chip-float 6s ease-in-out infinite; }
.chip-icon { flex: 0 0 auto; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: #e3f6ea; color: #0f7a3c; }
.chip-text small { display: block; font-size: .7rem; font-weight: 700; color: var(--ink-soft); }
.chip-text strong { display: block; font-family: var(--font-head); font-size: .86rem; font-weight: 800; line-height: 1.25; }
.chip-check { flex: 0 0 auto; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #1d7f35; color: #fff; }
.chip-week { right: -30px; bottom: 9%; padding: 14px 16px; min-width: 228px; animation: chip-float 6s ease-in-out infinite 1.2s; }
.chip-week small { display: block; margin-bottom: 8px; font: 800 .68rem var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--blue-ink); }
.chip-week ul { list-style: none; display: grid; gap: 6px; }
.chip-week li { position: relative; padding-left: 22px; font-size: .84rem; font-weight: 700; }
.chip-week li::before { left: 4px; top: 2px; color: #1d7f35; }
@keyframes chip-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Identificación: situaciones de negocio ---------- */
.identificacion { overflow: hidden; background: #fff; }
.ident-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.home-page .ident-head { margin-bottom: 0; }
.ident-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.45rem); }
.ident-points { list-style: none; display: grid; gap: 12px; margin-top: 26px; }
.ident-points li { position: relative; padding: 14px 16px 14px 48px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-soft); font-weight: 700; }
.ident-points li::before { content: ""; position: absolute; left: 17px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: var(--red-soft); box-shadow: inset 0 0 0 4px var(--red); }
.ident-showcase { position: relative; min-width: 0; }
.ident-showcase::before { content: ""; position: absolute; inset: 0 -30px -10px; z-index: 0; background: radial-gradient(ellipse, #b3eaff, transparent 70%); }
.ident-showcase > * { position: relative; }
.business-stories { color: #fff; border: 1px solid #254e6c; border-radius: 22px; background: radial-gradient(ellipse at 100% 0, #113b54 0, transparent 55%), #091c2e; box-shadow: 0 24px 60px #0a467d26; overflow: hidden; }
.stories-topline { display: flex; align-items: center; gap: 9px; padding: 18px 24px; border-bottom: 1px solid #ffffff16; }
.signal-dot { flex: 0 0 auto; width: 6px; height: 6px; border-radius: 50%; background: #73efd2; box-shadow: 0 0 0 4px #73efd217, 0 0 12px #73efd24d; }
.stories-title { font: 500 .8rem var(--font-tech); letter-spacing: .02em; color: #d4e6f3; }
.stories-coordinate { margin-left: auto; font: .63rem var(--font-tech); color: #8eabc3; letter-spacing: .08em; white-space: nowrap; }
.story-slides { display: grid; }
.story-slide { grid-area: 1 / 1; visibility: hidden; opacity: 0; padding: 23px 26px 22px; }
.story-slide.is-active { visibility: visible; opacity: 1; }
.story-slide.is-entering { animation: story-enter .4s ease both; }
.story-service { display: flex; align-items: center; gap: 9px; color: #a7dfee; font: 500 .77rem var(--font-tech); margin-bottom: 22px; }
.story-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: #00c2ff12; border: 1px solid #6ddcff25; flex: 0 0 auto; }
.story-icon svg { width: 20px; height: 20px; }
.story-number { margin-left: auto; color: #fff; font-size: .9rem; white-space: nowrap; }
.story-number span { color: #7e9db6; font-size: .7rem; }
.story-label { font: 500 .64rem var(--font-tech); letter-spacing: .11em; text-transform: uppercase; color: #9bb7cb; margin-bottom: 8px; }
.story-slide h3 { font: 500 clamp(1.4rem, 2.3vw, 1.85rem)/1.16 var(--font-tech); letter-spacing: -.055em; color: #fff; min-height: 3.5em; max-width: 390px; }
.story-action { display: flex; align-items: flex-start; gap: 12px; padding: 20px 0; }
.story-node { color: #55c7f3; font: 1.5rem var(--font-tech); line-height: 1.1; }
.story-action > div { min-width: 0; }
.story-action p:last-child { font-size: .91rem; line-height: 1.55; color: #cbdbe7; }
.story-value { display: flex; gap: 13px; padding: 18px; border: 1px solid #5de3c831; border-radius: 12px; background: linear-gradient(120deg, #49d3af12, #5ccefa09); }
.story-value-icon { flex: 0 0 auto; color: #75f0d1; font: 1.5rem var(--font-tech); }
.story-value .story-label { color: #7ce5d0; margin-bottom: 6px; }
.story-value h4 { color: #fff; font: 600 1.02rem/1.3 var(--font-tech); margin-bottom: 6px; }
.story-value p:last-child { color: #c5dbdf; font-size: .81rem; line-height: 1.5; }
.story-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 0 26px 18px; }
.story-tab { position: relative; color: #9cb4c7; background: transparent; border: 0; border-top: 2px solid #264256; padding: 9px 0 3px; text-align: left; font: 500 .75rem var(--font-tech); min-height: 49px; cursor: pointer; }
.story-tab span { display: block; color: #7492ab; font-size: .62rem; margin-bottom: 3px; }
.story-tab[aria-pressed="true"] { color: #fff; border-color: #50ccee; }
.story-tab:hover { color: #fff; }
.is-playing .story-tab[aria-pressed="true"]::after { content: ""; position: absolute; left: 0; top: -2px; height: 2px; width: 100%; background: #a8ffe6; transform-origin: left; animation: story-progress 12s linear; }
.stories-footer { border-top: 1px solid #ffffff16; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 24px; }
.stories-footer a { color: #91e6fb; font: 500 .79rem var(--font-tech); padding-block: 10px; }
.stories-footer a span { margin-left: 4px; }
.stories-footer button { border: 1px solid #466378; background: #ffffff07; border-radius: 7px; padding: 10px 12px; min-width: 140px; min-height: 44px; color: #e9f5ff; font: .74rem var(--font-tech); cursor: pointer; }
#storyPlayIcon { margin-right: 7px; font-size: .65rem; }
.stories-footer button:hover { background: #ffffff12; }
.demo-caption { font-size: .76rem; color: var(--ink-soft); text-align: center; margin: 14px 8px 0; }
.business-stories :is(button, a):focus-visible, .calc-card :is(a, input):focus-visible { outline: 2px solid #9cffe6; outline-offset: 4px; }
.express-options button:focus-visible, .home-page .nav a:focus-visible, .home-page .nav-toggle:focus-visible { outline: 3px solid #095ca9; outline-offset: 3px; }
@keyframes story-enter { from { opacity: .25; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes story-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Una cinta continua con tipografía geométrica y conectores, a ritmo de lectura. */
.home-page .value-marquee { position: relative; display: flex; align-items: center; gap: 0; padding: 0; min-height: 90px; background: linear-gradient(100deg, #071829, #102e41 55%, #071829); border-block: 1px solid #2c6174; }
.value-marquee::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .18; background-image: linear-gradient(#a9e7ff12 1px, transparent 1px), linear-gradient(90deg, #a9e7ff12 1px, transparent 1px); background-size: 16px 16px; }
.value-signature { display: flex; gap: 13px; align-items: center; flex: 0 0 220px; padding: 14px 25px; border-right: 1px solid #b4eaff23; color: #8dabc0; font: .6rem/1.8 var(--font-tech); letter-spacing: .1em; z-index: 1; }
.value-signature strong { color: #d6f1ff; font-weight: 500; }
.value-window { overflow: hidden; min-width: 0; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); }
.home-page .value-marquee .marquee-track { gap: 0; animation: scroll 48s linear infinite; }
.value-group { display: flex; flex-shrink: 0; align-items: center; }
.home-page .value-item { display: flex; align-items: center; gap: 15px; padding: 24px 0 24px 32px; white-space: nowrap; }
.home-page .value-item > span { font: 500 1.08rem var(--font-tech); color: #e1f6ff; opacity: 1; letter-spacing: -.02em; }
.value-item svg { width: 25px; height: 25px; color: #77ddd6; }
.value-item i { font: 300 1.1rem var(--font-tech); color: #5e93a6; margin-left: 20px; font-style: normal; }
.value-pause { position: relative; order: -1; flex: 0 0 44px; height: 44px; margin: 0 0 0 16px; border: 1px solid #416275; border-radius: 50%; background: #081c2e; color: #bde7f7; cursor: pointer; }
.value-pause:focus-visible { outline: 2px solid #8cffe3; outline-offset: 3px; }
.value-marquee:hover .marquee-track, .value-marquee:focus-within .marquee-track, .value-marquee[data-paused="true"] .marquee-track { animation-play-state: paused; }

/* ---------- Descubrimiento: conversación y calculadora ---------- */
.oportunidad { background: linear-gradient(180deg, var(--bg-soft), #fff 85%); }
.op-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(24px, 3.5vw, 44px); align-items: start; }
.chat-demo { margin: 0; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-md); }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: var(--ink); }
.chat-avatar { flex: 0 0 auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: #fff; font: 900 1.05rem var(--font-head); }
.chat-name { color: #fff; font: 800 .95rem/1.3 var(--font-head); }
.chat-meta { color: #b8c9d9; font-size: .8rem; }
.chat-thread { list-style: none; display: grid; gap: 10px; padding: 20px; background-color: #eef4f8; background-image: radial-gradient(rgba(10, 116, 218, .07) 1px, transparent 1px); background-size: 16px 16px; }
.msg { max-width: 88%; padding: 9px 14px 11px; border-radius: 16px; box-shadow: 0 2px 6px rgba(14, 27, 44, .07); }
.msg p { font-size: .93rem; line-height: 1.5; color: var(--ink); }
.msg-who { display: block; margin-bottom: 2px; font: 800 .7rem var(--font-head); letter-spacing: .03em; }
.msg-us { justify-self: start; background: #fff; border-top-left-radius: 4px; }
.msg-us .msg-who { color: var(--blue-ink); }
.msg-them { justify-self: end; background: #dff3e6; border-top-right-radius: 4px; }
.msg-them .msg-who { color: #1b5e34; }
.chat-insight { margin: 18px 20px 0; padding: 14px 16px; border-left: 4px solid var(--cyan); border-radius: 0 12px 12px 0; background: #f2fafe; font-size: .95rem; }
.chat-demo figcaption { padding: 12px 20px 18px; font-size: .78rem; color: #566a7c; }
.chat-demo.is-waiting :is(.msg, .chat-insight) { opacity: 0; transform: translateY(10px); }
.chat-demo.is-playing :is(.msg, .chat-insight) { animation: msg-in .45s ease both; }
.chat-demo.is-playing .msg:nth-child(2) { animation-delay: .8s; }
.chat-demo.is-playing .msg:nth-child(3) { animation-delay: 1.6s; }
.chat-demo.is-playing .msg:nth-child(4) { animation-delay: 2.4s; }
.chat-demo.is-playing .msg:nth-child(5) { animation-delay: 3.2s; }
.chat-demo.is-playing .msg:nth-child(6) { animation-delay: 4.2s; }
.chat-demo.is-playing .chat-insight { animation-delay: 5s; }
@keyframes msg-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.calc-card { position: relative; overflow: hidden; padding: clamp(24px, 3.4vw, 36px); border-radius: 22px; color: #fff; background: radial-gradient(520px 300px at 100% 0, rgba(0, 194, 255, .2), transparent 60%), var(--bg-dark); box-shadow: 0 28px 60px rgba(7, 20, 38, .25); }
.calc-card h3 { color: #fff; font-size: clamp(1.25rem, 2.2vw, 1.55rem); font-weight: 800; line-height: 1.25; }
.calc-intro { margin: 8px 0 22px; color: #b8c9d9; font-size: .92rem; }
.calc-field { margin-bottom: 18px; }
.calc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-bottom: 8px; }
.calc-row label { color: #e1ecf5; font-size: .92rem; font-weight: 700; }
.calc-row output { color: #fff; font: 700 1.12rem var(--font-tech); white-space: nowrap; }
.calc-field input[type="range"] { --fill: 0%; display: block; width: 100%; height: 28px; margin: 0; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; }
.calc-field input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--cyan) 0 var(--fill), rgba(255, 255, 255, .16) var(--fill) 100%); }
.calc-field input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; box-sizing: border-box; width: 24px; height: 24px; margin-top: -8px; border: 4px solid var(--cyan); border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
.calc-field input[type="range"]::-moz-range-track { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .16); }
.calc-field input[type="range"]::-moz-range-progress { height: 8px; border-radius: 99px; background: var(--cyan); }
.calc-field input[type="range"]::-moz-range-thumb { box-sizing: border-box; width: 24px; height: 24px; border: 4px solid var(--cyan); border-radius: 50%; background: #fff; }
.calc-result { margin-top: 6px; padding: 20px; border: 1px solid rgba(0, 194, 255, .28); border-radius: 16px; background: rgba(255, 255, 255, .06); }
.calc-label { color: #a9c1d4; font: 800 .72rem var(--font-head); letter-spacing: .1em; text-transform: uppercase; }
.calc-amount { margin: 8px 0 6px; color: #c8d8e6; font-weight: 700; }
.calc-amount strong { font: 700 clamp(2.2rem, 5vw, 3rem)/1 var(--font-tech); letter-spacing: -.03em; color: #57d6ff; background: linear-gradient(90deg, #57d6ff, #5ce1c5); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.calc-year { color: #c8d8e6; font-size: .9rem; }
.calc-year span { color: #fff; font-weight: 700; }
.calc-warn { margin-top: 10px; padding: 9px 12px; border-radius: 10px; background: rgba(255, 206, 0, .12); color: #ffe27a; font-size: .82rem; }
.calc-disclaimer { margin: 14px 0 20px; color: #a9c1d4; font-size: .78rem; }
.calc-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.calc-actions .btn { flex: 1 1 200px; padding: 14px 18px; }
.btn-wa-outline { color: #fff; background: transparent; border: 2px solid rgba(255, 255, 255, .35); }
.btn-wa-outline:hover { color: #5ce1c5; border-color: #5ce1c5; }

/* ---------- Visualización: cuatro transformaciones ---------- */
.transformaciones { background: #fff; }
.tr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.tr-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-sm); transition: opacity .7s ease, transform .4s ease, box-shadow .3s ease; }
.tr-card:hover { box-shadow: var(--shadow-md); }
.tr-card.visible:hover { transform: translateY(-6px); }
.tr-media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: #dfe9f3; }
.tr-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tr-card:hover .tr-media img { transform: scale(1.04); }
.tr-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 55%, rgba(7, 20, 38, .4)); }
.tr-num { position: absolute; z-index: 1; left: 18px; top: 16px; padding: 6px 12px; border-radius: 99px; background: rgba(7, 20, 38, .75); color: #fff; font: 800 .85rem var(--font-head); letter-spacing: .06em; }
.tr-body { display: flex; flex: 1; flex-direction: column; padding: 24px 26px 26px; }
.tr-service { margin-bottom: 8px; color: var(--blue-ink); font: 800 .74rem var(--font-head); letter-spacing: .1em; text-transform: uppercase; }
.tr-body h3 { margin-bottom: 14px; font-size: clamp(1.18rem, 1.9vw, 1.38rem); font-weight: 800; line-height: 1.25; }
.tr-quote { margin: 0 0 14px; padding: 2px 0 2px 16px; border-left: 3px solid var(--cyan); color: var(--ink); font-size: 1rem; font-style: italic; line-height: 1.55; }
.tr-how { margin-bottom: 18px; color: var(--ink-soft); font-size: .94rem; }
.tr-how strong { color: var(--ink); }
.tr-gains-label { margin-top: auto; margin-bottom: 8px; color: #1b5e34; font: 800 .7rem var(--font-head); letter-spacing: .1em; text-transform: uppercase; }
.tr-gains { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tr-gains li { padding: 6px 12px; border: 1px solid rgba(40, 167, 69, .25); border-radius: 99px; background: #e9f7ee; color: #1b5e34; font-size: .82rem; font-weight: 700; }
.tr-close { margin-top: 42px; text-align: center; }
.tr-close-text { max-width: 720px; margin: 0 auto 20px; color: var(--ink); font-family: var(--font-head); font-size: clamp(1.08rem, 2vw, 1.3rem); font-weight: 700; }
.tr-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.tr-close .solution-note { margin-top: 14px; color: var(--ink-soft); font-size: .88rem; }

/* ---------- Acción: diagnóstico express ---------- */
.home-page .diag-band { padding: clamp(40px, 6vw, 72px) 0; }
.home-page .diag-band-box { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; overflow: hidden; padding: clamp(28px, 4vw, 52px); border-radius: var(--radius); color: #fff; background: radial-gradient(520px 360px at 88% -20%, rgba(0, 194, 255, .28), transparent 60%), var(--bg-dark); box-shadow: var(--shadow-md); }
.diag-band-text { position: relative; z-index: 1; }
.diag-band-text .eyebrow { color: var(--cyan); }
.diag-band-text h2 { margin: 8px 0 20px; color: #fff; font-size: clamp(1.5rem, 3.3vw, 2.3rem); line-height: 1.15; }
.diagnostic-lead { font-size: 1rem; line-height: 1.65; color: #c3d4e4; margin: 0 0 20px; max-width: 490px; }
.diagnostic-lead strong { color: #fff; }
.diag-gets { list-style: none; display: grid; gap: 10px; margin: 0 0 22px; }
.diag-gets li { position: relative; padding-left: 32px; color: #c3d4e4; font-size: .95rem; line-height: 1.5; }
.diag-gets li::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: rgba(92, 225, 197, .16); }
.diag-gets li::after { left: 8.5px; top: 5px; color: #5ce1c5; }
.diag-gets strong { color: #fff; }
.diagnostic-areas { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 27px; }
.diagnostic-areas span { border: 1px solid #31536b; border-radius: 5px; padding: 4px 9px; color: #a7c3d8; font: .67rem var(--font-tech); }
.diagnostic-note { font-size: .72rem; line-height: 1.6; color: #a8bfd1; margin-top: 13px; max-width: 440px; }
.diagnostic-preview { min-width: 0; }
.express-preview { overflow: hidden; background: #fff; border: 1px solid #d3e6ec; border-radius: 18px; color: var(--ink); box-shadow: 0 20px 48px #0003; }
.express-head { display: flex; gap: 12px; align-items: center; border-bottom: 1px solid #e1eaf0; padding: 18px 21px; background: #f6fafc; }
.express-logo { flex: 0 0 32px; color: #0b7999; font: 700 1.55rem var(--font-tech); letter-spacing: -.18em; }
.express-logo span { color: #14b8c4; font-size: 1rem; }
.express-head p { font: 600 .92rem var(--font-tech); }
.express-head div > span { color: #566a7c; font-size: .7rem; }
.express-sample { margin-left: auto; font: .63rem var(--font-tech); color: #4c7084; padding: 4px 7px; border-radius: 5px; border: 1px solid #c7dce6; }
.express-question { padding: 23px 24px 19px; }
.express-step { font: 500 .63rem var(--font-tech); letter-spacing: .08em; text-transform: uppercase; color: #527384; }
.express-question h3 { font: 600 1.22rem/1.3 var(--font-tech); letter-spacing: -.02em; margin: 9px 0 16px; }
.express-options { display: grid; gap: 7px; }
.express-options button { display: flex; gap: 10px; align-items: center; border: 1px solid #dce6ee; background: #fff; color: #43586c; border-radius: 8px; padding: 12px; min-height: 46px; text-align: left; font: .81rem var(--font-body); cursor: pointer; }
.express-options button[aria-pressed="true"] { border-color: #2594af; background: #eef9fa; color: #10566b; font-weight: 700; }
.express-options button:hover { border-color: #73afc2; }
.express-radio { width: 14px; height: 14px; flex: 0 0 auto; border: 1px solid #abbdc9; border-radius: 50%; }
[aria-pressed="true"] .express-radio { border: 4px solid #15829b; }
.express-option-arrow { margin-left: auto; color: #207992; }
.express-result { margin: 0 24px; padding: 18px; border-radius: 10px; background: linear-gradient(110deg, #eef7fa, #f5f9f5); min-height: 180px; border: 1px solid #ddecef; }
.express-result h4 { font: 600 1.05rem/1.3 var(--font-tech); margin: 9px 0 7px; color: #163e4f; }
.express-result > p { color: #496373; font-size: .84rem; line-height: 1.5; }
.express-route { display: flex; justify-content: space-between; align-items: center; gap: 5px; border-top: 1px solid #d3e4e6; margin-top: 16px; padding-top: 11px; font: .65rem var(--font-tech); color: #226b76; }
.express-route i { font-style: normal; color: #61929e; }
.express-disclaimer { font-size: .67rem; color: #566a7c; line-height: 1.5; padding: 14px 24px 18px; }

/* ---------- Convicción: planes ---------- */
.home-page .price-card .price-goal { min-height: 0; color: var(--ink); font-family: var(--font-head); font-weight: 700; line-height: 1.4; }
.price-first { margin: -6px 0 24px; padding: 16px 16px 14px; border: 1px dashed rgba(10, 116, 218, .32); border-radius: 14px; background: var(--bg-soft); }
.price-first-label { margin-bottom: 10px; color: var(--blue-ink); font: 800 .72rem var(--font-head); letter-spacing: .1em; text-transform: uppercase; }
/* Cronograma de 4 pasos; anula la palomita que styles.css pone a cada li de las tarjetas de precio. */
.price-steps { list-style: none; display: grid; gap: 12px; margin: 0 0 12px; }
.price-card .price-steps li { position: relative; padding-left: 18px; color: var(--ink-soft); }
.price-card .price-steps li::before { content: ""; position: absolute; left: 0; top: 5px; width: 8px; height: 8px; border: 0; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 3px rgba(0, 194, 255, .16); transform: none; }
.price-card .price-steps li::after { content: ""; position: absolute; left: 3.5px; top: 17px; bottom: -11px; width: 1px; background: rgba(10, 116, 218, .25); }
.price-card .price-steps li:last-child::after { display: none; }
.step-when { display: block; margin-bottom: 2px; color: var(--blue-ink); font: 800 .7rem/1.3 var(--font-head); letter-spacing: .06em; text-transform: uppercase; }
.step-what { display: block; font-size: .88rem; line-height: 1.45; }
.price-time { padding-top: 10px; border-top: 1px dashed rgba(10, 116, 218, .25); color: var(--ink-soft); font-size: .85rem; line-height: 1.45; }
.price-time strong { color: var(--ink); }
.pricing-roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 36px auto 0; }
.pricing-roles > div { padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); }
.pricing-roles h3 { margin-bottom: 6px; font-size: 1rem; font-weight: 800; }
.pricing-roles p { color: var(--ink-soft); font-size: .93rem; }

/* ---------- Herramientas gratuitas ---------- */
.tools-showcase { background: var(--bg-soft); }
.showcase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.showcase-card { position: relative; overflow: hidden; padding: 30px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .25s, box-shadow .25s; }
.showcase-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--grad-tri); }
.showcase-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.showcase-icon { display: block; margin-bottom: 14px; font-size: 2.2rem; }
.showcase-card h3 { margin-bottom: 8px; font-size: 1.2rem; font-weight: 800; }
.showcase-card p { color: var(--ink-soft); font-size: .96rem; }

/* ---------- Cierre ---------- */
.home-page .cta-final { max-width: 640px; margin: 0 auto; }
.home-page .cta-final-actions { flex-wrap: wrap; gap: 12px; margin: 4px 0 0; }
.byaf { font-size: .85rem !important; color: var(--ink-soft) !important; font-style: italic; }
.home-page .cta-box .byaf { color: #b8c9d9 !important; }

/* El menú se recoge antes de que sus enlaces dejen de caber. */
@media (max-width: 1100px) {
  .home-page .nav-toggle { display: flex; min-width: 44px; min-height: 44px; justify-content: center; align-items: center; }
  .home-page .nav-links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); max-height: 0; overflow: hidden; visibility: hidden; transition: max-height .35s ease, visibility .35s ease; }
  .home-page .nav-links.open { max-height: 420px; visibility: visible; }
  .home-page .nav-links li { border-top: 1px solid var(--line); }
  .home-page .nav-links a { display: block; padding: 16px 20px; }
  .home-page .nav-cta { border-radius: 0; }
  .value-signature { flex-basis: 180px; padding-inline: 18px; }
  .chip-lead { left: -18px; }
  .chip-week { right: -14px; }
}
@media (max-width: 980px) {
  .home-page .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .home-page .hero-content { max-width: 650px; }
  .home-page .hero-sub { max-width: 620px; }
  .hero-visual { justify-self: center; width: min(560px, 100%); }
  .hero-visual::before { inset: 6% -3% -4% 6%; transform: rotate(2.5deg); }
  .hero-photo { aspect-ratio: 16 / 10; }
  .chip-lead { top: auto; left: 14px; bottom: 14px; max-width: calc(100% - 28px); animation: none; }
  .chip-week { top: 14px; right: 14px; bottom: auto; min-width: 0; animation: none; }
  .ident-layout { grid-template-columns: 1fr; gap: 36px; }
  .ident-head { max-width: 680px; }
  .ident-showcase { width: min(560px, 100%); justify-self: center; }
  .op-grid { grid-template-columns: 1fr; }
  .chat-demo, .calc-card { width: min(640px, 100%); margin-inline: auto; }
  .home-page .diag-band-box { grid-template-columns: 1fr; }
  .diagnostic-preview { width: min(520px, 100%); margin-inline: auto; }
  .story-slide h3 { font-size: 1.8rem; }
  .showcase-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .tr-grid { grid-template-columns: 1fr; }
  .tr-card { width: min(640px, 100%); margin-inline: auto; }
}
@media (max-width: 980px) {
  .pricing-roles { grid-template-columns: 1fr; max-width: 640px; }
}
@media (max-width: 600px) {
  .home-page .hero { padding: 30px 0 44px; }
  .home-page .hero-title { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .home-page .hero .eyebrow { font-size: .68rem; letter-spacing: .8px; }
  .home-page .hero-sub { font-size: 1.03rem; line-height: 1.6; margin: 18px 0 23px; }
  .home-page .hero-actions { flex-direction: column; gap: 11px; }
  .home-page .hero-actions .btn { width: 100%; font-size: .92rem; padding: 14px 12px; min-height: 50px; text-align: center; line-height: 1.3; }
  .home-page .hero-actions .btn-primary { font-size: clamp(.8rem, 3.6vw, .92rem); letter-spacing: -.01em; }
  .hero-micro { font-size: .8rem; }
  .home-page .hero-trust { margin-top: 24px; padding-top: 18px; gap: 14px 18px; }
  .home-page .hero-trust li { padding: 0; border: 0; font-size: .77rem; }
  .home-page .hero-trust strong { font-size: 1.05rem; }
  .hero-visual::before { display: none; }
  .hero-photo-frame { border-radius: 20px; }
  .chip-week { display: none; }
  .chip-lead { padding: 9px 11px; gap: 8px; }
  .chip-icon { width: 30px; height: 30px; }
  .chip-text strong { font-size: .8rem; }
  .ident-points li { padding: 12px 14px 12px 44px; font-size: .95rem; }
  .stories-topline { padding: 16px 18px; }
  .stories-title { font-size: .73rem; }
  .stories-coordinate { display: none; }
  .story-slide { padding: 20px 18px; }
  .story-service { font-size: .71rem; }
  .story-slide h3 { font-size: 1.65rem; min-height: 0; }
  .story-action { padding: 20px 0; }
  .story-value { padding: 15px 12px; gap: 10px; }
  .story-tabs { padding: 0 18px 16px; gap: 7px; }
  .story-tab { font-size: .68rem; }
  .stories-footer { padding: 10px 18px; gap: 2px; flex-direction: column; align-items: flex-start; }
  .stories-footer a { font-size: .73rem; }
  .stories-footer button { font-size: .69rem; }
  .home-page .value-marquee { min-height: 78px; }
  .value-signature { display: none; }
  .home-page .value-item > span { font-size: 1rem; }
  .value-pause { margin-right: 0; margin-left: 10px; }
  .chat-thread { padding: 16px 14px; }
  .msg { max-width: 92%; }
  .chat-insight { margin-inline: 14px; }
  .chat-demo figcaption { padding-inline: 14px; }
  .calc-row { flex-direction: column; align-items: flex-start; gap: 2px; }
  .calc-actions .btn { flex-basis: 100%; }
  .tr-body { padding: 20px 18px 22px; }
  .tr-num { left: 14px; top: 12px; }
  .home-page .diag-band-box { padding: 28px 18px; }
  .home-page .diag-band-text .btn { width: 100%; font-size: .86rem; padding-inline: 12px; }
  .express-head { padding: 15px; gap: 9px; }
  .express-head p { font-size: .81rem; }
  .express-head div > span { font-size: .65rem; }
  .express-sample { display: none; }
  .express-question { padding: 20px 15px 16px; }
  .express-question h3 { font-size: 1.13rem; }
  .express-options button { padding: 12px 10px; font-size: .79rem; }
  .express-result { margin-inline: 15px; padding: 15px; min-height: 202px; }
  .express-disclaimer { padding-inline: 15px; }
  .home-page .cta-final-actions { flex-direction: column; }
  .home-page .cta-final-actions .btn, .home-page .cta-final .btn-whatsapp { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .home-page .wa-float, .story-slide.is-entering, .is-playing .story-tab::after, .hero-chip { animation: none; }
  .home-page .reveal { opacity: 1; transform: none; transition: none; }
  .home-page .nav-links { transition: none; }
  .home-page .value-marquee .marquee-track { animation: none; width: auto; }
  .value-window { mask-image: none; }
  .value-group { flex-wrap: wrap; justify-content: center; }
  .value-group[aria-hidden="true"] { display: none; }
  .home-page .value-item { white-space: normal; padding: 12px 16px; }
  .value-item i { display: none; }
  .tr-card, .tr-media img { transition: none; }
  .tr-card:hover .tr-media img, .tr-card.visible:hover { transform: none; }
}
