/* ==========================================================================
   SOLUCIONAPP — Composición de secciones (v2)
   Hero cinematográfico, composiciones asimétricas, superposiciones y
   estados interactivos. La capa de movimiento vive en motion.css.
   ========================================================================== */

/* ---------- Secciones ---------- */
.section {
  position: relative;
  padding-block: var(--section-y);
}

.section--tight {
  padding-block: clamp(46px, 5.5vw, 78px);
}

.section--flush {
  padding-block: 0;
}

.section__head {
  position: relative;
  max-width: 800px;
  margin-bottom: clamp(34px, 4vw, 58px);
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.section__head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  max-width: none;
}

.section__title {
  font-size: var(--fs-h2);
  letter-spacing: -0.032em;
}

.section__lead {
  margin-top: 16px;
  max-width: 62ch;
  font-size: var(--fs-lead);
  color: var(--muted);
}

.section__head--center .section__lead {
  margin-inline: auto;
}

.section__num {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--dim);
  text-transform: uppercase;
}

.section__num::before {
  content: "";
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, var(--brand), transparent);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(100svh, 960px);
  padding-top: calc(var(--header-h) + clamp(46px, 6.5vw, 92px));
  padding-bottom: clamp(70px, 9vw, 130px);
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: -14% -8% 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
  mix-blend-mode: screen;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(58% 52% at 50% 42%, #000 0%, transparent 76%);
  mask-image: radial-gradient(58% 52% at 50% 42%, #000 0%, transparent 76%);
  opacity: 0.8;
}

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  will-change: transform;
}

.aurora--1 {
  top: -22vw;
  left: -12vw;
  width: 54vw;
  height: 54vw;
  background: radial-gradient(circle, rgba(108, 99, 255, 0.95), transparent 62%);
  opacity: 0.42;
  animation: aurora-a 24s ease-in-out infinite;
}

.aurora--2 {
  top: 2vw;
  right: -10vw;
  width: 46vw;
  height: 46vw;
  background: radial-gradient(circle, rgba(43, 224, 200, 0.9), transparent 62%);
  opacity: 0.26;
  animation: aurora-b 30s ease-in-out infinite;
}

.aurora--3 {
  bottom: -20vw;
  left: 26%;
  width: 42vw;
  height: 42vw;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.9), transparent 64%);
  opacity: 0.24;
  animation: aurora-a 36s ease-in-out infinite reverse;
}

@keyframes aurora-a {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(6vw, 4vw, 0) scale(1.12);
  }
}

@keyframes aurora-b {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1.05);
  }
  50% {
    transform: translate3d(-5vw, 5vw, 0) scale(0.94);
  }
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(34px, 5vw, 68px);
  align-items: center;
  width: 100%;
}

.hero__copy {
  position: relative;
  z-index: 2;
}

.hero__tagline {
  margin: 18px 0 0;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}

.hero__title {
  margin-top: 10px;
  font-size: clamp(2.6rem, 5.4vw, 4.55rem);
  line-height: 1.02;
  letter-spacing: -0.042em;
  max-width: 16ch;
}

.hero__title em {
  font-style: normal;
  background: linear-gradient(100deg, #8b7bff 0%, #6c63ff 30%, #2be0c8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero__lead {
  margin-top: 22px;
  max-width: 53ch;
  font-size: var(--fs-lead);
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 30px;
  font-size: var(--fs-xs);
  color: var(--dim);
}

.hero__meta li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero__meta svg {
  width: 14px;
  height: 14px;
  color: var(--brand-2);
}

/* Escena del hero */
.hero__stage {
  position: relative;
  perspective: 1500px;
  perspective-origin: 60% 40%;
}

.stage__rings {
  position: absolute;
  inset: -16% -12%;
  z-index: -1;
  pointer-events: none;
}

.stage__rings::before,
.stage__rings::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  translate: -50% -50%;
}

.stage__rings::before {
  width: 108%;
  aspect-ratio: 1;
  border: 1px solid rgba(108, 99, 255, 0.22);
  box-shadow: inset 0 0 90px rgba(108, 99, 255, 0.12);
  animation: ring-pulse 9s ease-in-out infinite;
}

.stage__rings::after {
  width: 82%;
  aspect-ratio: 1;
  border: 1px dashed rgba(43, 224, 200, 0.18);
  animation: spin-slow 48s linear infinite;
}

@keyframes ring-pulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.03);
  }
}

