﻿/* ==========================================================
   TDEI.cl - style.css
   Tokens extraídos de Figma (variables de diseño)
   ========================================================== */
:root {
  /* Colores */
  --bg-page: #fff;
  --bg-section-alt: #eff3f9;
  --bg-glass: rgba(var(--rgb-white), 0.1);
  --bg-label-button: #fff4ee;
  --card-bg: #fff;
  --card-border: #f3f4f6;
  --text-primary: #111;
  --text-secondary: #6b6b6b;
  --text-muted: #adadad;
  --text-inverse: #fff;
  --text-accent: #fb5002;
  --text-accent-strong: #c2410c;
  --text-on-gradient-subtle: #ffd9c2;
  --border-default: #e9e9e9;
  --border-default-2: #d5d5d5;
  --border-dark: rgba(var(--rgb-white), 0.12);
  --button-whatsapp: #1e9434;
  --icon-web: #f47723;

  /* Paleta y canales para transparencias */
  --color-orange: #f76416;
  --color-black: #000;
  --color-orange-light: #ff7026;
  --color-sweep-dark: #1a0e09;
  --color-hero-dark: #0c0c0c;
  --color-hero-gradient-1: #170c08;
  --color-hero-gradient-2: #391a09;
  --color-hero-gradient-3: #5b270a;
  --color-hero-gradient-4: #8f390a;
  --color-hero-gradient-5: #a44208;
  --color-hero-gradient-6: #ba551a;
  --color-hero-gradient-7: #cf692c;
  --color-hero-gradient-8: #d6804d;
  --color-hero-gradient-9: #de986e;
  --color-hero-gradient-10: #e5af8e;
  --color-hero-gradient-11: #edc6af;
  --color-hero-gradient-12: #f6e3d7;
  --color-card-outline: #dedfe3;
  --color-icon-web-bg: #fff1e9;
  --color-icon-mobile-bg: #f2f5ff;
  --color-icon-systems-bg: #e0ffd7;
  --color-icon-consulting-bg: #ffe9fb;
  --color-icon-ai-bg: #ffe9e9;
  --color-solutions-heading: #0c1930;
  --color-solutions-gradient-dark: #44252c;
  --color-solutions-muted: #596c80;
  --color-solutions-tab-border: #e0e7ef;
  --color-solutions-tab-text: #40546b;
  --color-solutions-card-border: #e6ebf0;
  --color-solutions-visual-bg: #f7f9fb;
  --color-solutions-browser-border: #e5eaf0;
  --color-browser-bar: #25272c;
  --color-browser-dot-red: #ff6a6a;
  --color-browser-dot-yellow: #ffbb4a;
  --color-browser-dot-green: #52d8a2;
  --color-solutions-content: #12223a;
  --color-solutions-divider: #edf1f5;
  --color-solutions-number: #263b55;
  --color-solutions-number-muted: #a7b3c2;
  --color-solutions-arrow-border: #d9dce0;
  --color-solutions-arrow: #415975;
  --color-projects-heading: #040409;
  --color-project-border-active: #e2e2e2;
  --color-project-art-bg: #f3f5f8;
  --color-art-sidebar: #1a2433;
  --color-art-sidebar-item: #4a5565;
  --color-art-detail: #d3d9e2;
  --color-art-mobile-border: #333;
  --color-art-screen-block: #d0d0d0;
  --color-art-browser-border: #c0c0c0;
  --color-art-browser-bar: #eee;
  --color-art-product-bg: #ebebeb;
  --color-art-product-cap: #a8a8a8;
  --color-art-product-active: #ffdbc3;
  --color-cumple-rings: #183675;
  --color-cumple-icon-bg-start: #e9ffe3;
  --color-cumple-icon-bg-end: #c9f7bc;
  --color-cumple-icon: #2fa322;
  --color-why-gradient-1: #fdd8c5;
  --color-why-gradient-2: #fbb28b;
  --color-why-gradient-3: #fa9e6d;
  --color-why-gradient-4: #f98b50;
  --color-why-gradient-5: #f87733;
  --color-why-gradient-6: #b94b11;
  --color-why-gradient-7: #7c320b;
  --color-why-gradient-8: #5d2608;
  --color-why-gradient-9: #3e1906;
  --color-why-gradient-10: #1f0d03;
  --color-why-gradient-11: #0f0601;
  --color-process-gradient: #311404;
  --color-whatsapp-hover: #197c2c;
  --color-form-hover: #c84a0b;
  --color-linkedin: #0a66c2;
  --color-instagram-purple: #833ab4;
  --color-instagram-red: #fd1d1d;
  --color-instagram-yellow: #fcb045;

  --rgb-white: 255, 255, 255;
  --rgb-black: 0, 0, 0;
  --rgb-orange: 247, 100, 22;
  --rgb-whatsapp: 30, 148, 52;
  --rgb-accent: 251, 80, 2;
  --rgb-gray: 217, 217, 217;
  --rgb-warm-dark: 28, 25, 23;
  --rgb-cumple-blue: 174, 207, 245;
  --rgb-purple: 145, 125, 255;
  --rgb-slate: 65, 73, 95;
  --rgb-brown-dark: 20, 14, 10;
  --rgb-web-orange: 244, 119, 35;
  --rgb-charcoal: 15, 18, 22;
  --rgb-navy: 17, 36, 61;
  --rgb-navy-soft: 20, 38, 58;
  --rgb-text: 17, 17, 17;

  /* Espaciado */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 28px;
  --space-8: 32px;
  --space-9: 36px;
  --space-10: 40px;
  --space-11: 44px;
  --space-12: 48px;
  --space-14: 56px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;
  --space-36: 144px;
  --space-40: 160px;

  /* Tipografía */
  --family-inter: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-bold: 700;
  --size-s: 14px;
  --size-m: 16px;
  --size-l: 18px;
  --size-2xl: 24px;
  --size-3xl: 28px;
  --size-6xl: 42px;
  --size-8xl: 52px;
  --size-9xl: 62px;
  --lh-l: 20px;
  --lh-xl: 24px;
  --lh-2xl: 28px;
  --lh-6xl: 46px;
  --lh-9xl: 62px;

  /* Radios */
  --radius-sm: 24px;
  --radius-xl: 10px;

  /* Sombras */
  --shadow-card: 0 0 0 1px rgba(var(--rgb-black), 0.04), 0 1px 1px rgba(var(--rgb-black), 0.16), 0 2px 3px rgba(var(--rgb-black), 0.08);
  --shadow-whatsapp: 0 5px 5px rgba(var(--rgb-whatsapp), 0.25), 0 18px 9px rgba(var(--rgb-whatsapp), 0.21),
    0 42px 12.5px rgba(var(--rgb-whatsapp), 0.13), 0 74px 15px rgba(var(--rgb-whatsapp), 0.04);
  --shadow-whatsapp-hover: 0 5px 5px rgba(var(--rgb-whatsapp), 0.3), 0 18px 9px rgba(var(--rgb-whatsapp), 0.26),
    0 42px 12.5px rgba(var(--rgb-whatsapp), 0.17), 0 74px 15px rgba(var(--rgb-whatsapp), 0.07);
  --shadow-form: 0 15px 33px rgba(var(--rgb-orange), 0.1), 0 60px 60px rgba(var(--rgb-orange), 0.09),
    0 134px 81px rgba(var(--rgb-orange), 0.05), 0 239px 96px rgba(var(--rgb-orange), 0.01);
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

@media (min-width: 641px) {
  html {
    zoom: 0.9;
  }
}

body {
  width: 100%;
  font-family: var(--family-inter);
  font-size: var(--size-m);
  line-height: var(--lh-xl);
  color: var(--text-primary);
  background: var(--bg-page);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 1200px;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  border: 0;
  outline: 0;
}

button {
  cursor: pointer;
}

/* ---------- Utilidades ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 33px;
  padding: 0 var(--space-6);
  border-radius: 100px;
  font-size: var(--size-s);
  line-height: 17px;
  letter-spacing: 0.28px;
  text-transform: uppercase;
  white-space: nowrap;
}

.pill--accent {
  background: var(--bg-label-button);
  border: 1px solid var(--text-accent);
  color: var(--text-accent-strong);
}

.pill--dark {
  border: 1px solid var(--text-accent);
  color: var(--text-inverse);
}

.pill--glass {
  background: var(--bg-glass);
  color: var(--text-inverse);
  border: 1px solid transparent;
}

.section-title {
  font-size: var(--size-6xl);
  line-height: var(--lh-6xl);
  font-weight: var(--weight-medium);
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.section-header--center {
  align-items: center;
}

.section-header--start {
  align-items: flex-start;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4) var(--space-10);
  border-radius: 96px;
  font-size: var(--size-m);
  line-height: var(--lh-xl);
  color: var(--text-inverse);
  transition: filter 0.2s;
}

.hero__actions .btn,
.cumple21 .btn--primary,
.btn-whatsapp,
.form__submit {
  min-height: 64px;
}

.btn:hover {
  filter: brightness(1.08);
}

.btn--primary {
  background: var(--text-accent);
  gap: 28px;
}

.btn--glass {
  background: var(--bg-glass);
  border: 1px solid transparent;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.btn--glass:hover {
  border-color: var(--border-default-2);
}

.hero__actions .btn--primary {
  --sweep-bg: linear-gradient(110deg, var(--text-accent), var(--color-orange-light));
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--sweep-bg);
  transition: transform 220ms ease, filter 220ms ease, box-shadow 220ms ease;
  animation: hero-cta-glow 3.2s ease-in-out infinite;
}

.hero__actions .btn--primary::before,
.button-sweep::before {
  position: absolute;
  z-index: 1;
  inset: 0 auto 0 -10%;
  width: 120%;
  background: var(--color-sweep-dark);
  content: "";
  transform: skew(25deg);
  transition: transform 420ms cubic-bezier(0.3, 1, 0.8, 1);
}

.button-sweep {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform 220ms ease, filter 220ms ease, box-shadow 220ms ease;
}

.hero__actions .btn--primary .btn__label,
.hero__actions .btn--primary .btn__arrow,
.button-sweep>span,
.button-sweep>img {
  position: relative;
  z-index: 2;
}

.hero__actions .btn--primary:hover::before,
.button-sweep:hover::before {
  transform: translateX(100%) skew(25deg);
}

.hero__actions .btn--primary:active,
.button-sweep:active {
  transform: scale(0.96);
}

.hero__actions .btn--primary .btn__arrow {
  animation: hero-cta-arrow 3.2s ease-in-out infinite;
  transition: transform 220ms ease;
}

.hero__actions .btn--primary:hover {
  box-shadow: 0 10px 28px rgba(var(--rgb-accent), 0.34);
  filter: brightness(1.08);

}

.hero__actions .btn--primary:hover .btn__arrow {
  animation: none;
  transform: translateX(7px);
}

@keyframes hero-cta-glow {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(var(--rgb-accent), 0);
  }

  50% {
    box-shadow: 0 0 18px 3px rgba(var(--rgb-accent), 0.3);
  }
}

@keyframes hero-cta-arrow {

  0%,
  15%,
  100% {
    transform: translateX(0);
  }

  30%,
  45% {
    transform: translateX(4px);
  }
}

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative;
  height: 1060px;
  overflow: hidden;
  background: var(--color-hero-dark);
}

.hero__bg {
  position: absolute;
  top: -6px;
  left: -0.16%;
  right: 0;
  height: 1071px;
  background: radial-gradient(2763px 1539px at 50% -408px,
      var(--color-hero-dark) 0%, var(--color-hero-gradient-1) 51.2%, var(--color-hero-gradient-2) 57.3%, var(--color-hero-gradient-3) 63.3%, var(--color-hero-gradient-4) 73.9%,
      var(--color-hero-gradient-5) 77.3%, var(--color-hero-gradient-6) 83%, var(--color-hero-gradient-7) 88.7%, var(--color-hero-gradient-8) 89.8%, var(--color-hero-gradient-9) 90.9%,
      var(--color-hero-gradient-10) 92%, var(--color-hero-gradient-11) 93.1%, var(--color-hero-gradient-12) 96.3%, var(--bg-page) 99.5%);
}

.hero__texture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(ellipse at center, rgba(var(--rgb-purple), 0.28), transparent 70%),
    linear-gradient(rgba(var(--rgb-slate), 0.24) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--rgb-slate), 0.24) 1px, transparent 1px);
  background-size: auto, 34px 34px, 34px 34px;
  mix-blend-mode: multiply;
}

.hero__texture img,
.hero__orbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__orbs {
  position: absolute;
  left: calc(50% + 157px);
  top: -6px;
  width: 1106px;
  height: 1106px;
  transform-origin: center;
  animation: hero-orbs-rotate 180s linear infinite;
}

.hero__orbs img {
  animation: hero-orbs-enter 2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes hero-orbs-rotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes hero-orbs-enter {
  from {
    transform: scale(0.94);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero__fade {
  position: absolute;
  left: 0;
  right: 0;
  top: 801px;
  height: 260px;
  background: linear-gradient(180deg, rgba(var(--rgb-white), 0) 0%, rgba(var(--rgb-white), 0.15) 20.2%, var(--bg-page) 100%);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Navbar */
.nav {
  position: fixed;
  top: 0;
  left: 50%;
  right: auto;
  --nav-content-width: min(calc(100% - 288px), 1582px);
  --nav-scroll-padding: var(--space-6);
  width: var(--nav-content-width);
  height: 80px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 0;
  z-index: 20;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  translate: 0 0;
  transition: opacity 420ms ease, translate 520ms cubic-bezier(0.22, 1, 0.36, 1),
    top 520ms cubic-bezier(0.22, 1, 0.36, 1), height 360ms cubic-bezier(0.22, 1, 0.36, 1), background 360ms ease,
    box-shadow 360ms ease, border-radius 360ms ease, border-color 360ms ease,
    -webkit-backdrop-filter 360ms ease, backdrop-filter 360ms ease;
}

.nav>* {
  animation: nav-item-enter 1100ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.nav> :nth-child(2) {
  animation-delay: 120ms;
}

.nav> :nth-child(3) {
  animation-delay: 240ms;
}

@keyframes nav-item-enter {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav.is-scrolled {
  top: 14px;
  height: 68px;
  width: calc(var(--nav-content-width) + var(--nav-scroll-padding) + var(--nav-scroll-padding));
  padding-inline: var(--nav-scroll-padding);
  background: transparent;
  border: 0;
  border-radius: 24px;
  box-shadow: 0 14px 40px rgba(var(--rgb-brown-dark), 0.16);
}

.nav.is-scrolled::before,
.nav.is-scrolled::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.nav.is-scrolled::before {
  z-index: 0;
  background: rgba(var(--rgb-warm-dark), 0.48);
  -webkit-backdrop-filter: blur(20px) saturate(110%) contrast(1.04);
  backdrop-filter: blur(20px) saturate(110%) contrast(1.04);
}

.nav.is-scrolled::after {
  z-index: 0;
  background:
    radial-gradient(ellipse at 8% 0%, rgba(var(--rgb-white), 0.07), transparent 42%),
    linear-gradient(115deg, rgba(var(--rgb-white), 0.04), transparent 38%, rgba(var(--rgb-white), 0.02) 72%, rgba(var(--rgb-orange), 0.05));
  box-shadow: inset 0 1px rgba(var(--rgb-white), 0.06);
}

.nav:not(.is-scrolled) {
  background: transparent;
  border-color: transparent;
  border-radius: 0;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.nav__left {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: var(--space-16);
}

.nav__logo {
  width: 121px;
  height: 28px;
  object-fit: cover;
}

.nav__menu-toggle {
  display: none;
}

.nav__links {
  display: flex;
  gap: var(--space-9);
  align-items: center;
  height: 54px;
}

.nav__links a {
  color: rgba(var(--rgb-white), 0.62);
  transition: color 0.2s;
}

.nav__links a:hover,
.nav__links a.is-active {
  color: var(--text-inverse);
}

.nav__language {
  position: relative;
  z-index: 10;
}

.nav__language {
  animation: none;
}

.nav__lang {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  height: 40px;
  padding: var(--space-4);
  background: var(--bg-glass);
  border: 1px solid transparent;
  border-radius: 99px;
  color: var(--text-inverse);
  animation: nav-item-enter 1100ms 240ms cubic-bezier(0.22, 1, 0.36, 1) both;
  backdrop-filter: blur(4px);
}

.nav__lang::before {
  position: absolute;
  inset: -1px;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(var(--rgb-white), 0.78), rgba(var(--rgb-white), 0.12) 55%, rgba(var(--rgb-white), 0.48));
  content: "";
  pointer-events: none;
  mask: linear-gradient(var(--bg-page) 0 0) content-box, linear-gradient(var(--bg-page) 0 0);
  -webkit-mask: linear-gradient(var(--bg-page) 0 0) content-box, linear-gradient(var(--bg-page) 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.nav__lang img {
  width: 7px;
  height: 12px;
  transform: rotate(90deg);
}

.nav__lang-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  display: grid;
  min-width: 158px;
  padding: 7px;
  border: 1px solid rgba(var(--rgb-white), 0.16);
  border-radius: 16px;
  background:
    linear-gradient(224deg, rgba(var(--rgb-orange), 0.22), transparent 62%),
    rgba(var(--rgb-charcoal), 0.48);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  backdrop-filter: blur(20px) saturate(120%);
  box-shadow: 0 14px 36px rgba(var(--rgb-black), 0.2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px) scale(0.97);
  transform-origin: top right;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
}

.nav__lang-menu.is-open {
  gap: 3px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.nav__lang-menu button {
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: rgba(var(--rgb-white), 0.74);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.nav__lang-menu button:hover,
.nav__lang-menu button:focus-visible,
.nav__lang-menu button[aria-checked="true"] {
  outline: none;
  background: rgba(var(--rgb-white), 0.12);
  color: var(--text-inverse);
}

/* Contenido hero */
.hero__content {
  position: absolute;
  left: 50%;
  top: calc(50% - 25px);
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1920px;
  padding-left: 163px;
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
  z-index: 3;
  color: var(--text-inverse);
}

.hero__text {
  display: flex;
  flex-direction: column;
  gap: 17px;
  width: 569px;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__text,
  .hero__actions {
    animation: nav-item-enter 1100ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }
}

.hero__title {
  font-size: var(--size-9xl);
  line-height: var(--lh-9xl);
  font-weight: var(--weight-regular);
}

.hero__title-dynamic {
  display: inline-block;
  height: 1.08em;
  min-height: 1.08em;
  white-space: nowrap;
  vertical-align: bottom;
  line-height: 1;
}

.hero__title-word {
  display: inline-block;
  white-space: nowrap;
  min-height: 1em;
  color: inherit;
  padding: 0 6px 2px;
  border-radius: 5px;
  background: rgba(var(--rgb-accent), 0.2);
  line-height: 1;
}

.hero__title-word:empty {
  display: none;
}

.hero__title-word.is-typing:empty {
  display: inline;
  min-height: 0;
  padding: 0;
  background: transparent;
}

.hero__title-prefix.is-typing::after,
.hero__title-word.is-typing::after,
.hero__title-suffix.is-typing::after {
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 1px;
  background: var(--text-accent);
  content: "";
  vertical-align: bottom;
  animation: hero-type-caret 850ms steps(1, end) infinite;
}

.hero__title-word.is-typing,
.hero__title-suffix.is-typing {
  vertical-align: bottom;
}

@keyframes hero-type-caret {
  50% {
    opacity: 0;
  }
}

.hero__subtitle {
  color: rgba(var(--rgb-white), 0.72);
  font-size: var(--size-2xl);
  line-height: var(--lh-2xl);
}

.hero__actions {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: var(--space-4);
  height: 54px;
  width: max-content;
}

.btn__arrow {
  width: 21px;
  height: auto;
}

/* Mock de dashboard */
.hero__mock {
  position: absolute;
  left: calc(50% + 95px);
  top: 227px;
  width: 699px;
  height: 538px;
  display: flex;
  justify-content: space-between;
  padding: 46px;
  border-radius: 23px;
  background:
    linear-gradient(224deg, rgba(var(--rgb-orange), 0.42) 21.9%, rgba(var(--rgb-black), 0) 58.4%, rgba(var(--rgb-orange), 0.42) 93.6%),
    rgba(var(--rgb-black), 0.06);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(var(--rgb-white), 0.14);
  z-index: 2;
}

.mock__menu {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 446px;
}

.mock__item {
  display: flex;
  align-items: center;
  gap: 9px;
}

.mock__icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(var(--rgb-gray), 0.84);
}

.mock__line {
  width: 98px;
  height: 16px;
  border-radius: 9px;
  background: rgba(var(--rgb-gray), 0.2);
}

.mock__main {
  display: flex;
  flex-direction: column;
  gap: 45px;
  width: 389px;
}

.mock__main>* {
  animation: mock-main-enter 1150ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.mock__main> :nth-child(1) {
  animation-delay: 200ms;
}

.mock__main> :nth-child(2) {
  animation-delay: 420ms;
}

.mock__main> :nth-child(3) {
  animation-delay: 640ms;
}

@keyframes mock-main-enter {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mock__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mock__top .mock__line {
  width: 160px;
}

.mock__avatar {
  width: 54px;
  height: 36px;
  border-radius: 9px;
  background: rgba(var(--rgb-gray), 0.98);
}

.mock__cards {
  display: flex;
  align-items: center;
  gap: 13px;
}

.mock__card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 169px;
  height: 170px;
  border-radius: 10px;
  background: rgba(var(--rgb-white), 0.16);
}

.mock__card img {
  width: 124px;
  height: 124px;
  animation: circle-table-spin 12s linear infinite;
}

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

.mock__card--plain {
  width: 203px;
  border-radius: 12px;
  background: rgba(var(--rgb-gray), 0.2);
}

.mock__rows {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 154px;
}

.mock__rows .mock__line {
  width: 389px;
  height: 36px;
}

/* ==========================================================
   COLABORACIÓN (logos)
   ========================================================== */
.colab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-9);
  padding-block: var(--space-32);
  padding-top: var(--space-16);
  overflow: hidden;
}

.colab__title {
  font-size: var(--size-3xl);
  line-height: var(--lh-2xl);
  color: var(--text-primary);
}

.colab__title-break {
  display: none;
}

.colab__logos {
  width: 100%;
  height: 64px;
  overflow: hidden;
}

.colab__track {
  display: flex;
  width: max-content;
  height: 100%;
  animation: colab-slide 52s linear infinite;
  will-change: transform;
}

.colab__group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: var(--space-11);
  padding-right: var(--space-11);
}

.colab__logos img {
  flex-shrink: 0;
  object-fit: contain;
  opacity: 0.42;
}

@keyframes colab-slide {
  from {
    transform: translateX(calc(50vw - 25%));
  }

  to {
    transform: translateX(calc(50vw - 75%));
  }
}

.logo--familycard-azul {
  width: 155px;
  height: 43px;
}

.logo--sochicri {
  width: 193px;
  height: 54px;
}

.logo--image7 {
  width: 165px;
  height: 46px;
}

.logo--ambipar {
  width: 171px;
  height: 64px;
}

/* ==========================================================
   SERVICIOS
   ========================================================== */
.servicios {
  display: flex;
  flex-direction: column;
  gap: var(--space-7);
  padding: var(--space-32) var(--space-36);
  background: var(--bg-section-alt);
  overflow: hidden;
}

.servicios__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  max-width: 1582px;
  margin-inline: auto;
}

.servicios__head-left {
  display: flex;
  flex-direction: column;
  gap: var(--space-7);
  align-items: flex-start;
}

.servicios__head .section-title {
  width: 468px;
  color: var(--text-primary);
}

.servicios__lead {
  width: 373px;
  font-size: var(--size-l);
  line-height: var(--lh-2xl);
  color: var(--text-secondary);
}

.servicios__grid {
  display: flex;
  gap: var(--space-5);
  align-items: stretch;
  width: 100%;
  max-width: 1582px;
  margin-inline: auto;
}

.card {
  flex: 1 1 0;
  min-width: 1px;
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
  padding: var(--space-8) var(--space-6);
  background: var(--card-bg);
  border: 1px solid var(--color-card-outline);
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 10px rgba(var(--rgb-black), 0.04);
  overflow: hidden;
  transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 650ms ease;
}

.card:hover,
.card:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(var(--rgb-black), 0.08);
}

.card__icon {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card__icon img {
  width: 24px;
  height: 24px;
}

.card__icon--web {
  background: var(--color-icon-web-bg);
}

.card__icon--mobile {
  background: var(--color-icon-mobile-bg);
}

.card__icon--sistemas {
  background: var(--color-icon-systems-bg);
}

.card__icon--consultoria {
  background: var(--color-icon-consulting-bg);
}

.card__icon--ia {
  background: var(--color-icon-ai-bg);
}

.card__body {
  display: flex;
  flex-direction: column;
  gap: 25px;
  font-size: var(--size-l);
  line-height: var(--lh-2xl);
}

.card__title {
  color: var(--text-primary);
}

.card__text {
  color: var(--text-secondary);
}

.soluciones__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
  width: 100%;
  max-width: 760px;
  text-align: center;
}

.soluciones__head .section-title {
  color: var(--color-solutions-heading);
  font-size: clamp(32px, 3.2vw, 48px);
  line-height: 1.08;
  font-weight: var(--weight-bold);
}

.soluciones__head-accent {
  color: var(--text-accent);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .soluciones__head-accent {
    background: linear-gradient(90deg, var(--color-solutions-gradient-dark) 0%, var(--text-accent) 75%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.soluciones__lead {
  max-width: 620px;
  font-size: var(--size-m);
  line-height: 1.45;
  color: var(--color-solutions-muted);
}

.soluciones__tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  max-width: 100%;
  margin-top: 2px;
}

.soluciones__tabs {
  scrollbar-width: none;
}

.soluciones__tabs::-webkit-scrollbar {
  display: none;
}

.soluciones__tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 40px;
  padding: 2px 20px 0;
  border: 1px solid var(--color-solutions-tab-border);
  border-radius: 100px;
  background: var(--bg-page);
  color: var(--color-solutions-tab-text);
  font-size: var(--size-s);
  font-weight: var(--weight-medium);
  line-height: 1;
  white-space: nowrap;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.soluciones__tab:hover {
  border-color: var(--text-accent);
}

.soluciones__tab.is-active {
  border-color: var(--text-accent);
  background: var(--text-accent);
  color: var(--text-inverse);
}

.soluciones__tab.is-active::after {
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.soluciones__tab:focus-visible,
.soluciones__arrow:focus-visible,
.soluciones__cta:focus-visible {
  outline: 3px solid rgba(var(--rgb-accent), 0.3);
  outline-offset: 3px;
}

.soluciones__carousel {
  position: relative;
  width: min(1280px, calc(100% - 96px));
  margin-top: 2px;
}

.soluciones__controls {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.soluciones__slides {
  display: flex;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 14px 36px rgba(var(--rgb-navy), 0.1);
  border: 1px solid var(--color-solutions-card-border);
  width: 100%;
}

.soluciones__panel {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  transform: translateX(calc(-100% * var(--active-index, 0)));
  transition: transform 550ms cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
  display: grid;
  grid-template-columns: 7fr 5fr;
  min-height: 420px;
  overflow: hidden;
  background: var(--bg-page);
}

.soluciones__panel.is-active {
  pointer-events: auto;
}

.soluciones__panel[hidden] {
  display: grid;
  pointer-events: none;
}

.soluciones__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: clamp(24px, 3vw, 40px);
  background: var(--color-solutions-visual-bg);
}

.soluciones__visual--dashboard {
  padding-block: clamp(48px, 5vw, 64px);
}

.soluciones__browser {
  width: min(100%, 570px);
  overflow: hidden;
  border: 1px solid var(--color-solutions-browser-border);
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(var(--rgb-navy-soft), 0.15);
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .soluciones__visual--dashboard {
    perspective: 1100px;
  }

  .soluciones__browser {
    transform: rotateX(var(--dashboard-rotate-x, 0deg)) rotateY(var(--dashboard-rotate-y, 0deg));
    transition: transform 220ms ease-out;
  }
}

.soluciones__browser-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 32px;
  padding-inline: 14px;
  background: var(--color-browser-bar);
}

.soluciones__browser-bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-browser-dot-red);
}

.soluciones__browser-bar span:nth-child(2) {
  background: var(--color-browser-dot-yellow);
}

.soluciones__browser-bar span:nth-child(3) {
  background: var(--color-browser-dot-green);
}

.soluciones__dashboard {
  width: 100%;
  height: auto;
}

.soluciones__visual-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(58%, 260px);
  aspect-ratio: 1;
  padding: 56px;
  border-radius: 28px;
  background: var(--bg-page);
  box-shadow: 0 12px 30px rgba(var(--rgb-black), 0.08);
}

