:root {
  --space-dark: #04080f;
  --space-navy: #080d17;
  --accent-blue: #00d4ff;
  --accent-purple: #7c3aed;
  --accent-green: #00ff88;
  --accent-pink: #ff2d78;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --ease-orbital: cubic-bezier(0.16, 1, 0.3, 1);
  --glow-blue: 0 0 20px rgba(0, 212, 255, 0.4), 0 0 60px rgba(0, 212, 255, 0.15);
  --glow-purple: 0 0 20px rgba(124, 58, 237, 0.4), 0 0 60px rgba(124, 58, 237, 0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Performance: GPU-accelerate only what actually animates */
.orb, #starfield {
  will-change: transform;
  transform: translateZ(0);
}
.grid-overlay, .noise-overlay, .scanline-overlay {
  transform: translateZ(0);
}
/* Contain layout/paint for below-fold sections */
#servicios, #portafolio, #faq, #contacto {
  content-visibility: auto;
  contain-intrinsic-size: 0 800px;
}

body {
  font-family: 'Poppins', 'Poppins-fallback', sans-serif;
  background: var(--space-dark);
  color: white;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 { font-family: 'Outfit', 'Outfit-fallback', sans-serif; }

.gradient-text {
  background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 55%, #ec4899 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.glass-card {
  background: #070d1b;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 1rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s ease, transform 0.35s ease;
}
.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: var(--accent-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1;
}
.glass-card:hover {
  border-color: rgba(255,255,255,0.14);
  transform: translateY(-3px);
}
.glass-card:hover::before {
  transform: scaleX(1);
}

/* legacy kept for compat, overridden by enccon-nav */
.glass-nav { background: transparent; }

.btn-primary-enccon {
  background: var(--accent-blue);
  border: none;
  color: #04080f;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s var(--ease-orbital);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}
.btn-primary-enccon:hover {
  background: #00bde0;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 212, 255, 0.28);
  color: #04080f;
}

.btn-outline-enccon {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s var(--ease-orbital);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-outline-enccon:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  color: white;
}

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

.orb-1 {
  top: -10%; left: -5%;
  width: 600px; height: 600px;
  background: rgba(0, 212, 255, 0.07);
}

.orb-2 {
  top: 40%; right: -10%;
  width: 500px; height: 500px;
  background: rgba(124, 58, 237, 0.07);
}

.orb-3 {
  bottom: 5%; left: 35%;
  width: 380px; height: 380px;
  background: rgba(255, 45, 120, 0.05);
}

#starfield {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.8;
}

.animate-fade-in-up {
  opacity: 0;
}

.page-enter-active {
  transition: opacity 0.42s var(--ease-orbital), transform 0.42s var(--ease-orbital);
}
.page-leave-active {
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.page-enter {
  opacity: 0;
  transform: translateY(18px) scale(0.99);
}
.page-leave-to {
  opacity: 0;
  transform: translateY(-10px) scale(1.01);
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--space-dark); }
::-webkit-scrollbar-thumb { background: rgba(0, 212, 255, 0.3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0, 212, 255, 0.5); }
::selection { background: rgba(0, 212, 255, 0.3); color: white; }


/* --- Hero images (desktop base — overridden in new mejoras section below) --- */

/* ============================================================
   HIGH-TECH UPGRADE
   ============================================================ */

/* Grid overlay */
.grid-overlay {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 2;
  -webkit-mask-image: radial-gradient(ellipse 85% 85% at 50% 40%, black 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 85% 85% at 50% 40%, black 30%, transparent 100%);
}

/* Noise texture overlay */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  opacity: 0.32;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
}

/* Tech section label */
.tech-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-blue);
  background: rgba(0, 212, 255, 0.07);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-left: 3px solid var(--accent-blue);
  border-radius: 2px;
  padding: 0.35rem 0.85rem 0.35rem 0.65rem;
  position: relative;
  overflow: hidden;
}
.tech-label::after {
  display: none;
}
.tech-label::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-blue);
  box-shadow: 0 0 6px var(--accent-blue);
}

@keyframes gradient-flow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.gradient-line-animated {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,0.35), transparent);
}

.animate-pulse-glow {
  box-shadow: 0 12px 40px rgba(0, 212, 255, 0.35);
}

/* Accent text — gradient fill on scroll (see .gradient-text above) */

/* Neon glow badge */
.hero-badge {
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.22);
  box-shadow: inset 0 0 12px rgba(0, 212, 255, 0.04), 0 0 20px rgba(0, 212, 255, 0.08);
}

/* Stat counter */
.stat-number {
  font-variant-numeric: tabular-nums;
  color: #fff;
}

/* Service icon box glow on card hover */
.service-icon-box {
  transition: box-shadow 0.4s var(--ease-orbital), transform 0.4s var(--ease-orbital);
}
.glass-card:hover .service-icon-box {
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.25);
  transform: scale(1.08);
}

/* Scanline overlay – ultra subtle */
.scanline-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0, 0, 0, 0.018) 3px,
    rgba(0, 0, 0, 0.018) 4px
  );
}

/* Nav active link glow */
.navbar .router-link-active {
  color: var(--accent-blue) !important;
  text-shadow: 0 0 12px rgba(0, 212, 255, 0.5);
}

/* Footer ambient orb — (hex grid removed) */
/* Footer ambient orb */
footer {
  position: relative;
  overflow: hidden;
}
footer::before {
  display: none;
}

/* Footer top line */
footer .gradient-line-top {
  height: 1px;
  background: rgba(0, 212, 255, 0.12);
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #030609; }
::-webkit-scrollbar-thumb {
  background: rgba(0, 212, 255, 0.4);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 212, 255, 0.65);
}

/* ── FAQ redesign ────────────────────────────────────── */

/* Left sidebar card */
.faq-sidebar {
  background: rgba(6, 10, 20, 0.35);
  backdrop-filter: blur(16px) saturate(160%) brightness(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(160%) brightness(1.15);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 20px;
  padding: 36px 32px;
  position: sticky;
  top: 100px;
  overflow: hidden;
  box-shadow:
    0 6px 32px rgba(0, 0, 0, 0.45),
    inset 1px 1px 0 rgba(255, 255, 255, 0.20),
    inset -1px -1px 0 rgba(0, 0, 0, 0.28),
    inset 0 0 12px rgba(255, 255, 255, 0.05);
}
.faq-sidebar::before {
  display: none;
}
.faq-sidebar__label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.22em; color: var(--accent-blue);
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.18);
  border-radius: 50px; padding: 5px 14px;
  margin-bottom: 22px;
}
.faq-sidebar__title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800; line-height: 1.2;
  color: #fff; margin-bottom: 14px;
}
.faq-sidebar__desc {
  font-size: 0.9rem; color: rgba(255,255,255,0.6);
  line-height: 1.75; margin-bottom: 28px;
}
.faq-sidebar__divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin-bottom: 24px;
}
.faq-sidebar__quote {
  display: flex; align-items: flex-start; gap: 14px;
}
.faq-sidebar__quote-bar {
  width: 3px; min-height: 64px; flex-shrink: 0;
  background: var(--accent-blue);
  border-radius: 2px;
}
.faq-sidebar__quote-text {
  font-size: 0.88rem; font-style: italic;
  color: rgba(255,255,255,0.58); line-height: 1.65; margin: 0 0 6px;
}
.faq-sidebar__quote-author {
  font-size: 0.78rem; font-weight: 600; color: var(--accent-blue);
}