@keyframes spin-slow {
  to {
    rotate: 360deg;
  }
}

.app-window {
  position: relative;
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(165deg, rgba(22, 26, 46, 0.96), rgba(8, 10, 19, 0.99));
  box-shadow:
    0 50px 120px -50px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}

.app-window::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(108, 99, 255, 0.14), transparent 38%);
  pointer-events: none;
}

.app-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding-inline: 15px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.025);
}

.app-bar .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.app-url {
  margin-left: 10px;
  padding: 3px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--dim);
}

.app-body {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
}

.app-side {
  display: grid;
  gap: 9px;
  justify-items: center;
  align-content: start;
  padding: 16px 0;
  border-right: 1px solid var(--line-soft);
}

.side-dot {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.side-dot.is-active {
  background: var(--grad);
  box-shadow: 0 6px 16px -8px rgba(108, 99, 255, 0.9);
}

.app-main {
  padding: 16px;
  min-width: 0;
}

.app-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.app-title {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}

.app-title span {
  display: block;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 400;
  color: var(--dim);
  letter-spacing: 0.04em;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: var(--r-full);
  border: 1px solid rgba(43, 224, 200, 0.3);
  background: rgba(43, 224, 200, 0.1);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6ff0d8;
}

.live-pill i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2be0c8;
  animation: pulse-dot 2.4s ease-in-out infinite;
}

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

.kpi {
  padding: 9px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.kpi span {
  display: block;
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}

.kpi strong {
  display: block;
  margin-top: 3px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
}

.kpi i {
  font-style: normal;
  font-size: 8px;
  color: #6ff0d8;
}

.chart {
  position: relative;
  height: 138px;
  margin-top: 10px;
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(108, 99, 255, 0.09), transparent 70%);
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  width: 100%;
  height: 100%;
}

.bars i {
  flex: 1;
  height: var(--h, 40%);
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, #9d92ff, #4b46d6);
  transform-origin: bottom;
  animation: grow-bar 1s var(--ease) both;
  animation-delay: var(--d, 0ms);
  opacity: 0.92;
}

.bars i:nth-child(3n) {
  background: linear-gradient(180deg, #3ee8d2, #12907f);
}

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 13px;
  border: 1px solid var(--line-strong);
  background: rgba(11, 14, 26, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md);
  font-size: 11px;
  color: var(--text);
  transform: translateZ(60px);
  animation: float-y 7s ease-in-out infinite;
}

.float-card span {
  display: block;
  font-size: 9px;
  color: var(--dim);
  letter-spacing: 0.02em;
}

.float-card svg {
  width: 20px;
  height: 20px;
  color: var(--brand-2);
}

.fc-1 {
  top: 46px;
  right: -22px;
}

.fc-2 {
  bottom: 30px;
  left: -26px;
  animation-delay: -3.4s;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  translate: -50% 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--dim);
}

.hero__scroll::after {
  content: "";
  width: 1px;
  height: 46px;
  background: linear-gradient(180deg, var(--brand-2), transparent);
  animation: scroll-line 2.6s ease-in-out infinite;
}

@keyframes scroll-line {
  0% {
    transform: scaleY(0.2);
    transform-origin: top;
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  100% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 0;
  }
}

/* ---------- Métricas ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(44px, 6vw, 72px);
  padding-top: clamp(26px, 3vw, 34px);
  border-top: 1px solid var(--line);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.6vw, 2.05rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.stat span {
  display: block;
  margin-top: 6px;
  font-size: var(--fs-xs);
  color: var(--dim);
}

/* ---------- Franja tecnológica ---------- */
.strip {
  position: relative;
  overflow: hidden;
  padding-block: 18px;
  border-block: 1px solid var(--line-soft);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.strip__track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 42px;
  padding-right: 42px;
  animation: marquee 38s linear infinite;
}

.strip:hover .strip__track {
  animation-play-state: paused;
}

.strip__item {
  display: inline-flex;
  align-items: center;
  gap: 42px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--dim);
  white-space: nowrap;
}

.strip__item::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(108, 99, 255, 0.55);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Banda global ---------- */
.global {
  position: relative;
  padding-block: clamp(58px, 7vw, 104px);
  overflow: hidden;
}

.global__inner {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
}

.global__title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  letter-spacing: -0.035em;
}

.globe {
  position: relative;
  width: min(420px, 88%);
  margin-inline: auto;
  aspect-ratio: 1;
}