.soluciones__visual-icon img {
  width: 100%;
  max-width: 120px;
  height: auto;
}

.soluciones__visual-icon--automation {
  background: var(--color-icon-web-bg);
}

.soluciones__visual-icon--mobile {
  background: var(--color-icon-mobile-bg);
}

.soluciones__visual-icon--web {
  background: var(--color-icon-systems-bg);
}

.soluciones__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-4);
  padding: clamp(30px, 3.5vw, 48px);
  color: var(--color-solutions-content);
}

.soluciones__title {
  max-width: 520px;
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.18;
  font-weight: var(--weight-bold);
}

.soluciones__description {
  max-width: 520px;
  font-size: var(--size-m);
  line-height: 1.5;
  color: var(--color-solutions-muted);
}

.soluciones__benefits {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.45;
}

.soluciones__benefits li {
  position: relative;
  padding-left: 24px;
}

.soluciones__benefits li::before {
  position: absolute;
  top: 2px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--text-accent);
  color: var(--text-inverse);
  content: "✓";
  font-size: 10px;
  font-weight: var(--weight-bold);
}

.soluciones__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  width: 100%;
  margin-top: var(--space-3);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-solutions-divider);
}

.soluciones__number {
  flex-shrink: 0;
  color: var(--color-solutions-number);
  font-size: 12px;
  font-weight: var(--weight-bold);
}

