/* ============================================================
   VECTORYAL — GLOBAL STYLESHEET
   Static site build — all pages share this single CSS file
   ============================================================ */

/* === Google Fonts — loaded non-blocking via <link> in each HTML file === */

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Fondos */
  --color-bg-dark:    #050816;
  --color-bg-card:    #0a1628;
  --color-bg-light:   #ffffff;

  /* Gradiente de marca */
  --gradient-brand: linear-gradient(135deg, #38bdf8 0%, #3b82f6 50%, #6366f1 100%);
  --color-accent-1: #38bdf8;
  --color-accent-2: #3b82f6;
  --color-accent-3: #6366f1;

  /* Tipografia */
  --color-text-primary:   #ffffff;
  --color-text-secondary: rgba(255,255,255,0.7);
  --color-text-dark:      #0f172a;
  --color-text-muted:     #64748b;

  /* Bordes y efectos */
  --color-border:   rgba(56, 189, 248, 0.18);
  --color-glow:     rgba(56, 189, 248, 0.12);

  /* Aliases from original tokens */
  --vy-cyan:       #38bdf8;
  --vy-blue:       #3b82f6;
  --vy-indigo:     #6366f1;
  --vy-accent:     #818cf8;
  --vy-dark:       #050816;
  --vy-dark-card:  #0a1628;
  --vy-surface:    #0f1d32;
  --vy-border:     #1e293b;
  --vy-text:       #94a3b8;
  --vy-text-light: #e2e8f0;
  --vy-white:      #ffffff;

  --vy-gradient:       linear-gradient(135deg, var(--vy-cyan), var(--vy-blue) 40%, var(--vy-indigo));
  --vy-gradient-hover: linear-gradient(135deg, var(--vy-blue) 0%, var(--vy-indigo) 60%, #4f46e5 100%);

  --vy-shadow-btn:     0 10px 25px rgba(99, 102, 241, 0.35);
  --vy-shadow-btn-hov: 0 20px 35px rgba(99, 102, 241, 0.50);
  --vy-shadow-card:    0 20px 40px rgba(5, 8, 22, 0.60);

  --radius:        0.625rem;
  --radius-lg:     1.5rem;
  --radius-pill:   9999px;

  --font-main: 'Inter', system-ui, -apple-system, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-main);
  line-height: 1.6;
  color: #333;
  background: var(--vy-white);
  overflow-x: hidden;
}
/* Dark pages override — ensures article prose, gaps between sections, etc. stay dark */
body.dark-hero-page {
  background: var(--vy-dark);
  color: var(--vy-text-light);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
/* Horizontal logo (440×88px) used in header & footer via components.js */
img.vy-logo-img { height: 44px; width: auto; max-width: none; display: block; }

/* ============================================================
   LOADING SCREEN
   ============================================================ */
.vy-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--vy-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}
.vy-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.vy-loader-logo {
  font-size: 2rem;
  font-weight: 800;
  background: var(--vy-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 2rem;
  animation: vy-pulse-logo 1.6s ease-in-out infinite;
}
@keyframes vy-pulse-logo {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.04); }
}
.vy-loader-bar-track {
  width: 200px;
  height: 3px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}
.vy-loader-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 10px;
  background: var(--vy-gradient);
  transition: width 0.3s var(--ease-out);
}
.vy-loader-percent {
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--vy-text);
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.vy-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2147483647;
  pointer-events: none;
  mix-blend-mode: difference;
}
.vy-cursor-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--vy-white);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--ease-spring), height 0.25s var(--ease-spring), background 0.2s;
}
.vy-cursor-ring {
  position: absolute;
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.35s var(--ease-spring), height 0.35s var(--ease-spring),
              border-color 0.2s, background 0.2s;
}
.vy-cursor.hovering .vy-cursor-dot {
  width: 0;
  height: 0;
}
.vy-cursor.hovering .vy-cursor-ring {
  width: 60px;
  height: 60px;
  border-color: var(--vy-cyan);
  background: rgba(56, 189, 248, 0.06);
}
.vy-cursor.clicking .vy-cursor-ring {
  width: 30px;
  height: 30px;
}

/* Hide custom cursor on touch devices */
@media (hover: none) and (pointer: coarse) {
  .vy-cursor { display: none !important; }
  body, * { cursor: auto !important; }
}
/* Hide default cursor on pointer devices */
@media (hover: hover) and (pointer: fine) {
  body.has-custom-cursor,
  body.has-custom-cursor * {
    cursor: none !important;
  }
}

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
.vy-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--vy-gradient);
  z-index: 10000;
  transition: none;
}

/* ============================================================
   SCROLL REVEAL SYSTEM
   ============================================================ */
.vy-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.vy-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.vy-reveal-d1 { transition-delay: 0.08s; }
.vy-reveal-d2 { transition-delay: 0.16s; }
.vy-reveal-d3 { transition-delay: 0.24s; }
.vy-reveal-d4 { transition-delay: 0.32s; }
.vy-reveal-d5 { transition-delay: 0.40s; }
.vy-reveal-d6 { transition-delay: 0.48s; }
.vy-reveal-d7 { transition-delay: 0.56s; }
.vy-reveal-d8 { transition-delay: 0.64s; }

.vy-reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-spring);
}
.vy-reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

.vy-reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.vy-reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.vy-reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.vy-reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .vy-reveal,
  .vy-reveal-scale,
  .vy-reveal-left,
  .vy-reveal-right {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .vy-loader { transition: none !important; }
  .vy-marquee-track { animation: none !important; }
  @keyframes vy-pulse-logo { 0%, 100% { opacity: 1; transform: none; } }
}

/* ============================================================
   PULSING ATMOSPHERIC GLOWS
   ============================================================ */
.vy-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}
.vy-glow--1 {
  width: 500px;
  height: 500px;
  background: rgba(59, 130, 246, 0.12);
  animation: vy-glow-pulse-1 8s ease-in-out infinite;
}
.vy-glow--2 {
  width: 400px;
  height: 400px;
  background: rgba(99, 102, 241, 0.10);
  animation: vy-glow-pulse-2 10s ease-in-out infinite;
}
.vy-glow--3 {
  width: 350px;
  height: 350px;
  background: rgba(56, 189, 248, 0.08);
  animation: vy-glow-pulse-3 12s ease-in-out infinite;
}

