/* ─────────────────────────────────────────
   INVTY · root_v3.css
   Base: root.css original
   Adiciones: evolution-badge, pain-section,
   nosotros, dino-canvas, card-list, chips
───────────────────────────────────────── */

/* ── TOKENS ORIGINALES ── */
:root {
  --bg: #fcf8fb;
  --surface: rgba(255, 251, 253, 0.82);
  --surface-strong: #fffdfd;
  --surface-dark: #1a1630;
  --surface-dark-2: #251d3d;
  --text: #1d2436;
  --text-soft: #6f7288;
  --text-inverse: #fcf8ff;
  --line: rgba(53, 43, 78, 0.1);
  --line-strong: rgba(196, 150, 174, 0.34);
  --primary: #d46f93;
  --primary-deep: #aa4f73;
  --accent: #f1b7cb;
  --accent-soft: #f8d9e5;
  --surface-card: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 243, 247, 0.9));
  --surface-card-soft: linear-gradient(180deg, rgba(255, 253, 254, 0.94), rgba(252, 246, 249, 0.86));
  --surface-card-dark: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  --shadow-soft: 0 18px 44px rgba(53, 33, 65, 0.08);
  --shadow-medium: 0 24px 58px rgba(34, 22, 45, 0.12);
  --shadow-hover: 0 28px 66px rgba(34, 22, 45, 0.16);
  --shadow-strong: 0 34px 88px rgba(28, 18, 39, 0.22);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 136px;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(241, 183, 203, 0.24), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(255, 232, 239, 0.6), transparent 18%),
    linear-gradient(180deg, #fffdfd 0%, #faf4f8 34%, #f7f4f7 100%);
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.site-shell { overflow: clip; }

.anchor-top,
section[id],
header[id] { scroll-margin-top: 136px; }

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

/* ── TOPBAR ── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
  background: rgba(255, 250, 252, 0.8);
  border-bottom: 1px solid rgba(88, 67, 98, 0.08);
}

.topbar.is-scrolled {
  background: rgba(255, 250, 252, 0.94);
  box-shadow: 0 14px 32px rgba(48, 28, 57, 0.06);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 88px;
}

.brand { flex: 0 0 auto; display: flex; align-items: center; gap: 0.6rem; }
/* El PNG se recorto al contenido (antes ~30% era aire), asi que el ancho
   baja para que el logo conserve su peso visual en la barra. */
.brand img { width: 132px; height: auto; }

/* ── badge rotatorio de evolución ── */
.evo-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--primary-deep);
  background: linear-gradient(135deg, rgba(212,111,147,0.1), rgba(82,183,136,0.08));
  border: 1px solid rgba(212,111,147,0.22);
  border-radius: 999px;
  padding: 3px 10px;
  white-space: nowrap;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.evo-badge.fade-out {
  opacity: 0;
  transform: translateY(-5px);
}

@media (max-width: 640px) {
  .evo-badge {
    font-size: 0.62rem;
    padding: 2px 7px;
  }
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-panel a {
  color: var(--text-soft);
  font-size: 0.96rem;
  font-weight: 600;
  transition: color 180ms ease;
}

.nav-panel a:hover,
.nav-panel a:focus-visible { color: var(--primary); outline: none; }

.nav-panel .button-primary,
.nav-panel .button-primary:hover,
.nav-panel .button-primary:focus-visible { color: #ffffff; }

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(88, 67, 98, 0.12);
  border-radius: 16px;
  background: rgba(255, 252, 253, 0.9);
  color: var(--text);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle.is-open span:first-child { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:last-child  { transform: translateY(-7px) rotate(-45deg); }

/* ── BUTTONS ── */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0 1.35rem;
  border-radius: 16px;
  border: 1px solid transparent;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover, .button:focus-visible { transform: translateY(-2px); outline: none; }

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  box-shadow: 0 16px 34px rgba(191, 99, 137, 0.28);
}

.button-primary:hover, .button-primary:focus-visible {
  box-shadow: 0 22px 36px rgba(191, 99, 137, 0.34);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 251, 253, 0.84);
  border-color: rgba(88, 67, 98, 0.12);
}

.button-secondary:hover, .button-secondary:focus-visible {
  background: #ffffff;
  box-shadow: var(--shadow-medium);
}

/* ── HERO ── */
.hero-section {
  position: relative;
  padding: 3.5rem 0 3.4rem;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(241, 183, 203, 0.28), transparent 26%),
    radial-gradient(circle at 82% 20%, rgba(245, 222, 231, 0.44), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 250, 252, 0.64));
  pointer-events: none;
}

.hero-backdrop::before, .hero-backdrop::after {
  content: "";
  position: absolute;
  border-radius: 999px 999px 999px 80px;
  background: linear-gradient(160deg, rgba(241, 183, 203, 0.2), rgba(255, 255, 255, 0.04));
  animation: petalFloat 18s ease-in-out infinite;
}

.hero-backdrop::before {
  top: 18%; right: 18%;
  width: 16px; height: 26px;
  transform: rotate(24deg);
}

.hero-backdrop::after {
  bottom: 24%; left: 8%;
  width: 12px; height: 20px;
  transform: rotate(-18deg);
  animation-delay: -8s;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 2rem;
  align-items: center;
  z-index: 2;
}