.soluciones__number span {
  margin-inline: 5px;
  color: var(--color-solutions-number-muted);
}

.soluciones__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--text-accent);
  border-radius: 100px;
  background: transparent;
  color: var(--text-accent);
  font-size: var(--size-s);
  font-weight: var(--weight-medium);
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.soluciones__cta::after {
  margin-left: 10px;
  content: "→";
}

.soluciones__cta:hover {
  background: var(--text-accent);
  color: var(--text-inverse);
}

.soluciones__arrow {
  position: absolute;
  z-index: 1;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  transform: translateY(-50%);
  border: 1px solid var(--color-solutions-arrow-border);
  border-radius: 50%;
  background: var(--bg-page);
  box-shadow: 0 1px 3px rgba(var(--rgb-black), 0.12);
  color: var(--color-solutions-arrow);
  font-size: 28px;
  line-height: 1;
  pointer-events: auto;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.soluciones__arrow span[aria-hidden="true"] {
  line-height: 1;
}

.soluciones__arrow--prev {
  left: -22px;
}

.soluciones__arrow--next {
  right: -22px;
}

.soluciones__arrow:hover {
  border-color: var(--text-accent);
}

/* ==========================================================
   PROYECTOS
   ========================================================== */
.proyectos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-7);
  padding-block: var(--space-32);
  background: var(--bg-page);
}

