/* Trilogic — look formal / limpio (confianza comercial) */

:root {
  --volt: #1e5aab;
  --volt-soft: #5b8fd4;
  --ink: #0e1a28;
  --paper: #f7f8fb;
  --surface: #ffffff;
  --mist: #eef2f7;
  --muted: #5c6b7c;
  --line: #dde5ee;
  --ink-soft: #162536;
  --ink-deep: #070f18;
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-soft: 0.55s;
  --dur-med: 0.4s;
  /* Hover unificado (misma familia azul) */
  --hover-blue: #2a6fc0;
  --hover-blue-soft: #c5dbf2;
  --hover-blue-text: #d7e8f8;
  --hover-blue-link: #9ec4ef;
  --hover-blue-ring: rgba(91, 143, 212, 0.45);
}

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

.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;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", sans-serif;
}

body.menu-open {
  overflow: hidden;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

/* ——— Header (sobre hero volt) ——— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
  color: #fff;
}

.site-header.is-scrolled {
  background: rgba(12, 27, 42, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.site-header__inner {
  margin: 0 auto;
  display: flex;
  max-width: 72rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
}

@media (min-width: 768px) {
  .site-header__inner {
    padding: 0.95rem 2rem;
  }
}

@media (min-width: 1280px) {
  .site-header__inner {
    max-width: 80rem;
    padding: 0.95rem clamp(2.5rem, 4vw, 4rem);
  }
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0;
  color: #fff;
  text-decoration: none;
}

.brand__mark {
  width: auto;
  height: 2.85rem;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
  filter: none;
  transition:
    filter 0.45s ease,
    opacity 0.45s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.brand__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
  min-width: 0;
}

.brand__name {
  font-family: "Syne", "Manrope", sans-serif;
  font-weight: 700;
  font-size: clamp(1.05rem, 2.4vw, 1.28rem);
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  color: #fff;
  background: none;
  -webkit-text-fill-color: unset;
  filter: none;
  transition: color 0.35s ease;
}

.brand__name-tri {
  color: #fff;
  transition: color 0.35s ease;
}

.brand__name-logic {
  color: #9ec4ef;
  transition: color 0.35s ease;
}

.brand__tagline {
  font-family: "Manrope", sans-serif;
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  line-height: 1.1;
  text-transform: none;
  color: rgba(255, 255, 255, 0.62);
  white-space: nowrap;
  transition: color 0.35s ease;
}

.brand:hover .brand__mark {
  transform: none;
  opacity: 0.92;
  filter: brightness(1.08) drop-shadow(0 0 10px rgba(158, 196, 239, 0.28));
}

.brand:hover .brand__name-tri {
  color: rgba(255, 255, 255, 0.92);
}

.brand:hover .brand__name-logic {
  color: var(--hover-blue-text);
}

.brand:hover .brand__tagline {
  color: rgba(255, 255, 255, 0.78);
}

.brand--footer {
  margin-left: 0;
  pointer-events: none;
}

.brand--footer .brand__mark {
  height: 2.6rem;
  transform: none !important;
  transition: none !important;
  filter: none !important;
  animation: none !important;
}

.brand--footer:hover .brand__mark {
  transform: none !important;
}

.brand--footer .brand__name {
  font-size: 1.15rem;
  letter-spacing: 0.18em;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-link {
  position: relative;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1.5px;
  background: var(--hover-blue-link);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-soft) var(--ease-premium);
}

.nav-link:hover {
  opacity: 1;
  color: #fff;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  position: relative;
  display: inline-flex;
  height: 2.45rem;
  width: 2.45rem;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 0.7rem;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.menu-toggle:hover {
  transform: translateY(-1px);
}

.menu-toggle:active {
  transform: translateY(1px);
}

.menu-toggle.is-open {
  background: #fff;
  color: var(--ink);
}

.menu-toggle__box {
  position: relative;
  display: block;
  width: 1rem;
  height: 0.78rem;
}

.menu-toggle__line {
  position: absolute;
  left: 0;
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.2s ease,
    top 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.35s ease;
}

.menu-toggle__line:nth-child(1) {
  top: 0;
}

.menu-toggle__line:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
  width: 70%;
}

.menu-toggle__line:nth-child(3) {
  top: calc(100% - 2px);
}

.menu-toggle.is-open .menu-toggle__line:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.menu-toggle.is-open .menu-toggle__line:nth-child(2) {
  opacity: 0;
  width: 0;
  transform: translateY(-50%);
}

.menu-toggle.is-open .menu-toggle__line:nth-child(3) {
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}

.mobile-menu {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--ink);
  animation: menu-drop 0.28s ease;
}

@keyframes menu-drop {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-menu.hidden {
  display: none;
}

.mobile-link {
  display: block;
  padding: 0.85rem 0.75rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  border-radius: 0.45rem;
  transition: opacity 0.2s ease, background-color 0.2s ease;
}

.mobile-link:hover {
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.08);
  transform: none;
}

/* ——— Buttons ——— */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 0.45rem;
  background: #fff;
  padding: 0.85rem 1.45rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
  min-height: 2.75rem;
  text-decoration: none;
  border: 1px solid #fff;
  letter-spacing: 0.01em;
  transition:
    background-color var(--dur-med) var(--ease-premium),
    color var(--dur-med) var(--ease-premium),
    border-color var(--dur-med) var(--ease-premium),
    box-shadow var(--dur-med) var(--ease-premium),
    transform var(--dur-med) var(--ease-premium);
}

.btn-arrow {
  display: inline-block;
  will-change: transform;
  transition: transform var(--dur-soft) var(--ease-premium);
}

.btn-primary:hover .btn-arrow,
.project-card:hover .project-link .btn-arrow {
  transform: translateX(3px);
}

.btn-primary:hover {
  background: var(--hover-blue-soft);
  border-color: var(--hover-blue-soft);
  color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(14, 26, 40, 0.16);
}

.btn-primary--wide {
  width: 100%;
  border-radius: 0.45rem;
  padding-top: 0.95rem;
  padding-bottom: 0.95rem;
}