.globe svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.globe__meridians {
  transform-origin: 200px 200px;
  animation: spin-slow 40s linear infinite;
}

.globe__dot {
  animation: pulse-dot 3.2s ease-in-out infinite;
}

.globe__arc {
  stroke-dasharray: 6 220;
  animation: arc-run 5.5s linear infinite;
}

.globe__arc--2 {
  animation-delay: -2.4s;
}

@keyframes arc-run {
  to {
    stroke-dashoffset: -226;
  }
}

.global__points {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.global__points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: var(--fs-sm);
  color: var(--muted);
}

.global__points svg {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 3px;
  color: var(--brand-2);
}

.global__languages {
  display: inline-flex;
  gap: 8px;
  margin-top: 24px;
}

/* ---------- Servicios ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service {
  position: relative;
  display: grid;
  gap: 13px;
  align-content: start;
  padding: 26px 24px 28px;
  isolation: isolate;
  overflow: hidden;
  transition: transform var(--d2) var(--ease-out), border-color var(--d2) var(--ease-out),
    box-shadow var(--d2) var(--ease-out);
}

.service::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: radial-gradient(
    320px circle at var(--mx, 50%) var(--my, 0%),
    rgba(108, 99, 255, 0.22),
    transparent 62%
  );
  transition: opacity var(--d2) var(--ease-out);
}

.service:hover::before {
  opacity: 1;
}

.service:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 40px 80px -50px rgba(0, 0, 0, 0.9), 0 0 60px -40px rgba(108, 99, 255, 0.8);
}

.service .icon-badge {
  transition: transform var(--d2) var(--ease-spring), background var(--d2), color var(--d2);
}

.service:hover .icon-badge {
  transform: translateY(-3px) rotate(-6deg) scale(1.06);
  color: #fff;
  background: linear-gradient(140deg, rgba(108, 99, 255, 0.55), rgba(43, 224, 200, 0.35));
}

.service h3 {
  font-size: var(--fs-h3);
  letter-spacing: -0.018em;
}

.service p {
  font-size: var(--fs-sm);
  color: var(--muted);
}

.service .tag-list {
  margin-top: 4px;
}

.service--wide {
  grid-column: span 2;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  background: linear-gradient(120deg, rgba(108, 99, 255, 0.16), rgba(43, 224, 200, 0.05));
}

.service--wide p {
  max-width: 46ch;
}

/* ---------- Portafolio ---------- */
.projects {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform var(--d2) var(--ease-out), box-shadow var(--d2) var(--ease-out),
    border-color var(--d2) var(--ease-out);
}

.project-card:hover {
  box-shadow: 0 50px 90px -55px rgba(0, 0, 0, 1), 0 0 70px -50px rgba(108, 99, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.2);
}

.project-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01));
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out), scale 0.9s var(--ease-out);
  will-change: transform;
}

.project-card:hover .project-media img {
  scale: 1.06;
}

.project-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(4, 5, 12, 0.62));
  pointer-events: none;
}

.project-shine {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255, 255, 255, 0.16) 48%,
    transparent 62%
  );
  transform: translate3d(-60%, 0, 0);
  transition: transform 0.9s var(--ease-out), opacity 0.4s;
  pointer-events: none;
}

.project-card:hover .project-shine {
  opacity: 1;
  transform: translate3d(60%, 0, 0);
}

.project-body {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
  padding: 20px 22px 22px;
  transform: translateZ(24px);
}

.project-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.project-sector {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}

.project-card h3 {
  font-size: 1.15rem;
  letter-spacing: -0.012em;
}

.project-card p {
  font-size: var(--fs-sm);
  color: var(--muted);
}

.project-body .tag-list {
  margin: 2px 0 4px;
}

.project-body .link-arrow {
  margin-top: auto;
}

.project-card .link-arrow svg {
  transition: translate var(--d2) var(--ease-out);
}

.project-card:hover .link-arrow svg {
  translate: 6px 0;
}

/* ---------- Industrias ---------- */
.industries {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.industry {
  position: relative;
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 24px;
  overflow: hidden;
  transition: transform var(--d2) var(--ease-out), border-color var(--d2);
}

.industry::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43, 224, 200, 0.16), transparent 65%);
  opacity: 0;
  transition: opacity var(--d2);
}

.industry:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.industry:hover::after {
  opacity: 1;
}