.proyectos__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
  width: 612px;
  max-width: 100%;
  text-align: center;
}

.proyectos__head .section-title {
  color: var(--color-projects-heading);
}

.proyectos__lead {
  font-size: var(--size-l);
  line-height: var(--lh-2xl);
  color: var(--text-secondary);
}

.proyectos__grid {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  width: 1340px;
  max-width: 100%;
  margin-top: var(--space-8);
}

.project {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  width: 428px;
  padding: var(--space-14) var(--space-6);
  border: 2px solid var(--border-default);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 650ms ease, border-color 650ms ease;
}

.project:hover,
.project:focus-within {
  transform: translateY(-2px);
  border-color: var(--color-project-border-active);
  box-shadow: 0 10px 24px rgba(var(--rgb-black), 0.075), 0 2px 6px rgba(var(--rgb-black), 0.035);
}

.project__art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 254px;
  border-radius: 12px;
  background: var(--color-project-art-bg);
  overflow: hidden;
}

.project__title {
  font-size: var(--size-2xl);
  line-height: var(--lh-2xl);
  color: var(--text-primary);
}

.project__text {
  font-size: var(--size-l);
  line-height: var(--lh-2xl);
  color: var(--text-secondary);
  margin-top: var(--space-5);
}

/* Ilustración 1: dashboard */
.art-dash {
  display: flex;
  align-items: center;
  gap: 6%;
  width: calc(100% - 24px);
  height: calc(100% - 20px);
}

.art-dash__side {
  display: flex;
  flex: 0 0 20%;
  flex-direction: column;
  gap: 7%;
  width: 20%;
  height: 100%;
  padding: 6% 4%;
  background: var(--color-art-sidebar);
}

.art-dash__item {
  width: 100%;
  height: 5%;
  min-height: 4px;
  border-radius: 22px;
  background: var(--color-art-sidebar-item);
}

.art-dash__item.is-on {
  background: var(--text-accent);
}

.art-dash__chart-area {
  display: flex;
  flex: 0 0 68%;
  flex-direction: column;
  justify-content: center;
  gap: 18%;
  min-width: 0;
  height: 100%;
}

.art-dash__head {
  width: 65%;
  height: 5%;
  min-height: 4px;
  border-radius: 22px;
  background: var(--color-art-detail);
}

.art-dash__chart {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4%;
  width: 100%;
  height: 50%;
  padding: 0 4% 6%;
  border-radius: 12px;
  background: var(--bg-page);
}

.bar {
  flex: 0 0 15%;
  border-radius: 5px;
  background: var(--text-on-gradient-subtle);
}

.bar--1,
.bar--3,
.bar--5 {
  height: 38%;
}

.bar--2 {
  height: 52%;
}

.bar--4 {
  height: 70%;
  background: var(--text-accent);
}

/* Ilustración 2: móvil */
.art-mobile {
  position: absolute;
  left: 50%;
  top: 26%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13%;
  width: 34%;
  height: 126%;
  padding: 7% 0;
  background: var(--bg-page);
  border: 7px solid var(--color-art-mobile-border);
  border-radius: 16px;
}

.art-mobile__notch {
  width: 36%;
  height: 5%;
  min-height: 6px;
  border-radius: 18px;
  background: var(--color-art-detail);
}

.art-mobile__screen {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 74%;
  height: 45%;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
}

.screen-block {
  flex: 0 0 32%;
  width: 100%;
  border-radius: 5px;
}

.screen-block--soft {
  background: var(--text-on-gradient-subtle);
  border: 1px solid var(--text-accent);
}

.screen-block--grey {
  background: var(--color-art-screen-block);
}

.screen-block--accent {
  background: var(--text-accent);
}

/* Ilustración 3: navegador */
.art-browser {
  position: absolute;
  left: 50%;
  top: 28%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 78%;
  height: 110%;
  background: var(--bg-page);
  border: 1px solid var(--color-art-browser-border);
  border-radius: 6px;
  overflow: hidden;
}

.art-browser__bar {
  padding: 4% 4%;
  background: var(--color-art-browser-bar);
}

.art-browser__bar img {
  width: 33px;
  height: 9px;
}

.art-browser__grid {
  display: flex;
  gap: 5%;
  width: 90%;
  height: 50%;
  margin-inline: auto;
}

.product {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 8%;
  height: 100%;
  min-width: 0;
}

.product__img {
  flex: 0 0 50%;
  border-radius: 5px;
  background: var(--color-art-product-bg);
}

.product__cap {
  flex: 0 0 10%;
  border-radius: 5px;
  background: var(--color-art-product-cap);
}

.product--on .product__img {
  background: var(--color-art-product-active);
}

.product--on .product__cap {
  background: var(--text-accent);
}

/* ==========================================================
   CUMPLE21
   ========================================================== */
.cumple21 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-16) var(--space-6) var(--space-20);
  background: var(--bg-section-alt);
  overflow: hidden;
}

.cumple21__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
  width: 100%;
  max-width: 760px;
  text-align: center;
}

.cumple21__head .section-title {
  font-size: clamp(36px, 4vw, 44px);
  line-height: 1.12;
}

.cumple21__lead {
  max-width: 720px;
  color: var(--text-secondary);
  font-size: var(--size-l);
  line-height: var(--lh-2xl);
}

.cumple21__showcase {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(1400px, 100%);
  aspect-ratio: 1211 / 732;
  margin-top: -3%;
  isolation: isolate;
}

.cumple21__rings {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 42%;
  width: min(58%, 580px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 2px solid var(--color-cumple-rings);
  border-radius: 50%;
}

.cumple21__rings::before {
  position: absolute;
  inset: 8%;
  border: 2px solid var(--color-cumple-rings);
  border-radius: inherit;
  content: "";
}

.cumple21__glow {
  position: absolute;
  z-index: -2;
  left: 36%;
  top: 54%;
  width: 62%;
  height: 78%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(var(--rgb-cumple-blue), 0.6), rgba(var(--rgb-cumple-blue), 0.22) 38%, rgba(var(--rgb-cumple-blue), 0) 70%);
  filter: blur(12px);
}

@media (prefers-reduced-motion: no-preference) {
  .cumple21__rings {
    border: 0;
  }

  .cumple21__rings::before {
    display: none;
  }

  .cumple21__rings span {
    position: absolute;
    inset: 0;
    border: 2px solid var(--color-cumple-rings);
    border-radius: 50%;
    animation: cumple-rings-expand 12s ease-out infinite;
  }

  .cumple21__rings span:nth-child(2) {
    animation-delay: -3s;
  }

  .cumple21__rings span:nth-child(3) {
    animation-delay: -6s;
  }

  .cumple21__rings span:nth-child(4) {
    animation-delay: -9s;
  }
}

@keyframes cumple-rings-expand {
  0% {
    scale: 0;
    opacity: 0;
  }

  15% {
    opacity: 1;
  }

  65% {
    opacity: 0.85;
  }

  100% {
    scale: 0.9;
    opacity: 0;
  }
}

.cumple21__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cumple21 .btn--primary::before {
  background: var(--color-black);
}

.cumple21 .btn--primary {
  --sweep-bg: var(--icon-web);
  background: var(--sweep-bg);
  color: var(--text-inverse);

}

.cumple21 .btn--primary:hover {
  box-shadow: 0 10px 28px rgba(var(--rgb-web-orange), 0.34);
  filter: brightness(1.08);

}

.cumple21__feature {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 245px;
  padding: 14px 28px 14px 30px;
  border: 1px solid var(--color-card-outline);
  border-radius: 100px;
  background: rgba(var(--rgb-white), 0.82);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 10px rgba(var(--rgb-black), 0.04);
}

.cumple21__feature--evidence {
  top: 14%;
  left: 6.4%;
}

.cumple21__feature--compliance {
  top: 36%;
  right: 3.3%;
}

.cumple21__feature--requests {
  right: 14%;
  bottom: 13%;
}

.cumple21__feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--color-cumple-icon-bg-start), var(--color-cumple-icon-bg-end));
  color: var(--color-cumple-icon);
}

.cumple21__feature strong,
.cumple21__feature small {
  display: block;
}

.cumple21__feature strong {
  font-size: var(--size-m);
  line-height: 1.3;
}

.cumple21__feature small {
  margin-top: 2px;
  color: var(--text-secondary);
  font-size: var(--size-s);
  line-height: 1.3;
}

.cumple21__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-5);
  min-width: 245px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 100px;
  background: var(--text-primary);
  color: var(--text-inverse);
  font-size: 14px;
  font-weight: var(--weight-medium);
  transition: background-color 180ms ease, transform 180ms ease;
}

.cumple21__cta span {
  font-size: 22px;
  line-height: 1;
}

.cumple21__cta:hover {
  transform: translateY(-2px);
  background: var(--text-accent);
}

.cumple21__cta:focus-visible {
  outline: 3px solid rgba(var(--rgb-accent), 0.35);
  outline-offset: 3px;
}

/* ==========================================================
   TECNOLOGÍAS
   ========================================================== */
.tecnologias {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-11);
  padding-block: var(--space-32);
  padding-bottom: var(--space-16);
  background: var(--bg-page);
  overflow: hidden;
}

