/* CIMAVOR · capa visual 2026-11-12: profundidad, movimiento y hover. Se carga la última. */

/* ---------- Portada: fondo con luz ---------- */
.hero{background:
  radial-gradient(900px 520px at 78% 38%,rgba(31,191,155,.20),transparent 62%),
  radial-gradient(700px 480px at 8% 8%,rgba(125,211,252,.16),transparent 60%),
  radial-gradient(620px 420px at 52% 108%,rgba(250,204,21,.10),transparent 60%),
  linear-gradient(180deg,#f3fbf8 0%,#eaf6f1 100%)}
.hero::after{content:"";position:absolute;z-index:-1;right:-8%;top:6%;width:58%;aspect-ratio:1.25;border-radius:50%;
  background:conic-gradient(from 210deg at 50% 50%,rgba(16,163,127,.26),rgba(56,189,248,.16),rgba(167,243,208,.30),rgba(16,163,127,.26));
  filter:blur(70px);opacity:.75;animation:fx-aurora 18s ease-in-out infinite alternate;pointer-events:none}
@keyframes fx-aurora{0%{transform:translate3d(0,0,0) rotate(0deg) scale(1)}100%{transform:translate3d(-4%,5%,0) rotate(28deg) scale(1.12)}}
.hero h1 span,.hero h1 em,.hero h1 strong{background:linear-gradient(100deg,#087455 0%,#10a37f 35%,#34d3a6 55%,#087455 100%);background-size:220% 100%;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;animation:fx-sheen 7s ease-in-out infinite}
@keyframes fx-sheen{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}

/* ---------- Portada: imagen integrada ---------- */
.hero-grid{perspective:1400px}
.hero-visual{transform-style:preserve-3d;transform:rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));transition:transform .5s cubic-bezier(.2,.7,.2,1);will-change:transform}
.hero-visual::before{content:"";position:absolute;z-index:-1;left:8%;right:4%;bottom:5%;height:16%;border-radius:50%;background:radial-gradient(closest-side,rgba(8,60,48,.30),transparent 72%);filter:blur(16px)}
.hero-visual::after{content:"";position:absolute;z-index:-2;inset:8% 2% 14% 10%;border-radius:36px;background:linear-gradient(145deg,rgba(255,255,255,.75),rgba(255,255,255,.25));border:1px solid rgba(255,255,255,.8);box-shadow:0 40px 90px -40px rgba(8,116,85,.45),inset 0 1px 0 #fff;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.floating{transition:box-shadow .35s,translate .5s cubic-bezier(.2,.7,.2,1);translate:calc(var(--px,0) * var(--depth,10px)) calc(var(--py,0) * var(--depth,10px))}
.floating.one{--depth:16px}.floating.two{--depth:-12px}.floating.three{--depth:22px}
.floating:hover{box-shadow:0 1px 0 #fff inset,0 26px 54px -12px rgba(8,116,85,.42)}

/* ---------- Cinta deslizante ---------- */
.fx-marquee{position:relative;overflow:hidden;padding:18px 0;background:#0b2230;color:#d9efe7;border-block:1px solid rgba(255,255,255,.06);
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
.fx-marquee-track{display:flex;width:max-content;animation:fx-marquee 42s linear infinite}
.fx-marquee:hover .fx-marquee-track{animation-play-state:paused}
.fx-marquee ul{display:flex;align-items:center;gap:0;margin:0;padding:0;list-style:none;flex:none}
.fx-marquee li{display:inline-flex;align-items:center;gap:14px;padding:0 26px;font-size:15px;font-weight:600;letter-spacing:.01em;white-space:nowrap}
.fx-marquee li::before{content:"";width:8px;height:8px;border-radius:2px;background:linear-gradient(135deg,#34d3a6,#10a37f);transform:rotate(45deg);box-shadow:0 0 0 4px rgba(52,211,166,.14)}
@keyframes fx-marquee{to{transform:translateX(-50%)}}

/* ---------- Secciones: menos plano ---------- */
.section{position:relative;isolation:isolate;overflow-x:clip}
.section.questions{background:linear-gradient(180deg,#fff 0%,#f7fbfa 100%)}
.section.features{background:radial-gradient(800px 420px at 12% 0%,rgba(31,191,155,.09),transparent 60%),radial-gradient(700px 420px at 92% 100%,rgba(56,189,248,.07),transparent 60%),#fff}
.section.pricing{background:radial-gradient(900px 480px at 50% -6%,rgba(31,191,155,.16),transparent 62%),linear-gradient(180deg,#f1f9f6 0%,#e8f4ef 100%)}
.section.workflow::before,.section.faq::before{content:"";position:absolute;z-index:-1;width:520px;height:520px;border-radius:50%;filter:blur(90px);opacity:.5;pointer-events:none}
.section.workflow::before{left:-180px;top:10%;background:rgba(31,191,155,.22)}
.section.faq::before{right:-200px;top:20%;background:rgba(56,189,248,.14)}
.heading h2 span,.how-intro h2 span,.faq h2 span{background:linear-gradient(100deg,#087455,#1fbf9b);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent}

/* ---------- Tarjetas: foco de luz que sigue al cursor ---------- */
.fx-card{--mx:50%;--my:0%;transition:transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .35s,border-color .35s,background-color .35s}
.fx-card .icon-tile,.fx-card>i,.fx-card .step-icon{transition:transform .45s cubic-bezier(.2,.7,.2,1),box-shadow .35s}
@media(hover:hover){
  .fx-card:hover{transform:translateY(-7px);border-color:rgba(16,163,127,.55);
    box-shadow:0 0 0 1px rgba(16,163,127,.18),0 30px 60px -28px rgba(8,116,85,.45),0 10px 24px -14px rgba(11,34,48,.18);
    background-image:radial-gradient(380px circle at var(--mx) var(--my),rgba(31,191,155,.14),transparent 62%)}
  .fx-card:hover .icon-tile,.fx-card:hover>i{transform:translateY(-3px) scale(1.08) rotate(-5deg);box-shadow:0 14px 26px -12px rgba(8,116,85,.5)}
  .fx-card:hover h3{color:var(--brand-700,#066047)}
  .plan.featured.fx-card:hover{background-image:radial-gradient(420px circle at var(--mx) var(--my),rgba(52,211,166,.22),transparent 62%)}
  .plan.featured.fx-card:hover h3{color:inherit}
  .faq-list details{transition:border-color .3s,box-shadow .3s,transform .3s}
  .faq-list details:hover{border-color:rgba(16,163,127,.5);box-shadow:0 16px 34px -22px rgba(8,116,85,.4);transform:translateX(4px)}
  .footer-col a,.site-footer a{transition:color .25s,transform .25s}
  .footer-col a:hover{transform:translateX(4px)}
}

/* ---------- Botones ---------- */
.button{position:relative;overflow:hidden;isolation:isolate}
.button.primary::before{content:"";position:absolute;z-index:-1;top:0;bottom:0;left:-60%;width:45%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.38),transparent);transform:skewX(-20deg);transition:left .7s cubic-bezier(.2,.7,.2,1)}
@media(hover:hover){
  .button.primary:hover::before{left:120%}
  .button.primary:hover{box-shadow:0 18px 36px -14px rgba(8,116,85,.65)}
  .button.outline:hover{box-shadow:0 14px 30px -18px rgba(11,34,48,.4)}
}

/* ---------- Barra de avance de lectura (portada) ---------- */
.fx-progress{position:fixed;left:0;top:0;z-index:120;height:3px;width:100%;transform-origin:left;transform:scaleX(var(--p,0));background:linear-gradient(90deg,#087455,#34d3a6);pointer-events:none}

/* ---------- Móvil: tarjetas deslizantes ---------- */
@media(max-width:640px){
  .question-grid,.feature-grid{display:flex!important;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;margin-inline:-18px;padding:6px 18px 18px;scrollbar-width:none}
  .question-grid::-webkit-scrollbar,.feature-grid::-webkit-scrollbar{display:none}
  .question-grid>*,.feature-grid>*{flex:0 0 82%;scroll-snap-align:center;min-width:0}
  .js .question-grid>.reveal,.js .feature-grid>.reveal{opacity:1;transform:none}
  .fx-dots{display:flex;justify-content:center;gap:7px;margin-top:2px}
  .fx-dots i{width:7px;height:7px;border-radius:50%;background:#c5d9d2;transition:width .3s,background .3s}
  .fx-dots i.on{width:22px;border-radius:6px;background:var(--brand-600,#087455)}
  .fx-marquee{padding:14px 0}.fx-marquee li{font-size:13.5px;padding:0 18px}
  .hero::after{width:110%;right:-30%;top:38%}
}
@media(min-width:641px){.fx-dots{display:none}}

/* ---------- Guías: capturas en móvil ---------- */
.zoom{position:relative}
.lb-stage{position:relative}
.lb-stage .pin{position:absolute}
@media(max-width:760px){
  .shot.is-card{overflow:visible;padding-bottom:0}
  .shot.is-card .shot-img{width:auto}
  .shot.is-card figcaption{position:static;width:auto;text-align:center}
  .shot .pin{width:18px;height:18px;font-size:10px;box-shadow:0 0 0 1.5px #fff,0 3px 8px rgba(11,34,48,.35)}
  .shot .zoom::after{content:"";position:absolute;right:8px;bottom:8px;width:34px;height:34px;border-radius:50%;
    background:rgba(11,34,48,.82) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M16 16l4.5 4.5M11 8.5v5M8.500 11h5'/%3E%3C/svg%3E") center/18px no-repeat;box-shadow:0 6px 16px rgba(11,34,48,.35)}
  .shot.is-narrow .zoom::after,.shot.is-modal .zoom::after{width:30px;height:30px;background-size:16px}
  .lightbox{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border-radius:0;background:#0b2230;overflow:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
  .lightbox .lb-stage{width:max(100vw,var(--lbw,860px));margin:64px 0 24px;background:#fff}
  .lightbox .lb-stage.is-tall{width:100vw}
  .lightbox .lb-stage .pin{width:24px;height:24px;font-size:12px}
  .lb-close{top:12px;right:12px}
}

@media(prefers-reduced-motion:reduce){
  .hero::after,.hero h1 span,.hero h1 em,.hero h1 strong,.fx-marquee-track{animation:none}
  .fx-marquee-track{flex-wrap:wrap;width:auto;justify-content:center}
  .fx-marquee ul[aria-hidden]{display:none}
  .hero-visual,.floating{transform:none;translate:none;transition:none}
  .button.primary::before{display:none}
}
.lb-hint{display:none}
@media(max-width:760px){
  .lb-hint{position:fixed;left:50%;bottom:26px;z-index:3;display:flex;align-items:center;justify-content:center;width:64px;height:40px;margin-left:-32px;border-radius:20px;background:rgba(255,255,255,.94);box-shadow:0 10px 26px rgba(0,0,0,.35);opacity:0;pointer-events:none}
  .lb-hint.show{animation:fx-hint 3.2s ease-in-out 1 both}
  .lb-hint svg{width:30px;height:30px;color:#0b2230}
}
@keyframes fx-hint{0%{opacity:0;transform:translateX(0)}15%{opacity:1}35%{transform:translateX(-10px)}55%{transform:translateX(10px)}75%{opacity:1;transform:translateX(0)}100%{opacity:0}}

/* ====== Portada v2 (12-11-2026): neutra, imagen grande e integrada ====== */
.hero{padding:52px 0 64px;background:
  radial-gradient(1100px 460px at 22% 118%,rgba(11,34,48,.06),transparent 62%),
  radial-gradient(900px 420px at 86% -8%,rgba(11,34,48,.045),transparent 60%),
  linear-gradient(180deg,#fdfdfd 0%,#f4f5f6 100%)}
.hero::before{display:none}
.hero::after{animation:none;filter:none;opacity:1;right:auto;left:-10%;top:auto;bottom:-46%;width:120%;aspect-ratio:auto;height:70%;border-radius:50%;background:linear-gradient(180deg,rgba(255,255,255,.9),rgba(255,255,255,0) 60%);transform:rotate(-4deg)}
.hero-visual::after{display:none}
.hero-visual::before{left:16%;right:10%;bottom:7%;height:13%;background:radial-gradient(closest-side,rgba(11,34,48,.26),transparent 72%)}
.hero-photo{filter:saturate(.92) contrast(1.03)}
.hero-copy .eyebrow{border-color:#dfe5e3;box-shadow:0 1px 2px rgba(11,34,48,.05)}
.hero-points{grid-template-columns:repeat(2,max-content);gap:18px 56px;font-size:15px;color:var(--navy-800,#1c2f3a)}
.hero-points span{gap:14px}
.hero-points svg{display:none}
.hero-points span::before{content:"";flex:none;width:26px;height:26px;background:var(--brand-600,#087455);-webkit-mask:var(--ic) center/contain no-repeat;mask:var(--ic) center/contain no-repeat}
.hero-points span:nth-child(1){--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='12' rx='2'/%3E%3Cpath d='M8 20h8M12 16v4'/%3E%3C/svg%3E")}
.hero-points span:nth-child(2){--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l2-5h14l2 5v1a3 3 0 0 1-6 0 3 3 0 0 1-6 0 3 3 0 0 1-6 0zM5 13v7h14v-7M10 20v-4h4v4'/%3E%3C/svg%3E")}
.hero-points span:nth-child(3){--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E")}
.hero-points span:nth-child(4){--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 3l1.900 5.100L18 10l-5.100 1.900L11 17l-1.900-5.100L4 10l5.100-1.900zM19 15l.8 2.200 2.200.8-2.200.8L19 21l-.8-2.200L16 18l2.200-.8z'/%3E%3C/svg%3E")}
.floating{background:rgba(255,255,255,.96);border-color:#fff;box-shadow:0 1px 0 #fff inset,0 22px 48px -16px rgba(11,34,48,.30),0 2px 6px rgba(11,34,48,.06)}
@media(min-width:1181px){
  .hero-grid{grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);gap:0}
  .hero h1{white-space:nowrap;position:relative;z-index:3}
  .hero-visual{margin-right:-28px;margin-left:8px}
  .floating{padding:18px 24px 18px 18px;font-size:16.5px;border-radius:20px;gap:16px}
  .floating i{padding:12px;border-radius:14px}.floating svg{width:26px;height:26px}
  .floating.one{right:15%;top:1%}.floating.two{left:3%;top:68%}.floating.three{right:5%;bottom:7%}
}
/* cinta: iconos y separadores */
.fx-marquee li{gap:12px;padding:0 30px;border-right:1px solid rgba(255,255,255,.14);font-weight:500}
.fx-marquee li::before{width:20px;height:20px;border-radius:0;transform:none;box-shadow:none;background:#5fd3ad;-webkit-mask:var(--ic) center/contain no-repeat;mask:var(--ic) center/contain no-repeat}
.fx-marquee li:nth-child(1){--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.500'/%3E%3Ccircle cx='12' cy='12' r='4.500'/%3E%3Ccircle cx='12' cy='12' r='1'/%3E%3C/svg%3E")}
.fx-marquee li:nth-child(2){--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.200'/%3E%3Cpath d='M3 20a6 6 0 0 1 12 0M16 5.200a3.200 3.200 0 0 1 0 5.600M17.500 14.300A6 6 0 0 1 21 20'/%3E%3C/svg%3E")}
.fx-marquee li:nth-child(3){--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.500'/%3E%3Cpath d='M12 7.500V12l3 2'/%3E%3C/svg%3E")}
.fx-marquee li:nth-child(4){--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7l6 6 4-4 8 8M21 11v6h-6'/%3E%3C/svg%3E")}
.fx-marquee li:nth-child(5){--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 20v-6M12 20V9M19 20V4'/%3E%3C/svg%3E")}
.fx-marquee li:nth-child(6){--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 3l1.900 5.100L18 10l-5.100 1.900L11 17l-1.900-5.100L4 10l5.100-1.900zM19 15l.8 2.200 2.200.8-2.200.8L19 21l-.8-2.200L16 18l2.200-.8z'/%3E%3C/svg%3E")}
@media(max-width:640px){.hero-points{gap:14px 20px;font-size:13.5px}.hero-points span{gap:9px}.hero-points span::before{width:22px;height:22px}.hero::after{left:-30%;width:160%;right:auto;top:auto}}
@media(min-width:1400px){.hero-visual{margin-right:-90px;margin-left:20px}}
@media(max-width:640px){.hero-points{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px;font-size:13px}.hero-points span{align-items:flex-start;line-height:1.3}}