.industry__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--brand-2);
  transition: transform var(--d2) var(--ease-spring), color var(--d2);
}

.industry:hover .industry__icon {
  transform: translateY(-2px) scale(1.06);
  color: #fff;
}

.industry__icon svg {
  width: 19px;
  height: 19px;
}

.industry h3 {
  font-size: 1.02rem;
  margin-top: 4px;
}

.industry p {
  font-size: var(--fs-sm);
  color: var(--muted);
}

.industry em {
  font-style: normal;
  font-size: var(--fs-xs);
  color: var(--brand-2);
}

/* ---------- Metodología (sticky storytelling) ---------- */
.method {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}

.method__aside {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.method__aside .section__lead {
  margin-bottom: 28px;
}

.method__hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: var(--r-full);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}

.method__hint b {
  color: var(--brand-2);
  font-weight: 600;
}

.rail {
  position: relative;
  padding-left: 42px;
}

.rail::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: var(--line);
}

.rail__fill {
  position: absolute;
  left: 11px;
  top: 10px;
  width: 1px;
  height: calc(var(--progress, 0) * 100%);
  max-height: calc(100% - 20px);
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
  box-shadow: 0 0 14px rgba(108, 99, 255, 0.75);
  transition: height 0.18s linear;
}

.step {
  position: relative;
  padding: 0 0 34px 0;
}

.step:last-child {
  padding-bottom: 0;
}

.step::before {
  content: "";
  position: absolute;
  left: -36px;
  top: 8px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--ink-850);
  transition: background var(--d3), box-shadow var(--d3), border-color var(--d3);
}

.step.is-in::before {
  background: var(--grad);
  border-color: transparent;
  box-shadow: 0 0 0 5px rgba(108, 99, 255, 0.14), 0 0 22px rgba(108, 99, 255, 0.8);
}

.step__num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--brand-2);
}

.step h3 {
  margin-top: 8px;
  font-size: clamp(1.15rem, 1.8vw, 1.42rem);
}

.step p {
  margin-top: 8px;
  max-width: 46ch;
  font-size: var(--fs-sm);
  color: var(--muted);
}

/* ---------- Tecnologías (constelación) ---------- */
.tech-cloud {
  position: relative;
  height: clamp(420px, 52vw, 560px);
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background:
    radial-gradient(60% 55% at 50% 45%, rgba(108, 99, 255, 0.14), transparent 70%),
    radial-gradient(45% 45% at 80% 20%, rgba(43, 224, 200, 0.1), transparent 70%),
    rgba(255, 255, 255, 0.014);
  overflow: hidden;
  isolation: isolate;
}

.tech-cloud::before,
.tech-cloud::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  translate: -50% -50%;
  pointer-events: none;
}

.tech-cloud::before {
  width: 62%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.tech-cloud::after {
  width: 88%;
  aspect-ratio: 1;
  border: 1px dashed rgba(108, 99, 255, 0.16);
  animation: spin-slow 90s linear infinite;
}

.tech-cloud__item {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 2;
  transform: translate3d(
    calc(-50% + var(--mx, 0px) * var(--k, 1)),
    calc(-50% + var(--my, 0px) * var(--k, 1)),
    0
  );
  transition: transform 0.7s var(--ease-out);
}

.chip-tech {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: var(--r-full);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(12, 15, 26, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.01em;
  color: #d6dcf0;
  white-space: nowrap;
  box-shadow: 0 12px 30px -18px rgba(0, 0, 0, 0.9);
  animation: float-chip var(--dur, 9s) ease-in-out infinite;
  animation-delay: var(--d, 0s);
  transition: border-color 0.3s, color 0.3s, box-shadow 0.3s;
}

.chip-tech::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--dot, #6c63ff);
  box-shadow: 0 0 10px var(--dot, #6c63ff);
}

.tech-cloud__item:hover .chip-tech {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  box-shadow: 0 18px 40px -20px rgba(108, 99, 255, 0.9);
}

@keyframes float-chip {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -12px, 0);
  }
}

.tech-cloud__label {
  position: absolute;
  left: 50%;
  bottom: 26px;
  translate: -50% 0;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
  white-space: nowrap;
}

/* ---------- Nosotros ---------- */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 68px);
  align-items: start;
}

.values {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.value {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.025);
  transition: transform var(--d2) var(--ease-out), border-color var(--d2);
}

.value:hover {
  transform: translateX(4px);
  border-color: var(--line-strong);
}