.tecnologias .section-title {
  text-align: center;
}

.tech {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-8);
  width: 100%;
}

.tech__row {
  width: 100%;
  overflow: hidden;
}

.tech__track {
  display: flex;
  width: max-content;
  animation: tech-slide-left 58s linear infinite;
  will-change: transform;
}

.tech__row--end .tech__track {
  animation-name: tech-slide-right;
  animation-duration: 64s;
}

.animations-paused .hero__orbs,
.animations-paused .hero__actions .btn--primary,
.animations-paused .hero__actions .btn__arrow,
.animations-paused .hero__title-prefix.is-typing::after,
.animations-paused .hero__title-word.is-typing::after,
.animations-paused .hero__title-suffix.is-typing::after,
.animations-paused .mock__card img,
.animations-paused .colab__track,
.animations-paused .cumple21__rings span,
.animations-paused .tech__track {
  animation-play-state: paused;
}

.tech__group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: var(--space-20);
  padding-right: var(--space-20);
  opacity: 0.53;
}

.tech__row img {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  object-fit: contain;
}

@keyframes tech-slide-left {
  from {
    transform: translateX(calc(50vw - 25%));
  }

  to {
    transform: translateX(calc(50vw - 75%));
  }
}

@keyframes tech-slide-right {
  from {
    transform: translateX(calc(50vw - 75%));
  }

  to {
    transform: translateX(calc(50vw - 25%));
  }
}

/* ==========================================================
   ¿POR QUÉ TDEI?
   ========================================================== */
.porque {
  padding: var(--space-16) var(--space-20) var(--space-32);
  background: var(--bg-page);
}

.porque__box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1920px;
  margin-inline: auto;
  padding-block: var(--space-40);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: radial-gradient(2001px 668px at 47.8% 668px,
      var(--bg-page) 0%, var(--color-why-gradient-1) 13.6%, var(--color-why-gradient-2) 27.2%, var(--color-why-gradient-3) 34%, var(--color-why-gradient-4) 40.7%, var(--color-why-gradient-5) 47.5%,
      var(--color-orange) 54.3%, var(--color-why-gradient-6) 65.7%, var(--color-why-gradient-7) 77.2%, var(--color-why-gradient-8) 82.9%, var(--color-why-gradient-9) 88.6%,
      var(--color-why-gradient-10) 94.3%, var(--color-why-gradient-11) 97.1%, var(--color-black) 100%);
}

.porque__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11.5px;
  width: min(100%, 846px);
  min-width: 0;
  color: var(--text-inverse);
  text-align: center;
}

.porque__title {
  width: 100%;
  font-size: var(--size-8xl);
  line-height: var(--lh-9xl);
  font-weight: var(--weight-bold);
}

.porque__text {
  width: 100%;
  font-size: var(--size-2xl);
  line-height: var(--lh-2xl);
}

/* ==========================================================
   PROCESO
   ========================================================== */
.proceso {
  display: flex;
  width: 100%;
  max-width: 100%;
  padding: var(--space-36) var(--space-36);
  background: linear-gradient(229.8deg, var(--color-black) 36.2%, var(--color-process-gradient) 103.2%);
  color: var(--text-inverse);
  overflow: hidden;
}

.proceso__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-7);
  width: 100%;
  max-width: 1582px;
  margin-inline: auto;
}

.proceso__lead {
  width: 667px;
  max-width: 100%;
  font-size: var(--size-l);
  line-height: var(--lh-2xl);
}

.steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.step {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  width: 291px;
  height: 367px;
  padding: var(--space-8) var(--space-6);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1), border-color 650ms ease, box-shadow 650ms ease;
}

.step:hover,
.step:focus-within {
  transform: translateY(-3px);
  border-color: rgba(var(--rgb-white), 0.32);
  box-shadow: 0 14px 30px rgba(var(--rgb-black), 0.24);
}

.step--final:hover,
.step--final:focus-within {
  box-shadow: 0 14px 30px rgba(var(--rgb-black), 0.24);
}

.step__num {
  font-size: var(--size-6xl);
  line-height: 56px;
  color: var(--text-accent);
}

.step__body {
  display: flex;
  flex-direction: column;
  gap: 25px;
  flex: 1;
  font-size: var(--size-l);
}

.step__title {
  font-weight: var(--weight-bold);
  line-height: var(--lh-2xl);
  color: var(--text-inverse);
}

.step__text {
  line-height: var(--lh-l);
  color: var(--text-muted);
}

.step__deliverable {
  font-size: var(--size-s);
  line-height: var(--lh-xl);
  color: var(--text-muted);
}

.step--final {
  border-color: var(--border-default-2);
  box-shadow: var(--shadow-card);
  background: linear-gradient(180deg, var(--color-black) 0%, var(--color-orange) 206.9%);
}

.steps__sep {
  width: 22px;
  height: auto;
  flex-shrink: 0;
}

/* ==========================================================
   CONTACTO
   ========================================================== */
.contacto {
  padding: var(--space-32) var(--space-36) var(--space-20);
  border-radius: var(--radius-sm);
}

.contacto__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-10);
  width: 100%;
  max-width: 1582px;
  margin-inline: auto;
}

.contacto__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
}

.contacto__intro {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.contacto__intro .section-title {
  width: 483px;
  max-width: 100%;
}

.contacto__intro p {
  width: 582px;
  max-width: 100%;
  font-size: var(--size-l);
  line-height: var(--lh-2xl);
  color: var(--text-secondary);
}

.btn-whatsapp {
  --sweep-bg: var(--button-whatsapp);
  display: inline-flex;
  align-items: center;
  gap: var(--space-6);
  align-self: flex-start;
  padding: var(--space-4) var(--space-16);
  background: var(--sweep-bg);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-whatsapp);
  font-size: var(--size-l);
  line-height: var(--lh-2xl);
  color: var(--card-bg);
}

.btn-whatsapp::before {
  background: var(--button-whatsapp);
}

.form__submit::before {
  background: var(--icon-web);
}

.btn-whatsapp:hover {
  background: var(--color-whatsapp-hover);
  filter: none;
  box-shadow: var(--shadow-whatsapp-hover);
}

.btn-whatsapp img {
  width: 32px;
  height: 32px;
}

.contacto__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.contacto__item {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  font-size: var(--size-l);
  line-height: var(--lh-2xl);
}

.contacto__item img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.contacto__item img[src$="location.svg"] {
  width: 18px;
  height: 24px;
}

.form {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 700px;
  max-width: 100%;
  min-width: 0;
  height: 937px;
  padding: var(--space-14) var(--space-10);
  background: var(--card-bg);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-form);
}

.form__honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__status {
  color: var(--text-primary);
  font-size: var(--size-m);
  line-height: var(--lh-xl);
}

.form__submit:disabled {
  cursor: wait;
  opacity: 0.7;
}

.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.field label {
  font-size: var(--size-l);
  line-height: var(--lh-2xl);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: var(--space-5) var(--space-4);
  background: var(--card-border);
  border-radius: var(--radius-xl);
  font-size: var(--size-l);
  line-height: var(--lh-2xl);
  transition: box-shadow 0.2s;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-muted);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  box-shadow: 0 0 0 2px var(--text-accent);
}

.field select {
  appearance: none;
  cursor: pointer;
  background-image: url("assets/arrow5.svg");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  background-size: 8px 15px;
}

.field textarea {
  height: 256px;
  padding: var(--space-4);
  resize: none;
}

.form__submit {
  --sweep-bg: var(--color-form-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 33px;
  width: 100%;
  padding: var(--space-4) var(--space-16);
  background: var(--sweep-bg);
  border-radius: var(--radius-xl);
  font-size: var(--size-l);
  line-height: var(--lh-2xl);
  font-weight: var(--weight-bold);
  color: var(--text-inverse);
}

.form__submit:hover {
  filter: brightness(1.08);
  box-shadow: 0 10px 28px rgba(var(--rgb-web-orange), 0.34);
}

.form__submit img {
  width: 24px;
  height: 24px;
}

/* ==========================================================
   FOOTER
   ========================================================== */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-16);
  padding: var(--space-32) max(var(--space-36), calc((100% - 1920px) / 2)) var(--space-16);
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1582px;
  margin-inline: auto;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 21px;
  width: 344px;
}

.footer__logo {
  width: 209px;
  height: 55px;
  object-fit: cover;
}