/* ── EVOLUTION BADGE (nuevo) ── */
.evolution-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(196, 150, 174, 0.34);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  margin-bottom: 1.1rem;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-soft);
}

.evo-step {
  font-size: 1.15rem;
  line-height: 1;
  transition: transform 0.35s ease;
}

.evo-step.active { transform: scale(1.35); }
.evo-arrow { font-size: 0.72rem; color: var(--text-soft); }
.evo-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--primary-deep);
  margin-left: 0.2rem;
  letter-spacing: 0.01em;
}

/* ── EYEBROW ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 34px;
  padding: 0 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(170, 79, 115, 0.14);
  background: rgba(255, 252, 253, 0.82);
  color: var(--primary-deep);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-copy h1,
.section-heading h2,
.hero-panel h2 {
  margin: 1rem 0 0;
  font-family: "Space Grotesk", "Inter", sans-serif;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  font-size: clamp(2.9rem, 5vw, 5.3rem);
  line-height: 0.96;
  max-width: 12ch;
}

.hero-text {
  max-width: 60ch;
  margin: 1.3rem 0 0;
  color: var(--text-soft);
  font-size: 1.1rem;
  line-height: 1.78;
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.hero-confidence {
  margin-top: 2.1rem;
  padding: 1.35rem;
  border-radius: 26px;
  border: 1px solid rgba(170, 79, 115, 0.12);
  background: var(--surface-card-soft);
  box-shadow: var(--shadow-medium);
}

.hero-confidence-copy { max-width: 58ch; }

.confidence-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 0.8rem;
  border-radius: 999px;
  background: rgba(212, 111, 147, 0.1);
  color: var(--primary-deep);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero-confidence-copy strong {
  display: block;
  margin-top: 0.85rem;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: clamp(1.18rem, 1.8vw, 1.42rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.hero-confidence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.1rem;
}

.confidence-item {
  padding: 1rem 1rem 0.95rem;
  border-radius: 20px;
  border: 1px solid rgba(170, 79, 115, 0.09);
  background: rgba(255, 255, 255, 0.62);
}

.confidence-item strong { display: block; font-size: 0.97rem; }
.confidence-item span {
  display: block;
  margin-top: 0.45rem;
  color: var(--text-soft);
  line-height: 1.55;
  font-size: 0.94rem;
}

/* ── HERO VISUAL ── */
.hero-visual { position: relative; }

.hero-frame {
  position: relative;
  min-height: 820px;
  border-radius: 36px;
  overflow: hidden;
  padding: 2rem;
  background:
    radial-gradient(circle at 18% 22%, rgba(241, 183, 203, 0.12), transparent 18%),
    radial-gradient(circle at 76% 78%, rgba(212, 111, 147, 0.12), transparent 22%),
    linear-gradient(160deg, #19152e 0%, #221d3a 54%, #302448 100%);
  box-shadow: var(--shadow-strong);
}

.hero-frame::before {
  content: "";
  position: absolute;
  inset: 1.2rem;
  border-radius: 30px;
  border: 1px solid rgba(248, 218, 229, 0.12);
}

.hero-frame::after {
  content: "";
  position: absolute;
  inset: 7.4rem 5rem 4rem 5rem;
  border-radius: 50%;
  border: 1px solid rgba(241, 183, 203, 0.12);
  box-shadow:
    0 0 0 56px rgba(223, 166, 191, 0.035),
    0 0 0 112px rgba(223, 166, 191, 0.025);
}

.hero-header {
  position: absolute;
  top: 2rem; left: 2.4rem; right: 2.4rem;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
}

.hero-logo {
  position: relative;
  width: clamp(128px, 16vw, 168px);
  height: auto;
  opacity: 0.98;
}

/* ── SAKURA CLUSTER (original) ── */
.sakura-cluster {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  left: 56%;
  pointer-events: none;
  z-index: 1;
}

.sakura-flower {
  position: absolute;
  top: -20%;
  width: 88px; height: 88px;
  opacity: 0.82;
  filter: drop-shadow(0 10px 20px rgba(110, 140, 200, 0.25));
  animation: sakuraFall 14s linear infinite;
  transform-style: preserve-3d;
}

.sakura-fall-1 { left: 12%; animation-delay: 0s; }
.sakura-fall-2 { left: 34%; width: 70px; height: 70px; opacity: 0.72; animation-delay: -4s; }
.sakura-fall-3 { left: 56%; width: 80px; height: 80px; opacity: 0.76; animation-delay: -8s; }
.sakura-fall-4 { left: 78%; width: 64px; height: 64px; opacity: 0.66; animation-delay: -11s; }

/* ── PÉTALO sakura mejorado ── */
/* Forma: ancho arriba (corazón), estrecho abajo — tipo sakura japonesa real */
.petal {
  position: absolute;
  left: 50%; top: 50%;
  width: 26px;
  height: 36px;
  /* Corazón arriba: las dos esquinas superiores muy redondeadas,
     la punta inferior estrecha */
  border-radius: 50% 50% 40% 40% / 60% 60% 40% 40%;
  background:
    /* brillo central tipo vena */
    radial-gradient(ellipse at 50% 18%, rgba(255,255,255,0.92) 0%, transparent 45%),
    /* sombra lateral sutil */
    radial-gradient(ellipse at 80% 70%, rgba(120,140,210,0.22) 0%, transparent 55%),
    /* degradado principal azul lavanda */
    linear-gradient(175deg,
      rgba(224,232,252,1)   0%,
      rgba(190,208,242,1)  35%,
      rgba(162,186,228,1)  65%,
      rgba(140,168,218,1) 100%
    );
  border: 1px solid rgba(130,155,200,0.5);
  box-shadow:
    inset 0 3px 8px  rgba(255,255,255,0.55),
    inset 0 -4px 10px rgba(90,115,175,0.18),
    0 5px 14px rgba(80,105,170,0.18);
  transform-origin: 50% 92%;
  transform-style: preserve-3d;
}

/* Vena central con pseudo */
.petal::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 14%;
  width: 1px;
  height: 65%;
  background: linear-gradient(180deg,
    rgba(170,190,235,0.7) 0%,
    rgba(140,165,220,0.25) 100%
  );
  transform: translateX(-50%);
  border-radius: 1px;
}