@keyframes vy-glow-pulse-1 {
  0%, 100% { opacity: 0.4; transform: translate(0, 0) scale(1); }
  25% { opacity: 0.7; transform: translate(30px, -20px) scale(1.1); }
  50% { opacity: 0.5; transform: translate(-15px, 25px) scale(1.05); }
  75% { opacity: 0.8; transform: translate(20px, 15px) scale(0.95); }
}
@keyframes vy-glow-pulse-2 {
  0%, 100% { opacity: 0.3; transform: translate(0, 0) scale(1); }
  33% { opacity: 0.6; transform: translate(-25px, 15px) scale(1.15); }
  66% { opacity: 0.4; transform: translate(20px, -20px) scale(0.9); }
}
@keyframes vy-glow-pulse-3 {
  0%, 100% { opacity: 0.35; transform: translate(0, 0) scale(1); }
  50% { opacity: 0.65; transform: translate(15px, 20px) scale(1.08); }
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s;
  background: transparent;
}
.header.scrolled {
  background: rgba(5, 8, 22, 0.92);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.header.scrolled .logo-wordmark { color: white; -webkit-text-fill-color: white !important; }
.header.scrolled .logo > a:not(.logo-link) {
  background: var(--vy-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.header-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

/* ============================================================
   LOGO — MARK + WORDMARK
   ============================================================ */
.logo { display: flex; align-items: center; }
.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
}
.logo-mark {
  width: 28px;
  height: 26px;
  flex-shrink: 0;
  transition: opacity 0.25s;
  display: block;
}
.logo-link:hover .logo-mark { opacity: 0.85; }
.logo-wordmark {
  font-size: 1.38rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: white;
  line-height: 1;
  -webkit-text-fill-color: white !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
}
/* Fallback for old text-only logo */
.logo > a:not(.logo-link) {
  text-decoration: none;
  background: var(--vy-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  display: none;
  align-items: center;
  gap: 2rem;
  position: relative;
}
.nav a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}
.nav a:hover {
  color: var(--vy-white);
}
.nav a.active {
  color: var(--vy-white);
}
.header.scrolled .nav a {
  color: rgba(255,255,255,0.7);
}
.header.scrolled .nav a:hover {
  color: var(--vy-white);
}
.header.scrolled .nav a.active {
  color: var(--vy-white);
}
/* Sliding nav indicator — positioned by JS */
.nav-indicator {
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--vy-gradient);
  border-radius: 1px;
  opacity: 0;
  pointer-events: none;
  transition: left 0.28s cubic-bezier(0.4, 0, 0.2, 1),
              width 0.28s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.2s ease;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
}
.header.scrolled .menu-toggle span {
  background: var(--vy-white);
}
/* Dark-hero pages: nav & hamburger white by default */
.dark-hero-page .nav a { color: rgba(255,255,255,0.7); }
.dark-hero-page .nav a:hover { color: var(--vy-white); }
.dark-hero-page .nav a.active { color: var(--vy-white); }
.dark-hero-page .menu-toggle span { background: var(--vy-white); }
.dark-hero-page .logo > a:not(.logo-link),
.dark-hero-page .logo {
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: var(--vy-white);
  color: var(--vy-white);
}
.footer-brand .logo-wordmark { color: white; -webkit-text-fill-color: white !important; }
.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 22, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}
.mobile-menu a {
  color: var(--vy-white);
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}
.mobile-menu a:hover {
  color: var(--vy-cyan);
}

/* ============================================================
   BUTTONS - GLOBAL
   ============================================================ */
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--vy-gradient);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.875rem;
  font-family: var(--font-main);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  box-shadow: var(--vy-shadow-btn);
  overflow: hidden;
  z-index: 1;
}
.btn-primary:hover {
  background: var(--vy-gradient-hover);
  box-shadow: var(--vy-shadow-btn-hov);
  transform: translateY(-2px);
}

.btn-hero {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--vy-gradient);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1rem;
  font-family: var(--font-main);
  cursor: pointer;
  box-shadow: var(--vy-shadow-btn);
  transition: all 0.3s var(--ease-out);
  overflow: hidden;
  z-index: 1;
}
.btn-hero:hover {
  background: var(--vy-gradient-hover);
  box-shadow: var(--vy-shadow-btn-hov);
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding: .85rem 1.4rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: transparent;
  color: #e5e7eb;
  text-decoration: none;
  font-weight: 500;
  font-size: .95rem;
  font-family: var(--font-main);
  cursor: pointer;
  transition: all .2s var(--ease-out);
}
.btn-ghost:hover {
  border-color: var(--vy-cyan);
  color: var(--vy-cyan);
  transform: translateY(-1px);
}

/* ============================================================
   BUTTON SHIMMER EFFECT
   ============================================================ */
.btn-hero::before,
.btn-primary::before,
.btn-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0) 70%,
    transparent 100%
  );
  transition: none;
  z-index: 2;
  pointer-events: none;
}
.btn-hero:hover::before,
.btn-primary:hover::before,
.btn-submit:hover::before {
  animation: vy-shimmer 0.8s ease forwards;
}
@keyframes vy-shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* ============================================================
   GRADIENT TEXT
   ============================================================ */
.gradient-text {
  background: var(--vy-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--vy-dark);
  padding: 7rem 1.5rem 5rem;
}

/* Neural particle canvas */
.vy-hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.35;
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg-blob {
  position: absolute;
  width: 384px;
  height: 384px;
  border-radius: 50%;
  filter: blur(96px);
}
.hero-bg-blob-1 {
  left: 25%;
  top: 5rem;
  background: rgba(59, 130, 246, 0.1);
  animation: vy-blob-float-1 15s ease-in-out infinite;
}
.hero-bg-blob-2 {
  right: 25%;
  top: 10rem;
  background: rgba(99, 102, 241, 0.08);
  animation: vy-blob-float-2 18s ease-in-out infinite;
}

@keyframes vy-blob-float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(40px, -30px) scale(1.1); }
  50% { transform: translate(-20px, 40px) scale(0.95); }
  75% { transform: translate(30px, 20px) scale(1.05); }
}
@keyframes vy-blob-float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-35px, 25px) scale(1.08); }
  66% { transform: translate(25px, -30px) scale(0.92); }
}

.hero-content {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.hero-visual-bg {
  width: 100%;
  max-width: 540px;
  min-height: 360px;
  border-radius: var(--radius-lg);
  box-shadow: var(--vy-shadow-card);
  display: block;
  object-fit: cover;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(56, 189, 248, 0.1);
  color: var(--vy-cyan);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 1.2rem;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.08);
  backdrop-filter: blur(12px);
}

/* H1 */
h1 {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.05;
  color: #f1f5f9;
  margin: 0 0 1.4rem;
  letter-spacing: -0.055em;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--vy-text);
  margin-bottom: 2rem;
  line-height: 1.75;
  max-width: 540px;
}

/* ============================================================
   MARQUEE - INFINITE SCROLL
   ============================================================ */
.vy-marquee {
  overflow: hidden;
  background: var(--vy-dark);
  padding: 1.25rem 0;
  border-top: 1px solid rgba(59, 130, 246, 0.1);
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
  position: relative;
}
.vy-marquee::before,
.vy-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.vy-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--vy-dark), transparent);
}
.vy-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--vy-dark), transparent);
}
.vy-marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: vy-marquee-scroll 30s linear infinite;
}
.vy-marquee:hover .vy-marquee-track {
  animation-play-state: paused;
}
.vy-marquee-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(148, 163, 184, 0.7);
  letter-spacing: 0.02em;
  transition: color 0.25s;
}
.vy-marquee-item:hover {
  color: #e2e8f0;
}
.vy-marquee-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.6;
  flex-shrink: 0;
  transition: opacity 0.25s;
}
.vy-marquee-item:hover .vy-marquee-logo {
  opacity: 1;
}
.vy-marquee-name {
  line-height: 1;
}
/* keep dot class for backwards compat but hidden */
.vy-marquee-dot { display: none; }
@keyframes vy-marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   SECTION COMMON
   ============================================================ */
.section-title {
  text-align: center;
  margin-bottom: 4rem;
}
.section-title h2 {
  font-size: 2.5rem;
  letter-spacing: -0.04em;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.section-subtitle {
  font-size: 1.125rem;
  color: var(--vy-text);
}

.section-kicker {
  font-size: .9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #3b82f6;
  margin-bottom: .75rem;
}
.section-title-main {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  color: #f9fafb;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services {
  background: var(--vy-dark);
  padding: 5rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.services-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* ============================================================
   SERVICE CARD - 3D TILT READY
   ============================================================ */
.service-card {
  position: relative;
  z-index: 0;
  background: radial-gradient(ellipse at top left, rgba(15, 29, 50, 0.9) 0%, var(--vy-dark) 60%);
  border: 1px solid rgba(30, 41, 59, 0.8);
  border-radius: var(--radius-lg);
  padding: 2rem;
  overflow: hidden;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out),
              border-color 0.25s;
  transform-style: preserve-3d;
  will-change: transform;
}

/* Top accent line */
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(56, 189, 248, 0.5) 50%, transparent 90%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}
.service-card:hover::after { opacity: 1; }

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.25s ease;
}