/* FAQ accordion items */
.faq-item {
  position: relative;
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 4px solid color-mix(in srgb, var(--faq-c, #00d4ff) 55%, transparent);
  border-radius: 14px;
  background: rgba(6, 10, 20, 0.35);
  backdrop-filter: blur(16px) saturate(150%) brightness(1.10);
  -webkit-backdrop-filter: blur(16px) saturate(150%) brightness(1.10);
  overflow: hidden;
  box-shadow:
    0 4px 20px rgba(0,0,0,0.35),
    inset 1px 1px 0 rgba(255,255,255,0.12),
    inset 0 0 8px rgba(255,255,255,0.04);
  transition: border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease, transform 0.35s ease;
}
.faq-item:hover {
  transform: translateX(3px);
  border-left-color: var(--faq-c, #00d4ff);
  box-shadow:
    0 6px 28px rgba(0,0,0,0.45),
    inset 1px 1px 0 color-mix(in srgb, var(--faq-c, #00d4ff) 20%, rgba(255,255,255,0.10)),
    inset 0 0 10px color-mix(in srgb, var(--faq-c, #00d4ff) 6%, transparent);
}
.faq-item::before {
  display: none;
}
.faq-item::after {
  display: none;
}
.faq-item--open {
  background: rgba(6, 10, 20, 0.50);
  border-color: color-mix(in srgb, var(--faq-c, #00d4ff) 30%, rgba(255,255,255,0.08));
  border-left-color: var(--faq-c, #00d4ff);
  transform: translateX(3px);
  box-shadow:
    0 8px 40px rgba(0,0,0,0.55),
    0 0 60px color-mix(in srgb, var(--faq-c, #00d4ff) 12%, transparent),
    inset 1px 1px 0 color-mix(in srgb, var(--faq-c, #00d4ff) 28%, rgba(255,255,255,0.08)),
    inset 0 0 14px color-mix(in srgb, var(--faq-c, #00d4ff) 8%, transparent);
}
.faq-item--open::before { opacity: 1; }
.faq-item--open::after  { animation: faq-shimmer 0.65s ease-out forwards; opacity: 1; }

@keyframes faq-shimmer {
  from { left: -50%; opacity: 1; }
  to   { left: 130%; opacity: 0; }
}

.faq-item__header {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 16px;
  width: 100%; padding: 22px 24px;
  background: none; border: none; cursor: pointer; text-align: left; color: #fff;
  touch-action: manipulation; user-select: none; -webkit-tap-highlight-color: transparent;
}
.faq-item__num {
  font-family: 'Outfit', sans-serif;
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.14em;
  color: var(--faq-c, #00d4ff); opacity: 0.70; flex-shrink: 0; min-width: 22px;
  transition: opacity 0.3s;
}
.faq-item--open .faq-item__num { opacity: 1; }

.faq-item__q {
  flex: 1;
  font-family: 'Outfit', sans-serif; font-size: 1.02rem; font-weight: 600;
  color: rgba(255,255,255,0.82); line-height: 1.4; transition: color 0.3s;
}
.faq-item--open .faq-item__q { color: #fff; }

.faq-item__chevron {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.45); font-size: 0.82rem;
  transition: transform 0.38s cubic-bezier(0.34,1.2,0.64,1), background 0.35s, border-color 0.35s, color 0.35s, box-shadow 0.35s;
}
.faq-item--open .faq-item__chevron {
  transform: rotate(180deg);
  background: var(--faq-c, #00d4ff); border-color: var(--faq-c, #00d4ff); color: #fff;
  box-shadow: 0 0 20px color-mix(in srgb, var(--faq-c, #00d4ff) 65%, transparent);
}

.faq-item__body {
  position: relative; z-index: 1; overflow: hidden;
  transition: max-height 0.48s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item__answer {
  padding: 16px 24px 24px 62px;
  border-top: 1px solid color-mix(in srgb, var(--faq-c, #00d4ff) 16%, rgba(255,255,255,0.07));
  color: rgba(255,255,255,0.72); line-height: 1.82; margin: 0; font-size: 0.94rem;
}

/* legacy class kept for compatibility */
.faq-open-border {
  border-color: rgba(0, 212, 255, 0.3) !important;
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.06);
}

/* Glass nav enhanced — superseded by enccon-nav */

/* ============================================================
   NUEVAS MEJORAS VISUALES
   ============================================================ */

/* ── Scroll progress bar ── */
#scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0%;
  background: var(--accent-blue);
  z-index: 9997;
  box-shadow: 0 0 8px rgba(0,212,255,0.5);
  transition: width 0.08s linear;
  pointer-events: none;
}


/* ── Scroll reveal ── */
.section-reveal {
  opacity: 0;
  transform: translateY(52px);
  transition: opacity 0.95s var(--ease-orbital), transform 0.95s var(--ease-orbital);
}
.section-reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ── Nav link animated underline ── */
.navbar .nav-link {
  position: relative;
  padding-bottom: 4px;
}
.navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 0; height: 1.5px;
  background: var(--accent-blue);
  border-radius: 1px;
  transition: width 0.35s var(--ease-orbital);
}
.navbar .nav-link:hover::after       { width: 100%; }
.navbar .router-link-active::after   { width: 100%; }
.navbar .router-link-active { color: var(--accent-blue) !important; }

/* ── Typing cursor ── */
.typing-cursor {
  display: inline-block;
  width: 3px; height: 0.78em;
  background: var(--accent-blue);
  margin-left: 3px;
  vertical-align: middle;
  border-radius: 1px;
  animation: cursor-blink 0.72s ease-in-out infinite;
  box-shadow: 0 0 8px var(--accent-blue);
}
@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ── CTA glass box ── */
.cta-glass-box {
  background: rgba(6, 10, 20, 0.42);
  backdrop-filter: blur(20px) saturate(150%) brightness(1.10);
  -webkit-backdrop-filter: blur(20px) saturate(150%) brightness(1.10);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 28px;
  padding: 72px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 8px 48px rgba(0,0,0,0.55),
    0 0 80px rgba(0,212,255,0.05),
    inset 1px 1px 0 rgba(255,255,255,0.18),
    inset -1px -1px 0 rgba(0,0,0,0.25),
    inset 0 0 16px rgba(255,255,255,0.05);
}
.cta-glass-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: rgba(0,212,255,0.22);
}
.cta-glass-box::after {
  display: none;
}
@media (max-width: 767px) {
  .cta-glass-box { padding: 48px 28px; border-radius: 20px; }
}


/* ── Hero floating social-proof chips ── */
.hero-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(4, 8, 15, 0.68);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 10px 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.06);
  font-family: 'Outfit', sans-serif;
  white-space: nowrap;
  pointer-events: none;
  z-index: 15;
}
/* entry only — no float */
.hero-chip { opacity: 0; }
.hero-chip--1 { left: 54%; top: 16%;    animation: hero-chip-in 0.6s cubic-bezier(0.34,1.56,0.64,1) 1.4s forwards; }
.hero-chip--2 { right: max(2%, calc(50% - 620px)); top: 60%;    animation: hero-chip-in 0.6s cubic-bezier(0.34,1.56,0.64,1) 1.65s forwards; }
.hero-chip--3 { left: 52%; bottom: 14%; animation: hero-chip-in 0.6s cubic-bezier(0.34,1.56,0.64,1) 1.9s forwards; }
@keyframes hero-chip-in {
  from { opacity: 0; transform: translateY(14px) scale(0.9); }
  to   { opacity: 1; transform: translateY(0)    scale(1);   }
}

/* ── Hero inline chips (mobile) ── */
.hero-chip-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 50px;
  background: rgba(6, 10, 20, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow:
    inset 1px 1px 0 rgba(255,255,255,0.12),
    0 2px 12px rgba(0,0,0,0.3);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  font-family: 'Outfit', sans-serif;
  white-space: nowrap;
}

/* ── Hero parallax — smooth transition on earth & astronaut ── */
.hero-earth    { will-change: transform; transition: transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.hero-astronaut { will-change: transform; transition: transform 0.18s cubic-bezier(0.25, 0.46, 0.45, 0.94); }

/* ── Hero section — altura = viewport menos el padding-top del <main> (80px del navbar) ── */
.hero-section {
  height: calc(100vh  - 80px);
  height: calc(100dvh - 80px);
  max-height: calc(100vh  - 80px);
  max-height: calc(100dvh - 80px);
  overflow: hidden;
  min-height: unset !important;
}

/* ── Hero images — centradas verticalmente dentro del container ── */
/* La animación solo usa opacity para no pisar el transform de centrado */
@keyframes hero-fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.hero-earth {
  right: -2%;
  top: 50%;
  transform: translateY(-50%);        /* centrado vertical sin conflicto con animación */
  width: 50vw; max-width: 700px;
  opacity: 0;
  animation: hero-fadein 1s ease 0.3s forwards;
  z-index: 2;
}
.hero-astronaut {
  right: 13%;
  top: 50%;
  transform: translateY(-56%);        /* ligeramente por encima del centro */
  width: 28vw; max-width: 450px;
  opacity: 0;
  animation: hero-fadein 1s ease 0.6s forwards;
  z-index: 3;
}

/* ── Astronaut floating widget ── */
.astro-widget {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 850;
  --aw-accent: #00d4ff;
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
  opacity: 0; transform: translateX(90px);
  transition: opacity 0.6s var(--ease-orbital), transform 0.6s var(--ease-orbital);
  pointer-events: none;
}
.astro-widget.visible { opacity: 1; transform: translateX(0); pointer-events: auto; }

.astro-avatar-btn {
  background: none; border: none; padding: 0;
  cursor: pointer; display: block;
  position: relative;
  text-decoration: none;
}
.astro-wa-badge {
  position: absolute;
  bottom: 2px; right: 2px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  border: 2px solid rgba(6, 10, 22, 0.9);
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.45);
}
.astro-avatar-btn::before {
  display: none;
}
.astro-avatar-btn img {
  width: 72px; display: block;
  filter: drop-shadow(0 0 8px rgba(0,212,255,0.2));
  transition: transform 0.35s var(--ease-orbital), filter 0.35s;
}
.astro-avatar-btn:hover img {
  transform: scale(1.1) rotate(-5deg);
  filter: drop-shadow(0 0 14px rgba(0,212,255,0.4));
}

/* WhatsApp button */
.btn-whatsapp {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; margin-top: 14px;
  background: #25D366;
  color: white; border: none;
  border-radius: 12px; padding: 10px 16px;
  font-size: 0.82rem; font-weight: 700;
  font-family: 'Outfit', sans-serif;
  text-decoration: none; letter-spacing: 0.01em;
  transition: all 0.28s var(--ease-orbital);
}
.btn-whatsapp:hover {
  background: #1db954;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.35);
}

/* ── Mobile: widget position ── */
@media (max-width: 768px) {
  .astro-widget { bottom: 16px; right: 16px; }
  .astro-avatar-btn img { width: 60px; }
}

/* ══════════════════════════════════════════════
   ENCCON NAV — full revamp
   ══════════════════════════════════════════════ */

/* ── Base ── */
.enccon-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  background: transparent;
  transition:
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    padding   0.4s ease,
    background 0.4s ease;
}
.enccon-nav__inner {
  display: flex;
  align-items: center;
  gap: 0;
}

/* ── Ambient glow aura (active only when scrolled) ── */
.nav-glow-aura { display: none; }

/* ── Scrolled state ── */
.enccon-nav--scrolled {
  padding: 10px 0;
  background: rgba(4, 8, 18, 0.96);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.enccon-nav--scrolled::after { display: none; }

/* ── Brand ── */
.enccon-nav__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  position: relative;
  flex-shrink: 0;
}
.enccon-nav__brand img {
  transition: filter 0.3s, transform 0.3s;
}
.enccon-nav__brand:hover img {
  filter: drop-shadow(0 0 14px rgba(0,212,255,0.55));
  transform: scale(1.04);
}
.nav-avail-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px 3px 5px;
  border-radius: 50px;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.25);
  margin-bottom: 12px;
  flex-shrink: 0;
}
.nav-avail-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 5px rgba(16,185,129,0.4);
  flex-shrink: 0;
  position: relative;
}
.nav-avail-dot::after {
  display: none;
}
.nav-avail-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #10b981;
  font-family: 'Outfit', sans-serif;
  line-height: 1;
}

/* ── Nav links (flat, no pill) ── */
.nav-links-pill {
  display: flex;
  align-items: center;
  gap: 0;
  margin-right: 20px;
}
.nav-pill-link {
  position: relative;
  display: flex;
  align-items: center;
  padding: 8px 14px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255,255,255,0.38);
  text-decoration: none;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: color 0.25s;
  white-space: nowrap;
}
.nav-pill-link__text {
  position: relative;
}
.nav-pill-link__text::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 1.5px;
  background: var(--accent-blue);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-pill-link:hover {
  color: rgba(255,255,255,0.9);
}
.nav-pill-link.router-link-active,
.nav-pill-link.router-link-exact-active {
  color: #fff;
}
.nav-pill-link.router-link-exact-active .nav-pill-link__text::after {
  transform: scaleX(1);
}

/* ── Right cluster ── */
.nav-right-cluster {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* ── Lang toggle ── */
.nav-lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  padding: 6px 12px 6px 8px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  color: rgba(255,255,255,0.7);
}
.nav-lang-toggle:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: #fff;
}
.nav-lang-code {
  font-size: 0.72rem;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.08em;
  line-height: 1;
}

/* ── Nav CTA button ── */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: #04080f;
  text-decoration: none;
  border-radius: 7px;
  background: var(--accent-blue);
  transition: transform 0.25s var(--ease-orbital), background 0.25s;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav-cta:hover {
  background: #00bde0;
  color: #04080f;
}
.nav-cta .bi { font-size: 0.75rem; transition: transform 0.2s; }
.nav-cta:hover .bi { transform: translate(2px, -2px); }

/* ── Mobile burger ── */
.nav-burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, border-color 0.2s;
}
.nav-burger:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
}
.nav-burger__line {
  display: block;
  width: 18px; height: 1.5px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-orbital), opacity 0.3s, width 0.3s;
  transform-origin: center;
}
.nav-burger.open .nav-burger__line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-burger.open .nav-burger__line:nth-child(2) {
  opacity: 0; width: 0;
}
.nav-burger.open .nav-burger__line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ── Smart navbar hide/show ── */
.nav-hidden {
  transform: translateY(-110%) !important;
}

/* ── Mobile fullscreen nav overlay ── */
@media (max-width: 991.98px) {
  .navbar-collapse {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 998;
    background: #04080f;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(1.04);
    transition: opacity 0.38s var(--ease-orbital), transform 0.38s var(--ease-orbital), visibility 0s linear 0.38s;
  }
  .navbar-collapse::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: rgba(0,212,255,0.18);
  }
  .navbar-collapse::after {
    display: none;
  }
  .navbar-collapse.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: scale(1);
    transition: opacity 0.38s var(--ease-orbital), transform 0.38s var(--ease-orbital), visibility 0s linear 0s;
  }
  /* links pill becomes vertical stack */
  .nav-links-pill {
    flex-direction: column !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 4px !important;
    position: relative; z-index: 1;
  }
  .nav-pill-link {
    font-size: 2.2rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.03em !important;
    padding: 10px 32px !important;
    color: rgba(255,255,255,0.6) !important;
    border-radius: 16px !important;
    text-align: center !important;
  }
  .nav-pill-link:hover {
    color: #fff !important;
    background: rgba(255,255,255,0.05) !important;
    transform: scale(1.04);
  }
  .nav-pill-link.router-link-exact-active {
    color: #fff !important;
    background: rgba(0,212,255,0.1) !important;
    box-shadow: none !important;
  }
  .nav-pill-link.router-link-exact-active::before { display: none; }
  /* right cluster in fullscreen */
  .nav-right-cluster {
    flex-direction: column !important;
    margin-top: 2.5rem !important;
    position: relative; z-index: 1;
    gap: 12px !important;
  }
  .nav-cta {
    font-size: 1rem !important;
    padding: 12px 36px !important;
  }
  .nav-lang-toggle {
    justify-content: center !important;
    padding: 8px 20px !important;
  }
}

/* ── Mobile nav close button ── */
.nav-close-btn {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
  z-index: 10;
  flex-shrink: 0;
}
.nav-close-btn:hover {
  background: rgba(255,255,255,0.13);
  color: #fff;
  border-color: rgba(255,255,255,0.28);
  transform: scale(1.07);
}

/* ── Tools Marquee ── */
@keyframes mq-scroll-left  { 0% { transform: translateX(0); }    100% { transform: translateX(-50%); } }
@keyframes mq-scroll-right { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); }    }

.tools-marquee {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 8px 0 40px;
  mask-image: linear-gradient(to right, transparent 0%, black 9%, black 91%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 9%, black 91%, transparent 100%);
  overflow: hidden;
}
.tools-marquee__row {
  overflow: visible;
}
.tools-marquee__track {
  display: flex;
  gap: 12px;
  width: max-content;
  will-change: transform;
}
.tools-marquee__track--fwd {
  animation: mq-scroll-left 32s linear infinite;
}
.tools-marquee__track--rev {
  animation: mq-scroll-right 28s linear infinite;
}
.tools-marquee__row:hover .tools-marquee__track {
  animation-play-state: paused;
}
.tools-marquee__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  white-space: nowrap;
  cursor: default;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.25s;
  flex-shrink: 0;
}
.tools-marquee__item:hover {
  background: color-mix(in srgb, var(--tc) 10%, rgba(255,255,255,0.04));
  border-color: color-mix(in srgb, var(--tc) 45%, transparent);
  box-shadow: 0 0 20px color-mix(in srgb, var(--tc) 18%, transparent);
  transform: translateY(-2px);
}
.tools-marquee__icon {
  font-size: 1.35rem;
  color: var(--tc, rgba(255,255,255,0.6));
  transition: filter 0.3s, transform 0.3s;
  flex-shrink: 0;
}
.tools-marquee__item:hover .tools-marquee__icon {
  filter: drop-shadow(0 0 7px var(--tc));
  transform: scale(1.12);
}
.tools-marquee__name {
  font-size: 0.87rem;
  font-weight: 600;
  color: rgba(255,255,255,0.72);
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.025em;
  transition: color 0.3s;
}
.tools-marquee__item:hover .tools-marquee__name {
  color: rgba(255,255,255,0.95);
}

/* --- Mobile general --- */
@media (max-width: 768px) {

  .orb { display: none; }

  #app > main,
  #app > footer,
  #app > nav,
  section:not(.tools-section) {
    overflow: hidden;
    max-width: 100vw;
  }
  .tools-section {
    overflow: hidden;
    max-width: 100vw;
  }

  .display-3 { font-size: 2.2rem; }
  .display-4 { font-size: 1.8rem; }
  .display-5 { font-size: 1.5rem; }

  .lead { font-size: 1rem; }

  .glass-card { word-break: break-word; }

  .container { padding-left: 1rem; padding-right: 1rem; }

  .hero-earth {
    right: -10%; left: auto;
    top: 50%;
    transform: translateY(-50%);
    width: 65vw; max-width: 300px;
    opacity: 0.18;
    animation: none;        /* sin fade-in en móvil, aparece directamente */
    z-index: 0;
  }

  .hero-astronaut {
    right: auto; left: 2%;
    top: 50%;
    transform: translateY(-50%);
    width: 30vw; max-width: 130px;
    opacity: 0.3;
    animation: none;
  }

  .hero-subtitle {
    color: #ffffff !important;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
  }
}

/* ── Project image frosted glass frame ── */
.project-img-frame {
  padding: 10px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 1px 0 rgba(255, 255, 255, 0.12) inset;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.project-img-frame img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 12px;
}

/* ── Portfolio Page Cards ── */
/* ── Portfolio Page — Star Atlas Grid ── */

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

.pfp-card {
  position: relative; cursor: pointer;
  border-radius: 20px; overflow: hidden;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.07);
  display: flex; flex-direction: column;
  transition: border-color 0.4s ease, box-shadow 0.4s ease,
              transform 0.4s cubic-bezier(0.34,1.2,0.64,1);
}
.pfp-card:hover {
  transform: translateY(-7px);
  border-color: color-mix(in srgb, var(--pc) 50%, transparent);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--pc) 18%, transparent),
    0 28px 70px rgba(0,0,0,0.6),
    0 0 60px color-mix(in srgb, var(--pc) 8%, transparent);
}
.pfp-card:hover .sc-hud-border { opacity: 1; }

.pfp-card__link { display: flex; flex-direction: column; flex: 1; }
.pfp-card__img-wrap { height: 230px; }

.pfp-card__overlay {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(6,10,20,0.92) 0%,
    rgba(6,10,20,0.38) 50%,
    rgba(6,10,20,0.04) 100%
  );
  transition: background 0.4s ease;
}
.pfp-card:hover .pfp-card__overlay {
  background: linear-gradient(
    to top,
    rgba(6,10,20,0.98) 0%,
    rgba(6,10,20,0.55) 55%,
    rgba(6,10,20,0.1) 100%
  );
}

