/* Trilogic Dev — estilo bold (inspirado en contraste fuerte), colores propios */

:root {
  --volt: #007bff;
  --ink: #0a0a0a;
  --mist: #e8f1ff;
  --muted: #5c5c5c;
}

*,
*::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(--ink);
  color: #fff;
}

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(6, 42, 102, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

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

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

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

.brand__glyph {
  display: inline-flex;
  color: #fff;
  line-height: 0;
  transition: transform 0.25s ease;
}

.brand__glyph img {
  width: 1.45rem;
  height: 1.45rem;
  display: block;
}

.brand:hover .brand__glyph {
  transform: translateY(-1px) skewX(-6deg);
}

.brand__word {
  display: inline-flex;
  align-items: baseline;
  font-family: "Archivo Black", "Arial Black", sans-serif;
  font-size: 1.35rem;
  letter-spacing: -0.05em;
  line-height: 1;
  text-transform: lowercase;
}

.brand__tri {
  color: #fff;
}

.brand__logic {
  color: var(--ink);
  background: #fff;
  padding: 0.12rem 0.28rem 0.08rem;
  margin-left: 0.08rem;
  border-radius: 0.2rem;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.25);
}

.brand--footer {
  color: #fff;
}

.brand--footer .brand__logic {
  background: var(--volt);
  color: #fff;
  box-shadow: 3px 3px 0 rgba(0, 123, 255, 0.35);
}

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

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

.nav-link {
  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:hover {
  opacity: 1;
  color: #fff;
}

.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: 2px solid rgba(0, 0, 0, 0.12);
  background: #0a3d8f;
  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: var(--ink);
  text-decoration: none;
  border-radius: 0.5rem;
  transition: opacity 0.2s ease, background-color 0.2s ease;
}

.mobile-link:hover {
  opacity: 0.65;
  background-color: rgba(0, 0, 0, 0.06);
  transform: none;
}

/* ——— Buttons ——— */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  background: var(--ink);
  padding: 0.8rem 1.4rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  min-height: 2.75rem;
  text-decoration: none;
  border: 2px solid var(--ink);
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn-primary:hover {
  background: #fff;
  color: var(--ink);
  transform: translateY(-2px);
}

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

.btn-primary--rect {
  border-radius: 0.55rem;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 0.55rem;
  border: 2px solid var(--ink);
  background: var(--ink);
  padding: 0.8rem 1.35rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  min-height: 2.75rem;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn-ghost:hover {
  background: transparent;
  color: var(--ink);
  transform: translateY(-2px);
}

.btn-on-dark {
  background: var(--volt);
  border-color: var(--volt);
  color: var(--ink);
}

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

/* ——— Hero ——— */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  padding: 5.5rem 0 1.75rem;
  background: #062a66;
}

.hero-stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 78% 38%, rgba(90, 170, 255, 0.55), transparent 58%),
    radial-gradient(ellipse 50% 45% at 18% 20%, rgba(40, 120, 255, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 50% at 10% 100%, rgba(0, 10, 40, 0.55), transparent 50%),
    linear-gradient(145deg, #031633 0%, #0a3d8f 38%, #0e63d8 72%, #1a86ff 100%);
}

.hero-stage__glow {
  position: absolute;
  right: 4%;
  top: 10%;
  width: min(58vw, 34rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.55) 0%, rgba(120, 190, 255, 0.25) 35%, transparent 68%);
  filter: blur(8px);
  animation: hero-glow-breathe 6s ease-in-out infinite;
}

.hero-stage__beam {
  position: absolute;
  top: -20%;
  left: 55%;
  width: 28%;
  height: 140%;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255, 255, 255, 0.14) 35%,
    rgba(255, 255, 255, 0.04) 60%,
    transparent 100%
  );
  transform: rotate(18deg);
  filter: blur(2px);
  mix-blend-mode: soft-light;
  animation: hero-beam-sweep 9s ease-in-out infinite;
}