.service-card:nth-child(1)::before {
  background: radial-gradient(circle at top left, rgba(249, 115, 22, 0.35), transparent 55%);
}
.service-card:nth-child(2)::before {
  background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.35), transparent 55%);
}
.service-card:nth-child(3)::before {
  background: radial-gradient(circle at top left, rgba(96, 165, 250, 0.35), transparent 55%);
}
.service-card:nth-child(4)::before {
  background: radial-gradient(circle at top left, rgba(236, 72, 153, 0.35), transparent 55%);
}
.service-card:nth-child(5)::before {
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.35), transparent 55%);
}
.service-card:nth-child(6)::before {
  background: radial-gradient(circle at top left, rgba(168, 85, 247, 0.35), transparent 55%);
}
.service-card:nth-child(7)::before {
  background: radial-gradient(circle at top left, rgba(251, 191, 36, 0.35), transparent 55%);
}
.service-card:nth-child(8)::before {
  background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.35), transparent 55%);
}

.service-card:hover {
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 24px 60px rgba(5, 8, 22, 0.85), 0 0 40px rgba(56, 189, 248, 0.06);
}
.service-card:hover::before {
  opacity: 1;
}

/* 3D tilt shine overlay */
.vy-tilt-shine {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
  background: radial-gradient(circle at var(--shine-x, 50%) var(--shine-y, 50%),
    rgba(255,255,255,0.06) 0%,
    transparent 60%
  );
}
.service-card:hover .vy-tilt-shine {
  opacity: 1;
}

/* Service icon */
.service-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
}

.service-icon-img {
  width: 2.4rem;
  height: 2.4rem;
  display: block;
  object-fit: contain;
  position: relative;
  z-index: 1;
  transform-origin: center center;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.05);
  box-shadow: 0 18px 35px rgba(5, 8, 22, 0.7);
}
.service-card:hover .service-icon-img {
  transform: scale(1.18) rotate(-10deg);
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.65));
}