.footer__brand p {
  margin-top: var(--space-4);
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social a {
  --social-brand: var(--text-primary);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--social-brand);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.footer__social a:nth-child(2) {
  --social-brand: var(--color-linkedin);
}

.footer__social a:nth-child(3) {
  --social-brand: linear-gradient(135deg, var(--color-instagram-purple), var(--color-instagram-red) 55%, var(--color-instagram-yellow));
}

.footer__social a::before {
  position: absolute;
  z-index: 1;
  inset: 0 auto 0 -10%;
  width: 120%;
  border-radius: inherit;
  background: var(--bg-page);
  content: "";
  transform: skew(25deg);
  transition: transform 420ms cubic-bezier(0.3, 1, 0.8, 1);
}

.footer__social a:hover,
.footer__social a:focus-visible {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 8px 20px rgba(var(--rgb-text), 0.2);
}

.footer__social a:hover::before,
.footer__social a:focus-visible::before {
  transform: translateX(100%) skew(25deg);
}

.footer__social a:focus-visible {
  outline: 2px solid var(--text-accent);
  outline-offset: 3px;
}

.footer__social img {
  position: relative;
  z-index: 2;
  width: 35px;
  height: 35px;
  transition: filter 220ms ease;
}

.footer__social a:hover img,
.footer__social a:focus-visible img {
  filter: brightness(0) invert(1);
}

.footer__cols {
  display: flex;
  justify-content: space-between;
  width: 661px;
  max-width: 100%;
  font-size: var(--size-s);
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 23px;
  padding-block: 1px;
  width: 166px;
}

.footer__col--sm {
  width: 117px;
}

.footer__col h4 {
  font-weight: var(--weight-regular);
  color: var(--text-secondary);
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding-block: 1px;
}

.footer__col a:hover {
  color: var(--text-accent);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1582px;
  margin-inline: auto;
  font-size: var(--size-s);
}

.footer__legal {
  display: flex;
  gap: var(--space-12);
}

/* Aparición progresiva al entrar en pantalla */
.has-scroll-reveal [data-scroll-reveal] {
  opacity: 0;
  translate: 0 36px;
  transition: opacity 1200ms ease, translate 1200ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.has-scroll-reveal [data-scroll-reveal].is-revealed {
  opacity: 1;
  translate: 0 0;
}

.card:nth-child(2) {
  --reveal-delay: 300ms;
}

.card:nth-child(3) {
  --reveal-delay: 600ms;
}

.card:nth-child(4) {
  --reveal-delay: 900ms;
}

.card:nth-child(5) {
  --reveal-delay: 1200ms;
}

.project:nth-child(2) {
  --reveal-delay: 350ms;
}

.project:nth-child(3) {
  --reveal-delay: 700ms;
}

.step:nth-of-type(2) {
  --reveal-delay: 300ms;
}

.step:nth-of-type(3) {
  --reveal-delay: 600ms;
}

.step:nth-of-type(4) {
  --reveal-delay: 900ms;
}

.step:nth-of-type(5) {
  --reveal-delay: 1200ms;
}

.footer__brand>div:first-child> :nth-child(2) {
  --reveal-delay: 300ms;
}

.footer__social a:nth-child(2),
.footer__col> :nth-child(2),
.footer__bottom> :nth-child(2) {
  --reveal-delay: 300ms;
}

.footer__social a:nth-child(3),
.footer__col> :nth-child(3) {
  --reveal-delay: 600ms;
}

.footer__col> :nth-child(4) {
  --reveal-delay: 900ms;
}

.footer__col> :nth-child(5) {
  --reveal-delay: 1200ms;
}

.footer__col> :nth-child(6) {
  --reveal-delay: 1500ms;
}

.porque__content> :nth-child(2),
.contacto__intro> :nth-child(2) {
  --reveal-delay: 300ms;
}

.porque__content> :nth-child(3),
.contacto__intro> :nth-child(3) {
  --reveal-delay: 600ms;
}

.contacto__info>.btn-whatsapp {
  --reveal-delay: 300ms;
}

.contacto__item:nth-child(2) {
  --reveal-delay: 300ms;
}

.form .field:nth-child(2) {
  --reveal-delay: 300ms;
}

.form .field:nth-child(3) {
  --reveal-delay: 600ms;
}

.form .field:nth-child(4) {
  --reveal-delay: 900ms;
}

.form__submit {
  --reveal-delay: 250ms;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .nav {
    transition: none;
  }

  .nav>* {
    animation: none;
  }

  .nav__lang {
    animation: none;
  }

  .nav__lang-menu {
    transition: none;
  }

  .nav__menu-toggle span,
  .nav__links,
  .nav__links a {
    transition: none;
  }

  .hero__title-prefix.is-typing::after,
  .hero__title-word.is-typing::after,
  .hero__title-suffix.is-typing::after {
    animation: none;
  }

  .hero__orbs,
  .hero__orbs img,
  .hero__actions .btn--primary,
  .hero__actions .btn--primary .btn__arrow {
    animation: none;
  }

  .mock__main>*,
  .mock__card img {
    animation: none;
  }

  .colab__track,
  .tech__track,
  .tech__row--end .tech__track {
    animation: none;
  }

  .hero__actions .btn--primary::before,
  .button-sweep::before,
  .footer__social a::before {
    transition: none;
  }

  .project,
  .step,
  .footer__social a {
    transition: none;
  }

  .soluciones__tab,
  .soluciones__cta,
  .soluciones__panel,
  .soluciones__arrow,
  .soluciones__dashboard,
  .card {
    transition: none;
  }

  .mock__card img {
    animation: none;
  }

  .has-scroll-reveal [data-scroll-reveal] {
    opacity: 1;
    translate: none;
    transition: none;
  }
}

/* ==========================================================
   RESPONSIVE (el diseño de Figma es de 1920px de ancho)
   ========================================================== */
@media (max-width: 1500px) {

  .servicios,
  .proceso,
  .contacto,
  .footer {
    padding-inline: var(--space-20);
  }

  .nav {
    --nav-content-width: calc(100% - 160px);
  }

  .hero__mock,
  .hero__orbs {
    left: auto;
    right: -120px;
  }

  .steps {
    flex-wrap: wrap;
    gap: var(--space-5);
    justify-content: center;
  }

  .steps__sep {
    display: none;
  }
}

@media (max-width: 1300px) {
  .hero {
    height: auto;
    min-height: 780px;
    padding-top: 140px;
  }

  .hero__bg {
    top: 0;
    height: 100%;
    background: radial-gradient(190% 145% at 50% -20%,
        var(--color-hero-dark) 0%, var(--color-hero-gradient-1) 38%, var(--color-hero-gradient-2) 49%, var(--color-hero-gradient-4) 65%,
        var(--color-orange) 78%, var(--color-hero-gradient-12) 94%, var(--bg-page) 100%);
  }

  .hero__fade {
    top: auto;
    bottom: -1px;
    height: 96px;
    background: linear-gradient(180deg, rgba(var(--rgb-white), 0) 0%, var(--bg-page) 100%);
  }

  .hero__content {
    position: relative;
    left: 0;
    top: 0;
    transform: none;
    width: 100%;
    max-width: none;
    padding: 0 var(--space-6) var(--space-8);
  }

  .hero__mock {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: min(699px, calc(100% - 40px));
    height: auto;
    aspect-ratio: 699 / 538;
    margin: 0 auto 40px;
    padding: 6.58%;
  }

  .mock__menu {
    width: 23.5%;
    height: 100%;
  }

  .mock__item {
    gap: 6%;
  }

  .mock__icon {
    width: 25%;
    height: auto;
    aspect-ratio: 1;
    border-radius: 25%;
  }

  .mock__line {
    width: 68%;
    height: 3.6%;
  }

  .mock__main {
    width: 64%;
    gap: 10%;
  }

  .mock__top {
    height: 8%;
  }

  .mock__top .mock__line {
    width: 41%;
  }

  .mock__avatar {
    width: 14%;
    height: 100%;
  }

  .mock__cards {
    gap: 3.3%;
  }

  .mock__card {
    width: 43.5%;
    height: auto;
    aspect-ratio: 1;
  }

  .mock__card img {
    width: 73%;
    height: auto;
  }

  .mock__card--plain {
    width: 52%;
  }

  .mock__rows {
    height: 34.5%;
  }

  .mock__rows .mock__line {
    width: 100%;
    height: 23.4%;
  }

  .contacto {
    min-height: 0;
    padding-block: var(--space-24);
  }

  .contacto__inner {
    flex-direction: column;
    gap: var(--space-12);
  }

  .contacto__info {
    width: 100%;
  }

  .contacto__intro .section-title,
  .contacto__intro p {
    width: 100%;
  }

  .form {
    width: 100%;
    height: auto;
    gap: var(--space-6);
  }
}

@media (max-width: 1100px) {
  .nav {
    transition: top 180ms ease, height 180ms ease, width 180ms ease,
      padding 180ms ease, background 180ms ease, box-shadow 180ms ease, border-radius 180ms ease;
  }

  .nav.is-scrolled::before {
    background: rgba(var(--rgb-warm-dark), 0.58);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }

  .nav {
    --nav-content-width: calc(100% - 48px);
    padding-inline: 0;
    justify-content: flex-start;
    gap: var(--space-4);
  }

  .nav__left {
    display: contents;
  }

  .nav__left>a {
    position: relative;
    z-index: 2;
    order: 1;
  }

  .nav__language {
    order: 2;
    margin-left: auto;
  }

  .nav__menu-toggle {
    order: 3;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px 7px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--text-inverse);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .nav__menu-toggle:focus-visible {
    outline: 2px solid rgba(var(--rgb-white), 0.7);
    outline-offset: 2px;
    border-radius: 6px;
  }

  .nav__menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1), opacity 180ms ease;
  }

  .nav__menu-toggle span:nth-child(2) {
    width: 72%;
  }

  .nav.is-menu-open .nav__menu-toggle span:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .nav.is-menu-open .nav__menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav.is-menu-open .nav__menu-toggle span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav__links {
    position: absolute;
    z-index: 1;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    height: auto;
    padding: 14px;
    overflow: hidden;
    border: 1px solid rgba(var(--rgb-white), 0.12);
    border-radius: 24px;
    background:
      radial-gradient(ellipse at 8% 0%, rgba(var(--rgb-white), 0.07), transparent 42%),
      linear-gradient(115deg, rgba(var(--rgb-white), 0.04), transparent 38%, rgba(var(--rgb-white), 0.02) 72%, rgba(var(--rgb-orange), 0.05)),
      rgba(var(--rgb-warm-dark), 0.48);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 14px 40px rgba(var(--rgb-brown-dark), 0.16), inset 0 1px rgba(var(--rgb-white), 0.06);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top center;
    transition: opacity 180ms ease, transform 220ms ease, visibility 0s linear 220ms;
  }

  .nav.is-menu-open .nav__links {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0s;
  }

  .nav__links a {
    padding: 13px 14px;
    border-radius: 12px;
    color: rgba(var(--rgb-white), 0.76);
    font-size: 17px;
    opacity: 0;
    transform: translateY(8px);
    transition: color 180ms ease, background 180ms ease, opacity 300ms ease, transform 360ms ease;
  }

  .nav.is-menu-open .nav__links a {
    opacity: 1;
    transform: translateY(0);
  }

  .nav.is-menu-open .nav__links a:nth-child(2) {
    transition-delay: 40ms;
  }

  .nav.is-menu-open .nav__links a:nth-child(3) {
    transition-delay: 80ms;
  }

  .nav.is-menu-open .nav__links a:nth-child(4) {
    transition-delay: 120ms;
  }

  .nav.is-menu-open .nav__links a:nth-child(5) {
    transition-delay: 160ms;
  }

  .nav.is-menu-open .nav__links a:nth-child(6) {
    transition-delay: 200ms;
  }

  .nav__links a:hover,
  .nav__links a:focus-visible,
  .nav__links a.is-active {
    outline: none;
    background: rgba(var(--rgb-white), 0.12);
    color: var(--text-inverse);
  }

  .hero__texture {
    opacity: 0.3;
    mix-blend-mode: screen;
    background-image:
      radial-gradient(ellipse at center, rgba(var(--rgb-purple), 0.28), transparent 70%),
      linear-gradient(rgba(var(--rgb-white), 0.12) 1px, transparent 1px),
      linear-gradient(90deg, rgba(var(--rgb-white), 0.12) 1px, transparent 1px);
  }

  .hero__text {
    width: 100%;
    max-width: 640px;
  }

  .hero__title {
    font-size: clamp(36px, 5vw, 44px);
    line-height: 1.14;
  }

  .hero__subtitle {
    font-size: clamp(18px, 2.5vw, 22px);
    line-height: 1.4;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
    width: 100%;
    height: auto;
  }

  .hero__orbs {
    left: auto;
    right: -18vw;
    top: 60px;
    width: min(75vw, 760px);
    height: auto;
    aspect-ratio: 1;
    opacity: 0.8;
    z-index: 1;
  }

  .servicios,
  .proceso,
  .contacto,
  .footer {
    padding-inline: var(--space-6);
  }

  .servicios__head {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-6);
  }

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

  .servicios__head .section-title,
  .servicios__lead {
    width: 100%;
  }

  .proyectos {
    padding-inline: var(--space-6);
  }

  .soluciones__carousel {
    width: calc(100% - 112px);
  }

  .porque {
    padding-inline: var(--space-6);
  }

  .porque__box {
    padding: var(--space-24) var(--space-6);
  }

  .porque__title {
    font-size: clamp(32px, 4.5vw, 36px);
    line-height: 1.2;
  }

  .porque__text {
    font-size: var(--size-l);
    line-height: var(--lh-2xl);
  }

  .proceso {
    padding-block: var(--space-24);
  }

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

  .step {
    width: 100%;
    height: auto;
    min-height: 330px;
  }

  .step--final {
    grid-column: 1 / -1;
  }

  .contacto__info {
    gap: var(--space-10);
  }

  .form {
    padding: var(--space-8) var(--space-6);
  }

  .field textarea {
    min-height: 180px;
  }

  .footer {
    padding-block: var(--space-24) var(--space-8);
  }

  .footer__top,
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-10);
  }

  .footer__brand {
    width: 100%;
    max-width: 420px;
  }

  .footer__cols {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: var(--space-8);
  }

  .footer__bottom {
    font-size: 12px;
  }

  .footer__legal {
    flex-wrap: wrap;
    gap: var(--space-6);
  }
}