.value .icon-badge {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  flex: none;
}

.value .icon-badge svg {
  width: 18px;
  height: 18px;
}

.value h3 {
  font-size: 0.98rem;
  letter-spacing: -0.01em;
}

.value p {
  margin-top: 4px;
  font-size: var(--fs-sm);
  color: var(--muted);
}

.about__panel {
  position: relative;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--r-xl);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(108, 99, 255, 0.24), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.about__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: conic-gradient(from 180deg at 80% 0%, rgba(43, 224, 200, 0.16), transparent 30%);
  opacity: 0.7;
  pointer-events: none;
}

.about__panel > * {
  position: relative;
}

.about__panel h3 {
  font-size: 1.25rem;
}

.about__panel > p {
  margin-top: 10px;
  font-size: var(--fs-sm);
  color: var(--muted);
}

.metric-list {
  display: grid;
  gap: 2px;
  margin-top: 22px;
}

.metric {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-top: 1px solid var(--line-soft);
  font-size: var(--fs-sm);
  color: var(--muted);
}

.metric strong {
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: #fff;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: 10px;
  max-width: 840px;
  margin-inline: auto;
}

.faq details {
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.25s, background-color 0.25s;
}

.faq details[open] {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
}

.faq summary {
  position: relative;
  padding: 18px 34px 18px 0;
  font-size: 0.97rem;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  translate: 0 -50%;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
  color: var(--brand-2);
  transition: rotate 0.3s var(--ease);
}

.faq details[open] summary::after {
  rotate: 45deg;
}

.faq p {
  padding: 0 0 20px;
  font-size: var(--fs-sm);
  color: var(--muted);
}

/* ---------- Contacto ---------- */
.contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(64px, 8vw, 120px);
}

.contact__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.contact__bg::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -40%;
  width: 90vw;
  height: 90vw;
  translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108, 99, 255, 0.24), transparent 62%);
  filter: blur(60px);
}

.contact__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(60% 60% at 50% 60%, #000, transparent 78%);
  mask-image: radial-gradient(60% 60% at 50% 60%, #000, transparent 78%);
}

.contact__intro h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  letter-spacing: -0.038em;
  max-width: 14ch;
}

.contact__intro .lead {
  margin-top: 18px;
  max-width: 44ch;
}

.channels {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.channel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 17px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.25s, transform 0.25s var(--ease-out), background-color 0.25s;
}

.channel:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.channel .icon-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  flex: none;
}

.channel .icon-badge svg {
  width: 18px;
  height: 18px;
}

.channel strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
}

.channel span {
  display: block;
  font-size: var(--fs-xs);
  color: var(--dim);
}

.contact__note {
  margin-top: 22px;
  font-size: var(--fs-xs);
  color: var(--dim);
  line-height: 1.7;
}

.form-card {
  padding: clamp(22px, 3vw, 34px);
  border-radius: var(--r-xl);
  box-shadow: 0 60px 120px -70px rgba(0, 0, 0, 1), 0 0 90px -70px rgba(108, 99, 255, 0.9);
}

.form-card__head {
  margin-bottom: 22px;
}

.form-card__head h3 {
  font-size: 1.2rem;
}

.form-card__head p {
  margin-top: 6px;
  font-size: var(--fs-sm);
  color: var(--muted);
}

/* Estructura de contacto: dos columnas */
.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(30px, 4vw, 60px);
  align-items: start;
}

/* ---------- Páginas internas ---------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(48px, 6vw, 88px));
  padding-bottom: clamp(28px, 3.5vw, 46px);
  overflow: hidden;
}

.page-hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.35rem);
  letter-spacing: -0.038em;
  max-width: 20ch;
}

.page-hero .lead {
  margin-top: 18px;
  max-width: 62ch;
}

.page-hero--center {
  text-align: center;
}

.page-hero--center h1,
.page-hero--center .lead {
  margin-inline: auto;
}

/* ---------- Filtros ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(28px, 3.5vw, 44px);
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.filter {
  position: relative;
  padding: 9px 16px;
  border-radius: var(--r-full);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}

.filter:hover {
  color: #fff;
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.filter.is-active {
  background: var(--text);
  border-color: transparent;
  color: var(--ink-950);
}

.filters__count {
  margin-left: auto;
  align-self: center;
  font-size: var(--fs-xs);
  color: var(--dim);
  letter-spacing: 0.02em;
}

/* ---------- Fichas de proyecto ---------- */
.case {
  padding-block: clamp(34px, 4vw, 54px);
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 24px);
  transition: opacity 0.42s var(--ease-out), transform 0.42s var(--ease-out), filter 0.42s;
}