.petal-1 { transform: translate(-50%,-50%) rotate(0deg)   translateY(-14px); }
.petal-2 { transform: translate(-50%,-50%) rotate(72deg)  translateY(-14px); }
.petal-3 { transform: translate(-50%,-50%) rotate(144deg) translateY(-14px); }
.petal-4 { transform: translate(-50%,-50%) rotate(216deg) translateY(-14px); }
.petal-5 { transform: translate(-50%,-50%) rotate(288deg) translateY(-14px); }

/* ── CENTRO de la flor ── */
.flower-core {
  position: absolute;
  left: 50%; top: 60%;
  transform: translate(-50%, -10%);
  width: 14px; height: 14px;
  border-radius: 50%;
  z-index: 10;
  background:
    radial-gradient(circle at 38% 32%,
      rgba(255,250,220,0.98)  0%,
      rgba(230,195,100,1)    45%,
      rgba(175,130,55,0.95) 100%
    );
  box-shadow:
    0 0 0 3px rgba(210,175,95,0.35),
    0 0 0 6px rgba(200,165,80,0.12),
    0 2px 8px rgba(120,90,30,0.3);
}

.flower-core::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 2px; height: 2px;
  border-radius: 50%;
  background: rgba(200,160,50,0.95);
  transform: translate(-50%,-50%);
  box-shadow:
     0px -10px 0 rgba(210,170,55,0.9),
     7px  -7px 0 rgba(210,170,55,0.85),
    10px   0px 0 rgba(210,170,55,0.85),
     7px   7px 0 rgba(210,170,55,0.8),
     0px  10px 0 rgba(210,170,55,0.8),
    -7px   7px 0 rgba(210,170,55,0.8),
   -10px   0px 0 rgba(210,170,55,0.85),
    -7px  -7px 0 rgba(210,170,55,0.9);
}

.flower-core::after {
  content: "";
  position: absolute;
  left: 28%; top: 22%;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(255,252,235,0.88);
}

.hero-orbit {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(248, 218, 229, 0.1);
}

.orbit-one { inset: 8rem 3rem 5.5rem 3rem; }
.orbit-two { inset: 12rem 6rem 8.5rem 6rem; }

/* ── DINO CANVAS (nuevo) ── */
.dino-canvas-wrap {
  position: absolute;
  top: 7rem;
  left: 0; right: 0;
  height: 180px;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

#dinoCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.card-kicker {
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 700;
}

.hero-panel {
  position: absolute;
  right: 2.2rem; bottom: 2.6rem; z-index: 2;
  left: 2.2rem; width: auto; top: 16.5rem;
  padding: 1.45rem;
  border-radius: 28px;
  border: 1px solid rgba(248, 218, 229, 0.12);
  backdrop-filter: blur(18px);
  background:
    linear-gradient(180deg, rgba(15, 14, 31, 0.84), rgba(23, 19, 42, 0.78)),
    rgba(25, 21, 46, 0.78);
  box-shadow: 0 24px 60px rgba(17, 11, 28, 0.34);
}

.hero-panel h2 {
  color: var(--text-inverse);
  font-size: clamp(1.68rem, 2.5vw, 2.05rem);
  line-height: 1.02;
}

.hero-panel p, .hero-panel-stat small, .hero-signal-label {
  color: rgba(247, 236, 242, 0.72);
}

.hero-panel p { margin: 0.95rem 0 0; line-height: 1.6; }

.hero-panel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 1rem;
}