@media (min-width: 641px) and (max-width: 1300px) {
  .proyectos {
    padding-inline: clamp(24px, 4vw, 48px);
  }

  .hero__content {
    position: absolute;
    top: 50%;
    left: clamp(24px, 4vw, 64px);
    width: 43%;
    max-width: none;
    padding: 0;
    transform: translateY(-50%);
  }

  .hero__text {
    width: 100%;
    max-width: none;
  }

  .hero__title {
    font-size: clamp(34px, 4.2vw, 44px);
    line-height: 1.14;
  }

  .hero__subtitle {
    font-size: clamp(17px, 1.8vw, 21px);
  }

  .hero__orbs {
    top: -6px;
    left: 50%;
    right: auto;
    width: 1106px;
    height: 1106px;
  }

  .hero__mock {
    position: absolute;
    top: 50%;
    right: clamp(24px, 4vw, 64px);
    left: auto;
    width: 46%;
    height: auto;
    aspect-ratio: 699 / 538;
    margin: 0;
    padding: 3%;
    transform: translateY(-50%);
  }

  .steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-6);
  }

  .step {
    width: 100%;
    min-width: 0;
    height: auto;
    min-height: 330px;
  }

  .proyectos__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-6);
  }

  .project {
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  .servicios__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: var(--space-5);
  }

  .servicios__grid .card {
    grid-column: span 2;
    min-width: 0;
  }

  .servicios__grid .card:nth-child(5) {
    grid-column: span 4;
  }
}

@media (min-width: 641px) and (max-width: 900px) {

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

  .soluciones__visual {
    min-height: 300px;
  }

  .soluciones__visual-icon {
    width: 190px;
    padding: 40px;
  }

  .soluciones__content {
    padding: var(--space-8);
  }
}

@media (max-width: 1100px) {
  .soluciones__carousel {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    width: calc(100vw - 120px);
  }

  .soluciones__controls {
    position: static;
    display: flex;
    justify-content: center;
    gap: var(--space-3);
  }

  .soluciones__arrow {
    position: static;
    transform: none;
  }
}

@media (max-width: 900px) {
  .cumple21 {
    padding-block: var(--space-14);
  }

  .cumple21__showcase {
    width: min(760px, 100%);
  }

  .cumple21__rings {
    width: min(48%, 580px);
  }


  .cumple21__feature {
    position: relative;
    inset: auto;
    min-width: 0;
    align-self: stretch;
    gap: var(--space-2);
    padding: var(--space-3);
    border-radius: 14px;
  }

  .cumple21__feature strong {
    font-size: 14px;
  }

  .cumple21__feature small {
    font-size: 12px;
  }
}

@media (min-width: 641px) {
  .contacto__info>.btn-whatsapp {
    margin-top: calc(-1 * var(--space-12));
  }
}

@media (min-width: 641px) and (max-width: 1100px) {
  .hero__orbs {
    top: 70%;
    right: -35vw;
    left: auto;
    width: min(75vw, 760px);
    height: auto;
    aspect-ratio: 1;
  }

  .hero__fade {
    z-index: 2;
    height: 180px;
  }
}

@media (min-width: 1000px) and (max-width: 1300px) {
  .hero__actions {
    flex-wrap: nowrap;
    gap: var(--space-3);
  }

  .hero__actions .btn {
    padding-inline: var(--space-5);
    white-space: nowrap;
  }

  .hero__actions .btn--primary {
    gap: var(--space-2);
  }
}

@media (min-width: 1101px) and (max-width: 1300px) {
  .hero__orbs {
    top: -6px;
    right: -500px;
    left: auto;
    width: 850px;
    height: 850px;
  }
}

