/* Core variables */
:root {
  color-scheme: dark;
  --bg-body: #010409;
  --text-primary: #e6edf3;
  --text-muted: #8b949e;
  --border-subtle: #30363d;
  --accent-blue: #2f81f7;
  --accent-purple: #7c3aed;
  --accent-green: #39d353;
  --radius: 10px;
  --shadow-soft: 0 20px 60px rgba(1, 4, 9, 0.8);
  --bg-main: #050816;
  --text-main: #f9fafb;
  --font-sans: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
}

/* Reset */

/* Poppins y Raleway desde Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Raleway:wght@300;400;500&display=swap');

/* Futura Maxi – ejemplo usando archivos locales  
   (cambiá las rutas /fonts/... por las tuyas reales) */
@font-face {
  font-family: "Futura Maxi";
  src: url("../assets/fonts/FuturaMaxi-Demi.woff2") format("woff2"),
       url("../assets/fonts/FuturaMaxi-Demi.woff") format("woff");
  font-weight: 800; /* Demi = la usamos como ExtraBold */
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Futura Maxi";
  src: url("../assets/fonts/FuturaMaxi-Bold.woff2") format("woff2"),
       url("../assets/fonts/FuturaMaxi-Bold.woff") format("woff");
  font-weight: 700; /* Bold */
  font-style: normal;
  font-display: swap;
}

html {
  font-size: 16px;
}

body {
  background-image: url("assets/Fondos/fondo.jpg");
  background-size: cover;        /* que cubra toda la pantalla */
  background-repeat: no-repeat;
  background-attachment: fixed;  /* efecto “parallax suave” */
  background-position: center;
}


/* H1 Hero: Futura Maxi Extra Bold — versión reducida */
h1,
.hero-title {
  font-family: "Futura Maxi", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 2.8vw, 2.8rem); /* ~32–45 px */
  letter-spacing: -0.05em;
  text-transform: none;
}

/* H2 Sección: versión reducida */
h2,
.section-title {
  font-family: "Futura Maxi", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.1rem, 1.6vw, 1.6rem); /* ~18–26 px */
  letter-spacing: -0.04em;
}

/* H3 destacado: versión reducida */
h3,
.highlight-title {
  font-family: "Futura Maxi", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.4rem, 2vw, 2rem); /* ~22–32 px */
  letter-spacing: -0.03em;
}

/* Feature Title: Poppins SemiBold — 28–36 px */
.feature-title {
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(1.75rem, 2.5vw, 2.25rem); /* 28–36 px */
}

/* Subheader: Poppins Medium — 20–24 px */
.subheader {
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 500;
  font-size: clamp(1.25rem, 1.8vw, 1.5rem); /* 20–24 px */
}

/* Body 1: 16–18 px */
.body-1 {
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 400;
  font-size: 1rem;        /* 16 px */
}

/* Body 2 (UI): 14–16 px */
.body-2,
.ui-text {
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 400;
  font-size: 0.875rem;    /* 14 px */
}

/* Microcopy: 12–13 px */
.microcopy {
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.75rem;     /* 12 px */
}

/* Botones / labels básicos en Poppins */
button,
.btn,
label,
input,
select,
textarea {
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
}

/* Quote: Raleway Light — 20–26 px */
.quote {
  font-family: "Raleway", system-ui, sans-serif;
  font-weight: 300;            /* Light */
  font-size: clamp(1.25rem, 2vw, 1.625rem); /* 20–26 px */
  font-style: normal;
}

/* Bloque editorial / storytelling */
.editorial,
.storytelling {
  font-family: "Raleway", system-ui, sans-serif;
  font-weight: 400;            /* Regular */
  font-size: 1.25rem;          /* ~20 px, podés subir a 24–26 en secciones hero editoriales */
  line-height: 1.7;
}

/* Testimonios aspiracionales */
.testimonial-text {
  font-family: "Raleway", system-ui, sans-serif;
  font-weight: 300;
  font-size: 1.125rem;         /* 18 px */
}

/* Importante: nunca Raleway en UI ni botones, sin Bold ni ExtraBold */

/* Re-centramos el inner y dejamos de ser sólo “texto centrado” */
.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  text-align: left;
}

/* Grid 2 columnas: copy + panel */
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

/* Chip de arriba */
.hero-chip {
  margin-bottom: 14px;
}

.hero-chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, var(--accent), var(--ring));
  box-shadow: 0 0 12px color-mix(in oklab, var(--ring) 60%, transparent);
}

/* Heading con énfasis en la segunda línea */
.hero-heading {
  margin-bottom: 14px;
}

.hero-heading span {
  background: linear-gradient(90deg, #38bdf8, #a855f7, #22c55e);
  -webkit-background-clip: text;
  color: transparent;
}

/* Subtítulo más grande y legible */
.hero-sub {
  margin: 0 0 22px;
  max-width: 520px;
  color: color-mix(in oklab, var(--card-foreground) 90%, transparent);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.7;
}

/* CTAs */
.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.hero-cta-main {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.hero-input-wrap {
  flex: 1 1 auto;
  position: relative;
}

.hero-input-wrap input {
  width: 100%;
  height: 100%;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--input);
  background: color-mix(in oklab, var(--card) 96%, transparent);
  color: var(--foreground);
  font-size: 14px;
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}

.hero-input-wrap input::placeholder {
  color: color-mix(in oklab, var(--muted-foreground) 75%, transparent);
}

.hero-btn-primary {
  white-space: nowrap;
  padding-inline: 20px;
}

/* CTA secundaria */
.hero-secondary-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: transparent;
  color: color-mix(in oklab, var(--muted-foreground) 95%, transparent);
  font-size: 13px;
  cursor: pointer;
  padding: 0;
}

.hero-play-icon {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--border) 90%, transparent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-play-icon::before {
  content: "";
  border-style: solid;
  border-width: 4px 0 4px 7px;
  border-color: transparent transparent transparent var(--foreground);
  margin-left: 2px;
}

.hero-secondary-cta:hover {
  color: var(--foreground);
}

/* Métricas del hero */
.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.hero-metric {
  min-width: 150px;
  padding: 8px 10px;
  border-radius: 14px;
  background: radial-gradient(circle at 0 0,
      color-mix(in oklab, var(--ring) 22%, transparent),
      color-mix(in oklab, var(--card) 88%, transparent));
  border: 1px solid color-mix(in oklab, var(--border) 90%, transparent);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.8);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-metric-label {
  font-size: 11px;
  color: color-mix(in oklab, var(--muted-foreground) 92%, transparent);
}

