/* ============================================================
   Nube4Web — Landing Page 2026
   Paleta: blanco · azul · negro · acentos cálidos
   ============================================================ */

/* ---------- Variables ---------- */
:root {
  /* Colores base con calidez */
  --blue: #0066FF;
  --blue-dark: #0050CC;
  --blue-light: #3D8BFF;
  --cyan: #00B4D8;
  --warm-white: #FAFAF8;
  --warm-gray-50: #F5F4F1;
  --warm-gray-100: #EBEAE6;
  --warm-gray-200: #D4D2CC;
  --warm-gray-400: #8A877F;
  --warm-gray-600: #5C5954;
  --warm-gray-800: #2E2C28;
  --ink: #0C0E14;
  --ink-soft: #161922;
  --white: #FFFFFF;

  /* Acento cálido para evitar frialdad */
  --warm-accent: #E8A838;
  --warm-glow: rgba(232, 168, 56, 0.12);

  /* Gradientes */
  --gradient-brand: linear-gradient(135deg, #0066FF 0%, #00B4D8 100%);
  --gradient-hero: linear-gradient(135deg, rgba(12, 14, 20, 0.92) 0%, rgba(12, 14, 20, 0.75) 50%, rgba(0, 102, 255, 0.25) 100%);
  --gradient-dark: linear-gradient(145deg, #0C0E14 0%, #1A1F2E 100%);
  --gradient-warm: linear-gradient(180deg, var(--warm-white) 0%, var(--warm-gray-50) 100%);

  /* Tipografía */
  --font-sans: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;

  /* Tamaños */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.75rem;
  --text-5xl: clamp(2.5rem, 5vw, 4rem);

  /* Espaciado */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;
  --space-3xl: 7rem;

  /* Layout */
  --container: 1240px;
  --gutter: 1.5rem;
  --header-h: 76px;

  /* Separadores diagonales entre secciones (╲: izq. alta → der. baja) */
  --slant: clamp(2rem, 4vw, 3.25rem);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(12, 14, 20, 0.04);
  --shadow-md: 0 8px 32px rgba(12, 14, 20, 0.08);
  --shadow-lg: 0 20px 60px rgba(12, 14, 20, 0.12);
  --shadow-blue: 0 12px 40px rgba(0, 102, 255, 0.2);
  --shadow-card: 0 4px 24px rgba(12, 14, 20, 0.06);

  /* Transiciones */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 0.3s var(--ease-out);
  --transition-slow: 0.7s var(--ease-out);

  /* Glass */
  --glass: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.35);
  --glass-dark: rgba(12, 14, 20, 0.65);

  /* Marca tipográfica (sin imágenes) */
  --wordmark-header: 1.0625rem;
  --wordmark-hero: clamp(1.75rem, 4vw, 2.5rem);
  --wordmark-footer: 1.125rem;
}

/* ---------- Wordmark (placeholder hasta elegir propuesta) ---------- */
.wordmark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.wordmark:hover {
  opacity: 0.88;
  color: inherit;
}

.wordmark__text {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.wordmark__four {
  color: var(--blue);
}

.wordmark--header .wordmark__text {
  font-size: var(--wordmark-header);
  color: var(--ink);
}

.header--hero .wordmark--header .wordmark__text {
  color: var(--white);
}

.header--hero .wordmark--header .wordmark__four {
  color: var(--blue);
}

.header--hero.header--scrolled .wordmark--header .wordmark__text {
  color: var(--ink);
}

.header--hero.header--scrolled .wordmark--header .wordmark__four {
  color: var(--blue);
}

.wordmark--footer {
  display: inline-flex;
  margin-bottom: var(--space-md);
}

.wordmark--footer .wordmark__text {
  font-size: var(--wordmark-footer);
  color: var(--white);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  overflow-x: clip;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--warm-gray-600);
  background: var(--warm-white);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--blue-dark);
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

address {
  font-style: normal;
}

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

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-sm);
  z-index: 10000;
  padding: var(--space-xs) var(--space-sm);
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.skip-link:focus {
  top: var(--space-sm);
  color: var(--white);
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* ---------- Utilidades ---------- */
.container {
  width: 100%;
  max-width: min(var(--container), 100%);
  margin-inline: auto;
  padding-inline: var(--gutter);
  box-sizing: border-box;
}

.section {
  padding-block: var(--space-3xl);
}

/* ---------- Transiciones diagonales reutilizables ---------- */
.slant-both,
.slant-top,
.slant-bottom {
  position: relative;
  z-index: 1;
  overflow: visible;
}

.slant-both::before,
.slant-both::after,
.slant-top::before,
.slant-bottom::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: var(--slant);
  background: inherit;
  pointer-events: none;
  z-index: 0;
}

.slant-both {
  margin-top: calc(-1 * var(--slant));
  margin-bottom: calc(-1 * var(--slant));
}

.slant-both::before,
.slant-top::before {
  top: calc(-1 * var(--slant));
  clip-path: polygon(0 0, 0 100%, 100% 100%);
}

.slant-both::after,
.slant-bottom::after {
  bottom: calc(-1 * var(--slant));
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.slant-top {
  margin-top: calc(-1 * var(--slant));
}

.slant-bottom {
  margin-bottom: calc(-1 * var(--slant));
}

.section__header {
  margin-bottom: var(--space-2xl);
}

.section__header--center {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: var(--space-2xl);
}

.section__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: var(--space-sm);
}

.section__label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 2px;
}

.section__header--center .section__label::before {
  display: none;
}