@media (max-width: 640px) {
  :root {
    --mobile-type-display: clamp(32px, 8.5vw, 38px);
    --mobile-type-heading: 30px;
    --mobile-type-subheading: 24px;
    --mobile-type-title: 20px;
    --mobile-type-body: 16px;
    --mobile-type-caption: 14px;
  }

  body {
    font-size: var(--mobile-type-body);
  }

  .section-title {
    font-size: var(--mobile-type-heading);
    line-height: 1.2;
  }

  .nav {
    --nav-content-width: calc(100% - 40px);
    height: 76px;
    padding-inline: 0;
  }

  .nav.is-scrolled {
    --nav-scroll-padding: var(--space-3);
    top: 10px;
    height: 62px;
    border-radius: 20px;
  }

  .nav__logo {
    width: 105px;
    height: auto;
  }

  .nav__lang {
    height: 36px;
    padding: 0 var(--space-3);
  }

  .hero {
    min-height: 680px;
    padding-top: 120px;
    background: var(--bg-page);
  }

  .hero__bg {
    background: radial-gradient(190% 165% at 50% -20%,
        var(--color-hero-dark) 0%, var(--color-hero-gradient-1) 38%, var(--color-hero-gradient-2) 49%, var(--color-hero-gradient-4) 65%,
        var(--color-orange) 86%, var(--color-hero-gradient-12) 105%, var(--bg-page) 115%);
  }

  .hero__texture {
    opacity: 0.16;
  }

  .hero__fade {
    z-index: 2;
    height: 72px;
  }

  .hero__orbs {
    --orbs-visible-height: min(50vw, 230px);
    top: calc(65% - var(--orbs-visible-height) + 12px);
    right: -50vw;
    width: min(120vw, 700px);
  }

  .hero__content {
    gap: var(--space-8);
    padding: 0 var(--space-5) var(--space-6);
  }

  .hero__title {
    font-size: var(--mobile-type-display);
    line-height: 1.12;
  }

  .hero__subtitle {
    font-size: var(--mobile-type-body);
    line-height: 1.5;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
    min-height: 64px;
    padding-inline: var(--space-5);
  }

  .hero__mock {
    margin-bottom: min(50vw, 230px);
  }

  .btn--primary {
    gap: var(--space-4);
  }

  .colab {
    gap: var(--space-6);
    padding-block: var(--space-14);
    padding-top: var(--space-8);
  }

  .colab__title {
    width: 100%;
    padding-inline: var(--space-5);
    font-size: var(--mobile-type-title);
    line-height: 1.4;
    text-align: center;
  }

  .colab__title-break {
    display: initial;
  }

  .colab__group {
    gap: var(--space-8);
    padding-right: var(--space-8);
  }

  .logo--familycard-azul {
    width: 130px;
    height: auto;
  }

  .logo--sochicri {
    width: 160px;
    height: auto;
  }

  .logo--image7 {
    width: 140px;
    height: auto;
  }

  .logo--ambipar {
    width: 145px;
    height: auto;
  }

  .servicios {
    gap: var(--space-8);
    padding: var(--space-16) var(--space-5);
  }

  .servicios__head {
    gap: var(--space-4);
  }

  .servicios__head .section-title {
    font-size: var(--mobile-type-heading);
    line-height: 1.2;
  }

  .servicios__lead {
    font-size: var(--mobile-type-body);
    line-height: 1.5;
  }

  .servicios__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-5);
  }

  .card {
    gap: var(--space-4);
    padding: var(--space-6);
  }

  .card__icon {
    width: 48px;
    height: 48px;
  }

  .card__icon img {
    width: 32px;
    height: 32px;
  }

  .card__body {
    gap: var(--space-4);
    font-size: var(--mobile-type-body);
    line-height: 1.5;
  }

  .proyectos {
    gap: var(--space-8);
    padding: var(--space-16) var(--space-5);
  }

  .soluciones__head {
    gap: var(--space-4);
  }

  .soluciones__head .section-title {
    font-size: var(--mobile-type-heading);
    line-height: 1.2;
  }

  .soluciones__head,
  .soluciones__lead {
    align-items: center;
    text-align: center;
  }

  .soluciones__lead {
    font-size: var(--mobile-type-body);
    line-height: 1.5;
  }

  .soluciones__tabs {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-2);
    overflow: visible;
    padding: 0;
  }

  .soluciones__tab {
    flex: 0 0 auto;
    padding-inline: 16px;
  }

  .soluciones__carousel {
    width: 100%;
  }


  .soluciones__panel {
    grid-template-columns: minmax(0, 1fr);
    border-radius: 16px;
  }

  .soluciones__visual {
    min-height: 0;
    padding: var(--space-5);
  }

  .soluciones__visual--dashboard {
    padding-block: var(--space-8);
  }

  .soluciones__browser {
    border-radius: 12px;
  }

  .soluciones__visual-icon {
    width: 140px;
    padding: 32px;
    border-radius: 20px;
  }

  .soluciones__content {
    gap: var(--space-4);
    padding: var(--space-6);
  }

  .soluciones__title {
    font-size: var(--mobile-type-title);
    line-height: 1.25;
  }

  .soluciones__description {
    font-size: var(--mobile-type-body);
    line-height: 1.55;
  }

  .soluciones__benefits {
    gap: var(--space-4);
    margin-top: var(--space-1);
    font-size: var(--mobile-type-body);
    line-height: 1.5;
  }

  .soluciones__benefits li {
    padding-left: 30px;
  }

  .soluciones__benefits li::before {
    top: 4px;
    width: 18px;
    height: 18px;
  }

  .soluciones__controls {
    display: flex;
  }

  .soluciones__number {
    display: none;
  }

  .soluciones__arrow {
    width: 52px;
    height: 52px;
  }

  .soluciones__cta {
    width: 100%;
    min-height: 52px;
    padding-inline: var(--space-2);
    font-size: var(--mobile-type-body);
  }

  .cumple21 {
    gap: var(--space-8);
    padding: var(--space-16) var(--space-5);
  }

  .cumple21__head {
    gap: var(--space-4);
  }

  .cumple21__head .section-title {
    font-size: var(--mobile-type-heading);
    line-height: 1.2;
  }

  .cumple21__lead {
    font-size: var(--mobile-type-body);
    line-height: 1.5;
  }

  .cumple21__showcase {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-3);
    width: 100%;
    aspect-ratio: auto;
    margin-top: 0;
  }

  .cumple21__image {
    grid-column: 1 / -1;
    width: 145%;
    max-width: none;
    margin-inline: -22.5%;
    height: auto;
    object-fit: contain;
  }

  .cumple21__rings {
    top: 20%;
    width: 76%;
  }

  .cumple21__glow {
    left: 50%;
    top: 30%;
    width: 100%;
    height: 35%;
  }


  .cumple21__feature {
    position: relative;
    inset: auto;
    min-width: 0;
    align-self: stretch;
    gap: var(--space-2);
    padding: var(--space-4);
    border-radius: 14px;
  }

  .cumple21__feature--requests {
    grid-column: 1 / -1;
  }

  .cumple21__feature-icon {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
  }

  .cumple21__feature strong {
    font-size: var(--mobile-type-body);
    line-height: 1.3;
  }

  .cumple21__feature small {
    font-size: var(--mobile-type-caption);
    line-height: 1.4;
  }

  .cumple21__cta {
    min-height: 46px;
  }

  .cumple21 > .btn--primary {
    align-self: stretch;
    width: 100%;
    min-height: 64px;
    justify-content: center;
  }

  .tecnologias {
    gap: var(--space-8);
    padding-block: var(--space-16) var(--space-8);
  }

  .tecnologias .section-header {
    padding-inline: var(--space-5);
  }

  .tecnologias .section-title {
    font-size: var(--mobile-type-heading);
    line-height: 1.2;
  }

  .tech {
    gap: var(--space-6);
  }

  .tech__group {
    gap: var(--space-10);
    padding-right: var(--space-10);
  }

  .tech__row img {
    width: 48px;
    height: 48px;
  }

  .tech__track {
    animation-duration: 35.5s;
  }

  .tech__row--end .tech__track {
    animation-duration: 39.1s;
  }

  .porque {
    padding: var(--space-8) var(--space-5) var(--space-10);
  }

  .porque__box {
    min-height: 510px;
    padding: var(--space-20) var(--space-6);
    background: linear-gradient(180deg, var(--color-black) 0%, var(--color-why-gradient-11) 14%, var(--color-why-gradient-9) 27%, var(--color-why-gradient-7) 40%,
        var(--color-orange) 62%, var(--color-why-gradient-4) 76%, var(--color-why-gradient-1) 100%);
  }

  .porque__content {
    gap: var(--space-5);
  }

  .porque__title {
    font-size: var(--mobile-type-heading);
    line-height: 1.2;
  }

  .porque__text {
    font-size: var(--mobile-type-body);
    line-height: 1.5;
  }

  .proceso {
    padding: var(--space-16) var(--space-5);
  }

  .proceso__inner {
    gap: var(--space-8);
  }

  .proceso__lead {
    font-size: var(--mobile-type-body);
    line-height: 1.5;
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-4);
  }

  .step {
    min-height: 0;
    gap: var(--space-4);
    padding: var(--space-6);
  }

  .step__num {
    font-size: 32px;
    line-height: 1.2;
  }

  .step__deliverable {
    font-size: var(--mobile-type-caption);
    line-height: 1.5;
  }

  .step__body {
    gap: var(--space-4);
    font-size: var(--mobile-type-body);
    line-height: 1.5;
  }

  .project__title,
  .step__title {
    font-size: var(--mobile-type-title);
    line-height: var(--lh-2xl);
    font-weight: var(--weight-bold);
  }

  .step__text {
    line-height: 1.5;
  }

  .contacto {
    padding: var(--space-16) var(--space-5);
  }

  .contacto__inner {
    gap: var(--space-8);
  }

  .contacto__info {
    gap: var(--space-8);
  }

  .contacto__info>.btn-whatsapp {
    margin-bottom: var(--space-12);
  }

  .contacto__intro {
    gap: var(--space-4);
  }

  .contacto__intro p,
  .contacto__item {
    font-size: var(--mobile-type-body);
    line-height: 1.5;
  }

  .btn-whatsapp {
    width: 100%;
    justify-content: center;
    gap: var(--space-4);
    padding: var(--space-5);
    font-size: var(--mobile-type-body);
  }

  .form {
    gap: var(--space-5);
    padding: var(--space-8) var(--space-5);
  }

  .field label,
  .field input,
  .field select,
  .field textarea,
  .form__submit {
    font-size: var(--mobile-type-body);
    line-height: 1.5;
  }

  .field input,
  .field select {
    padding-block: var(--space-4);
  }

  .field textarea {
    min-height: 150px;
  }

  .form__submit {
    gap: var(--space-4);
    padding-inline: var(--space-5);
  }

  .footer {
    gap: var(--space-10);
    padding: var(--space-16) var(--space-5) var(--space-6);
  }

  .footer__bottom {
    font-size: var(--mobile-type-caption);
    line-height: 1.5;
  }

  .footer__top {
    gap: var(--space-8);
  }

  .footer__brand {
    gap: var(--space-5);
  }

  .footer__logo {
    width: 180px;
    height: auto;
  }

  .footer__cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-8) var(--space-5);
    font-size: var(--mobile-type-caption);
    line-height: 1.5;
  }

  .footer__col,
  .footer__col--sm {
    width: auto;
    gap: var(--space-4);
  }

  .footer__col ul {
    gap: var(--space-3);
  }

  .footer__bottom {
    gap: var(--space-5);
  }

  .footer__legal {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-6);
    white-space: normal;
  }
}

/* En escritorio el formulario se adapta a la altura de la ventana para verse completo al navegar a #contacto */
@media (min-width: 1101px) {
  .form {
    height: clamp(600px, calc(100svh - 140px), 937px);
    padding-block: var(--space-10);
    gap: var(--space-4);
  }

  .form .field:has(textarea) {
    flex: 1 1 auto;
    min-height: 0;
  }

  .form .field textarea {
    flex: 1 1 auto;
    height: auto;
    min-height: 96px;
  }
}

/* ==========================================================
   MODAL DEL FORMULARIO
   ========================================================== */
.modal {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(440px, calc(100% - 40px));
  height: fit-content;
  padding: 0;
  border: 1px solid var(--color-card-outline);
  border-radius: var(--radius-sm);
  background: var(--bg-page);
  color: var(--text-primary);
  box-shadow: 0 30px 80px rgba(var(--rgb-black), 0.35);
}

.modal::backdrop {
  background: rgba(var(--rgb-black), 0.55);
  backdrop-filter: blur(4px);
}

.modal[open] {
  animation: modal-in 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }
}

.modal__box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-10) var(--space-8) var(--space-8);
  text-align: center;
}

.modal__icon {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(var(--rgb-accent), 0.1);
  border: 1px solid var(--text-accent);
}

.modal__icon::after {
  position: absolute;
  left: 24px;
  top: 14px;
  width: 12px;
  height: 24px;
  border-right: 3px solid var(--text-accent);
  border-bottom: 3px solid var(--text-accent);
  transform: rotate(45deg);
  content: "";
}

.modal[data-type="error"] .modal__icon::after {
  left: 29px;
  top: 16px;
  width: 0;
  height: 26px;
  border-right: 3px solid var(--text-accent);
  border-bottom: 0;
  transform: none;
  box-shadow: none;
}

.modal[data-type="error"] .modal__icon::before {
  position: absolute;
  left: 29px;
  top: 46px;
  width: 3px;
  height: 3px;
  background: var(--text-accent);
  content: "";
}

.modal__title {
  font-size: var(--size-2xl);
  line-height: 1.2;
  font-weight: var(--weight-bold);
}

.modal__text {
  font-size: var(--size-m);
  line-height: var(--lh-xl);
  color: var(--text-secondary);
}

.modal__close {
  width: 100%;
  min-height: 56px;
  margin-top: var(--space-4);
  border-radius: 96px;
  background: var(--icon-web);
  color: var(--text-inverse);
  font-size: var(--size-m);
  font-weight: var(--weight-bold);
  cursor: pointer;
  transition: filter 0.2s;
}

.modal__close:hover {
  filter: brightness(1.1);
}

.modal__close:focus-visible {
  outline: 2px solid var(--text-accent-strong);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .modal[open] {
    animation: none;
  }
}