.btn-primary--rect {
  border-radius: 0.45rem;
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.btn-primary--rect:hover {
  background: var(--hover-blue);
  border-color: var(--hover-blue);
  color: #fff;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  padding: 0.85rem 1.35rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  min-height: 2.75rem;
  text-decoration: none;
  transition:
    background-color var(--dur-med) var(--ease-premium),
    border-color var(--dur-med) var(--ease-premium);
}

.btn-ghost:hover {
  background: rgba(91, 143, 212, 0.14);
  border-color: var(--hover-blue-link);
  color: #fff;
  transform: none;
}

.btn-on-dark {
  background: var(--hover-blue);
  border-color: var(--hover-blue);
  color: #fff;
}

.btn-on-dark:hover {
  background: #3a7fd0;
  border-color: #3a7fd0;
  color: #fff;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 5.5rem 0 2rem;
  background: #01050c;
}

.hero-stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background: #01050c;
}

.hero-stage__void {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 48% 42% at 78% 45%, rgba(56, 130, 210, 0.55), transparent 68%),
    radial-gradient(ellipse 35% 40% at 20% 20%, rgba(20, 60, 110, 0.35), transparent 60%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(6, 20, 40, 0.95), transparent 55%),
    linear-gradient(125deg, #010409 0%, #04101d 40%, #071828 70%, #020810 100%);
}

/* Túnel de anillos hacia el horizonte */
.hero-stage__tunnel {
  position: absolute;
  right: -5%;
  top: 50%;
  width: min(95vw, 52rem);
  height: min(95vw, 52rem);
  transform: translateY(-52%) rotateX(12deg);
  transform-style: preserve-3d;
  perspective: 700px;
}

.hero-stage__ringlet {
  position: absolute;
  inset: 0;
  margin: auto;
  border-radius: 50%;
  border: 1.5px solid rgba(158, 196, 239, 0.22);
  box-shadow:
    0 0 24px rgba(42, 111, 192, 0.12),
    inset 0 0 24px rgba(91, 143, 212, 0.08);
  animation: hero-tunnel-rush 10s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.hero-stage__ringlet:nth-child(1) {
  width: 18%;
  height: 18%;
  animation-delay: 0s;
  border-color: rgba(215, 232, 248, 0.55);
}
.hero-stage__ringlet:nth-child(2) {
  width: 30%;
  height: 30%;
  animation-delay: -1.6s;
}
.hero-stage__ringlet:nth-child(3) {
  width: 44%;
  height: 44%;
  animation-delay: -3.2s;
}
.hero-stage__ringlet:nth-child(4) {
  width: 60%;
  height: 60%;
  animation-delay: -4.8s;
}
.hero-stage__ringlet:nth-child(5) {
  width: 78%;
  height: 78%;
  animation-delay: -6.4s;
}
.hero-stage__ringlet:nth-child(6) {
  width: 98%;
  height: 98%;
  animation-delay: -8s;
  opacity: 0.55;
}

/* Cintas líquidas 3D */
.hero-stage__ribbon {
  position: absolute;
  height: 42%;
  width: 120%;
  left: -10%;
  border-radius: 50%;
  filter: blur(0.5px);
  opacity: 0.55;
  mix-blend-mode: screen;
  transform-origin: center center;
}

.hero-stage__ribbon--a {
  top: 8%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(42, 111, 192, 0.05) 20%,
    rgba(120, 190, 255, 0.45) 48%,
    rgba(30, 90, 171, 0.2) 70%,
    transparent 100%
  );
  animation: hero-ribbon-a 12s ease-in-out infinite;
  filter: blur(18px);
}

.hero-stage__ribbon--b {
  top: 38%;
  height: 28%;
  background: linear-gradient(
    95deg,
    transparent 10%,
    rgba(158, 196, 239, 0.35) 40%,
    rgba(56, 140, 220, 0.5) 55%,
    transparent 85%
  );
  animation: hero-ribbon-b 15s ease-in-out infinite;
  filter: blur(22px);
  opacity: 0.4;
}

.hero-stage__ribbon--c {
  top: 62%;
  height: 34%;
  background: linear-gradient(
    110deg,
    transparent 0%,
    rgba(20, 70, 130, 0.35) 35%,
    rgba(100, 180, 240, 0.28) 60%,
    transparent 100%
  );
  animation: hero-ribbon-c 18s ease-in-out infinite;
  filter: blur(26px);
  opacity: 0.35;
}

.hero-stage__caustic {
  position: absolute;
  inset: 10% 5% 20% 35%;
  background:
    radial-gradient(ellipse 40% 30% at 30% 40%, rgba(180, 220, 255, 0.2), transparent 60%),
    radial-gradient(ellipse 35% 28% at 70% 55%, rgba(60, 140, 220, 0.25), transparent 65%),
    radial-gradient(ellipse 25% 20% at 50% 20%, rgba(255, 255, 255, 0.12), transparent 70%);
  filter: blur(28px);
  animation: hero-caustic-shift 11s ease-in-out infinite;
  mix-blend-mode: screen;
  opacity: 0.7;
}

.hero-stage__nodes {
  position: absolute;
  inset: 0;
}

.hero-stage__nodes i {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d7e8f8;
  box-shadow:
    0 0 12px rgba(158, 196, 239, 0.9),
    0 0 28px rgba(42, 111, 192, 0.55);
  animation: hero-node-pulse 3.5s ease-in-out infinite;
}

.hero-stage__nodes i:nth-child(1) { top: 22%; left: 58%; animation-delay: 0s; }
.hero-stage__nodes i:nth-child(2) { top: 34%; left: 72%; width: 5px; height: 5px; animation-delay: -0.4s; }
.hero-stage__nodes i:nth-child(3) { top: 48%; left: 64%; animation-delay: -0.8s; }
.hero-stage__nodes i:nth-child(4) { top: 58%; left: 80%; width: 6px; height: 6px; animation-delay: -1.2s; }
.hero-stage__nodes i:nth-child(5) { top: 28%; left: 88%; width: 4px; height: 4px; animation-delay: -1.6s; }
.hero-stage__nodes i:nth-child(6) { top: 68%; left: 70%; animation-delay: -2s; }
.hero-stage__nodes i:nth-child(7) { top: 18%; left: 70%; width: 5px; height: 5px; animation-delay: -2.4s; }
.hero-stage__nodes i:nth-child(8) { top: 42%; left: 90%; width: 4px; height: 4px; animation-delay: -2.8s; }