.hero-stage__beam--2 {
  left: 68%;
  width: 14%;
  opacity: 0.55;
  transform: rotate(24deg);
  animation-delay: -3s;
}

.hero-stage__floor {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -18%;
  height: 58%;
  background:
    linear-gradient(180deg, transparent 0%, rgba(3, 18, 48, 0.35) 40%, rgba(3, 18, 48, 0.75) 100%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.11) 0 1px,
      transparent 1px 64px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.1) 0 1px,
      transparent 1px 64px
    );
  transform: perspective(700px) rotateX(62deg);
  transform-origin: center top;
  mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 70%, transparent 100%);
  animation: hero-floor-drift 18s linear infinite;
}

.hero-stage__noise {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

@keyframes hero-glow-breathe {
  0%,
  100% {
    opacity: 0.75;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes hero-beam-sweep {
  0%,
  100% {
    opacity: 0.35;
    transform: rotate(18deg) translateX(0);
  }
  50% {
    opacity: 0.7;
    transform: rotate(18deg) translateX(18px);
  }
}

@keyframes hero-floor-drift {
  from {
    background-position: 0 0, 0 0, 0 0;
  }
  to {
    background-position: 0 0, 64px 0, 0 64px;
  }
}

@media (min-width: 768px) {
  .hero {
    min-height: 100svh;
    padding: 8rem 0 4.5rem;
  }
}

.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: 0.95fr 1.15fr;
    gap: 1rem;
    padding: 0 2rem;
    align-items: center;
    min-height: calc(100svh - 12rem);
  }
}

.hero-title {
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(2.4rem, 7.5vw, 4.6rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  margin: 0;
  max-width: 11ch;
}

.hero-title__accent {
  color: #fff;
  -webkit-text-stroke: 1.5px rgba(0, 0, 0, 0.08);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.05);
}

.hero-copy {
  margin: 1rem 0 0;
  max-width: 28rem;
  font-size: 1.05rem;
  line-height: 1.55;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.78);
}

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

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

.hero-illustration {
  width: 100%;
  max-width: 42rem;
  transform-origin: center bottom;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.18));
  animation: float-y 4.5s ease-in-out infinite;
}

@keyframes float-y {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.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.55;
  }
  50% {
    opacity: 1;
  }
}

