/* Version: 2.10.3 */
@import url("./variables.css");
*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
html,
body { margin: 0; padding: 0; }
body {
  font-family: "DM Sans", sans-serif;
  background: var(--color-bg);
  color: #f5f8ff;
  line-height: 1.5;
  position: relative;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(27, 111, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 111, 255, 0.03) 1px, transparent 1px);
  background-size: 52px 52px;
}
body.is-loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }

.page-loader { position: fixed; inset: 0; z-index: 10000; background: transparent; overflow: hidden; pointer-events: auto; }
.page-loader__curtain {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50.5%;
  background: #020308;
  z-index: 1;
  transition: transform 0.52s cubic-bezier(0.65, 0, 0.35, 1);
}
.page-loader__curtain--top {
  top: 0;
  transform: translateY(0);
  border-bottom: 1px solid rgba(27, 111, 255, 0.08);
}
.page-loader__curtain--bottom {
  bottom: 0;
  transform: translateY(0);
  border-top: 1px solid rgba(27, 111, 255, 0.08);
}
.page-loader__curtain--open-top { transform: translateY(-100%); }
.page-loader__curtain--open-bottom { transform: translateY(100%); }
.page-loader__stage {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
  gap: 1.35rem;
  transition: opacity 0.35s ease;
}
.page-loader__stage--fade-out { opacity: 0; pointer-events: none; }
.page-loader__circle-outer {
  position: relative;
  display: grid;
  place-items: center;
  padding: clamp(28px, 6vw, 48px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27, 111, 255, 0.06) 0%, transparent 68%);
  box-shadow:
    0 0 120px 40px rgba(27, 111, 255, 0.14),
    0 0 220px 80px rgba(27, 111, 255, 0.06);
}
.page-loader__circle {
  width: min(360px, 82vw);
  height: min(360px, 82vw);
  max-width: 420px;
  max-height: 420px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 32px);
  border: 2px solid rgba(61, 139, 255, 0.55);
  box-shadow:
    0 0 0 1px rgba(27, 111, 255, 0.35),
    0 0 48px 12px rgba(27, 111, 255, 0.55),
    0 0 96px 32px rgba(61, 139, 255, 0.35),
    inset 0 0 50px rgba(27, 111, 255, 0.12);
  background: radial-gradient(circle at 42% 32%, rgba(27, 111, 255, 0.18), rgba(2, 3, 8, 0.92) 52%, #020308 100%);
}
.page-loader__circle-outer--pulse { animation: page-loader-circle-outer-pulse 2.2s ease-in-out infinite; }
@keyframes page-loader-circle-outer-pulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 32px rgba(27, 111, 255, 0.35)); }
  50% { transform: scale(1.04); filter: drop-shadow(0 0 52px rgba(27, 111, 255, 0.55)); }
}
.page-loader__circle--flash { animation: page-loader-circle-flash 0.28s ease-out forwards; }
@keyframes page-loader-circle-flash {
  0% { filter: brightness(1); }
  35% { filter: brightness(2.4) drop-shadow(0 0 40px rgba(120, 185, 255, 0.95)); }
  100% { filter: brightness(1); }
}
.page-loader__brand { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.12em; text-align: center; }
.page-loader__circle-line {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 10vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: #4d9fff;
  text-shadow:
    0 0 20px rgba(27, 111, 255, 0.9),
    0 0 48px rgba(61, 139, 255, 0.65),
    0 0 72px rgba(27, 111, 255, 0.35);
}
.page-loader__circle-line--create {
  font-size: clamp(2rem, 8.5vw, 3.1rem);
  margin-top: 0.06em;
}
.page-loader__hint {
  margin: 0;
  font-size: 0.8125rem;
  color: #8b96ad;
  letter-spacing: 0.04em;
}
.page-loader__dots { display: inline-block; min-width: 1.1em; }
.page-loader__progress { width: min(440px, 90vw); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.page-loader__pct {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  font-weight: 500;
  color: #7bb0ff;
  letter-spacing: 0.06em;
}
.page-loader__progress--bottom {
  position: absolute;
  left: 50%;
  bottom: clamp(20px, 4vh, 40px);
  transform: translateX(-50%);
}
.page-loader__progress-track {
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: rgba(27, 111, 255, 0.14);
  overflow: hidden;
}
.page-loader__progress-fill {
  position: relative;
  height: 100%;
  width: 0%;
  border-radius: 2px;
  background: linear-gradient(90deg, #1560dd, #1b6fff, #5aa3ff);
  transition: width 0.08s linear;
  overflow: hidden;
}
.page-loader__progress-shine {
  position: absolute;
  top: 0;
  left: 0;
  width: 42%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  animation: page-loader-shine 0.95s linear infinite;
  pointer-events: none;
}
@keyframes page-loader-shine {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(320%); }
}
.page-loader__sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.custom-cursor { position: fixed; inset: 0; z-index: 9998; pointer-events: none; }
.custom-cursor__dot { position: absolute; left: 0; top: 0; width: 6px; height: 6px; margin: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 6px rgba(255,255,255,.5); will-change: transform; }
.custom-cursor__halo { position: absolute; left: 0; top: 0; width: 38px; height: 38px; margin: 0; border-radius: 50%; border: 2px solid rgba(27,111,255,.45); box-shadow: 0 0 16px rgba(27,111,255,.25); will-change: transform; transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1), height 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease, box-shadow 0.35s ease; }
.custom-cursor.is-hover .custom-cursor__halo { width: 54px; height: 54px; border-color: rgba(27,111,255,.65); box-shadow: 0 0 26px rgba(27,111,255,.4); }
body.is-cursor-enabled { cursor: none; }
body.is-cursor-enabled a, body.is-cursor-enabled button, body.is-cursor-enabled input, body.is-cursor-enabled textarea, body.is-cursor-enabled select, body.is-cursor-enabled label { cursor: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px clamp(16px, 4vw, 28px);
  background: rgba(8, 12, 18, 0.02);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease;
}
.site-header.is-scrolled {
  background: rgba(8, 12, 18, 0.82);
  border-bottom-color: transparent;
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(27, 111, 255, 0.55), rgba(61, 139, 255, 0.35), transparent);
  pointer-events: none;
  opacity: 0.85;
}
.logo { font-family: "Syne", sans-serif; font-weight: 700; letter-spacing: -.02em; }
.logo__text {
  background: linear-gradient(135deg, #1b6fff, #5aa3ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.site-nav { display: flex; gap: clamp(8px, 2vw, 18px); align-items: center; flex-wrap: wrap; }
.site-nav a { opacity: 0.92; transition: color 0.2s ease, opacity 0.2s ease; }
.site-nav a:hover { color: #7bb0ff; opacity: 1; }
.site-nav__lang-btn { border-radius: 999px; border: 1px solid rgba(61,139,255,.5); background: transparent; color: #f5f8ff; padding: 4px 10px; cursor: pointer; }
.site-nav__lang-btn.is-active { background: rgba(61,139,255,.25); }

.site-header__nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(61,139,255,.45);
  border-radius: 10px;
  background: rgba(16,23,37,.5);
  cursor: pointer;
}
.site-header__nav-toggle-bar { display: block; width: 24px; height: 2px; margin: 0 auto; border-radius: 1px; background: #1b6fff; box-shadow: 0 0 10px rgba(27, 111, 255, 0.45); transition: transform 0.28s ease, opacity 0.28s ease, background 0.2s ease; }
.site-header.is-open .site-header__nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.is-open .site-header__nav-toggle-bar:nth-child(2) { opacity: 0; }
.site-header.is-open .site-header__nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.section { width: min(1120px, 100%); max-width: 100%; margin: 0 auto; padding: 64px clamp(16px, 4vw, 24px); position: relative; overflow-x: hidden; box-sizing: border-box; }
.section-head,
.services-grid,
.profiles,
.stats-grid,
.contact-layout {
  position: relative;
  z-index: 1;
}
.hero {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: block;
  overflow: hidden;
}
.hero__inner {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: clamp(24px, 5vw, 48px);
  min-height: 100vh;
  min-height: 100dvh;
  width: min(1200px, 100%);
  max-width: 100%;
  margin: 0 auto;
  padding: clamp(88px, 14vh, 120px) clamp(16px, 4vw, 24px) clamp(100px, 18vh, 140px);
  box-sizing: border-box;
}
@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}
#hero-particles { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; z-index: 0; pointer-events: auto; }
.hero-visual-cluster { position: relative; display: grid; place-items: center; pointer-events: none; z-index: 0; min-height: min(48vmin, 360px); width: 100%; }
/* Hero — solo cubo 3D girando; esquinas con lenguajes; primer scroll: rotura + scroll a servicios */
.hero-holo--cube-only {
  position: relative;
  width: min(100%, 300px);
  height: min(88vw, 300px);
  max-width: min(88vw, 340px);
  max-height: min(88vw, 340px);
  display: grid;
  place-items: center;
}
@media (min-width: 900px) {
  .hero-holo--cube-only {
    width: 320px;
    height: 320px;
    max-width: 320px;
    max-height: 320px;
  }
}
.hero-holo__lang {
  position: absolute;
  z-index: 2;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(90, 163, 255, 0.42);
  pointer-events: none;
}
.hero-holo__lang--tl { top: 0; left: 0; }
.hero-holo__lang--tr { top: 0; right: 0; text-align: right; }
.hero-holo__lang--bl { bottom: 0; left: 0; }
.hero-holo__lang--br { bottom: 0; right: 0; text-align: right; }
.hero-holo__viewport {
  width: 72%;
  height: 72%;
  min-width: 200px;
  min-height: 200px;
  perspective: 920px;
  perspective-origin: 50% 48%;
}
.hero-neutron-core {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform-origin: 50% 50%;
}
.hero-neutron-core.hero-shatter-active .hero-holo__spin-inner {
  animation-play-state: paused;
}
.hero-holo__spin-inner {
  width: 100%;
  height: 100%;
  min-height: 180px;
  transform-style: preserve-3d;
  animation: hero-holo-spin-y 20s linear infinite;
}
@keyframes hero-holo-spin-y {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}
.hero-holo__cube {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 118px;
  height: 118px;
  transform-style: preserve-3d;
  transform: translate(-50%, -50%) rotateX(-12deg) rotateY(-20deg);
  z-index: 1;
  pointer-events: none;
  animation: hero-holo-cube-bob 5.5s ease-in-out infinite;
}
.hero-holo__cube--shatter {
  animation: hero-cube-shatter-pulse 0.14s ease-out forwards;
}
@keyframes hero-cube-shatter-pulse {
  to {
    filter: brightness(1.35);
    transform: translate(-50%, -50%) rotateX(-12deg) rotateY(-20deg) scale(1.06);
  }
}
.hero-holo__cube--gone {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  pointer-events: none;
}
.hero-holo-cube__face {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(61, 139, 255, 0.42);
  border-radius: 3px;
  background: linear-gradient(135deg, rgba(27, 111, 255, 0.08) 0%, rgba(8, 12, 20, 0.28) 100%);
  box-shadow:
    0 0 14px rgba(27, 111, 255, 0.12),
    inset 0 0 18px rgba(27, 111, 255, 0.05);
  backface-visibility: visible;
  transform-style: preserve-3d;
}
.hero-holo-cube__face--front { transform: translateZ(59px); }
.hero-holo-cube__face--back { transform: rotateY(180deg) translateZ(59px); }
.hero-holo-cube__face--right { transform: rotateY(90deg) translateZ(59px); }
.hero-holo-cube__face--left { transform: rotateY(-90deg) translateZ(59px); }
.hero-holo-cube__face--top { transform: rotateX(90deg) translateZ(59px); }
.hero-holo-cube__face--bottom { transform: rotateX(-90deg) translateZ(59px); }
.hero-holo-cube__face--front {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07) 0%, transparent 38%),
    linear-gradient(135deg, rgba(27, 111, 255, 0.16) 0%, rgba(8, 12, 20, 0.34) 100%);
}
.hero-holo__cube--shatter .hero-holo-cube__face--front {
  animation: hero-shatter-front 0.88s cubic-bezier(0.2, 0.75, 0.35, 1) forwards;
  animation-delay: 0.02s;
}
.hero-holo__cube--shatter .hero-holo-cube__face--back {
  animation: hero-shatter-back 0.88s cubic-bezier(0.2, 0.75, 0.35, 1) forwards;
  animation-delay: 0.05s;
}
.hero-holo__cube--shatter .hero-holo-cube__face--right {
  animation: hero-shatter-right 0.88s cubic-bezier(0.2, 0.75, 0.35, 1) forwards;
  animation-delay: 0.08s;
}
.hero-holo__cube--shatter .hero-holo-cube__face--left {
  animation: hero-shatter-left 0.88s cubic-bezier(0.2, 0.75, 0.35, 1) forwards;
  animation-delay: 0.04s;
}
.hero-holo__cube--shatter .hero-holo-cube__face--top {
  animation: hero-shatter-top 0.88s cubic-bezier(0.2, 0.75, 0.35, 1) forwards;
  animation-delay: 0.06s;
}
.hero-holo__cube--shatter .hero-holo-cube__face--bottom {
  animation: hero-shatter-bottom 0.88s cubic-bezier(0.2, 0.75, 0.35, 1) forwards;
  animation-delay: 0.07s;
}
@keyframes hero-holo-cube-bob {
  0%, 100% { transform: translate(-50%, -50%) rotateX(-12deg) rotateY(-20deg) translateZ(0); }
  50% { transform: translate(-50%, -50%) rotateX(-9deg) rotateY(-24deg) translateZ(9px); }
}
@keyframes hero-shatter-front {
  from {
    transform: translateZ(59px);
    opacity: 1;
    filter: blur(0);
  }
  to {
    transform: translateZ(59px) translate3d(18vw, -22vh, 200px) rotateX(72deg) rotateZ(48deg) scale(0.35);
    opacity: 0;
    filter: blur(3px);
  }
}
@keyframes hero-shatter-back {
  from {
    transform: rotateY(180deg) translateZ(59px);
    opacity: 1;
    filter: blur(0);
  }
  to {
    transform: rotateY(180deg) translateZ(59px) translate3d(-16vw, 18vh, 160px) rotateX(-40deg) rotateY(25deg) scale(0.3);
    opacity: 0;
    filter: blur(4px);
  }
}
@keyframes hero-shatter-right {
  from {
    transform: rotateY(90deg) translateZ(59px);
    opacity: 1;
  }
  to {
    transform: rotateY(90deg) translateZ(59px) translate3d(22vw, 8vh, 140px) rotateZ(60deg) scale(0.25);
    opacity: 0;
    filter: blur(3px);
  }
}
@keyframes hero-shatter-left {
  from {
    transform: rotateY(-90deg) translateZ(59px);
    opacity: 1;
  }
  to {
    transform: rotateY(-90deg) translateZ(59px) translate3d(-20vw, -12vh, 180px) rotateX(50deg) scale(0.28);
    opacity: 0;
    filter: blur(3px);
  }
}
@keyframes hero-shatter-top {
  from {
    transform: rotateX(90deg) translateZ(59px);
    opacity: 1;
  }
  to {
    transform: rotateX(90deg) translateZ(59px) translate3d(6vw, -28vh, 120px) rotateY(55deg) scale(0.22);
    opacity: 0;
    filter: blur(4px);
  }
}
@keyframes hero-shatter-bottom {
  from {
    transform: rotateX(-90deg) translateZ(59px);
    opacity: 1;
  }
  to {
    transform: rotateX(-90deg) translateZ(59px) translate3d(-8vw, 26vh, 100px) rotateZ(-35deg) scale(0.26);
    opacity: 0;
    filter: blur(3px);
  }
}
.hero__content { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; text-align: center; }
@media (min-width: 900px) {
  .hero__content { margin: 0; text-align: left; max-width: min(580px, 100%); justify-self: start; }
}
.hero__eyebrow {
  margin: 0 0 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8b96ad;
}
.hero__titles { display: flex; flex-direction: column; gap: 0.02em; margin-bottom: 16px; }
.hero__title-line {
  display: block;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: clamp(3.2rem, 12vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: #ffffff;
}
.hero__subtitle { font-size: clamp(1rem, 2.1vw, 1.25rem); color: #9ca8be; margin: 0 0 28px; line-height: 1.55; max-width: 42ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; }
@media (min-width: 900px) {
  .hero__actions { justify-content: flex-start; }
}
h1 { font-family: "Syne", sans-serif; font-size: clamp(2.8rem, 8vw, 6rem); margin: 0 0 10px; line-height: 1; letter-spacing: -.03em; }
.hero-stack-badge {
  position: absolute;
  right: clamp(12px, 3vw, 36px);
  bottom: clamp(72px, 12vh, 120px);
  z-index: 2;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(10, 15, 24, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(27, 111, 255, 0.22);
  max-width: min(320px, 88vw);
  pointer-events: none;
}
.hero-stack-badge__label {
  margin: 0 0 6px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: #1b6fff;
}
.hero-stack-badge__line {
  margin: 0;
  font-size: 0.8125rem;
  color: #c5d0e8;
  line-height: 1.45;
}
.hero-stack-badge__line--muted { margin-top: 6px; font-size: 0.72rem; color: #7f8aa0; letter-spacing: 0.06em; }
.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: clamp(20px, 4vh, 36px);
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  color: #7f8aa0;
}
.scroll-indicator__mouse {
  width: 22px;
  height: 34px;
  border: 2px solid rgba(27, 111, 255, 0.4);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
}
.scroll-indicator__wheel {
  width: 3px;
  height: 8px;
  border-radius: 2px;
  background: rgba(27, 111, 255, 0.75);
  animation: scroll-wheel 1.8s ease-in-out infinite;
}
@keyframes scroll-wheel {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(6px); opacity: 0.35; }
}
.scroll-indicator__text { font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; }
.section-head {
  max-width: 760px;
  margin: 0 0 clamp(36px, 5vw, 52px);
  padding: clamp(28px, 4.5vw, 48px) 0 clamp(16px, 2.5vw, 28px);
}
.section-head--stats {
  margin-bottom: clamp(28px, 4vw, 40px);
  padding-bottom: clamp(8px, 1.5vw, 16px);
}
#contacto > .section-head {
  max-width: none;
  margin-bottom: clamp(28px, 4vw, 40px);
}
.section--contact {
  padding-bottom: clamp(56px, 10vw, 88px);
}
.section-title {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: clamp(1.65rem, 5vw + 0.5rem, 3.25rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: #f5f8ff;
  margin: 0 0 clamp(12px, 1.8vw, 18px);
  word-break: break-word;
  overflow-wrap: anywhere;
}
.section-head--stats .section-title {
  margin-bottom: clamp(4px, 1vw, 10px);
}
.section-subtitle {
  margin: 0;
  max-width: 52ch;
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  line-height: 1.55;
  color: #a0aabd;
}
.section--stats { padding-top: 48px; padding-bottom: 48px; }
h3 { font-family: "Syne", sans-serif; margin: 0 0 8px; font-size: clamp(1.05rem, 2.6vw, 1.25rem); word-break: break-word; overflow-wrap: anywhere; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border-radius: 12px; padding: 10px 18px; border: 1px solid rgba(61,139,255,.45); cursor: pointer; font: inherit; }
.btn--primary { background: #1b6fff; border-color: #1b6fff; color: #fff; box-shadow: 0 4px 20px rgba(27, 111, 255, 0.25); }
.btn--primary:hover { background: #2d7bff; border-color: #2d7bff; }
.btn--outline { background: transparent; border-color: rgba(27, 111, 255, 0.65); color: #e8eefc; }
.btn--outline:hover { border-color: #3d8bff; color: #fff; background: rgba(27, 111, 255, 0.08); }
.btn--with-arrow .btn__arrow { flex-shrink: 0; transition: transform 0.22s ease; }
.btn--with-arrow:hover .btn__arrow { transform: translateX(3px); }

.section-divider { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 2.5vw, 20px); padding-block: clamp(1rem, 2.5vw, 1.65rem); width: min(640px, 100%); max-width: 100%; margin: 0 auto; padding-inline: clamp(12px, 4vw, 20px); box-sizing: border-box; }
.section-divider__line { flex: 1 1 0; min-width: 0; height: 1px; overflow: hidden; border-radius: 1px; }
.section-divider__line--b { display: flex; justify-content: flex-end; }
.section-divider__line-fill { display: block; height: 100%; width: 0; border-radius: 1px; background: rgba(27,111,255,.3); transition: width 800ms cubic-bezier(0, 0, 0.2, 1); }
.section-divider--drawn .section-divider__line-fill { width: 100%; }
.section-divider__dot { width: 6px; height: 6px; flex-shrink: 0; border-radius: 50%; background: #1b6fff; animation: section-divider-dot-pulse 2.4s ease-in-out infinite; }
@keyframes section-divider-dot-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(27,111,255,.4); } 50% { box-shadow: 0 0 16px 5px rgba(27,111,255,.32); } }

.service-card--fx-1 { opacity: 0; transform: translateX(-48px); transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1); }
.service-card--fx-2 { opacity: 0; transform: translateY(-56px); transition: opacity 0.68s cubic-bezier(0.22, 1, 0.36, 1), transform 0.68s cubic-bezier(0.22, 1, 0.36, 1); }
.service-card--fx-3 { opacity: 0; transform: translateX(48px); transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1); }
.service-card--fx-4 { opacity: 0; transform: translateY(56px); transition: opacity 0.68s cubic-bezier(0.22, 1, 0.36, 1), transform 0.68s cubic-bezier(0.22, 1, 0.36, 1); }
.service-card--fx-5 { opacity: 0; transform: perspective(900px) rotateY(90deg); transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1); transform-style: preserve-3d; }
.service-card--fx-6 { opacity: 0; transform: scale(0); transition: opacity 0.55s cubic-bezier(0.34, 1.45, 0.64, 1), transform 0.72s cubic-bezier(0.34, 1.45, 0.64, 1); }
.service-card--inview { opacity: 1; transform: none; }

.about-head--prep { opacity: 0; transform: translateX(-36px); transition: opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1), transform 0.72s cubic-bezier(0.22, 1, 0.36, 1); }
.about-head--inview { opacity: 1; transform: translateX(0); }
.profile-card--david { opacity: 0; transform: translate(-44px, 36px) rotate(-4deg); transition: opacity 0.78s cubic-bezier(0.22, 1, 0.36, 1), transform 0.78s cubic-bezier(0.22, 1, 0.36, 1); }
.profile-card--jon { opacity: 0; transform: translate(44px, 36px) rotate(4deg); transition: opacity 0.78s cubic-bezier(0.22, 1, 0.36, 1), transform 0.78s cubic-bezier(0.22, 1, 0.36, 1); }
.profile-card--inview { opacity: 1; transform: translate(0, 0) rotate(0deg); }
.profile-card__img--inview { transform: scale(1); }

.stats-card { opacity: 0; transform: translateY(48px); transition: opacity 0.62s cubic-bezier(0.34, 1.45, 0.64, 1), transform 0.72s cubic-bezier(0.34, 1.45, 0.64, 1); }
.stats-card--inview { opacity: 1; transform: translateY(0); }
.stats-value-word--inview { animation: stats-word-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.stats__value--infinity {
  display: block;
  font-family: "Syne", sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
  color: #fff;
  opacity: 0;
  transform: scale(0.65);
  transition: opacity 0.7s ease, transform 0.75s cubic-bezier(0.34, 1.45, 0.64, 1);
}
.stats-value-infinity--inview { opacity: 1; transform: scale(1); }
@keyframes stats-word-in { from { opacity: 0; transform: rotate(-12deg) scale(0.92); } to { opacity: 1; transform: rotate(0deg) scale(1); } }

.contact-intro--prep { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.contact-intro--inview { opacity: 1; transform: translateX(0); }
.contact-form-panel--prep { opacity: 0; transform: translateX(40px); transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.contact-form-panel--inview { opacity: 1; transform: translateX(0); }
.contact-field--prep { opacity: 0; transform: translateY(16px); transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1); }
.contact-field--inview { opacity: 1; transform: translateY(0); }

.footer-piece--prep { opacity: 0; transform: translateY(14px); transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.footer-piece--inview { opacity: 1; transform: translateY(0); }

.fx-card { position: relative; overflow: hidden; }
.fx-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.35s ease; background: radial-gradient(520px circle at var(--fx-spot-x, 50%) var(--fx-spot-y, 50%), rgba(61,139,255,.16), transparent 58%); }
.fx-card.is-fx-hover::after { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .service-card--fx-1, .service-card--fx-2, .service-card--fx-3, .service-card--fx-4, .service-card--fx-5, .service-card--fx-6,
  .about-head--prep, .profile-card--david, .profile-card--jon, .stats-card, .contact-intro--prep, .contact-form-panel--prep,
  .contact-field--prep, .footer-piece--prep { opacity: 1; transform: none; transition: none; }
  .profile-card__img { transform: none; transition: none; }
  .section-divider__line-fill { width: 100%; transition: none; }
  .section-divider__dot { animation: none; }
  .stats__value--word { opacity: 1; }
  .stats-value-word--inview { animation: none; }
  .stats__value--infinity { opacity: 1; transform: none; }
  .stats-value-infinity--inview { opacity: 1; transform: none; }
  .page-loader__dots { animation: none; }
  .page-loader__circle-outer--pulse { animation: none; }
  .page-loader__circle--flash { animation: none; }
  .page-loader__progress-shine { animation: none; }
  .page-loader__curtain { transition: none; }
  .scroll-indicator__wheel { animation: none; }
  .hero-holo__spin-inner { animation: none; transform: none; }
  .hero-holo__cube { animation: none; }
  .hero-holo__cube { transform: translate(-50%, -50%) rotateX(-12deg) rotateY(-20deg); }
  .hero-holo__cube--shatter .hero-holo-cube__face { animation: none !important; opacity: 1; filter: none; }
  .hero-holo__cube--shatter { animation: none !important; filter: none; transform: translate(-50%, -50%) rotateX(-12deg) rotateY(-20deg); }
}

.services-grid { perspective: 1400px; display: grid; grid-template-columns: repeat(1, minmax(0,1fr)); gap: 18px; }
.service-card {
  position: relative;
  border: 1px solid rgba(61, 139, 255, 0.14);
  background: rgba(16, 23, 37, 0.42);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 16px;
  padding: 20px 18px 20px;
  transform-style: preserve-3d;
  transition:
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease;
}
.service-card:hover {
  border-color: rgba(61, 139, 255, 0.55);
  box-shadow:
    0 0 0 1px rgba(27, 111, 255, 0.25),
    0 0 32px rgba(27, 111, 255, 0.18),
    inset 0 0 40px rgba(27, 111, 255, 0.04);
  background: rgba(16, 23, 37, 0.55);
}
.service-card__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  color: #1b6fff;
  display: grid;
  place-items: center;
}
.service-card__icon svg { width: 28px; height: 28px; }
.service-card h3 { color: #f5f8ff; margin-bottom: 10px; }
.service-card p { color: #9ca8be; margin: 0; font-size: 0.95rem; line-height: 1.5; }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }

.profiles { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 8px; }
@media (min-width: 768px) { .profiles { grid-template-columns: 1fr 1fr; } }
.profile-card {
  border: 1px solid rgba(61, 139, 255, 0.16);
  background: rgba(12, 18, 28, 0.75);
  border-radius: 18px;
  padding: 20px;
}
.profile-card--horizontal {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}
@media (min-width: 640px) {
  .profile-card--horizontal { grid-template-columns: auto 1fr; align-items: center; gap: 22px; }
}
.profile-card__media { flex-shrink: 0; }
.profile-card__img--round {
  width: 120px;
  height: 120px;
  max-width: none;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(27, 111, 255, 0.45);
  display: block;
  margin: 0 auto;
  transform: scale(0.3);
  transition: transform 0.85s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@media (min-width: 640px) {
  .profile-card__img--round { width: 132px; height: 132px; margin: 0; }
}
.profile-card__body h3 { font-size: clamp(1.35rem, 3vw, 1.6rem); margin: 0 0 6px; color: #fff; }
.profile-card__role {
  margin: 0 0 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1b6fff;
  letter-spacing: 0.02em;
}
.profile-card__bio { margin: 0 0 14px; color: #9ca8be; font-size: 0.95rem; line-height: 1.55; }
.profile-card__tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.profile-card__tags li {
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(27, 111, 255, 0.35);
  color: #7bb0ff;
  background: rgba(27, 111, 255, 0.08);
}

@media (max-width: 899px) {
  .site-header {
    z-index: 70;
  }
  .site-header__nav-toggle {
    display: inline-flex;
    position: relative;
    z-index: 80;
  }
  .site-nav {
    position: fixed;
    inset: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 4.5vh, 28px);
    padding: max(88px, 14vh) clamp(20px, 6vw, 32px) 32px;
    margin: 0;
    max-height: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 0;
    border: none;
    border-top: 1px solid rgba(61, 139, 255, 0.12);
    background: rgba(5, 7, 13, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: none;
    visibility: hidden;
    opacity: 0;
    transform: translateY(0);
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s;
    z-index: 60;
  }
  .site-header.is-open .site-nav {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
  .site-nav a {
    font-family: "Syne", sans-serif;
    font-weight: 700;
    font-size: clamp(1.35rem, 5.5vw, 2rem);
    letter-spacing: -0.02em;
    padding: 10px 16px;
    text-align: center;
  }
  .site-nav__lang-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: clamp(12px, 3vh, 24px);
  }
  .site-nav__lang-btn {
    font-size: clamp(0.95rem, 3vw, 1.05rem);
    padding: 10px 22px;
    margin-top: 0;
  }
}
@media (min-width: 900px) {
  .site-nav__lang-row {
    display: contents;
  }
}

.stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
@media (min-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
}
.stats-card {
  border: 1px solid rgba(61, 139, 255, 0.14);
  background: rgba(16, 23, 37, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 14px;
  padding: 18px 14px;
  text-align: center;
}
.stats__value { display: block; font-family: "JetBrains Mono", monospace; font-size: clamp(1.4rem, 3vw, 2rem); color: #fff; }
.stats__value--word { font-family: "Syne", sans-serif; opacity: 0; }
.stats__label { color: #aab5ca; font-size: .88rem; line-height: 1.35; }

.contact-layout { display: grid; grid-template-columns: 1fr; gap: clamp(20px, 4vw, 32px); align-items: start; }
.contact-panel {
  border: 1px solid rgba(61, 139, 255, 0.12);
  background: rgba(12, 16, 26, 0.55);
  border-radius: 14px;
  padding: clamp(20px, 3.5vw, 28px);
  min-width: 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.contact-panel--intro {
  border-color: rgba(61, 139, 255, 0.1);
  background: rgba(12, 16, 26, 0.4);
}
.contact-panel--form {
  border-color: rgba(61, 139, 255, 0.12);
  background: rgba(12, 16, 26, 0.58);
}
.contact-badge {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  font-weight: 500;
  color: #7bb0ff;
  border: 1px solid rgba(61, 139, 255, 0.22);
  border-radius: 999px;
  padding: 6px 14px;
  letter-spacing: 0.1em;
}
.contact-mail-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid rgba(61, 139, 255, 0.22);
  color: #e8eefc;
  font-size: 0.9rem;
  transition: border-color 0.2s ease, background 0.2s ease;
  max-width: 100%;
  box-sizing: border-box;
  word-break: break-word;
}
.contact-mail-btn span {
  overflow-wrap: anywhere;
}
.contact-mail-btn:hover { border-color: rgba(61, 139, 255, 0.45); background: rgba(27, 111, 255, 0.06); }
.contact-mail-btn__icon { flex-shrink: 0; color: #5aa3ff; }
.contact-response { margin: 18px 0 0; font-size: 0.875rem; color: #8b96ad; line-height: 1.5; }
.contact-follow { margin: 28px 0 12px; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: #6d7a92; }
.contact-social { display: flex; gap: 16px; align-items: center; }
.contact-social__link {
  display: grid;
  place-items: center;
  color: #8eb0d4;
  opacity: 0.88;
  transition: color 0.2s ease, opacity 0.2s ease;
}
.contact-social__link:hover { color: #c5d8f0; opacity: 1; }
.contact-form { display: grid; gap: clamp(16px, 2.5vw, 22px); position: relative; }
.contact-form__title { margin: 0 0 8px; font-size: clamp(1.05rem, 2.8vw, 1.2rem); color: #f5f8ff; word-break: break-word; }
.contact-form__subtitle { margin: 0 0 8px; color: #9ca8be; font-size: 0.9rem; line-height: 1.5; }
.row { display: grid; gap: 14px; grid-template-columns: 1fr; }
.contact-form__row--stack {
  gap: clamp(16px, 2.5vw, 22px);
}
@media (min-width: 768px) {
  .contact-layout { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr); gap: 28px; }
  .row:not(.contact-form__row--stack) { grid-template-columns: 1fr 1fr; }
  .contact-form__row--stack { grid-template-columns: 1fr; }
}
#contacto label { display: block; margin-bottom: 8px; color: #9ca8be; font-size: 0.875rem; }
#contacto input,
#contacto textarea,
#contacto select {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(61, 139, 255, 0.18);
  background: rgba(10, 14, 22, 0.9);
  color: #f5f8ff;
  padding: 12px 14px;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
#contacto input:hover,
#contacto textarea:hover,
#contacto select:hover { border-color: rgba(61, 139, 255, 0.28); }
#contacto input:focus,
#contacto textarea:focus,
#contacto select:focus {
  outline: none;
  border-color: rgba(27, 111, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(27, 111, 255, 0.08);
}
#contacto textarea { min-height: 140px; resize: vertical; }
small { color: #7f8aa0; }
.error { color: #ff7c7c; margin: 6px 0 0; font-size: .85rem; }
.is-invalid { border-color: #ff6b6b !important; }
.contact-form__field--gotcha { position: absolute; left: -9999px; top: 0; opacity: 0; width: 1px; height: 1px; overflow: hidden; }
.contact-form__spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.25); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
#form-status.is-success { background: rgba(27,111,255,.15); border: 1px solid rgba(61,139,255,.45); padding: 10px; border-radius: 10px; }
#form-status.is-error { background: rgba(255,85,85,.12); border: 1px solid rgba(255,85,85,.45); padding: 10px; border-radius: 10px; }

.site-footer {
  border-top: 1px solid rgba(61, 139, 255, 0.15);
  padding: 36px clamp(16px, 4vw, 40px) 28px;
  background: #05070d;
  position: relative;
  overflow-x: hidden;
}
.site-footer__top {
  display: grid;
  gap: 24px;
  align-items: start;
  margin-bottom: 28px;
}
@media (min-width: 900px) {
  .site-footer__top {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
  }
  .site-footer__nav { justify-content: center; }
  .site-footer__legal { justify-self: end; text-align: right; }
}
@media (max-width: 899px) {
  .site-footer__top {
    justify-items: center;
    text-align: center;
  }
  .site-footer__brand-block {
    max-width: 100%;
  }
  .site-footer__tagline {
    max-width: 36ch;
    margin-left: auto;
    margin-right: auto;
  }
  .site-footer__nav {
    justify-content: center;
    width: 100%;
    max-width: 100%;
  }
  .site-footer__legal {
    justify-content: center;
    width: 100%;
  }
  .site-footer__copy {
    text-align: center;
  }
}
.site-footer__brand-block { min-width: 0; }
.site-footer__brand {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  background: linear-gradient(135deg, #1b6fff, #5aa3ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.site-footer__tagline { margin: 8px 0 0; font-size: 0.88rem; color: #8b96ad; max-width: 28ch; line-height: 1.45; }
.site-footer__nav { display: flex; gap: 14px; flex-wrap: wrap; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; }
.site-footer__legal button {
  background: transparent;
  border: 0;
  color: #c5d0e8;
  cursor: pointer;
  padding: 0;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.site-footer__legal button:hover { color: #fff; }
.site-footer__copy { color: #6d7a92; font-size: 0.85rem; margin: 0; padding-top: 8px; border-top: 1px solid rgba(27, 111, 255, 0.1); }

.privacy-modal { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.7); display: grid; place-items: center; padding: 20px; }
.privacy-modal[hidden] { display: none; }
.privacy-modal__dialog {
  max-width: 680px;
  width: 100%;
  max-height: min(85vh, 720px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #101725;
  border: 1px solid rgba(61,139,255,.35);
  border-radius: 14px;
  padding: clamp(16px, 4vw, 24px);
  color: #f5f8ff;
  box-sizing: border-box;
}
.privacy-modal__dialog h2 { color: #f5f8ff; }
.privacy-modal__dialog p { color: #e8eefc; line-height: 1.55; margin: 0 0 12px; font-size: clamp(0.875rem, 2.5vw, 0.95rem); }

body.ui-nav-flash { animation: ui-nav-flash 0.42s ease-out; }
@keyframes ui-nav-flash { from { filter: brightness(1.12); } to { filter: brightness(1); } }