.hero-stage__nodes::before {
  content: "";
  position: absolute;
  inset: 16% 8% 24% 52%;
  background:
    linear-gradient(125deg, transparent 40%, rgba(158, 196, 239, 0.25) 40%, rgba(158, 196, 239, 0.25) 40.6%, transparent 40.6%),
    linear-gradient(40deg, transparent 45%, rgba(91, 143, 212, 0.2) 45%, rgba(91, 143, 212, 0.2) 45.5%, transparent 45.5%),
    linear-gradient(160deg, transparent 50%, rgba(120, 180, 235, 0.18) 50%, rgba(120, 180, 235, 0.18) 50.5%, transparent 50.5%);
  opacity: 0.7;
  mask-image: radial-gradient(ellipse at 60% 45%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 45%, #000 20%, transparent 75%);
  animation: hero-caustic-shift 14s ease-in-out infinite reverse;
}

.hero-stage__flare {
  position: absolute;
  right: 18%;
  top: 36%;
  width: min(36vw, 18rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.55) 0%, rgba(140, 200, 255, 0.35) 18%, transparent 55%);
  filter: blur(6px);
  mix-blend-mode: screen;
  animation: hero-flare-breathe 6s ease-in-out infinite;
}

.hero-stage__dust {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 24%, rgba(255, 255, 255, 0.65), transparent),
    radial-gradient(1px 1px at 28% 60%, rgba(158, 196, 239, 0.55), transparent),
    radial-gradient(1.5px 1.5px at 48% 18%, rgba(255, 255, 255, 0.45), transparent),
    radial-gradient(1px 1px at 66% 42%, rgba(120, 180, 235, 0.6), transparent),
    radial-gradient(1.5px 1.5px at 82% 30%, rgba(255, 255, 239, 0.4), transparent),
    radial-gradient(1px 1px at 90% 68%, rgba(158, 196, 239, 0.5), transparent),
    radial-gradient(1px 1px at 18% 78%, rgba(120, 180, 235, 0.4), transparent);
  animation: hero-dust-rise 18s linear infinite;
  opacity: 0.55;
}

.hero-stage__vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 68% 62% at 58% 42%, transparent 15%, rgba(1, 4, 10, 0.78) 100%),
    linear-gradient(90deg, rgba(1, 4, 10, 0.62) 0%, transparent 42%),
    linear-gradient(180deg, rgba(1, 4, 10, 0.4) 0%, transparent 28%, rgba(1, 4, 10, 0.55) 100%);
}

@keyframes hero-tunnel-rush {
  0% {
    transform: scale(0.35);
    opacity: 0.9;
  }
  70% {
    opacity: 0.45;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

@keyframes hero-ribbon-a {
  0%,
  100% {
    transform: rotate(-18deg) skewX(-12deg) translateX(0);
  }
  50% {
    transform: rotate(-14deg) skewX(-8deg) translateX(4%);
  }
}

@keyframes hero-ribbon-b {
  0%,
  100% {
    transform: rotate(8deg) skewX(18deg) translateX(0);
  }
  50% {
    transform: rotate(12deg) skewX(12deg) translateX(-3%);
  }
}

@keyframes hero-ribbon-c {
  0%,
  100% {
    transform: rotate(-6deg) skewX(-20deg) translateX(0);
  }
  50% {
    transform: rotate(-2deg) skewX(-14deg) translateX(3%);
  }
}

@keyframes hero-caustic-shift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.55;
  }
  50% {
    transform: translate(-3%, 2%) scale(1.08);
    opacity: 0.85;
  }
}

@keyframes hero-node-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.55;
  }
  50% {
    transform: scale(1.45);
    opacity: 1;
  }
}

@keyframes hero-flare-breathe {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.12);
  }
}

@keyframes hero-dust-rise {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-36px);
  }
}

@media (min-width: 768px) {
  .hero {
    min-height: 88svh;
    padding: 7rem 0 3.5rem;
  }
}

@media (min-width: 1280px) {
  .hero {
    min-height: 90svh;
    padding: 7.5rem 0 4rem;
  }
}

.hero-grid {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  display: grid;
  max-width: 72rem;
  align-items: end;
  gap: 1.25rem;
  padding: 0 1.25rem;
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    padding: 0 2rem;
    align-items: center;
    min-height: calc(88svh - 10.5rem);
  }

  .hero-visual {
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    margin-bottom: 0;
  }

  .hero-illustration {
    max-width: none;
    width: 100%;
    margin-left: auto;
    margin-right: 0;
    transform-origin: right center;
    --hero-scale: 1.04;
  }
}

@media (min-width: 1280px) {
  .hero-grid {
    max-width: 80rem;
    padding: 0 clamp(2.5rem, 4vw, 4rem);
    gap: 1.25rem;
    grid-template-columns: 1fr 1fr;
    overflow: visible;
  }

  .hero-visual {
    justify-content: flex-end;
    width: 100%;
    overflow: visible;
  }

  .hero-illustration {
    max-width: none;
    width: 100%;
    margin-right: 0;
    margin-left: auto;
    transform-origin: right center;
    --hero-scale: 1.06;
  }
}

.hero-title {
  font-family: "Plus Jakarta Sans", "Manrope", sans-serif;
  font-weight: 800;
  font-size: clamp(2.35rem, 6.8vw, 4.2rem);
  line-height: 1.03;
  letter-spacing: -0.028em;
  text-transform: uppercase;
  margin: 0;
  max-width: 11.5ch;
  color: #fff;
}

.hero-kicker {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hover-blue-link);
}

@media (min-width: 1280px) {
  .hero-title {
    font-size: clamp(3.15rem, 4.9vw, 4.9rem);
    line-height: 1;
    letter-spacing: -0.03em;
  }
}