.hero-metric-value {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-metric-caption {
  font-size: 11px;
  color: color-mix(in oklab, var(--muted-foreground) 96%, transparent);
}

/* Panel derecho */
.hero-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Cards del panel */
.hero-card {
  background:
    radial-gradient(circle at 0 0, color-mix(in oklab, var(--ring) 28%, transparent), transparent 60%),
    color-mix(in oklab, var(--card) 96%, transparent);
  border-radius: 20px;
  border: 1px solid color-mix(in oklab, var(--border) 80%, transparent);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.95);
  padding: 14px 16px;
}

.hero-card--primary {
  padding-bottom: 12px;
}

/* Header estilo ventana de código */
.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 11px;
  color: color-mix(in oklab, var(--muted-foreground) 96%, transparent);
}

.hero-window-dots {
  display: inline-flex;
  gap: 4px;
}

.hero-window-dots span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, var(--accent), var(--ring));
  opacity: 0.7;
}

.hero-card-title {
  opacity: 0.9;
}

/* Código */
.hero-code {
  margin: 0;
  padding: 10px 12px;
  border-radius: 14px;
  background: radial-gradient(circle at 0 0,
      color-mix(in oklab, var(--secondary) 35%, transparent),
      color-mix(in oklab, var(--card) 90%, transparent));
  font-family: "JetBrains Mono", "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
  line-height: 1.5;
  color: #e5e7eb;
  max-height: 220px;
  overflow: hidden;
  position: relative;
}

.hero-code-comment {
  color: #a5b4fc;
}

/* Footer código */
.hero-code-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  font-size: 11px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--ring) 35%, transparent);
  color: var(--foreground);
}

.hero-badge--live {
  background: radial-gradient(circle at 0 0, #22c55e, #16a34a);
  color: #022c22;
  font-weight: 600;
}

.hero-badge--live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #22c55e, #14532d);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.9);
}

.hero-mini-stat {
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--border) 90%, transparent);
  color: color-mix(in oklab, var(--muted-foreground) 95%, transparent);
}

/* Card de loop */
.hero-card--loop {
  padding-top: 12px;
}

.hero-loop-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  margin-bottom: 8px;
  color: color-mix(in oklab, var(--muted-foreground) 98%, transparent);
}

.hero-loop-pill {
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid color-mix(in oklab, var(--border) 90%, transparent);
  background: radial-gradient(circle at 0 0,
      color-mix(in oklab, var(--secondary) 30%, transparent),
      color-mix(in oklab, var(--card) 94%, transparent));
}

.hero-loop-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-loop-bar {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr);
  gap: 4px;
  font-size: 11px;
}

.hero-loop-track {
  position: relative;
  width: 100%;
  height: 7px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--secondary) 25%, var(--card));
  overflow: hidden;
}

.hero-loop-fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #f97316, #ea580c);
  width: 40%;
}

.hero-loop-fill--after {
  background: linear-gradient(90deg, #22c55e, #a855f7, #38bdf8);
  width: 90%;
}

.hero-loop-tag {
  font-size: 10px;
  color: color-mix(in oklab, var(--muted-foreground) 90%, transparent);
}

.hero-loop-tag--accent {
  color: #bbf7d0;
}

/* Fila de logos / confianza */
.hero-trust {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}

.hero-trust-label {
  font-size: 12px;
  color: color-mix(in oklab, var(--muted-foreground) 96%, transparent);
}

.hero-trust-logos {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-trust-logos img {
  height: 22px;
  width: auto;
  opacity: 0.78;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,0.7));
}

/* Responsive tweaks */
@media (max-width: 960px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-panel {
    max-width: 520px;
    margin: 0 auto;
  }

  .hero-metrics {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .hero-cta-main {
    flex-direction: column;
  }

  .hero-btn-primary {
    width: 100%;
  }

  .hero-metrics {
    gap: 10px;
  }

  .hero-trust {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Accesibilidad básica para el label oculto del input */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}


*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body.ch-body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  scroll-behavior: smooth;

  background: radial-gradient(
        1000px 800px at 80% 10%,
        rgba(102, 51, 255, 0.60),
        transparent 70%
      ),
      radial-gradient(
        900px 700px at 20% 70%,
        rgba(57, 208, 255, 0.35),
        transparent 70%
      ),
      radial-gradient(
        1200px 900px at 40% 90%,
        rgba(83, 168, 138, 0.40),
        transparent 75%
      ),
      radial-gradient(
        1500px 1100px at center,
        rgba(18, 18, 40, 0.95),
        #000814
      );
  
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}






/* HEADER */

.ch-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: linear-gradient(
      to bottom,
      rgba(1, 4, 9, 0.96),
      rgba(1, 4, 9, 0.9),
      rgba(1, 4, 9, 0.85),
      transparent
    );
  border-bottom: 1px solid rgba(48, 54, 61, 0.8);
  transition: box-shadow 0.2s ease, border-color 0.2s ease,
    background-color 0.2s ease;
}

.ch-header--scrolled {
  background-color: rgba(1, 4, 9, 0.98);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.ch-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  margin-right: 24px;
  flex-shrink: 0;
}


.ch-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-primary);
}

.logo-continuum {
  height: 36px;
  width: auto;
  display: block;
}

.ch-logo-orbit {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(63, 185, 80, 0.5);
  background: radial-gradient(circle at 30% 30%, #39d353, #0d1117 60%, #020409);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 1px rgba(46, 160, 67, 0.4),
    0 0 18px rgba(46, 160, 67, 0.4);
  position: relative;
}

.ch-logo-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #ffffff;
}

.ch-logo-orbit::after {
  content: "";
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: inherit;
  border: 1px dashed rgba(63, 185, 80, 0.2);
  animation: spin 10s linear infinite;
}

.ch-logo-text {
  font-size: 16px;
  font-weight: 600;
}

.ch-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 16px;
}

.ch-nav-item {
  border: 0;
  background: none;
  color: var(--text-muted);
  font-size: 13px;
  padding: 6px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.ch-nav-item:hover {
  color: var(--text-primary);
  background-color: #161b22;
}

.ch-nav-group {
  position: relative;
}

.ch-nav-caret {
  font-size: 10px;
}

.ch-nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 4px;
  background-color: #161b22;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  min-width: 220px;
  box-shadow: 0 16px 40px rgba(1, 4, 9, 0.9);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  padding: 6px 0;
}