.pfp-card__orbit-id {
  position: absolute; top: 12px; left: 14px; z-index: 5;
  font-family: 'Courier New', monospace;
  font-size: 0.57rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.32);
}
.pfp-card__bg-num {
  position: absolute; bottom: -8px; right: 8px; z-index: 4;
  font-family: 'Outfit', sans-serif;
  font-size: 5.5rem; font-weight: 900; line-height: 1;
  color: rgba(255,255,255,0.042);
  user-select: none; pointer-events: none;
  transition: color 0.4s ease, transform 0.45s ease;
}
.pfp-card:hover .pfp-card__bg-num {
  color: rgba(255,255,255,0.09);
  transform: translateY(-4px) scale(1.03);
}

.pfp-card__info {
  padding: 18px 20px 22px;
  display: flex; flex-direction: column; flex: 1;
}
.pfp-card__meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px; flex-wrap: wrap; gap: 6px;
}
.pfp-card__sys { font-size: 0.52rem; }

.pfp-card__title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.18rem; font-weight: 700; line-height: 1.25; color: #fff;
  margin: 0 0 7px 0;
  transition: transform 0.35s ease;
}
.pfp-card:hover .pfp-card__title { transform: translateX(3px); }

.pfp-card__desc {
  font-size: 0.83rem; color: rgba(255,255,255,0.5);
  line-height: 1.65; margin: 0 0 12px; flex: 1;
}

.pfp-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.pfp-tag {
  font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 4px;
  border: 1px solid;
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.5);
}

.pfp-card__cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  font-family: 'Outfit', sans-serif;
  opacity: 0; transform: translateY(5px);
  transition: opacity 0.32s ease 0.06s, transform 0.32s ease 0.06s;
}
.pfp-card:hover .pfp-card__cta { opacity: 1; transform: translateY(0); }
.pfp-card__cta i { transition: transform 0.3s; }
.pfp-card:hover .pfp-card__cta i { transform: translate(2px, -2px); }

@media (hover: none) {
  .pfp-card__cta { opacity: 1; transform: translateY(0); }
}
@media (max-width: 991px) {
  .pfp-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .pfp-grid { grid-template-columns: 1fr; }
  .pfp-card__img-wrap { height: 200px; }
}

/* ── Services Page — Orbital Modules ── */

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

.svc-card {
  position: relative; cursor: pointer; overflow: hidden;
  border-radius: 20px;
  padding: 28px 26px 30px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.07);
  display: block;
  transition: border-color 0.4s ease, box-shadow 0.4s ease,
              transform 0.4s cubic-bezier(0.34,1.2,0.64,1);
}
.svc-card:hover {
  transform: translateY(-7px);
  border-color: color-mix(in srgb, var(--sc) 50%, transparent);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--sc) 16%, transparent),
    0 28px 70px rgba(0,0,0,0.6),
    0 0 65px color-mix(in srgb, var(--sc) 8%, transparent);
}
.svc-card:hover .sc-hud-border { opacity: 1; }

/* Orbit icon */
.svc-orbit-wrap {
  position: relative;
  width: 110px; height: 110px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.svc-orbit-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid transparent;
  border-top-color: color-mix(in srgb, var(--sc) 55%, transparent);
  border-right-color: color-mix(in srgb, var(--sc) 22%, transparent);
  transition: border-color 0.4s ease;
}
.svc-orbit-ring::before {
  content: '';
  position: absolute;
  top: -4px; left: 50%; margin-left: -3.5px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--sc);
  box-shadow: 0 0 9px var(--sc), 0 0 18px color-mix(in srgb, var(--sc) 45%, transparent);
}
.svc-card:hover .svc-orbit-ring {
  border-top-color: var(--sc);
  border-right-color: color-mix(in srgb, var(--sc) 42%, transparent);
}

.svc-icon-box {
  width: 64px; height: 64px; border-radius: 16px;
  background: color-mix(in srgb, var(--sc) 10%, rgba(255,255,255,0.03));
  border: 1px solid color-mix(in srgb, var(--sc) 28%, transparent);
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.svc-card:hover .svc-icon-box {
  background: color-mix(in srgb, var(--sc) 18%, rgba(255,255,255,0.05));
  border-color: color-mix(in srgb, var(--sc) 55%, transparent);
  box-shadow: 0 0 26px color-mix(in srgb, var(--sc) 28%, transparent);
}
.svc-icon {
  font-size: 1.55rem; color: var(--sc);
  transition: transform 0.45s cubic-bezier(0.34,1.56,0.64,1);
}
.svc-card:hover .svc-icon { transform: scale(1.18); }

.svc-icon-bg {
  position: absolute;
  font-size: 7rem; color: var(--sc);
  opacity: 0.032;
  right: -8px; top: 50%; transform: translateY(-50%);
  pointer-events: none; user-select: none;
  transition: opacity 0.45s, transform 0.55s;
}
.svc-card:hover .svc-icon-bg {
  opacity: 0.075;
  transform: translateY(-50%) scale(1.06) rotate(6deg);
}

.svc-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.22rem; font-weight: 700; color: #fff;
  margin: 0 0 10px 0; line-height: 1.2;
  transition: transform 0.35s ease;
}
.svc-card:hover .svc-title { transform: translateX(3px); }

.svc-accent-line {
  height: 2px; border-radius: 2px; width: 36px; margin-bottom: 14px;
  transition: width 0.55s cubic-bezier(0.25,0.46,0.45,0.94);
}
.svc-card:hover .svc-accent-line { width: 62px; }

.svc-desc {
  font-size: 0.875rem; color: rgba(255,255,255,0.52);
  line-height: 1.72; margin: 0 0 22px;
}

.svc-cta {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.32s ease 0.06s, transform 0.32s ease 0.06s;
}
.svc-cta i { transition: transform 0.3s; }
.svc-card:hover .svc-cta { opacity: 1; transform: translateY(0); }
.svc-card:hover .svc-cta i { transform: translate(2px, -2px); }

@media (hover: none) {
  .svc-cta { opacity: 1; transform: translateY(0); }
}
@media (max-width: 991px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .svc-grid { grid-template-columns: 1fr; }
}

/* ── Service Detail Page — Mission Briefing ── */

.sd-back-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; margin-bottom: 44px;
  opacity: 0.65; transition: opacity 0.3s, gap 0.3s;
}
.sd-back-link:hover { opacity: 1; gap: 12px; }

.sd-hero { max-width: 780px; }
.sd-hero__orbit { margin-bottom: 28px; }

.sd-hero__icon-box {
  width: 80px !important; height: 80px !important;
  border-radius: 20px !important;
}
.sd-hero__icon { font-size: 1.9rem !important; }

.sd-hero__telemetry {
  display: flex; align-items: center; gap: 16px; margin-bottom: 14px;
}

.sd-hero__title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800; line-height: 1.08; color: #fff;
  margin: 0 0 14px; letter-spacing: -0.03em;
}
.sd-hero__divider {
  height: 2px; border-radius: 2px; width: 55px; margin-bottom: 20px;
}
.sd-hero__desc {
  font-size: 1rem; line-height: 1.8;
  color: rgba(255,255,255,0.62); margin: 0 0 32px;
  max-width: 640px;
}

/* Section labels */
.sd-section-label {
  display: flex; align-items: center; gap: 12px; margin-bottom: 10px;
}
.sd-label-line { flex: 1; height: 1px; opacity: 0.25; border-radius: 1px; }
.sd-section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem; font-weight: 700; color: #fff; margin: 0 0 20px;
}

/* Capability cards */
.sd-include-card {
  position: relative; overflow: hidden;
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px 20px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-left: 2px solid color-mix(in srgb, var(--sc) 55%, transparent);
  border-radius: 12px;
  transition: border-left-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.sd-include-card:hover {
  border-left-color: var(--sc);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3),
              -4px 0 24px color-mix(in srgb, var(--sc) 10%, transparent);
}
.sd-include-card__num {
  position: absolute; bottom: -10px; right: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 3.5rem; font-weight: 900; line-height: 1;
  color: rgba(255,255,255,0.038);
  user-select: none; pointer-events: none;
  transition: color 0.3s;
}
.sd-include-card:hover .sd-include-card__num { color: rgba(255,255,255,0.08); }
.sd-include-card__check {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  background: color-mix(in srgb, var(--sc) 13%, transparent);
  border: 1px solid color-mix(in srgb, var(--sc) 32%, transparent);
  display: flex; align-items: center; justify-content: center;
  color: var(--sc); font-size: 0.88rem;
  transition: background 0.3s, border-color 0.3s;
}
.sd-include-card:hover .sd-include-card__check {
  background: color-mix(in srgb, var(--sc) 22%, transparent);
  border-color: var(--sc);
}
.sd-include-card__title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.93rem; font-weight: 700; color: #fff; margin: 0 0 4px;
}
.sd-include-card__desc {
  font-size: 0.81rem; color: rgba(255,255,255,0.52);
  margin: 0; line-height: 1.62;
}

/* Tech chips */
.sd-tech-grid { display: flex; flex-wrap: wrap; gap: 9px; }
.sd-tech-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 13px; border-radius: 6px; border: 1px solid;
  background: rgba(255,255,255,0.03);
  font-size: 0.8rem; font-weight: 500; color: rgba(255,255,255,0.72);
  transition: background 0.25s;
}
.sd-tech-chip:hover { background: rgba(255,255,255,0.065); }
.sd-tech-chip__dot {
  width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
}

/* Process timeline */
.sd-process { display: flex; flex-direction: column; }
.sd-process__step {
  display: flex; align-items: flex-start; gap: 14px;
  position: relative; padding-bottom: 22px;
}
.sd-process__step:last-child { padding-bottom: 0; }
.sd-process__line {
  position: absolute; left: 16px; top: 36px; bottom: 0; width: 1px;
  background: linear-gradient(to bottom,
    color-mix(in srgb, var(--sc) 40%, transparent), transparent);
}
.sd-process__num {
  width: 33px; height: 33px; border-radius: 50%; flex-shrink: 0;
  background: color-mix(in srgb, var(--sc) 14%, rgba(255,255,255,0.03));
  border: 1px solid color-mix(in srgb, var(--sc) 40%, transparent);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem; font-weight: 800; color: var(--sc);
  position: relative; z-index: 1;
}
.sd-process__content { padding-top: 5px; }
.sd-process__title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.93rem; font-weight: 700; color: #fff; margin: 0 0 3px;
}
.sd-process__desc {
  font-size: 0.81rem; color: rgba(255,255,255,0.52);
  margin: 0; line-height: 1.62;
}

/* CTA block */
.sd-cta {
  position: relative; overflow: hidden;
  border-radius: 22px; padding: 64px 52px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  text-align: center;
}
.sd-cta::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--sc);
  opacity: 0.4;
}
.sd-cta__rings {
  position: absolute; bottom: -80px; right: -80px;
  width: 300px; height: 300px; pointer-events: none;
}
.sd-cta__ring {
  position: absolute; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--sc) 11%, transparent);
}
.sd-cta__ring--1 { inset: 0; }
.sd-cta__ring--2 { inset: 35px; }
.sd-cta__ring--3 { inset: 70px; }
.sd-cta__icon-bg {
  position: absolute; font-size: 13rem; color: var(--sc);
  opacity: 0.022; left: -15px; bottom: -20px;
  pointer-events: none; user-select: none;
}
.sd-cta__content { position: relative; z-index: 1; max-width: 580px; margin: 0 auto; }
.sd-cta__title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800; color: #fff; margin: 0 0 14px; line-height: 1.2;
}
.sd-cta__desc {
  font-size: 0.95rem; color: rgba(255,255,255,0.58);
  line-height: 1.72; margin: 0 0 30px;
}

@media (max-width: 575px) {
  .sd-cta { padding: 40px 24px; }
  .sd-hero__title { font-size: 2rem; }
}

/* ─── Footer Redesign ────────────────────────────────────── */
.footer-desc {
  color: rgba(255,255,255,0.52);
  line-height: 1.75;
  font-size: 0.88rem;
  max-width: 360px;
}

/* ── Contact Page ── */
.contact-avail-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  flex-shrink: 0;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  color: white;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}

a.contact-method:hover {
  border-color: rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.055);
  transform: translateX(5px);
}

.contact-method--wa:hover {
  border-color: rgba(37,211,102,0.3) !important;
  background: rgba(37,211,102,0.06) !important;
}

.contact-method__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-method__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-method__label {
  font-size: 0.74rem;
  color: rgba(255,255,255,0.42);
  letter-spacing: 0.04em;
}

.contact-method__value {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  font-family: 'Outfit', sans-serif;
}

.contact-method__arrow {
  color: rgba(255,255,255,0.25);
  font-size: 1rem;
  transition: transform 0.25s, color 0.25s;
  flex-shrink: 0;
}

a.contact-method:hover .contact-method__arrow {
  color: rgba(255,255,255,0.8);
  transform: translate(3px, -3px);
}

/* Form container */
.contact-form-wrap {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 26px;
  padding: 44px 48px;
}

@media (max-width: 768px) {
  .contact-form-wrap { padding: 28px 22px; }
}

.contact-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 10px;
}

.contact-input {
  display: block;
  width: 100%;
  background: rgba(6, 10, 20, 0.42);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  padding: 14px 18px;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  outline: none;
  box-shadow:
    inset 1px 1px 0 rgba(255,255,255,0.07),
    inset 0 0 6px rgba(255,255,255,0.03);
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
  resize: none;
}

.contact-input::placeholder { color: rgba(255,255,255,0.22); }

.contact-input:focus {
  outline: none;
  border-color: rgba(0,212,255,0.60);
  background: rgba(0,212,255,0.06);
  box-shadow:
    0 0 0 3px rgba(0,212,255,0.14),
    0 0 20px rgba(0,212,255,0.08),
    inset 1px 1px 0 rgba(0,212,255,0.14),
    inset 0 0 8px rgba(0,212,255,0.05);
}

/* Service type grid */
.contact-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

@media (max-width: 480px) {
  .contact-service-grid { grid-template-columns: repeat(2, 1fr); }
}

.contact-service-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, color 0.25s;
  white-space: nowrap;
}

.contact-service-btn:hover {
  border-color: rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.82);
  background: rgba(255,255,255,0.07);
}
.contact-service-btn.active {
  transform: scale(1.04);
  box-shadow:
    0 4px 16px rgba(0,0,0,0.3),
    0 0 20px rgba(0,0,0,0.1),
    inset 1px 1px 0 rgba(255,255,255,0.18),
    inset 0 0 8px rgba(255,255,255,0.06);
  transition: border-color 0.25s, background 0.25s, color 0.25s, box-shadow 0.25s, transform 0.25s;
}

