/* =========================================================
   PixPlix — Landing corporativa
   Paleta derivada de los assets de marca (#722972 / #b93166 / #EA35C8)
   ========================================================= */

:root {
  --purple-950: #120617;
  --purple-900: #1b0824;
  --purple-800: #2a0d33;
  --purple-700: #4a1650;
  --purple: #722972;
  --purple-deep: #6f2972;
  --magenta: #b93166;
  --pink: #ea35c8;
  --pink-soft: #f7a8e2;

  --ink: #21102a;
  --body: #57445f;
  --muted: #7c6a86;
  --line: #eadff0;
  --line-dark: rgba(255, 255, 255, 0.12);
  --white: #ffffff;
  --soft: #f8f3fb;

  --grad-brand: linear-gradient(105deg, #722972 0%, #912d6c 38%, #b93166 72%, #d0337f 100%);
  --grad-accent: linear-gradient(100deg, #f6bcec 0%, #ea35c8 48%, #c46ae6 100%);
  --grad-cta: linear-gradient(120deg, #3d1047 0%, #722972 42%, #a42c6c 76%, #c6326f 100%);

  --shadow-sm: 0 8px 24px rgba(43, 12, 52, 0.07);
  --shadow-md: 0 18px 50px rgba(43, 12, 52, 0.12);
  --shadow-lg: 0 34px 90px rgba(28, 6, 36, 0.28);

  --font-display: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Cascadia Code", "Consolas", monospace;

  --radius: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.032em;
  margin: 0;
}

p {
  margin: 0;
}

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

ul,
ol,
dl {
  margin: 0;
  padding: 0;
  list-style: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

strong {
  color: var(--ink);
  font-weight: 700;
}

::selection {
  background: rgba(234, 53, 200, 0.25);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 4px;
  border-radius: 6px;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -80px;
  left: 16px;
  z-index: 999;
  padding: 12px 20px;
  background: var(--white);
  color: var(--purple);
  border-radius: 10px;
  font-weight: 700;
}
.skip-link:focus {
  top: 16px;
}

/* ---------------- Texto y utilidades ---------------- */

.text-gradient {
  background: linear-gradient(100deg, #722972 0%, #a42d6c 48%, #d1327c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.text-gradient--light {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--purple);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow-line {
  width: 30px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
}

.eyebrow--light {
  color: var(--pink-soft);
}
.eyebrow--light .eyebrow-line {
  background: var(--grad-accent);
}

.pulse-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 0 rgba(234, 53, 200, 0.65);
  animation: pulse 2.4s infinite;
}

/* ---------------- Botones ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.btn:hover {
  transform: translateY(-3px);
}
.btn:active {
  transform: translateY(-1px);
}

.btn--primary {
  color: var(--white);
  background: linear-gradient(100deg, #a42b6e 0%, #c2307d 45%, #ea35c8 100%);
  box-shadow: 0 12px 34px rgba(196, 48, 125, 0.36);
}
.btn--primary:hover {
  box-shadow: 0 20px 46px rgba(196, 48, 125, 0.48);
}

.btn--ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.1);
}

.btn--white {
  color: var(--purple);
  background: var(--white);
  box-shadow: 0 18px 48px rgba(24, 5, 30, 0.28);
}
.btn--white:hover {
  box-shadow: 0 26px 60px rgba(24, 5, 30, 0.36);
}

.btn--sm {
  padding: 10px 19px;
  font-size: 0.85rem;
}
.btn--lg {
  padding: 16px 28px;
  font-size: 0.98rem;
}
.btn--xl {
  padding: 19px 34px;
  font-size: 1.04rem;
}

.btn .icon--arrow {
  transition: transform 0.3s var(--ease);
}
.btn:hover .icon--arrow {
  transform: translateX(4px);
}

/* ---------------- Header ---------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: 86px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease), height 0.35s var(--ease);
}

.site-header.is-scrolled {
  height: 74px;
  background: rgba(20, 7, 27, 0.86);
  border-bottom-color: rgba(255, 255, 255, 0.09);
  box-shadow: 0 10px 40px rgba(15, 4, 20, 0.22);
  backdrop-filter: blur(18px) saturate(160%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex: none;
}

.brand-logo {
  width: 128px;
  height: auto;
}

.brand-tag {
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.25s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.nav-link:hover,
.nav-link.is-active {
  color: var(--white);
}
.nav-link.is-active::after,
.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  margin-left: 4px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  cursor: pointer;
}
.nav-toggle .icon {
  width: 22px;
  height: 22px;
}
.nav-toggle .icon--close {
  display: none;
}
.nav-toggle[aria-expanded="true"] .icon--menu {
  display: none;
}
.nav-toggle[aria-expanded="true"] .icon--close {
  display: block;
}

/* ---------------- Hero ---------------- */

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 148px 0 100px;
  background: radial-gradient(120% 100% at 78% 12%, #35103f 0%, #1b0824 46%, #120617 100%);
  color: rgba(255, 255, 255, 0.78);
  overflow: hidden;
}

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

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 62px 62px;
  -webkit-mask-image: radial-gradient(80% 70% at 62% 40%, #000 10%, transparent 85%);
  mask-image: radial-gradient(80% 70% at 62% 40%, #000 10%, transparent 85%);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  animation: drift 18s ease-in-out infinite alternate;
}
.glow--one {
  width: 560px;
  height: 560px;
  top: -180px;
  right: -60px;
  background: radial-gradient(circle, rgba(185, 49, 102, 0.75), transparent 68%);
}
.glow--two {
  width: 460px;
  height: 460px;
  bottom: -180px;
  left: -120px;
  background: radial-gradient(circle, rgba(114, 41, 114, 0.8), transparent 68%);
  animation-delay: -7s;
}
.glow--three {
  width: 340px;
  height: 340px;
  top: 42%;
  right: 26%;
  background: radial-gradient(circle, rgba(234, 53, 200, 0.34), transparent 70%);
  animation-delay: -12s;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: center;
  gap: 64px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.6rem, 5.1vw, 4.5rem);
  font-weight: 800;
  line-height: 1.09;
  letter-spacing: -0.045em;
  margin: 0 0 26px;
}

.hero-lead {
  max-width: 590px;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.74);
}
.hero-lead strong {
  color: var(--white);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  margin-top: 46px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  font-weight: 500;
}
.hero-facts .icon {
  width: 17px;
  height: 17px;
  color: var(--pink);
  stroke-width: 2.4;
}

/* Visual del hero */

.hero-visual {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(234, 53, 200, 0.18);
  border-radius: 50%;
  pointer-events: none;
}
.orbit--1 {
  width: 470px;
  height: 470px;
  animation: spin 44s linear infinite;
}
.orbit--2 {
  width: 610px;
  height: 610px;
  border-color: rgba(255, 255, 255, 0.06);
  animation: spin 70s linear infinite reverse;
}
.orbit--1::before {
  content: "";
  position: absolute;
  top: 18%;
  right: 12%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 18px 5px rgba(234, 53, 200, 0.6);
}

.code-window {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 500px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(24, 9, 33, 0.88);
  box-shadow: 0 40px 100px rgba(8, 2, 12, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
}

.code-window__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.035);
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot--red { background: #f26a72; }
.dot--amber { background: #f3b95b; }
.dot--green { background: #62c98a; }
.code-window__path {
  margin-left: 12px;
  color: rgba(255, 255, 255, 0.44);
  font-family: var(--font-mono);
  font-size: 0.74rem;
}

.code-window__body {
  padding: 22px 8px 26px 0;
  font-family: var(--font-mono);
  font-size: 0.79rem;
  line-height: 1.95;
}
.code-line {
  display: flex;
  gap: 18px;
  white-space: nowrap;
}
.ln {
  width: 34px;
  flex: none;
  text-align: right;
  color: rgba(255, 255, 255, 0.22);
  user-select: none;
}
.code-line code {
  color: rgba(255, 255, 255, 0.84);
}
.tk-purple { color: #d19bf0; }
.tk-pink { color: #ea35c8; }
.tk-mint { color: #7ee0c0; }
.tk-string { color: #ffd08a; }
.tk-comment { color: #8a7296; font-style: italic; }
.cursor {
  display: inline-block;
  width: 7px;
  height: 15px;
  margin-left: 3px;
  vertical-align: -2px;
  background: var(--pink);
  animation: blink 1.1s steps(1) infinite;
}

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 17px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 14px;
  background: rgba(53, 16, 64, 0.82);
  box-shadow: 0 22px 50px rgba(9, 2, 14, 0.5);
  backdrop-filter: blur(16px);
  animation: floaty 6s ease-in-out infinite;
}
.float-card strong {
  display: block;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.82rem;
  line-height: 1.35;
}
.float-card small {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.7rem;
}
.float-card__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(126, 224, 192, 0.14);
  color: #7ee0c0;
}
.float-card__icon .icon { width: 17px; height: 17px; stroke-width: 2.4; }
.float-card--status { top: 8%; right: -6%; }
.float-card--brand {
  bottom: 7%;
  left: -8%;
  animation-delay: -3s;
}
.float-card--brand img { filter: brightness(0) invert(1); }

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.44);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.scroll-hint span {
  position: relative;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
}
.scroll-hint span::after {
  content: "";
  position: absolute;
  top: 0;
  left: -1px;
  width: 3px;
  height: 12px;
  border-radius: 2px;
  background: var(--pink);
  animation: scrollDown 2.2s ease-in-out infinite;
}

/* ---------------- Marquesina ---------------- */

.capabilities {
  overflow: hidden;
  padding: 22px 0;
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  background: #1f0b29;
}
.capabilities__track {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  animation: marquee 46s linear infinite;
}
.capabilities__track span {
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  white-space: nowrap;
  text-transform: uppercase;
}
.capabilities__track i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--pink);
  flex: none;
}

/* ---------------- Secciones ---------------- */

.section {
  position: relative;
  padding: 112px 0;
}
.section--light { background: var(--white); }
.section--soft { background: var(--soft); }
.section--dark {
  background: radial-gradient(110% 90% at 20% 0%, #2c0d37 0%, #1b0824 48%, #140619 100%);
  color: rgba(255, 255, 255, 0.74);
  overflow: hidden;
}
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--white); }
.section--dark strong { color: var(--white); }

.dark-glow {
  position: absolute;
  top: -200px;
  right: -160px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(185, 49, 102, 0.24), transparent 68%);
  filter: blur(60px);
  pointer-events: none;
}

.section-head { margin-bottom: 56px; }
.section-head h2 {
  font-size: clamp(2.1rem, 3.9vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.042em;
}
.section-head__row {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  align-items: end;
  gap: 48px;
}
.section-intro {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
}
.section--dark .section-intro { color: rgba(255, 255, 255, 0.66); }

.section-head--center {
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 70px;
  text-align: center;
}
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .section-intro { margin: 22px auto 0; }

/* ---------------- Servicios ---------------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  position: relative;
  padding: 32px 30px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(185, 49, 102, 0.34);
  box-shadow: var(--shadow-md);
}
.service-card:hover::before { transform: scaleX(1); }

.service-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 26px;
}
.service-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  color: var(--purple);
  background: linear-gradient(145deg, #f8ecf8, #f2e0f0);
  transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease);
}
.service-icon .icon { width: 25px; height: 25px; }
.service-card:hover .service-icon {
  background: var(--grad-brand);
  color: var(--white);
  transform: rotate(-6deg) scale(1.06);
}
.service-num {
  color: #d9c7e2;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.service-card h3 {
  font-size: 1.24rem;
  margin-bottom: 12px;
}
.service-card p {
  font-size: 0.94rem;
  line-height: 1.75;
  color: var(--body);
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.service-tags li {
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fcf8fd;
  color: var(--purple);
  font-size: 0.74rem;
  font-weight: 600;
}

/* ---------------- Proceso ---------------- */

.process-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
}
.process-list::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, #722972, #b93166 55%, #ea35c8);
  opacity: 0.24;
}
.process-step { text-align: center; }
.process-step__marker {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 22px;
  border: 1px solid rgba(114, 41, 114, 0.2);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 7px var(--soft);
  color: var(--purple);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease);
}
.process-step:hover .process-step__marker {
  background: var(--grad-brand);
  color: var(--white);
  transform: scale(1.08);
}
.process-step h3 {
  font-size: 1.04rem;
  margin-bottom: 10px;
}
.process-step p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--muted);
}