.section__title {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.section__title--light {
  color: var(--white);
}

.section__desc {
  margin-top: var(--space-md);
  font-size: var(--text-lg);
  color: var(--warm-gray-400);
  line-height: 1.75;
}

.glass {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9375rem 1.875rem;
  font-size: var(--text-base);
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--gradient-brand);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}

.btn--primary:hover {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(0, 102, 255, 0.35);
}

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 1.0625rem 2.25rem;
  font-size: var(--text-lg);
}

.btn--sm {
  padding: 0.625rem 1.25rem;
  font-size: var(--text-sm);
}

.btn--full {
  width: 100%;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-h);
  max-width: 100%;
  transition: background var(--transition), box-shadow var(--transition);
}

.header--scrolled {
  background: rgba(250, 250, 248, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
}

.header--hero .wordmark--header,
.header--hero .nav__link {
  color: var(--white);
}

.header--hero .nav__link:hover,
.header--hero .nav__link--active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.header--hero .nav-toggle__bar {
  background: var(--white);
}

.header--hero.header--scrolled .wordmark--header .wordmark__text {
  color: var(--ink);
}

.header--hero.header--scrolled .nav__link {
  color: var(--warm-gray-600);
}

.header--hero.header--scrolled .nav-toggle__bar {
  background: var(--ink);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  min-width: 0;
  max-width: 100%;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.125rem;
}

.nav__link {
  display: block;
  padding: 0.5rem 1rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--warm-gray-600);
  border-radius: var(--radius-full);
  transition: all 0.2s;
}

.nav__link:hover,
.nav__link--active {
  color: var(--blue);
  background: rgba(0, 102, 255, 0.07);
}

.nav__link--cta {
  background: var(--blue);
  color: var(--white) !important;
  margin-left: 0.5rem;
}

.nav__link--cta:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.nav__link--phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.nav__phone-icon {
  flex-shrink: 0;
  opacity: 0.95;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: var(--radius-sm);
}

.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-toggle--active .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle--active .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle--active .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  z-index: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slides {
  position: absolute;
  inset: 0;
  transform: scale(1.05);
  will-change: transform;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}

.hero__slide--active {
  opacity: 1;
}

.hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero__photo-shade {
  position: absolute;
  inset: 0;
  background: rgba(12, 14, 20, 0.7);
  pointer-events: none;
}

.hero__slide--network {
  background: #0c1828;
  overflow: hidden;
}

.hero.hero--network-bg .hero__overlay {
  background: rgba(0, 102, 255, 0.25);
}

.hero.hero--network-bg .hero__mesh {
  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, 64px 64px;
}

.hero__network-canvas {
  display: block;
  width: 100%;
  height: 100%;
  animation: hero-network-zoom 22s ease-in-out infinite alternate;
}

@keyframes hero-network-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

.hero__mesh {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, var(--warm-glow) 0%, transparent 50%),
    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: auto, 64px 64px, 64px 64px;
  opacity: 0.8;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin-inline: auto;
  padding-block: var(--space-2xl);
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__location {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  margin-bottom: var(--space-md);
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.62);
  letter-spacing: 0.01em;
}

.hero__location svg {
  flex-shrink: 0;
  opacity: 0.85;
}

.hero__title {
  font-size: clamp(2.75rem, 8vw, 4.25rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-md);
}

.hero__title-part {
  color: var(--white);
}

.hero__title-four {
  display: inline-block;
  color: var(--blue);
  font-size: 1.12em;
  letter-spacing: -0.04em;
  vertical-align: baseline;
}

.hero__title-text {
  display: inline;
}

.hero__title-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, var(--white) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__title-line {
  display: block;
  font-size: 0.72em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 0.25em;
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-size: clamp(1.0625rem, 2.2vw, 1.25rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
  max-width: 480px;
  margin-bottom: var(--space-lg);
  margin-inline: auto;
  letter-spacing: 0.01em;
}

.hero__services {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--space-lg);
  list-style: none;
  justify-content: center;
}

.hero__services li {
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-block: -4px;
}

.hero__services li a {
  display: block;
  padding: 0.4375rem 0.875rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.02em;
  transition: all var(--transition);
}

.hero__services li a:hover {
  background: rgba(0, 102, 255, 0.28);
  border-color: rgba(0, 102, 255, 0.45);
  color: var(--white);
  transform: translateY(-2px);
}

.hero__services li:hover {
  background: none;
  border-color: transparent;
  transform: none;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  justify-content: center;
}

.hero__contact {
  width: 100%;
  max-width: 380px;
  margin-inline: auto;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
}

.hero__contact-note {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.55;
  margin-bottom: var(--space-md);
}

.hero__contact-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  list-style: none;
}

.hero__contact-links li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-block: -6px;
}

.hero__contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

.hero__contact-link:hover {
  color: var(--white);
  opacity: 1;
}

.hero__contact-link--phone {
  font-size: var(--text-base);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.02em;
}

.hero__contact-link--phone:hover {
  color: var(--blue-light);
}

.hero__contact-link--whatsapp:hover {
  color: var(--blue-light);
}

.hero__contact-icon {
  flex-shrink: 0;
  font-size: 0.9375rem;
  line-height: 1;
  opacity: 0.88;
}

.hero__metrics {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero__metric {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.hero__metric strong {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--white);
}

.hero__metric span {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Hero visual frame */
.hero__visual {
  position: relative;
}

.hero__frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.hero__frame-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.hero__frame-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.3) 0%, transparent 70%);
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero__chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  border-radius: var(--radius-md);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-md);
  animation: floatChip 5s ease-in-out infinite;
}

.hero__chip--1 {
  top: 8%;
  right: -4%;
  animation-delay: 0s;
}

.hero__chip--2 {
  bottom: 28%;
  left: -6%;
  animation-delay: 1.5s;
}