.ch-nav-group.is-open .ch-nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ch-nav-dropdown-item {
  display: block;
  padding: 6px 12px;
  font-size: 13px;
  color: var(--text-primary);
  text-decoration: none;
}

.ch-nav-dropdown-item:hover {
  background-color: #1f2937;
}

.ch-header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ch-header-link {
  font-size: 13px;
  text-decoration: none;
  color: var(--text-muted);
}

.ch-header-link:hover {
  color: var(--text-primary);
}

.ch-btn {
  font-family: inherit;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background-color: #161b22;
  color: var(--text-primary);
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease,
    box-shadow 0.15s ease;
}

.ch-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.ch-btn-ghost {
  background: transparent;
}

.ch-btn-primary {
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
  border-color: transparent;
  box-shadow:
    0 2px 0 rgba(12, 22, 42, 0.9),
    0 0 24px rgba(47, 129, 247, 0.4);
}

.ch-btn-primary:hover {
  filter: brightness(1.05);
}

.ch-header-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 3px;
  border: 0;
  background: none;
  padding: 4px;
  cursor: pointer;
}

.ch-header-menu-toggle span {
  width: 16px;
  height: 2px;
  border-radius: 1px;
  background-color: var(--text-muted);
}

/* HERO */

/* HERO */

.ch-hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 96px 16px 56px;  /* aire arriba y abajo parecido al original */
  position: relative;
  z-index: 0;
  /* sin min-height y sin display:flex (eran para el video a pantalla completa) */
}

.ch-hero::before {
  content: "";
  position: absolute;
  inset: -80px -120px auto;
  background:
    radial-gradient(circle at 10% 0%, rgba(47, 129, 247, 0.45), transparent 55%),
    radial-gradient(circle at 80% 0%, rgba(124, 58, 237, 0.45), transparent 55%),
    radial-gradient(circle at 50% 60%, rgba(57, 211, 83, 0.35), transparent 60%);
  opacity: 0.9;
  z-index: -1;
  pointer-events: none;
}

.ch-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  width: 100%;
  /* sin position:relative y sin overflow:hidden (eran para recortar el video) */
}

.ch-hero-visual {
  position: relative;
}


.ch-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(22, 27, 34, 0.9);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

.ch-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent-green);
  box-shadow: 0 0 12px rgba(57, 211, 83, 0.8);
}

.ch-hero-title {
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.1;
  margin: 16px 0 8px;
}

.ch-hero-gradient-text {
  background: none;
  -webkit-background-clip: initial;
  color: var(--text-main);  /* o var(--text-primary) si te gusta más */
}


.ch-hero-subtitle {
  margin: 0 0 18px;
  font-size: 15px;
  color: var(--text-muted);
  max-width: 480px;
}

.ch-hero-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.ch-hero-field input {
  background-color: #010409;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  padding: 8px 12px;
  min-width: 230px;
  font-size: 13px;
  color: var(--text-primary);
}

.ch-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
}

.ch-meta-badge {
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(125, 211, 252, 0.3);
  background: rgba(13, 17, 23, 0.9);
}

.ch-meta-soft {
  border-style: dashed;
}

/* Hero visual */

.ch-hero-visual {
  position: relative;
}

.ch-hero-ring {
  position: absolute;
  border-radius: 999px;
  border: 1px dashed rgba(148, 163, 184, 0.4);
  inset: 18%;
  animation: spin 80s linear infinite;      /* giro muy lento */
}

.ch-hero-ring--inner {
  inset: 32%;
  opacity: 0.7;
  animation: spin 100s linear infinite reverse; /* aún más lento y al revés */
}

.ch-hero-node {
  position: absolute;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(13, 17, 23, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: var(--text-muted);
  backdrop-filter: blur(6px);
  animation: float 10s ease-in-out infinite;   /* flotan más suave */
}

.ch-hero-node {
  position: absolute;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(13, 17, 23, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: var(--text-muted);
  backdrop-filter: blur(6px);
  animation: float 6s ease-in-out infinite;
}

.ch-hero-node--green {
  top: 14%;
  left: 12%;
  border-color: rgba(57, 211, 83, 0.45);
}

.ch-hero-node--blue {
  top: 18%;
  right: 14%;
  border-color: rgba(56, 189, 248, 0.5);
  animation-delay: 0.8s;
}

.ch-hero-node--purple {
  bottom: 14%;
  left: 22%;
  border-color: rgba(167, 139, 250, 0.5);
  animation-delay: 1.6s;
}

.ch-hero-panel {
  position: relative;
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  background-color: #020617;
  overflow: hidden;
}

.ch-hero-panel--editor {
  margin-top: 32px;
}

.ch-panel-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: radial-gradient(circle at 0 0, #0f172a, #020617 70%);
  border-bottom: 1px solid var(--border-subtle);
}

.ch-panel-dots {
  display: flex;
  gap: 4px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
}

.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }

.ch-panel-title {
  font-size: 12px;
  color: var(--text-muted);
}

.ch-code-block {
  margin: 0;
  padding: 10px 12px 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-primary);
  background-color: #020617;
  overflow-x: auto;
}

.code-comment { color: #6e7681; }
.code-key { color: #ff7b72; }
.code-string { color: #a5d6ff; }
.code-boolean { color: #7ee787; }

.ch-hero-panel--stats {
  margin-top: 12px;
  padding: 10px 12px;
  background:
    radial-gradient(circle at 100% 0, rgba(56, 189, 248, 0.12), #020617);
}

.ch-panel-badge {
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(56, 189, 248, 0.5);
  margin-bottom: 8px;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.8);
}

.ch-stats-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  font-size: 11px;
}

.ch-stat-label { color: var(--text-muted); }
.ch-stat-value--up { color: var(--accent-green); }

/* Trust strip */

/* Trust strip – logos animados */

.ch-trust-strip {
  margin-top: 28px;
  /* centrado y ancho máximo, para que no ocupe todo */
  max-width: 960px;         /* puedes jugar con 800–1120px según gusto */
  margin-left: auto;
  margin-right: auto;

  padding: 10px 14px;
  border-radius: 999px;
  border: 1px dashed rgba(148, 163, 184, 0.6);
  background-color: rgba(15, 23, 42, 0.8);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  overflow: hidden;
}


.ch-trust-label {
  color: var(--text-muted);
  white-space: nowrap;
}

.ch-trust-marquee {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  position: relative;
}

.ch-trust-track {
  display: flex;
  align-items: center;
  gap: 32px;
  animation: trust-marquee 28s linear infinite;
}

.ch-trust-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transition: opacity 0.2s ease, filter 0.2s ease, transform 0.2s ease;
}

.ch-trust-logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.15);
}