.service-card h3 {
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
.service-card p {
  color: var(--vy-text);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}
.service-label {
  display: inline-flex;
  background: var(--vy-border);
  color: #d1d5db;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

/* Service card with emoji icons (servicios page) */
.sv-services .service-icon {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: .9rem;
  font-size: 1.4rem;
  margin-bottom: 1.1rem;
  background: linear-gradient(135deg, #38bdf8, #3b82f6 40%, #6366f1);
}
.sv-services .service-card {
  background: radial-gradient(circle at top left, #050816, #050816 35%, #000);
  border-radius: 1.4rem;
  padding: 1.8rem 1.7rem 1.6rem;
  border: 1px solid rgba(51,65,85,.9);
  box-shadow: 0 18px 45px rgba(15,23,42,.75);
}
.sv-services .service-card:hover {
  border-color: rgba(59, 130, 246, 0.9);
  box-shadow: 0 28px 70px rgba(15,23,42,1);
}
.sv-services .service-card h3 {
  font-size: 1.1rem;
  margin: 0 0 .4rem;
  color: #f9fafb;
}
.sv-services .service-card p {
  margin: 0;
  font-size: .94rem;
  color: #9ca3af;
}
.sv-services .service-label {
  display: inline-flex;
  padding: .25rem .8rem;
  font-size: .75rem;
  color: #38bdf8;
  background: rgba(30,64,175,.35);
  margin-top: .9rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.sv-services .services-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.7rem;
}

/* ============================================================
   BENEFITS SECTION
   ============================================================ */
.benefits {
  background: var(--vy-dark);
  padding: 5rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.benefits-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.benefit-card {
  position: relative;
  background: radial-gradient(ellipse at top, rgba(15, 29, 50, 0.7) 0%, var(--vy-dark) 60%);
  border: 1px solid rgba(30, 41, 59, 0.8);
  border-radius: var(--radius-lg);
  padding: 2rem;
  overflow: hidden;
  transition: all 0.3s var(--ease-out);
}
.benefit-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--vy-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.benefit-card:hover::after { opacity: 0.6; }
.benefit-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(5, 8, 22, 0.7), 0 0 30px rgba(59, 130, 246, 0.06);
}
.benefit-metric {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}
.benefit-metric-number {
  font-size: 4rem;
  font-weight: 800;
  background: var(--vy-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
}
.benefit-metric-unit {
  font-size: 3rem;
  font-weight: 800;
  background: var(--vy-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.benefit-card h3 {
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.benefit-description {
  color: var(--vy-text);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.benefit-example {
  border-left: 2px solid var(--vy-blue);
  padding-left: 1rem;
  color: #6b7280;
  font-size: 0.75rem;
  font-style: italic;
  line-height: 1.6;
}

/* ============================================================
   CALCULATOR SECTION
   ============================================================ */
.calculator {
  background: var(--vy-dark);
  padding: 5rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.calculator-content {
  max-width: 960px;
  margin: 0 auto;
}
.calculator-inputs {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.calculator-input-card {
  background: var(--vy-dark);
  border: 1px solid var(--vy-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 2rem;
}
.calculator-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.calculator-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid #374151;
  background: rgba(31, 41, 55, 0.5);
  color: #d1d5db;
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
  touch-action: manipulation;
  font-size: 1.2rem;
  font-family: var(--font-main);
}
.calculator-btn:hover {
  background: #374151;
  border-color: var(--vy-blue);
  transform: scale(1.1);
}
.calculator-btn:active {
  transform: scale(0.95);
}
.calculator-value {
  font-size: 3rem;
  font-weight: 700;
  color: var(--vy-blue);
  text-align: center;
  transition: transform 0.3s var(--ease-spring);
}
.calculator-value.vy-bump {
  transform: scale(1.15);
}
.calculator-label {
  text-align: center;
  color: var(--vy-text);
  font-weight: 500;
}
.calculator-results {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.calculator-result-card {
  background: var(--vy-dark);
  border: 1px solid var(--vy-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
}
.calculator-result-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
}
.calculator-result-value {
  font-size: 3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.75rem;
}

/* CTA Box */
.cta-box {
  background: var(--vy-dark);
  border: 1px solid var(--vy-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
  transition: all 0.3s;
}
.cta-box:hover {
  border-color: rgba(59, 130, 246, 0.5);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  background: var(--vy-dark);
  padding: 5rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.testimonials-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.testimonial-card {
  background: radial-gradient(ellipse at top left, rgba(15, 29, 50, 0.8) 0%, var(--vy-dark) 65%);
  border: 1px solid rgba(30, 41, 59, 0.8);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--ease-out);
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -0.5rem;
  right: 1.5rem;
  font-size: 6rem;
  line-height: 1;
  font-family: Georgia, serif;
  background: var(--vy-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.25;
  pointer-events: none;
}
.testimonial-card:hover {
  border-color: rgba(59, 130, 246, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(5, 8, 22, 0.6), 0 0 25px rgba(59, 130, 246, 0.05);
}
.testimonial-stars {
  color: #fbbf24;
  margin-bottom: 1rem;
  font-size: 1rem;
  letter-spacing: 2px;
}
.testimonial-text {
  color: var(--vy-text-light);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--vy-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: white;
}
.testimonial-name {
  font-weight: 600;
  color: var(--vy-text-light);
  font-size: 0.875rem;
}
.testimonial-role {
  color: var(--vy-text);
  font-size: 0.75rem;
}

/* ── Testimonials Carousel ── */
.vy-testimonials-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 0.5rem;
}
.vy-carousel-track-wrap {
  overflow: hidden;
  flex: 1;
  min-width: 0;
}
.vy-carousel-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.vy-carousel-track .testimonial-card {
  flex: 0 0 calc((100% - 3rem) / 3);
  min-width: 0;
}
.vy-carousel-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(56, 189, 248, 0.2);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
  padding: 0;
}
.vy-carousel-btn:hover:not(:disabled) {
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.45);
  color: #38bdf8;
}
.vy-carousel-btn:disabled {
  opacity: 0.25;
  cursor: default;
}
@media (max-width: 1023px) {
  .vy-carousel-track .testimonial-card {
    flex: 0 0 calc((100% - 1.5rem) / 2);
  }
}
@media (max-width: 639px) {
  .vy-carousel-track .testimonial-card {
    flex: 0 0 100%;
  }
  .vy-carousel-btn {
    width: 36px;
    height: 36px;
  }
  .vy-testimonials-carousel {
    gap: 0.5rem;
  }
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form {
  background: var(--vy-dark);
  padding: 5rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.contact-form::before {
  content: '';
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.3), rgba(99, 102, 241, 0.3), transparent);
}
.contact-form .section-title h2 {
  color: #f1f5f9;
}

.field-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #111827;
  margin-bottom: 0.35rem;
}
.field-label-icon {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  display: inline-block;
  object-fit: contain;
}

.contact-content {
  max-width: 768px;
  margin: 0 auto;
}
.form-card {
  background: rgba(10, 22, 40, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.15);
  border-radius: 1.25rem;
  padding: 2.5rem;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 24px 60px rgba(5, 8, 22, 0.7), inset 0 1px 0 rgba(56, 189, 248, 0.1);
}
.form-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 0.5rem;
}
.form-description {
  color: var(--vy-text);
  margin-bottom: 2rem;
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-label {
  display: block;
  color: var(--vy-text-light);
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}
.form-input {
  width: 100%;
  padding: 0.6rem 1rem;
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 0.625rem;
  font-size: 0.95rem;
  font-family: var(--font-main);
  background-color: rgba(5, 8, 22, 0.5);
  color: #f1f5f9;
  transition: all 0.2s var(--ease-out);
}
.form-input::placeholder { color: rgba(148, 163, 184, 0.45); }
.form-input:focus {
  outline: none;
  border-color: rgba(56, 189, 248, 0.5);
  background-color: rgba(5, 8, 22, 0.75);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1), 0 0 20px rgba(56, 189, 248, 0.05);
}
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 0.625rem;
  font-size: 0.95rem;
  resize: none;
  font-family: var(--font-main);
  min-height: 170px;
  background-color: rgba(5, 8, 22, 0.5);
  color: #f1f5f9;
  transition: all 0.2s var(--ease-out);
}
.form-textarea::placeholder { color: rgba(148, 163, 184, 0.45); }
.form-textarea:focus {
  outline: none;
  border-color: rgba(56, 189, 248, 0.5);
  background-color: rgba(5, 8, 22, 0.75);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1), 0 0 20px rgba(56, 189, 248, 0.05);
}
.form-row {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.form-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}
.form-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(56, 189, 248, 0.15);
  background: rgba(5, 8, 22, 0.4);
  color: var(--vy-text);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
}
.form-option:hover {
  border-color: rgba(56, 189, 248, 0.5);
  background: rgba(56, 189, 248, 0.08);
  color: var(--vy-text-light);
  transform: translateY(-1px);
}
.form-checkbox {
  accent-color: var(--vy-blue);
}
.form-input-other {
  margin-top: 0.75rem;
}
.btn-submit {
  position: relative;
  width: 100%;
  background: var(--vy-gradient);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1rem;
  font-family: var(--font-main);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  box-shadow: var(--vy-shadow-btn);
  overflow: hidden;
}
.btn-submit:hover {
  background: var(--vy-gradient-hover);
  box-shadow: var(--vy-shadow-btn-hov);
  transform: translateY(-2px);
}
.form-note {
  text-align: center;
  color: var(--vy-text);
  font-size: 0.875rem;
  margin-top: 1rem;
}
.error-message {
  color: #dc2626;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* ============================================================
   TOAST NOTIFICATION
   ============================================================ */
.vy-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  z-index: 10001;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.5s var(--ease-spring), opacity 0.5s;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.vy-toast.show {
  transform: translateY(0);
  opacity: 1;
}
.vy-toast--success {
  background: rgba(34, 197, 94, 0.9);
  color: white;
}
.vy-toast--error {
  background: rgba(239, 68, 68, 0.9);
  color: white;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  background: var(--vy-dark);
  padding: 5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta-content {
  max-width: 896px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.final-cta h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.final-cta-description {
  font-size: 1.25rem;
  color: var(--vy-text);
  margin-bottom: 2.5rem;
}
.stats-grid {
  display: grid;
  gap: 2rem;
  margin-top: 4rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.stat-card {
  background: radial-gradient(ellipse at top, rgba(15, 29, 50, 0.7) 0%, var(--vy-dark) 60%);
  border: 1px solid rgba(30, 41, 59, 0.8);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all 0.3s var(--ease-out);
}
.stat-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(5, 8, 22, 0.6);
}
.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--vy-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}
.stat-label {
  color: var(--vy-text);
  font-size: 0.875rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #010410;
  border-top: 1px solid var(--vy-border);
  padding: 3rem 1.5rem 2rem;
}
.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.footer-brand .logo {
  margin-bottom: 1rem;
}
.footer-brand p {
  color: var(--vy-text);
  font-size: 0.875rem;
  line-height: 1.6;
}
.footer-links h4 {
  color: var(--vy-text-light);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-links ul {
  list-style: none;
}
.footer-links li {
  margin-bottom: 0.5rem;
}
.footer-links a {
  color: var(--vy-text);
  font-size: 0.875rem;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--vy-cyan);
}
.footer-bottom {
  max-width: 1280px;
  margin: 2rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--vy-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  color: var(--vy-text);
  font-size: 0.8rem;
}
.footer-social {
  display: flex;
  gap: 1rem;
}
.footer-social a {
  color: var(--vy-text);
  transition: color 0.2s;
}
.footer-social a:hover {
  color: var(--vy-cyan);
}

/* ============================================================
   SERVICES DETAIL BLOCKS (servicios.html)
   ============================================================ */
.services-detail {
  background: #050816;
  padding: 4.5rem 1.5rem 4rem;
  color: #e5e7eb;
  position: relative;
  overflow: hidden;
}
.services-detail-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
.detail-block {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.8rem 2.6rem 3rem 1.8rem;
  border-radius: 1.3rem;
  border: 1px solid #1f2937;
  background: radial-gradient(circle at top, #050816, #000 55%);
  box-shadow: 0 18px 45px rgba(5, 8, 22, .75);
  transition: all 0.25s var(--ease-out);
  overflow: hidden;
}
.detail-block:hover {
  box-shadow: 0 0 35px rgba(59, 130, 246, 0.25);
  transform: translateY(-4px);
}
.detail-block h3 {
  margin: 0 0 .6rem;
  color: #f9fafb;
  font-size: 1.3rem;
}
.detail-block p {
  margin: 0 0 .8rem;
  font-size: .94rem;
  color: #9ca3af;
}
.detail-list {
  padding-left: 1.1rem;
  margin: 0;
  font-size: .9rem;
  color: #cbd5f5;
}
.detail-list li { margin-bottom: .35rem; }

/* ============================================================
   ABOUT PAGE STYLES
   ============================================================ */
.about-container {
  max-width: 1330px;
  margin: 0 auto;
  padding: 3.2rem 1.5rem;
}

/* About Hero */
.about-hero {
  background: var(--vy-dark);
  border-bottom: 1px solid rgba(56, 189, 248, 0.08);
  padding: 5rem 0 0;
}
.about-hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
.about-hero .section-title-main {
  font-size: 3rem;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.055em;
  margin-bottom: 1.4rem;
  color: #f1f5f9;
}
.about-hero .section-title-main .gradient-text { font-weight: 800; }
.about-hero-main p {
  color: var(--vy-text);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

/* Hero badge */
.about-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(56, 189, 248, 0.1);
  color: var(--vy-cyan);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: .45rem 1rem;
  border-radius: var(--radius-pill);
  font-size: .875rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.08);
  backdrop-filter: blur(12px);
}

/* About badges */
.about-badges {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.8rem 0 2.2rem;
}
.about-badge {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.about-badge-dot {
  width: 18px;
  height: 18px;
  border-radius: var(--radius-pill);
  border: 2px solid rgba(56, 189, 248, 0.6);
  background: rgba(56, 189, 248, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
}
.about-badge-dot::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 5px;
  height: 7px;
  border-right: 2px solid var(--vy-cyan);
  border-bottom: 2px solid var(--vy-cyan);
}
.about-badge-text { display: flex; flex-direction: column; }
.about-badge-title { font-weight: 600; color: var(--vy-text-light); font-size: 1rem; }
.about-badge-subtitle { font-size: 0.88rem; color: var(--vy-text); margin-top: 0.15rem; }

/* About hero CTA */
.about-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 1.5rem;
}
.about-hero .btn-primary {
  box-shadow: 0 18px 35px rgba(99, 102, 241, 0.4);
}
.about-hero .btn-primary:hover {
  background: linear-gradient(135deg, #3b82f6, #6366f1 60%, #1a0cb8);
  box-shadow: 0 22px 45px rgba(99, 102, 241, 0.5);
}
.about-hero .btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--vy-text-light);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-weight: 600;
}
.about-hero .btn-ghost:hover {
  background: rgba(56, 189, 248, 0.08);
  color: var(--vy-cyan);
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-1px);
}

/* About hero visual */
.about-hero-visual {
  width: 100%;
  max-width: 520px;
  justify-self: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(5, 8, 22, 0.4);
}
.about-hero-video { width: 100%; height: 100%; display: block; object-fit: cover; }

/* About story */
.about-story { background: #050816; }
.about-story-grid { display: grid; gap: 2.5rem; }
.about-story-text { color: #e5e7eb; font-size: 1rem; line-height: 1.7; }
.about-story-text p + p { margin-top: 1rem; }

/* About stats */
.about-stats { display: grid; gap: 1.75rem; }
.about-stat-item {
  position: relative;
  padding: 1.25rem 1.4rem;
  border-radius: 1rem;
  border: 1px solid rgba(59, 130, 246, 0.25);
  background: transparent;
  overflow: hidden;
  transition: transform .22s var(--ease-out), box-shadow .22s, border-color .22s, background .25s;
}
.about-stat-item:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.9);
  box-shadow: 0 22px 45px rgba(5, 8, 22, 0.85);
  background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.28), transparent 55%), rgba(5, 8, 22, 0.98);
}
.about-stat-title { font-size: .9rem; text-transform: uppercase; letter-spacing: .14em; color: #38bdf8; margin-bottom: .4rem; }
.about-stat-value { font-size: 1.3rem; font-weight: 700; color: #f9fafb; margin-bottom: .35rem; }
.about-stat-desc { font-size: .9rem; color: #9ca3af; position: relative; padding-left: .9rem; }
.about-stat-desc::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--vy-gradient);
  border-radius: 999px;
  opacity: .9;
}

/* About values */
.about-values {
  background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.14), transparent 55%), #050816;
  border-top: 1px solid rgba(5, 8, 22, 0.9);
  border-bottom: 1px solid rgba(5, 8, 22, 0.9);
}
.about-values-header { text-align: left; margin-bottom: 2.5rem; }
.about-values-grid { display: grid; gap: 1.75rem; }
.about-value-card {
  position: relative;
  padding: 1.6rem 1.7rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(59, 130, 246, 0.3);
  background: transparent;
  box-shadow: 0 18px 40px rgba(5, 8, 22, 0.7);
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: transform .2s var(--ease-out), box-shadow .2s, border-color .2s;
}
.about-value-card::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.15), transparent 60%);
  opacity: 0;
  transition: opacity .25s ease;
}
.about-value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 55px rgba(5, 8, 22, 0.95);
  border-color: rgba(59, 130, 246, 0.9);
}
.about-value-card:hover::before { opacity: 1; }
.about-value-title { font-size: 1.1rem; font-weight: 600; color: #e5e7eb; margin-bottom: .4rem; }
.about-value-pill {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .25rem .7rem;
  border-radius: 999px;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  background: rgba(5, 8, 22, 0.8);
  color: #38bdf8;
  border: 1px solid rgba(148, 163, 184, 0.4);
  margin-bottom: .65rem;
}
.about-value-text { font-size: .95rem; color: #9ca3af; line-height: 1.6; }
.about-section-subtitle {
  font-size: 1.05rem;
  color: #9ca3af;
  max-width: 640px;
}

/* About process */
.about-process { background: #050816; }
.about-process-grid { display: grid; gap: 2.5rem; }
.about-process-steps { display: grid; gap: 1.25rem; }
.about-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .9rem 1.25rem;
  align-items: flex-start;
}
.about-step-index {
  width: 2rem; height: 2rem;
  border-radius: 999px;
  background: rgba(5, 8, 22, 1);
  border: 1px solid rgba(96, 165, 250, 0.8);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; font-weight: 600; color: #38bdf8;
}
.about-step-title { font-size: 1rem; font-weight: 600; color: #e5e7eb; }
.about-step-text { font-size: .93rem; color: #9ca3af; grid-column: 2 / -1; }

/* About CTA */
.about-cta { background: #020612; }
.about-cta-box {
  border-radius: 1.75rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.25), transparent 60%), rgba(5, 8, 22, 0.94);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 24px 55px rgba(5, 8, 22, 0.95);
}
.about-cta-title { font-size: 2rem; font-weight: 800; color: #f9fafb; margin-bottom: .75rem; }
.about-cta-text { font-size: 1rem; color: #cbd5f5; max-width: 560px; margin: 0 auto 1.75rem; }

/* ============================================================
   CONTACT PAGE - Hero override
   ============================================================ */
.contact-hero {
  background: var(--vy-dark);
  padding: 8rem 1.5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-hero h1 {
  color: white;
  margin-bottom: 1rem;
}
.contact-hero p {
  color: var(--vy-text);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Contact info */
.contact-info {
  background: var(--vy-dark);
  padding: 3rem 1.5rem 5rem;
}
.contact-info-grid {
  max-width: 768px;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.contact-info-card {
  background: var(--vy-dark);
  border: 1px solid var(--vy-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s var(--ease-out);
}
.contact-info-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-2px);
}
.contact-info-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.contact-info-label {
  color: var(--vy-text);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}
.contact-info-value {
  color: var(--vy-text-light);
  font-weight: 600;
  font-size: 0.95rem;
}
.contact-info-value a {
  color: var(--vy-cyan);
  text-decoration: none;
}
.contact-info-value a:hover {
  text-decoration: underline;
}

/* ============================================================
   SERVICIOS HERO OVERRIDES
   ============================================================ */
.sv-hero .hero-content {
  grid-template-columns: minmax(0,1.2fr) minmax(0,1fr);
  align-items: start;
}
.sv-hero .hero-visual {
  padding-top: 1rem;
}
.sv-hero .hero-title {
  font-weight: 900;
  letter-spacing: -0.055em;
  margin: 0 0 1.4rem;
  color: #f1f5f9;
  font-size: 3.75rem;
  line-height: 1.05;
}
.sv-hero .hero-description {
  font-size: 1rem;
  color: var(--vy-text);
  max-width: 540px;
  margin-bottom: 1.7rem;
}
.sv-hero .hero-side-image {
  width: 100%;
  max-width: 520px;
  min-height: 360px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(5, 8, 22, 0.3);
}
.sv-hero .hero-side-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 768px) {
  .nav { display: flex; }
  .menu-toggle { display: none; }
  .hero { padding: 10rem 1.5rem 8rem; }
  .hero-content {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }
  h1 { font-size: 3.75rem; }
  .section-title h2 { font-size: 3rem; }
  .final-cta h2 { font-size: 3rem; }
  .benefit-metric-number { font-size: 4.5rem; }
  .benefit-metric-unit { font-size: 3.5rem; }
  .cta-box {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .about-hero-grid,
  .about-story-grid,
  .about-process-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }
  .about-values-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .about-hero .section-title-main { font-size: 3.75rem; }
  .services-detail-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  h1 { font-size: 4.5rem; }
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .benefits-grid { grid-template-columns: repeat(3, 1fr); }
  .sv-services .services-grid { grid-template-columns: repeat(4, 1fr); }
  .about-hero .section-title-main { font-size: 4.5rem; }
  .sv-hero .hero-title { font-size: 4.5rem; }
}

@media (max-width: 767px) {
  h1 { font-size: 2.25rem; }
  .sv-hero .hero-content { grid-template-columns: 1fr; }
  .sv-hero .hero-title { font-size: 2.15rem; line-height: 1.18; }
  .sv-hero .hero-side-image {
    max-width: 100%;
    margin-top: 2rem;
    min-height: auto;
    height: auto;
  }
  .about-container { padding: 3.5rem 1.25rem; }
  .about-cta-box { padding: 2.1rem 1.5rem; }
  .detail-block { padding: 1.6rem 1.4rem 2rem; }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .final-cta h2 {
    font-size: 2.25rem;
    line-height: 1.15;
  }
  .hero { padding: 7rem 1.5rem 4rem; }
  .section-title h2 { font-size: 1.75rem; }
  .about-hero .section-title-main { font-size: 2.25rem; }
  .section-title-main { font-size: 2rem; }
}

/* ============================================================
   HERO GRID DOTS PATTERN
   ============================================================ */
.vy-hero-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(56, 189, 248, 0.1) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 10%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 10%, transparent 80%);
  z-index: 0;
  pointer-events: none;
}

/* ============================================================
   CSS 3D ORB — HERO VISUAL
   ============================================================ */
.vy-hero-orb {
  width: 380px;
  height: 380px;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vy-hero-orb::before {
  content: '';
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%,
    rgba(56, 189, 248, 0.75) 0%,
    rgba(59, 130, 246, 0.55) 35%,
    rgba(99, 102, 241, 0.3) 60%,
    transparent 78%
  );
  filter: blur(28px);
  animation: vy-orb-pulse 4s ease-in-out infinite;
  z-index: 1;
}

.vy-hero-orb::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow:
    0 0 90px rgba(56, 189, 248, 0.22),
    0 0 180px rgba(99, 102, 241, 0.14),
    inset 0 0 90px rgba(99, 102, 241, 0.12);
  animation: vy-orb-spin 25s linear infinite;
  z-index: 2;
}

.vy-hero-orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(56, 189, 248, 0.22);
  pointer-events: none;
}
.vy-hero-orb-ring-1 {
  inset: -12%;
  animation: vy-orb-spin 35s linear infinite;
  z-index: 0;
}
.vy-hero-orb-ring-2 {
  inset: -26%;
  border-color: rgba(99, 102, 241, 0.16);
  border-style: solid;
  animation: vy-orb-spin 50s linear infinite reverse;
  z-index: 0;
}

.vy-hero-orb-core {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 35%,
    rgba(255, 255, 255, 0.25) 0%,
    rgba(56, 189, 248, 0.7) 28%,
    rgba(59, 130, 246, 0.55) 52%,
    rgba(99, 102, 241, 0.3) 72%,
    transparent
  );
  box-shadow:
    0 0 60px rgba(56, 189, 248, 0.6),
    0 0 120px rgba(99, 102, 241, 0.35),
    0 0 200px rgba(56, 189, 248, 0.15);
  animation: vy-orb-pulse 3.5s ease-in-out infinite;
  position: relative;
  z-index: 3;
}

@keyframes vy-orb-pulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.1); opacity: 1; }
}
@keyframes vy-orb-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ============================================================
   FOOTER UPGRADE
   ============================================================ */