.hero__chip--3 {
  bottom: 6%;
  right: 8%;
  animation-delay: 3s;
}

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

/* ---------- Four Solutions — Editorial premium ---------- */
@media (min-width: 901px) {
  .hero {
    min-height: auto;
    padding-bottom: var(--space-lg);
    -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--slant)), 0 100%);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--slant)), 0 100%);
  }

  .hero__inner {
    padding-block: var(--space-2xl) var(--space-sm);
  }

  .four {
    padding-top: var(--space-2xl);
  }

  /* Una sola diagonal: recortes complementarios; sin triángulo ::before duplicado */
  #cuatro.slant-both {
    -webkit-clip-path: polygon(0 var(--slant), 100% 0, 100% 100%, 0 100%);
    clip-path: polygon(0 var(--slant), 100% 0, 100% 100%, 0 100%);
  }

  #cuatro.slant-both::before {
    display: none;
  }
}

.four {
  padding: var(--space-3xl) 0;
  background: linear-gradient(165deg, #0a0c12 0%, #0c0e14 35%, #101522 70%, #0c0e14 100%);
}

/* Ambiente tecnológico sutil */
.four__ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.four__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.four__glow--1 {
  width: min(560px, 70vw);
  height: min(560px, 70vw);
  top: -8%;
  left: -12%;
  background: rgba(0, 102, 255, 0.1);
}

.four__glow--2 {
  width: min(480px, 60vw);
  height: min(480px, 60vw);
  bottom: -10%;
  right: -8%;
  background: rgba(0, 180, 216, 0.07);
}

.four__mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, black 15%, transparent 75%);
}

.four__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(61, 139, 255, 0.35) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.12;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 10%, transparent 70%);
}

.four__lines {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(118deg, transparent 48%, rgba(0, 102, 255, 0.04) 49%, rgba(0, 102, 255, 0.04) 51%, transparent 52%),
    linear-gradient(62deg, transparent 58%, rgba(0, 180, 216, 0.03) 59%, rgba(0, 180, 216, 0.03) 61%, transparent 62%);
  opacity: 0.8;
}

.four__inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
}

.four__header {
  text-align: center;
  max-width: 620px;
  margin-inline: auto;
  margin-bottom: clamp(3.5rem, 9vw, 6rem);
}

.four__desc {
  margin-top: var(--space-md);
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.75;
}

.four__editorial {
  display: flex;
  flex-direction: column;
  gap: clamp(3.5rem, 9vw, 6.5rem);
}

/* Bloque editorial */
.four__piece {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
  color: var(--white);
  transition: transform 0.5s var(--ease-out);
}

.four__piece:hover {
  color: var(--white);
  transform: translateY(-6px);
}

.four__glyph {
  font-size: clamp(4rem, 11vw, 8.5rem);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.06em;
  white-space: nowrap;
  background: linear-gradient(160deg, rgba(0, 102, 255, 0.32) 0%, rgba(0, 180, 216, 0.13) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 40px rgba(0, 102, 255, 0.12));
  pointer-events: none;
  user-select: none;
}

.four__copy {
  position: relative;
  z-index: 1;
  max-width: 440px;
}

.four__name {
  font-size: clamp(1.625rem, 3.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 0.875rem;
  transition: color 0.35s;
}

.four__piece:hover .four__name {
  color: var(--white);
}

.four__text {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.75;
  margin-bottom: var(--space-md);
}

.four__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--blue-light);
  padding: 0.5rem 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out), color 0.3s;
}

.four__cta::after {
  content: '→';
  transition: transform 0.3s var(--ease-out);
}

.four__piece:hover .four__cta {
  opacity: 1;
  transform: translateY(0);
}

.four__piece:hover .four__cta::after {
  transform: translateX(4px);
}

/* Ilustraciones — estilo unificado */
.four__illus {
  position: relative;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 4 / 3;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(0, 102, 255, 0.06) 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
  transition: border-color 0.4s, box-shadow 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.four__piece:hover .four__illus {
  border-color: rgba(0, 102, 255, 0.25);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35), 0 0 48px rgba(0, 102, 255, 0.08);
  transform: scale(1.02);
}

/* Web — navegador */
.four__illus--web .four__illus-frame {
  position: absolute;
  inset: 14% 12%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.four__illus-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 18%;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px 8px 0 0;
}

.four__illus-bar::before,
.four__illus-bar::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: rgba(61, 139, 255, 0.5);
}

.four__illus-bar::before { left: 8px; }
.four__illus-bar::after { left: 20px; background: rgba(0, 180, 216, 0.4); }

.four__illus-line {
  position: absolute;
  left: 20%;
  height: 3px;
  border-radius: 2px;
  background: rgba(61, 139, 255, 0.45);
}

.four__illus-line--a { top: 38%; right: 12%; left: 16%; }
.four__illus-line--b { top: 52%; right: 28%; left: 16%; opacity: 0.55; }
.four__illus-line--c { top: 66%; right: 20%; left: 16%; opacity: 0.35; }

.four__illus-block {
  position: absolute;
  bottom: 12%;
  right: 10%;
  width: 32%;
  height: 24%;
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.25) 0%, rgba(0, 180, 216, 0.12) 100%);
  border: 1px solid rgba(61, 139, 255, 0.3);
}

/* Systems — pantallas flotantes */
.four__illus-panel {
  position: absolute;
  border-radius: 6px;
  border: 1px solid rgba(61, 139, 255, 0.25);
  background: rgba(0, 102, 255, 0.08);
}

.four__illus-panel--back {
  width: 55%;
  height: 45%;
  top: 18%;
  left: 14%;
  opacity: 0.5;
  transform: rotate(-4deg);
}