.ch-trust-logo:hover {
  opacity: 1;
  filter: grayscale(0) brightness(1);
  transform: translateY(-1px);
}

/* Animación del marquee – recorre la mitad porque duplicamos el track */
@keyframes trust-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Mobile: si querés que se acomode mejor en pantallas chicas */
@media (max-width: 640px) {
  .ch-trust-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .ch-trust-track {
    gap: 20px;
    animation-duration: 22s;  /* un poco más rápido en mobile */
  }

  .ch-trust-logo img {
    height: 22px;
  }
}

/* Generic sections */

.ch-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 16px 56px;
  background: transparent;
}

.ch-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(15,23,42,0.7), transparent 55%);
  opacity: 0.6;
  pointer-events: none;
  z-index: -1;
}


.ch-section-alt {
  background: transparent !important;
}

.ch-section-header {
  max-width: 640px;
  margin-bottom: 24px;
}

.ch-section-header h2 {
  font-size: 24px;
  margin: 0 0 8px;
}

.ch-section-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}


/* Steps */

/* HOW GRID 2×2 */

.ch-how-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ch-how-card {
  background-color: #0d1117;
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  padding: 16px;
  font-size: 13px;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background-color 0.18s ease;
}

/* TÍTULO DE CADA CARD (Listen / Analyze / Create / Launch) */
.ch-how-card h3 {
  font-size: 24px;          /* acá está el aumento de tamaño */
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 6px 0 8px;
}

/* Opcional: que el título parezca aún más protagonista al hacer hover */
.ch-how-card:hover h3 {
  color: #ffffff;
}

.ch-how-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85);
  border-color: rgba(59, 130, 246, 0.9);
  background-color: #020617;
}

/* 01 · LISTEN – SLIDER DE LOGOS */


.ch-how-card--listen {
  background: radial-gradient(circle at 0 0, rgba(59, 130, 246, 0.25), #020617);
}

.ch-logo-slider {
  margin-top: 14px;
  overflow: hidden;
  position: relative;
}

.ch-logo-strip {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding-block: 4px;
  animation: logo-marquee 18s linear infinite;
  will-change: transform;
}

.ch-logo-strip img {
  height: 22px;
  opacity: 0.85;
  filter: saturate(0) brightness(1.3);
  transition: opacity 0.2s ease, filter 0.2s ease, transform 0.2s ease;
}

.ch-logo-strip img:hover {
  opacity: 1;
  filter: saturate(1) brightness(1.05);
  transform: translateY(-1px);
}

.ch-logo-strip--clone {
  animation-delay: -9s; /* mitad del tiempo para que el loop sea continuo */
}

.ch-logo-slider:hover .ch-logo-strip {
  animation-play-state: paused;
}

@keyframes logo-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Integraciones que se mueven dentro de la tarjeta Listen */

.ch-integrations-marquee {
  margin-top: 18px;
  position: relative;
  overflow: hidden;
  padding-block: 6px;
  /* fade en los bordes del cuadro */
  mask-image: linear-gradient(
    to right,
    transparent 0,
    rgba(0, 0, 0, 0.95) 12%,
    rgba(0, 0, 0, 0.95) 88%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    rgba(0, 0, 0, 0.95) 12%,
    rgba(0, 0, 0, 0.95) 88%,
    transparent 100%
  );
}

.ch-integrations-track {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  /* movimiento continuo */
  animation: ch-integrations-marquee 26s linear infinite;
  will-change: transform;
}

.ch-integrations-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
}

.ch-integrations-logo img {
  height: 22px; /* ajustá si querés más grandes */
  opacity: 0.9;
  filter: none; /* forzar color aunque antes tuvieses grayscale */
  transform: translateZ(0);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.ch-integrations-logo:hover img {
  transform: scale(1.08);
  opacity: 1;
}

@keyframes ch-integrations-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    /* como duplicamos la lista, movemos media "vuelta" */
    transform: translateX(-50%);
  }
}


/* 02 · ANALYZE – MÉTRICAS */

.ch-how-card--analyze {
  background: radial-gradient(circle at 100% 0, rgba(129, 140, 248, 0.28), #020617);
}

.ch-analyze-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.ch-analyze-metric {
  flex: 1 1 120px;
  padding: 10px 10px;
  border-radius: 10px;
  background: radial-gradient(circle at 0 0, rgba(59, 130, 246, 0.25), #020617);
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.ch-metric-label {
  font-size: 11px;
  color: var(--text-muted);
}

.ch-metric-value {
  display: block;
  margin-top: 4px;
  font-size: 20px;
  font-weight: 600;
}

/* ==== Glow + gradiente para métricas de Analyze ==== */

.ch-how-card--analyze .ch-analyze-metric {
  position: relative;
  padding: 14px 14px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 0 0, rgba(59,130,246,0.45), rgba(15,23,42,0.98)),
    radial-gradient(circle at 100% 100%, rgba(129,140,248,0.32), #020617);
  border: 1px solid rgba(148,163,184,0.85);
  box-shadow: 0 16px 40px rgba(15,23,42,0.95);
  overflow: hidden;
}

/* pequeña línea de luz detrás del número */
.ch-how-card--analyze .ch-analyze-metric::before {
  content: "";
  position: absolute;
  inset: auto 18% 6px 18%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #22c55e, #a855f7, #38bdf8);
  opacity: 0.55;
}

/* label más sutil */
.ch-how-card--analyze .ch-metric-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--text-muted) 95%, transparent);
}

/* número protagonista con gradiente */
.ch-how-card--analyze .ch-metric-value {
  margin-top: 6px;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: linear-gradient(120deg, #e5e7eb, #a855f7, #38bdf8);
  -webkit-background-clip: text;
  color: transparent;
}

/* ===========================
   02 · ANALYZE – MÉTRICAS LIMPIAS
   =========================== */

.ch-how-card--analyze .ch-analyze-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.ch-how-card--analyze .ch-analyze-metric {
  position: relative;
  padding: 16px 16px 18px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 0 0, rgba(59,130,246,0.40), rgba(15,23,42,0.98)),
    radial-gradient(circle at 100% 100%, rgba(129,140,248,0.24), #020617);
  border: 1px solid rgba(148,163,184,0.85);
  box-shadow: 0 18px 40px rgba(15,23,42,0.95);
  overflow: hidden;
}

/* etiqueta pequeña arriba */
.ch-how-card--analyze .ch-metric-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--text-muted) 95%, transparent);
  margin: 0 0 6px;
}