.footer {
  background: #030710;
  border-top: none;
  padding: 4rem 1.5rem 2rem;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(56, 189, 248, 0.4) 30%,
    rgba(99, 102, 241, 0.4) 70%,
    transparent
  );
}

/* ============================================================
   GRADIENT TEXT REFINEMENT
   ============================================================ */
.gradient-text {
  background: linear-gradient(135deg, var(--vy-cyan) 0%, var(--vy-blue) 50%, var(--vy-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   CALCULATOR CARD UPGRADE
   ============================================================ */
.calculator-input-card {
  background: radial-gradient(ellipse at top, rgba(15, 29, 50, 0.7) 0%, var(--vy-dark) 60%);
  border: 1px solid rgba(30, 41, 59, 0.9);
}
.calculator-result-card {
  background: radial-gradient(ellipse at top, rgba(15, 29, 50, 0.7) 0%, var(--vy-dark) 60%);
  border: 1px solid rgba(30, 41, 59, 0.9);
}
.calculator-result-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
}
.calculator-result-value {
  font-size: 3rem;
  font-weight: 800;
  background: var(--vy-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
}
.cta-box {
  background: radial-gradient(ellipse at top left, rgba(59, 130, 246, 0.1) 0%, rgba(5, 8, 22, 0.9) 60%);
  border: 1px solid rgba(56, 189, 248, 0.2);
}
.cta-box:hover {
  border-color: rgba(56, 189, 248, 0.4);
}

/* ============================================================
   SECTION HEADING REFINEMENT
   ============================================================ */
.section-title-main {
  letter-spacing: -0.045em;
}
.final-cta h2 {
  letter-spacing: -0.04em;
}

/* ============================================================
   CONTACT PAGE — HERO GLOW UPGRADE
   ============================================================ */
.contact-hero {
  background: radial-gradient(ellipse at top, rgba(59, 130, 246, 0.12) 0%, var(--vy-dark) 60%);
}

/* ============================================================
   CONTACT INFO CARDS
   ============================================================ */
.contact-info-card {
  background: radial-gradient(ellipse at top, rgba(15, 29, 50, 0.7) 0%, var(--vy-dark) 60%);
  border: 1px solid rgba(30, 41, 59, 0.9);
}
.contact-info-card:hover {
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 8px 24px rgba(5, 8, 22, 0.5);
}

/* ============================================================
   ABOUT PAGE — CTA BOX UPGRADE
   ============================================================ */
.about-cta-box {
  border: 1px solid rgba(56, 189, 248, 0.2);
  background: radial-gradient(ellipse at top left, rgba(59, 130, 246, 0.18), transparent 60%), rgba(5, 8, 22, 0.95);
}

/* ============================================================
   MARQUEE UPGRADE
   ============================================================ */
.vy-marquee {
  background: rgba(5, 8, 22, 0.95);
  border-top: 1px solid rgba(56, 189, 248, 0.08);
  border-bottom: 1px solid rgba(56, 189, 248, 0.08);
}

/* ============================================================
   FLOAT ANIMATION
   ============================================================ */
@keyframes vy-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-11px); }
}
@keyframes vy-float-slow {
  0%, 100% { transform: translateY(0px) rotate(-1deg); }
  50%       { transform: translateY(-14px) rotate(1deg); }
}