/* Success state */
.contact-success {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 28px;
  border-radius: 18px;
  background: rgba(16,185,129,0.07);
  border: 1px solid rgba(16,185,129,0.25);
  animation: hero-fadein 0.5s ease forwards;
}

/* Captcha */
.contact-captcha {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-captcha__eq {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent-blue);
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.contact-captcha__input {
  max-width: 120px !important;
}

.contact-captcha__input::-webkit-outer-spin-button,
.contact-captcha__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.contact-captcha__input[type="number"] {
  -moz-appearance: textfield;
}

.contact-captcha__error {
  color: #f87171;
  font-size: 0.8rem;
  margin-top: 8px;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-available-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 7px #10b981;
  flex-shrink: 0;
}
.footer-available-text {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.58);
  letter-spacing: 0.02em;
}

.footer-col-heading {
  font-family: 'Outfit', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.1rem;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  color: rgba(255,255,255,0.48);
  text-decoration: none;
  font-size: 0.875rem;
  padding: 0.32rem 0;
  transition: color 0.22s, padding-left 0.22s;
}
.footer-link::before {
  content: '';
  display: inline-block;
  width: 0; height: 1px;
  background: var(--accent-blue);
  flex-shrink: 0;
  margin-right: 0;
  transition: width 0.22s, margin-right 0.22s;
}
.footer-link:hover { color: #fff; padding-left: 2px; }
.footer-link:hover::before { width: 9px; margin-right: 7px; }

/* Contact info rows */
.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}
a.footer-contact-row:hover .footer-crv { color: #fff; }

.footer-cri {
  font-size: 0.95rem;
  line-height: 1;
  margin-top: 4px;
  flex-shrink: 0;
}
.footer-crl {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 2px;
}
.footer-crv {
  display: block;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.68);
  font-weight: 500;
  transition: color 0.2s;
}

/* WhatsApp button */
.footer-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.7rem 1.25rem;
  background: rgba(37,211,102,0.07);
  border: 1px solid rgba(37,211,102,0.18);
  border-radius: 0.7rem;
  color: #4dde8f;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.22s, border-color 0.22s, box-shadow 0.22s, color 0.22s;
}
.footer-wa-btn:hover {
  background: rgba(37,211,102,0.13);
  border-color: rgba(37,211,102,0.35);
  box-shadow: 0 0 22px rgba(37,211,102,0.1);
  color: #5ae89a;
}

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ─── Reviews Carousel ───────────────────────────────────── */
@keyframes scroll-reviews {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.reviews-track {
  overflow: hidden;
  width: 100%;
  cursor: default;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.reviews-inner {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: scroll-reviews 80s linear infinite;
}

.reviews-inner.paused {
  animation-play-state: paused;
}

.review-card {
  display: flex;
  flex-direction: column;
  width: 320px;
  flex-shrink: 0;
  background: rgba(6, 10, 20, 0.38);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 1.25rem;
  padding: 1.75rem;
  backdrop-filter: blur(16px) saturate(150%) brightness(1.10);
  -webkit-backdrop-filter: blur(16px) saturate(150%) brightness(1.10);
  overflow: hidden;
  position: relative;
  box-shadow:
    0 4px 20px rgba(0,0,0,0.35),
    inset 1px 1px 0 rgba(255,255,255,0.14),
    inset -1px -1px 0 rgba(0,0,0,0.20),
    inset 0 0 8px rgba(255,255,255,0.04);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.review-card::before {
  content: '\201C';
  position: absolute;
  top: -14px; right: 18px;
  font-size: 7rem;
  font-family: Georgia, serif;
  line-height: 1;
  color: rgba(0, 212, 255, 0.07);
  pointer-events: none;
  user-select: none;
}
.review-card:hover {
  border-color: rgba(0,212,255,0.20);
  transform: translateY(-5px);
  box-shadow:
    0 10px 36px rgba(0,0,0,0.52),
    0 0 30px rgba(0,212,255,0.07),
    inset 1px 1px 0 rgba(0,212,255,0.20),
    inset 0 0 10px rgba(0,212,255,0.05);
}

.review-text {
  color: rgba(255,255,255,0.78);
  font-size: 0.9rem;
  line-height: 1.75;
  flex: 1;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.02em;
}

.review-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  font-family: 'Outfit', sans-serif;
}

.review-company {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.02em;
}

/* ══════════════════════════════════════════
   7 HOME IMPROVEMENTS
══════════════════════════════════════════ */

/* ── 1. Hero scroll indicator ── */
.hero-scroll-indicator {
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  pointer-events: none;
  opacity: 0;
  animation: hero-fadein 1s ease 1.4s forwards;
}
.scroll-mouse {
  width: 22px; height: 34px;
  border: 2px solid rgba(0,212,255,0.5);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 5px;
}
.scroll-dot {
  width: 4px; height: 6px;
  background: var(--accent-blue);
  border-radius: 2px;
}

/* ── Home Services Section — Deep Space Terminal ── */

.hsvc-section { overflow: hidden; }

/* Animated radar sweep */
.hsvc-radar {
  position: absolute;
  width: 1000px; height: 1000px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 275deg,
    rgba(0,212,255,0.018) 305deg,
    rgba(0,212,255,0.055) 340deg,
    rgba(0,212,255,0.018) 355deg,
    transparent 360deg
  );
  pointer-events: none; z-index: 1; display: none;
}

/* Dot grid */
.hsvc-dots {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background-image: radial-gradient(circle, rgba(0,212,255,0.11) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 50%, black 10%, transparent 72%);
  mask-image: radial-gradient(ellipse 75% 65% at 50% 50%, black 10%, transparent 72%);
}

/* Header */
.hsvc-header { margin-bottom: 44px; }

/* ─ Grid: featured left + secondary col right ─ */
.hsvc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
  align-items: stretch;
}

/* ─ Mini grid: 3 equal cards (servicios adicionales) ─ */
.hsvc-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

/* ─ Featured card ─ */
.hsvc-feat {
  position: relative; overflow: hidden;
  border-radius: 22px;
  padding: 32px 30px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-direction: column;
  transition: border-color 0.4s, box-shadow 0.4s;
}
.hsvc-feat:hover {
  border-color: color-mix(in srgb, var(--sc) 50%, transparent);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--sc) 14%, transparent),
    0 40px 90px rgba(0,0,0,0.6),
    0 0 80px color-mix(in srgb, var(--sc) 9%, transparent);
}
.hsvc-feat:hover .sc-hud-border { opacity: 1; }

.hsvc-feat__orbit { width: 130px; height: 130px; margin-bottom: 20px; }
.hsvc-feat__icon-box {
  width: 76px !important; height: 76px !important;
  border-radius: 20px !important;
}
.hsvc-feat__title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 800; color: #fff; line-height: 1.2;
  margin: 0 0 10px; letter-spacing: -0.02em;
}

/* Title link */
.hsvc-feat__title-link,
.hsvc-card__title-link { display: block; }
.hsvc-feat__title-link:hover .hsvc-feat__title,
.hsvc-card__title-link:hover .hsvc-card__title { color: var(--sc, #00d4ff); }
.hsvc-title-arrow {
  font-size: 0.65em; vertical-align: middle;
  opacity: 0; transform: translate(0, 0);
  transition: opacity 0.25s, transform 0.25s;
}
.hsvc-feat__title-link:hover .hsvc-title-arrow,
.hsvc-card__title-link:hover .hsvc-title-arrow {
  opacity: 1; transform: translate(2px, -2px);
}
.hsvc-feat__short-desc {
  font-size: 0.855rem; color: rgba(255,255,255,0.52);
  line-height: 1.65; margin: 6px 0 0;
}
.hsvc-card__short-desc {
  font-size: 0.8rem; color: rgba(255,255,255,0.48);
  line-height: 1.6; margin: 6px 0 12px;
}

/* Data tape */
.hsvc-tape {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  background: rgba(0,0,0,0.28);
  padding: 9px 0;
  margin: 14px 0 20px;
}
.hsvc-tape__track {
  display: inline-flex; align-items: center; gap: 14px;
  white-space: nowrap;
  animation: hsvc-tape-scroll 14s linear infinite;
  font-family: 'Courier New', monospace;
  font-size: 0.58rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  opacity: 0.75; padding: 0 16px;
}
.hsvc-tape__sep { opacity: 0.4; font-size: 0.5rem; }
@keyframes hsvc-tape-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Feature list */
.hsvc-feat__list {
  list-style: none; padding: 0; margin: 0 0 24px; flex: 1;
}
.hsvc-feat__item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.875rem; font-weight: 500;
  color: rgba(255,255,255,0.72);
}
.hsvc-feat__item:last-child { border-bottom: none; }
.hsvc-feat__dot {
  width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
}

/* ─ Secondary column ─ */
.hsvc-col { display: flex; flex-direction: column; gap: 20px; }

.hsvc-card {
  position: relative; overflow: hidden;
  border-radius: 20px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.07);
  flex: 1;
  transition: border-color 0.4s, box-shadow 0.4s;
}
.hsvc-card:hover {
  border-color: color-mix(in srgb, var(--sc) 50%, transparent);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--sc) 14%, transparent),
    0 24px 60px rgba(0,0,0,0.55),
    0 0 55px color-mix(in srgb, var(--sc) 8%, transparent);
}
.hsvc-card:hover .sc-hud-border { opacity: 1; }
.hsvc-card__inner { padding: 24px 22px 22px; }

.hsvc-card__head {
  display: flex; align-items: center; gap: 16px; margin-bottom: 14px;
}
.hsvc-card__orbit { width: 82px; height: 82px; flex-shrink: 0; }
.hsvc-card__icon-box {
  width: 48px !important; height: 48px !important;
  border-radius: 13px !important;
}
.hsvc-card__icon { font-size: 1.15rem !important; }
.hsvc-card__head-info { flex: 1; min-width: 0; }
.hsvc-card__title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(0.95rem, 1.8vw, 1.25rem);
  font-weight: 700; color: #fff; line-height: 1.2; margin: 4px 0 0;
}

/* Feature chips */
.hsvc-card__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.hsvc-chip {
  font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 4px; border: 1px solid;
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.58);
}

/* CTA link */
.hsvc-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none;
  opacity: 0; transform: translateY(5px);
  transition: opacity 0.3s ease 0.06s, transform 0.3s ease 0.06s;
}
.hsvc-feat:hover  .hsvc-cta,
.hsvc-card:hover  .hsvc-cta  { opacity: 1; transform: translateY(0); }
.hsvc-cta i { transition: transform 0.3s; }
.hsvc-feat:hover  .hsvc-cta i,
.hsvc-card:hover  .hsvc-cta i { transform: translate(2px, -2px); }

/* Mission data strip */
.hsvc-mission-data {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 32px; position: relative;
}
.hsvc-mission-data__top {
  display: flex; align-items: center; gap: 14px; margin-bottom: 24px;
}
.hsvc-mission-data__line {
  flex: 1; height: 1px;
  background: rgba(0,212,255,0.15);
}
.hsvc-mission-data::before {
  content: ''; position: absolute; top: -1px; left: 0;
  width: 72px; height: 1px;
  background: var(--accent-blue);
}
.hsvc-mission-data__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.hsvc-stat {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 20px 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.065);
  border-radius: 14px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.hsvc-stat:hover {
  border-color: rgba(0,212,255,0.2);
  box-shadow: 0 0 32px rgba(0,212,255,0.06);
}
.hsvc-stat__icon {
  width: 40px; height: 40px; border-radius: 10px; margin-bottom: 10px;
  background: rgba(0,212,255,0.06);
  border: 1px solid rgba(0,212,255,0.14);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-blue); font-size: 1.1rem;
}
.hsvc-stat__label {
  font-size: 0.7rem; color: rgba(255,255,255,0.42);
  letter-spacing: 0.07em; margin-top: 2px;
}

/* Responsive */
@media (max-width: 991px) {
  .hsvc-grid      { grid-template-columns: 1fr; }
  .hsvc-mini-grid { grid-template-columns: repeat(2, 1fr); }
  .hsvc-col       { flex-direction: row; }
  .hsvc-mission-data__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .hsvc-mini-grid { grid-template-columns: 1fr; }
  .hsvc-col       { flex-direction: column; }
  .hsvc-mission-data__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── 3. Legacy stats separator (kept for compat) ── */
.stats-separator {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 2.5rem; margin-top: 2.5rem; position: relative;
}
.stats-separator::before {
  content: ''; position: absolute; top: -1px; left: 50%;
  transform: translateX(-50%);
  width: 72px; height: 1px;
  background: var(--accent-blue);
}

/* ── 2. Service card number watermarks (legacy) ── */
.service-watermark {
  position: absolute; top: -12px; right: 14px;
  font-size: 6rem; font-weight: 800; font-family: 'Outfit', sans-serif;
  color: rgba(255,255,255,0.038); line-height: 1;
  pointer-events: none; user-select: none; z-index: 0;
  letter-spacing: -0.05em;
  transition: color 0.5s var(--ease-orbital);
}
.glass-card:hover .service-watermark { color: rgba(0,212,255,0.07); }

/* ── 4. Process section ── */
.process-connector {
  position: absolute;
  top: 27px;
  left: 12.5%; right: 12.5%;
  height: 1px;
  background: rgba(255,255,255,0.07);
  z-index: 0;
}
@keyframes connector-pulse {
  0%   { left: -5%;   opacity: 0; }
  6%   { opacity: 1; }
  94%  { opacity: 1; }
  100% { left: 105%;  opacity: 0; }
}
.process-num-wrap {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  position: relative; z-index: 1;
  transition: background 0.35s, box-shadow 0.35s;
}
.process-step:hover .process-num-wrap {
  background: rgba(0,212,255,0.1);
  border-color: rgba(0,212,255,0.25);
  box-shadow: 0 0 20px rgba(0,212,255,0.15);
}
.process-num {
  font-size: 1.05rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  color: var(--accent-blue);
}

/* ── 5. Projects Bento Grid ── */
/* ── Project Showcase — Mission Control ── */

/* HUD corner brackets */
.sc-hud-border {
  position: absolute; inset: 10px;
  background:
    linear-gradient(var(--pc), var(--pc)) top left    / 22px 2px no-repeat,
    linear-gradient(var(--pc), var(--pc)) top left    / 2px 22px no-repeat,
    linear-gradient(var(--pc), var(--pc)) top right   / 22px 2px no-repeat,
    linear-gradient(var(--pc), var(--pc)) top right   / 2px 22px no-repeat,
    linear-gradient(var(--pc), var(--pc)) bottom left / 22px 2px no-repeat,
    linear-gradient(var(--pc), var(--pc)) bottom left / 2px 22px no-repeat,
    linear-gradient(var(--pc), var(--pc)) bottom right/ 22px 2px no-repeat,
    linear-gradient(var(--pc), var(--pc)) bottom right/ 2px 22px no-repeat;
  pointer-events: none; z-index: 30;
  opacity: 0; transition: opacity 0.4s ease;
}
.sc-featured:hover .sc-hud-border,
.sc-card:hover     .sc-hud-border { opacity: 1; }

/* Shared image layer */
.sc-img-wrap { position: relative; overflow: hidden; }
.sc-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.75s cubic-bezier(0.25,0.46,0.45,0.94), filter 0.5s ease;
}
.sc-featured:hover .sc-img,
.sc-card:hover     .sc-img { transform: scale(1.06); }