.hero-title__accent {
  color: var(--hover-blue-text);
  -webkit-text-stroke: 0;
  text-shadow: none;
}

.hero-copy {
  margin: 1.1rem 0 0;
  max-width: 30rem;
  font-size: 1.02rem;
  line-height: 1.6;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.86);
}

@media (min-width: 1280px) {
  .hero-copy {
    font-size: 1.12rem;
    max-width: 34rem;
  }
}

.hero-actions {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-trust {
  margin: 1.4rem 0 0;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.58);
  text-transform: none;
}

@media (min-width: 1280px) {
  .hero-trust {
    font-size: 0.88rem;
    margin-top: 1.8rem;
  }
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-bottom: -0.25rem;
  overflow: visible;
  isolation: isolate;
}

.hero-visual::before {
  content: "";
  position: absolute;
  right: 4%;
  bottom: 4%;
  width: 70%;
  height: 55%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(91, 143, 212, 0.45), transparent 70%);
  filter: blur(32px);
  z-index: 0;
  animation: hero-flare-breathe 8s ease-in-out infinite;
}

.hero-illustration {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 42rem;
  --hero-scale: 1;
  transform-origin: center right;
  filter:
    drop-shadow(0 32px 48px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 28px rgba(42, 111, 192, 0.35));
  animation: float-y 7s ease-in-out infinite;
}

@keyframes float-y {
  0%,
  100% {
    transform: translateY(0) scale(var(--hero-scale, 1));
  }
  50% {
    transform: translateY(-8px) scale(var(--hero-scale, 1));
  }
}

.rocket-float {
  animation: float-card 4s ease-in-out infinite;
}

.float-card-alt {
  animation: float-card-alt 4.8s ease-in-out infinite;
}

.hero-phone {
  animation: phone-bob 5.2s ease-in-out infinite;
  transform-origin: center bottom;
}

@keyframes float-card {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(4px, -10px);
  }
}

@keyframes float-card-alt {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-3px, -8px);
  }
}

@keyframes phone-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.node-pulse {
  animation: node-pulse 2.5s ease-in-out infinite;
}

@keyframes node-pulse {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
}

.hero-illustration .node-pulse:nth-of-type(2) {
  animation-delay: -0.8s;
}

.hero-illustration .node-pulse:nth-of-type(3) {
  animation-delay: -1.5s;
}

/* ——— Section commons ——— */
.section {
  position: relative;
  padding: 4.5rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 6rem 0;
  }
}

.section--dark {
  background: var(--ink);
  color: #fff;
}

.section--mist {
  background: var(--mist);
  color: var(--ink);
}

.section-inner {
  margin: 0 auto;
  max-width: 72rem;
  padding: 0 1.25rem;
}

@media (min-width: 768px) {
  .section-inner {
    padding: 0 2rem;
  }
}

.section-label {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hover-blue-link);
}

.section-title {
  margin: 0;
  font-family: "Syne", "Manrope", sans-serif;
  font-weight: 700;
  font-size: clamp(1.65rem, 3.6vw, 2.45rem);
  line-height: 1.18;
  letter-spacing: -0.018em;
  text-transform: none;
  max-width: 20ch;
}

.section-lead {
  margin: 0.85rem 0 0;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.section--mist .section-label {
  color: var(--volt);
}

.section--mist .section-lead {
  color: var(--muted);
}

.section-head {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .section-head--split {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: end;
    justify-content: space-between;
  }

  .section-head--split .section-lead {
    margin: 0;
    text-align: right;
    justify-self: end;
  }
}

/* ——— Services cards ——— */
.services-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
    margin-top: 3rem;
  }
}

.service-card {
  --svc-accent: #1e5aab;
  --svc-accent-soft: #5b8fd4;
  --svc-wash: rgba(30, 90, 171, 0.1);
  --svc-ink: #0e1a28;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 26rem;
  border-radius: 0.85rem;
  padding: 1.55rem 1.4rem 1.45rem;
  color: var(--svc-ink);
  isolation: isolate;
  background:
    linear-gradient(165deg, #ffffff 0%, #f7f8fb 55%, #f0f4f9 100%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 14px 32px rgba(7, 15, 24, 0.18);
  transition:
    transform var(--dur-soft) var(--ease-premium),
    box-shadow var(--dur-soft) var(--ease-premium),
    border-color var(--dur-soft) var(--ease-premium);
}

.service-card--b {
  --svc-accent: #164878;
  --svc-accent-soft: #4a7fb8;
  --svc-wash: rgba(22, 72, 120, 0.1);
}

.service-card--c {
  --svc-accent: #2a6fc0;
  --svc-accent-soft: #7aa9db;
  --svc-wash: rgba(42, 111, 192, 0.11);
}

.service-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.1rem;
  bottom: 1.1rem;
  width: 3px;
  border-radius: 0 0.35rem 0.35rem 0;
  background: linear-gradient(
    180deg,
    var(--svc-accent-soft),
    var(--svc-accent) 55%,
    transparent
  );
  z-index: 2;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(90% 70% at 100% 0%, var(--svc-wash), transparent 58%),
    radial-gradient(70% 55% at 0% 100%, rgba(14, 26, 40, 0.035), transparent 55%);
}

.service-card__mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(20, 53, 82, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 53, 82, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(160deg, rgba(0, 0, 0, 0.45), transparent 72%);
}

.service-card__index {
  position: absolute;
  right: -0.1rem;
  bottom: -0.45rem;
  z-index: 0;
  font-family: "Plus Jakarta Sans", "Syne", sans-serif;
  font-weight: 800;
  font-size: clamp(5rem, 9vw, 6.4rem);
  line-height: 0.85;
  letter-spacing: -0.07em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(14, 26, 40, 0.06);
  pointer-events: none;
  user-select: none;
  transition: -webkit-text-stroke-color var(--dur-soft) ease;
}

.service-card > *:not(.service-card__mesh):not(.service-card__index) {
  position: relative;
  z-index: 1;
}

.service-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-left: 0.45rem;
}

.service-card__eyebrow {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--svc-accent);
}