.four__illus-panel--mid {
  width: 50%;
  height: 40%;
  top: 32%;
  left: 28%;
  opacity: 0.75;
  transform: rotate(2deg);
}

.four__illus-panel--front {
  width: 48%;
  height: 38%;
  bottom: 16%;
  right: 14%;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.four__illus-panel--front::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  height: 4px;
  border-radius: 2px;
  background: rgba(61, 139, 255, 0.4);
}

/* Marketing — gráfica */
.four__illus-chart-bar {
  position: absolute;
  bottom: 22%;
  width: 11%;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, rgba(61, 139, 255, 0.7) 0%, rgba(0, 102, 255, 0.25) 100%);
  transition: transform 0.4s var(--ease-out);
}

.four__illus--marketing .four__illus-chart-bar:nth-child(1) { left: 16%; height: 32%; }
.four__illus--marketing .four__illus-chart-bar:nth-child(2) { left: 32%; height: 48%; }
.four__illus--marketing .four__illus-chart-bar:nth-child(3) { left: 48%; height: 38%; }
.four__illus--marketing .four__illus-chart-bar:nth-child(4) { left: 64%; height: 62%; }

.four__piece:hover .four__illus-chart-bar:nth-child(4) {
  transform: scaleY(1.06);
  transform-origin: bottom;
}

.four__illus-chart-line {
  position: absolute;
  bottom: 22%;
  left: 14%;
  right: 14%;
  height: 55%;
  border-top: 2px solid rgba(0, 180, 216, 0.45);
  border-radius: 40% 40% 0 0;
  clip-path: polygon(0 100%, 0 60%, 25% 45%, 50% 55%, 75% 20%, 100% 30%, 100% 100%);
  background: linear-gradient(180deg, rgba(0, 180, 216, 0.08) 0%, transparent 100%);
}

/* Hosting — nube + servidor */
.four__illus-cloud {
  position: absolute;
  top: 16%;
  left: 50%;
  transform: translateX(-50%);
  width: 52%;
  height: 22%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
}

.four__illus-cloud::before,
.four__illus-cloud::after {
  content: '';
  position: absolute;
  background: inherit;
  border: inherit;
  border-radius: 50%;
}

.four__illus-cloud::before {
  width: 40%;
  height: 140%;
  top: -40%;
  left: 10%;
}

.four__illus-cloud::after {
  width: 35%;
  height: 120%;
  top: -30%;
  right: 12%;
}

.four__illus-server {
  position: absolute;
  bottom: 18%;
  left: 50%;
  transform: translateX(-50%);
  width: 38%;
  height: 42%;
  border-radius: 6px;
  border: 1px solid rgba(61, 139, 255, 0.35);
  background: linear-gradient(180deg, rgba(0, 102, 255, 0.12) 0%, rgba(0, 102, 255, 0.04) 100%);
}

.four__illus-server::before,
.four__illus-server::after {
  content: '';
  position: absolute;
  left: 12%;
  right: 12%;
  height: 2px;
  background: rgba(61, 139, 255, 0.35);
  border-radius: 1px;
}

.four__illus-server::before { top: 28%; }
.four__illus-server::after { top: 52%; }

.four__illus-server-light {
  position: absolute;
  bottom: 22%;
  left: calc(50% + 8%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: four-server-pulse 2.5s ease-in-out infinite;
}

@keyframes four-server-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* Desktop — composición alternada */
@media (min-width: 900px) {
  .four__piece {
    grid-template-columns: auto 1fr minmax(220px, 300px);
    grid-template-rows: auto;
    gap: var(--space-xl) var(--space-2xl);
    min-height: 220px;
  }

  .four__piece--odd {
    grid-template-areas: 'glyph copy illus';
  }

  .four__piece--odd .four__glyph {
    grid-area: glyph;
    align-self: end;
    justify-self: start;
    padding-inline-end: var(--space-sm);
  }
  .four__piece--odd .four__copy { grid-area: copy; align-self: center; }
  .four__piece--odd .four__illus { grid-area: illus; margin-inline: 0 0; margin-left: auto; }

  .four__piece--even {
    grid-template-areas: 'illus copy glyph';
    grid-template-columns: minmax(220px, 300px) 1fr auto;
  }

  .four__piece--even .four__glyph {
    grid-area: glyph;
    align-self: end;
    justify-self: end;
    text-align: right;
    padding-inline-start: var(--space-sm);
  }

  .four__piece--even .four__copy {
    grid-area: copy;
    align-self: center;
    text-align: right;
    margin-left: auto;
  }

  .four__piece--even .four__illus {
    grid-area: illus;
    margin-inline: 0 auto;
  }

  .four__piece--even .four__cta {
    justify-content: flex-end;
  }
}

@media (min-width: 769px) and (max-width: 899px) {
  .four__piece {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }

  .four__glyph {
    grid-column: 1 / -1;
    font-size: clamp(4rem, 12vw, 7rem);
  }

  .four__piece--even .four__glyph {
    text-align: right;
  }

  .four__copy {
    grid-column: 1;
  }

  .four__illus {
    grid-column: 2;
    grid-row: 2;
    align-self: center;
  }

  .four__piece--even .four__copy {
    grid-column: 2;
    text-align: right;
    margin-left: auto;
  }

  .four__piece--even .four__illus {
    grid-column: 1;
    grid-row: 2;
  }
}

@media (max-width: 768px) {
  .four__cta {
    opacity: 1;
    transform: none;
  }

  .four__glyph {
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    font-size: clamp(4rem, 20vw, 6rem);
    line-height: 1;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: currentColor;
    color: rgba(61, 139, 255, 0.48);
    filter: none;
  }

  .four__piece--even .four__glyph {
    text-align: right;
    margin-left: auto;
  }

  .four__editorial {
    gap: clamp(2.5rem, 8vw, 3.5rem);
  }

  .four__piece {
    gap: var(--space-md);
  }

  .four__text {
    margin-bottom: var(--space-sm);
  }

  .four__illus--web {
    max-width: min(240px, 72vw);
    margin-top: var(--space-xs);
  }

  .four__illus--marketing,
  .four__illus--hosting {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .four__illus-server-light {
    animation: none;
  }

  .four__piece:hover,
  .four__piece:hover .four__illus {
    transform: none;
  }
}
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 1;
}

.hero__scroll-indicator {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0% { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0.5; }
}

/* ---------- About ---------- */
.about {
  position: relative;
  background: var(--ink);
  overflow: hidden;
}

.about__bg {
  position: absolute;
  inset: 0;
}

.about__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  will-change: transform;
}