/* número protagonista */
.ch-how-card--analyze .ch-metric-value {
  display: block;
  margin: 0 0 14px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  background: linear-gradient(120deg, #e5e7eb, #a855f7, #38bdf8);
  -webkit-background-clip: text;
  color: transparent;
}

/* línea de “actividad” debajo del número */
.ch-how-card--analyze .ch-analyze-metric::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 10px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #22c55e, #a855f7, #38bdf8);
  opacity: 0.7;
}


/* 03 · CREATE – TEMPLATE STACK */

.ch-how-card--create {
  background: radial-gradient(circle at 0 100%, rgba(56, 189, 248, 0.25), #020617);
}

.ch-create-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

.ch-create-copy {
  flex: 1 1 180px;
}

.ch-create-copy p {
  margin-top: 0;
  color: var(--text-muted);
}

.ch-create-copy ul {
  padding-left: 18px;
  margin: 8px 0 0;
}
.ch-create-stack {
  position: relative;
  flex: 0 0 170px;   /* ancho de la columna del teléfono */
  height: 210px;     /* alto acorde al nuevo tamaño del video */
}

/* Tarjetas apiladas */
.ch-template-tile {
   display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;  
  position: absolute;
  left: 0;
  right: 0;
  margin-inline: auto;
  border-radius: 14px;
  background: linear-gradient(135deg, #020617, #0b1120);
  border: 1px solid rgba(148, 163, 184, 0.55);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  transform-origin: center;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    opacity 0.35s ease;
}

/* Posiciones (las vamos a rotar con JS) */
.ch-template-tile--bottom {
  top: 32px;
  transform: translateY(12px) scale(0.9);
  opacity: 0.35;
  z-index: 0;
}

.ch-template-tile--middle {
  top: 22px;
  transform: translateY(6px) scale(0.95);
  opacity: 0.65;
  z-index: 1;
}

.ch-template-tile--top {
  top: 10px;
  transform: translateY(0) scale(1);
  opacity: 1;
  z-index: 2;
}

/* Imagen dentro de cada tarjeta */
.ch-template-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.ch-template-tile--bottom {
  top: 32px;
  transform: translateY(12px) scale(0.94);
  opacity: 0.65;
}

.ch-template-tile--middle {
  top: 18px;
  transform: translateY(6px) scale(0.97);
  opacity: 0.8;
}

.ch-template-tile--top {
  top: 6px;
  z-index: 2;
}

.ch-template-tag {
  align-self: flex-start;
  padding: 2px 8px;
  border-radius: 999px;
  background-color: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(37, 99, 235, 0.6);
  font-size: 10px;
}

.ch-template-line {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple), var(--accent-green));
  opacity: 0.9;
}

.ch-how-card--create:hover .ch-template-tile--bottom {
  transform: translate(-8px, 18px) scale(0.92);
}

.ch-how-card--create:hover .ch-template-tile--middle {
  transform: translate(4px, 10px) scale(0.96);
}

.ch-how-card--create:hover .ch-template-tile--top {
  transform: translateY(-2px) scale(1.02);
}

/* Videos centrados dentro de la tarjeta CREATE */

.ch-template-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;                /* pequeño margen interno */
}

/* el video siempre centrado, respetando proporción */
.ch-template-video {
  width: 70%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  border-radius: 10px;
  display: block;
  background-color: #020617;
}


/* 04 · LAUNCH – BUDGET FLOW */

.ch-how-card--launch {
  background: radial-gradient(circle at 100% 100%, rgba(129, 140, 248, 0.25), #020617);
}

.ch-launch-bars {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ch-launch-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.ch-launch-label-value {
  color: var(--text-primary);
}

.ch-launch-bar {
  position: relative;
  height: 12px;
  border-radius: 999px;
  background-color: #0b1120;
  overflow: hidden;
}

.ch-launch-fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.5s ease-out 0.15s;
}

.ch-launch-fill--before {
  background: linear-gradient(90deg, #4b5563, #6b7280);
}

.ch-launch-fill--after {
  background: linear-gradient(90deg, #2f81f7, #7c3aed, #39d353);
}

/* cuando la card entra en pantalla, mostramos las barras usando la variable --launch-scale */
.ch-how-card--launch.reveal.is-visible .ch-launch-fill {
  transform: scaleX(var(--launch-scale, 1));
}

.ch-launch-chips {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 10px;
}

.ch-launch-chip {
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background-color: rgba(15, 23, 42, 0.92);
  animation: chip-pulse 4s ease-in-out infinite;
}

.ch-launch-chip:nth-child(2) { animation-delay: 0.7s; }
.ch-launch-chip:nth-child(3) { animation-delay: 1.4s; }
.ch-launch-chip:nth-child(4) { animation-delay: 2.1s; }

@keyframes chip-pulse {
  0%, 100% { transform: translateY(0); opacity: 0.9; }
  50% { transform: translateY(-2px); opacity: 1; }
}

/* responsive ajustes para esta grilla */

@media (max-width: 960px) {
  .ch-how-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Modules – tabbed layout */

.ch-modules-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

.ch-modules-tabs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ch-module-tab {
  text-align: left;
  background-color: #0d1117;
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  padding: 12px 14px;
  font: inherit;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition:
    border-color 0.18s ease,
    background-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.ch-module-tab:hover {
  border-color: rgba(129, 140, 248, 0.9);
  background-color: #020617;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.ch-module-tab.is-active {
  border-color: rgba(59, 130, 246, 0.95);
  background: radial-gradient(
    circle at 0 0,
    rgba(59, 130, 246, 0.35),
    #020617
  );
}

.ch-module-tab-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ch-module-tab-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ch-module-label {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.03em;
}

.ch-module-label--studio {
  background-color: rgba(96, 165, 250, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.7);
}

.ch-module-label--social {
  background-color: rgba(244, 114, 182, 0.12);
  border: 1px solid rgba(244, 114, 182, 0.7);
}

.ch-module-label--perf {
  background-color: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.7);
}

.ch-module-name {
  font-size: 12px;
  color: var(--text-muted);
  margin-left: 6px;
}

.ch-module-headline {
  font-size: 14px;
  font-weight: 500;
}

.ch-module-kicker {
  font-size: 11px;
  color: var(--text-muted);
  margin: 4px 0 0;
}

.ch-module-list {
  margin: 6px 0 0;
  padding-left: 18px;
  font-size: 12px;
  color: var(--text-muted);
}

.ch-module-chevron {
  font-size: 12px;
  color: var(--text-muted);
}

/* CTA bajo las tabs */

.ch-modules-cta {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.ch-modules-cta-btn {
  align-self: flex-start;
}

/* Botón de CTA de módulos: versión más calma */
.ch-modules-cta .ch-modules-cta-btn.ch-btn-primary {
  background: rgba(15, 23, 42, 0.9);            /* fondo sólido oscuro */
  border-color: rgba(148, 163, 184, 0.9);       /* borde suave */
  box-shadow: none;                              /* sin halo neón */
  color: var(--text-main);
}

.ch-modules-cta .ch-modules-cta-btn.ch-btn-primary:hover {
  background: rgba(30, 64, 175, 0.95);           /* leve highlight al hover */
  border-color: rgba(129, 140, 248, 0.9);
}


/* Panel visual de la derecha */

.ch-modules-visual {
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background:
    radial-gradient(circle at 0 0, rgba(59, 130, 246, 0.25), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(124, 58, 237, 0.25), transparent 55%),
    #020617;
  overflow: hidden;
  min-height: 260px;
  box-shadow: var(--shadow-soft);
}

.ch-modules-shot {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
}

.ch-modules-shot.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.ch-modules-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ch-modules-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  background-color: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.6);
}

/* responsive */

@media (max-width: 960px) {
  .ch-modules-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .ch-modules-visual {
    order: -1;
  }
}

/* ===========================
   Modules gallery: 3 imágenes por módulo
   =========================== */

.ch-modules-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 12px;
  width: 100%;
  height: 100%;
  align-items: stretch;
}

/* límites para que no exploten ni se deformen */
.ch-modules-gallery img {
  width: 100%;
  height: 100%;
  max-height: 260px;          /* límite vertical */
  object-fit: cover;          /* recorte prolijo */
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.7);
}

/* Responsive: en mobile 1–2 columnas para que no queden enanos */
@media (max-width: 960px) {
  .ch-modules-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ch-modules-gallery {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Mostrar solo el módulo activo */
.ch-module-shot {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px) scale(0.98);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
}

.ch-module-shot.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}


/* Solutions – personas (performance / studios / agencies) */

.ch-solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ch-solution-card {
  background-color: #020617;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  padding: 14px 14px 16px;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font: inherit;
  color: var(--text-primary);
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.ch-solution-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.8);
  border-color: rgba(129, 140, 248, 0.9);
}