/* ============================================================
   FLOATING TECH PILL BADGES (hero decoration)
   ============================================================ */
.vy-tech-pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.22);
  background: rgba(10, 22, 40, 0.75);
  backdrop-filter: blur(10px);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--vy-text-light);
  white-space: nowrap;
  pointer-events: none;
  z-index: 2;
}
.vy-tech-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--vy-gradient);
  flex-shrink: 0;
}
.vy-tech-pill--1 { top: 10%; right: 8%;  animation: vy-float 5s   ease-in-out infinite; }
.vy-tech-pill--2 { top: 32%; right: 1%;  animation: vy-float 6.5s ease-in-out infinite 0.9s; }
.vy-tech-pill--3 { bottom: 22%; right: 7%;  animation: vy-float 4.8s ease-in-out infinite 1.6s; }
.vy-tech-pill--4 { bottom: 10%; left: 4%;  animation: vy-float 5.8s ease-in-out infinite 0.4s; }
.vy-tech-pill--5 { top: 30%; left: 0%;  animation: vy-float 7s   ease-in-out infinite 1.1s; }
.vy-tech-pill--6 { top: 8%;  left: 6%;  animation: vy-float 6.2s ease-in-out infinite 2s; }
@media (max-width: 767px) { .vy-tech-pill { display: none; } }