.hero-panel-stat {
  padding: 0.82rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(248, 218, 229, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.hero-panel-stat strong {
  display: block;
  margin-top: 0.25rem;
  color: var(--text-inverse);
  font-size: 0.95rem;
  line-height: 1.4;
}

.hero-signal {
  position: relative;
  width: 214px;
  padding: 0.82rem 0.95rem;
  border-radius: 16px;
  border: 1px solid rgba(248, 218, 229, 0.08);
  backdrop-filter: blur(14px);
  background: rgba(16, 18, 38, 0.4);
}

.hero-signal-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-signal strong {
  display: block;
  margin-top: 0.35rem;
  color: var(--text-inverse);
  font-size: 0.92rem;
  line-height: 1.42;
}

/* ── SECTIONS ── */
.section { padding: 6rem 0; }
.section-light { background: transparent; }

.section-dark {
  color: var(--text-inverse);
  background:
    radial-gradient(circle at top right, rgba(241, 183, 203, 0.14), transparent 20%),
    linear-gradient(180deg, #171329 0%, #221b37 100%);
}

.section-accent {
  background:
    linear-gradient(180deg, rgba(252, 242, 246, 0.92), rgba(255, 251, 252, 0.96)),
    #fff9fb;
}

.section-split {
  background:
    radial-gradient(circle at bottom left, rgba(241, 183, 203, 0.1), transparent 28%),
    #fffdfd;
}

.section-contact {
  background:
    linear-gradient(180deg, rgba(255, 248, 251, 0.82), rgba(255, 253, 253, 1)),
    #fffdfd;
}

.section-heading { max-width: 760px; }

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  margin-top: 1rem;
  font-family: "Space Grotesk", "Inter", sans-serif;
  letter-spacing: -0.04em;
}

.section-heading p {
  margin: 1.1rem 0 0;
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.8;
}

.section-dark .section-heading p,
.section-dark .industry-card p,
.section-dark .custom-panel p { color: rgba(234, 242, 255, 0.72); }

/* ── PAIN SECTION (nuevo) ── */
.pain-section { background: var(--surface-dark); }
.pain-section .section-heading h2 { color: var(--text-inverse); }
.pain-section .eyebrow { background: rgba(255,255,255,0.08); color: var(--accent); border-color: rgba(248,218,229,0.15); }

.pain-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(248, 218, 229, 0.1);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 18px 42px rgba(12, 8, 26, 0.14);
  transition: transform 220ms ease, border-color 220ms ease;
}

.pain-card:hover { transform: translateY(-3px); border-color: rgba(196, 150, 174, 0.3); }

.pain-icon {
  display: block;
  font-size: 1.75rem;
  margin-bottom: 0.85rem;
}

.pain-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.97rem;
  line-height: 1.7;
  font-style: italic;
}

.pain-cta {
  text-align: center;
  margin-top: 2rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1rem;
}

.pain-cta a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
}

/* ── CARDS ── */
.cards-grid { display: grid; gap: 1.2rem; margin-top: 2.2rem; }
.three-cols  { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.four-cols   { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.feature-card, .industry-card, .step-card, .benefit-card, .contact-form, .contact-panel, .custom-panel {
  border: 1px solid var(--line);
  background: var(--surface-card);
  box-shadow: var(--shadow-soft);
}

.feature-card, .industry-card {
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.industry-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.feature-card:hover, .industry-card:hover, .step-card:hover,
.benefit-card:hover, .process-pill:hover, .custom-panel:hover, .contact-panel:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-hover);
}

.feature-card h3, .industry-card h3, .step-card h3, .custom-panel h3 { margin: 1rem 0 0; font-size: 1.2rem; }
.feature-card p, .industry-card p { margin: 0.85rem 0 0; color: var(--text-soft); line-height: 1.7; }

/* card-list (nuevo) */
.card-list { list-style: none; padding: 0; margin: 0.85rem 0 0; }
.card-list li {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-deep);
  padding: 0.2rem 0;
}
.card-list li::before { content: '→ '; opacity: 0.6; }

.section-dark .industry-card {
  background: var(--surface-card-dark);
  border-color: rgba(248, 218, 229, 0.1);
  box-shadow: 0 18px 42px rgba(12, 8, 26, 0.14);
}

.icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(212, 111, 147, 0.14), rgba(241, 183, 203, 0.18));
}

.icon-wrap svg {
  width: 26px; height: 26px;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  color: var(--primary-deep);
}

.dark-icon { background: rgba(255, 244, 248, 0.08); }
.dark-icon svg { color: var(--accent); }

.industry-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  margin-bottom: 1rem;
  padding: 0 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(247, 236, 242, 0.7);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ── INDUSTRIES ── */
.industries-stage {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 1.5rem;
  margin-top: 1.8rem;
  padding: 1.6rem;
  border-radius: 32px;
  border: 1px solid rgba(248, 218, 229, 0.12);
  background:
    radial-gradient(circle at top right, rgba(241, 183, 203, 0.14), transparent 26%),
    rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow-medium);
}

.industries-stage-copy { display: grid; align-content: start; gap: 0; padding: 0.2rem; }

.industries-stage-copy h3 {
  margin: 0.95rem 0 0;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.industries-stage-copy p { margin: 0.95rem 0 0; color: rgba(234, 242, 255, 0.76); line-height: 1.78; }

.industries-stage-points { display: grid; gap: 0.9rem; margin-top: 1.35rem; }
.industries-stage-points span {
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 1rem 1.05rem;
  border-radius: 20px;
  border: 1px solid rgba(248, 218, 229, 0.1);
  background: rgba(20, 16, 38, 0.38);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 18px 40px rgba(17, 11, 28, 0.14);
}

.industries-stage-panel { padding: 0.25rem 0 0; }

.industries-panel-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(247, 236, 242, 0.74);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.industries-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1rem; }