.ch-solution-card.is-active {
  border-color: rgba(59, 130, 246, 0.98);
  background:
    radial-gradient(circle at 0 0, rgba(59, 130, 246, 0.35), transparent 55%),
    #020617;
}

.ch-solution-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
}

.ch-solution-tag--perf {
  border-color: rgba(96, 165, 250, 0.8);
  background-color: rgba(37, 99, 235, 0.18);
}

.ch-solution-tag--studio {
  border-color: rgba(244, 114, 182, 0.8);
  background-color: rgba(236, 72, 153, 0.14);
}

.ch-solution-tag--agency {
  border-color: rgba(52, 211, 153, 0.8);
  background-color: rgba(34, 197, 94, 0.14);
}

.ch-solution-emoji {
  font-size: 13px;
}

.ch-solution-card h3 {
  font-size: 16px;
}

.ch-solution-intro {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

.ch-solution-list {
  margin: 6px 0 0;
  padding-left: 18px;
  font-size: 12px;
  color: var(--text-muted);
}

/* Resaltado inline para palabras clave */
.ch-inline-highlight {
  font-weight: 600;
  color: var(--accent-blue);
}

/* variante secundaria por si la querés usar después */
.ch-inline-highlight-alt {
  font-weight: 600;
  color: var(--accent-purple);
}


/* franja dinámica debajo de las cards */

.ch-solutions-strip {
  margin-top: 16px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: radial-gradient(circle at 0 50%, rgba(30, 64, 175, 0.35), #020617);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  box-shadow: 0 0 0 rgba(37, 99, 235, 0); /* para animar */
  transition:
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.18s ease;
}

.ch-solutions-strip-label {
  font-weight: 700;
  color: #e5e7eb;
}

.ch-solutions-strip-text {
  color: #9ca3af;
}

/* estado “encendido” cuando hay card activa */
.ch-solutions-strip.is-emphasis {
  transform: translateY(2px);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.95);
}

/* variación de color según el tipo de card seleccionada */
.ch-solutions-strip.is-emphasis[data-persona="performance"] {
  border-color: rgba(59, 130, 246, 0.95);
  background:
    radial-gradient(circle at 0 50%, rgba(37, 99, 235, 0.55), transparent 60%),
    #020617;
}

.ch-solutions-strip.is-emphasis[data-persona="studio"] {
  border-color: rgba(236, 72, 153, 0.95);
  background:
    radial-gradient(circle at 0 50%, rgba(236, 72, 153, 0.5), transparent 60%),
    #020617;
}

.ch-solutions-strip.is-emphasis[data-persona="agency"] {
  border-color: rgba(34, 197, 94, 0.95);
  background:
    radial-gradient(circle at 0 50%, rgba(22, 163, 74, 0.55), transparent 60%),
    #020617;
}

/* =========================
   Performance metrics section
   ========================= */
.ch-section-metrics {
  position: relative;
  padding-block: 40px 52px;
  background: transparent;      /* 🔹 sin panel */
  overflow: visible;
}


.ch-metrics-inner {
  max-width: 1040px;
  margin: 0 auto;
}

/* reuso el header de sección, solo ajusto un poco */
.ch-section-metrics .ch-section-header p {
  max-width: 34rem;
}

/* grid 2x2 de métricas */
.ch-metrics-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

/* tarjetas de métrica */
.ch-metric-card {
  background: rgba(15, 23, 42, 0.96);
  border-radius: 26px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 20px 22px;
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.95);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 130px;
}

.ch-metric-value {
  font-size: 32px;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-main);
}

.ch-metric-label {
  margin-top: 4px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}

.ch-metric-caption {
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-muted);
}



/* responsive */
@media (max-width: 768px) {
  .ch-metrics-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ch-metric-card {
    min-height: auto;
  }
}


/* Impact – From slides and spreadsheets... */

/* From slides and spreadsheets → single live surface */

.ch-surface-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 32px;
  align-items: stretch;
}

.ch-surface-copy h2 {
  margin-bottom: 12px;
}