.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 0.55rem;
  background: #fff;
  border: 1px solid rgba(20, 53, 82, 0.08);
  color: var(--svc-accent);
  box-shadow: 0 6px 14px rgba(14, 26, 40, 0.06);
  transition:
    border-color var(--dur-soft) var(--ease-premium),
    box-shadow var(--dur-soft) var(--ease-premium),
    color var(--dur-soft) var(--ease-premium),
    background-color var(--dur-soft) var(--ease-premium);
}

.service-card__icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.service-card__title {
  margin: 0;
  padding-left: 0.45rem;
  font-family: "Syne", "Manrope", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.22;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--svc-ink);
  max-width: 12ch;
}

.service-card__text {
  margin: 0.75rem 0 0;
  padding-left: 0.45rem;
  padding-right: 0.25rem;
  font-size: 0.94rem;
  line-height: 1.62;
  color: rgba(14, 26, 40, 0.68);
}

.service-card__list {
  margin: 0.85rem 0 0;
  padding: 0 0 0 1.35rem;
  list-style: none;
  display: grid;
  gap: 0.35rem;
  flex: 1;
}

.service-card__list li {
  position: relative;
  font-size: 0.84rem;
  line-height: 1.4;
  font-weight: 600;
  color: rgba(14, 26, 40, 0.72);
}

.service-card__list li::before {
  content: "";
  position: absolute;
  left: -0.85rem;
  top: 0.45em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--svc-accent);
  opacity: 0.75;
}

.service-card__btn {
  margin-top: 1.4rem;
  margin-left: 0.45rem;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 0.45rem;
  background: var(--ink);
  color: #fff;
  padding: 0.78rem 1.15rem;
  min-height: 2.65rem;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid var(--ink);
  box-shadow: 0 6px 14px rgba(14, 26, 40, 0.12);
  transition:
    background-color var(--dur-soft) var(--ease-premium),
    border-color var(--dur-soft) var(--ease-premium),
    box-shadow var(--dur-soft) var(--ease-premium);
}

.service-card__btn:focus {
  outline: none;
}

.service-card__btn:focus-visible {
  outline: 2px solid var(--hover-blue-link);
  outline-offset: 2px;
}

/* ——— Projects ——— */
.projects-carousel {
  margin-top: 2.5rem;
}

.projects-carousel__viewport {
  overflow: hidden;
}

.projects-grid {
  display: flex;
  width: 100%;
  gap: 0.85rem;
  will-change: transform;
  transition: transform 0.55s var(--ease-premium);
}

.projects-grid.is-empty {
  display: block;
}

.projects-empty {
  margin: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
}

.projects-slide {
  flex: 0 0 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

@media (min-width: 1024px) {
  .projects-grid {
    gap: 1.15rem;
  }

  .projects-grid .project-card {
    flex: 0 0 calc((100% - 2.3rem) / 3);
    min-width: 0;
  }
}

.projects-carousel__controls {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.projects-carousel.is-active .projects-carousel__controls {
  display: flex;
}

.projects-carousel__btn {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(158, 196, 239, 0.28);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color var(--dur-med) var(--ease-premium),
    border-color var(--dur-med) var(--ease-premium),
    opacity var(--dur-med) ease;
}

.projects-carousel__btn:hover {
  background: var(--hover-blue);
  border-color: var(--hover-blue);
}

.projects-carousel__btn:disabled {
  opacity: 0.35;
  cursor: default;
  background: transparent;
}

.projects-carousel__dots {
  display: flex;
  gap: 0.4rem;
}

.projects-carousel__dot {
  width: 0.45rem;
  height: 0.45rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
}

.projects-carousel__dot.is-active {
  width: 1.15rem;
  background: var(--hover-blue-link);
}

.project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 0.85rem;
  background: var(--ink-soft);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition:
    transform var(--dur-med) var(--ease-premium),
    border-color var(--dur-med) var(--ease-premium),
    box-shadow var(--dur-med) var(--ease-premium);
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: var(--hover-blue-ring);
  box-shadow: 0 18px 40px rgba(7, 15, 24, 0.32);
}

.project-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.15rem 1.2rem 1.3rem;
  min-height: 10.5rem;
}

.project-card__title {
  margin: 0;
  font-family: "Syne", "Manrope", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: #fff;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  min-height: 2.4em;
  line-height: 1.2;
}

.project-card__desc {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  flex: 1;
}

.project-card__meta {
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.project-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--hover-blue-link);
  text-decoration: none;
  transition:
    color var(--dur-med) var(--ease-premium),
    letter-spacing var(--dur-soft) var(--ease-premium);
}

.project-link:hover {
  color: var(--hover-blue-text);
}

.project-card:hover .project-link {
  color: var(--hover-blue-text);
  letter-spacing: 0.01em;
}