.process-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: fit-content;
  margin: 64px auto 0;
  padding: 15px 26px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  color: var(--purple);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}
.process-note .icon { width: 19px; height: 19px; }

/* ---------------- Misión y Visión ---------------- */

.purpose-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.purpose-card {
  position: relative;
  padding: 42px 40px 40px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 24px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.purpose-card:hover {
  transform: translateY(-6px);
  border-color: rgba(234, 53, 200, 0.4);
}
.purpose-card__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 28px;
  border-radius: 16px;
  color: var(--pink-soft);
  background: rgba(234, 53, 200, 0.13);
  border: 1px solid rgba(234, 53, 200, 0.22);
}
.purpose-card__icon .icon { width: 27px; height: 27px; }
.purpose-card__label {
  margin-bottom: 12px;
  color: var(--pink-soft);
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.purpose-card h3 {
  max-width: 420px;
  margin-bottom: 18px;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.28;
}
.purpose-card > p:not(.purpose-card__label) {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.96rem;
  line-height: 1.82;
}
.purpose-card__rule {
  display: block;
  width: 64px;
  height: 3px;
  margin-top: 30px;
  border-radius: 3px;
  background: var(--grad-accent);
}

.statement {
  position: relative;
  max-width: 900px;
  margin: 74px auto 0;
  padding: 0 20px;
  text-align: center;
}
.statement__quote {
  width: 34px;
  height: 34px;
  margin: 0 auto 20px;
  color: var(--pink);
  opacity: 0.75;
}
.statement p {
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.035em;
}
.statement p span {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.statement cite {
  display: block;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.84rem;
  font-style: normal;
  letter-spacing: 0.06em;
}

/* ---------------- Nosotros / Valores ---------------- */

.about-copy {
  max-width: 860px;
}
.about-copy h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.042em;
  margin-bottom: 24px;
}
.about-copy > p:not(.eyebrow) {
  margin-bottom: 18px;
  font-size: 1rem;
  line-height: 1.85;
}
.about-highlight {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  padding: 20px 24px;
  border-left: 3px solid var(--magenta);
  border-radius: 0 14px 14px 0;
  background: var(--soft);
}
.about-highlight .icon {
  width: 22px;
  height: 22px;
  margin-top: 3px;
  color: var(--purple);
}
.about-highlight p {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.7;
}

.values-head { margin: 100px 0 34px; }
.values-head h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 800;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.value-item {
  position: relative;
  padding: 28px 24px 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.value-item::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 24px;
  width: 46px;
  height: 3px;
  border-radius: 3px;
  background: var(--grad-brand);
}
.value-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.value-item > .icon {
  width: 24px;
  height: 24px;
  margin-bottom: 16px;
  color: var(--purple);
}
.value-item h4 { font-size: 1.02rem; margin-bottom: 9px; }
.value-item p { color: var(--muted); font-size: 0.88rem; line-height: 1.7; }

/* ---------------- CTA / Contacto ---------------- */

.cta-section {
  position: relative;
  isolation: isolate;
  padding: 112px 0;
  overflow: hidden;
  background: var(--grad-cta);
  color: rgba(255, 255, 255, 0.85);
}
.cta-glow {
  position: absolute;
  z-index: -1;
  width: 720px;
  height: 720px;
  top: -300px;
  right: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234, 53, 200, 0.38), transparent 66%);
  filter: blur(50px);
}
.cta-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 72px;
}
.cta-copy h2 {
  color: var(--white);
  font-size: clamp(2.2rem, 4.2vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  margin-bottom: 22px;
}
.cta-copy > p:not(.eyebrow):not(.cta-micro) {
  max-width: 540px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.82);
}
.cta-micro {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 22px 0 34px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
}
.cta-micro .icon { width: 18px; height: 18px; }
.cta-handle {
  display: block;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}