.about__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(12, 14, 20, 0.95) 0%, rgba(12, 14, 20, 0.82) 60%, rgba(0, 102, 255, 0.15) 100%);
}

.about__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-2xl);
  align-items: start;
}

.about__lead {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: var(--space-md);
  line-height: 1.75;
}

.about__text {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: var(--space-md);
  line-height: 1.75;
}

.about__list {
  margin-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.about__list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

.about__check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(0, 102, 255, 0.2);
  border-radius: 50%;
  color: var(--cyan);
  flex-shrink: 0;
}

.about__cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.about-card {
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.about-card--dark {
  background: var(--gradient-dark);
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.about-card--dark .about-card__title {
  color: var(--white);
}

.about-card--accent {
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.15) 0%, rgba(232, 168, 56, 0.1) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
}

.about-card__icon {
  margin-bottom: var(--space-md);
}

.about-card__title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--space-xs);
}

.about-card__tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--warm-accent);
  margin-bottom: var(--space-sm);
}

.about-card__quote {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-style: italic;
  line-height: 1.5;
  margin-bottom: var(--space-sm);
}

.about-card__ref {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Services / Solutions ---------- */
.services {
  background: var(--gradient-warm);
}

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

.solution {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.solution--reverse .solution__media {
  order: 2;
}

.solution--reverse .solution__content {
  order: 1;
}

.solution__media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.solution__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.solution:hover .solution__img {
  transform: scale(1.03);
}

.solution__index {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  padding: 0.375rem 0.875rem;
  background: rgba(12, 14, 20, 0.72);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.05em;
}

.solution__title {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
}

.solution__stat {
  font-size: var(--text-base);
  color: var(--blue);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.solution__stat strong {
  font-size: var(--text-2xl);
  font-weight: 800;
  margin-right: 0.25rem;
}

.solution__stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
}

.solution__stats-row .solution__stat {
  margin-bottom: 0;
}

.solution__desc {
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--warm-gray-600);
  margin-bottom: var(--space-md);
}

.solution__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.solution__tags li {
  padding: 0.375rem 0.875rem;
  background: var(--white);
  border: 1px solid var(--warm-gray-100);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--blue);
}

.services__cta {
  margin-top: var(--space-3xl);
  padding: var(--space-xl);
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--warm-gray-100);
  box-shadow: var(--shadow-card);
}

.services__cta p {
  font-size: var(--text-lg);
  color: var(--warm-gray-600);
  margin-bottom: var(--space-md);
  max-width: 520px;
  margin-inline: auto;
}

.services__bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: var(--space-lg);
}

.service-card {
  background: var(--white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--warm-gray-100);
  transition: all var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 102, 255, 0.15);
}

.service-card--featured {
  grid-row: span 1;
  background: linear-gradient(145deg, var(--white) 0%, rgba(0, 102, 255, 0.04) 100%);
  border-color: rgba(0, 102, 255, 0.12);
}

.service-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.service-card__badge {
  padding: 0.25rem 0.75rem;
  background: rgba(232, 168, 56, 0.15);
  color: #B8860B;
  font-size: var(--text-xs);
  font-weight: 700;
  border-radius: var(--radius-full);
}

.service-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: rgba(0, 102, 255, 0.08);
  border-radius: var(--radius-md);
  color: var(--blue);
  margin-bottom: var(--space-md);
  transition: all var(--transition);
}

.service-card--featured .service-card__icon {
  margin-bottom: 0;
}

.service-card:hover .service-card__icon {
  background: var(--blue);
  color: var(--white);
  transform: scale(1.05);
}

.service-card__title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--space-sm);
}

.service-card__experience {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--blue);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
  padding-left: 0.75rem;
  border-left: 3px solid rgba(0, 102, 255, 0.35);
}

.service-card__desc {
  font-size: var(--text-sm);
  line-height: 1.75;
  color: var(--warm-gray-400);
  margin-bottom: var(--space-md);
}

.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.service-card__tags li {
  padding: 0.25rem 0.75rem;
  background: var(--warm-gray-50);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--blue);
}

.service-card--visual {
  padding-top: 0;
  overflow: hidden;
}

.service-card--visual .service-card__icon {
  margin-top: var(--space-md);
}