/* ============================================================
   ANIMATED GRADIENT BORDER CARD
   ============================================================ */
@property --vy-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@keyframes vy-border-spin { to { --vy-angle: 360deg; } }
.vy-glow-border {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--vy-dark-card), var(--vy-dark-card)) padding-box,
    conic-gradient(from var(--vy-angle), var(--vy-cyan) 0%, var(--vy-blue) 35%, var(--vy-indigo) 65%, var(--vy-cyan) 100%) border-box;
  animation: vy-border-spin 5s linear infinite;
}

/* ============================================================
   VERTICAL TIMELINE
   ============================================================ */
.vy-timeline {
  position: relative;
  padding-left: 0;
}
.vy-timeline-track {
  position: absolute;
  left: 1.1rem;
  top: 1.2rem;
  bottom: 1.2rem;
  width: 2px;
  background: rgba(30, 41, 59, 0.8);
  border-radius: 2px;
  overflow: hidden;
  z-index: 0;
}
.vy-timeline-track-fill {
  width: 100%;
  height: 0%;
  background: linear-gradient(to bottom, var(--vy-cyan), var(--vy-indigo));
  border-radius: 2px;
  transition: height 1.6s var(--ease-out);
}
.vy-timeline.revealed .vy-timeline-track-fill { height: 100%; }

.vy-timeline-item {
  position: relative;
  padding: 0.25rem 0 2.5rem 3.25rem;
}
.vy-timeline-item:last-child { padding-bottom: 0; }

.vy-timeline-dot {
  position: absolute;
  left: 0.25rem;
  top: 0.15rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--vy-dark);
  border: 2px solid rgba(56, 189, 248, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--vy-cyan);
  transition: border-color 0.4s, background 0.4s, color 0.4s, box-shadow 0.4s;
  z-index: 2;
}
.vy-timeline-item.revealed .vy-timeline-dot {
  border-color: var(--vy-cyan);
  background: rgba(56, 189, 248, 0.12);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.12), 0 0 18px rgba(56, 189, 248, 0.35);
}
.vy-timeline-step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--vy-text-light);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}
.vy-timeline-step-text {
  font-size: 0.875rem;
  color: var(--vy-text);
  line-height: 1.65;
}

/* ============================================================
   MINI 3-STEP PROCESS BAR
   ============================================================ */
.vy-steps-section {
  background: var(--vy-dark);
  padding: 4rem 1.5rem;
  position: relative;
}
.vy-steps-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.2), transparent);
}
.vy-steps-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.2), transparent);
}
.vy-steps-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  position: relative;
}
.vy-step-item {
  position: relative;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(30, 41, 59, 0.9);
  background: radial-gradient(ellipse at top, rgba(15, 29, 50, 0.7) 0%, var(--vy-dark) 60%);
  overflow: hidden;
  transition: all 0.3s var(--ease-out);
}
.vy-step-item::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--vy-gradient);
  opacity: 0;
  transition: opacity 0.3s;
}
.vy-step-item:hover::after { opacity: 1; }
.vy-step-item:hover {
  border-color: rgba(56, 189, 248, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(5, 8, 22, 0.6);
}
.vy-step-num {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--vy-cyan);
  margin-bottom: 0.8rem;
  display: block;
}
.vy-step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--vy-text-light);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.vy-step-text {
  font-size: 0.875rem;
  color: var(--vy-text);
  line-height: 1.65;
}

/* ============================================================
   ENHANCED DETAIL BLOCK NUMBERS
   ============================================================ */
.detail-block-num {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--vy-cyan);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.detail-block-num::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.3), transparent);
}
.detail-block-bg-num {
  position: absolute;
  top: 0.75rem;
  right: 1.25rem;
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(56, 189, 248, 0.04);
  letter-spacing: -0.05em;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* ============================================================
   CONTACT PAGE — SPLIT LAYOUT
   ============================================================ */
.contact-split {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  gap: 4rem;
  align-items: start;
  padding: 5rem 1.5rem;
}
@media (min-width: 900px) {
  .contact-split { grid-template-columns: 1fr 1.1fr; }
}
.contact-benefits-panel { padding: 0; }
.contact-benefits-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--vy-text-light);
  letter-spacing: -0.025em;
  margin-bottom: 2rem;
}
.contact-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.contact-benefit-icon {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 0.75rem;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
  transition: all 0.3s;
}
.contact-benefit-item:hover .contact-benefit-icon {
  background: rgba(56, 189, 248, 0.14);
  border-color: rgba(56, 189, 248, 0.5);
}
.contact-benefit-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--vy-text-light);
  margin-bottom: 0.25rem;
}
.contact-benefit-text {
  font-size: 0.85rem;
  color: var(--vy-text);
  line-height: 1.65;
}
.contact-trust-block {
  margin-top: 2.5rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(56, 189, 248, 0.12);
  background: rgba(10, 22, 40, 0.45);
}
.contact-trust-quote {
  font-size: 0.92rem;
  color: var(--vy-text-light);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1.1rem;
}
.contact-trust-quote::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--vy-gradient);
  border-radius: 2px;
}
.contact-trust-author {
  font-size: 0.8rem;
  color: var(--vy-text);
  font-weight: 600;
}
.contact-response-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--vy-cyan);
  margin-top: 1.5rem;
}
.contact-response-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px rgba(74, 222, 128, 0.6);
  animation: vy-pulse-dot 2s ease-in-out infinite;
}
@keyframes vy-pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

/* ============================================================
   ABOUT PAGE — HERO STATS STRIP
   ============================================================ */
.about-hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
  margin-top: 2rem;
}
.about-hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(56, 189, 248, 0.14);
  border-radius: 0.875rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}
.about-hero-stat:hover {
  border-color: rgba(56, 189, 248, 0.35);
  background: rgba(56, 189, 248, 0.06);
  transform: translateY(-2px);
}
.about-hero-stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  background: var(--vy-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.about-hero-stat-label {
  font-size: 0.7rem;
  color: rgba(148, 163, 184, 0.8);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  line-height: 1.3;
}

/* ============================================================
   ABOUT VALUES — ICON RING
   ============================================================ */
.about-value-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.875rem;
  background: rgba(56, 189, 248, 0.07);
  border: 1px solid rgba(56, 189, 248, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  transition: all 0.3s;
}
.about-value-card:hover .about-value-icon {
  background: rgba(56, 189, 248, 0.14);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.12);
  transform: scale(1.06);
}