.case--client .case__visual {
  border-color: rgba(43, 224, 200, 0.25);
  box-shadow: 0 40px 90px -55px rgba(0, 0, 0, 1), 0 0 70px -60px rgba(43, 224, 200, 0.8);
}

.case--client .case__visual .mockup-tag {
  position: absolute;
  left: 12px;
  top: 12px;
}

.case:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.case.is-filtering {
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  filter: blur(6px);
}

.case__grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(26px, 4vw, 54px);
  align-items: center;
}

.case--flip .case__visual {
  order: 2;
}

.case__visual {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-strong);
  background: var(--ink-850);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform var(--d2) var(--ease-out), box-shadow var(--d2);
}

.case__visual:hover {
  box-shadow: 0 60px 110px -60px rgba(0, 0, 0, 1), 0 0 80px -60px rgba(108, 99, 255, 0.9);
}

.case__visual img {
  width: 100%;
  height: auto;
  transition: transform 0.9s var(--ease-out);
}

.case__visual:hover img {
  transform: scale(1.03);
}

.case__body h2 {
  font-size: clamp(1.55rem, 2.7vw, 2.05rem);
  letter-spacing: -0.03em;
}

.case__eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.case__lead {
  margin-top: 14px;
  font-size: 0.98rem;
  color: var(--muted);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 20px;
  margin-top: 20px;
}

.feature-list li {
  display: flex;
  gap: 9px;
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.55;
}

.feature-list svg {
  width: 15px;
  height: 15px;
  flex: none;
  margin-top: 3px;
  color: var(--brand-2);
}

.meta-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}

.meta-list dt {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}

.meta-list dd {
  margin: 5px 0 0;
  font-size: var(--fs-sm);
  color: var(--text);
}

.case__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.case .tag-list {
  margin-top: 20px;
}

/* ---------- Legales ---------- */
.legal {
  padding-top: calc(var(--header-h) + clamp(46px, 6vw, 80px));
  max-width: 820px;
}

.legal h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
}

.legal__updated {
  margin-top: 14px;
  font-size: var(--fs-xs);
  color: var(--dim);
}

.legal h2 {
  margin-top: 38px;
  font-size: 1.18rem;
  letter-spacing: -0.015em;
}

.legal h3 {
  margin-top: 24px;
  font-size: 1rem;
}

.legal p,
.legal li {
  margin-top: 12px;
  font-size: 0.94rem;
  color: var(--muted);
}

.legal ul {
  list-style: disc;
  padding-left: 20px;
}

.legal li {
  margin-top: 8px;
}

.legal a {
  color: var(--brand-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 404 ---------- */
.error-page {
  display: grid;
  place-content: center;
  gap: 16px;
  min-height: 72vh;
  padding-top: calc(var(--header-h) + 40px);
  text-align: center;
}

.error-page h1 {
  font-size: clamp(3.4rem, 10vw, 6rem);
  letter-spacing: -0.05em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.error-page p {
  max-width: 44ch;
  margin-inline: auto;
  color: var(--muted);
}

.error-page .hero__actions {
  justify-content: center;
}

/* ---------- Portafolio: grupos y tarjetas de cliente ---------- */
.portfolio-group + .portfolio-group {
  margin-top: clamp(56px, 7vw, 96px);
}

.portfolio-group {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.portfolio-group[hidden] {
  display: none;
}

.portfolio-group__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: clamp(24px, 3vw, 34px);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.portfolio-group__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  letter-spacing: -0.02em;
}

.portfolio-group__meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}

.project-card--client {
  border-color: rgba(43, 224, 200, 0.22);
  background: linear-gradient(180deg, rgba(43, 224, 200, 0.06), rgba(255, 255, 255, 0.018));
}

.project-card--client::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 4;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(43, 224, 200, 0.9), rgba(108, 99, 255, 0.7));
}

.badge--client {
  color: #8ef0dd;
  border-color: rgba(43, 224, 200, 0.32);
  background: rgba(43, 224, 200, 0.1);
}

.mockup-tag {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 4;
  padding: 4px 9px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: rgba(4, 5, 12, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-top: auto;
}

.link-out {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text);
  transition: color 0.25s;
}