.service-card__thumb {
  width: calc(100% + var(--space-xl) * 2);
  margin: calc(var(--space-xl) * -1) calc(var(--space-xl) * -1) var(--space-md);
  height: 140px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-card--visual:hover .service-card__thumb {
  transform: scale(1.03);
}

.services__showcase {
  position: relative;
  margin-top: var(--space-2xl);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.services__showcase-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.services__showcase-content {
  position: absolute;
  bottom: var(--space-lg);
  left: var(--space-lg);
  right: var(--space-lg);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
}

.services__showcase-content h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.375rem;
}

.services__showcase-content p {
  font-size: var(--text-sm);
  color: var(--warm-gray-600);
  margin-bottom: var(--space-md);
}

.services__showcase-content .btn {
  margin-top: 0.25rem;
}

/* ---------- Benefits ---------- */
.benefits {
  background: var(--white);
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.benefits__grid--9 {
  grid-template-columns: repeat(3, 1fr);
}

.benefit-card {
  position: relative;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  background: var(--warm-gray-50);
  border: 1px solid var(--warm-gray-100);
  transition: all var(--transition);
  overflow: hidden;
}

.benefit-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 102, 255, 0.12);
  transform: translateY(-4px);
}

.benefit-card__num {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: var(--text-3xl);
  font-weight: 800;
  color: rgba(0, 102, 255, 0.06);
  line-height: 1;
}

.benefit-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(0, 102, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--blue);
  margin-bottom: var(--space-md);
}

.benefit-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--space-xs);
}

.benefit-card p {
  font-size: var(--text-sm);
  line-height: 1.75;
  color: var(--warm-gray-400);
}

/* ---------- Process ---------- */
.process {
  background: var(--warm-gray-50);
}

.process__track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-md);
  position: relative;
}

.process__track::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), rgba(0, 102, 255, 0.1));
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.process-step__num {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: var(--space-md);
  background: var(--gradient-brand);
  color: var(--white);
  font-weight: 800;
  font-size: var(--text-xl);
  border-radius: 50%;
  box-shadow: var(--shadow-blue);
  transition:
    transform 250ms cubic-bezier(0.4, 0, 0.2, 1),
    background 250ms cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1),
    color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.process-step__body h3 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--space-xs);
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.process-step__body p {
  font-size: var(--text-sm);
  line-height: 1.65;
  color: var(--warm-gray-400);
  opacity: 0.82;
  transition:
    opacity 250ms cubic-bezier(0.4, 0, 0.2, 1),
    color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Microinteracciones — proceso */
.process__line {
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 2px;
  display: flex;
  z-index: 0;
  pointer-events: none;
}

.process__line-seg {
  flex: 1;
  height: 100%;
  background: transparent;
  border-radius: 1px;
  transition:
    background 250ms cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.process__line-seg--lit {
  background: rgba(0, 102, 255, 0.42);
  box-shadow: 0 0 10px rgba(0, 102, 255, 0.18);
}

.process__line-seg--current {
  background: rgba(0, 102, 255, 0.55);
  box-shadow: 0 0 14px rgba(0, 102, 255, 0.28);
}

.process-step--active .process-step__num {
  transform: scale(1.1);
  background: var(--blue);
  color: var(--white);
  box-shadow:
    0 0 0 4px rgba(0, 102, 255, 0.14),
    0 0 22px rgba(0, 102, 255, 0.22),
    0 8px 28px rgba(0, 102, 255, 0.2);
}

.process-step--active .process-step__body h3 {
  color: var(--blue);
}

.process-step--active .process-step__body p {
  opacity: 1;
  color: var(--warm-gray-600);
}

/* ---------- Stats ---------- */
.stats {
  position: relative;
  padding-block: var(--space-2xl);
  overflow: hidden;
}

.stats__bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-dark);
}

.stats__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(0, 102, 255, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(232, 168, 56, 0.08) 0%, transparent 50%);
}

.stats__header {
  text-align: center;
  margin-bottom: var(--space-2xl);
  max-width: 640px;
  margin-inline: auto;
}

.section__label--light {
  color: rgba(255, 255, 255, 0.6);
}

.section__label--light::before {
  background: var(--blue-light);
}

.stats__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  text-align: center;
}

.stats__grid--3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 900px;
  margin-inline: auto;
}

.stat-item--text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
}

.stat-item__highlight {
  display: block;
  font-size: var(--text-2xl);
  font-weight: 800;
  line-height: 1;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stats__footnote {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-top: var(--space-xl);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.45);
  max-width: 560px;
  margin-inline: auto;
}

/* ---------- Experience portfolio ---------- */
.experience {
  background: var(--warm-white);
}

.experience__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.experience-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--white);
  border: 1px solid var(--warm-gray-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.experience-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 102, 255, 0.15);
}

.experience-card--wide {
  grid-column: span 2;
}

.experience-card--erp {
  grid-column: 1 / -1;
  background: linear-gradient(145deg, var(--white) 0%, rgba(0, 102, 255, 0.03) 100%);
}

.experience-card__head {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.experience-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(0, 102, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--blue);
}

.experience-card__title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}

.experience-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
}

.experience-card__tags li {
  padding: 0.375rem 0.75rem;
  font-size: var(--text-xs);
  font-weight: 500;
  line-height: 1.35;
  color: var(--warm-gray-600);
  background: var(--warm-gray-50);
  border: 1px solid var(--warm-gray-100);
  border-radius: var(--radius-full);
  transition: color var(--transition), background var(--transition), border-color var(--transition);
}

.experience-card:hover .experience-card__tags li {
  background: var(--white);
  border-color: rgba(0, 102, 255, 0.12);
  color: var(--ink);
}

.experience-card--erp .experience-card__tags li {
  background: rgba(255, 255, 255, 0.85);
}

.experience-card__tags--compact li {
  font-size: 0.6875rem;
  padding: 0.3125rem 0.625rem;
}

.stat-item__number {
  display: block;
  font-size: var(--text-4xl);
  font-weight: 800;
  line-height: 1;
  margin-bottom: var(--space-xs);
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-item__label {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}

/* ---------- Testimonials ---------- */
.testimonials {
  background: var(--white);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  align-items: start;
}

.testimonial {
  background: var(--warm-gray-50);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--warm-gray-100);
  transition: all var(--transition);
}