.project-thumb {
  position: relative;
  height: 10.5rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.project-thumb--shop {
  background: linear-gradient(145deg, #2a2200 0%, #111 100%);
  padding: 1rem 1.25rem;
}

.project-thumb-ui {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.project-thumb-ui span {
  height: 0.4rem;
  width: 0.4rem;
  border-radius: 999px;
  background: #444;
}

.project-thumb-ui span:first-child {
  background: #ef4444;
}

.project-thumb-ui span:nth-child(2) {
  background: #eab308;
}

.project-thumb-ui span:nth-child(3) {
  background: #22c55e;
}

.project-thumb-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.project-thumb-grid div {
  height: 2.75rem;
  border-radius: 0.375rem;
  background: linear-gradient(135deg, rgba(30, 90, 171, 0.4), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.project-thumb--photo {
  padding: 0;
  background: #0b0e14;
}

.project-thumb--photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s var(--ease-premium);
}

.project-card:hover .project-thumb--photo img {
  transform: scale(1.04);
}

.project-thumb--shop .project-thumb-grid div {
  transition: transform 0.4s ease, border-color 0.3s ease;
}

.project-card:hover .project-thumb--shop .project-thumb-grid div {
  transform: translateY(-2px);
  border-color: var(--hover-blue-ring);
}

.tech-badge {
  display: inline-flex;
  height: 1.75rem;
  min-width: 1.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  padding: 0 0.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  color: #bbb;
}

.tech-badge--done {
  border-color: rgba(158, 196, 239, 0.55);
  background: rgba(30, 90, 171, 0.28);
  color: #d7e8f8;
}

.tech-badge--progress {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #f5f5f5;
}

/* ——— About ——— */
.about-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.about-panel {
  position: relative;
  overflow: hidden;
  border-radius: 0.85rem;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 40px rgba(12, 27, 42, 0.08);
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease,
    border-color 0.3s ease;
}

.about-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(12, 27, 42, 0.12);
  border-color: var(--hover-blue-ring);
}

.about-panel__chrome {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 1rem;
  background: #f8fafc;
}

.about-panel__chrome span {
  height: 0.5rem;
  width: 0.5rem;
  border-radius: 999px;
  background: #c5d0dc;
}

.about-panel__chrome span:first-child {
  background: #ef4444;
}

.about-panel__chrome span:nth-child(2) {
  background: #eab308;
}

.about-panel__chrome span:nth-child(3) {
  background: #22c55e;
}

.about-panel__url {
  margin: 0 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.about-panel__body {
  display: grid;
  gap: 1.1rem;
  padding: 1.35rem 1.25rem 1.5rem;
}

.about-stat__value {
  margin: 0;
  font-family: "Syne", "Manrope", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.3;
  text-transform: none;
}

.about-stat__label {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.about-stat__bar {
  margin-top: 0.65rem;
  height: 0.4rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
}

.about-stat__bar::after {
  content: "";
  display: block;
  height: 100%;
  width: var(--p);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--volt), var(--volt-soft));
  transform: scaleX(0);
  transform-origin: left;
  animation: about-bar-fill 1.1s ease forwards;
  animation-delay: 0.3s;
}

.about-stat__bar--cyan::after {
  animation-delay: 0.45s;
}

.about-stat__bar--deep::after {
  animation-delay: 0.6s;
}

@keyframes about-bar-fill {
  to {
    transform: scaleX(1);
  }
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 0.35rem;
  border-top: 2px solid rgba(0, 0, 0, 0.08);
}

.about-tags span {
  border-radius: 0.35rem;
  border: 1px solid var(--line);
  background: var(--mist);
  padding: 0.35rem 0.7rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--ink);
}

/* ——— Contact ——— */
.cta-panel {
  position: relative;
  overflow: hidden;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(165deg, var(--ink-soft) 0%, var(--ink) 100%);
  padding: 1.75rem 1.15rem;
}

@media (min-width: 640px) {
  .cta-panel {
    padding: 2.5rem 2.5rem;
  }
}

.cta-panel__glow {
  position: absolute;
  inset: -30% auto auto 50%;
  width: 70%;
  height: 55%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(91, 143, 212, 0.22), transparent 65%);
  pointer-events: none;
  animation: cta-glow-soft 8s ease-in-out infinite;
}

@keyframes cta-glow-soft {
  0%,
  100% {
    opacity: 0.7;
    transform: translateX(-50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.08);
  }
}

.field {
  width: 100%;
  border-radius: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 18, 30, 0.65);
  padding: 0.85rem 1rem;
  font-size: 1rem;
  color: #fff;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.field:focus {
  border-color: var(--volt-soft);
  box-shadow: 0 0 0 3px rgba(91, 143, 212, 0.2);
}

.field.is-invalid {
  border-color: #ef4444;
}

.field-error {
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  color: #f87171;
}

.form-success {
  border-radius: 0.45rem;
  border: 1px solid rgba(158, 196, 239, 0.5);
  background: rgba(30, 90, 171, 0.22);
  padding: 0.85rem 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: #d7e8f8;
}

.form-error {
  border-radius: 0.65rem;
  border: 2px solid rgba(248, 113, 113, 0.45);
  background: rgba(248, 113, 113, 0.12);
  padding: 0.85rem 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: #fca5a5;
}

/* ——— Footer ——— */
.site-footer {
  background: var(--ink-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}

.footer-grid {
  margin: 0 auto;
  display: grid;
  max-width: 72rem;
  gap: 2rem;
  padding: 3rem 1.25rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    padding: 3.5rem 2rem;
  }
}

.footer-copy {
  margin: 0.85rem 0 0;
  max-width: 22rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
}

.footer-title {
  margin: 0;
  font-family: "Syne", "Manrope", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--hover-blue-link);
}

.footer-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
}

.footer-list a {
  color: inherit;
  text-decoration: none;
}

.footer-list a:hover {
  color: var(--hover-blue-text);
}

.social-row {
  display: flex;
  gap: 0.55rem;
}

.social-btn {
  display: inline-flex;
  height: 2.5rem;
  width: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #c9d6e4;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.social-btn:hover {
  border-color: var(--hover-blue-link);
  background: rgba(42, 111, 192, 0.28);
  color: #fff;
}

.social-btn.is-disabled {
  opacity: 0.35;
  pointer-events: none;
}

.whatsapp-link.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.1rem;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ——— WhatsApp ——— */
.whatsapp-float {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 60;
  display: inline-flex;
  height: 3.35rem;
  width: 3.35rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #1faa55;
  color: #fff;
  box-shadow: 0 10px 28px rgba(12, 27, 42, 0.28);
  transition: transform var(--dur-med) var(--ease-premium), box-shadow var(--dur-med) var(--ease-premium);
  animation: wa-soft-pulse 4.5s ease-in-out infinite;
}

.whatsapp-float svg {
  width: 1.7rem;
  height: 1.7rem;
}

.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 30px rgba(12, 27, 42, 0.34);
  animation: none;
}

@keyframes wa-soft-pulse {
  0%,
  100% {
    box-shadow: 0 10px 28px rgba(12, 27, 42, 0.28);
  }
  50% {
    box-shadow:
      0 10px 28px rgba(12, 27, 42, 0.28),
      0 0 0 10px rgba(31, 170, 85, 0.12);
  }
}

/* ——— Reveal ——— */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.9s var(--ease-premium),
    transform 0.9s var(--ease-premium);
  will-change: opacity, transform;
}

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