/* ——— 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.95rem;
  font-weight: 700;
  color: var(--volt);
}

.section-title {
  margin: 0;
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(1.7rem, 4vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  max-width: 16ch;
}

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

.section--mist .section-label {
  color: #0066d6;
}

.section--mist .section-lead {
  color: rgba(0, 0, 0, 0.72);
}

.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 {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 22rem;
  border-radius: 1.35rem;
  padding: 1.5rem;
  color: var(--ink);
  isolation: isolate;
  transform: translateY(0);
  box-shadow: 0 0 0 transparent;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

.service-card::before,
.service-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}

.service-card::before {
  inset: -45%;
  opacity: 1;
}

.service-card::after {
  inset: 0;
  opacity: 0;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.45) 48%,
    rgba(255, 255, 255, 0.15) 52%,
    transparent 70%
  );
  transform: translateX(-120%);
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.service-card:hover::after {
  opacity: 1;
  animation: card-shine 1.1s ease;
}

.service-card--volt {
  background: var(--volt);
}

.service-card--volt::before {
  background: repeating-conic-gradient(
    from 0deg at 50% 55%,
    rgba(255, 255, 255, 0.22) 0deg 4deg,
    rgba(0, 0, 0, 0.12) 4deg 8deg,
    transparent 8deg 14deg
  );
  animation: rays-spin 12s linear infinite, rays-breathe 3.2s ease-in-out infinite;
}

.service-card--volt:hover::before {
  animation: rays-spin 3.5s linear infinite, rays-breathe 1.2s ease-in-out infinite;
}

.service-card--grid {
  background: #fff;
}

.service-card--grid::before {
  inset: -30%;
  background:
    linear-gradient(rgba(0, 0, 0, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.07) 1px, transparent 1px);
  background-size: 24px 24px;
  animation: grid-drift 6s linear infinite, grid-zoom 4.5s ease-in-out infinite;
}

.service-card--grid:hover::before {
  animation: grid-drift 2s linear infinite, grid-zoom 1.8s ease-in-out infinite;
}

.service-card--dots {
  background: var(--volt);
}

.service-card--dots::before {
  inset: -20%;
  background:
    radial-gradient(circle, rgba(0, 0, 0, 0.22) 0 1.5px, transparent 1.9px),
    radial-gradient(circle, rgba(255, 255, 255, 0.28) 0 1px, transparent 1.4px);
  background-size: 18px 18px, 28px 28px;
  background-position: 0 0, 9px 9px;
  animation: dots-wave 4s ease-in-out infinite, dots-drift 7s linear infinite;
}

.service-card--dots:hover::before {
  animation: dots-wave 1.5s ease-in-out infinite, dots-drift 2.5s linear infinite;
}

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

@keyframes rays-breathe {
  0%,
  100% {
    opacity: 0.7;
    filter: brightness(1);
  }
  50% {
    opacity: 1;
    filter: brightness(1.2);
  }
}

@keyframes grid-drift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 24px 24px, 24px 24px;
  }
}

@keyframes grid-zoom {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.12) rotate(2deg);
  }
}

@keyframes dots-wave {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.18);
  }
}

@keyframes dots-drift {
  from {
    background-position: 0 0, 9px 9px;
  }
  to {
    background-position: 18px -18px, 37px 9px;
  }
}

@keyframes card-shine {
  from {
    transform: translateX(-120%);
  }
  to {
    transform: translateX(120%);
  }
}

.service-card__num {
  font-family: "Archivo Black", sans-serif;
  font-size: 2.4rem;
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 0;
  transition: transform 0.35s ease, letter-spacing 0.35s ease;
}

.service-card:hover .service-card__num {
  transform: scale(1.08);
  letter-spacing: -0.06em;
  animation: num-pop 0.45s ease;
}

@keyframes num-pop {
  0% {
    transform: scale(1);
  }
  55% {
    transform: scale(1.14);
  }
  100% {
    transform: scale(1.08);
  }
}

.service-card__title {
  margin: 1.25rem 0 0;
  font-family: "Archivo Black", sans-serif;
  font-size: 1.35rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  transition: transform 0.35s ease;
}

.service-card:hover .service-card__title {
  transform: translateX(6px);
}

.service-card__text {
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.72);
  flex: 1;
}

.service-card__btn {
  margin-top: 1.5rem;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 0.4rem;
  background: var(--ink);
  color: #fff;
  padding: 0.65rem 0.95rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.25s ease,
    gap 0.25s ease;
}

.service-card:hover .service-card__btn {
  transform: translateX(6px);
  gap: 0.65rem;
}

.service-card__btn:hover {
  background: #fff;
  color: var(--ink);
  outline: 2px solid var(--ink);
}

.service-card--grid .service-card__btn:hover {
  background: var(--volt);
  outline: none;
  color: #fff;
}

.spark {
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  width: 1.35rem;
  height: 1.35rem;
  color: var(--ink);
  opacity: 0.85;
  z-index: 2;
  animation: spark-idle 2.4s ease-in-out infinite;
}

.service-card:hover .spark {
  opacity: 1;
  animation: spark-spin 0.9s linear infinite, spark-twinkle 0.45s ease infinite alternate;
}

@keyframes spark-idle {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.15) rotate(12deg);
  }
}

@keyframes spark-spin {
  to {
    transform: rotate(360deg) scale(1.3);
  }
}

@keyframes spark-twinkle {
  from {
    filter: drop-shadow(0 0 0 transparent);
  }
  to {
    filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.4));
  }
}

/* ——— Projects ——— */
.projects-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1rem;
}

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

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

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