.contact-card {
  padding: 38px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 30px 80px rgba(20, 4, 26, 0.35);
  color: var(--body);
}
.contact-card h3 {
  font-size: 1.3rem;
  color: var(--ink);
}
.contact-card__intro {
  margin: 8px 0 26px;
  color: var(--muted);
  font-size: 0.9rem;
}
.contact-list { border-top: 1px solid var(--line); }
.contact-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.contact-list__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 12px;
  background: #f7eef8;
  color: var(--purple);
}
.contact-list__icon .icon { width: 19px; height: 19px; }
.contact-list small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.contact-list a,
.contact-list span {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 600;
}
.contact-list a:hover { color: var(--magenta); }
.contact-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 26px;
}
.contact-card__footer > span {
  color: var(--muted);
  font-size: 0.85rem;
}
.socials { display: flex; gap: 10px; }
.socials a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--purple);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.socials a:hover {
  background: var(--grad-brand);
  border-color: transparent;
  color: var(--white);
  transform: translateY(-3px);
}
.socials .icon { width: 17px; height: 17px; }

/* ---------------- Footer ---------------- */

.site-footer {
  padding: 76px 0 28px;
  background: var(--purple-950);
  color: rgba(255, 255, 255, 0.6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 54px;
}
.footer-brand img { width: 140px; margin-bottom: 20px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.8; }
.footer-brand strong { color: var(--white); font-weight: 600; }
.footer-col h4 {
  margin-bottom: 20px;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-col a,
.footer-col span {
  display: block;
  margin-bottom: 11px;
  font-size: 0.88rem;
  transition: color 0.25s var(--ease), transform 0.25s var(--ease);
}
.footer-col a:hover {
  color: var(--pink-soft);
  transform: translateX(3px);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
}
.footer-bottom span { padding-inline: 6px; }

/* ---------------- WhatsApp flotante ---------------- */

.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(140deg, #c2307d, #722972);
  box-shadow: 0 14px 36px rgba(90, 15, 85, 0.45);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.wa-float:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 20px 46px rgba(90, 15, 85, 0.55);
}
.wa-float > .icon { width: 29px; height: 29px; }
.wa-float__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(234, 53, 200, 0.6);
  animation: pulseRing 2.6s ease-out infinite;
  pointer-events: none;
}
.wa-float__tip {
  position: absolute;
  right: 72px;
  padding: 9px 15px;
  border-radius: 10px;
  background: var(--white);
  color: var(--purple);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.wa-float:hover .wa-float__tip {
  opacity: 1;
  transform: translateX(0);
}

/* ---------------- Animaciones de entrada ---------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(234, 53, 200, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(234, 53, 200, 0); }
  100% { box-shadow: 0 0 0 0 rgba(234, 53, 200, 0); }
}
@keyframes pulseRing {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.55); opacity: 0; }
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(40px, 30px, 0) scale(1.12); }
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}
@keyframes scrollDown {
  0% { transform: translateY(0); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateY(30px); opacity: 0; }
}

/* ---------------- Responsive ---------------- */

@media (max-width: 1080px) {
  .hero-inner { gap: 40px; }
  .code-window__body { font-size: 0.72rem; }
  .float-card--status { right: -2%; }
  .float-card--brand { left: -2%; }
  .cta-grid { gap: 44px; }
}

@media (max-width: 900px) {
  .site-header { height: 76px; }
  .brand-tag { display: none; }

  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 24px 28px;
    background: rgba(20, 7, 27, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(10, 2, 16, 0.45);
    backdrop-filter: blur(20px);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  }
  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-link {
    padding: 14px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 1rem;
  }
  .nav-link::after { display: none; }
  .nav-cta { margin: 20px 0 0; }

  .hero {
    min-height: auto;
    padding: 140px 0 90px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .hero-copy { max-width: 720px; }
  .hero-visual { min-height: 380px; max-width: 560px; width: 100%; margin-inline: auto; }
  .scroll-hint { display: none; }

  .section { padding: 84px 0; }
  .section-head__row { grid-template-columns: 1fr; gap: 22px; }
  .section-intro { max-width: 640px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-list { grid-template-columns: repeat(3, 1fr); gap: 34px 20px; }
  .process-list::before { display: none; }
  .purpose-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-grid { grid-template-columns: 1fr; }
  .contact-card { max-width: 520px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 36px, 1180px); }
  .hero { padding: 126px 0 80px; }
  .hero h1 { font-size: clamp(2.15rem, 9vw, 2.9rem); }
  .hero-actions .btn { width: 100%; }
  .hero-facts { gap: 10px 18px; }
  .hero-visual { min-height: 330px; }
  .code-window { transform: none; }
  .code-window__body { font-size: 0.62rem; }
  .code-line { gap: 10px; }
  .ln { width: 24px; }
  .float-card { padding: 10px 12px; }
  .float-card--status { top: 0; right: 0; }
  .float-card--brand { bottom: 0; left: 0; }
  .orbit--1 { width: 360px; height: 360px; }
  .orbit--2 { width: 470px; height: 470px; }

  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .services-grid { grid-template-columns: 1fr; }
  .process-list { grid-template-columns: 1fr; gap: 26px; }
  .process-step { display: grid; grid-template-columns: 56px 1fr; gap: 0 18px; text-align: left; }
  .process-step__marker { grid-row: 1 / span 2; margin: 0; }
  .process-step h3 { align-self: end; margin-bottom: 4px; }
  .process-note { margin-top: 42px; border-radius: 16px; text-align: left; }
  .purpose-card { padding: 32px 26px; }
  .statement { margin-top: 52px; }
  .values-head { margin-top: 70px; }
  .values-grid { grid-template-columns: 1fr; }
  .cta-section { padding: 80px 0; }
  .btn--xl { width: 100%; padding-inline: 20px; }
  .contact-card { padding: 28px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
  .wa-float__tip { display: none; }
}

/* ---------------- Accesibilidad ---------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
  .code-window { transform: none; }
}

@media print {
  .site-header,
  .wa-float,
  .scroll-hint,
  .hero-bg,
  .cta-glow,
  .dark-glow { display: none !important; }
  body { color: #000; }
}