.reveal-delay {
  transition-delay: 0.12s;
}

.reveal-delay-2 {
  transition-delay: 0.24s;
}

.hero .reveal.is-visible .hero-title {
  animation: hero-title-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero .reveal.is-visible .hero-copy {
  animation: hero-copy-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.hero .reveal.is-visible .hero-actions {
  animation: hero-copy-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both;
}

@keyframes hero-title-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-copy-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 1024px) {
  .hero-illustration {
    max-width: none;
    width: 100%;
    margin-left: auto;
    margin-right: 0;
    transform-origin: right center;
    --hero-scale: 1.04;
  }
}

@media (min-width: 1280px) {
  .hero-illustration {
    max-width: none;
    width: 100%;
    margin-left: auto;
    margin-right: 0;
    transform-origin: right center;
    --hero-scale: 1.06;
  }
}

/* ——— Mobile polish ——— */
@media (max-width: 767px) {
  .site-header__inner {
    padding: 0.7rem 1rem;
    gap: 0.65rem;
  }

  .brand {
    gap: 0.25rem;
    max-width: calc(100% - 3.2rem);
  }

  .brand__mark {
    height: 2.35rem;
  }

  .brand__name {
    font-size: 0.95rem;
    letter-spacing: 0.08em;
  }

  .brand__tagline {
    font-size: 0.58rem;
    letter-spacing: 0.04em;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .menu-toggle {
    height: 2.65rem;
    width: 2.65rem;
    border-radius: 0.55rem;
    flex-shrink: 0;
  }

  .mobile-menu {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(14, 26, 40, 0.98);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  }

  .mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.65rem 1rem 1.15rem;
  }

  .mobile-link {
    padding: 0.95rem 0.85rem;
    font-size: 1.02rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: 0.55rem;
    min-height: 3rem;
    display: flex;
    align-items: center;
  }

  .mobile-menu .btn-primary {
    width: 100%;
    margin-top: 0.55rem;
    min-height: 3rem;
    font-size: 0.95rem;
  }

  .hero {
    padding: 5rem 0 1.5rem;
    min-height: auto;
  }

  .hero-stage__ribbon--c,
  .hero-stage__nodes i:nth-child(n + 5),
  .hero-stage__ringlet:nth-child(n + 5) {
    display: none;
  }

  .hero-stage__tunnel {
    width: min(110vw, 28rem);
    height: min(110vw, 28rem);
    right: -28%;
    top: 42%;
    opacity: 0.75;
  }

  .hero-stage__flare {
    width: min(50vw, 12rem);
    right: 0;
    top: 18%;
  }

  .hero-stage__ribbon--a,
  .hero-stage__ribbon--b {
    opacity: 0.28;
  }

  .hero-grid {
    gap: 1.1rem;
    padding: 0 1rem;
    align-items: start;
    text-align: left;
  }

  .hero-title {
    font-size: clamp(1.9rem, 8.5vw, 2.3rem);
    max-width: none;
    line-height: 1.15;
    letter-spacing: -0.015em;
    font-weight: 800;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-kicker {
    text-align: left;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    margin-bottom: 0.7rem;
  }

  .hero-title br {
    display: none;
  }

  .hero-title .hero-line-1,
  .hero-title .hero-line-2,
  .hero-title .hero-title__accent {
    display: block;
  }

  .hero-title {
    text-align: center;
    align-items: center;
  }

  .hero-kicker {
    text-align: center;
    width: 100%;
  }

  .hero-title .hero-line-1 {
    font-size: 0.82em;
  }

  .hero-title .hero-line-2 {
    margin-top: 0.04em;
    font-size: 1em;
    border-bottom: 2px solid rgba(158, 196, 239, 0.35);
    padding-bottom: 0.12em;
  }

  .hero-title .hero-title__accent {
    margin-top: 0.15em;
    font-size: 1.2em;
  }

  .hero-copy {
    margin-top: 0.9rem;
    font-size: 0.9rem;
    line-height: 1.65;
    max-width: none;
    width: 100%;
    margin-inline: 0;
    text-align: left;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.86);
    text-wrap: pretty;
  }

  .hero-actions {
    margin-top: 1.15rem;
    justify-content: flex-start;
  }

  .hero-actions .btn-primary {
    width: 100%;
    min-height: 3.05rem;
    font-size: 0.98rem;
  }

  .hero-trust {
    font-size: 0.74rem;
    margin-top: 1.1rem;
    text-align: left;
    margin-inline: 0;
  }

  .hero-visual {
    margin-top: 0.35rem;
    margin-bottom: 0;
  }

  .hero-illustration {
    max-width: min(100%, 21.5rem);
    margin-inline: auto;
    animation: float-y 8s ease-in-out infinite;
  }

  .section {
    padding: 3.25rem 0;
  }

  .section-inner {
    padding: 0 1rem;
  }

  .section-label {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
  }

  .section-title {
    font-size: clamp(1.4rem, 6vw, 1.8rem);
    max-width: none;
    line-height: 1.25;
    letter-spacing: -0.012em;
    font-weight: 700;
  }

  .section-lead {
    font-size: 0.9rem;
    max-width: none;
    line-height: 1.65;
    text-wrap: pretty;
  }

  .section-head--split .section-lead {
    text-align: left;
  }

  .services-grid {
    margin-top: 1.75rem;
    gap: 0.85rem;
  }

  .service-card {
    min-height: 0;
    padding: 1.3rem 1.15rem 1.25rem;
    border-radius: 0.85rem;
  }

  .service-card:hover {
    transform: none;
  }

  .service-card__index {
    font-size: 4.2rem;
    right: -0.05rem;
    bottom: -0.4rem;
    top: auto;
  }

  .service-card__top {
    margin-bottom: 1rem;
    padding-left: 0.35rem;
  }

  .service-card__eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
  }

  .service-card__icon {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 0.45rem;
  }

  .service-card__title {
    font-size: 1.08rem;
    margin-top: 0;
    padding-left: 0.35rem;
    letter-spacing: -0.015em;
    line-height: 1.25;
    font-weight: 700;
    text-transform: none;
    max-width: none;
  }

  .service-card__text {
    font-size: 0.94rem;
    margin-top: 0.65rem;
    padding-left: 0.35rem;
    line-height: 1.62;
    text-wrap: pretty;
  }

  .service-card__btn {
    margin-top: 1.15rem;
    margin-left: 0.35rem;
    width: auto;
    justify-content: flex-start;
    min-height: 2.55rem;
    padding: 0.7rem 1.05rem;
  }

  .projects-carousel {
    margin-top: 1.75rem;
  }

  .projects-grid {
    gap: 0.85rem;
  }

  .project-card:hover {
    transform: none;
    box-shadow: none;
  }

  .project-thumb {
    height: 11rem;
  }

  .project-card__body {
    min-height: 0;
    padding: 1rem 1.05rem 1.15rem;
  }

  .about-grid {
    gap: 1.5rem;
  }

  .about-panel {
    border-radius: 0.75rem;
  }

  .cta-panel {
    padding: 1.35rem 1rem 1.5rem;
    border-radius: 0.75rem;
  }

  .cta-panel .section-title {
    font-size: clamp(1.35rem, 6vw, 1.75rem);
    line-height: 1.22;
  }

  .about-stat__value {
    font-size: 1rem;
    letter-spacing: -0.01em;
    line-height: 1.3;
    text-transform: none;
  }

  .project-card__title {
    font-size: 1.05rem;
    letter-spacing: -0.01em;
    line-height: 1.25;
  }

  .footer-title {
    letter-spacing: 0.06em;
  }

  .footer-copy,
  .footer-list {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .field {
    min-height: 3rem;
    font-size: 1rem;
    border-radius: 0.5rem;
    padding: 0.9rem 0.95rem;
  }

  textarea.field {
    min-height: 8.5rem;
  }

  .btn-primary--wide,
  #contact-submit {
    min-height: 3.1rem;
    font-size: 0.98rem;
  }

  .footer-grid {
    gap: 1.65rem;
    padding: 2.35rem 1rem 1.75rem;
  }

  .footer-bottom {
    padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
  }

  .whatsapp-float {
    right: max(0.85rem, env(safe-area-inset-right));
    bottom: max(0.85rem, env(safe-area-inset-bottom));
    height: 3.15rem;
    width: 3.15rem;
  }

  .rocket-float,
  .float-card-alt {
    animation-duration: 6.5s;
  }

  .hero-phone {
    animation-duration: 7s;
  }
}