/* ============================================================
   SECTION DIVIDER LINE
   ============================================================ */
.vy-section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.2), rgba(99, 102, 241, 0.2), transparent);
  margin: 0;
}

/* ============================================================
   SERVICE ICON — GRADIENT CONTAINER VARIANT
   ============================================================ */
.sv-icon-wrap {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  background: rgba(56, 189, 248, 0.07);
  border: 1px solid rgba(56, 189, 248, 0.18);
  color: var(--vy-cyan);
  transition: transform 0.3s var(--ease-spring), background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.service-card:hover .sv-icon-wrap {
  transform: scale(1.08) translateY(-2px);
  background: rgba(56, 189, 248, 0.14);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 0 22px rgba(56, 189, 248, 0.14);
}

/* ============================================================
   ARTICLES PAGE — HERO, FILTERS, GRID
   ============================================================ */
.articles-hero {
  background: var(--vy-dark);
  padding: 8rem 1.5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.articles-hero h1 { color: #f1f5f9; }
.articles-hero p {
  font-size: 1.1rem;
  color: var(--vy-text);
  max-width: 580px;
  margin: 1rem auto 0;
  line-height: 1.7;
}

.articles-filter {
  display: flex;
  gap: 0.65rem;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1280px;
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
}
.filter-btn {
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(56, 189, 248, 0.18);
  background: rgba(10, 22, 40, 0.5);
  color: var(--vy-text);
  font-size: 0.85rem;
  font-weight: 500;
  font-family: var(--font-main);
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
}
.filter-btn:hover { border-color: rgba(56, 189, 248, 0.4); color: var(--vy-text-light); }
.filter-btn.active {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.5);
  color: var(--vy-cyan);
}

.articles-section {
  background: var(--vy-dark);
  padding: 0 0 5rem;
}
.articles-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}
@media (min-width: 1024px) {
  .articles-grid { grid-template-columns: repeat(3, 1fr); }
}

.article-card {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(30, 41, 59, 0.85);
  background: radial-gradient(ellipse at top left, rgba(15, 29, 50, 0.9) 0%, var(--vy-dark) 65%);
  overflow: hidden;
  transition: all 0.3s var(--ease-out);
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.article-card:hover {
  border-color: rgba(56, 189, 248, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(5, 8, 22, 0.7), 0 0 30px rgba(56, 189, 248, 0.05);
}
.article-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--vy-cyan), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.article-card:hover::after { opacity: 0.7; }

.article-cover {
  width: 100%;
  height: 185px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.article-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(5, 8, 22, 0.5));
}
.article-cover-icon {
  font-size: 2.4rem;
  opacity: 0.5;
  position: relative;
  z-index: 1;
}

.article-body {
  padding: 1.4rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.article-category {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 0.65rem;
}
.article-category::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ac-ia     { color: var(--vy-cyan); }
.ac-ia::before { background: var(--vy-cyan); }
.ac-auto   { color: var(--vy-blue); }
.ac-auto::before { background: var(--vy-blue); }
.ac-mkt    { color: #a78bfa; }
.ac-mkt::before { background: #a78bfa; }
.ac-est    { color: #34d399; }
.ac-est::before { background: #34d399; }

.article-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--vy-text-light);
  line-height: 1.45;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.article-card:hover .article-title { color: white; }
.article-excerpt {
  font-size: 0.85rem;
  color: var(--vy-text);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.1rem;
}
.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--vy-text);
  padding-top: 0.9rem;
  border-top: 1px solid rgba(30, 41, 59, 0.6);
  margin-top: auto;
}
.article-read-more {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--vy-cyan);
  font-weight: 600;
  font-size: 0.78rem;
  transition: gap 0.2s;
}
.article-card:hover .article-read-more { gap: 0.55rem; }

/* Featured article */
.article-card--featured {
  grid-column: 1 / -1;
  flex-direction: row;
  min-height: 260px;
}
.article-card--featured .article-cover {
  width: 380px;
  min-width: 380px;
  height: auto;
}
.article-card--featured .article-title { font-size: 1.3rem; }
.article-card--featured .article-excerpt { font-size: 0.93rem; }
@media (max-width: 768px) {
  .article-card--featured { flex-direction: column; }
  .article-card--featured .article-cover { width: 100%; min-width: unset; height: 185px; }
}

/* Articles CTA strip */
.articles-cta-strip {
  background: var(--vy-dark);
  padding: 3rem 1.5rem 5rem;
}
.articles-cta-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(56, 189, 248, 0.2);
  background: radial-gradient(ellipse at top, rgba(59, 130, 246, 0.1) 0%, rgba(5, 8, 22, 0.95) 65%);
}
.articles-cta-inner h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #f1f5f9;
  letter-spacing: -0.035em;
  margin-bottom: 0.75rem;
}
.articles-cta-inner p {
  color: var(--vy-text);
  margin-bottom: 1.75rem;
  font-size: 1rem;
  line-height: 1.65;
}

/* ============================================================
   GLOBAL RESPONSIVE — mobile-first refinements
   ============================================================ */

/* ── Small tablets & large phones (≤ 767px) ── */
@media (max-width: 767px) {
  /* Header */
  .header-content { padding: 0 1rem; }
  .logo { margin-left: 0 !important; }

  /* Hero */
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
    padding: 7rem 1.25rem 3rem;
  }
  .hero-visual { display: none !important; }
  h1 { font-size: clamp(1.9rem, 8vw, 3rem) !important; }
  .hero-description { font-size: 1rem; }
  .hero-actions { justify-content: center; flex-wrap: wrap; }

  /* Sections */
  .section-title h2 { font-size: clamp(1.6rem, 6vw, 2.5rem); }
  .section-subtitle { font-size: 0.95rem; }

  /* Services grid */
  .services-grid { grid-template-columns: 1fr; }

  /* Steps grid */
  .vy-steps-grid { grid-template-columns: 1fr; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .stat-number { font-size: 2.2rem; }

  /* Contact split */
  .contact-split { grid-template-columns: 1fr; }
  .contact-benefits-panel { display: none; }

  /* Footer */
  .footer-content { grid-template-columns: 1fr; gap: 2rem; }

  /* Marquee */
  .vy-marquee-track { gap: 2rem; }

  /* Articles grid */
  .articles-grid { grid-template-columns: 1fr; }

  /* Section padding */
  .testimonials,
  .services,
  .contact-form,
  .final-cta { padding: 3.5rem 1.25rem; }
}

/* ── Phones (≤ 479px) ── */
@media (max-width: 479px) {
  .btn-hero, .btn-primary, .btn-submit {
    width: 100%;
    justify-content: center;
  }
  .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .contact-info-grid { grid-template-columns: 1fr; }
  .vy-steps-grid { gap: 1rem; }
  .hero-content { padding: 6rem 1rem 2.5rem; }
}

/* ── Medium tablets (768px – 1023px) ── */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-content { grid-template-columns: 1fr 1fr; gap: 2rem; padding: 8rem 2rem 4rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .vy-steps-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-content { grid-template-columns: 1fr 1fr; }
}

/* ── Nav responsive ── */
@media (max-width: 900px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }
}
@media (min-width: 901px) {
  .menu-toggle { display: none; }
  .mobile-menu { display: none !important; }
}

/* ── About hero stats: single row on desktop ── */
@media (min-width: 1024px) {
  .about-hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ── Loader logo responsive ── */
@media (max-width: 479px) {
  .vy-loader-logo { font-size: 1.5rem; }
}