.link-out svg {
  width: 15px;
  height: 15px;
  color: var(--brand-2);
  transition: translate 0.25s var(--ease-out);
}

.link-out:hover {
  color: var(--brand-2);
}

.link-out:hover svg {
  translate: 2px -2px;
}

/* ---------- Selector de país y teléfono ---------- */
.phone-field {
  position: relative;
}

.phone {
  position: relative;
  display: flex;
  gap: 8px;
}

.phone__trigger {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: none;
  height: 48px;
  padding: 0 13px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  transition: border-color 0.22s, background-color 0.22s;
}

.phone__trigger:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
}

.phone__trigger[aria-expanded="true"] {
  border-color: rgba(108, 99, 255, 0.6);
}

.phone__trigger svg {
  width: 14px;
  height: 14px;
  color: var(--dim);
  transition: rotate 0.25s var(--ease-out);
}

.phone__trigger[aria-expanded="true"] svg {
  rotate: 180deg;
}

.phone__iso {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  padding: 3px 5px;
  border-radius: 5px;
  border: 1px solid rgba(43, 224, 200, 0.24);
  background: rgba(43, 224, 200, 0.1);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--brand-2);
}

.phone__dial {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.phone__input {
  flex: 1;
  min-width: 0;
}

.phone__panel {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 60;
  width: min(380px, 100%);
  padding: 10px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: rgba(9, 11, 20, 0.98);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-lg);
}

.phone__search {
  margin-bottom: 8px;
}

.phone__search .input {
  height: 42px;
  padding-block: 8px;
  font-size: 0.88rem;
}

.phone__list {
  max-height: 258px;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  list-style: none;
}

.phone__option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 0.87rem;
  color: var(--muted);
  cursor: pointer;
}

.phone__option:hover,
.phone__option.is-active {
  background: rgba(108, 99, 255, 0.16);
  color: #fff;
}

.phone__option .phone__iso {
  min-width: 24px;
  font-size: 0.6rem;
  opacity: 0.9;
}

.phone__option .phone__name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.phone__option .phone__code {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--dim);
}

.field__hint {
  font-size: var(--fs-xs);
  color: var(--dim);
  line-height: 1.5;
}

/* Nota de moneda */
.currency-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 7px 12px;
  border-radius: var(--r-full);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}

.currency-note b {
  color: var(--brand-2);
  font-weight: 600;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .projects,
  .services,
  .industries {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tech-cloud {
    height: 500px;
  }
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 56px);
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .hero__stage {
    max-width: 560px;
    width: 100%;
    margin-inline: auto;
  }

  .hero__title {
    max-width: 100%;
  }

  .hero__scroll {
    display: none;
  }

  .global__inner,
  .about,
  .contact__grid,
  .case__grid,
  .method {
    grid-template-columns: 1fr;
  }

  .method__aside {
    position: static;
  }

  .case--flip .case__visual {
    order: 0;
  }

  .section__head--split {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .service--wide {
    grid-column: span 2;
    grid-template-columns: 1fr;
  }

  .globe {
    max-width: 340px;
  }
}

@media (max-width: 720px) {
  .aurora {
    filter: blur(52px);
    opacity: 0.3;
  }

  .fc-1 {
    right: -6px;
    top: 36px;
    scale: 0.9;
  }

  .fc-2 {
    left: -6px;
    bottom: 16px;
    scale: 0.9;
  }

  .kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kpis .kpi:last-child {
    display: none;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .meta-list {
    grid-template-columns: 1fr 1fr;
  }

  /* Constelación → lista fluida */
  .tech-cloud {
    height: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 24px;
  }

  .tech-cloud::before,
  .tech-cloud::after,
  .tech-cloud__label {
    display: none;
  }

  .tech-cloud__item {
    position: static;
    transform: none;
  }

  .chip-tech {
    animation: none;
  }
}

@media (max-width: 620px) {
  .projects,
  .services,
  .industries {
    grid-template-columns: 1fr;
  }

  .service--wide {
    grid-column: auto;
  }

  .hero__actions .btn {
    flex: 1 1 100%;
  }

  .hero__scroll {
    display: none;
  }

  .app-body {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .chart {
    height: 112px;
  }

  .float-card {
    display: none;
  }

  .rail {
    padding-left: 34px;
  }

  .step::before {
    left: -30px;
  }
}