@media (max-width: 379px) {
  .brand__tagline {
    display: none;
  }

  .hero-title {
    font-size: 1.7rem;
    line-height: 1.12;
    letter-spacing: -0.008em;
  }

  .hero-copy {
    font-size: 0.86rem;
  }

  .service-card__title {
    font-size: 0.98rem;
  }
}

@media (hover: none) {
  .btn-primary:hover,
  .btn-primary--rect:hover,
  .btn-on-dark:hover,
  .btn-ghost:hover,
  .project-card:hover,
  .about-panel:hover,
  .whatsapp-float:hover {
    transform: none;
  }

  .btn-primary:hover {
    background: #fff;
    border-color: #fff;
    color: var(--ink);
    box-shadow: none;
  }

  .btn-primary--rect:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
    box-shadow: none;
  }

  .btn-on-dark:hover {
    background: var(--hover-blue);
    border-color: var(--hover-blue);
    color: #fff;
    box-shadow: none;
  }

  .btn-ghost:hover {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
  }

  .project-card:hover,
  .about-panel:hover,
  .whatsapp-float:hover {
    box-shadow: none;
  }

  .btn-primary:hover .btn-arrow,
  .project-card:hover .project-link .btn-arrow {
    transform: none;
  }

  .whatsapp-float {
    animation: none;
  }
}

@media (hover: hover) and (pointer: fine) {
  .service-card:hover {
    transform: translateY(-2px);
    border-color: rgba(91, 143, 212, 0.28);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.65) inset,
      0 18px 40px rgba(7, 15, 24, 0.2);
  }

  .service-card:hover .service-card__index {
    -webkit-text-stroke-color: rgba(30, 90, 171, 0.1);
  }

  .service-card:hover .service-card__icon {
    border-color: rgba(30, 90, 171, 0.2);
    background: rgba(30, 90, 171, 0.05);
    color: var(--svc-accent);
    box-shadow: 0 8px 18px rgba(30, 90, 171, 0.1);
  }

  .service-card__btn:hover {
    background: var(--hover-blue);
    border-color: var(--hover-blue);
    color: #fff;
  }

  .service-card:hover .service-card__btn .btn-arrow {
    transform: translateX(3px);
  }
}

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

  .projects-grid {
    transition: none;
  }

  .hero-stage__void,
  .hero-stage__tunnel,
  .hero-stage__ringlet,
  .hero-stage__ribbon,
  .hero-stage__caustic,
  .hero-stage__nodes,
  .hero-stage__nodes i,
  .hero-stage__nodes::before,
  .hero-stage__flare,
  .hero-stage__dust,
  .hero-illustration,
  .hero-visual::before,
  .rocket-float,
  .float-card-alt,
  .hero-phone,
  .node-pulse,
  .cta-panel__glow,
  .whatsapp-float,
  .hero .reveal.is-visible .hero-title,
  .hero .reveal.is-visible .hero-copy,
  .hero .reveal.is-visible .hero-actions {
    animation: none !important;
  }

  .about-stat__bar::after {
    animation: none;
    transform: scaleX(1);
  }

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

  .btn-primary:hover,
  .project-card:hover,
  .service-card:hover,
  .about-panel:hover,
  .nav-link::after {
    transform: none !important;
    transition: none;
  }

  .btn-arrow,
  .btn-primary:hover .btn-arrow,
  .service-card:hover .service-card__btn .btn-arrow,
  .project-card:hover .project-link .btn-arrow {
    transform: none !important;
    transition: none !important;
  }

  .project-card:hover .project-thumb--photo img {
    transform: none !important;
  }
}