.project-card {
  overflow: hidden;
  border-radius: 1.1rem;
  background: #161616;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 123, 255, 0.45);
}

.project-card__body {
  padding: 1.15rem 1.2rem 1.3rem;
}

.project-card__title {
  margin: 0;
  font-family: "Archivo Black", sans-serif;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: #fff;
}

.project-card__desc {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.58);
}

.project-card__meta {
  margin-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(--volt);
  text-decoration: none;
}

.project-link:hover {
  color: #fff;
}

.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(0, 123, 255, 0.35), 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;
}

.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(0, 123, 255, 0.4);
  background: rgba(0, 123, 255, 0.12);
  color: var(--volt);
}

.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: 1.25rem;
  border: 2px solid var(--ink);
  background: #fff;
  box-shadow: 8px 8px 0 var(--ink);
}

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

.about-panel__chrome span {
  height: 0.55rem;
  width: 0.55rem;
  border-radius: 999px;
  background: var(--ink);
}

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

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

.about-stat__value {
  margin: 0;
  font-family: "Archivo Black", sans-serif;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.2;
  text-transform: uppercase;
}

.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: var(--volt);
  border: 1px solid var(--ink);
  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: 999px;
  border: 2px solid var(--ink);
  background: var(--volt);
  padding: 0.35rem 0.7rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--ink);
}

/* ——— Contact ——— */
.cta-panel {
  position: relative;
  overflow: hidden;
  border-radius: 1.35rem;
  border: 2px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, #171717 0%, #0a0a0a 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(0, 123, 255, 0.22), transparent 65%);
  pointer-events: none;
}

.field {
  width: 100%;
  border-radius: 0.55rem;
  border: 2px solid rgba(255, 255, 255, 0.14);
  background: #111;
  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: #777;
}

.field:focus {
  border-color: var(--volt);
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 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.65rem;
  border: 2px solid rgba(0, 123, 255, 0.4);
  background: rgba(0, 123, 255, 0.12);
  padding: 0.85rem 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--volt);
}

.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: #050505;
  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.55);
}

.footer-title {
  margin: 0;
  font-family: "Archivo Black", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--volt);
}

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

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

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

.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: 999px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  color: #ddd;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.social-btn:hover {
  border-color: var(--volt);
  background: var(--volt);
  color: var(--ink);
}

.social-btn.is-disabled {
  opacity: 0.35;
  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.5rem;
  width: 3.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.04);
}

/* ——— Reveal ——— */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

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

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

@media (min-width: 1024px) {
  .hero-illustration {
    max-width: min(48rem, 52vw);
  }
}

@media (max-width: 639px) {
  .hero {
    padding: 5.25rem 0 1.15rem;
  }

  .hero-stage__beam {
    display: none;
  }

  .hero-stage__floor {
    height: 42%;
    opacity: 0.85;
  }

  .hero-grid {
    gap: 0.85rem;
  }

  .hero-illustration {
    max-width: 22rem;
  }

  .service-card {
    min-height: 18rem;
  }
}

@media (hover: none) {
  .btn-primary:hover,
  .btn-ghost:hover,
  .project-card:hover,
  .service-card:hover,
  .whatsapp-float:hover {
    transform: none;
    box-shadow: none;
  }

  .service-card:hover::after,
  .service-card:hover .spark {
    animation: none;
  }
}

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

  .hero-stage__glow,
  .hero-stage__beam,
  .hero-stage__floor,
  .hero-illustration,
  .rocket-float,
  .float-card-alt,
  .hero-phone,
  .node-pulse,
  .service-card::before,
  .service-card::after,
  .service-card:hover::after,
  .spark,
  .service-card:hover .spark,
  .service-card:hover .service-card__num {
    animation: none !important;
  }

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

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