/* CRT scanlines */
.sc-scanlines {
  position: absolute; inset: 0; pointer-events: none; z-index: 5;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 3px,
    rgba(0,0,0,0.045) 3px, rgba(0,0,0,0.045) 4px
  );
}

/* Scan beam sweep */
.sc-scan-beam {
  position: absolute; left: 0; right: 0; top: 0;
  height: 90px; pointer-events: none; z-index: 6; opacity: 0;
  background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--pc) 22%, transparent), transparent);
  transform: translateY(-100%);
}
.sc-featured:hover .sc-scan-beam,
.sc-card:hover     .sc-scan-beam {
  animation: sc-scan-sweep 1.3s ease-in-out 0.05s 1 forwards;
}
@keyframes sc-scan-sweep {
  0%   { transform: translateY(-100%); opacity: 0.9; }
  80%  { opacity: 0.65; }
  100% { transform: translateY(650%);  opacity: 0; }
}

/* Bottom progress bar */
.sc-img-bar {
  position: absolute; bottom: 0; left: 0;
  height: 3px; width: 100%; z-index: 8;
  background: var(--pc);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 0.8s cubic-bezier(0.25,0.46,0.45,0.94);
}
.sc-featured:hover .sc-img-bar,
.sc-card:hover     .sc-img-bar { transform: scaleX(1); }

/* Telemetry header */
.sc-telemetry {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.sc-telemetry--sm { margin-bottom: 12px; }
.sc-telemetry__id {
  font-family: 'Courier New', monospace;
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.sc-telemetry--sm .sc-telemetry__id { font-size: 0.56rem; }

/* Live status dot */
.sc-live {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Courier New', monospace;
  font-size: 0.56rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.32);
}
.sc-live__dot {
  width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
  background: var(--lc, #00d4ff);
  box-shadow: 0 0 7px var(--lc, #00d4ff);
}

/* Category pill */
.sc-cat-tag {
  display: inline-block;
  font-size: 0.63rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 13px;
  border: 1px solid; border-radius: 50px;
  margin-bottom: 18px;
}
.sc-cat-tag--sm { font-size: 0.58rem; margin-bottom: 12px; }

/* Accent divider */
.sc-divider {
  height: 2px; border-radius: 2px; width: 50px; margin: 16px 0;
  transition: width 0.55s cubic-bezier(0.25,0.46,0.45,0.94);
}
.sc-featured:hover .sc-divider { width: 85px; }

/* ── Featured Hero Card ── */
.sc-featured {
  position: relative; cursor: pointer;
  display: grid; grid-template-columns: 56% 44%;
  border-radius: 22px; overflow: hidden;
  background: rgba(255,255,255,0.018);
  border: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 20px;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.sc-featured:hover {
  border-color: color-mix(in srgb, var(--pc) 48%, transparent);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--pc) 16%, transparent),
    0 48px 120px rgba(0,0,0,0.65),
    0 0 90px color-mix(in srgb, var(--pc) 9%, transparent);
}
.sc-featured__img-col { position: relative; }
.sc-featured__img-col .sc-img-wrap { height: 100%; min-height: 420px; }
.sc-featured__img-col .sc-img-wrap::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 4;
  background: linear-gradient(to right, transparent 65%, rgba(6,10,20,0.95) 100%);
}
.sc-featured__info-col {
  padding: 44px 40px;
  display: flex; flex-direction: column; justify-content: center;
}
.sc-featured__title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 3.2vw, 2.85rem);
  font-weight: 800; line-height: 1.08; color: #fff;
  margin: 0 0 8px 0; letter-spacing: -0.025em;
}
.sc-featured__desc {
  font-size: 0.91rem; line-height: 1.74;
  color: rgba(255,255,255,0.55); margin: 0 0 30px 0;
}

/* CTA button */
.sc-cta-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 13px 22px; align-self: flex-start;
  background: color-mix(in srgb, var(--pc) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--pc) 45%, transparent);
  border-radius: 12px; text-decoration: none;
  color: var(--pc) !important;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  transition: background 0.35s, border-color 0.35s, box-shadow 0.35s, transform 0.28s;
}
.sc-cta-btn:hover {
  background: color-mix(in srgb, var(--pc) 22%, transparent);
  border-color: var(--pc);
  box-shadow: 0 0 32px color-mix(in srgb, var(--pc) 32%, transparent);
  transform: translateY(-2px);
}
.sc-cta-btn__icon {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  background: color-mix(in srgb, var(--pc) 20%, transparent);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem;
  transition: background 0.3s, transform 0.3s;
}
.sc-cta-btn:hover .sc-cta-btn__icon {
  background: color-mix(in srgb, var(--pc) 38%, transparent);
  transform: translate(2px, -2px);
}

/* ── Secondary Cards Row ── */
.sc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.sc-card {
  position: relative; cursor: pointer;
  border-radius: 20px; overflow: hidden;
  background: rgba(255,255,255,0.018);
  border: 1px solid rgba(255,255,255,0.07);
  transform: perspective(1200px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.12s ease;
  will-change: transform;
}
.sc-card:hover {
  border-color: color-mix(in srgb, var(--pc) 48%, transparent);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--pc) 16%, transparent),
    0 32px 80px rgba(0,0,0,0.6),
    0 0 65px color-mix(in srgb, var(--pc) 9%, transparent);
  transform: perspective(1200px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) translateY(-5px);
}
.sc-card__spotlight {
  position: absolute; inset: 0; z-index: 5; pointer-events: none;
  background: radial-gradient(
    circle at var(--mx,50%) var(--my,50%),
    rgba(255,255,255,0.06) 0%, transparent 55%
  );
  opacity: 0; transition: opacity 0.35s ease;
}
.sc-card:hover .sc-card__spotlight { opacity: 1; }

.sc-card__link { display: block; position: relative; z-index: 4; }
.sc-card__img-wrap { height: 260px; }
.sc-card__num {
  position: absolute; bottom: -8px; right: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(4.5rem, 7vw, 7rem);
  font-weight: 900; line-height: 1;
  color: rgba(255,255,255,0.04);
  user-select: none; pointer-events: none; z-index: 7;
  transition: color 0.5s ease, transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
}
.sc-card:hover .sc-card__num {
  color: rgba(255,255,255,0.08);
  transform: translateY(-5px) scale(1.04);
}
.sc-card__info { padding: 20px 22px 24px; }
.sc-card__title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 700; line-height: 1.2; color: #fff;
  margin: 0 0 8px 0;
  transition: transform 0.35s ease;
}
.sc-card:hover .sc-card__title { transform: translateY(-2px); }
.sc-card__desc {
  font-size: 0.83rem; line-height: 1.62;
  color: rgba(255,255,255,0.5); margin: 0 0 14px 0;
  max-height: 0; overflow: hidden; opacity: 0;
  transform: translateY(8px);
  transition: max-height 0.45s ease, opacity 0.38s ease 0.04s, transform 0.38s ease 0.04s;
}
.sc-card:hover .sc-card__desc { max-height: 80px; opacity: 1; transform: translateY(0); }
.sc-card__cta-row { display: flex; align-items: center; }
.sc-cta-link {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 4px;
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.35s ease 0.07s, transform 0.35s ease 0.07s;
}
.sc-card:hover .sc-cta-link { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 991px) {
  .sc-featured { grid-template-columns: 1fr; }
  .sc-featured__img-col .sc-img-wrap { min-height: 300px; }
  .sc-featured__img-col .sc-img-wrap::after {
    background: linear-gradient(to bottom, transparent 55%, rgba(6,10,20,0.97) 100%);
  }
  .sc-featured__info-col { padding: 28px 26px 34px; }
  .sc-featured__title { font-size: clamp(1.6rem, 5vw, 2.2rem); }
  .sc-card__img-wrap { height: 210px; }
}
@media (max-width: 575px) {
  .sc-row { grid-template-columns: 1fr; }
  .sc-card__img-wrap { height: 220px; }
  .sc-card__desc { display: none; }
  .sc-featured__info-col { padding: 22px 20px 28px; }
}

/* ── Rescue Protocol Section — rsc-* ── */
.rsc-section { padding: 110px 0 120px; overflow: hidden; }

.rsc-bg-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(124,58,237,0.16) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 85% 65% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 85% 65% at 50% 50%, black, transparent);
  opacity: 0.55;
}
.rsc-bg-scanline { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.rsc-bg-scanline::before {
  display: none;
}

.rsc-alert-bar { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.rsc-alert-bar__beacon {
  width: 10px; height: 10px; border-radius: 50%; background: #00d4ff; flex-shrink: 0;
  box-shadow: 0 0 10px #00d4ff, 0 0 22px rgba(0,212,255,0.5);
}
.rsc-alert-bar__code { color: #00d4ff; font-family: 'Courier New', monospace; font-size: 0.71rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.rsc-alert-bar__line { flex: 1; height: 1px; background: rgba(0,212,255,0.18); }
.rsc-alert-bar__status { font-size: 0.66rem; color: rgba(255,255,255,0.3); letter-spacing: 0.14em; text-transform: uppercase; flex-shrink: 0; }

.rsc-main-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.8rem, 7.5vw, 5.2rem);
  font-weight: 900; line-height: 1.04; margin-bottom: 22px;
}
.rsc-main-title__pre,
.rsc-main-title__post { color: rgba(255,255,255,0.93); }
.rsc-main-title__em {
  color: var(--accent-blue);
}
.rsc-main-desc { font-size: 1.06rem; color: rgba(255,255,255,0.58); line-height: 1.78; max-width: 700px; margin-bottom: 58px; }

/* Signal cards */
.rsc-signals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 60px; }
.rsc-signal-card {
  position: relative; background: rgba(124,58,237,0.04); border: 1px solid rgba(124,58,237,0.18);
  border-radius: 12px; padding: 28px 24px 32px; overflow: hidden;
  transition: border-color 0.3s, background 0.3s;
}
.rsc-signal-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: rgba(124,58,237,0.5);
}
.rsc-signal-card:hover { border-color: rgba(124,58,237,0.38); background: rgba(124,58,237,0.08); }
.rsc-signal-card__icon {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  background: rgba(124,58,237,0.12); border: 1px solid rgba(124,58,237,0.28);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: #a855f7; margin-bottom: 16px;
}
.rsc-signal-card__num {
  position: absolute; bottom: 10px; right: 16px;
  font-family: 'Outfit', sans-serif; font-size: 4rem; font-weight: 900;
  color: rgba(124,58,237,0.08); line-height: 1; pointer-events: none; user-select: none;
}
.rsc-signal-card__title { font-family: 'Outfit', sans-serif; font-size: 1rem; font-weight: 700; color: rgba(255,255,255,0.9); margin-bottom: 8px; }
.rsc-signal-card__desc { font-size: 0.835rem; color: rgba(255,255,255,0.5); line-height: 1.65; margin: 0; }

/* Ops block */
.rsc-ops { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; margin-bottom: 72px; align-items: stretch; }
.rsc-ops__brief,
.rsc-ops__crew {
  background: rgba(6, 10, 20, 0.35);
  backdrop-filter: blur(16px) saturate(160%) brightness(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(160%) brightness(1.15);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 16px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 6px 32px rgba(0, 0, 0, 0.45),
    inset 1px 1px 0 rgba(255, 255, 255, 0.22),
    inset -1px -1px 0 rgba(0, 0, 0, 0.30),
    inset 0 0 12px rgba(255, 255, 255, 0.06);
  transition: box-shadow 0.4s, border-color 0.4s;
}
.rsc-ops__brief:hover,
.rsc-ops__crew:hover {
  border-color: rgba(124, 58, 237, 0.22);
  box-shadow:
    0 8px 48px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(124, 58, 237, 0.07),
    inset 1px 1px 0 rgba(124, 58, 237, 0.30),
    inset -1px -1px 0 rgba(0, 0, 0, 0.30),
    inset 0 0 14px rgba(124, 58, 237, 0.07);
}
.rsc-ops__title { font-family: 'Outfit', sans-serif; font-size: clamp(1.45rem, 2.8vw, 1.9rem); font-weight: 800; color: #fff; margin-bottom: 14px; line-height: 1.25; }
.rsc-ops__desc { font-size: 0.91rem; color: rgba(255,255,255,0.56); line-height: 1.78; margin-bottom: 26px; }
.rsc-ops__list { list-style: none; padding: 0; margin: 0 0 30px; display: flex; flex-direction: column; gap: 10px; }
.rsc-ops__item { display: flex; align-items: flex-start; gap: 10px; font-size: 0.875rem; color: rgba(255,255,255,0.7); line-height: 1.5; }
.rsc-ops__check {
  width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px;
  background: rgba(124,58,237,0.12); border: 1px solid rgba(124,58,237,0.32);
  display: flex; align-items: center; justify-content: center; font-size: 0.62rem; color: #a855f7;
  border-radius: 50%;
}
.rsc-live-green {
  display: flex; align-items: center; gap: 7px; font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: #10b981;
}
.rsc-live-green span {
  width: 7px; height: 7px; border-radius: 50%; background: #10b981;
  box-shadow: 0 0 8px #10b981; flex-shrink: 0;
}

.rsc-cta-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.45); color: #a855f7;
  padding: 13px 24px; border-radius: 8px; text-decoration: none;
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.9rem;
  transition: background 0.3s, border-color 0.3s, color 0.3s, box-shadow 0.3s, transform 0.2s;
}
.rsc-cta-btn:hover { background: rgba(124,58,237,0.2); border-color: #7c3aed; color: #fff; box-shadow: 0 0 28px rgba(124,58,237,0.25); transform: translateY(-2px); }
.rsc-cta-btn__icon {
  width: 30px; height: 30px; border-radius: 6px;
  background: rgba(124,58,237,0.18); display: flex; align-items: center; justify-content: center; font-size: 0.82rem;
}

/* Crew grid */
.rsc-crew-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rsc-crew-card {
  background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px; padding: 16px;
  display: flex; flex-direction: column; gap: 5px;
  transition: border-color 0.3s, background 0.3s;
}
.rsc-crew-card:hover {
  border-color: color-mix(in srgb, var(--cc) 28%, transparent);
  background: color-mix(in srgb, var(--cc) 5%, transparent);
}
.rsc-crew-card__icon {
  width: 36px; height: 36px; border-radius: 8px; margin-bottom: 5px;
  background: color-mix(in srgb, var(--cc) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--cc) 22%, transparent);
  display: flex; align-items: center; justify-content: center; font-size: 1rem; color: var(--cc);
}
.rsc-crew-card__role { font-family: 'Outfit', sans-serif; font-size: 0.83rem; font-weight: 700; color: rgba(255,255,255,0.9); line-height: 1.2; }
.rsc-crew-card__tag { font-size: 0.69rem; color: var(--cc); opacity: 0.7; line-height: 1.35; }