.testimonial:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.testimonial--featured {
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 102, 255, 0.12);
  transform: scale(1.03);
}

.testimonial--featured:hover {
  transform: scale(1.03) translateY(-4px);
}

.testimonial__stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-md);
  color: var(--blue);
}

.testimonial p {
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--warm-gray-600);
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.testimonial__avatar {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-brand);
  color: var(--white);
  border-radius: 50%;
  font-weight: 700;
  font-size: var(--text-sm);
  flex-shrink: 0;
}

.testimonial cite {
  display: block;
  font-style: normal;
  font-weight: 700;
  color: var(--ink);
  font-size: var(--text-sm);
}

.testimonial__author span {
  font-size: var(--text-xs);
  color: var(--warm-gray-400);
}

/* ---------- FAQ ---------- */
.faq {
  background: var(--warm-gray-50);
}

.faq__list {
  max-width: 780px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid var(--warm-gray-100);
  transition:
    border-color 300ms cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1),
    background 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:not(.faq-item--active):hover {
  border-color: rgba(0, 102, 255, 0.14);
  background: rgba(0, 102, 255, 0.025);
}

.faq-item--active {
  border-color: rgba(0, 102, 255, 0.16);
  box-shadow: 0 6px 24px rgba(0, 102, 255, 0.14);
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  background: var(--white);
  transition:
    background 300ms cubic-bezier(0.4, 0, 0.2, 1),
    color 300ms cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item--active .faq-item__question {
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 2px 14px rgba(0, 102, 255, 0.22);
}

.faq-item__icon {
  flex-shrink: 0;
  color: var(--warm-gray-400);
  transition:
    transform 300ms cubic-bezier(0.4, 0, 0.2, 1),
    color 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:not(.faq-item--active) .faq-item__question:hover .faq-item__icon {
  color: var(--warm-gray-500);
}

.faq-item--active .faq-item__icon {
  transform: rotate(180deg);
  color: var(--white);
}

.faq-item__answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--transition-slow);
}

.faq-item--active .faq-item__answer {
  max-height: 960px;
}

.faq-item__answer p {
  padding: 0 var(--space-lg) var(--space-md);
  font-size: var(--text-sm);
  line-height: 1.75;
  color: var(--warm-gray-400);
}

.faq-item__answer p:first-child {
  padding-top: 0;
}

.faq-item__answer ul {
  margin: 0 0 var(--space-md);
  padding: 0 var(--space-lg) 0 calc(var(--space-lg) + 1.25rem);
  font-size: var(--text-sm);
  line-height: 1.75;
  color: var(--warm-gray-400);
}

.faq-item__answer li + li {
  margin-top: 0.375rem;
}

.faq-item__answer--checks ul {
  list-style: none;
  padding: 0 var(--space-lg) var(--space-md);
}

.faq-item__answer--checks li {
  position: relative;
  padding-left: 1.625rem;
}

.faq-item__answer--checks li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

/* ---------- CTA ---------- */
.cta {
  padding-block: var(--space-2xl);
}

.cta__panel {
  position: relative;
  text-align: center;
  padding: var(--space-3xl) var(--space-xl);
  background: var(--gradient-dark);
  border-radius: var(--radius-xl);
  overflow: clip;
  isolation: isolate;
}

.cta__glow {
  position: absolute;
  top: -40%;
  right: -15%;
  width: min(500px, 100%);
  height: min(500px, 100%);
  max-width: 100%;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.cta__eyebrow {
  position: relative;
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--warm-accent);
  margin-bottom: var(--space-sm);
}

.cta__title {
  position: relative;
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.cta__desc {
  position: relative;
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.65);
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: var(--space-xl);
  line-height: 1.75;
}

.cta__actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
}

/* ---------- Contact ---------- */
.contact {
  background: var(--white);
}

.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: var(--space-2xl);
  align-items: start;
  min-width: 0;
}

.contact__info,
.contact__form {
  min-width: 0;
  max-width: 100%;
}

.contact__desc {
  margin-top: var(--space-md);
  margin-bottom: var(--space-xl);
  line-height: 1.75;
  color: var(--warm-gray-400);
  overflow-wrap: break-word;
}

.contact .section__title {
  overflow-wrap: break-word;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.contact__item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(0, 102, 255, 0.08);
  border-radius: var(--radius-md);
  color: var(--blue);
  flex-shrink: 0;
}

.contact__item strong {
  display: block;
  font-size: var(--text-sm);
  color: var(--ink);
  margin-bottom: 0.125rem;
}

.contact__item a,
.contact__item span {
  font-size: var(--text-sm);
  color: var(--warm-gray-400);
  line-height: 1.5;
  overflow-wrap: break-word;
  word-break: break-word;
}

.contact__item > div {
  min-width: 0;
}

.contact__item a:hover {
  color: var(--blue);
}

.contact__form {
  background: var(--warm-gray-50);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--warm-gray-100);
  box-sizing: border-box;
  width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  min-width: 0;
}

.form-group {
  margin-bottom: var(--space-md);
  min-width: 0;
}

.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8125rem 1rem;
  background: var(--white);
  border: 1.5px solid var(--warm-gray-200);
  border-radius: var(--radius-sm);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--warm-gray-400);
  opacity: 0.7;
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #EF4444;
}

.form-error {
  display: block;
  font-size: var(--text-xs);
  color: #EF4444;
  margin-top: 0.25rem;
  min-height: 1rem;
}

