/* eDeas Soluciones — Landing
   Paleta: base azul noche + acento cian (plataforma de marca, nov 2026) */

:root {
  --night-950: #070E22;
  --night-900: #0B1530;
  --night-800: #13204A;
  --night-700: #1E2E63;
  --cyan-500: #22D3EE;
  --cyan-400: #5EE3F5;
  --cyan-700: #0E7490;
  --ink: #0B1530;
  --ink-soft: #4A5578;
  --line: #E3E8F2;
  --tint: #F4F7FC;
  --white: #FFFFFF;

  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px -20px rgba(7, 14, 34, .35);
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }

.container { width: min(100% - 48px, var(--max)); margin-inline: auto; }

.accent { color: var(--cyan-500); }
.accent-strong { color: var(--cyan-700); }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 24px; border-radius: 999px;
  font-weight: 600; font-size: 16px; line-height: 1;
  border: 1.5px solid transparent;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--cyan-400); outline-offset: 3px; }
.btn--primary { background: var(--cyan-500); color: var(--night-950); }
.btn--primary:hover { background: var(--cyan-400); }
.btn--ghost { border-color: rgba(255,255,255,.3); color: var(--white); }
.btn--ghost:hover { border-color: var(--cyan-500); color: var(--cyan-400); }
.btn--small { padding: 10px 18px; font-size: 15px; }

/* Logo (archivos en img/, originales en C:\eDeasSoluciones\marca\logo) */
.logo { display: inline-flex; align-items: center; }
.logo__img { height: 40px; width: auto; }
.logo--small .logo__img { height: 30px; }

/* Navegación */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 21, 48, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav__menu { display: flex; align-items: center; gap: 32px; }
.nav__menu a:not(.btn) { color: rgba(255,255,255,.8); font-size: 15px; font-weight: 500; }
.nav__menu a:not(.btn):hover { color: var(--cyan-400); }
.nav__toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--white); margin: 5px 0; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--night-900); color: var(--white); padding: 96px 0 112px; }
.hero__glow {
  position: absolute; inset: -30% -10% auto auto; width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(34, 211, 238, .22) 0%, rgba(34, 211, 238, 0) 65%);
  pointer-events: none;
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan-400); margin-bottom: 20px; }
.eyebrow--dark { color: var(--cyan-700); }
.hero h1 { font-size: clamp(44px, 6.4vw, 76px); font-weight: 700; margin-bottom: 24px; }
.hero__lead { font-size: 19px; color: rgba(255,255,255,.78); max-width: 34em; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__actions--center { justify-content: center; }

/* Chat de ejemplo */
.chat {
  background: var(--night-800); border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px; padding: 20px; box-shadow: var(--shadow);
  max-width: 420px; margin-left: auto;
}
.chat__head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
.chat__head strong { display: block; font-size: 15px; }
.chat__head small { color: rgba(255,255,255,.55); font-size: 13px; }
.chat__avatar { width: 40px; height: 40px; border-radius: 12px; background: var(--cyan-500); color: var(--night-950); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 20px; }
.chat__body { display: flex; flex-direction: column; gap: 10px; padding: 18px 0; }
.msg { max-width: 85%; padding: 11px 14px; border-radius: 14px; font-size: 15px; line-height: 1.45; }
.msg--bot { background: var(--night-700); border-top-left-radius: 4px; }
.msg--user { background: var(--cyan-500); color: var(--night-950); align-self: flex-end; border-top-right-radius: 4px; font-weight: 500; }
.msg--typing { display: inline-flex; gap: 5px; background: var(--night-700); width: max-content; padding: 14px 16px; }
.msg--typing span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.6); animation: blink 1.2s infinite ease-in-out; }
.msg--typing span:nth-child(2) { animation-delay: .2s; }
.msg--typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.chat__channels { display: flex; gap: 8px; }
.chip { font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.75); }

/* Secciones */
.section { padding: 104px 0; }
.section--tint { background: var(--tint); }
.section__head { max-width: 720px; margin-bottom: 56px; }
.section__head h2 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 16px; }
.section__lead { font-size: 18px; color: var(--ink-soft); }

/* Tarjetas de servicios */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.card:hover { border-color: var(--cyan-500); transform: translateY(-3px); box-shadow: 0 16px 40px -24px rgba(14, 116, 144, .45); }
.card__icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(34, 211, 238, .12); display: grid; place-items: center; margin-bottom: 24px; }
.card__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--cyan-700); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 22px; margin-bottom: 10px; }
.card p { color: var(--ink-soft); }