.gov-case {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1.4rem;
  margin-top: 1.6rem;
  padding: 1.6rem;
  border: 1px solid rgba(248, 218, 229, 0.1);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 251, 253, 0.08), rgba(255, 246, 249, 0.04)), rgba(255, 255, 255, 0.03);
}

.gov-copy h3 {
  margin: 1rem 0 0;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.04em;
}
.gov-copy p { margin: 1rem 0 0; color: rgba(234, 242, 255, 0.76); line-height: 1.8; }
.gov-visual { display: grid; gap: 1rem; }

.map-card, .gov-metrics div {
  border-radius: 24px;
  border: 1px solid rgba(248, 218, 229, 0.1);
  background: rgba(25, 21, 46, 0.58);
  box-shadow: 0 20px 50px rgba(17, 11, 28, 0.2);
}

.map-card { position: relative; min-height: 280px; overflow: hidden; padding: 1.25rem; }

.map-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(248, 218, 229, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 218, 229, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
}

.map-pin {
  position: absolute;
  width: 18px; height: 18px;
  border-radius: 50% 50% 50% 0;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  transform: rotate(-45deg);
  box-shadow: 0 0 0 6px rgba(241, 183, 203, 0.08);
}
.map-pin::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: #ffffff; }
.pin-one { top: 24%; left: 26%; }
.pin-two { top: 46%; left: 58%; }
.pin-three { top: 68%; left: 34%; }

.map-panel {
  position: absolute; right: 1rem; bottom: 1rem;
  width: min(250px, calc(100% - 2rem));
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(248, 218, 229, 0.12);
  background: rgba(20, 16, 38, 0.82);
  backdrop-filter: blur(14px);
}
.map-panel strong, .gov-metrics strong { display: block; color: #ffffff; }
.map-panel small, .gov-metrics span { color: rgba(232, 240, 255, 0.7); }

.gov-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.gov-metrics div { padding: 1rem; }

/* ── NOSOTROS (nuevo) ── */
.nosotros-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.nosotros-copy h2 {
  margin: 1rem 0 0;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.nosotros-copy p { margin: 1rem 0 0; color: var(--text-soft); line-height: 1.75; }

.nosotros-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.nosotros-chip {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(196, 150, 174, 0.25);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  backdrop-filter: blur(4px);
}

.nosotros-card {
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-medium);
}

.team-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin: 0 auto 1rem;
  box-shadow: 0 12px 28px rgba(170, 79, 115, 0.3);
}

.team-name { font-family: "Space Grotesk", "Inter", sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--text); margin: 0; }
.team-role  { font-size: 0.85rem; color: var(--primary-deep); font-weight: 600; margin: 0.2rem 0 1rem; }
.team-quote { font-size: 0.92rem; color: var(--text-soft); font-style: italic; line-height: 1.65; margin: 0; }

/* ── PROCESS GRID ── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.2rem;
}

.process-pill {
  padding: 1.1rem 1rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface-card);
  box-shadow: var(--shadow-soft);
  font-weight: 700;
  text-align: center;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

/* ── ECOSYSTEM ── */
.ecosystem-grid { display: grid; gap: 2rem; }

.ecosystem {
  position: relative;
  min-height: 660px;
  margin-top: 1rem;
  border-radius: 36px;
  border: 1px solid rgba(180, 143, 163, 0.12);
  background:
    radial-gradient(circle at center, rgba(212, 111, 147, 0.06), transparent 20%),
    radial-gradient(circle at center, rgba(241, 183, 203, 0.08), transparent 34%),
    rgba(255, 252, 253, 0.86);
  box-shadow: var(--shadow-soft);
}

.ecosystem::before, .ecosystem::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.ecosystem::before { width: 460px; height: 460px; border: 1px solid rgba(212, 111, 147, 0.14); }
.ecosystem::after  { width: 320px; height: 320px; border: 1px dashed rgba(212, 111, 147, 0.16); }

.ecosystem-core, .ecosystem-node {
  position: absolute;
  display: grid;
  place-items: center;
  padding: 0 1rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.ecosystem-core {
  top: 50%; left: 50%;
  width: 196px; height: 196px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #ffffff;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  box-shadow: 0 26px 60px rgba(170, 79, 115, 0.28);
}

.ecosystem-node {
  width: 208px; min-height: 84px;
  border-radius: 22px;
  border: 1px solid rgba(88, 67, 98, 0.08);
  background: rgba(255, 252, 253, 0.94);
  color: var(--text);
  font-weight: 700;
}

.node-top          { top: 12%;  left: 50%; transform: translate(-50%, -50%); }
.node-right-top    { top: 32%;  left: 80%; transform: translate(-50%, -50%); }
.node-right-bottom { top: 68%;  left: 80%; transform: translate(-50%, -50%); }
.node-bottom       { top: 88%;  left: 50%; transform: translate(-50%, -50%); }
.node-left-bottom  { top: 68%;  left: 20%; transform: translate(-50%, -50%); }
.node-left-top     { top: 32%;  left: 20%; transform: translate(-50%, -50%); }
.connector         { display: none; }

/* ── STEPS ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.2rem;
}

.step-card {
  padding: 1.45rem;
  border-radius: 24px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.step-number {
  display: inline-flex;
  min-width: 56px; min-height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(170, 79, 115, 0.1);
  color: var(--primary-deep);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.step-card p { margin: 0.8rem 0 0; color: var(--text-soft); line-height: 1.72; }

/* ── SPLIT + BENEFITS ── */
.split-layout, .contact-layout, .custom-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: start;
}