/* Case files */
.rsc-cases__line { flex: 1; height: 1px; background: rgba(124,58,237,0.18); }
.rsc-cases__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rsc-case-card {
  position: relative; background: rgba(255,255,255,0.022); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px; padding: 28px 24px; overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.rsc-case-card:hover { border-color: color-mix(in srgb, var(--cc) 30%, transparent); transform: translateY(-4px); }
.rsc-case-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--cc);
  opacity: 0.5;
}
.rsc-case-card__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.rsc-case-card__id { font-family: 'Courier New', monospace; font-size: 0.67rem; color: var(--cc); letter-spacing: 0.12em; text-transform: uppercase; }
.rsc-case-card__title { font-family: 'Outfit', sans-serif; font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.rsc-case-card__desc { font-size: 0.825rem; color: rgba(255,255,255,0.5); line-height: 1.65; margin-bottom: 22px; }
.rsc-case-card__stats { display: flex; gap: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.06); }
.rsc-case-card__stat { display: flex; flex-direction: column; gap: 2px; }
.rsc-case-card__val { font-family: 'Outfit', sans-serif; font-size: 1.1rem; font-weight: 800; line-height: 1.2; }
.rsc-case-card__lbl { font-size: 0.67rem; color: rgba(255,255,255,0.38); text-transform: uppercase; letter-spacing: 0.1em; }

/* Rescue responsive */
@media (max-width: 991px) {
  .rsc-signals { grid-template-columns: 1fr; gap: 14px; }
  .rsc-ops { grid-template-columns: 1fr; gap: 34px; }
  .rsc-cases__grid { grid-template-columns: 1fr; gap: 16px; }
}
@media (min-width: 576px) and (max-width: 991px) {
  .rsc-signals { grid-template-columns: repeat(3, 1fr); }
  .rsc-cases__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .rsc-main-title { font-size: 2.3rem; }
  .rsc-crew-grid { grid-template-columns: 1fr 1fr; }
  .rsc-cta-btn { width: 100%; justify-content: center; }
}

/* ── 6. Tech marquee strip ── */
@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.tech-marquee-outer {
  overflow: hidden;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.055);
  border-bottom: 1px solid rgba(255,255,255,0.055);
  background: rgba(255,255,255,0.012);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
}
.tech-marquee-inner {
  display: flex;
  width: max-content;
  align-items: center;
  animation: marquee-scroll 32s linear infinite;
}
.tech-marquee-inner:hover {
  animation-play-state: paused;
}
.tech-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 28px;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  border-right: 1px solid rgba(255,255,255,0.055);
  transition: color 0.25s;
}
.tech-marquee-item i {
  font-size: 1rem;
  opacity: 0.6;
  transition: opacity 0.25s;
}
.tech-marquee-inner:hover .tech-marquee-item { color: rgba(255,255,255,0.6); }
.tech-marquee-inner:hover .tech-marquee-item i { opacity: 1; }

/* ═══════════════════════════════════════════════
   PROJECT DETAIL  –  pd-* namespace
═══════════════════════════════════════════════ */

.pd-page { overflow-x: hidden; }

/* ── HERO ── */
.pd-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
  overflow: hidden;
}
.pd-hero__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.pd-hero__orb-a {
  top: -8%;
  right: -6%;
  width: 680px;
  height: 680px;
  background: color-mix(in srgb, var(--pc) 13%, transparent);
  filter: blur(120px);
}
.pd-hero__orb-b {
  bottom: 10%;
  left: -8%;
  width: 380px;
  height: 380px;
  background: color-mix(in srgb, var(--pc) 7%, transparent);
  filter: blur(100px);
}
.pd-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(ellipse 80% 80% at 65% 40%, black 15%, transparent 80%);
  pointer-events: none;
}
.pd-hero__inner {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* Back link */
.pd-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: color-mix(in srgb, var(--pc) 75%, white);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 28px;
  opacity: 0.75;
  transition: opacity 0.2s, gap 0.3s var(--ease-orbital);
}
.pd-back:hover { opacity: 1; gap: 14px; color: color-mix(in srgb, var(--pc) 75%, white); }

/* Badge */
.pd-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 16px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--pc) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--pc) 32%, transparent);
  color: var(--pc);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.pd-badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pc);
  flex-shrink: 0;
}

/* Hero title */
.pd-hero__title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(3.8rem, 7.5vw, 7.8rem);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.045em;
  margin-bottom: 28px;
  color: #fff;
}
.pd-hero__desc {
  color: rgba(255,255,255,0.62);
  font-size: 1rem;
  line-height: 1.88;
  margin-bottom: 30px;
  max-width: 510px;
}

/* Tech tags */
.pd-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-tag {
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  background: color-mix(in srgb, var(--pc) 9%, rgba(255,255,255,0.03));
  color: color-mix(in srgb, var(--pc) 85%, white);
  border: 1px solid color-mix(in srgb, var(--pc) 28%, rgba(255,255,255,0.07));
  letter-spacing: 0.02em;
}

/* Browser mockup */
.pd-hero__right { display: flex; align-items: center; justify-content: center; }
.pd-mockup { position: relative; width: 100%; max-width: 570px; }
.pd-mockup__glow {
  position: absolute;
  inset: -15%;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, color-mix(in srgb, var(--pc) 22%, transparent), transparent 65%);
  pointer-events: none;
  opacity: 0.65;
}
.pd-mockup__window {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow:
    0 50px 120px rgba(0,0,0,0.7),
    0 0 0 1px rgba(255,255,255,0.05),
    0 0 80px color-mix(in srgb, var(--pc) 16%, transparent);
  transform: perspective(1300px) rotateY(-7deg) rotateX(2.5deg);
  transition: transform 0.9s var(--ease-orbital), box-shadow 0.9s var(--ease-orbital);
}
.pd-mockup:hover .pd-mockup__window {
  transform: perspective(1300px) rotateY(-1.5deg) rotateX(0.5deg);
  box-shadow:
    0 60px 140px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.08),
    0 0 100px color-mix(in srgb, var(--pc) 24%, transparent);
}
.pd-mockup__chrome {
  background: rgba(18, 22, 38, 0.98);
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.pd-mockup__dots { display: flex; gap: 5px; }
.pd-mockup__dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
}
.pd-mockup__dots span:nth-child(1) { background: rgba(255, 95, 87, 0.75); }
.pd-mockup__dots span:nth-child(2) { background: rgba(255, 189, 46, 0.75); }
.pd-mockup__dots span:nth-child(3) { background: rgba(38, 201, 63, 0.75); }
.pd-mockup__bar {
  flex: 1;
  height: 22px;
  background: rgba(255,255,255,0.05);
  border-radius: 5px;
  border: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  color: rgba(255,255,255,0.22);
}
.pd-mockup__url {
  font-size: 0.62rem;
  letter-spacing: 0.02em;
  font-family: 'Poppins', sans-serif;
}
.pd-mockup__screen {
  background: rgba(6, 10, 20, 0.97);
  line-height: 0;
}
.pd-mockup__screen img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 400px;
  object-fit: contain;
}
.pd-mockup__shadow {
  position: absolute;
  bottom: -30px;
  left: 8%; right: 8%;
  height: 50px;
  background: color-mix(in srgb, var(--pc) 30%, transparent);
  filter: blur(28px);
  border-radius: 50%;
  opacity: 0.5;
  pointer-events: none;
}

/* ── STATS BAND ── */
.pd-stats-band {
  position: relative;
  background: rgba(6, 10, 20, 0.35);
  backdrop-filter: blur(16px) saturate(150%) brightness(1.10);
  -webkit-backdrop-filter: blur(16px) saturate(150%) brightness(1.10);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 -1px 0 rgba(255,255,255,0.05),
    inset 1px 0 0 rgba(255,255,255,0.06);
}
.pd-stats-band__rule {
  height: 1px;
  background: rgba(255,255,255,0.07);
}
.pd-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 44px 0;
}
.pd-stat {
  text-align: center;
  padding: 16px 20px;
  position: relative;
}
.pd-stat + .pd-stat::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; height: 60%;
  width: 1px;
  background: rgba(255,255,255,0.07);
}
.pd-stat__value {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 900;
  line-height: 1;
  color: var(--pc);
  letter-spacing: -0.04em;
  margin-bottom: 9px;
}
.pd-stat__label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.32);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 600;
}

/* ── CHALLENGE / SOLUTION ── */
.pd-cs-section { padding: 100px 0 80px; }
.pd-cs-grid {
  display: grid;
  grid-template-columns: 1fr 48px 1fr;
  align-items: center;
  gap: 0;
}
.pd-cs-card {
  background: rgba(7, 11, 22, 0.65);
  backdrop-filter: blur(12px) saturate(140%) brightness(1.08);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 44px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 6px 24px rgba(0, 0, 0, 0.4),
    inset 1px 1px 0 rgba(255, 255, 255, 0.10),
    inset 0 0 8px rgba(255, 255, 255, 0.04);
  transition: border-color 0.4s, box-shadow 0.4s, transform 0.4s var(--ease-orbital);
}
.pd-cs-card__topbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: color-mix(in srgb, var(--pc) 40%, transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.pd-cs-card:hover .pd-cs-card__topbar { opacity: 1; }
.pd-cs-card:hover {
  border-color: color-mix(in srgb, var(--pc) 22%, transparent);
  box-shadow:
    0 24px 64px rgba(0,0,0,0.45),
    0 0 50px color-mix(in srgb, var(--pc) 7%, transparent),
    inset 1px 1px 0 color-mix(in srgb, var(--pc) 28%, rgba(255,255,255,0.05)),
    inset 0 0 10px color-mix(in srgb, var(--pc) 8%, transparent);
  transform: translateY(-3px);
}
.pd-cs-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 22px;
}
.pd-cs-card__idx {
  font-family: 'Outfit', sans-serif;
  font-size: 5.5rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(255,255,255,0.035);
  letter-spacing: -0.05em;
  user-select: none;
}
.pd-cs-card__icon-box {
  width: 50px; height: 50px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--pc) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--pc) 28%, transparent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  color: var(--pc);
}
.pd-cs-card__title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
}
.pd-cs-card__body {
  color: rgba(255,255,255,0.56);
  line-height: 1.85;
  font-size: 0.93rem;
  margin: 0;
}
.pd-cs-divider {
  display: flex; align-items: center; justify-content: center;
  color: color-mix(in srgb, var(--pc) 40%, rgba(255,255,255,0.12));
  padding: 0 2px;
}
.pd-cs-divider svg { width: 40px; height: 160px; }

/* ── FEATURES ── */
.pd-feat-section { padding: 20px 0 100px; }
.pd-section-eyebrow {
  text-align: center;
  margin-bottom: 48px;
}
.pd-section-eyebrow span {
  display: inline-flex;
  align-items: center;
  padding: 6px 22px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--pc) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--pc) 24%, rgba(255,255,255,0.07));
  color: var(--pc);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.pd-feat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.pd-feat-card {
  position: relative;
  background: rgba(7, 11, 22, 0.8);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 18px;
  padding: 40px;
  overflow: hidden;
  transition: border-color 0.35s, transform 0.35s var(--ease-orbital), box-shadow 0.35s;
}
.pd-feat-card:hover { border-color: color-mix(in srgb, var(--pc) 28%, transparent); transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.pd-feat-card__num {
  position: absolute;
  bottom: 14px; right: 20px;
  font-family: 'Outfit', sans-serif;
  font-size: 6rem; font-weight: 900;
  color: rgba(255,255,255,0.025);
  line-height: 1; user-select: none; letter-spacing: -0.05em;
}
.pd-feat-card__icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: color-mix(in srgb, var(--pc) 11%, transparent);
  border: 1px solid color-mix(in srgb, var(--pc) 26%, transparent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--pc);
  margin-bottom: 20px;
}
.pd-feat-card__title {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem; font-weight: 700;
  margin-bottom: 10px; color: #fff;
}
.pd-feat-card__body {
  color: rgba(255,255,255,0.48);
  font-size: 0.88rem;
  line-height: 1.75; margin: 0;
}

