/* =====================================================================
   LISSTOS · Home futurista  (tema oscuro, encapsulado en .home-shell)
   Todo aquí está scopeado a .home-shell para NO afectar el resto del sitio.
   Paleta de marca: navy #001a70 · teal #52b1ad / #5ee7d9
   ===================================================================== */

.home-shell{
  --accent:#5ee7d9;
  --accent-2:#7b8cff;
  --accent-3:#2fb7ff;
  --txt:#f5f7ff;
  --muted:#9fb0d0;
  --border:rgba(255,255,255,0.14);
  --surface:rgba(255,255,255,0.055);
  --surface-2:rgba(255,255,255,0.09);
  --shadow:0 30px 80px rgba(2,8,27,0.42);
  --card:rgba(12,19,40,0.72);

  position:relative;
  overflow:hidden;
  padding-top:0;
  color:var(--txt);
  background:
    radial-gradient(circle at 18% 12%, rgba(94,231,217,0.16), transparent 26%),
    radial-gradient(circle at 88% 8%, rgba(123,140,255,0.16), transparent 30%),
    radial-gradient(circle at 60% 100%, rgba(47,183,255,0.10), transparent 34%),
    linear-gradient(160deg, #050816, #0b1430 46%, #0a1122);
}
.home-shell *{box-sizing:border-box;}
.home-shell .section{padding:92px 5%; position:relative;}
.home-shell .section-shell{max-width:1240px; margin:0 auto; position:relative; z-index:2;}

/* ---- Barra de progreso y glow del cursor ---- */
.home-shell .scroll-progress{
  position:fixed; inset:0 0 auto 0; height:3px; transform-origin:left center; transform:scaleX(0);
  z-index:1200; background:linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3));
  box-shadow:0 0 18px rgba(94,231,217,0.45); transition:transform .1s linear;
}
.home-shell .cursor-glow{
  position:fixed; width:340px; height:340px; border-radius:50%; pointer-events:none; z-index:0;
  transform:translate(-50%,-50%); opacity:0; transition:opacity .25s ease; mix-blend-mode:screen; filter:blur(30px);
  background:radial-gradient(circle, rgba(94,231,217,0.16), rgba(94,231,217,0.02) 44%, transparent 70%);
}

/* ---- Botones (scopeados para leer sobre fondo oscuro) ---- */
.home-shell .btn{display:inline-flex; align-items:center; justify-content:center; gap:8px; cursor:pointer;
  font-weight:700; font-size:15px; padding:14px 26px; border-radius:14px; border:1px solid transparent; transition:transform .2s ease, box-shadow .2s ease, background .2s ease;}