.benefits-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }

.benefit-card {
  padding: 1.3rem 1.2rem;
  border-radius: 22px;
  font-weight: 700;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

/* ── CUSTOM PANEL ── */
.custom-panel {
  padding: 2rem;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 249, 251, 0.1), rgba(255, 244, 248, 0.05)),
    rgba(30, 23, 44, 0.68);
  border-color: rgba(248, 218, 229, 0.12);
  box-shadow: 0 20px 48px rgba(12, 8, 26, 0.16);
}

.custom-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.5rem 0;
}

.custom-list span {
  padding: 0.85rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(248, 218, 229, 0.14);
  background: rgba(255, 246, 249, 0.06);
  color: var(--text-inverse);
  font-weight: 700;
}

/* ── CONTACT ── */
.contact-panel {
  display: grid;
  gap: 0.6rem;
  padding: 1.5rem;
  border-radius: 22px;
}

.contact-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.contact-panel-primary { background: var(--surface-card-soft); box-shadow: var(--shadow-medium); }

.contact-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 0.72rem;
  border-radius: 999px;
  background: rgba(212, 111, 147, 0.1);
  color: var(--primary-deep);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.contact-panel strong { font-size: 1rem; }
.contact-panel a {
  color: var(--primary-deep);
  font-weight: 700;
  /* el correo es largo: que parta antes de salirse de la tarjeta */
  overflow-wrap: anywhere;
  word-break: break-word;
  min-width: 0;
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  width: fit-content;
  min-height: 46px;
  padding: 0.7rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(170, 79, 115, 0.14);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.whatsapp-link:hover, .whatsapp-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(170, 79, 115, 0.24);
  background: rgba(255, 255, 255, 0.94);
  color: var(--primary-deep);
  outline: none;
}

.whatsapp-link img { width: 18px; height: 18px; border-radius: 5px; object-fit: contain; flex: 0 0 auto; }
.contact-panel span { color: var(--text-soft); line-height: 1.7; }

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 2rem;
  border-radius: 28px;
  background: var(--surface-card);
  box-shadow: var(--shadow-medium);
}

.form-intro { display: grid; gap: 0.35rem; margin-bottom: 0.4rem; }
.form-intro strong { font-size: 1.02rem; }
.form-intro span { color: var(--text-soft); line-height: 1.65; }

.contact-form label { display: grid; gap: 0.55rem; font-weight: 600; }

.contact-form input, .contact-form textarea {
  width: 100%;
  border: 1px solid rgba(88, 67, 98, 0.12);
  border-radius: 16px;
  background: rgba(255, 250, 252, 0.94);
  padding: 1rem 1rem 0.95rem;
  color: var(--text);
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: rgba(212, 111, 147, 0.46);
  box-shadow: 0 0 0 4px rgba(241, 183, 203, 0.18);
  background: #ffffff;
}

/* ── FOOTER ── */
.footer {
  color: #1f2937;
  background: #E2E8F0;
  padding: 2.8rem 0 1.25rem;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 0.95fr;
  gap: 2rem;
  align-items: start;
}

.footer-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  width: fit-content;
  margin-bottom: 0.8rem;
  padding: 0 0.72rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  color: #475569;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* height:auto es obligatorio: los atributos width/height del <img> actuan
   como estilo por defecto, y sin esto el logo se estiraba a 245px de alto. */
.footer-brand img { width: 140px; height: auto; }
.footer-brand p { margin: 1rem 0 0; color: #4b5563; line-height: 1.8; }

.footer-links, .footer-contact { display: grid; gap: 0.7rem; }
.footer-contact { align-content: start; }
.footer-links strong, .footer-contact strong { color: #111827; }

.footer-contact-card {
  display: grid;
  gap: 0.95rem;
  max-width: 320px;
  padding: 1.05rem 1rem 1.1rem;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.94), rgba(226, 232, 240, 0.82)),
    rgba(255, 255, 255, 0.56);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 16px 30px rgba(148, 163, 184, 0.1);
}