/* ── CTA ── */
.pd-cta-section {
  position: relative;
  padding: 80px 0 120px;
  overflow: hidden;
}
.pd-cta-bg {
  display: none;
}
.pd-cta-container { position: relative; z-index: 2; }
.pd-cta-box {
  background: rgba(6, 10, 20, 0.72);
  backdrop-filter: blur(14px);
  border: 1px solid color-mix(in srgb, var(--pc) 20%, rgba(255,255,255,0.07));
  border-radius: 24px;
  padding: 72px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 100px color-mix(in srgb, var(--pc) 10%, transparent), 0 40px 80px rgba(0,0,0,0.45);
}
.pd-cta-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: color-mix(in srgb, var(--pc) 35%, transparent);
}
.pd-cta-box__ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--pc) 10%, transparent);
  pointer-events: none;
}
.pd-cta-box__ring--outer { width: 520px; height: 520px; }
.pd-cta-box__ring--inner { width: 340px; height: 340px; border-color: color-mix(in srgb, var(--pc) 7%, transparent); }
.pd-cta-box__title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #fff;
  position: relative;
}
.pd-cta-box__sub {
  color: rgba(255,255,255,0.55);
  max-width: 460px;
  margin: 0 auto 36px;
  line-height: 1.75;
  position: relative;
}

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
  .pd-hero__inner {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-top: 20px;
  }
  .pd-hero__right { order: -1; }
  .pd-mockup__window { transform: none !important; }
  .pd-mockup:hover .pd-mockup__window { transform: none !important; }
  .pd-hero__title { font-size: clamp(3rem, 11vw, 5.5rem); }
  .pd-cs-grid { grid-template-columns: 1fr; gap: 16px; }
  .pd-cs-divider { display: none; }
  .pd-stats-row { grid-template-columns: repeat(2, 1fr); }
  .pd-stat:nth-child(3)::before { display: none; }
  .pd-cta-box { padding: 52px 32px; }
}
@media (max-width: 575px) {
  .pd-feat-grid { grid-template-columns: 1fr; }
  .pd-hero__title { font-size: clamp(2.8rem, 13vw, 4.2rem); }
  .pd-cta-box { padding: 44px 20px; }
  .pd-cta-box__ring--outer { width: 300px; height: 300px; }
  .pd-cta-box__ring--inner { width: 180px; height: 180px; }
}

/* ══════════════════════════════════════════════════════
   FROSTED GLASS — all text cards
   backdrop-filter blurs the starfield/animations behind
   each card so text is always crisp and readable.
   Placed last so it overrides individual background values.
══════════════════════════════════════════════════════ */
.faq-item,
.review-card,
.sc-featured,
.sc-card,
.pfp-card,
.svc-card,
.hsvc-feat,
.hsvc-card,
.hsvc-stat,
.rsc-signal-card,
.rsc-case-card,
.rsc-crew-card,
.sd-include-card,
.sd-cta,
.pd-feat-card {
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
}

/* Cards whose bg is near-zero alpha — give them a proper dark base */
.sc-featured,
.sc-card,
.pfp-card,
.svc-card,
.hsvc-feat,
.hsvc-card,
.hsvc-stat,
.review-card,
.rsc-case-card,
.rsc-crew-card,
.sd-cta,
.pd-feat-card {
  background: rgba(6, 10, 22, 0.58);
}

/* FAQ — base bg handled in faq redesign block above */

/* Rescue signal cards keep their purple tint but get a dark base */
.rsc-signal-card {
  background: rgba(10, 6, 26, 0.62);
}

/* Capability cards in service detail */
.sd-include-card {
  background: rgba(6, 10, 22, 0.52);
}

/* ═══════════════════════════════════════════════════
   WHATSAPP FLOATING ACTION BUTTON
═══════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════
   SERVICES DROPDOWN IN NAVBAR
═══════════════════════════════════════════════════ */
.nav-svc-dropdown {
  position: relative;
}
.nav-pill-link--has-dd {
  display: flex;
  align-items: center;
  gap: 5px;
}
.nav-dd-caret {
  font-size: 0.65rem;
  transition: transform 0.2s ease;
  opacity: 0.7;
}
.nav-svc-dropdown:hover .nav-dd-caret {
  transform: rotate(180deg);
}
.nav-svc-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 260px;
  background: #050a16;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 10px 8px 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 212, 255, 0.06);
  z-index: 1000;
  flex-direction: column;
  gap: 2px;
}
.nav-svc-dropdown:hover .nav-svc-menu {
  display: flex;
}
.nav-svc-item {
  display: block;
  padding: 9px 14px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-svc-item:hover,
.nav-svc-item.router-link-active {
  background: rgba(0, 212, 255, 0.08);
  color: #00d4ff;
}
@media (max-width: 991px) {
  .nav-svc-menu {
    position: static;
    transform: none;
    display: flex;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 4px;
    min-width: unset;
    width: 100%;
  }
  .nav-svc-item { font-size: 0.88rem; }
  .nav-dd-caret { display: none; }
}

/* ═══════════════════════════════════════════════════
   ABOUT SECTION
═══════════════════════════════════════════════════ */
.abt-section {
  padding: 100px 0 110px;
  overflow: hidden;
}
.abt-header {
  text-align: center;
  margin-bottom: 64px;
}
.abt-header .tech-label {
  margin-bottom: 20px;
  display: inline-block;
}
.abt-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 20px;
  color: #fff;
}
.abt-desc {
  color: rgba(255, 255, 255, 0.62);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
  font-size: 1.05rem;
}
.abt-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}
.abt-manifesto { height: 100%; box-sizing: border-box; }
@media (max-width: 991px) {
  .abt-body { grid-template-columns: 1fr; gap: 32px; }
}

/* Manifesto card */
.abt-manifesto {
  background: rgba(6, 10, 22, 0.55);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.abt-manifesto::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--accent-blue);
  opacity: 0.4;
}
.abt-manifesto__line {
  width: 32px;
  height: 3px;
  background: var(--accent-blue);
  border-radius: 2px;
  margin-bottom: 20px;
}
.abt-manifesto__quote {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
  margin: 0 0 32px;
  border: none;
  padding: 0;
  font-style: italic;
}
.abt-manifesto__stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.abt-mstat {
  display: flex;
  flex-direction: column;
  padding: 0 24px 0 0;
}
.abt-mstat:first-child { padding-left: 0; }
.abt-mstat__num {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}
.abt-mstat__label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 4px;
}
.abt-mstat__sep {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 24px 0 0;
}

/* Pillars grid */
.abt-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 575px) {
  .abt-pillars { grid-template-columns: 1fr; }
}
.abt-pillar {
  background: rgba(6, 10, 22, 0.35);
  backdrop-filter: blur(16px) saturate(150%) brightness(1.10);
  -webkit-backdrop-filter: blur(16px) saturate(150%) brightness(1.10);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  padding: 26px;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 4px 20px rgba(0,0,0,0.35),
    inset 1px 1px 0 rgba(255,255,255,0.14),
    inset -1px -1px 0 rgba(0,0,0,0.22),
    inset 0 0 8px rgba(255,255,255,0.04);
  transition: border-color 0.35s, box-shadow 0.35s, transform 0.35s;
}
.abt-pillar:hover {
  border-color: rgba(0, 212, 255, 0.20);
  transform: translateY(-4px);
  box-shadow:
    0 10px 36px rgba(0,0,0,0.52),
    inset 1px 1px 0 rgba(0,212,255,0.24),
    inset 0 0 12px rgba(0,212,255,0.06);
}
.abt-pillar__icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00d4ff;
  font-size: 1.15rem;
  margin-bottom: 16px;
}
.abt-pillar__title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
}
.abt-pillar__desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.65;
  margin: 0;
}

/* ═══════════════════════════════════════════════════
   404 NOT FOUND PAGE
═══════════════════════════════════════════════════ */
.nfp-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 0 80px;
  overflow: hidden;
}
.nfp-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.nfp-orb--1 {
  width: 600px; height: 600px;
  top: 10%; left: -8%;
  background: rgba(124, 58, 237, 0.08);
}
.nfp-orb--2 {
  width: 500px; height: 500px;
  bottom: 5%; right: -6%;
  background: rgba(0, 212, 255, 0.06);
}
.nfp-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}
.nfp-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.nfp-signal-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: rgba(0, 212, 255, 0.7);
  text-transform: uppercase;
  font-family: monospace;
}
.nfp-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #00d4ff;
  animation: nfp-blink 1.2s ease-in-out infinite;
}
@keyframes nfp-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.15; }
}
.nfp-code-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  line-height: 1;
  margin: 4px 0;
}
.nfp-code {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(5rem, 15vw, 9rem);
  font-weight: 900;
  color: var(--accent-blue);
  line-height: 1;
}
.nfp-code--mid {
  opacity: 0.4;
}
.nfp-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.nfp-desc {
  color: rgba(255, 255, 255, 0.55);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}
.nfp-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}
.nfp-coords {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.2);
  font-family: monospace;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 16px;
}
.nfp-coords__sep {
  color: rgba(0, 212, 255, 0.25);
  font-size: 0.5rem;
}

/* ══════════════════════════════════════════════════════════
   BENCIUM INNOVATIVE UX — WOW VISUAL UPGRADES v1.0
   ══════════════════════════════════════════════════════════ */

/* gradient-text: flat solid accent — no animation */

/* ── 3. Hero section — ambient aurora pulse ──────────────── */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(ellipse 70% 55% at 18% 50%, rgba(0, 212, 255, 0.07), transparent 70%),
    radial-gradient(ellipse 55% 65% at 72% 28%, rgba(124, 58, 237, 0.05), transparent 70%);
  opacity: 0.65;
}

/* ── 4. Process step circles — outer pulse rings ─────────── */
.process-num-wrap {
  overflow: visible !important;
}
.process-num-wrap::before,
.process-num-wrap::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.process-num-wrap::before {
  inset: -10px;
  border: 1px solid rgba(0, 212, 255, 0.18);
  opacity: 0.45;
}
.process-num-wrap::after {
  inset: -21px;
  border: 1px solid rgba(0, 212, 255, 0.07);
  opacity: 0.45;
}
.process-step:hover .process-num-wrap::before {
  border-color: rgba(0, 212, 255, 0.55);
  opacity: 1;
}
.process-step:hover .process-num-wrap::after {
  border-color: rgba(0, 212, 255, 0.22);
  opacity: 1;
}

/* ── 5. Hero h1 lines — handled by JS WAAPI ─────────────── */

/* ── 6. Primary CTA button — premium multi-layer glow ────── */
.btn-primary-enccon {
  box-shadow:
    0 4px 22px rgba(0, 212, 255, 0.24),
    0 0 0 1px rgba(0, 212, 255, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
}
.btn-primary-enccon:hover {
  box-shadow:
    0 6px 40px rgba(0, 212, 255, 0.48),
    0 0 0 1px rgba(0, 212, 255, 0.42),
    0 0 90px rgba(124, 58, 237, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

/* ── 7. Review cards — cyan left accent bar on hover ─────── */
.review-card {
  border-left: 3px solid transparent !important;
  transition:
    border-color 0.3s,
    border-left-color 0.38s,
    transform 0.3s cubic-bezier(0.34, 1.2, 0.64, 1),
    box-shadow 0.3s !important;
}
.review-card:hover {
  border-left-color: var(--accent-blue) !important;
  transform: translateY(-5px) translateX(2px) !important;
}

/* ── 8. Scroll progress bar — thicker + multi-glow ──────── */
#scroll-progress {
  height: 3px !important;
  box-shadow:
    0 0 12px var(--accent-blue),
    0 0 32px rgba(0, 212, 255, 0.6),
    0 0 72px rgba(124, 58, 237, 0.28) !important;
}

/* ── 9. Nav CTA — flat, no glow ─────────────────────────── */
.nav-cta { box-shadow: none !important; }
.nav-cta:hover { box-shadow: none !important; }

/* ── 10. Portfolio cards — 3D perspective tilt via CSS vars ─ */
.pfp-card {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition:
    transform 0.4s cubic-bezier(0.34, 1.2, 0.64, 1),
    border-color 0.4s ease,
    box-shadow 0.4s ease !important;
}
.pfp-card:hover {
  transform:
    perspective(900px)
    rotateX(var(--rx, 0deg))
    rotateY(var(--ry, 0deg))
    translateY(-7px) !important;
}

/* ── 11. Service cards — same 3D tilt ────────────────────── */
.svc-card {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition:
    transform 0.4s cubic-bezier(0.34, 1.2, 0.64, 1),
    border-color 0.4s ease,
    box-shadow 0.4s ease !important;
}
.svc-card:hover {
  transform:
    perspective(900px)
    rotateX(var(--rx, 0deg))
    rotateY(var(--ry, 0deg))
    translateY(-7px) !important;
}

/* ── 12. Tools marquee — enhanced hover lift + glow ─────── */
.tools-marquee__item:hover {
  transform: translateY(-5px) scale(1.05) !important;
  box-shadow: 0 0 32px color-mix(in srgb, var(--tc) 28%, transparent) !important;
}

/* ── 13. Stats numbers — stronger gradient glow ─────────── */
.stat-number {
  filter: drop-shadow(0 0 22px rgba(0, 212, 255, 0.55)) !important;
}

/* ── 14. Hsvc service cards — activate HUD border on hover ── */
.hsvc-feat:hover .sc-hud-border,
.hsvc-card:hover .sc-hud-border {
  opacity: 1 !important;
}

/* ── 15. Hero subtitle — readable glow ──────────────────── */
.hero-subtitle {
  text-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
}


/* ── 17. Glass card shimmer sweep ────────────────────────── */
.glass-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255,255,255,0.055) 50%,
    transparent 70%
  );
  background-size: 200% 100%;
  background-position: 200% 0;
  transition: background-position 0.7s ease;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
}
.glass-card:hover::after { background-position: -100% 0; }

/* ── 18. Button ripple ───────────────────────────────────── */
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.28);
  transform: scale(0);
  animation: btn-ripple-out 0.55s ease-out forwards;
  pointer-events: none;
}
@keyframes btn-ripple-out {
  to { transform: scale(5); opacity: 0; }
}

/* ── 19. Magnetic buttons — translate via CSS var ────────── */
.btn-primary-enccon,
.btn-outline-enccon {
  translate: var(--mag-x, 0px) var(--mag-y, 0px);
  transition:
    translate 0.3s cubic-bezier(0.34, 1.2, 0.64, 1),
    background 0.3s var(--ease-orbital),
    transform 0.3s var(--ease-orbital),
    box-shadow 0.3s var(--ease-orbital),
    color 0.3s var(--ease-orbital);
}

/* ══════════════════════════════════════════════════════════
   PERFORMANCE — Reduce motion & mobile optimizations
   ══════════════════════════════════════════════════════════ */

/* Respeta la preferencia del sistema operativo */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.1ms !important;
  }
}

/* Móvil: deshabilita efectos caros que no se aprecian en pantallas pequeñas */
@media (max-width: 767px) {
  .orb {
    filter: blur(30px);
    animation: none !important;
  }
  .hero-section::before {
    animation: none !important;
  }
  .process-num-wrap::before,
  .process-num-wrap::after {
    animation: none !important;
  }
  .sc-scan-beam {
    display: none;
  }
}