.ch-surface-copy p {
  max-width: 34rem;
  color: var(--text-muted);
}

/* --- Slides → Surface: métricas más lindas --- */

.ch-surface-metrics {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

/* cada métrica en una fila */
.ch-surface-metrics li {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

/* pill para el número */
.ch-surface-metrics li strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  color: #e5e7eb;
  background: radial-gradient(circle at 0 0, rgba(129, 140, 248, 0.45), rgba(15, 23, 42, 0.95));
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.85);
  letter-spacing: -0.01em;
  min-width: 0;          /* sin columna fija rara */
}

/* texto descriptivo al lado */
.ch-surface-metrics li span {
  display: inline-block;
}

/* CARD INTERACTIVA */

.ch-surface-card {
  background:
    radial-gradient(circle at 0 0, rgba(59, 130, 246, 0.45), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(168, 85, 247, 0.55), #020617);
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  padding: 16px 18px 18px;
  max-width: 440px;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.95);
}

/* Tabs / stepper */

.ch-surface-tabs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  background-color: rgba(15, 23, 42, 0.8);
}

.ch-surface-tab {
  border: none;
  background: transparent;
  color: #9ca3af;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
}

.ch-surface-tab.is-active {
  background: radial-gradient(circle at 0 0, rgba(59, 130, 246, 0.7), #020617);
  color: #f9fafb;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.95);
  transform: translateY(-1px);
}

/* Texto dinámico */

.ch-surface-body h3 {
  font-size: 15px;
  margin-bottom: 4px;
}

.ch-surface-body p {
  font-size: 12px;
  color: var(--text-muted);
}

/* Barra de progreso */

.ch-surface-meter {
  margin-top: 2px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ch-surface-meter-labels {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #9ca3af;
}

.ch-surface-meter-track {
  position: relative;
  width: 100%;
  height: 7px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  overflow: hidden;
}

.ch-surface-meter-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 20%;
  border-radius: inherit;
  background: linear-gradient(90deg, #22c55e, #a855f7);
  box-shadow: 0 0 16px rgba(74, 222, 128, 0.7);
  transition:
    width 0.32s ease,
    background 0.32s ease,
    box-shadow 0.32s ease;
}

.ch-surface-footnote {
  margin-top: 4px;
  font-size: 11px;
  color: #cbd5f5;
}

/* Responsive */

@media (max-width: 960px) {
  .ch-surface-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .ch-surface-card {
    max-width: 100%;
    margin-left: 0;
  }
}

/* barrita final */

.ch-impact-bar-wrap {
  margin-top: 20px;
}

.ch-impact-bar {
  position: relative;
  height: 12px;
  border-radius: 999px;
  background-color: #020617;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.8);
}

.ch-impact-bar-fill {
  position: absolute;
  inset: 0;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, #22c55e, #a3e635);
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.8);
  transition: transform 0.6s ease-out 0.15s;
}

/* cuando el panel es visible (clase reveal + is-visible del observer), llenamos la barra */
.ch-impact-panel.reveal.is-visible .ch-impact-bar-fill {
  transform: scaleX(1);
}

.ch-impact-bar-caption {
  margin-top: 6px;
  font-size: 11px;
  color: var(--text-muted);
}

/* responsive */

@media (max-width: 960px) {
  .ch-solutions-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ch-impact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .ch-impact-panel {
    order: -1;
  }

  .ch-solutions-strip {
    border-radius: 12px;
  }
}

/* Impact */

/* Gallery – video cards */

/* Gallery – carrusel continuo, 3 visibles y bordes difuminados */

.ch-gallery-row {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  /* cada card ocupa aprox 28% → ~3 visibles + bordes sugeridos */
  grid-auto-columns: minmax(260px, 28%);
  gap: 18px;
  overflow: hidden;
  padding: 8px 5vw 10px;
  /* fade en los bordes */
  mask-image: linear-gradient(
    to right,
    transparent 0,
    rgba(0, 0, 0, 0.95) 10%,
    rgba(0, 0, 0, 0.95) 90%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    rgba(0, 0, 0, 0.95) 10%,
    rgba(0, 0, 0, 0.95) 90%,
    transparent 100%
  );
}

.ch-gallery-card {
  background-color: #020617;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 170px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.ch-gallery-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.85);
  border-color: rgba(59, 130, 246, 0.9);
}

.ch-gallery-video-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: radial-gradient(circle at 0 0, #020617, #000);
}

.ch-gallery-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.3s ease;
}

.ch-gallery-card:hover .ch-gallery-video-wrap video {
  transform: scale(1.07);
}

.ch-gallery-card-body {
  padding: 8px 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ch-gallery-card-body h3 {
  font-size: 13px;
}

.ch-gallery-card-body p {
  font-size: 11px;
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 960px) {
  .ch-gallery-row {
    grid-auto-columns: minmax(75%, 1fr);
    padding-inline: 4vw;
  }
}


/* Pricing */

.ch-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.ch-price-card {
  background-color: #020617;
  border-radius: 18px;
  border: 1px solid var(--border-subtle);
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background-color 0.18s ease;
}

.ch-price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.9);
  border-color: rgba(129, 140, 248, 0.9);
}

.ch-price-card--highlight {
  border-color: rgba(59, 130, 246, 0.98);
  background:
    radial-gradient(circle at 0 0, rgba(59, 130, 246, 0.35), transparent 55%),
    #020617;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.9);
}