.footer-links a, .footer-contact a { color: #374151; }
.footer-links a:hover, .footer-contact a:hover, .footer-whatsapp-link:hover { color: #111827; }

.footer-contact-item { display: grid; gap: 0.35rem; }
.footer-contact-item > span { color: #64748b; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; }
.footer-contact-item > a { width: fit-content; font-weight: 600; line-height: 1.45; }

.footer-whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  color: #1f2937;
  font-weight: 600;
}

.footer-whatsapp-link img { width: 16px; height: 16px; display: block; }
.footer-whatsapp-link span { line-height: 1.2; margin: 0; color: #1f2937; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.24);
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ── REVEAL (original) ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 900ms ease, transform 900ms ease;
}

.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ── ANIMATIONS ── */
@keyframes petalFloat {
  0%, 100% { opacity: 0.58; transform: translateY(0) rotate(18deg); }
  50%       { opacity: 0.92; transform: translateY(16px) rotate(30deg); }
}

@keyframes sakuraFall {
  0%   { transform: translate3d(0, -10%, 0) rotate(-10deg); }
  35%  { transform: translate3d(16px, 34vh, 0) rotate(4deg); }
  70%  { transform: translate3d(-10px, 68vh, 0) rotate(12deg); }
  100% { transform: translate3d(12px, 104vh, 0) rotate(18deg); }
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .hero-grid, .split-layout, .contact-layout, .custom-grid, .footer-grid, .gov-case {
    grid-template-columns: 1fr;
  }
  .three-cols, .four-cols, .process-grid, .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .proof-layout, .proof-capabilities, .contact-quick-grid { grid-template-columns: 1fr; }
  .hero-copy h1 { max-width: 14ch; }
  .hero-frame { min-height: 800px; }
  .sakura-cluster { left: 52%; }
  .ecosystem { min-height: 700px; }
  .node-left-top, .node-left-bottom { left: 18%; }
  .node-right-top, .node-right-bottom { left: 82%; }
  .nosotros-layout { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* El menu pasa a hamburguesa antes de que la barra se desborde.
   Con 8 enlaces + CTA ya no cabe por debajo de ~1024px. */
@media (max-width: 1024px) {
  .navbar { min-height: 78px; }
  .menu-toggle { display: inline-block; }

  .nav-panel {
    position: absolute;
    top: calc(100% - 0.4rem);
    left: 1rem; right: 1rem;
    display: grid;
    gap: 1rem;
    padding: 1.2rem;
    border: 1px solid rgba(88, 67, 98, 0.08);
    border-radius: 22px;
    background: rgba(255, 250, 252, 0.96);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .nav-panel.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-cta { width: 100%; }
}

@media (max-width: 860px) {
  .hero-section { padding-top: 2.4rem; }
  .hero-copy h1 { font-size: clamp(2.5rem, 9vw, 4rem); }
  .benefits-grid, .gov-metrics { grid-template-columns: 1fr; }
  .hero-confidence-grid, .industries-stage, .industries-grid { grid-template-columns: 1fr; }
  .hero-panel {
    left: 1.2rem; right: 1.2rem;
    bottom: 1.5rem; top: 14.5rem;
    width: auto;
  }

  .ecosystem {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    min-height: auto;
    padding: 1.4rem;
  }
  .ecosystem::before, .ecosystem::after { display: none; }
  .ecosystem-core {
    grid-column: 1 / -1;
    position: static; transform: none;
    width: 100%; height: 88px; border-radius: 24px;
  }
  .ecosystem-node { position: static; transform: none; width: 100%; min-height: 60px; }
  .connector { display: none; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 640px) {
  .container { width: min(var(--container), calc(100% - 1.2rem)); }
  .section { padding: 3.2rem 0; }

  /* tipografía */
  .brand { max-width: calc(100% - 68px); }
  .brand img { width: 130px; }
  .evo-badge { font-size: 0.6rem; padding: 2px 6px; }
  .hero-copy h1 { font-size: clamp(2.2rem, 10vw, 3.2rem); line-height: 1.02; max-width: 100%; }
  .hero-text { font-size: 1rem; line-height: 1.65; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }

  /* ── HERO FRAME MÓVIL ── */
  .hero-frame {
    min-height: auto;
    padding: 1.4rem 1.2rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-radius: 28px;
  }
  .hero-frame::after, .hero-orbit { display: none; }

  /* header: logo centrado */
  .hero-header {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    padding-bottom: 0;
  }
  .hero-logo { width: 100px; margin: 0 auto; }

  /* signal box debajo del logo, centrado */
  .hero-signal {
    width: 100%;
    text-align: center;
    background: rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 0.7rem 1rem;
    margin-top: 0.5rem;
  }
  .hero-signal strong { font-size: 0.88rem; text-align: center; }

  /* canvas del dino visible en móvil — más pequeño */
  .dino-canvas-wrap {
    display: block;
    position: relative;
    top: auto; left: auto; right: auto;
    height: 130px;
    margin: 0.5rem -1.2rem;
    overflow: hidden;
  }

  /* ocultar sakura del fondo exterior pero mantener canvas */
  .sakura-cluster { display: none; }

  /* panel: sin position absolute, fluye natural */
  .hero-panel {
    position: relative;
    top: auto; right: auto; bottom: auto; left: auto;
    width: 100%;
    padding: 1rem;
    margin-top: 0.5rem;
    border-radius: 20px;
  }
  .hero-panel h2 { font-size: 1.25rem; line-height: 1.15; }
  .hero-panel p  { font-size: 0.85rem; margin-top: 0.5rem; }

  /* stats en fila horizontal */
  .hero-panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.5rem;
    margin-top: 0.75rem;
  }
  .hero-panel-stat {
    padding: 0.6rem 0.5rem;
    border-radius: 12px;
  }
  .hero-panel-stat small  { font-size: 0.62rem; }
  .hero-panel-stat strong { font-size: 0.72rem; line-height: 1.3; }

  /* grids en 2 columnas en móvil — no 1 sola */
  /* auto-fit + min() en vez de "1fr 1fr" fijo: con dos columnas forzadas,
     en pantallas de 320-380px las tarjetas no alcanzan a encoger y el texto
     se sale del cuerpo. Asi caen solas a una columna cuando no caben. */
  .three-cols, .four-cols {
    grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  }
  .industries-grid { grid-template-columns: 1fr; }
  .steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
  }

  /* pills de capacidades: 2 columnas, más chicas y compactas */
  .process-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }
  .process-pill {
    padding: 0.75rem 0.6rem;
    font-size: 0.82rem;
    border-radius: 14px;
  }

  /* ecosistema: compacto en 2 columnas en vez de lista vertical */
  .ecosystem {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    min-height: auto;
    padding: 1.1rem;
    border-radius: 24px;
  }
  .ecosystem::before, .ecosystem::after { display: none; }
  .ecosystem-core {
    grid-column: 1 / -1;
    position: static;
    transform: none;
    width: 100%;
    height: 72px;
    border-radius: 20px;
    font-size: 1.3rem;
  }
  .ecosystem-node {
    position: static;
    transform: none;
    width: 100%;
    min-height: 52px;
    font-size: 0.85rem;
    border-radius: 16px;
  }
  .connector { display: none; }

  /* contact form */
  .contact-form { padding: 1.4rem; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
/* ═══════════════════════════════════════════════════════════
   TESTIMONIOS  (v4)
   ═══════════════════════════════════════════════════════════ */

.section-testi {
  background:
    radial-gradient(circle at 15% 10%, rgba(241, 183, 203, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(255, 251, 253, 0.96), rgba(252, 244, 248, 0.9));
}

.testi-grid {
  display: grid;
  /* min() evita que la columna exija 440px en pantallas mas angostas:
     sin el, la tarjeta se sale y el texto se corta en movil. */
  grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.testi-card {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 1.9rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background: var(--surface-card);
  box-shadow: var(--shadow-soft);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.testi-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.testi-stars {
  color: #f0a500;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  line-height: 1;
}

.testi-card blockquote {
  margin: 0;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 1.12rem;
  line-height: 1.55;
  color: var(--text);
  font-weight: 500;
}

.testi-card blockquote::before { content: "\201C"; }
.testi-card blockquote::after  { content: "\201D"; }

.testi-ba {
  display: grid;
  gap: 0.85rem;
  padding: 1.1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
}

.testi-ba-item p {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-soft);
}

.testi-ba-label {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
}

.testi-antes {
  color: #8a6a76;
  background: rgba(180, 150, 165, 0.16);
}

.testi-despues {
  color: #1f6b4e;
  background: rgba(82, 183, 136, 0.18);
}

.testi-ba-item:last-child p { color: #2f3a4a; }

.testi-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.testi-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.testi-avatar-anon {
  background: linear-gradient(135deg, #8e9aaf, #5f6b82);
  font-size: 1.25rem;
}

.testi-author strong {
  display: block;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.3;
}

.testi-author small {
  display: block;
  margin-top: 0.15rem;
  color: var(--text-soft);
  font-size: 0.82rem;
  line-height: 1.4;
}

.testi-foot {
  margin: 2.5rem 0 0;
  text-align: center;
  color: var(--text-soft);
  font-size: 1.02rem;
}

.testi-foot a {
  color: var(--primary-deep);
  font-weight: 700;
  border-bottom: 1px solid rgba(170, 79, 115, 0.35);
}

.testi-foot a:hover { border-bottom-color: var(--primary-deep); }

@media (max-width: 640px) {
  .testi-card { padding: 1.5rem; }
  .testi-card blockquote { font-size: 1.05rem; }
}

/* ── Formulario: opcional, consentimiento, honeypot y estado (v4) ── */

.label-opt {
  font-weight: 500;
  color: var(--text-soft);
  font-size: 0.82rem;
}

/* honeypot: fuera de vista pero no display:none (los bots lo detectan) */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.65rem;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-soft);
  font-weight: 500;
}

.form-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  accent-color: var(--primary);
  cursor: pointer;
}

.form-consent a {
  color: var(--primary-deep);
  font-weight: 700;
  border-bottom: 1px solid rgba(170, 79, 115, 0.4);
}

.form-status {
  margin: 0;
  min-height: 1.2rem;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.6;
}

.form-status.is-ok    { color: #1f6b4e; }
.form-status.is-error { color: #b03a5b; }

.form-status a {
  display: inline-block;
  margin-left: 0.35rem;
  color: #128c4e;
  font-weight: 800;
  border-bottom: 1px solid rgba(18, 140, 78, 0.45);
}

.footer-legal {
  color: var(--primary-deep);
  font-weight: 700;
  border-bottom: 1px solid rgba(170, 79, 115, 0.35);
}

/* ── Tarjeta final de la rejilla de testimonios: invita a ser el siguiente ── */
.testi-card-cta {
  align-items: flex-start;
  justify-content: center;
  gap: 0.9rem;
  border: 1px dashed rgba(212, 111, 147, 0.5);
  background: linear-gradient(160deg, rgba(248, 217, 229, 0.5), rgba(255, 253, 254, 0.9));
  box-shadow: none;
}

.testi-card-cta:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.testi-cta-icono { font-size: 1.8rem; line-height: 1; }

.testi-card-cta h3 {
  margin: 0;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 1.3rem;
  line-height: 1.3;
  color: var(--text);
}

.testi-card-cta p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}

.testi-card-cta .button { margin-top: 0.4rem; }