/* Productos */
.product {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 48px;
}
.product > * { min-width: 0; }
.product h3 { font-size: 36px; margin: 16px 0 12px; }
.product__lead { font-size: 18px; color: var(--ink-soft); margin-bottom: 24px; }
.badge { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: rgba(34, 211, 238, .15); color: var(--cyan-700); }
.badge--muted { background: var(--line); color: var(--ink-soft); }
.checks { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 32px; color: var(--ink-soft); }
.checks li strong { color: var(--ink); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--cyan-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%23070E22' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

.panel { background: var(--night-900); border-radius: 18px; padding: 20px; color: var(--white); box-shadow: var(--shadow); }
.panel__bar { display: flex; gap: 6px; margin-bottom: 20px; }
.panel__bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.18); }
.panel__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.panel__stats div { background: var(--night-800); border-radius: var(--radius-sm); padding: 14px; }
.panel__stats small { display: block; font-size: 12px; color: rgba(255,255,255,.55); margin-bottom: 4px; }
.panel__stats strong { font-family: var(--font-head); font-size: 24px; }
.panel__chart { display: flex; align-items: flex-end; gap: 10px; height: 140px; background: var(--night-800); border-radius: var(--radius-sm); padding: 16px; }
.panel__chart span { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--cyan-500), rgba(34, 211, 238, .35)); }
.panel__note { display: block; margin-top: 10px; font-size: 12px; color: rgba(255,255,255,.4); text-align: right; }

.product--soon { display: block; margin-top: 24px; padding: 32px 48px; background: transparent; border-style: dashed; }
.product--soon h3 { font-size: 28px; margin: 12px 0 8px; }
.product--soon p { color: var(--ink-soft); }

/* Pasos */
.steps { list-style: none; margin: 0 0 72px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: none; }
.steps li { position: relative; padding-top: 24px; border-top: 2px solid var(--line); }
.steps li:first-child { border-top-color: var(--cyan-500); }
.steps__n { font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--cyan-700); }
.steps h3 { font-size: 22px; margin: 8px 0 8px; }
.steps p { color: var(--ink-soft); font-size: 16px; }

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 40px; background: var(--tint); border-radius: 24px; }
.values h4 { font-size: 17px; margin-bottom: 6px; }
.values p { font-size: 15px; color: var(--ink-soft); }

/* CTA */
.cta { position: relative; overflow: hidden; background: var(--night-900); color: var(--white); padding: 112px 0; text-align: center; }
.hero__glow--cta { inset: auto auto -60% 50%; transform: translateX(-50%); }
.cta__inner { position: relative; max-width: 760px; }
.cta h2 { font-size: clamp(32px, 4.4vw, 48px); margin-bottom: 16px; }
.cta p { font-size: 19px; color: rgba(255,255,255,.75); margin-bottom: 36px; }

/* Footer */
.footer { background: var(--night-950); color: rgba(255,255,255,.6); padding: 32px 0; font-size: 14px; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__tag { color: var(--cyan-400); font-weight: 600; }

/* Responsive */
@media (max-width: 960px) {
  .hero__inner, .product { grid-template-columns: 1fr; }
  .hero__visual .chat { margin: 0; }
  .cards { grid-template-columns: 1fr; }
  .steps, .values { grid-template-columns: repeat(2, 1fr); }
  .product { padding: 32px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav__toggle { display: block; }
  .nav__menu {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 16px 24px 24px; background: var(--night-900);
    border-bottom: 1px solid rgba(255,255,255,.08);
    display: none;
  }
  .nav__menu.is-open { display: flex; }
  .nav__menu a:not(.btn) { padding: 12px 0; font-size: 17px; }
  .nav__menu .btn { margin-top: 8px; }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .logo__img { height: 34px; }
  .hero { padding: 64px 0 80px; }
  .section { padding: 72px 0; }
  .steps, .values { grid-template-columns: 1fr; }
  .values { padding: 28px; }
  .product, .product--soon { padding: 24px; }
  .panel { padding: 14px; }
  .panel__stats { gap: 8px; }
  .panel__stats div { padding: 10px; }
  .panel__stats small { font-size: 11px; }
  .panel__stats strong { font-size: 19px; }
  .cta { padding: 80px 0; }
  .footer__inner { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