/* ── 2K — reducir backdrop-filter ── */
@media (min-width: 1921px) {
  * { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
  .glass-card, .faq-sidebar, .faq-item, .cta-glass-box,
  .pd-cs-card, .pd-feat-card, .pd-stat, .review-card,
  .rsc-ops__crew, .rsc-ops__brief, .abt-pillar, .abt-manifesto,
  [class*="pfp-card"], [class*="svc-card"], [class*="hsvc-card"],
  .sc-card, .sc-featured, .pf-card, .astro-bubble,
  .hero-chip, .hero-chip-inline, .contact-glass {
    background: rgba(6, 10, 22, 0.78) !important;
  }
  .navbar { background: rgba(4, 7, 16, 0.94) !important; }
  .orb { filter: blur(25px); }
  .orb-1, .orb-2, .orb-3 { animation: none !important; }
  .hero-section::before { animation: none !important; }
}

/* ═══════════════════════════════════════════════════════
   TOOLS SECTION — Hub + Individual tool pages
   ═══════════════════════════════════════════════════════ */

.th-card {
  background: #070d1b;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 1rem;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
  height: 100%;
  cursor: pointer;
}
.th-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: var(--tc, var(--accent-blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.th-card:hover { border-color: rgba(255,255,255,0.14); transform: translateY(-4px); }
.th-card:hover::before { transform: scaleX(1); }
.th-card__icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0;
}
.th-card__badge {
  position: absolute; top: 1rem; right: 1rem;
  font-size: 0.7rem; font-weight: 700;
  padding: 3px 10px; border-radius: 50px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.09);
  color: rgba(255,255,255,0.65);
}
.th-card__title { font-size: 1.05rem; font-weight: 700; color: #fff; margin: 0; line-height: 1.3; }
.th-card__desc { font-size: 0.875rem; color: rgba(255,255,255,0.5); line-height: 1.65; margin: 0; flex: 1; }
.th-card__cta { font-size: 0.83rem; font-weight: 600; display: flex; align-items: center; gap: 6px; margin-top: auto; transition: gap 0.2s ease; }
.th-card:hover .th-card__cta { gap: 10px; }

.tp-hero { padding-top: 130px; padding-bottom: 48px; overflow: hidden; position: relative; }
.tp-breadcrumb { font-size: 0.8rem; color: rgba(255,255,255,0.38); display: flex; align-items: center; gap: 6px; margin-bottom: 1.5rem; flex-wrap: wrap; }
.tp-breadcrumb a { color: rgba(255,255,255,0.38); text-decoration: none; transition: color 0.2s; }
.tp-breadcrumb a:hover { color: rgba(255,255,255,0.65); }
.tp-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.09em;
  padding: 4px 14px; border-radius: 50px; margin-bottom: 1rem;
}
.tp-h1 { font-size: clamp(1.75rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.15; margin-bottom: 1rem; }
.tp-lead { font-size: 1rem; color: rgba(255,255,255,0.55); line-height: 1.75; max-width: 600px; margin-bottom: 0; }

.tp-box {
  background: #070d1b;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1.25rem;
  padding: 2rem;
  margin-bottom: 1.5rem;
}
.tp-box__label {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 0.6rem;
  display: block;
}
.tp-input {
  width: 100%; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 0.75rem;
  padding: 0.875rem 1.125rem; color: #fff; font-size: 0.95rem;
  font-family: 'Poppins', sans-serif; transition: border-color 0.2s, background 0.2s;
  outline: none;
}
.tp-input:focus { border-color: rgba(0,212,255,0.4); background: rgba(0,212,255,0.03); }
.tp-input::placeholder { color: rgba(255,255,255,0.22); }
.tp-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0.875rem 1.75rem; border-radius: 0.75rem;
  font-weight: 600; font-size: 0.9rem; font-family: 'Outfit', sans-serif;
  cursor: pointer; transition: background 0.2s, transform 0.2s; border: none;
  white-space: nowrap;
}
.tp-btn--primary { background: var(--accent-blue); color: #04080f; }
.tp-btn--primary:hover { background: #00bde0; transform: translateY(-1px); }
.tp-btn--secondary { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.8); border: 1px solid rgba(255,255,255,0.1); }
.tp-btn--secondary:hover { background: rgba(255,255,255,0.1); }
.tp-btn--sm { padding: 0.5rem 1rem; font-size: 0.8rem; border-radius: 0.5rem; }
.tp-output {
  background: rgba(0,0,0,0.25); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 0.75rem; padding: 1.25rem; font-size: 0.875rem;
  color: rgba(255,255,255,0.8); white-space: pre-wrap; word-break: break-word;
  min-height: 60px; line-height: 1.75; max-height: 420px; overflow-y: auto;
}
.tp-copy-btn {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.75rem; font-weight: 600; padding: 4px 12px; border-radius: 50px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6); cursor: pointer; transition: all 0.2s; white-space: nowrap;
}
.tp-copy-btn:hover, .tp-copy-btn.copied { background: rgba(16,185,129,0.12); border-color: rgba(16,185,129,0.3); color: #10b981; }

.tp-step-indicator { display: flex; gap: 6px; align-items: center; margin-bottom: 1.5rem; }
.tp-step-dot { width: 28px; height: 4px; border-radius: 4px; background: rgba(255,255,255,0.1); transition: background 0.3s; }
.tp-step-dot.active { background: var(--accent-blue); }
.tp-step-dot.done { background: rgba(0,212,255,0.4); }

.tp-option {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 0.875rem 1.125rem; border-radius: 0.875rem;
  border: 1px solid rgba(255,255,255,0.08); cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  background: rgba(255,255,255,0.02);
}
.tp-option:hover { border-color: rgba(255,255,255,0.16); background: rgba(255,255,255,0.04); }
.tp-option.selected { border-color: rgba(0,212,255,0.4); background: rgba(0,212,255,0.06); }
.tp-option.checked { border-color: rgba(0,212,255,0.35); background: rgba(0,212,255,0.05); }
.tp-option__indicator {
  width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.18);
  flex-shrink: 0; margin-top: 2px; display: flex; align-items: center; justify-content: center; transition: all 0.2s;
}
.tp-option.selected .tp-option__indicator { border-color: var(--accent-blue); background: var(--accent-blue); }
.tp-option.selected .tp-option__indicator::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #04080f; display: block; }
.tp-option__check {
  width: 18px; height: 18px; border-radius: 5px; border: 2px solid rgba(255,255,255,0.18);
  flex-shrink: 0; margin-top: 2px; display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem; color: transparent; transition: all 0.2s;
}
.tp-option.checked .tp-option__check { border-color: var(--accent-blue); background: var(--accent-blue); color: #04080f; }
.tp-option__title { font-size: 0.9rem; font-weight: 600; color: rgba(255,255,255,0.85); line-height: 1.3; }
.tp-option__desc { font-size: 0.78rem; color: rgba(255,255,255,0.4); margin-top: 2px; line-height: 1.4; }

.tp-result {
  background: rgba(0,212,255,0.05);
  border: 1px solid rgba(0,212,255,0.18);
  border-radius: 1.25rem; padding: 2.5rem; text-align: center;
}
.tp-result__price { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; font-family: 'Outfit', sans-serif; color: var(--accent-blue); line-height: 1; }
.tp-result__label { font-size: 0.82rem; color: rgba(255,255,255,0.4); margin-top: 0.5rem; }
.tp-result__disclaimer { font-size: 0.78rem; color: rgba(255,255,255,0.35); margin-top: 1rem; line-height: 1.6; max-width: 420px; margin-left: auto; margin-right: auto; }

.tp-qr-output { display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 1rem; padding: 1.5rem; min-height: 240px; overflow: hidden; }
.tp-qr-output canvas { display: block; max-width: 100%; height: auto; }

.tp-dropzone {
  border: 2px dashed rgba(255,255,255,0.14); border-radius: 1rem;
  padding: 3rem 2rem; text-align: center; cursor: pointer;
  transition: border-color 0.25s, background 0.25s; position: relative;
}
.tp-dropzone:hover, .tp-dropzone.dragging { border-color: rgba(0,212,255,0.4); background: rgba(0,212,255,0.04); }
.tp-dropzone input[type="file"] { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }

.tp-webp-result { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); border-radius: 0.875rem; padding: 1.25rem; }
.tp-webp-thumb { width: 100%; height: 120px; border-radius: 0.5rem; margin-bottom: 0.75rem; background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.tp-webp-thumb img { width: 100%; height: 100%; object-fit: cover; }

.tp-color-swatch { width: 100%; height: 130px; border-radius: 0.875rem; border: 1px solid rgba(255,255,255,0.1); cursor: pointer; transition: transform 0.2s; }
.tp-color-swatch:hover { transform: scale(1.01); }
.tp-color-row { display: flex; align-items: center; gap: 10px; }
.tp-color-chip { width: 28px; height: 28px; border-radius: 6px; flex-shrink: 0; border: 1px solid rgba(255,255,255,0.12); }
.tp-color-picker-wrap { width: 44px; height: 44px; border-radius: 0.5rem; overflow: hidden; position: relative; cursor: pointer; border: 1px solid rgba(255,255,255,0.12); }
.tp-color-picker-wrap input[type="color"] { position: absolute; inset: -4px; width: calc(100% + 8px); height: calc(100% + 8px); cursor: pointer; padding: 0; border: none; opacity: 0; }
.tp-color-preview { width: 100%; height: 100%; }
.tp-color-label { display: flex; align-items: center; gap: 8px; cursor: pointer; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 0.5rem; padding: 6px 10px; transition: border-color 0.2s; }
.tp-color-label:hover { border-color: rgba(255,255,255,0.22); }
.tp-color-input { width: 26px; height: 26px; border: none; padding: 0; background: none; cursor: pointer; border-radius: 4px; flex-shrink: 0; }
.tp-color-hex { font-size: 0.72rem; font-family: monospace; color: rgba(255,255,255,0.5); letter-spacing: 0.04em; }

.tp-ref-table { width: 100%; border-collapse: collapse; }
.tp-ref-table th { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; color: rgba(255,255,255,0.35); text-transform: uppercase; padding: 0.5rem 0.875rem; border-bottom: 1px solid rgba(255,255,255,0.06); text-align: left; }
.tp-ref-table td { padding: 0.55rem 0.875rem; font-size: 0.875rem; color: rgba(255,255,255,0.7); border-bottom: 1px solid rgba(255,255,255,0.04); cursor: pointer; transition: background 0.15s, color 0.15s; }
.tp-ref-table tr:hover td { background: rgba(255,255,255,0.04); color: #fff; }
.tp-ref-table tr.base-row td { color: var(--accent-blue); font-weight: 600; }
.tp-ref-table td:last-child { color: rgba(255,255,255,0.45); font-family: monospace; }

.tp-faq-item { border-bottom: 1px solid rgba(255,255,255,0.06); padding: 1.1rem 0; }
.tp-faq-item:last-child { border-bottom: none; }
.tp-faq-q { font-weight: 600; font-size: 0.9rem; color: rgba(255,255,255,0.88); margin-bottom: 0.4rem; }
.tp-faq-a { font-size: 0.84rem; color: rgba(255,255,255,0.47); line-height: 1.7; margin: 0; }

.tp-related-card { background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.06); border-radius: 0.875rem; padding: 1.125rem; text-decoration: none; display: flex; align-items: center; gap: 12px; transition: border-color 0.25s, background 0.25s; }
.tp-related-card:hover { border-color: rgba(255,255,255,0.12); background: rgba(255,255,255,0.05); }
.tp-related-card__icon { width: 38px; height: 38px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.tp-related-card__title { font-size: 0.85rem; font-weight: 600; color: rgba(255,255,255,0.8); margin: 0; line-height: 1.3; }

.tp-related-card__sub { font-size: 0.75rem; color: rgba(255,255,255,0.38); margin: 0; }

/* ══════════════════════════════════════════════════
   SERVICE SIMPLE CARDS
   ══════════════════════════════════════════════════ */
.svc-simple-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 1.25rem;
  padding: 2rem;
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
  cursor: pointer;
}
.svc-simple-card:hover {
  border-color: color-mix(in srgb, var(--sc) 45%, transparent);
  background: color-mix(in srgb, var(--sc) 5%, transparent);
  transform: translateY(-5px);
}
.svc-simple-card__icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--sc) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--sc) 25%, transparent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.45rem;
  color: var(--sc);
}
.svc-simple-card__title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.6rem;
}
.svc-simple-card__desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.56);
  line-height: 1.65;
  margin: 0 0 1rem;
}
.svc-simple-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.svc-simple-card__chip {
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
}
.svc-simple-card__link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--sc);
  letter-spacing: 0.02em;
}

/* ══════════════════════════════════════════════════
   PORTFOLIO CARDS — CLEAN
   ══════════════════════════════════════════════════ */
.pf-hero-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  transition: border-color 0.3s ease, transform 0.3s ease;
  margin-bottom: 0;
}
.pf-hero-card:hover {
  border-color: color-mix(in srgb, var(--pc) 45%, transparent);
  transform: translateY(-4px);
}
.pf-hero-card__img {
  overflow: hidden;
  aspect-ratio: 16/10;
}
.pf-hero-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.pf-hero-card:hover .pf-hero-card__img img { transform: scale(1.04); }
.pf-hero-card__info {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pf-hero-card__title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.8rem;
  line-height: 1.2;
}
.pf-hero-card__desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin: 0 0 1.5rem;
}
.pf-hero-card__cta {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--pc);
}

.pf-grid-card {
  display: block;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  transition: border-color 0.3s ease, transform 0.3s ease;
  height: 100%;
}
.pf-grid-card:hover {
  border-color: color-mix(in srgb, var(--pc) 45%, transparent);
  transform: translateY(-5px);
}
.pf-grid-card__img {
  overflow: hidden;
  aspect-ratio: 16/9;
}
.pf-grid-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.pf-grid-card:hover .pf-grid-card__img img { transform: scale(1.04); }
.pf-grid-card__info {
  padding: 1.5rem;
}
.pf-grid-card__title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.75rem;
}
.pf-grid-card__link {
  font-size: 0.84rem;
  font-weight: 600;
}

@media (max-width: 767px) {
  .pf-hero-card {
    grid-template-columns: 1fr;
  }
  .pf-hero-card__img { aspect-ratio: 16/9; }
  .pf-hero-card__info { padding: 1.5rem; }
  .pf-hero-card__title { font-size: 1.3rem; }
}