.home-shell .btn-primary{background:linear-gradient(135deg, var(--accent) 0%, var(--accent-3) 100%); color:#03101d; box-shadow:0 14px 34px rgba(47,183,255,0.28);}
.home-shell .btn-primary:hover{transform:translateY(-2px); box-shadow:0 20px 44px rgba(47,183,255,0.4);}
.home-shell .btn-outline{background:rgba(255,255,255,0.04); color:var(--txt); border-color:rgba(255,255,255,0.28);}
.home-shell .btn-outline:hover{border-color:var(--accent); color:var(--accent); transform:translateY(-2px);}
.home-shell .btn-wa{background:#25D366; color:#04210f; box-shadow:0 14px 34px rgba(37,211,102,0.28);}
.home-shell .btn-wa:hover{transform:translateY(-2px);}

/* ---- HERO ---- */
.home-shell .hero-section{position:relative; min-height:100vh; padding:130px 5% 80px; display:flex; align-items:center; overflow:hidden;}
.home-shell .hero-section::after{content:""; position:absolute; inset:0; pointer-events:none; filter:blur(46px);
  background:
    radial-gradient(circle at 22% 16%, rgba(94,231,217,0.16), transparent 24%),
    radial-gradient(circle at 80% 22%, rgba(123,140,255,0.20), transparent 28%),
    radial-gradient(circle at 50% 100%, rgba(47,183,255,0.16), transparent 30%);}
.home-shell .hero-grid{position:absolute; inset:0; opacity:.42;
  background-image:linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size:74px 74px; mask-image:linear-gradient(180deg, rgba(0,0,0,0.9), transparent 92%);}
.home-shell .hero-inner{position:relative; z-index:2; max-width:1280px; width:100%; margin:0 auto;
  display:grid; grid-template-columns:1.04fr .96fr; gap:56px; align-items:center;}

.home-shell .badge-pill{display:inline-flex; align-items:center; gap:9px; padding:8px 15px; border-radius:999px;
  border:1px solid rgba(94,231,217,0.28); background:rgba(94,231,217,0.1); color:var(--accent);
  font-size:11px; font-weight:700; letter-spacing:.14em; text-transform:uppercase;}
.home-shell .badge-pill .dot{width:8px; height:8px; border-radius:50%; background:var(--accent); box-shadow:0 0 0 5px rgba(94,231,217,0.15); animation:nsPulse 2s infinite;}

.home-shell .hero-title{font-size:clamp(38px, 5vw, 70px); line-height:1.02; font-weight:800; letter-spacing:-.03em; margin:20px 0 20px; max-width:660px; color:var(--txt);}
.home-shell .hero-title .accent{background:linear-gradient(90deg, #ffffff 0%, var(--accent) 42%, #8bbcff 100%); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;}
.home-shell .hero-copy > p, .home-shell .hero-section p.reveal{font-size:17px; line-height:1.8; max-width:600px; color:var(--muted); margin-bottom:28px;}
.home-shell .hero-actions{display:flex; flex-wrap:wrap; gap:14px; margin-bottom:28px;}
.home-shell .hero-actions .btn{min-width:190px;}
.home-shell .hero-metrics{display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:12px; max-width:560px;}
.home-shell .metric-pill{padding:15px 14px; border-radius:16px; border:1px solid var(--border); background:var(--surface); backdrop-filter:blur(16px);}
.home-shell .metric-pill strong{display:block; font-size:22px; margin-bottom:4px; color:#fff;}
.home-shell .metric-pill span{font-size:11px; text-transform:uppercase; letter-spacing:.12em; color:var(--muted);}

/* Logo LISSTOS dentro del título */
.home-shell .tp-line{color:var(--muted); font-weight:700;}
.home-shell .hero-title-logo{height:clamp(50px, 6.4vw, 88px); width:auto; vertical-align:middle; display:inline-block; margin:6px 0 0 2px;
  filter:drop-shadow(0 8px 22px rgba(94,231,217,0.32));}

/* Visual del hero: panel/dashboard LISSTOS en vidrio */
.home-shell .hero-visual{position:relative; min-height:560px; display:flex; align-items:center; justify-content:center;}
.home-shell .hero-glow{position:absolute; width:min(80%, 520px); aspect-ratio:1; border-radius:50%; z-index:0;
  background:radial-gradient(circle, rgba(94,231,217,0.22), rgba(47,183,255,0.10) 42%, transparent 70%); filter:blur(30px);}
.home-shell .hero-ring{position:absolute; width:min(78%, 480px); aspect-ratio:1; border-radius:50%; z-index:0;
  border:1px solid rgba(255,255,255,0.10); box-shadow:inset 0 0 60px rgba(94,231,217,0.08); animation:nsSpin 26s linear infinite;}
.home-shell .hero-ring::before{content:""; position:absolute; inset:16%; border-radius:50%; border:1px dashed rgba(123,140,255,0.18);}

.home-shell .app-mock{position:relative; z-index:2; width:min(420px, 92%); padding:20px; border-radius:26px;
  background:linear-gradient(160deg, rgba(17,26,52,0.86), rgba(10,17,38,0.9)); border:1px solid rgba(255,255,255,0.14);
  box-shadow:0 40px 90px rgba(2,8,27,0.6), inset 0 1px 0 rgba(255,255,255,0.06); backdrop-filter:blur(22px); animation:nsFloat2 8s ease-in-out infinite;}
.home-shell .app-top{display:flex; align-items:center; justify-content:space-between; margin-bottom:16px;}
.home-shell .app-logo{height:26px; width:auto;}
.home-shell .app-live{display:inline-flex; align-items:center; gap:7px; font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--accent);}
.home-shell .app-live-dot{width:8px; height:8px; border-radius:50%; background:var(--accent); box-shadow:0 0 0 4px rgba(94,231,217,0.16); animation:nsPulse 2s infinite;}
.home-shell .app-kpis{display:grid; grid-template-columns:auto 1fr; gap:14px; align-items:center; margin-bottom:16px;}
.home-shell .app-ring{width:104px; height:104px; border-radius:50%; display:grid; place-items:center; flex:0 0 104px;
  background:conic-gradient(var(--accent) calc(var(--v)*1%), rgba(255,255,255,0.08) 0);}
.home-shell .app-ring .ring-in{width:82px; height:82px; border-radius:50%; display:grid; place-items:center; text-align:center;
  background:#0c1430; box-shadow:inset 0 0 0 1px rgba(255,255,255,0.06);}
.home-shell .app-ring strong{font-size:22px; color:#fff; line-height:1;}
.home-shell .app-ring span{font-size:9px; text-transform:uppercase; letter-spacing:.1em; color:var(--muted); margin-top:3px;}
.home-shell .app-tiles{display:grid; grid-template-columns:1fr 1fr; gap:8px;}
.home-shell .app-tile{padding:9px 11px; border-radius:12px; background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.08);}
.home-shell .app-tile strong{display:block; font-size:16px; color:#fff; line-height:1.1;}
.home-shell .app-tile span{font-size:10px; color:var(--muted);}
.home-shell .app-chart{display:flex; align-items:flex-end; gap:7px; height:70px; padding:10px 4px; margin-bottom:14px; border-radius:12px; background:rgba(255,255,255,0.03);}
.home-shell .app-chart span{flex:1; border-radius:5px 5px 2px 2px; background:linear-gradient(180deg, var(--accent), rgba(47,183,255,0.5)); box-shadow:0 0 12px rgba(94,231,217,0.2); animation:nsGrow .9s ease both;}
.home-shell .app-chart span:nth-child(2){animation-delay:.06s} .home-shell .app-chart span:nth-child(3){animation-delay:.12s} .home-shell .app-chart span:nth-child(4){animation-delay:.18s} .home-shell .app-chart span:nth-child(5){animation-delay:.24s} .home-shell .app-chart span:nth-child(6){animation-delay:.3s} .home-shell .app-chart span:nth-child(7){animation-delay:.36s}
.home-shell .app-rows{display:grid; gap:8px;}
.home-shell .app-row{display:flex; align-items:center; gap:10px; padding:10px 12px; border-radius:12px; font-size:12.5px; color:#dbe6ff; background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.07);}
.home-shell .app-row .r-dot{width:9px; height:9px; flex:0 0 9px; border-radius:50%;}
.home-shell .app-row .r-dot.ok{background:#43e5a0; box-shadow:0 0 8px rgba(67,229,160,0.5);}
.home-shell .app-row .r-dot.warn{background:#ffb648; box-shadow:0 0 8px rgba(255,182,72,0.5);}
.home-shell .app-row .r-tag{margin-left:auto; font-size:10px; font-weight:700; letter-spacing:.04em; padding:3px 9px; border-radius:999px; color:#9ff5db; background:rgba(94,231,217,0.14);}
.home-shell .app-row .r-tag.warn{color:#ffd39a; background:rgba(255,182,72,0.16);}
.home-shell .float-chip{position:absolute; z-index:3; display:inline-flex; align-items:center; gap:9px; padding:11px 15px; border-radius:14px; font-size:12.5px; font-weight:700; color:#eaf2ff;
  background:linear-gradient(160deg, rgba(20,30,58,0.95), rgba(12,19,40,0.95)); border:1px solid rgba(255,255,255,0.14); box-shadow:0 18px 40px rgba(2,8,27,0.5); backdrop-filter:blur(14px);}
.home-shell .float-chip .fc-ico{width:26px; height:26px; flex:0 0 26px; display:grid; place-items:center; border-radius:8px; color:#03101d; background:linear-gradient(135deg, var(--accent), var(--accent-3));}
.home-shell .float-chip .fc-ico svg{width:16px; height:16px;}
.home-shell .chip-alert{top:14px; right:-6px; animation:nsFloat 6s ease-in-out infinite;}
.home-shell .chip-doc{bottom:22px; left:-10px; animation:nsFloat 7s ease-in-out infinite .8s;}

/* ---- Encabezados de sección ---- */
.home-shell .section-heading{display:flex; flex-direction:column; gap:10px; margin-bottom:34px; max-width:780px;}
.home-shell .section-kicker{font-size:11px; font-weight:800; letter-spacing:.18em; text-transform:uppercase; color:var(--accent);}
.home-shell .section-heading h2{font-size:clamp(27px, 3.1vw, 40px); line-height:1.12; margin:0; color:#fff;}
.home-shell .section-heading p{font-size:15px; line-height:1.8; color:var(--muted); margin:0;}

/* Tarjetas base (glass oscuro) */
.home-shell .about-card,
.home-shell .services-card,
.home-shell .stat-card,
.home-shell .faq-item,
.home-shell .cta-panel,
.home-shell .ecosystem-card,
.home-shell .automation-card{
  border:1px solid var(--border);
  background:linear-gradient(160deg, rgba(255,255,255,0.075), rgba(255,255,255,0.025));
  border-radius:24px; box-shadow:var(--shadow); backdrop-filter:blur(20px);
}

/* ---- Quiénes somos (con foto) ---- */
.home-shell .about-panel{display:grid; grid-template-columns:1fr .9fr; gap:30px; align-items:center;}
/* Foto recortada (PNG transparente) flotando sobre un halo */
.home-shell .about-stage{position:relative; min-height:420px; display:flex; align-items:flex-end; justify-content:center; padding-bottom:6px;}
.home-shell .about-stage-glow{position:absolute; bottom:30px; left:50%; transform:translateX(-50%); width:82%; aspect-ratio:1; border-radius:50%; z-index:0;
  background:radial-gradient(circle, rgba(94,231,217,0.22), rgba(47,183,255,0.10) 46%, transparent 72%); filter:blur(26px);}
.home-shell .about-stage-ring{position:absolute; bottom:2px; left:50%; transform:translateX(-50%); width:78%; max-width:360px; aspect-ratio:1; border-radius:50%; z-index:0;
  border:1px solid rgba(255,255,255,0.1); box-shadow:inset 0 0 50px rgba(94,231,217,0.08);}
.home-shell .about-stage img{position:relative; z-index:2; width:auto; max-width:100%; max-height:430px; height:auto; display:block; filter:drop-shadow(0 26px 40px rgba(0,8,30,0.55));}
.home-shell .about-photo-badge{position:absolute; z-index:3; right:6px; bottom:34px; display:inline-flex; align-items:center; gap:8px; padding:9px 14px; border-radius:999px; background:rgba(0,26,112,0.92); color:#fff; font-size:10.5px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; box-shadow:0 12px 28px rgba(0,10,40,0.5); backdrop-filter:blur(8px);}
.home-shell .about-photo-badge::before{content:""; width:8px; height:8px; border-radius:50%; background:var(--accent);}
.home-shell .about-stack{display:grid; gap:16px;}
.home-shell .about-stack .about-card{padding:22px 24px;}
.home-shell .about-stack .about-card strong{display:block; font-size:15px; color:#fff; margin-bottom:6px;}
.home-shell .about-stack .about-card span{font-size:13px; line-height:1.75; color:var(--muted);}

/* ---- Servicios ---- */
.home-shell .services-grid{display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:18px;}
.home-shell .services-card{padding:26px 22px; cursor:pointer; position:relative; overflow:hidden; transition:transform .28s ease, border-color .28s ease;}
.home-shell .services-card:hover{transform:translateY(-6px); border-color:rgba(94,231,217,0.32);}
.home-shell .services-card .icon{width:46px; height:46px; display:grid; place-items:center; border-radius:14px; margin-bottom:16px; color:#eafffb; background:linear-gradient(135deg, rgba(94,231,217,0.26), rgba(123,140,255,0.22));}
.home-shell .services-card .icon svg{width:24px; height:24px;}
.home-shell .services-card h3{font-size:17px; color:#fff; margin:0 0 8px; display:flex; align-items:center; gap:8px; flex-wrap:wrap;}
.home-shell .services-card p{font-size:13px; line-height:1.7; color:var(--muted); margin:0 0 14px;}
.home-shell .services-card .card-link{font-size:12px; font-weight:700; letter-spacing:.02em; color:var(--accent);}
.home-shell .services-card .card-link::after{content:" \2192"; }
.home-shell .tag-free{font-size:9.5px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; padding:3px 8px; border-radius:999px; color:#04210f; background:var(--accent);}

/* ---- Qué es LISSTOS (holográfico 3D) ---- */
.home-shell .ecosystem-panel{display:grid; grid-template-columns:1.08fr .92fr; gap:30px; align-items:center;}
.home-shell .ecosystem-card{padding:26px; position:relative; min-height:540px; overflow:hidden;}
.home-shell .ecosystem-card::before{content:""; position:absolute; inset:0; pointer-events:none; background:radial-gradient(circle at 50% 46%, rgba(94,231,217,0.14), transparent 50%);}
.home-shell .ecosystem-shell{position:relative; height:500px; display:flex; align-items:center; justify-content:center; perspective:1250px;}

.home-shell .eco-grid-bg{position:absolute; inset:0; border-radius:20px; opacity:.55; pointer-events:none;
  background-image:linear-gradient(rgba(94,231,217,0.05) 1px,transparent 1px),linear-gradient(90deg,rgba(94,231,217,0.05) 1px,transparent 1px);
  background-size:38px 38px; -webkit-mask-image:radial-gradient(circle at 50% 50%, #000 30%, transparent 78%); mask-image:radial-gradient(circle at 50% 50%, #000 30%, transparent 78%);}
.home-shell .eco-halo{position:absolute; width:300px; height:300px; border-radius:50%; z-index:1; pointer-events:none;
  background:conic-gradient(from 0deg, rgba(94,231,217,0), rgba(94,231,217,0.5), rgba(47,183,255,0) 55%, rgba(123,140,255,0.42), rgba(94,231,217,0));
  filter:blur(9px); opacity:.7; animation:nsSpin 14s linear infinite;}

.home-shell .ecosystem-center{position:relative; z-index:4; width:160px; height:160px; border-radius:50%; display:grid; place-items:center; padding:30px;
  background:radial-gradient(circle at 50% 38%, rgba(20,32,64,0.96), rgba(9,15,33,0.98)); border:1px solid rgba(120,200,255,0.35);
  box-shadow:0 0 0 8px rgba(94,231,217,0.08), 0 0 60px rgba(94,231,217,0.32), inset 0 1px 0 rgba(255,255,255,0.12);}
.home-shell .ecosystem-center img{width:100%; height:auto; display:block; filter:drop-shadow(0 2px 8px rgba(94,231,217,0.3));}

.home-shell .eco-ring{--R:186px; position:absolute; inset:0; z-index:3; transform-style:preserve-3d; transform:rotateX(18deg);}
.home-shell .eco-node{position:absolute; left:50%; top:50%; width:126px; min-height:82px; margin:-41px -63px; padding:12px 10px; cursor:pointer;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:7px; text-align:center; font-size:12.5px; font-weight:700; color:#eaf2ff;
  border:1px solid rgba(120,200,255,0.26); border-radius:16px;
  background:linear-gradient(160deg, rgba(30,44,80,0.74), rgba(12,20,44,0.8)); backdrop-filter:blur(10px);
  box-shadow:0 16px 34px rgba(0,8,30,0.45), inset 0 1px 0 rgba(255,255,255,0.08);
  transform:rotate(var(--a)) translateY(calc(-1 * var(--R))) rotate(calc(-1 * var(--a))) rotateX(-18deg);
  transition:border-color .3s ease, box-shadow .3s ease, background .3s ease, color .3s ease;}
.home-shell .eco-node::after{content:""; position:absolute; inset:0; border-radius:16px; pointer-events:none; opacity:0; transition:opacity .3s ease;
  background:linear-gradient(160deg, rgba(94,231,217,0.14), transparent 60%); box-shadow:inset 0 0 0 1px rgba(94,231,217,0.4);}
.home-shell .eco-node:hover::after{opacity:1;}
.home-shell .eco-node .en-ic{width:30px; height:30px; display:grid; place-items:center; border-radius:9px; color:#eafffb;
  background:linear-gradient(135deg, rgba(94,231,217,0.3), rgba(123,140,255,0.26));}
.home-shell .eco-node .en-ic svg{width:17px; height:17px;}
.home-shell .eco-node.active{background:linear-gradient(160deg, var(--accent), var(--accent-3)); color:#03101d; border-color:transparent;
  box-shadow:0 0 36px rgba(94,231,217,0.5), 0 18px 40px rgba(0,8,30,0.5); z-index:6;}
.home-shell .eco-node.active .en-ic{background:rgba(3,16,29,0.18); color:#03101d;}
.home-shell .eco-node.active .en-ic svg{stroke:#03101d;}
.home-shell .ecosystem-copy{display:flex; flex-direction:column; gap:14px;}
.home-shell .eco-tag{font-size:10px; font-weight:800; letter-spacing:.16em; text-transform:uppercase; color:var(--accent-3);}
.home-shell .ecosystem-copy h3{font-size:26px; color:#fff; margin:0;}
.home-shell .ecosystem-copy > p{font-size:15px; line-height:1.8; color:var(--muted); margin:0;}
.home-shell .ecosystem-copy ul{display:grid; gap:9px; margin:2px 0 0; padding:0; list-style:none;}
.home-shell .ecosystem-copy li{display:flex; gap:10px; align-items:flex-start; font-size:14px; color:#dbe6ff;}
.home-shell .ecosystem-copy li::before{content:""; margin-top:8px; width:14px; height:2px; flex:0 0 14px; border-radius:2px; background:var(--accent);}
.home-shell .eco-hint{font-size:12px; color:var(--muted); font-style:italic; margin:4px 0 0;}

/* ---- Cómo funciona (automatización) ---- */
.home-shell .automation-grid{display:grid; grid-template-columns:1.1fr .9fr; gap:24px; align-items:stretch;}
.home-shell .automation-card{padding:30px;}
.home-shell .automation-card > p{font-size:15.5px; line-height:1.85; color:var(--muted); margin:0 0 16px;}
.home-shell .automation-stack{display:grid; gap:12px;}
.home-shell .automation-stack .chip{display:flex; align-items:center; gap:11px; padding:11px 14px; border-radius:14px; background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.1); color:#e7ecff; font-size:13px;}
.home-shell .automation-stack .chip span{flex:0 0 26px; display:grid; place-items:center; width:26px; height:26px; border-radius:50%; background:linear-gradient(135deg, var(--accent), var(--accent-2)); color:#03101d; font-size:12px; font-weight:800;}

/* ---- Beneficios ---- */
.home-shell .benefits-grid{display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:18px;}
.home-shell .stat-card{padding:24px; min-height:170px;}
.home-shell .stat-card .number{font-size:32px; font-weight:800; margin-bottom:8px; background:linear-gradient(90deg, var(--accent), var(--accent-3)); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;}
.home-shell .stat-card h3{font-size:15px; color:#fff; margin:0 0 8px;}
.home-shell .stat-card p{font-size:12.5px; line-height:1.7; color:var(--muted); margin:0;}

/* ---- FAQ ---- */
.home-shell .faq-list{display:grid; gap:12px; max-width:900px;}
.home-shell .faq-item{padding:4px 22px;}
.home-shell .faq-item header{display:flex; justify-content:space-between; align-items:center; gap:12px; padding:18px 0; color:#fff; font-weight:700; font-size:15px; cursor:pointer;}
.home-shell .faq-item .icon{flex:0 0 30px; width:30px; height:30px; border-radius:50%; display:grid; place-items:center; background:rgba(94,231,217,0.14); color:var(--accent); font-size:18px; transition:transform .2s ease;}
.home-shell .faq-item .answer{max-height:0; overflow:hidden; opacity:0; transition:max-height .3s ease, opacity .3s ease, padding .3s ease; font-size:14px; line-height:1.8; color:var(--muted);}
.home-shell .faq-item.active .answer{max-height:320px; opacity:1; padding:0 0 18px;}
.home-shell .faq-item.active .icon{transform:rotate(45deg);}

/* ---- CTA ---- */
.home-shell .cta-panel{padding:44px 34px; text-align:center; position:relative; overflow:hidden;}
.home-shell .cta-panel::before{content:""; position:absolute; inset:0; pointer-events:none; background:radial-gradient(circle at 50% 0%, rgba(94,231,217,0.2), transparent 46%);}
.home-shell .cta-panel h3{font-size:clamp(23px, 2.7vw, 32px); color:#fff; margin:0 0 10px; position:relative; z-index:2;}
.home-shell .cta-panel p{font-size:15px; line-height:1.8; color:var(--muted); max-width:680px; margin:0 auto 24px; position:relative; z-index:2;}
.home-shell .cta-actions{display:flex; justify-content:center; flex-wrap:wrap; gap:12px; position:relative; z-index:2;}

/* ---- Clientes (cinta con logos que brillan al pasar) ---- */
.home-shell .clients-section{padding-top:40px;}
.home-shell .marquee{position:relative; overflow:hidden; padding:10px 0;
  -webkit-mask-image:linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image:linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);}
.home-shell .marquee-track{display:flex; width:max-content; gap:26px; animation:nsMarquee 34s linear infinite;}
.home-shell .marquee:hover .marquee-track{animation-play-state:paused;}
.home-shell .client-chip{flex:0 0 auto; width:180px; height:92px; display:grid; place-items:center; padding:16px 22px; border-radius:16px;
  background:linear-gradient(160deg, rgba(255,255,255,0.9), rgba(232,238,250,0.86)); border:1px solid rgba(255,255,255,0.12);
  box-shadow:0 14px 30px rgba(0,8,30,0.28); transition:transform .3s ease, box-shadow .3s ease, filter .3s ease;
  filter:grayscale(1) opacity(.62);}
.home-shell .client-chip img{max-width:100%; max-height:100%; object-fit:contain; display:block;}
.home-shell .client-chip:hover{filter:grayscale(0) opacity(1); transform:translateY(-5px);
  box-shadow:0 20px 44px rgba(94,231,217,0.28), 0 0 0 1px rgba(94,231,217,0.5);}

/* ---- Animaciones ---- */
@keyframes nsMarquee{from{transform:translateX(0);}to{transform:translateX(calc(-50% - 13px));}}
@keyframes nsPulse{0%,100%{transform:scale(1); opacity:1;}50%{transform:scale(1.1); opacity:.65;}}
@keyframes nsFloat{0%,100%{transform:translateY(0);}50%{transform:translateY(-12px);}}
@keyframes nsFloat2{0%,100%{transform:translateY(0);}50%{transform:translateY(-10px);}}
@keyframes nsSpin{from{transform:rotate(0);}to{transform:rotate(360deg);}}
@keyframes nsGrow{from{transform:scaleY(0); transform-origin:bottom;}to{transform:scaleY(1); transform-origin:bottom;}}

/* Respeto a usuarios con movimiento reducido */
@media (prefers-reduced-motion: reduce){
  .home-shell .hero-ring, .home-shell .app-mock, .home-shell .float-chip,
  .home-shell .app-chart span, .home-shell .badge-pill .dot, .home-shell .app-live-dot{animation:none;}
}

/* ---- Responsive ---- */
@media (max-width:980px){
  .home-shell .hero-inner,
  .home-shell .about-panel,
  .home-shell .ecosystem-panel,
  .home-shell .automation-grid{grid-template-columns:1fr; gap:26px;}
  .home-shell .services-grid,
  .home-shell .benefits-grid{grid-template-columns:repeat(2, minmax(0,1fr));}
  .home-shell .hero-visual{min-height:480px; margin-top:14px;}
  .home-shell .about-stage{min-height:360px;}
}
@media (max-width:640px){
  .home-shell .section{padding:70px 5%;}
  .home-shell .hero-section{padding:110px 6% 60px;}
  .home-shell .hero-metrics{grid-template-columns:1fr;}
  .home-shell .services-grid,
  .home-shell .benefits-grid{grid-template-columns:1fr;}
  .home-shell .hero-actions .btn{width:100%;}
  .home-shell .ecosystem-shell{height:420px;}
  .home-shell .ecosystem-center{width:120px; height:120px; padding:22px;}
  .home-shell .eco-ring{--R:140px;}
  .home-shell .eco-node{width:96px; min-height:66px; margin:-33px -48px; padding:9px 7px; font-size:11px; gap:5px;}
  .home-shell .eco-node .en-ic{width:24px; height:24px;}
  .home-shell .eco-node .en-ic svg{width:14px; height:14px;}
  .home-shell .client-chip{width:150px; height:80px; padding:14px 18px;}
}
@media (max-width:980px){
  .home-shell .eco-ring{--R:170px;}
}