.form-success {
  margin-top: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-sm);
  color: #059669;
  font-size: var(--text-sm);
  font-weight: 500;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.55);
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-lg);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.footer__brand p {
  font-size: var(--text-sm);
  line-height: 1.75;
  max-width: 300px;
}

.footer__nav h3,
.footer__contact h3 {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-md);
}

.footer__nav ul,
.footer__contact ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer__nav a,
.footer__contact a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
}

.footer__nav a:hover,
.footer__contact a:hover {
  color: var(--white);
}

.footer__contact li {
  font-size: var(--text-sm);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: var(--text-xs);
}

.footer__bottom p:last-child {
  opacity: 0.5;
}

/* ---------- WhatsApp flotante ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  box-shadow: 0 4px 22px rgba(37, 211, 102, 0.38);
  transition:
    transform 250ms cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1),
    background 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.whatsapp-float:hover {
  background: #20BD5A;
  color: var(--white);
  transform: scale(1.06) translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.42);
}

.whatsapp-float__icon {
  display: block;
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  bottom: calc(2rem + 56px + 0.75rem);
  right: 2rem;
  z-index: 900;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-blue);
  transition: all var(--transition);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
}

.back-to-top--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--blue-dark);
  transform: translateY(-3px);
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

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

.reveal--delay { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    z-index: 1001;
    background: linear-gradient(180deg, rgba(12, 14, 20, 0.98) 0%, rgba(16, 21, 34, 0.98) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: var(--space-lg) var(--space-md) var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    box-sizing: border-box;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }

  .nav::before {
    content: '';
    position: fixed;
    inset: 0;
    top: var(--header-h);
    background: rgba(8, 10, 16, 0.55);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--transition), visibility var(--transition);
    z-index: -1;
  }

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

  .nav--open::before {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .header .nav .nav__link {
    color: rgba(255, 255, 255, 0.92);
  }

  .header .nav .nav__link:hover,
  .header .nav .nav__link--active {
    color: var(--blue-light);
    background: rgba(0, 102, 255, 0.14);
  }

  .header:has(.nav--open) .nav-toggle__bar {
    background: var(--white);
  }

  .header:has(.nav--open).header--scrolled {
    background: rgba(12, 14, 20, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  }

  .header:has(.nav--open) .wordmark--header .wordmark__text {
    color: var(--white);
  }

  .header:has(.nav--open).header--scrolled .wordmark--header .wordmark__four {
    color: var(--blue);
  }

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

  .nav__link {
    padding: 0.875rem 1rem;
    font-size: var(--text-base);
    max-width: 100%;
  }

  .nav__link--cta {
    margin-left: 0;
    margin-top: 0.5rem;
    text-align: center;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 1100px) {
  .process__track {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
  }

  .process__track::before {
    display: none;
  }

  .process__line {
    display: none;
  }

  .stats__grid--5,
  .stats__grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  :root {
    --space-3xl: 5rem;
  }

  .hero__inner {
    max-width: 100%;
  }

  .hero__subtitle {
    margin-inline: auto;
  }

  .solution {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .solution--reverse .solution__media,
  .solution--reverse .solution__content {
    order: unset;
  }

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

  .benefits__grid,
  .benefits__grid--9 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .experience-card--wide,
  .experience-card--erp {
    grid-column: span 2;
  }

  .process__track {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }

  .process-step {
    display: flex;
    gap: var(--space-md);
    text-align: left;
  }

  .process-step__num {
    margin: 0;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    font-size: var(--text-lg);
  }

  .stats__grid,
  .stats__grid--5,
  .stats__grid--3 {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .about__layout {
    grid-template-columns: 1fr;
  }

  .testimonials__grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }

  .testimonial--featured {
    transform: none;
  }

  .testimonial--featured:hover {
    transform: translateY(-4px);
  }

  .contact__layout {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --gutter: 1.25rem;
    --space-3xl: 4rem;
    --space-2xl: 3rem;
  }

  .hero {
    min-height: auto;
    padding-bottom: var(--space-2xl);
  }

  .hero__scroll {
    display: none;
  }

  .hero__title {
    font-size: clamp(2.25rem, 10vw, 3rem);
  }

  .hero__services {
    flex-direction: column;
    align-items: center;
  }

  .solution__title {
    font-size: var(--text-2xl);
  }

  .services__bento,
  .benefits__grid,
  .benefits__grid--9 {
    grid-template-columns: 1fr;
  }

  .experience__grid {
    grid-template-columns: 1fr;
  }

  .experience-card--wide,
  .experience-card--erp {
    grid-column: span 1;
  }

  .stats__grid--3 {
    grid-template-columns: 1fr;
  }

  .services__showcase-img {
    height: 240px;
  }

  .services__showcase-content {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    margin-top: -2rem;
    margin-inline: var(--space-md);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-xs);
    text-align: center;
  }

  .back-to-top {
    bottom: calc(1.25rem + 52px + 0.625rem);
    right: 1.25rem;
    width: 44px;
    height: 44px;
  }

  .whatsapp-float {
    bottom: 1.25rem;
    right: max(1rem, env(safe-area-inset-right, 0px));
    width: 52px;
    height: 52px;
  }

  .whatsapp-float__icon {
    width: 26px;
    height: 26px;
  }

  .contact {
    padding-bottom: calc(var(--space-3xl) + 3.5rem);
  }

  .contact__form {
    padding-bottom: calc(var(--space-xl) + 3rem);
  }

  .cta__glow {
    width: min(320px, 85vw);
    height: min(320px, 85vw);
    right: -8%;
    top: -28%;
  }

  .about__cards {
    display: none;
  }
}

@media (max-width: 380px) {
  .hero__actions,
  .cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn,
  .cta__actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