.ch-price-label {
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ch-price-pill {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  background-color: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(59, 130, 246, 0.8);
}

.ch-price-tagline {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
}

.ch-price-value {
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.ch-price-currency {
  font-size: 16px;
}

.ch-price-amount {
  font-size: 26px;
  font-weight: 700;
}

.ch-price-term {
  font-size: 12px;
  color: var(--text-muted);
}

.ch-price-meta {
  font-size: 11px;
  color: var(--text-muted);
}

.ch-price-list {
  margin: 4px 0 0;
  padding-left: 18px;
  font-size: 12px;
  color: var(--text-muted);
}

.ch-price-cta {
  margin-top: auto;
  align-self: flex-start;
}

.ch-price-footnote {
  margin-top: 10px;
  font-size: 11px;
  color: var(--text-muted);
}

/* responsive */

@media (max-width: 960px) {
  .ch-gallery-grid,
  .ch-pricing-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Team */

.ch-team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 1024px) {
  .ch-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ch-team-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Card base + flip */
.ch-team-card {
  position: relative;
  perspective: 1100px;
  cursor: pointer;
}

.ch-team-card-inner {
  position: relative;
  min-height: 220px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background:
    radial-gradient(circle at 0 0, rgba(59, 130, 246, 0.35), transparent 55%),
    #020617;
  transform-style: preserve-3d;
  transition:
    transform 0.5s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

/* estado hover */
.ch-team-card:hover .ch-team-card-inner {
  transform: translateY(-4px);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.95);
  border-color: rgba(129, 140, 248, 0.95);
}

/* estado activo: se da vuelta */
.ch-team-card.is-active .ch-team-card-inner {
  transform: rotateY(180deg) scale(1.02);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.95);
  border-color: rgba(129, 140, 248, 0.95);
}

/* caras del flip */
.ch-team-face {
  position: absolute;
  inset: 0;
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  backface-visibility: hidden;
}

.ch-team-face--front {
  transform: rotateY(0deg);
}

.ch-team-face--back {
  transform: rotateY(180deg);
}

/* header del frente */
.ch-team-front-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* avatar redondo */
.ch-team-avatar {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.9);
  flex-shrink: 0;
}

.ch-team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* nombre y rol */
.ch-team-card h3 {
  font-size: 15px;
  margin: 0;
}

.ch-team-role {
  font-size: 12px;
  color: #60a5fa;
  margin: 2px 0 0;
}

/* “logos” / badges en el frente */
/* ===========================
   TEAM — Logos mejor centrados y más limpios
   =========================== */

.ch-team-front-logos {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;                 /* más respiro entre logos */
  margin-top: 14px;
  flex-wrap: wrap;
}

/* LOGOS GRANDES, SIN BORDES NI BACKGROUND */
.ch-team-front-logos img {
  height: 42px;              /* antes 32px */
  width: auto;
  object-fit: contain;
  padding: 0;                /* sin padding */
  border: none !important;   /* eliminamos cualquier borde anterior */
  background: none !important;
  box-shadow: none !important;
  opacity: 0.9;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* hover suave tipo continuum */
.ch-team-front-logos img:hover {
  transform: translateY(-2px) scale(1.08);
  opacity: 1;
}

/* hover suave */
.ch-team-front-logos img:hover {
  transform: translateY(-2px) scale(1.06);
  opacity: 1;
}

.ch-team-logo-pill {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(148, 163, 184, 0.8);
  background-color: rgba(15, 23, 42, 0.9);
  color: rgba(226, 232, 240, 0.9);
}

/* bio en el dorso */
.ch-team-bio {
  font-size: 12px;
  color: var(--text-muted);
  margin: 6px 0 0;
  line-height: 1.5;
}

/* Logos de empresas dentro de la tarjeta del team */
.ch-team-logos {
  margin-top: 8px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.ch-team-logo {
  height: 28px;        /* tamaño fijo */
  width: auto;
  object-fit: contain;
  border-radius: 6px;
  background-color: rgba(15, 23, 42, 0.9);
  padding: 4px 6px;
  border: 1px solid rgba(148, 163, 184, 0.6);
}


/* =========================
   FAQ
   ========================= */

.ch-faq-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ch-faq-item {
  background-color: #020617;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  padding: 10px 14px;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease,
    background-color 0.18s ease;
}

.ch-faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.7);
  border-color: rgba(129, 140, 248, 0.9);
}

/* botón pregunta */
.ch-faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 0;
  background: none;
  border: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.ch-faq-question {
  font-size: 14px;
  font-weight: 500;
}

.ch-faq-icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  line-height: 1;
  color: var(--text-muted);
  flex-shrink: 0;
  transition:
    transform 0.18s ease,
    background-color 0.18s ease,
    color 0.18s ease;
}

/* cuerpo respuesta */
.ch-faq-body {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.25s ease,
    opacity 0.2s ease;
  font-size: 12px;
  color: var(--text-muted);
  padding-right: 6px;
}

/* estado abierto */
.ch-faq-item.is-open .ch-faq-body {
  max-height: 320px; /* suficiente para el texto que tenemos */
  opacity: 1;
  margin-top: 6px;
}

.ch-faq-item.is-open .ch-faq-icon {
  transform: rotate(45deg); /* de + a x */
  background-color: rgba(129, 140, 248, 0.2);
  color: var(--text-main);
}

/* responsive: ya tenías algo que ajusta .ch-faq-grid a 1 columna en mobile
   en el media query de 640px; esto se apoya en eso. */


/* CTA */

.ch-section-cta { text-align: center; }

.ch-cta-inner {
  max-width: 540px;
  margin: 0 auto;
  padding: 24px 18px;
  border-radius: 16px;
  border: 1px solid rgba(129, 140, 248, 0.6);
  background:
    radial-gradient(circle at 0 0, rgba(129, 140, 248, 0.35), #020617);
  box-shadow: var(--shadow-soft);
}

.ch-cta-inner h2 {
  margin-top: 0;
  margin-bottom: 8px;
}

.ch-cta-inner p {
  margin-top: 0;
  margin-bottom: 16px;
  color: var(--text-muted);
}

.ch-cta-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.ch-cta-form input {
  min-width: 220px;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background-color: #010409;
  color: var(--text-primary);
}

.ch-cta-note {
  margin-top: 10px;
  font-size: 12px;
  color: var(--accent-green);
}

/* Footer */

.ch-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 16px;
  background-color: #010409;
}

.ch-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

.ch-footer-links {
  display: flex;
  gap: 10px;
}

.ch-footer a {
  color: var(--text-muted);
  text-decoration: none;
}

.ch-footer a:hover { text-decoration: underline; }

/* Scroll to top */

.ch-scroll-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background-color: #0d1117;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.ch-scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Animations */

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */

@media (max-width: 960px) {
  .ch-nav { display: none; }

  .ch-header-menu-toggle { display: flex; }

  .ch-header-inner.is-open .ch-nav {
    position: absolute;
    top: 52px;
    left: 0;
    right: 0;
    background-color: #010409;
    padding: 8px 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-bottom: 1px solid var(--border-subtle);
  }

  .ch-hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .ch-steps-grid,
  .ch-modules-grid,
  .ch-solutions-grid,
  .ch-gallery-grid,
  .ch-team-grid,
  .ch-faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ch-impact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .ch-steps-grid,
  .ch-modules-grid,
  .ch-solutions-grid,
  .ch-gallery-grid,
  .ch-team-grid,
  .ch-faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ch-hero-form,
  .ch-cta-form {
    flex-direction: column;
    align-items: stretch;
  }
}

