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

:root {
  --black:      #050507;
  --dark:       #0d0d10;
  --dark-2:     #111116;
  --dark-3:     #18181f;
  --mid:        #232330;
  --neon-blue:  #00AAFF;
  --neon-blue2: #0055CC;
  --neon-red:   #CC1133;
  --gold:       #C4A84A;
  --discord:    #5865F2;
  --accent:     var(--neon-blue);
  --text:       #e8e8f0;
  --text-dim:   #8888a0;
  --border:     rgba(255,255,255,0.07);
  --glow-blue:  0 0 20px rgba(0,170,255,0.35);
  --glow-red:   0 0 20px rgba(204,17,51,0.35);
  --radius:     8px;
  --nav-h:      72px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

/* ─── TYPOGRAPHY ─────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-block;
  margin-bottom: 0.6rem;
  position: relative;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  margin-bottom: 1.2rem;
}

.section-sub {
  color: var(--text-dim);
  font-size: 1.05rem;
  max-width: 560px;
}

/* ─── SCROLLBAR ───────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--neon-blue2); border-radius: 3px; }

/* ─── NOISE OVERLAY ───────────────────────────────────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
}

/* ─── BUTTONS ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease,
              transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
  will-change: transform;
}
/* Magnetic tracking — fast follow, slow release */
.btn.mag-active {
  transition: background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease,
              transform 0.12s linear;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  transform: translateX(-100%);
  transition: transform 0.35s ease;
}
.btn:hover::before { transform: translateX(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--neon-blue2), var(--neon-blue));
  color: #fff;
  box-shadow: var(--glow-blue);
}
.btn-primary:hover {
  box-shadow: 0 0 35px rgba(0,170,255,0.55);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn-outline:hover {
  background: rgba(0,194,255,0.08);
  box-shadow: var(--glow-blue);
  transform: translateY(-2px);
}

.btn-red {
  background: linear-gradient(135deg, #c8001a, var(--neon-red));
  color: #fff;
  box-shadow: var(--glow-red);
}
.btn-red:hover {
  box-shadow: 0 0 35px rgba(204,17,51,0.55);
  transform: translateY(-2px);
}

.btn .arrow { transition: transform 0.25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ─── NAVIGATION ──────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

#navbar.scrolled {
  background: rgba(5,5,7,0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(0,0,0,0.5);
}

.nav-logo {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo .logo-accent { color: var(--neon-blue); }

.nav-logo .logo-bar {
  width: 4px;
  height: 28px;
  background: linear-gradient(to bottom, var(--neon-blue), var(--neon-red));
  border-radius: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }

.nav-cta { margin-left: 1rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: flex;          /* always flex — visibility controls show/hide */
  flex-direction: column;
  gap: 0;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(8, 8, 14, 0.96);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-bottom: 1px solid rgba(0, 170, 255, 0.12);
  padding: 0.75rem 0 1.25rem;
  z-index: 999;
  /* Hidden state */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  pointer-events: none;
  transition:
    opacity    0.28s cubic-bezier(0.22, 1, 0.36, 1),
    transform  0.28s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.28s;
}

/* Open state — smooth slide-down */
.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Staggered link entrance */
.mobile-menu a {
  color: rgba(232, 232, 240, 0.88);
  text-decoration: none;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.85rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: color 0.2s, background 0.2s, padding-left 0.2s;
  /* Start invisible for stagger */
  opacity: 0;
  transform: translateX(-10px);
}
/* Stagger delays */
.mobile-menu a:nth-child(1) { transition-delay: 0.04s; }
.mobile-menu a:nth-child(2) { transition-delay: 0.08s; }
.mobile-menu a:nth-child(3) { transition-delay: 0.12s; }
.mobile-menu a:nth-child(4) { transition-delay: 0.16s; }
.mobile-menu a:nth-child(5) { transition-delay: 0.20s; }
.mobile-menu a:nth-child(6) { transition-delay: 0.24s; }
.mobile-menu a:nth-child(7) { transition-delay: 0.28s; }
.mobile-menu a:nth-child(8) { transition-delay: 0.32s; }

.mobile-menu.open a {
  opacity: 1;
  transform: translateX(0);
  transition: color 0.2s, background 0.2s, padding-left 0.2s,
              opacity 0.3s cubic-bezier(0.22,1,0.36,1),
              transform 0.3s cubic-bezier(0.22,1,0.36,1);
}
/* Inherit stagger delays when open */
.mobile-menu.open a:nth-child(1) { transition-delay: 0.04s; }
.mobile-menu.open a:nth-child(2) { transition-delay: 0.08s; }
.mobile-menu.open a:nth-child(3) { transition-delay: 0.12s; }
.mobile-menu.open a:nth-child(4) { transition-delay: 0.16s; }
.mobile-menu.open a:nth-child(5) { transition-delay: 0.20s; }
.mobile-menu.open a:nth-child(6) { transition-delay: 0.24s; }
.mobile-menu.open a:nth-child(7) { transition-delay: 0.28s; }
.mobile-menu.open a:nth-child(8) { transition-delay: 0.32s; }

.mobile-menu a:last-child { border-bottom: none; }

.mobile-menu a:hover {
  color: var(--neon-blue);
  background: rgba(0, 170, 255, 0.05);
  padding-left: 2rem;
}

/* Blue accent line on the left on hover */
.mobile-menu a::before {
  content: '';
  width: 2px;
  height: 0;
  background: var(--neon-blue);
  border-radius: 2px;
  transition: height 0.2s ease;
  flex-shrink: 0;
}
.mobile-menu a:hover::before { height: 18px; }

/* ─── SECTION SHELL ───────────────────────────────────────────────── */
section {
  position: relative;
  padding: 100px 5%;
  overflow: hidden;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
}

/* ─── SPEED LINES DECORATION ──────────────────────────────────────── */
.speed-lines {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.speed-lines::before,
.speed-lines::after {
  content: '';
  position: absolute;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--accent), transparent);
  opacity: 0.12;
}

.speed-lines::before { left: 15%; }
.speed-lines::after  { right: 15%; }

/* ─── HERO SECTION ────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    /* diagonal speed-line texture */
    linear-gradient(112deg, transparent 42%, rgba(0,170,255,0.025) 42%, rgba(0,170,255,0.025) 42.5%, transparent 42.5%),
    linear-gradient(112deg, transparent 62%, rgba(0,170,255,0.018) 62%, rgba(0,170,255,0.018) 62.5%, transparent 62.5%),
    linear-gradient(112deg, transparent 80%, rgba(204,17,51,0.015) 80%, rgba(204,17,51,0.015) 80.5%, transparent 80.5%),
    /* depth radials */
    radial-gradient(ellipse 90% 70% at 50% 35%, rgba(0,85,204,0.14) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 80% 75%, rgba(204,17,51,0.08) 0%, transparent 55%),
    radial-gradient(ellipse 40% 50% at 10% 20%, rgba(0,170,255,0.06) 0%, transparent 55%),
    linear-gradient(180deg, #010103 0%, #050507 55%, #0a0a12 100%);
  z-index: 0;
}

/* scan line sweeping top→bottom */
.hero-bg::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 160px;
  background: linear-gradient(180deg, transparent, rgba(0,194,255,0.05) 45%, rgba(0,194,255,0.09) 50%, rgba(0,194,255,0.05) 55%, transparent);
  filter: blur(1px);
  pointer-events: none;
  animation: heroScanLine 12s linear infinite;
}
@keyframes heroScanLine {
  from { top: -160px; }
  to   { top: 110%; }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    /* main orthogonal grid */
    linear-gradient(rgba(0,194,255,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,194,255,0.055) 1px, transparent 1px),
    /* secondary diagonal micro-grid */
    linear-gradient(45deg, rgba(0,170,255,0.02) 1px, transparent 1px),
    linear-gradient(-45deg, rgba(0,170,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px, 60px 60px, 30px 30px, 30px 30px;
  background-position: center center;
  z-index: 0;
  animation: gridPan 18s linear infinite;
}

@keyframes gridPan {
  0%   { background-position: 0 0, 0 0, 0 0, 0 0; }
  100% { background-position: 60px 60px, 60px 60px, 30px 30px, -30px 30px; }
}

/* cursor-reactive spotlight */
.hero-cursor-spot {
  position: absolute;
  width: 780px; height: 780px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(0,170,255,0.065) 0%,
    rgba(0,85,204,0.04) 40%,
    transparent 70%
  );
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
  will-change: left, top;
  transition: opacity 0.6s ease;
}

.hero-stripe {
  position: absolute;
  left: 0; right: 0;
  height: 3px;
  bottom: 0;
  background: linear-gradient(90deg, transparent, var(--neon-blue), var(--neon-red), transparent);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 5%;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.1rem;
  border: 1px solid rgba(0,194,255,0.3);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--neon-blue);
  margin-bottom: 1.8rem;
  background: rgba(0,194,255,0.06);
  animation: fadeDown 0.8s ease both;
}

.hero-badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--neon-blue);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  color: #fff;
  margin-bottom: 1.4rem;
  animation: fadeDown 0.8s 0.15s ease both;
}

.hero-h1 .highlight {
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-blue2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  animation: fadeDown 0.8s 0.3s ease both;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeDown 0.8s 0.45s ease both;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-dim);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 2;
  animation: fadeDown 1s 0.9s ease both;
}

.scroll-indicator .mouse {
  width: 22px; height: 34px;
  border: 1.5px solid var(--text-dim);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-indicator .wheel {
  width: 3px; height: 6px;
  background: var(--text-dim);
  border-radius: 2px;
  animation: scrollWheel 1.8s ease infinite;
}

@keyframes scrollWheel {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(8px); opacity: 0; }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── HERO ORBS ───────────────────────────────────────────────────── */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0;
  animation: orbFloat var(--dur, 10s) ease-in-out infinite;
}

@keyframes orbFloat {
  0%   { opacity: 0; transform: translate(0, 0) scale(1); }
  20%  { opacity: var(--op, 0.1); }
  80%  { opacity: var(--op, 0.1); }
  100% { opacity: 0; transform: translate(var(--dx, 20px), var(--dy, -30px)) scale(1.15); }
}

/* ─── ABOUT SECTION ───────────────────────────────────────────────── */
#about {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

/* ── Dot grid texture ───────────────────────────────────────────── */
#about::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0,170,255,0.16) 1px, transparent 1px);
  background-size: 38px 38px;
  z-index: 0;
  pointer-events: none;
}

/* ── Soft radial glows — depth in corners ───────────────────────── */
#about::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 50% at -5% 10%,  rgba(0, 85,204,0.13) 0%, transparent 70%),
    radial-gradient(ellipse 45% 45% at 108% 90%, rgba(204,17, 51,0.09) 0%, transparent 70%),
    radial-gradient(ellipse 40% 35% at 55%  50%, rgba(0,  0,  0,0.18) 0%, transparent 80%);
  z-index: 0;
  pointer-events: none;
}

/* ── Decorative SVG — abstract racing arcs ──────────────────────── */
.about-deco {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.about-deco-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Content sits above all decorations */
#about .container { position: relative; z-index: 1; }

.about-logo-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.about-pp-logo {
  height: 52px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.88;
}
.about-logo-tagline {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  border-left: 2px solid var(--neon-blue);
  padding-left: 0.85rem;
  line-height: 1.4;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

.img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  background: var(--dark-3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  overflow: hidden;
  position: relative;
}

.img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,119,255,0.08), rgba(255,34,64,0.05));
}

.img-placeholder svg {
  opacity: 0.3;
  width: 64px; height: 64px;
}

.about-image-wrap::before {
  content: '';
  position: absolute;
  inset: -12px;
  border: 1.5px solid rgba(0,194,255,0.15);
  border-radius: calc(var(--radius) + 8px);
  z-index: -1;
}

.about-image-wrap::after {
  content: '';
  position: absolute;
  bottom: -20px; right: -20px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(0,194,255,0.2), transparent 70%);
  pointer-events: none;
}

.about-stat-row {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.about-stat {
  padding: 1rem 1.5rem;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-top: 2px solid var(--neon-blue);
  border-radius: var(--radius);
  flex: 1;
}

.about-stat .stat-n {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--neon-blue);
  line-height: 1;
}

.about-stat .stat-l {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 0.25rem;
  letter-spacing: 0.06em;
}

/* ─── SERVICES SECTION ────────────────────────────────────────────── */
#services {
  background: var(--black);
}

.services-header {
  text-align: center;
  margin-bottom: 4rem;
}

.services-header .section-sub { margin: 0 auto; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
}

.service-card {
  background: var(--dark);
  padding: 2.2rem;
  position: relative;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-blue2), var(--neon-blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(0,194,255,0.06), rgba(255,34,64,0.04));
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.service-card:hover { background: var(--dark-3); }
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover::after { opacity: 1; }

.service-icon {
  width: 52px; height: 52px;
  border-radius: 10px;
  background: rgba(0,194,255,0.08);
  border: 1px solid rgba(0,194,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  transition: background 0.3s, box-shadow 0.3s;
}

.service-card:hover .service-icon {
  background: rgba(0,194,255,0.15);
  box-shadow: var(--glow-blue);
}

.service-icon svg {
  width: 24px; height: 24px;
  stroke: var(--neon-blue);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.7rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ─── WHY US SECTION ──────────────────────────────────────────────── */
#why {
  background: var(--dark);
  position: relative;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.why-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.why-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(0,170,255,0.07);
  border: 1px solid rgba(0,170,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-icon svg {
  width: 20px; height: 20px;
  stroke: var(--neon-blue);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-item h4 {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 0.3rem;
}

.why-item p {
  font-size: 0.88rem;
  color: var(--text-dim);
}

.why-visual {
  position: relative;
}

.why-card-main {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  transition: box-shadow 0.4s ease;
}

.why-card-main:hover {
  box-shadow: 0 0 40px rgba(0,119,255,0.18), 0 20px 60px rgba(0,0,0,0.4);
}

.why-card-top {
  background: linear-gradient(135deg, rgba(0,119,255,0.15), rgba(255,34,64,0.08));
  padding: 2.5rem;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.why-card-top .big-num {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 5rem;
  line-height: 1;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-blue2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.why-card-top p {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-top: 0.3rem;
  letter-spacing: 0.08em;
}

.why-card-list {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.why-card-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.why-card-row::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--neon-blue);
  flex-shrink: 0;
}

/* ─── PORTFOLIO SECTION ───────────────────────────────────────────── */
#portfolio {
  background: var(--black);
  position: relative;
  overflow: hidden;
}
/* Same background image as Entregables section */
#portfolio.port-custom-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('Showcase/BG entregables.jpg');
  background-size: cover;
  background-position: center 40%;
  opacity: 0.13;
  z-index: 0;
  pointer-events: none;
}
#portfolio.port-custom-bg .container { position: relative; z-index: 1; }

.portfolio-header {
  text-align: center;
  margin-bottom: 4rem;
}

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

.portfolio-card {
  /* Liquid glass — mismo efecto que workflow cards */
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);

  border: 1px solid rgba(255, 255, 255, 0.13);
  border-top-color: rgba(255, 255, 255, 0.28);

  border-radius: 22px;
  overflow: hidden;
  position: relative;

  box-shadow:
    inset 0  1px 0   rgba(255, 255, 255, 0.18),
    inset 0 -1px 0   rgba(0,   0,   0,   0.12),
    inset 1px 0  0   rgba(255, 255, 255, 0.06),
    inset -1px 0 0   rgba(255, 255, 255, 0.06),
    0 8px 32px        rgba(0, 0, 0, 0.40),
    0 2px 8px         rgba(0, 0, 0, 0.25);

  transition: transform 0.55s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.35s ease, border-color 0.35s ease,
              background 0.35s ease !important;
}

/* Shimmer diagonal — mismo que workflow */
.portfolio-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.10) 0%,
    transparent 50%,
    rgba(0,170,255,0.04) 100%
  );
  pointer-events: none;
}

.portfolio-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(0, 170, 255, 0.30);
  border-top-color: rgba(0, 170, 255, 0.50);
  box-shadow:
    inset 0  1px 0   rgba(0, 200, 255, 0.30),
    inset 0 -1px 0   rgba(0,   0,   0, 0.10),
    0 24px 60px       rgba(0, 0, 0, 0.45),
    0 0   40px        rgba(0, 170, 255, 0.10);
}

.portfolio-img {
  width: 100%;
  aspect-ratio: 16/8;
  object-fit: cover;
  display: block;
}

.portfolio-img-placeholder {
  width: 100%;
  aspect-ratio: 16/8;
  background-color: var(--dark-3); /* color-only so background-image classes aren't reset */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* ::before decorative gradient on placeholder */
.portfolio-img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,119,255,0.08), rgba(255,34,64,0.05));
  pointer-events: none;
}

.portfolio-img-placeholder .event-tag {
  position: absolute;
  top: 1rem; left: 1rem;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.20);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  backdrop-filter: blur(6px);
  z-index: 2;
}

.portfolio-img-placeholder svg {
  opacity: 0.15;
  width: 80px; height: 80px;
}

.portfolio-body {
  padding: 1.8rem;
}

.portfolio-body .eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neon-red);
  margin-bottom: 0.6rem;
  display: block;
}

.portfolio-body h3 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.8rem;
}

.portfolio-body p {
  font-size: 0.9rem;
  color: rgba(232, 232, 240, 0.85);
  line-height: 1.7;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.2rem;
}

.tag {
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}

/* ─── CTA SECTION ─────────────────────────────────────────────────── */
#cta {
  background: var(--dark-2);
  padding: 120px 5%;
  text-align: center;
  position: relative;
}

.cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(0,119,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}

#cta h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: #fff;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

#cta p {
  color: var(--text-dim);
  font-size: 1.1rem;
  max-width: 480px;
  margin: 0 auto 2.5rem;
  position: relative;
  z-index: 1;
}

#cta .cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ─── CONTACT SECTION ─────────────────────────────────────────────── */
#contact {
  background: var(--black);
  position: relative;
  overflow: hidden;
}

/* ── Dot grid — tonos cálidos (oro/ámbar) en vez de azul ───────── */
#contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(196,168,74,0.14) 1px, transparent 1px);
  background-size: 38px 38px;
  z-index: 0;
  pointer-events: none;
}

/* ── Glows de esquina — paleta cálida ───────────────────────────── */
#contact::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 50% at 100% 5%,  rgba(196,168,74,0.10) 0%, transparent 70%),
    radial-gradient(ellipse 45% 45% at -5%  95%, rgba(204,17, 51,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 35% 30% at 50%  50%, rgba(0,  0,  0,0.20) 0%, transparent 80%);
  z-index: 0;
  pointer-events: none;
}

#contact .container { position: relative; z-index: 1; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: #fff;
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.28s cubic-bezier(0.34,1.56,0.64,1),
              background 0.3s ease, box-shadow 0.3s ease;
}

/* left-side brand accent bar */
.contact-channel::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  border-radius: var(--radius) 0 0 var(--radius);
  transform: scaleY(0);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
  transform-origin: center;
  pointer-events: none;
}
.contact-channel:hover::before { transform: scaleY(1); }

/* shimmer sweep */
.contact-channel::after {
  content: '';
  position: absolute;
  top: -20%; left: -75%;
  width: 45%; height: 140%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.07) 50%, transparent);
  transform: skewX(-12deg);
  opacity: 0;
  pointer-events: none;
}
.contact-channel:hover::after {
  opacity: 1;
  animation: chShimmer 0.6s ease forwards;
}
@keyframes chShimmer {
  from { left: -75%; }
  to   { left: 130%; }
}

.contact-channel:hover {
  transform: translateX(5px);
}

/* icon — spring scale on hover */
.contact-channel .ch-icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: rgba(0,194,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), background 0.3s ease;
}
.contact-channel:hover .ch-icon { transform: scale(1.2) rotate(-6deg); }

.contact-channel .ch-icon svg {
  width: 18px; height: 18px;
  stroke: var(--neon-blue);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-channel .ch-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.25s;
}

.contact-channel .ch-val {
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
  transition: color 0.25s;
}

/* ── Brand-specific hover colors ─────────────────────────────────── */

/* 1. Email (nth-child 1) — blue */
.contact-channels > *:nth-child(1)::before {
  background: linear-gradient(180deg, var(--neon-blue2), var(--neon-blue));
}
.contact-channels > *:nth-child(1):hover {
  border-color: rgba(0,170,255,0.45);
  background: rgba(0,170,255,0.05);
  box-shadow: 4px 0 24px rgba(0,170,255,0.15);
}
.contact-channels > *:nth-child(1):hover .ch-icon { background: rgba(0,170,255,0.18); }
.contact-channels > *:nth-child(1):hover .ch-val  { color: var(--neon-blue); }

/* 2. Discord (nth-child 2) — indigo */
.contact-channels > *:nth-child(2)::before {
  background: linear-gradient(180deg, #5865F2, #7289da);
}
.contact-channels > *:nth-child(2):hover {
  border-color: rgba(88,101,242,0.5);
  background: rgba(88,101,242,0.07);
  box-shadow: 4px 0 24px rgba(88,101,242,0.2);
}
.contact-channels > *:nth-child(2):hover .ch-icon { background: rgba(88,101,242,0.2); }
.contact-channels > *:nth-child(2):hover .ch-val  { color: #7289da; }

/* 3. Instagram (nth-child 3) — gradient pink */
.contact-channels > *:nth-child(3)::before {
  background: linear-gradient(180deg, #f09433, #dc2743, #bc1888);
}
.contact-channels > *:nth-child(3):hover {
  border-color: rgba(220,39,67,0.4);
  background: rgba(220,39,67,0.05);
  box-shadow: 4px 0 24px rgba(193,53,132,0.18);
}
.contact-channels > *:nth-child(3):hover .ch-icon { background: rgba(220,39,67,0.12); }
.contact-channels > *:nth-child(3):hover .ch-val  { color: #e1306c; }

/* 4. WhatsApp .wa-channel — green */
.contact-channel.wa-channel {
  border-color: rgba(37,211,102,0.2);
  text-decoration: none;
  cursor: pointer;
}
.contact-channel.wa-channel::before {
  background: linear-gradient(180deg, #25D366, #128C7E);
}
.contact-channel.wa-channel:hover {
  border-color: rgba(37,211,102,0.55);
  background: rgba(37,211,102,0.06);
  box-shadow: 4px 0 24px rgba(37,211,102,0.2);
  transform: translateX(5px);
}
.contact-channel.wa-channel:hover .ch-icon { background: rgba(37,211,102,0.2); transform: scale(1.2) rotate(-6deg); }
.contact-channel.wa-channel:hover .ch-val  { color: #25D366; }

/* Form */
.contact-form {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.3rem;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.55rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--neon-blue);
  box-shadow: 0 0 0 3px rgba(0,194,255,0.1);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.form-group select option { background: var(--dark-3); }

/* ── Message label row + character counter ───────────────────── */
.msg-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}
/* Override default label margin since the row handles it */
.msg-label-row label { margin-bottom: 0; }

.msg-counter {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  white-space: nowrap;
  transition: color 0.25s;
  user-select: none;
}
.msg-counter-sep { opacity: 0.55; }

/* Green when requirement met */
.msg-counter.done        { color: #3ddc84; }
/* Red-ish hint when focused but still short */
.msg-counter.needs-more  { color: var(--neon-red); }

.form-submit { width: 100%; justify-content: center; }

/* ─── FOOTER ──────────────────────────────────────────────────────── */
footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 3rem 5%;
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand .nav-logo { margin-bottom: 1rem; }

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-dim);
  max-width: 280px;
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.social-btn {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: var(--dark-3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: border-color 0.25s, background 0.25s;
}

.social-btn:hover {
  border-color: var(--neon-blue);
  background: rgba(0,194,255,0.08);
}

.social-btn svg {
  width: 16px; height: 16px;
  stroke: var(--text-dim);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.25s;
}

.social-btn:hover svg { stroke: var(--neon-blue); }

.footer-col h5 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.2rem;
}

.footer-col ul { list-style: none; }

.footer-col ul li {
  margin-bottom: 0.7rem;
}

.footer-col ul li a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--neon-blue); }

.footer-bottom {
  max-width: 1140px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.footer-bottom .made-with {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.footer-bottom .made-with span { color: var(--neon-red); }

/* ─── SCROLL REVEAL ───────────────────────────────────────────────── */
/* Reveal — suavizado, distancias reducidas para menos "shakiness" */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.18s; }
.delay-3 { transition-delay: 0.28s; }
.delay-4 { transition-delay: 0.38s; }
.delay-5 { transition-delay: 0.48s; }
.delay-6 { transition-delay: 0.58s; }
.delay-7 { transition-delay: 0.68s; }

/* ─── SUCCESS MESSAGE ─────────────────────────────────────────────── */
.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  color: var(--neon-blue);
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
}

/* ─── WHATSAPP FLOAT BUTTON ──────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9000;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: #25D366;
  color: #fff;
  padding: 0.85rem 1.4rem 0.85rem 1.1rem;
  border-radius: 50px;
  text-decoration: none;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 24px rgba(37,211,102,0.45);
  transition: all 0.3s ease;
  overflow: hidden;
}

.wa-float::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  transform: translateX(-100%);
  transition: transform 0.35s ease;
}

.wa-float:hover::before { transform: translateX(0); }
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(37,211,102,0.6); }
.wa-float svg { width: 22px; height: 22px; fill: #fff; flex-shrink: 0; }
.wa-float .wa-label { white-space: nowrap; }

/* ─── TICKER STRIP ────────────────────────────────────────────────── */
.ticker-strip {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 0.75rem 0;
}

.ticker-inner {
  display: flex;
  white-space: nowrap;
  animation: ticker 35s linear infinite;
  width: max-content;
}

.ticker-strip:hover .ticker-inner { animation-play-state: paused; }

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0 2.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.ticker-item .ti-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--neon-blue);
  flex-shrink: 0;
}

.ticker-item .ti-dot.red { background: var(--neon-red); }

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── RACING DIVIDER ──────────────────────────────────────────────── */
.race-divider {
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--neon-blue2) 20%, var(--neon-blue) 50%, var(--neon-red) 80%, transparent 100%);
  opacity: 0.5;
}

/* ─── DECORATIVE CORNER ───────────────────────────────────────────── */
.corner-deco {
  position: absolute;
  width: 60px; height: 60px;
  pointer-events: none;
}

.corner-deco.tl { top: 1.5rem; left: 1.5rem; border-top: 1.5px solid var(--neon-blue); border-left: 1.5px solid var(--neon-blue); opacity: 0.4; }
.corner-deco.br { bottom: 1.5rem; right: 1.5rem; border-bottom: 1.5px solid var(--neon-blue); border-right: 1.5px solid var(--neon-blue); opacity: 0.4; }

/* ─── RESPONSIVE ──────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .about-grid,
  .why-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-inner { grid-template-columns: 1fr 1fr; }

  .about-image-wrap { order: -1; }
}

@media (max-width: 680px) {
  section { padding: 70px 5%; }

  .services-grid,
  .portfolio-grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }

  .about-stat-row { flex-direction: column; gap: 1rem; }

  .hero-actions { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .wa-float .wa-label { display: none; }
  .wa-float { padding: 1rem; border-radius: 50%; }
}

/* ─── NAV LOGO IMAGE ──────────────────────────────────────────────── */
.nav-logo-img {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
  display: block;
}
.nav-logo-text {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: #fff;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-logo-text .logo-accent { color: var(--neon-blue); }

/* ─── LANG TOGGLE ─────────────────────────────────────────────────── */
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px;
}
.lang-btn {
  padding: 0.28rem 0.6rem;
  border-radius: 4px;
  border: none;
  background: transparent;
  color: var(--text-dim);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.2s;
}
.lang-btn.active {
  background: var(--neon-blue2);
  color: #fff;
}
.lang-btn:hover:not(.active) { color: var(--text); }

/* ─── AVAILABILITY BANNER ─────────────────────────────────────────── */
.availability-banner {
  background: rgba(34,197,94,0.06);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: var(--radius);
  padding: 0.7rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  text-align: center;
}
.avail-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34,197,94,0.6);
  flex-shrink: 0;
  animation: pulse 2s ease infinite;
}
.availability-banner p {
  font-size: 0.85rem;
  color: var(--text-dim);
}
.availability-banner strong { color: #4ade80; }

/* ─── HOW IT WORKS ────────────────────────────────────────────────── */
#how {
  position: relative;
  background: #08090f;
  overflow: hidden;
}
/* Background image — higher opacity so it shows through the glass */
#how::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('Banner Parabolica edited.png');
  background-size: cover;
  background-position: center 40%;
  opacity: 0.42;
  z-index: 0;
  pointer-events: none;
}
/* Dark gradient on top of image so header text stays readable */
#how::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(8,9,15,0.72) 0%,
      rgba(8,9,15,0.30) 35%,
      rgba(8,9,15,0.30) 65%,
      rgba(8,9,15,0.72) 100%);
  z-index: 0;
  pointer-events: none;
}
#how .container { position: relative; z-index: 1; }
.how-header { text-align: center; margin-bottom: 4rem; }
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  position: relative;
}
.how-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(16.66% + 20px);
  right: calc(16.66% + 20px);
  height: 1px;
  background: linear-gradient(90deg, var(--neon-blue2), var(--neon-blue), var(--neon-red));
  opacity: 0.25;
  z-index: 0;
}

/* ─── Workflow cards — Apple Liquid Glass ─────────────────────────── */
.workflow-card {
  /* Frosted glass core */
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);

  /* Glass edges: bright top highlight + subtle sides */
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-top-color: rgba(255, 255, 255, 0.28);

  border-radius: 22px;
  padding: 2.5rem 2rem 2rem;
  position: relative;
  z-index: 1;
  text-align: center;

  /* Depth: inner glow top + outer soft shadow */
  box-shadow:
    inset 0  1px 0   rgba(255, 255, 255, 0.18),
    inset 0 -1px 0   rgba(0,   0,   0,   0.12),
    inset 1px 0  0   rgba(255, 255, 255, 0.06),
    inset -1px 0 0   rgba(255, 255, 255, 0.06),
    0 8px 32px        rgba(0, 0, 0, 0.40),
    0 2px 8px         rgba(0, 0, 0, 0.25);

  transition: transform 0.55s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.35s ease,
              border-color 0.35s ease,
              background 0.35s ease;
}

/* Hover: glass gets slightly brighter + lifts */
.workflow-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(0, 170, 255, 0.30);
  border-top-color: rgba(0, 170, 255, 0.50);
  box-shadow:
    inset 0  1px 0   rgba(0, 200, 255, 0.30),
    inset 0 -1px 0   rgba(0,   0,   0, 0.10),
    0 24px 60px       rgba(0, 0, 0, 0.45),
    0 0   40px        rgba(0, 170, 255, 0.10);
}

/* Subtle shimmer pseudo — sits on top of glass */
.workflow-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.10) 0%,
    transparent 50%,
    rgba(0,170,255,0.04) 100%
  );
  pointer-events: none;
}

.workflow-phase {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(100, 210, 255, 0.95);
  text-shadow: 0 0 12px rgba(0,170,255,0.60);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}
.workflow-phase::before, .workflow-phase::after {
  content: '';
  display: block;
  height: 1px;
  width: 22px;
  background: var(--neon-blue);
  opacity: 0.35;
}

.workflow-icon {
  width: 68px; height: 68px;
  border-radius: 50%;
  /* Glass circle */
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.20);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.20), 0 4px 16px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: background 0.35s ease, box-shadow 0.35s ease, transform 0.55s cubic-bezier(0.16,1,0.3,1);
}
.workflow-card:hover .workflow-icon {
  background: rgba(0, 170, 255, 0.18);
  border-color: rgba(0,170,255,0.45);
  box-shadow: inset 0 1px 0 rgba(0,200,255,0.30), 0 0 28px rgba(0,170,255,0.30);
  transform: scale(1.08);
}
.workflow-icon svg {
  width: 28px; height: 28px;
  stroke: rgba(255,255,255,0.92);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(0,170,255,0.55));
}
.workflow-card:hover .workflow-icon svg {
  stroke: #00AAFF;
}

.workflow-card h4 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 1.25rem;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.workflow-items {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.workflow-items li {
  font-size: 0.83rem;
  /* Brighter text for readability over glass */
  color: rgba(232, 232, 240, 0.88);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.55;
  transition: color 0.2s;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}
.workflow-items li::before {
  content: '→';
  color: rgba(0, 200, 255, 0.90);
  flex-shrink: 0;
  font-size: 0.78rem;
  margin-top: 0.12em;
}
.workflow-card:hover .workflow-items li { color: var(--text); }

/* ─── Legacy how-step (keep for backward compat) ──────────────────── */
.how-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}
.how-num {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--dark-3);
  border: 2px solid var(--neon-blue2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--neon-blue);
  margin-bottom: 1.2rem;
  transition: background 0.3s, box-shadow 0.3s;
}
.how-step:hover .how-num { background: rgba(0,85,204,0.2); box-shadow: var(--glow-blue); }
.how-step h4 { font-size: 1rem; color: #fff; margin-bottom: 0.45rem; }
.how-step p  { font-size: 0.84rem; color: var(--text-dim); line-height: 1.6; }

/* ─── MID-PAGE CTA ────────────────────────────────────────────────── */
#mid-cta {
  background: linear-gradient(135deg, #08080f, #0e1020);
  padding: 90px 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}
#mid-cta::before {
  content: '';
  position: absolute;
  top: -50%; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(0,85,204,0.14) 0%, transparent 70%);
  pointer-events: none;
}
#mid-cta h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: #fff;
  margin-bottom: 1rem;
  position: relative; z-index: 1;
}
#mid-cta p {
  color: var(--text-dim);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 2rem;
  position: relative; z-index: 1;
}
.mid-cta-actions {
  position: relative; z-index: 1;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ─── VIDEO SECTION ───────────────────────────────────────────────── */
#video { background: var(--dark); }
.video-header { text-align: center; margin-bottom: 3rem; }
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

/* ─── TECH STACK ──────────────────────────────────────────────────── */
#tech { background: var(--dark-2); }
.tech-header { text-align: center; margin-bottom: 3rem; }
.tech-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
.tech-item {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  padding: 1.5rem 2rem;
  text-align: center;
  min-width: 140px;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.2s;
}
.tech-item:hover {
  border-color: rgba(0,170,255,0.3);
  box-shadow: var(--glow-blue);
  transform: translateY(-4px);
}
.tech-icon {
  width: 44px; height: 44px;
  margin: 0 auto 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tech-icon svg { width: 36px; height: 36px; }
.tech-item h4 {
  font-size: 0.9rem;
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}
.tech-item p { font-size: 0.72rem; color: var(--text-dim); }

/* ─── TESTIMONIALS ────────────────────────────────────────────────── */
#testimonials { background: var(--black); }
.testimonials-header { text-align: center; margin-bottom: 4rem; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 2rem;
  position: relative;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.testimonial-card:hover {
  border-color: rgba(0,170,255,0.2);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 0.5rem; left: 1.5rem;
  font-family: Georgia, serif;
  font-size: 5rem;
  color: var(--neon-blue2);
  opacity: 0.2;
  line-height: 1;
  pointer-events: none;
}
.testimonial-text {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.78;
  margin-bottom: 1.5rem;
  padding-top: 1.2rem;
}
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.author-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--dark-3);
  border: 1.5px solid var(--neon-blue2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--neon-blue);
  flex-shrink: 0;
}
.author-name {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}
.author-role { font-size: 0.72rem; color: var(--text-dim); letter-spacing: 0.06em; }

/* ─── PACKAGES ────────────────────────────────────────────────────── */
#packages { background: var(--dark); }
.packages-header { text-align: center; margin-bottom: 4rem; }
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.package-card {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 2rem;
  position: relative;
  transition: border-color 0.3s, transform 0.2s;
}
.package-card:hover {
  border-color: rgba(0,170,255,0.25);
  transform: translateY(-4px);
}
.package-card.featured {
  border-color: var(--neon-blue2);
  background: linear-gradient(180deg, rgba(0,85,204,0.1) 0%, var(--dark-3) 100%);
}
.package-badge {
  display: inline-block;
  padding: 0.22rem 0.7rem;
  border-radius: 100px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.package-badge.popular {
  background: rgba(0,170,255,0.12);
  border: 1px solid rgba(0,170,255,0.3);
  color: var(--neon-blue);
}
.package-badge.custom {
  background: rgba(196,168,74,0.12);
  border: 1px solid rgba(196,168,74,0.3);
  color: var(--gold);
}
.package-card h3 { font-size: 1.4rem; color: #fff; margin-bottom: 0.4rem; }
.package-sub { font-size: 0.85rem; color: var(--text-dim); margin-bottom: 1.5rem; line-height: 1.6; }
.package-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.8rem;
}
.package-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.5;
}
.package-features li::before {
  content: '';
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(0,170,255,0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300AAFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") center/10px no-repeat;
  border: 1px solid rgba(0,170,255,0.25);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ─── DELIVERABLES ────────────────────────────────────────────────── */
#deliverables { background: var(--dark-2); }
.deliverables-header { text-align: center; margin-bottom: 4rem; }
.fm-branding {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 0.75rem;
}
.fm-logo-img { height: 38px; width: auto; }
.fm-divider { width: 1px; height: 28px; background: var(--border); }
.fm-label {
  font-size: 0.68rem;
  color: var(--text-dim);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}
.deliverable-item {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: border-color 0.3s;
}
.deliverable-item:hover { border-color: rgba(0,170,255,0.2); }
.del-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(0,170,255,0.08);
  border: 1px solid rgba(0,170,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.del-icon svg {
  width: 18px; height: 18px;
  stroke: var(--neon-blue);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.del-text h4 { font-size: 0.92rem; color: #fff; margin-bottom: 0.15rem; }
.del-text p { font-size: 0.76rem; color: var(--text-dim); }
.deliverables-note {
  text-align: center;
  padding: 1rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  font-style: italic;
  border-top: 1px solid var(--border);
  margin-top: 0.5rem;
}

/* ─── DISCORD SECTION ─────────────────────────────────────────────── */
#discord-contact {
  background: linear-gradient(135deg, #14152a 0%, #1a1c35 100%);
  border-top: 1px solid rgba(88,101,242,0.2);
  border-bottom: 1px solid rgba(88,101,242,0.2);
}
.discord-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.discord-logo-wrap {
  margin-bottom: 1.5rem;
}
.discord-svg { width: 52px; height: 52px; fill: #5865F2; filter: drop-shadow(0 0 14px rgba(88,101,242,0.5)); }
.discord-inner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: #fff;
  margin-bottom: 0.75rem;
}
.disc-desc { color: var(--text-dim); font-size: 1rem; margin-bottom: 1.5rem; }
.discord-instruction {
  background: rgba(88,101,242,0.08);
  border: 1px solid rgba(88,101,242,0.2);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.7;
}
.discord-instruction code {
  color: #7289DA;
  font-weight: 700;
  background: rgba(88,101,242,0.15);
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
  font-size: 0.9em;
}
.btn-discord {
  background: linear-gradient(135deg, #4752C4, #5865F2);
  color: #fff;
  box-shadow: 0 4px 20px rgba(88,101,242,0.4);
}
.btn-discord:hover {
  box-shadow: 0 6px 30px rgba(88,101,242,0.6);
  transform: translateY(-2px);
}

/* ─── FAQ ─────────────────────────────────────────────────────────── */
#faq { background: var(--black); }
.faq-header { text-align: center; margin-bottom: 4rem; }
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item.open { border-color: rgba(0,170,255,0.3); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.5rem;
  background: var(--dark);
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s;
  gap: 1rem;
}
.faq-question:hover { background: var(--dark-3); }
.faq-q-text {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: #fff;
  letter-spacing: 0.02em;
}
.faq-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(0,170,255,0.08);
  border: 1px solid rgba(0,170,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s, background 0.3s;
  color: var(--neon-blue);
  font-size: 1.1rem;
  line-height: 1;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: rgba(0,170,255,0.2);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: var(--dark);
  padding: 0 1.5rem;
}
.faq-item.open .faq-answer { max-height: 320px; padding: 0 1.5rem 1.2rem; }
.faq-answer p { font-size: 0.9rem; color: var(--text-dim); line-height: 1.75; }
.faq-answer ul { margin: 0.6rem 0 0 1.2rem; }
.faq-answer ul li { font-size: 0.88rem; color: var(--text-dim); margin-bottom: 0.3rem; }

/* ─── RESPONSIVE — NEW SECTIONS ───────────────────────────────────── */
@media (max-width: 960px) {
  .testimonials-grid,
  .packages-grid { grid-template-columns: repeat(2, 1fr); }
  .deliverables-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .nav-right .nav-cta { display: none; }
  .lang-toggle { margin-right: 0; }
  .testimonials-grid,
  .packages-grid,
  .deliverables-grid { grid-template-columns: 1fr; }
  .tech-grid { gap: 1rem; }
  .tech-item { min-width: 120px; padding: 1.1rem 1.3rem; }
}

/* ══════════════════════════════════════════════════════════════
   ENHANCED UX — SKELETONS · SOUNDS · RIPPLE · EMAILJS · FORM
   ══════════════════════════════════════════════════════════════ */

/* ── Skeleton shimmer ──────────────────────────────────────────────── */
@keyframes shimmer {
  0%   { background-position: -400% 0; }
  100% { background-position:  400% 0; }
}

.skeleton-box {
  background: linear-gradient(90deg,
    rgba(255,255,255,0.04) 25%,
    rgba(255,255,255,0.11) 50%,
    rgba(255,255,255,0.04) 75%
  );
  background-size: 400% 100%;
  animation: shimmer 1.9s ease-in-out infinite;
}

/* ── Hero skeleton ─────────────────────────────────────────────────── */
.hero-sk {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  padding: 0 max(2rem, 8vw);
  pointer-events: none;
  transition: opacity 0.45s ease;
}
.hero-sk .sk-b { width: min(270px,70vw); height: 22px; border-radius: 20px; }
.hero-sk .sk-h { width: min(560px,85vw); height: 96px; border-radius: 10px; }
.hero-sk .sk-p { width: min(480px,75vw); height: 54px; border-radius: 8px; }
.hero-sk .sk-a { width: min(300px,80vw); height: 50px; border-radius: var(--radius); }

.hero-content { transition: opacity 0.5s ease; }

/* ── Testimonial skeleton ──────────────────────────────────────────── */
.testi-sk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
  transition: opacity 0.4s ease;
}
.testi-sk-grid.sk-done {
  opacity: 0;
  height: 0;
  margin: 0;
  overflow: hidden;
  pointer-events: none;
}
.testi-sk-card {
  height: 190px;
  border-radius: var(--radius);
}
.testimonials-grid { transition: opacity 0.45s ease 0.2s; }
.testimonials-grid.sk-loading { opacity: 0; }

/* ── Video skeleton ────────────────────────────────────────────────── */
/* video-sk sits over the iframe until it loads */
.video-sk {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease;
  overflow: hidden;
}
.video-sk::after {
  content: '';
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(4px);
}
/* DO NOT override iframe position here — the main rule at the top handles it */

/* ── About image skeleton ──────────────────────────────────────────── */
.img-placeholder.skeleton-box { border-radius: var(--radius); }

/* ── Logo images ───────────────────────────────────────────────────── */
.nav-logo-img {
  height: 68px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  display: block;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), filter 0.3s;
}
.nav-logo:hover .nav-logo-img { transform: scale(1.04); filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(0,170,255,0.4)); }
.fm-logo-img {
  height: 48px;
  width: auto;
  max-width: 80px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* ── Sound toggle ──────────────────────────────────────────────────── */
.sound-toggle {
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  color: var(--text-dim);
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  flex-shrink: 0;
  padding: 0;
}
.sound-toggle:hover   { border-color: var(--neon-blue); color: var(--neon-blue); }
.sound-toggle.muted   { color: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.06); }

/* ── Spinner in button ─────────────────────────────────────────────── */
@keyframes spin { to { transform: rotate(360deg); } }

.btn-spinner {
  width: 15px; height: 15px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.65s linear infinite;
  display: none;
  flex-shrink: 0;
}
.form-submit.sending .btn-spinner { display: block; }
.form-submit.sending .btn-label   { opacity: 0.65; }
.form-submit.sending .arrow       { display: none; }
.form-submit:disabled             { cursor: not-allowed; opacity: 0.8; }

/* ── Form messages ─────────────────────────────────────────────────── */
.form-error {
  display: none;
  margin-top: 0.75rem;
  padding: 0.85rem 1.1rem;
  background: rgba(204,17,51,0.08);
  border: 1px solid rgba(204,17,51,0.25);
  border-radius: var(--radius);
  color: #ff6680;
  font-size: 0.875rem;
  line-height: 1.5;
}

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

/* ── Sound toggle hide on tiny screens ────────────────────────────── */
@media (max-width: 400px) { .sound-toggle { display: none; } }

/* ══════════════════════════════════════════════════════════════
   DESIGN UPGRADE — LOGO · WORKFLOW · ANIMATIONS · NAV · PORTFOLIO
   ══════════════════════════════════════════════════════════════ */

/* ── Hero highlight gradient animation ─────────────────────────────── */
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.hero-h1 .highlight {
  background: linear-gradient(135deg, var(--neon-blue), #00d4ff, var(--neon-blue2), #6600ff, var(--neon-blue));
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 5s ease infinite;
}

/* ── Nav link underline upgrade ────────────────────────────────────── */
.nav-links a::after {
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-links a {
  transition: color 0.25s ease, text-shadow 0.25s ease;
}
.nav-links a:hover {
  text-shadow: 0 0 20px rgba(0,170,255,0.4);
}
.nav-links a.active-link { color: #fff; }
.nav-links a.active-link::after { width: 100%; }

/* ── Portfolio card upgrade ─────────────────────────────────────────── */
/* portfolio-card hover already defined in liquid-glass block above */

/* ── Service card upgrade ────────────────────────────────────────────── */
.service-card {
  transition: background 0.35s ease, box-shadow 0.35s ease !important;
}
.service-card:hover {
  box-shadow: inset 0 0 60px rgba(0,170,255,0.04);
}
.service-icon {
  transition: background 0.35s ease, box-shadow 0.35s ease,
              transform 0.55s cubic-bezier(0.16,1,0.3,1);
}
.service-card:hover .service-icon {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,170,255,0.2);
}

/* ── Workflow responsive ─────────────────────────────────────────────── */
@media (max-width: 860px) {
  .how-grid { grid-template-columns: 1fr; }
  .how-grid::before { display: none; }
}

/* ── Portfolio responsive for 4 cards ──────────────────────────────── */
@media (max-width: 680px) {
  .portfolio-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════════════
   FINAL FIXES: WHITE NAV · SHOWCASE GALLERY · PORTFOLIO IMGS · SERVICES LIGHT
   ══════════════════════════════════════════════════════════════════════ */

/* ── WHITE NAVBAR ──────────────────────────────────────────────────── */
/* ── DARK GREY NAVBAR ───────────────────────────────────────────── */
#navbar.navbar-dark {
  background: rgba(22, 22, 36, 0.96);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05), 0 4px 24px rgba(0,0,0,0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
#navbar.navbar-dark.scrolled {
  background: rgba(18, 18, 30, 0.98);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 8px 32px rgba(0,0,0,0.5);
}
#navbar.navbar-dark .nav-links a { color: rgba(255,255,255,0.65); }
#navbar.navbar-dark .nav-links a:hover { color: #fff; text-shadow: 0 0 20px rgba(0,170,255,0.4); }
#navbar.navbar-dark .nav-logo-img { filter: brightness(0) invert(1); }
#navbar.navbar-dark .nav-logo-text { color: #fff; }
#navbar.navbar-dark .lang-btn { color: rgba(255,255,255,0.55); border-color: rgba(255,255,255,0.15); }
#navbar.navbar-dark .lang-btn.active { background: var(--neon-blue2); color: #fff; border-color: var(--neon-blue2); }
#navbar.navbar-dark .sound-toggle { border-color: rgba(255,255,255,0.12); color: rgba(255,255,255,0.5); }
#navbar.navbar-dark .hamburger span { background: rgba(255,255,255,0.85); }
.navbar-dark ~ .mobile-menu {
  background: rgba(18,18,30,0.98);
  border-bottom-color: rgba(255,255,255,0.06);
}
.navbar-dark ~ .mobile-menu a { color: rgba(255,255,255,0.85); border-bottom-color: rgba(255,255,255,0.06); }
.navbar-dark ~ .mobile-menu a:hover { color: var(--neon-blue); }
.navbar-white ~ .mobile-menu a:hover { color: var(--neon-blue2); }

/* ── ABOUT SHOWCASE GALLERY ───────────────────────────────────────── */
.about-gallery {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  position: relative;
  background: var(--dark-3);
  border: 1px solid var(--border);
}
.agal-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.agal-img.agal-active { opacity: 1; }
.agal-dots {
  position: absolute;
  bottom: 0.85rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.45rem;
  z-index: 2;
}
.agal-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}
.agal-dot.agal-dot-active { background: #fff; transform: scale(1.3); }
.agal-dot:hover { background: rgba(255,255,255,0.7); }

/* ── PORTFOLIO SHOWCASE IMAGES ────────────────────────────────────── */
.port-showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
  transition: transform 0.55s cubic-bezier(0.16,1,0.3,1);
}
.portfolio-card:hover .port-showcase-img { transform: scale(1.05); }
/* Logo-only images: contain instead of cover */
.port-logo-fit {
  object-fit: contain;
  padding: 1.5rem;
  background: var(--dark-3);
}

/* ── SERVICES SECTION — LIGHT OVERRIDE ───────────────────────────── */
#services.section-light {
  background: #f5f5fb;
}
#services.section-light .services-header .section-title { color: #0d0d1a; }
#services.section-light .services-header .section-sub   { color: #44445a; }
#services.section-light .label                          { color: var(--neon-blue2) !important; }
/* Service grid border color on light bg */
#services.section-light .services-grid {
  background: #d8d8e8;
}
#services.section-light .service-card {
  background: #ffffff;
}
#services.section-light .service-card:hover { background: #f0f0fa; }
#services.section-light .service-card h3 { color: #0d0d1a; }
#services.section-light .service-card p  { color: #44445a; }
#services.section-light .service-icon {
  background: rgba(0,85,204,0.07);
  border-color: rgba(0,85,204,0.18);
}
#services.section-light .service-icon svg {
  stroke: var(--neon-blue2);
}
#services.section-light .service-card::before {
  background: linear-gradient(90deg, var(--neon-blue2), var(--neon-blue));
}

/* ── DISCORD ICON in ch-icon — force fill override ────────────────── */
.ch-icon svg[style*="fill:#5865F2"] {
  stroke: none !important;
  fill: #5865F2 !important;
}

/* ── Hide page-controls (removed from HTML, CSS safety net) ───────── */
.page-controls { display: none !important; }

/* ── WHY-CARD scrolls if many rows ────────────────────────────────── */
.why-card-list {
  max-height: 280px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,170,255,0.3) transparent;
}
.why-card-list::-webkit-scrollbar { width: 4px; }
.why-card-list::-webkit-scrollbar-thumb { background: rgba(0,170,255,0.3); border-radius: 2px; }

/* ── ABOUT PP LOGO BOX — same size as original placeholder ───────── */
.about-pp-box {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: calc(var(--radius) + 4px);
  background: var(--dark-3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.about-pp-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(0,85,204,0.14), transparent 70%);
  pointer-events: none;
}
.about-pp-fill {
  width: 70%;
  max-width: 280px;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  position: relative;
  z-index: 1;
  display: block;
}

/* ── PORTFOLIO logos — all use contain mode ──────────────────────── */
.port-showcase-img.port-logo-fit {
  object-fit: contain !important;
  padding: 2rem 2.5rem !important;
  background: var(--dark-3);
  width: 100% !important;
  height: 100% !important;
}

/* ── DELIVERABLES light section ──────────────────────────────────── */
#deliverables.section-light {
  background: #f5f5fb;
}
#deliverables.section-light .section-title { color: #0d0d1a; }
#deliverables.section-light .section-sub   { color: #44445a; }
#deliverables.section-light .label         { color: var(--neon-blue2) !important; }
#deliverables.section-light .deliverable-item {
  background: #ffffff;
  border-color: rgba(0,0,0,0.07);
  box-shadow: 0 3px 16px rgba(0,0,0,0.05);
}
#deliverables.section-light .deliverable-item:hover {
  border-color: rgba(0,85,204,0.2);
}
#deliverables.section-light .del-text h4 { color: #0d0d1a; }
#deliverables.section-light .del-text p  { color: #44445a; }
#deliverables.section-light .del-icon {
  background: rgba(0,85,204,0.07);
  border-color: rgba(0,85,204,0.15);
}
#deliverables.section-light .del-icon svg { stroke: var(--neon-blue2); }
#deliverables.section-light .fm-label     { color: #44445a; }
#deliverables.section-light .fm-divider   { background: rgba(0,0,0,0.12); }
#deliverables.section-light .fm-logo-img  { filter: none; }
#deliverables.section-light .deliverables-note { color: #666680; border-top-color: rgba(0,0,0,0.08); }

/* ── WHITE FOOTER ─────────────────────────────────────────────────── */
footer.footer-white {
  background: #f5f5fb;
  border-top: 1px solid rgba(0,0,0,0.07);
}
footer.footer-white .footer-inner { border-bottom-color: rgba(0,0,0,0.07); }
footer.footer-white h5 { color: #0d0d1a; }
footer.footer-white ul li a { color: #55556a; }
footer.footer-white ul li a:hover { color: var(--neon-blue2); }
footer.footer-white .footer-brand p { color: #55556a; }
footer.footer-white .nav-logo-text { color: #111122; }
footer.footer-white .nav-logo-text .logo-accent { color: var(--neon-blue2); }
footer.footer-white .nav-logo-img { filter: none; }
footer.footer-white .footer-email-link { color: #55556a; }
footer.footer-white .footer-email-link:hover { color: var(--neon-blue2); }
footer.footer-white .social-btn {
  border-color: rgba(0,0,0,0.10);
  background: rgba(0,0,0,0.03);
  transition: border-color 0.25s, background 0.25s, transform 0.2s;
}
footer.footer-white .social-btn:hover { transform: translateY(-2px); }
footer.footer-white .social-btn svg { stroke: none; fill: inherit; }

/* Discord hover */
footer.footer-white .social-discord:hover { border-color: #5865F2; background: rgba(88,101,242,0.08); }
/* Instagram hover */
footer.footer-white .social-instagram:hover { border-color: #dc2743; background: rgba(220,39,67,0.07); }
/* YouTube hover */
footer.footer-white .social-youtube:hover { border-color: #FF0000; background: rgba(255,0,0,0.07); }

footer.footer-white .footer-bottom { border-top-color: rgba(0,0,0,0.07); }
footer.footer-white .footer-bottom p { color: #888899; }
footer.footer-white .made-with span { color: var(--neon-red); }

/* ── White logos need dark background in the placeholder ─────────── */
.port-logo-dark {
  background: #111120 !important;
}
/* Ensure placeholder has dark bg for white logos */
.portfolio-img-placeholder:has(.port-logo-dark) {
  background: #111120;
}

/* ══════════════════════════════════════════════════════════════════════
   PAGINATED LAYOUT — Sub-pages with dot navigation + prev/next controls
   ══════════════════════════════════════════════════════════════════════ */

/* ── Page show / hide ──────────────────────────────────────────────── */
.pp-page {
  display: none;
  min-height: calc(100vh - var(--nav-h));
}
.pp-page.pp-active {
  display: block;
  animation: ppFadeIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes ppFadeIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Dot sidebar navigation ────────────────────────────────────────── */
/* ── Dot nav — pill container guarantees visibility on any background ── */
.page-dot-nav {
  position: fixed;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9600;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  /* frosted-glass pill — always visible on light OR dark */
  background: rgba(10, 10, 20, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 0.7rem 0.45rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.08);
}

.pn-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: 1px solid rgba(255,255,255,0.25);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  position: relative;
  transition: background 0.3s ease, transform 0.3s ease,
              width 0.3s ease, height 0.3s ease, box-shadow 0.3s ease;
}
.pn-dot:hover {
  background: rgba(255,255,255,0.75);
  transform: scale(1.3);
}
.pn-dot.pn-active {
  background: var(--neon-blue);
  border-color: rgba(0,170,255,0.6);
  width: 9px;
  height: 9px;
  box-shadow: 0 0 8px rgba(0,170,255,0.7);
}
.pn-dot.pn-active:hover { transform: scale(1.2); }

/* Tooltip label — always dark bg regardless of page */
.pn-dot::before {
  content: attr(data-label);
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(5,5,12,0.93);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 5px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}
.pn-dot:hover::before { opacity: 1; }

/* No need for light/dark overrides — pill bg handles it */
body.page-is-light .pn-dot { background: rgba(255,255,255,0.4); }

/* ── Bottom prev/next controls ─────────────────────────────────────── */
.page-controls {
  position: fixed;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9600;
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(8,8,14,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  padding: 0.35rem 0.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

body.page-is-light .page-controls {
  background: rgba(248,248,252,0.92);
  border-color: rgba(0,0,0,0.1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.page-ctrl-btn {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  transition: color 0.2s ease, background 0.2s ease;
}
.page-ctrl-btn:hover:not(:disabled) {
  color: #fff;
  background: rgba(255,255,255,0.09);
}
.page-ctrl-btn:disabled { opacity: 0.22; cursor: not-allowed; }

body.page-is-light .page-ctrl-btn { color: rgba(0,0,0,0.5); }
body.page-is-light .page-ctrl-btn:hover:not(:disabled) {
  color: #000;
  background: rgba(0,0,0,0.06);
}

.page-ctrl-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 0.8rem;
  border-left: 1px solid rgba(255,255,255,0.08);
  border-right: 1px solid rgba(255,255,255,0.08);
  min-width: 100px;
  gap: 0.1rem;
}
body.page-is-light .page-ctrl-center {
  border-color: rgba(0,0,0,0.1);
}

.page-counter {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--neon-blue);
  line-height: 1;
}
body.page-is-light .page-counter { color: var(--neon-blue2); }

.page-label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  line-height: 1;
}
body.page-is-light .page-label { color: rgba(0,0,0,0.4); }

/* Hide labels on very small screens */
@media (max-width: 420px) {
  .ctrl-label-prev, .ctrl-label-next { display: none; }
  .page-dot-nav { right: 0.6rem; }
}

/* Hide dot nav on small screens */
@media (max-width: 600px) {
  .page-dot-nav { display: none; }
}

/* ══════════════════════════════════════════════════════════════════════
   MAJOR UPDATE: LIGHT SECTIONS · LOGO MARQUEE · INSTAGRAM · EMAIL
   ══════════════════════════════════════════════════════════════════════ */

/* ── LOGO MARQUEE (About section — replaces empty placeholder) ──────── */
.logo-showcase {
  width: 100%;
  height: 100%;
  min-height: 340px;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  overflow: hidden;
  position: relative;
}
.logo-showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,119,255,0.06), rgba(255,34,64,0.04));
  pointer-events: none;
}
.showcase-header {
  padding: 1.75rem 2rem 1.25rem;
  border-bottom: 1px solid var(--border);
}
.showcase-eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--neon-blue);
  display: block;
  margin-bottom: 0.3rem;
}
.showcase-title {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  letter-spacing: 0.04em;
}

/* ── Marquee track ──────────────────────────────────────────────────── */
.logo-marquee-wrap {
  padding: 1.5rem 0;
  overflow: hidden;
  flex: 1;
  display: flex;
  align-items: center;
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.logo-marquee-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: marqueeScroll 22s linear infinite;
}
.logo-marquee-track:hover { animation-play-state: paused; }

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.lm-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  flex-shrink: 0;
  border-right: 1px solid var(--border);
  transition: opacity 0.3s ease;
  opacity: 0.7;
}
.lm-item:hover { opacity: 1; }

.lm-logo {
  height: 36px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.lm-text {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.3;
  white-space: nowrap;
}

/* ── Showcase stats strip ───────────────────────────────────────────── */
.showcase-stats {
  display: flex;
  border-top: 1px solid var(--border);
}
.showcase-stat {
  flex: 1;
  text-align: center;
  padding: 1rem 0.5rem;
  border-right: 1px solid var(--border);
  position: relative;
}
.showcase-stat:last-child { border-right: none; }
.showcase-stat-n {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--neon-blue);
  line-height: 1;
  display: block;
}
.showcase-stat-l {
  font-size: 0.65rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.2rem;
  display: block;
}

/* ══ LIGHT SECTIONS ════════════════════════════════════════════════════ */
.section-light {
  background: #ffffff !important;
  color: #1a1a2e !important;
}

/* Typography on light bg — all heading/text forced dark */
.section-light .section-title,
.section-light h2,
.section-light h3,
.section-light h4 { color: #0d0d1a !important; }

.section-light .label { color: var(--neon-blue2) !important; }
.section-light .section-sub { color: #44445a !important; }
.section-light p { color: #44445a; }

/* Service cards explicitly forced on white sections */
.section-light .service-card { background: #f7f7fc !important; }
.section-light .service-card h3 { color: #0d0d1a !important; }
.section-light .service-card p  { color: #44445a !important; }
.section-light .services-grid   { background: #ccccdd !important; }
.section-light .service-card:hover { background: #eeeef8 !important; }

/* Testimonial cards on light bg */
.section-light .testi-sk-grid,
.section-light .testi-sk-grid .skeleton-box {
  background: rgba(0,0,0,0.06);
}
.section-light .testimonials-grid { transition: opacity 0.45s ease 0.2s; }
.section-light .testimonial-card {
  background: #ffffff;
  border-color: rgba(0,0,0,0.07);
  box-shadow: 0 6px 28px rgba(0,0,0,0.07);
}
.section-light .testimonial-card:hover {
  box-shadow: 0 14px 40px rgba(0,0,0,0.12);
  border-color: rgba(0,85,204,0.2);
}
.section-light .testimonial-text { color: #2a2a3e; }
.section-light .author-name { color: #0d0d1a; }
.section-light .author-role { color: #666680; }
.section-light .author-avatar {
  background: linear-gradient(135deg, var(--neon-blue2), var(--neon-blue));
  color: #fff;
}

/* Package cards on light bg */
.section-light .package-card {
  background: #ffffff;
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 6px 28px rgba(0,0,0,0.06);
}
.section-light .package-card:hover { box-shadow: 0 18px 48px rgba(0,0,0,0.13); }
.section-light .package-card h3 { color: #0d0d1a; }
.section-light .package-card .package-sub { color: #55556a; }
.section-light .package-features li { color: #444458; }
.section-light .package-features li::before { color: var(--neon-blue2); }
.section-light .package-card.featured { background: #ffffff; }
.section-light .package-badge.popular {
  background: linear-gradient(135deg, var(--neon-blue2), var(--neon-blue));
  color: #fff;
}
.section-light .package-badge.custom {
  background: rgba(0,85,204,0.1);
  color: var(--neon-blue2);
  border-color: rgba(0,85,204,0.2);
}

/* FAQ on light bg */
.section-light .faq-item { border-color: rgba(0,0,0,0.08); }
.section-light .faq-item.open { border-color: rgba(0,85,204,0.25); }
.section-light .faq-question { background: #ffffff; }
.section-light .faq-question:hover { background: #f0f0f8; }
.section-light .faq-q-text { color: #0d0d1a; }
.section-light .faq-answer { background: #ffffff; }
.section-light .faq-answer p,
.section-light .faq-answer li { color: #44445a; }

/* Race dividers between light/dark sections need special treatment */
.race-divider-inv {
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--neon-blue2), transparent);
  opacity: 0.2;
}

/* ══ INSTAGRAM SECTION ═════════════════════════════════════════════════ */
#instagram {
  background: var(--black);
  padding: 100px 5%;
}
.instagram-header {
  text-align: center;
  margin-bottom: 3rem;
}
.ig-handle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 0.75rem;
  text-decoration: none;
  transition: color 0.2s;
}
.ig-handle:hover { color: #fff; }
.ig-handle svg { flex-shrink: 0; }

.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.625rem;
  max-width: 900px;
  margin: 0 auto 2.5rem;
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
}
.ig-item {
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: block;
  text-decoration: none;
}
.ig-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.16,1,0.3,1);
}
.ig-item-placeholder {
  width: 100%;
  height: 100%;
  background: var(--dark-3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: filter 0.4s ease;
}
.ig-item:hover img,
.ig-item:hover .ig-item-placeholder { transform: scale(1.07); }

.ig-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 20, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  opacity: 0;
  transition: opacity 0.35s ease;
  backdrop-filter: blur(2px);
}
.ig-item:hover .ig-overlay { opacity: 1; }
.ig-overlay svg { filter: drop-shadow(0 0 12px rgba(255,255,255,0.4)); }
.ig-overlay span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}

.ig-cta-wrap {
  text-align: center;
}

/* ── Instagram gradient placeholders ───────────────────────────────── */
.ig-grad-1 { background: linear-gradient(135deg, #1a0a2e, #0055cc, #001133); }
.ig-grad-2 { background: linear-gradient(135deg, #1a0a0f, #cc1133, #330011); }
.ig-grad-3 { background: linear-gradient(135deg, #0a1a2e, #003399, #00aaff22); }

.ig-grad-1::before, .ig-grad-2::before, .ig-grad-3::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,194,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,194,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.6;
}

/* ── Email link style ───────────────────────────────────────────────── */
.ch-email-link {
  color: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.2s;
}
.ch-email-link:hover { color: var(--neon-blue); }

.footer-email-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: var(--text-dim);
  text-decoration: none;
  margin-bottom: 1.2rem;
  transition: color 0.2s;
}
.footer-email-link:hover { color: var(--neon-blue); }
.footer-email-link svg { flex-shrink: 0; opacity: 0.6; }

/* ── Responsive Instagram ───────────────────────────────────────────── */
@media (max-width: 600px) {
  .ig-grid { grid-template-columns: repeat(2, 1fr); }
  .ig-grid .ig-item:nth-child(6) { display: none; }
}

/* ══════════════════════════════════════════════════════════════════════
   FINAL BATCH: GEO SERVICES · TICKER LOGOS · CONTACT TEXTURE
   ══════════════════════════════════════════════════════════════════════ */

/* ── SERVICES — Geometric dark background ───────────────────────── */
#services.section-geo {
  background-color: #0e0e1e;
  background-image:
    /* diagonal polygon lines */
    linear-gradient(120deg, rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(60deg,  rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(-60deg, rgba(255,255,255,0.018) 1px, transparent 1px),
    /* subtle coloured cells */
    linear-gradient(120deg, transparent 48%, rgba(0,85,204,0.05) 48%, rgba(0,85,204,0.05) 52%, transparent 52%),
    /* depth radial glows */
    radial-gradient(ellipse 70% 50% at 15% 60%, rgba(0,85,204,0.09) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 85% 30%, rgba(204,17,51,0.06) 0%, transparent 70%);
  background-size: 70px 70px, 70px 70px, 70px 70px, 100% 100%, 100% 100%, 100% 100%;
}

/* Keep text readable on dark geo bg */
#services.section-geo .services-header .section-title { color: #fff; }
#services.section-geo .services-header .section-sub   { color: var(--text-dim); }
#services.section-geo .label                          { color: var(--neon-blue) !important; }
#services.section-geo .services-grid                  { background: rgba(255,255,255,0.06); }
#services.section-geo .service-card                   { background: rgba(14,14,30,0.85); }
#services.section-geo .service-card:hover             { background: rgba(20,20,40,0.95); }
#services.section-geo .service-card h3                { color: #fff; }
#services.section-geo .service-card p                 { color: var(--text-dim); }
#services.section-geo .service-icon                   { background: rgba(0,170,255,0.08); border-color: rgba(0,170,255,0.18); }
#services.section-geo .service-icon svg               { stroke: var(--neon-blue); }

/* ── TICKER logos ────────────────────────────────────────────────── */
.ti-logo {
  height: 1.15em;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 0.45em;
  border-radius: 2px;
  display: inline-block;
  position: relative;
  top: -0.05em;
}

/* ── CONTACT — old texture class now delegated to #contact rules ─ */
#contact.contact-textured { /* no-op — styling handled by #contact pseudo-elements */ }

/* ── Deliverables 7-item grid — last row centered ────────────────── */
.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 960px) { .deliverables-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .deliverables-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════════════════════════════
   PORTFOLIO VIDEO MODAL
   ══════════════════════════════════════════════════════════════════════ */
.port-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(5,5,7,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.port-modal-overlay.open {
  display: flex;
}
.port-modal-inner {
  position: relative;
  width: min(900px, 92vw);
  background: #111116;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.8), 0 0 0 1px rgba(0,170,255,0.08);
  animation: portModalIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes portModalIn {
  from { transform: translateY(24px) scale(0.97); opacity: 0; }
  to   { transform: translateY(0)    scale(1);    opacity: 1; }
}
.port-modal-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  background: #000;
}
.port-modal-video iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}
.port-modal-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 10;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(5,5,7,0.75);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.port-modal-close:hover {
  background: rgba(204,17,51,0.85);
  border-color: rgba(204,17,51,0.5);
}

/* ── "Ver Transmisión" button inside portfolio cards ──────────────── */
.port-video-btn {
  margin-top: 0.85rem;
  display: inline-flex !important;
  align-items: center;
  gap: 0.45em;
  font-size: 0.8rem !important;
  padding: 0.4rem 0.9rem !important;
  border-color: rgba(0,170,255,0.35) !important;
  color: var(--neon-blue) !important;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.port-video-btn:hover {
  background: rgba(0,170,255,0.1) !important;
  border-color: rgba(0,170,255,0.6) !important;
}

/* ══════════════════════════════════════════════════════════════════════
   PACKAGES — TEXTURE + MOTION
   ══════════════════════════════════════════════════════════════════════ */

/* ── 1. SECTION BACKGROUND: angular speed-line texture ────────────── */
#packages.section-light {
  background-color: #eef0f8 !important;
  background-image:
    /* three diagonal speed stripes */
    linear-gradient(108deg, transparent 36%,   rgba(0,85,204,0.045) 36%,   rgba(0,85,204,0.045) 36.7%,  transparent 36.7%),
    linear-gradient(108deg, transparent 53%,   rgba(0,85,204,0.032) 53%,   rgba(0,85,204,0.032) 53.6%,  transparent 53.6%),
    linear-gradient(108deg, transparent 70%,   rgba(0,85,204,0.022) 70%,   rgba(0,85,204,0.022) 70.6%,  transparent 70.6%),
    /* fine dot-grid */
    radial-gradient(circle, rgba(0,85,204,0.18) 1px, transparent 1px),
    /* corner accent glows */
    radial-gradient(ellipse 55% 55% at 100% 0%,   rgba(0,85,204,0.1)  0%, transparent 65%),
    radial-gradient(ellipse 40% 45% at 0%   100%,  rgba(0,170,255,0.07) 0%, transparent 65%) !important;
  background-size:
    100% 100%, 100% 100%, 100% 100%,
    32px 32px,
    100% 100%, 100% 100% !important;
}

/* ── 2. KEYFRAMES ─────────────────────────────────────────────────── */
@keyframes pkgFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-11px); }
}
@keyframes pkgGlow {
  0%, 100% { box-shadow: 0 4px 28px rgba(0,85,204,0.18), 0 8px 40px rgba(0,0,0,0.08); }
  50%       { box-shadow: 0 8px 44px rgba(0,170,255,0.40), 0 16px 56px rgba(0,0,0,0.13); }
}
@keyframes pkgBorderPulse {
  0%, 100% { border-color: rgba(0,85,204,0.40); }
  50%       { border-color: rgba(0,170,255,0.90); }
}
@keyframes pkgStripeRun {
  from { background-position: 0% 50%; }
  to   { background-position: 200% 50%; }
}
@keyframes pkgShimmer {
  from { left: -80%; }
  to   { left: 140%; }
}
@keyframes pkgLiIn {
  from { opacity: 0; transform: translateX(-12px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ── 3. CARD BASE: clip shimmer inside rounded corners ────────────── */
.package-card { overflow: hidden; }

/* ── 4. TOP ACCENT STRIPE (all cards) ────────────────────────────── */
.package-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-blue2), var(--neon-blue));
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 2;
}
.package-card:hover::before { opacity: 1; }

/* Featured: always-on animated stripe */
.package-card.featured::before {
  opacity: 1;
  background: linear-gradient(90deg, var(--neon-blue2), var(--neon-blue), #22eeff, var(--neon-blue2));
  background-size: 200% 100%;
  animation: pkgStripeRun 2.4s linear infinite;
}

/* ── 5. SHIMMER SWEEP on hover (::after) ──────────────────────────── */
.package-card::after {
  content: '';
  position: absolute;
  top: -20%; left: -80%;
  width: 50%; height: 140%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255,255,255,0.16) 45%,
    rgba(255,255,255,0.22) 50%,
    rgba(255,255,255,0.16) 55%,
    transparent
  );
  transform: skewX(-14deg);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}
.package-card:hover::after {
  opacity: 1;
  animation: pkgShimmer 0.65s ease forwards;
}

/* ── 6. FEATURED CARD: float + glow + border pulse ─────────────────── */
.section-light .package-card.featured {
  border: 1.5px solid rgba(0,85,204,0.40) !important;
  animation: pkgFloat 4.5s ease-in-out infinite,
             pkgGlow  3s   ease-in-out infinite,
             pkgBorderPulse 3s ease-in-out infinite;
}
/* On hover: stop floating, do normal lift */
.section-light .package-card.featured:hover {
  animation: pkgGlow 3s ease-in-out infinite, pkgBorderPulse 3s ease-in-out infinite;
  transform: translateY(-5px);
  transition: transform 0.3s ease;
}

/* ── 7. FEATURE LIST CASCADE on page entry ────────────────────────── */
.pp-page[data-page="6"].pp-active .package-features li {
  animation: pkgLiIn 0.35s ease both;
}
/* Card 1 (Evento Individual) */
.pp-page[data-page="6"].pp-active .package-card:nth-child(1) .package-features li:nth-child(1) { animation-delay: 0.18s; }
.pp-page[data-page="6"].pp-active .package-card:nth-child(1) .package-features li:nth-child(2) { animation-delay: 0.28s; }
.pp-page[data-page="6"].pp-active .package-card:nth-child(1) .package-features li:nth-child(3) { animation-delay: 0.38s; }
.pp-page[data-page="6"].pp-active .package-card:nth-child(1) .package-features li:nth-child(4) { animation-delay: 0.48s; }
.pp-page[data-page="6"].pp-active .package-card:nth-child(1) .package-features li:nth-child(5) { animation-delay: 0.58s; }
.pp-page[data-page="6"].pp-active .package-card:nth-child(1) .package-features li:nth-child(6) { animation-delay: 0.68s; }
/* Card 2 (Campeonato Completo — featured) */
.pp-page[data-page="6"].pp-active .package-card:nth-child(2) .package-features li:nth-child(1) { animation-delay: 0.28s; }
.pp-page[data-page="6"].pp-active .package-card:nth-child(2) .package-features li:nth-child(2) { animation-delay: 0.38s; }
.pp-page[data-page="6"].pp-active .package-card:nth-child(2) .package-features li:nth-child(3) { animation-delay: 0.48s; }
.pp-page[data-page="6"].pp-active .package-card:nth-child(2) .package-features li:nth-child(4) { animation-delay: 0.58s; }
.pp-page[data-page="6"].pp-active .package-card:nth-child(2) .package-features li:nth-child(5) { animation-delay: 0.68s; }
.pp-page[data-page="6"].pp-active .package-card:nth-child(2) .package-features li:nth-child(6) { animation-delay: 0.78s; }
.pp-page[data-page="6"].pp-active .package-card:nth-child(2) .package-features li:nth-child(7) { animation-delay: 0.88s; }
/* Card 3 (Solución a Medida) */
.pp-page[data-page="6"].pp-active .package-card:nth-child(3) .package-features li:nth-child(1) { animation-delay: 0.22s; }
.pp-page[data-page="6"].pp-active .package-card:nth-child(3) .package-features li:nth-child(2) { animation-delay: 0.32s; }
.pp-page[data-page="6"].pp-active .package-card:nth-child(3) .package-features li:nth-child(3) { animation-delay: 0.42s; }
.pp-page[data-page="6"].pp-active .package-card:nth-child(3) .package-features li:nth-child(4) { animation-delay: 0.52s; }

/* ── 8. RESPONSIVE: reduce motion on mobile ───────────────────────── */
@media (max-width: 768px) {
  .section-light .package-card.featured {
    animation: pkgGlow 3s ease-in-out infinite, pkgBorderPulse 3s ease-in-out infinite;
  }
  .section-light .package-card.featured:hover {
    animation: pkgGlow 3s ease-in-out infinite, pkgBorderPulse 3s ease-in-out infinite;
    transform: translateY(-3px);
  }
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .section-light .package-card.featured,
  .section-light .package-card.featured:hover {
    animation: pkgGlow 3s ease-in-out infinite;
  }
  .package-card::before { animation: none !important; }
  .package-card::after  { display: none; }
  .pp-page[data-page="6"].pp-active .package-features li { animation: none; opacity: 1; }
}

/* ══════════════════════════════════════════════════════════════════════
   CONTACT CHANNELS — ENTRY ANIMATION (page 8)
   ══════════════════════════════════════════════════════════════════════ */
@keyframes chSlideIn {
  from { opacity: 0; transform: translateX(-22px); }
  to   { opacity: 1; transform: translateX(0); }
}
.pp-page[data-page="8"].pp-active .contact-channel {
  animation: chSlideIn 0.4s ease both;
}
.pp-page[data-page="8"].pp-active .contact-channels > *:nth-child(1) { animation-delay: 0.08s; }
.pp-page[data-page="8"].pp-active .contact-channels > *:nth-child(2) { animation-delay: 0.18s; }
.pp-page[data-page="8"].pp-active .contact-channels > *:nth-child(3) { animation-delay: 0.28s; }
.pp-page[data-page="8"].pp-active .contact-channels > *:nth-child(4) { animation-delay: 0.38s; }

/* Disable hover-transform when entry anim is running to avoid conflict */
.pp-page[data-page="8"].pp-active .contact-channel { cursor: pointer; }

/* ── HERO cursor spot opacity when mouse leaves ──────────────────── */
.hero-cursor-spot.hidden { opacity: 0; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-bg::after        { animation: none; }
  .hero-cursor-spot      { display: none; }
  .contact-channel::after { display: none; }
  .pp-page[data-page="8"].pp-active .contact-channel { animation: none; opacity: 1; }
}

/* ══════════════════════════════════════════════════════════════════════
   WHY US — RACE DASHBOARD REDESIGN
   ══════════════════════════════════════════════════════════════════════ */

/* ── 1. SECTION BACKGROUND ────────────────────────────────────────── */
#why {
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(0,85,204,0.10) 0%, transparent 65%),
    radial-gradient(ellipse 50% 70% at 10% 80%, rgba(204,17,51,0.07) 0%, transparent 60%),
    linear-gradient(160deg, #06060c 0%, #0c0c18 50%, #070710 100%);
  overflow: hidden;
}

/* diagonal livery-cut accent lines */
#why::before,
#why::after {
  content: '';
  position: absolute;
  top: -20%; bottom: -20%;
  width: 1px;
  pointer-events: none;
  z-index: 0;
}
#why::before {
  left: 52%;
  background: linear-gradient(to bottom,
    transparent 0%, rgba(0,170,255,0.14) 30%,
    rgba(0,170,255,0.10) 70%, transparent 100%);
  transform: rotate(12deg);
}
#why::after {
  left: 54%;
  background: linear-gradient(to bottom,
    transparent 0%, rgba(204,17,51,0.08) 40%,
    rgba(204,17,51,0.06) 60%, transparent 100%);
  transform: rotate(12deg);
}

/* ── 2. SPEED LINES — animated pulse ─────────────────────────────── */
#why .speed-lines::before { left: 8%; animation: wyLinePulse 5s ease-in-out infinite; }
#why .speed-lines::after  { right: 8%; animation: wyLinePulse 5s 2.5s ease-in-out infinite; }

@keyframes wyLinePulse {
  0%, 100% { opacity: 0; }
  40%, 60%  { opacity: 0.18; }
}

/* ── 3. WHY-GRID ──────────────────────────────────────────────────── */
.why-grid { align-items: start; }

/* ── 4. WHY-LIST — racing numbered items ─────────────────────────── */
.why-list { counter-reset: why-counter; gap: 0; }

.why-item {
  counter-increment: why-counter;
  position: relative;
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  padding: 1.2rem 0.5rem 1.2rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  border-left: 3px solid transparent;
  transition: border-left-color 0.3s ease, transform 0.28s cubic-bezier(0.34,1.56,0.64,1),
              background 0.3s ease;
  cursor: default;
}
.why-item:last-child { border-bottom: none; }

/* Ghost racing number */
.why-item::before {
  content: '0' counter(why-counter);
  position: absolute;
  right: 0.5rem; top: 50%;
  transform: translateY(-50%);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 4.8rem;
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(0,170,255,0.055);
  pointer-events: none;
  transition: color 0.4s ease;
  user-select: none;
}

/* Bottom data-line */
.why-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 1rem;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--neon-blue), transparent);
  transition: width 0.45s ease;
}

/* Hover state */
.why-item:hover {
  border-left-color: var(--neon-blue);
  transform: translateX(6px);
  background: rgba(0,170,255,0.03);
}
.why-item:hover::before { color: rgba(0,170,255,0.14); }
.why-item:hover::after  { width: 70%; }

/* Icon spring scale + glow on hover */
.why-icon {
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1),
              background 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
}
.why-item:hover .why-icon {
  transform: scale(1.18) rotate(-8deg);
  background: rgba(0,170,255,0.18);
  box-shadow: 0 0 18px rgba(0,170,255,0.35);
}

/* h4 and p transitions */
.why-item h4 { transition: color 0.25s; }
.why-item:hover h4 { color: var(--neon-blue); }

/* ── 5. WHY-VISUAL — corner brackets ─────────────────────────────── */
.why-visual {
  position: relative;
}

/* top-left bracket */
.why-visual::before {
  content: '';
  position: absolute;
  top: -10px; left: -10px;
  width: 28px; height: 28px;
  border-top: 2px solid rgba(0,170,255,0.7);
  border-left: 2px solid rgba(0,170,255,0.7);
  pointer-events: none;
  z-index: 3;
  transition: border-color 0.3s;
}
/* bottom-right bracket */
.why-visual::after {
  content: '';
  position: absolute;
  bottom: -10px; right: -10px;
  width: 28px; height: 28px;
  border-bottom: 2px solid rgba(0,170,255,0.7);
  border-right: 2px solid rgba(0,170,255,0.7);
  pointer-events: none;
  z-index: 3;
  transition: border-color 0.3s;
}
.why-visual:hover::before,
.why-visual:hover::after { border-color: rgba(0,170,255,1); }

/* ── 6. WHY-CARD-MAIN — scan beam + enhanced style ───────────────── */
.why-card-main {
  border-color: rgba(0,170,255,0.18);
  background: linear-gradient(160deg, rgba(0,85,204,0.08) 0%, var(--dark-3) 60%);
  box-shadow: 0 4px 40px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.04);
  position: relative;
}

/* Scan beam (clipped inside overflow:hidden) */
.why-card-main::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0,170,255,0.04), transparent);
  pointer-events: none;
  z-index: 1;
  animation: wyCardScan 8s ease-in-out infinite;
}
@keyframes wyCardScan {
  0%        { transform: translateX(-100%); opacity: 0; }
  5%        { opacity: 1; }
  45%, 100% { transform: translateX(350%); opacity: 0; }
}

/* no ::after on why-card-main (overflow:hidden would clip it) */

/* ── 7. WHY-CARD-TOP — LIVE badge + dramatic bg ───────────────────── */
.why-card-top {
  background: linear-gradient(135deg,
    rgba(0,85,204,0.18) 0%,
    rgba(204,17,51,0.10) 100%);
  position: relative;
  overflow: hidden;
}

/* Circuit grid lines inside card top */
.why-card-top::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,194,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,194,255,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

/* LIVE badge */
.why-card-top::before {
  content: '◉  LIVE';
  position: absolute;
  top: 0.8rem; right: 0.9rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--neon-red);
  background: rgba(204,17,51,0.12);
  border: 1px solid rgba(204,17,51,0.35);
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
  animation: wyLivePulse 2.2s ease-in-out infinite;
  z-index: 2;
}
@keyframes wyLivePulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.45; }
}

/* BIG NUM — pulsing gradient glow */
.why-card-top .big-num {
  font-size: 5.5rem;
  position: relative;
  z-index: 2;
  animation: wyNumGlow 3s ease-in-out infinite;
}
@keyframes wyNumGlow {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(0,170,255,0.5)); }
  50%       { filter: drop-shadow(0 0 24px rgba(0,170,255,0.85))
                       drop-shadow(0 0 48px rgba(0,85,204,0.4)); }
}

/* ── 8. WHY-CARD-LIST — row style ────────────────────────────────── */
.why-card-list { max-height: none; overflow-y: visible; }

.why-card-row {
  padding: 0.55rem 0;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: color 0.2s, padding-left 0.25s;
  position: relative;
}
.why-card-row:last-child { border-bottom: none; }
.why-card-row:hover { color: var(--neon-blue); padding-left: 6px; }

/* Replace dot with a small arrow */
.why-card-row::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--neon-blue);
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(0,170,255,0.6);
}

/* ── 9. PAGE ENTRY ANIMATIONS (page 2 = Nosotros/Why) ────────────── */
@keyframes wyItemIn {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes wyRowIn {
  from { opacity: 0; transform: translateX(-12px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes wyCardIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes wyBracketIn {
  from { opacity: 0; width: 0; height: 0; }
  to   { opacity: 1; width: 28px; height: 28px; }
}

/* Why items cascade */
.pp-page[data-page="2"].pp-active .why-item {
  animation: wyItemIn 0.4s ease both;
}
.pp-page[data-page="2"].pp-active .why-item:nth-child(1) { animation-delay: 0.10s; }
.pp-page[data-page="2"].pp-active .why-item:nth-child(2) { animation-delay: 0.20s; }
.pp-page[data-page="2"].pp-active .why-item:nth-child(3) { animation-delay: 0.30s; }
.pp-page[data-page="2"].pp-active .why-item:nth-child(4) { animation-delay: 0.40s; }
.pp-page[data-page="2"].pp-active .why-item:nth-child(5) { animation-delay: 0.50s; }

/* Stat card entrance */
.pp-page[data-page="2"].pp-active .why-visual {
  animation: wyCardIn 0.55s 0.2s ease both;
}

/* Card rows cascade */
.pp-page[data-page="2"].pp-active .why-card-row {
  animation: wyRowIn 0.35s ease both;
}
.pp-page[data-page="2"].pp-active .why-card-row:nth-child(1) { animation-delay: 0.55s; }
.pp-page[data-page="2"].pp-active .why-card-row:nth-child(2) { animation-delay: 0.65s; }
.pp-page[data-page="2"].pp-active .why-card-row:nth-child(3) { animation-delay: 0.75s; }
.pp-page[data-page="2"].pp-active .why-card-row:nth-child(4) { animation-delay: 0.85s; }
.pp-page[data-page="2"].pp-active .why-card-row:nth-child(5) { animation-delay: 0.95s; }
.pp-page[data-page="2"].pp-active .why-card-row:nth-child(6) { animation-delay: 1.05s; }
.pp-page[data-page="2"].pp-active .why-card-row:nth-child(7) { animation-delay: 1.15s; }
.pp-page[data-page="2"].pp-active .why-card-row:nth-child(8) { animation-delay: 1.25s; }
.pp-page[data-page="2"].pp-active .why-card-row:nth-child(9) { animation-delay: 1.35s; }

/* Brackets animate in */
.pp-page[data-page="2"].pp-active .why-visual::before,
.pp-page[data-page="2"].pp-active .why-visual::after {
  animation: wyBracketIn 0.4s 0.35s ease both;
}
.pp-page[data-page="2"].pp-active .why-card-main::after {
  animation: wyBracketIn 0.4s 0.5s ease both;
}

/* ── 10. RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 768px) {
  .why-item::before { font-size: 3.5rem; }
  .why-card-top .big-num { font-size: 4rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  #why .speed-lines::before,
  #why .speed-lines::after         { animation: none; opacity: 0.1; }
  .why-card-main::before           { animation: none; }
  .why-card-top::before            { animation: none; }
  .why-card-top .big-num           { animation: none; }
  .pp-page[data-page="2"].pp-active .why-item,
  .pp-page[data-page="2"].pp-active .why-card-row,
  .pp-page[data-page="2"].pp-active .why-visual { animation: none; opacity: 1; }
}

/* ══════════════════════════════════════════════════════════════════════
   HERO — GIF BACKGROUND + STAIRCASE TITLE
   ══════════════════════════════════════════════════════════════════════ */

/* ── GIF background ───────────────────────────────────────────────── */
.hero-gif-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-gif {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  display: block;
}
.hero-gif-overlay {
  position: absolute;
  inset: 0;
  /* Left-heavy dark overlay — keeps text readable, action visible on right */
  background:
    /* Strong top vignette — hides any branding in upper portion of photo */
    linear-gradient(to bottom,
      rgba(5,5,7,0.97) 0%,
      rgba(5,5,7,0.82) 8%,
      rgba(5,5,7,0.45) 20%,
      transparent 32%),
    /* Diagonal overlay for left text legibility */
    linear-gradient(105deg,
      rgba(5,5,7,0.88) 0%,
      rgba(5,5,7,0.70) 40%,
      rgba(5,5,7,0.45) 65%,
      rgba(5,5,7,0.60) 100%),
    /* Subtle vertical vignette — darker top & bottom edges */
    linear-gradient(to bottom,
      rgba(5,5,7,0.50) 0%,
      rgba(5,5,7,0.20) 50%,
      rgba(5,5,7,0.85) 100%);
}

/* ── Hero layout — left-aligned ───────────────────────────────────── */
#hero {
  justify-content: flex-start;
  align-items: center;
  text-align: left;
}
.hero-content {
  width: 100%;
  max-width: 1280px;
  padding: 0 4vw 0 6vw;
  text-align: left;
}

/* ── Staircase h1 — matches diagonal step reference ──────────────── */
.hero-h1 {
  font-size: clamp(2rem, 4.2vw, 4rem); /* controlled size so lines don't wrap */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  color: #ffffff;
  margin-bottom: 1.8rem;
  animation: none; /* cancel old fadeDown, using per-line anims instead */
  line-height: 1.12;
}

/* Remove old blue highlight */
.hero-h1 .highlight {
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: #ffffff !important;
  background-clip: unset !important;
  color: #ffffff !important;
}

/* Each line: block + consistent leading */
.hero-line {
  display: block;
  white-space: nowrap; /* prevent mid-word wrapping */
}

/* ── ESCALERA: paso sutil hacia la derecha ───────────────────────── */
.hero-line-1 { margin-left: 0; }
.hero-line-2 { margin-left: clamp(1rem, 2.5vw, 3.5rem); }
.hero-line-3 { margin-left: clamp(2rem, 5vw,   7rem); }

/* ── Slide-in animations (left → position, staggered) ────────────── */
@keyframes heroLineIn {
  from { opacity: 0; transform: translateX(-50px); }
  to   { opacity: 1; transform: translateX(0); }
}
.hero-line-1 { animation: heroLineIn 0.65s 0.1s cubic-bezier(0.16,1,0.3,1) both; }
.hero-line-2 { animation: heroLineIn 0.65s 0.3s cubic-bezier(0.16,1,0.3,1) both; }
.hero-line-3 { animation: heroLineIn 0.65s 0.5s cubic-bezier(0.16,1,0.3,1) both; }

/* ── "Simracing" — animated red → blue gradient ───────────────────── */
@keyframes heroSimFlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.hero-sim {
  background: linear-gradient(90deg,
    #CC1133 0%,
    #CC1133 10%,
    #9933cc 35%,
    #0055CC 60%,
    #00AAFF 85%,
    #CC1133 100%
  );
  background-size: 250% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: heroSimFlow 4s ease-in-out infinite;
  display: inline;
}

/* ── Badge — left-aligned ─────────────────────────────────────────── */
.hero-badge { align-self: flex-start; }

/* ── Bottom-right block: subtitle + buttons ───────────────────────── */
.hero-side-right {
  position: absolute;
  bottom: 4.5rem;
  right: 6vw;
  max-width: 380px;
  text-align: right;
  z-index: 2;
  animation: heroSideIn 0.8s 0.75s cubic-bezier(0.16,1,0.3,1) both;
}
@keyframes heroSideIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Careers subtle link — bottom-left of hero ───────────────────── */
.hero-careers-link {
  position: absolute;
  bottom: 4.5rem;
  left: 6vw;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(232, 232, 240, 0.50);
  text-decoration: none;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 100px;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.04);
  transition: color 0.25s, border-color 0.25s, background 0.25s,
              transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  opacity: 0;
  animation: heroSideIn 0.7s 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-careers-link:hover {
  color: rgba(232, 232, 240, 0.90);
  border-color: rgba(0, 170, 255, 0.35);
  background: rgba(0, 170, 255, 0.07);
}
.hero-careers-link svg {
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-careers-link:hover svg { transform: scale(1.15); }

.hero-side-right .hero-sub {
  margin: 0 0 1.6rem 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(232,232,240,0.80);
  text-align: right;
}
.hero-side-right .hero-actions {
  justify-content: flex-end;
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

/* Keep hero-sub / hero-actions styles when NOT inside side-right */
.hero-sub     { margin: 0 0 2.2rem 0; max-width: 540px; }
.hero-actions { justify-content: flex-start; }

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 900px) {
  #hero { justify-content: center; flex-direction: column; }
  .hero-content { padding: 0 5vw; text-align: center; }
  .hero-h1 {
    align-items: center;
    font-size: clamp(1.8rem, 6vw, 3rem);
  }
  .hero-line { white-space: normal; }
  .hero-line-1 { margin-left: 0; }
  .hero-line-2 { margin-left: clamp(1.5rem, 5vw, 4rem); }
  .hero-line-3 { margin-left: clamp(3rem,  10vw, 8rem); }
  .hero-badge { align-self: center; }

  /* En mobile, el bloque sale del absolute y queda bajo el título */
  .hero-side-right {
    position: static;
    text-align: center;
    max-width: 100%;
    padding: 1.5rem 5vw 2rem;
  }
  .hero-side-right .hero-sub  { text-align: center; }
  .hero-side-right .hero-actions { justify-content: center; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-sim    { animation: none; background-position: 0% 50%; }
  .hero-line-1,
  .hero-line-2,
  .hero-line-3 { animation: none; opacity: 1; }
}

/* ══════════════════════════════════════════════════════════════════════
   NAVBAR — ANIMACIONES + ENTREGABLES
   ══════════════════════════════════════════════════════════════════════ */

/* ── 1. Entrada de la navbar (slide desde arriba) ─────────────────── */
@keyframes navIn {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}
#navbar { animation: navIn 0.65s 0.05s cubic-bezier(0.22, 1, 0.36, 1) both; }

/* Ajustar gap para 6 items */
.nav-links { gap: 1.6rem; }

/* ── 2. Nav links — entrada escalonada ────────────────────────────── */
@keyframes navLinkIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav-links li            { animation: navLinkIn 0.45s ease both; }
.nav-links li:nth-child(1) { animation-delay: 0.30s; }
.nav-links li:nth-child(2) { animation-delay: 0.38s; }
.nav-links li:nth-child(3) { animation-delay: 0.46s; }
.nav-links li:nth-child(4) { animation-delay: 0.54s; }
.nav-links li:nth-child(5) { animation-delay: 0.62s; }
.nav-links li:nth-child(6) { animation-delay: 0.70s; }
.nav-links li:nth-child(7) { animation-delay: 0.78s; }

/* ── 3. Nav links hover — underline degradado + glow sutil ───────── */
.nav-links a::after {
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-red));
  height: 1.5px;
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-links a:hover::after { width: 100%; }
.nav-links a {
  transition: color 0.25s, letter-spacing 0.25s;
}
.nav-links a:hover {
  letter-spacing: 0.09em;
}

/* ── 4. Nav logo — entrada + microanimación ──────────────────────── */
@keyframes navLogoIn {
  from { opacity: 0; transform: translateX(-16px); }
  to   { opacity: 1; transform: translateX(0); }
}
.nav-logo { animation: navLogoIn 0.55s 0.1s cubic-bezier(0.22, 1, 0.36, 1) both; }

/* Logo image subtle pulse on hover */
.nav-logo:hover .nav-logo-img {
  filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(0,170,255,0.5));
  transition: filter 0.3s ease;
}

/* ── 5. CTA button entrada ────────────────────────────────────────── */
@keyframes navCtaIn {
  from { opacity: 0; transform: translateX(16px); }
  to   { opacity: 1; transform: translateX(0); }
}
.nav-right { animation: navCtaIn 0.55s 0.25s cubic-bezier(0.22, 1, 0.36, 1) both; }

/* Scrolled: add a subtle neon bottom border */
#navbar.navbar-dark.scrolled {
  border-bottom: 1px solid rgba(0,170,255,0.12);
}

/* ══════════════════════════════════════════════════════════════════════
   ABOUT — LOGO ANIMATION + SHAKINESS REDUCIDA
   ══════════════════════════════════════════════════════════════════════ */

/* ── Logo Parabolica en About: float suave + glow ─────────────────── */
@keyframes aboutLogoFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
    filter: brightness(0) invert(1) drop-shadow(0 0 0px rgba(0,170,255,0));
  }
  50% {
    transform: translateY(-9px) scale(1.04);
    filter: brightness(0) invert(1) drop-shadow(0 4px 18px rgba(0,170,255,0.38));
  }
}
.about-pp-fill {
  animation: aboutLogoFloat 5.5s ease-in-out infinite;
}

/* Box: glow sutil que acompaña el float */
@keyframes aboutBoxGlow {
  0%, 100% { box-shadow: 0 0 0 rgba(0,170,255,0), inset 0 0 0 rgba(0,85,204,0); }
  50%       { box-shadow: 0 8px 40px rgba(0,170,255,0.14), inset 0 0 30px rgba(0,85,204,0.06); }
}
.about-pp-box { animation: aboutBoxGlow 5.5s ease-in-out infinite; }

/* Gradiente interno del box: sweep sutil */
@keyframes aboutBgShift {
  0%, 100% { background-position: 50% 50%; }
  50%       { background-position: 55% 45%; }
}
.about-pp-box::before {
  background: radial-gradient(ellipse 90% 70% at 50% 50%,
    rgba(0,85,204,0.18), transparent 70%);
  animation: aboutBgShift 5.5s ease-in-out infinite;
  background-size: 150% 150%;
}

/* Decorative border — más sutil */
.about-image-wrap::before {
  border-color: rgba(0,194,255,0.09);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  #navbar, .nav-links li, .nav-logo, .nav-right { animation: none; opacity: 1; }
  .about-pp-fill, .about-pp-box                 { animation: none; }
}

/* ══════════════════════════════════════════════════════════════════════
   DELIVERABLES — BG IMAGE + DARK THEME + ANIMATIONS
   ══════════════════════════════════════════════════════════════════════ */

/* ── Background con imagen técnica ───────────────────────────────── */
#deliverables.del-custom-bg {
  position: relative;
  background: #07070e;
  overflow: hidden;
}
#deliverables.del-custom-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('Showcase/BG entregables.jpg');
  background-size: cover;
  background-position: center 40%;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}
/* Vignette para enfocar el contenido */
#deliverables.del-custom-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 50%, transparent 40%, rgba(5,5,12,0.65) 100%);
  pointer-events: none;
  z-index: 0;
}
#deliverables.del-custom-bg .container { position: relative; z-index: 1; }

/* ── Textos ───────────────────────────────────────────────────────── */
#deliverables.del-custom-bg .section-title { color: #fff !important; }
#deliverables.del-custom-bg .section-sub   { color: rgba(232,232,240,0.70) !important; }
#deliverables.del-custom-bg .label         { color: var(--neon-blue) !important; }
#deliverables.del-custom-bg .fm-label      { color: rgba(232,232,240,0.55); }
#deliverables.del-custom-bg .fm-divider    { background: rgba(255,255,255,0.15); }
#deliverables.del-custom-bg .deliverables-note { color: rgba(232,232,240,0.42) !important; font-style: italic; }

/* ── Items — frosted glass dark ──────────────────────────────────── */
#deliverables.del-custom-bg .deliverable-item {
  background: rgba(12, 12, 28, 0.68) !important;
  border-color: rgba(255,255,255,0.10) !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.35) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.3s, transform 0.28s, box-shadow 0.3s;
}
#deliverables.del-custom-bg .deliverable-item:hover {
  border-color: rgba(0,170,255,0.35) !important;
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,170,255,0.12) !important;
}
#deliverables.del-custom-bg .del-text h4  { color: #fff !important; }
#deliverables.del-custom-bg .del-text p   { color: rgba(232,232,240,0.62) !important; }
#deliverables.del-custom-bg .del-icon {
  background: rgba(0,170,255,0.10) !important;
  border: 1px solid rgba(0,170,255,0.22) !important;
}
#deliverables.del-custom-bg .del-icon svg { stroke: var(--neon-blue) !important; }

/* ── Animations — entrada en cascada al llegar a página 7 ────────── */
@keyframes delFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes delFadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.pp-page[data-page="7"].pp-active .deliverables-header {
  animation: delFadeDown 0.5s 0.05s ease both;
}
.pp-page[data-page="7"].pp-active .deliverable-item {
  animation: delFadeUp 0.4s ease both;
}
.pp-page[data-page="7"].pp-active .deliverable-item:nth-child(1) { animation-delay: 0.10s; }
.pp-page[data-page="7"].pp-active .deliverable-item:nth-child(2) { animation-delay: 0.18s; }
.pp-page[data-page="7"].pp-active .deliverable-item:nth-child(3) { animation-delay: 0.26s; }
.pp-page[data-page="7"].pp-active .deliverable-item:nth-child(4) { animation-delay: 0.34s; }
.pp-page[data-page="7"].pp-active .deliverable-item:nth-child(5) { animation-delay: 0.42s; }
.pp-page[data-page="7"].pp-active .deliverable-item:nth-child(6) { animation-delay: 0.50s; }
.pp-page[data-page="7"].pp-active .deliverable-item:nth-child(7) { animation-delay: 0.58s; }
.pp-page[data-page="7"].pp-active .deliverables-note             { animation: delFadeUp 0.4s 0.65s ease both; }

/* ══════════════════════════════════════════════════════════════════════
   PORTFOLIO — eMotorsport logo light background
   ══════════════════════════════════════════════════════════════════════ */
.port-logo-white-bg {
  background: #f2f2f2 !important;
  border-radius: var(--radius);
}
/* Make the containing placeholder also light for this logo */
.portfolio-img-placeholder:has(.port-logo-white-bg) {
  background: #f2f2f2 !important;
}

/* ══════════════════════════════════════════════════════════════════════
   TESTIMONIALS — 4 cards (4th centered in 3-col grid)
   ══════════════════════════════════════════════════════════════════════ */
.testimonials-grid > .testimonial-card:nth-child(4):last-child {
  grid-column: 2;
}
/* MC avatar accent */
.author-avatar.testi-avatar-mc {
  background: linear-gradient(135deg, #cc1133, #9933cc);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .pp-page[data-page="7"].pp-active .deliverable-item,
  .pp-page[data-page="7"].pp-active .deliverables-header,
  .pp-page[data-page="7"].pp-active .deliverables-note { animation: none; opacity: 1; }
}


/* ═══════════════════════════════════════════════════════════════
   LOADING SCREEN — Premium / Apple-style
═══════════════════════════════════════════════════════════════ */

/* Full-screen cover */
#loadScreen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #050507;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
}
/* Fade-out: slow, buttery */
#loadScreen.load-out {
  animation: loadScreenOut 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  pointer-events: none;
}
@keyframes loadScreenOut {
  0%   { opacity: 1; }
  100% { opacity: 0; }
}

/* Center column */
.load-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.2rem;
}

/* ── Logo ────────────────────────────────────────────────────── */
.load-logo-wrap {
  /* Responsive: big on desktop, sensible on mobile */
  width: clamp(220px, 32vw, 400px);
  height: clamp(220px, 32vw, 400px);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* The logo itself: pure white, fades in + blooms slightly */
.load-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);

  /* Start invisible + very slightly small */
  opacity: 0;
  transform: scale(0.88);

  /* Single smooth keyframe — the Apple signature */
  animation: loadLogoBloom 1.1s 0.15s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes loadLogoBloom {
  0%   { opacity: 0;    transform: scale(0.88); }
  60%  { opacity: 1;    transform: scale(1.02); }
  100% { opacity: 1;    transform: scale(1.00); }
}

/* Radial glow behind the logo — barely-visible, adds depth */
.load-logo-wrap::before {
  content: '';
  position: absolute;
  inset: -20%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 170, 255, 0.07) 0%,
    transparent 70%
  );
  opacity: 0;
  animation: loadGlowIn 1.4s 0.5s ease forwards;
}
@keyframes loadGlowIn {
  to { opacity: 1; }
}

/* Scan line hidden — removed from Apple-style design */
.load-scan-line { display: none; }

/* ── Wordmark ─────────────────────────────────────────────────── */
.load-wordmark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}
.load-word-main {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: clamp(1.1rem, 2.2vw, 1.55rem);
  letter-spacing: 0.32em;
  color: rgba(255, 255, 255, 0.90);
  opacity: 0;
  animation: loadWordIn 0.7s 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.load-word-sub {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 400;
  font-size: clamp(0.6rem, 1vw, 0.78rem);
  letter-spacing: 0.55em;
  color: rgba(0, 170, 255, 0.75);
  opacity: 0;
  animation: loadWordIn 0.7s 1.05s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes loadWordIn {
  from { opacity: 0; transform: translateY(6px); letter-spacing: 0.22em; }
  to   { opacity: 1; transform: translateY(0);   letter-spacing: inherit; }
}

/* Progress bar hidden — replaced by pure timing */
.load-progress-wrap { display: none; }


/* ═══════════════════════════════════════════════════════════════
   HERO TITLE — RGB GLITCH (sutil, tonos azul celeste)
   Usa drop-shadow en lugar de hue-rotate para mantener los
   colores del texto y simular separación de canales en azul.
═══════════════════════════════════════════════════════════════ */
@keyframes heroGlitchAnim {
  0%, 100% {
    transform: translate(0, 0);
    filter: none;
  }
  12% {
    transform: translate(-1px, 0);
    filter: drop-shadow(-2px 0 rgba(0, 180, 255, 0.55))
            drop-shadow( 2px 0 rgba(0,  90, 200, 0.40));
  }
  24% {
    transform: translate(1px, 0);
    filter: drop-shadow( 3px 0 rgba(0, 200, 255, 0.45))
            drop-shadow(-1px 0 rgba(0,  60, 180, 0.35));
  }
  36% {
    transform: translate(-1px, 0.5px);
    filter: drop-shadow(-1px 0 rgba(0, 170, 255, 0.50));
  }
  48% {
    transform: translate(1.5px, 0);
    filter: drop-shadow( 2px 0 rgba(0, 210, 255, 0.40))
            drop-shadow(-2px 0 rgba(0,  80, 200, 0.30));
  }
  60% {
    transform: translate(-0.5px, 0);
    filter: drop-shadow(-1px 0 rgba(0, 160, 255, 0.35));
  }
  72% {
    transform: translate(1px, -0.5px);
    filter: none;
  }
  84% {
    transform: translate(0);
    filter: drop-shadow(1px 0 rgba(0, 190, 255, 0.25));
  }
}
.hero-h1.glitching {
  animation: heroGlitchAnim 0.52s steps(1, end) forwards;
}


/* ═══════════════════════════════════════════════════════════════
   CALENDLY — integrado al final de #contact
═══════════════════════════════════════════════════════════════ */

/* Separador entre formulario y Calendly */
.calendly-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin: 3.5rem 0 3rem;
}

/* Encabezado del bloque Calendly */
.calendly-block-header {
  text-align: center;
  margin-bottom: 1.8rem;
}
.calendly-block-title {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: #fff;
  margin: 0.3rem 0 0.5rem;
  letter-spacing: 0.03em;
}
.calendly-block-sub {
  color: var(--text-dim);
  font-size: 0.95rem;
  max-width: 440px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Widget wrapper */
/* ── Calendly scaled widget ──────────────────────────────────────── */
/* iframe internal height = 620px, scale = 0.70 → visible = 434px   */
:root { --cal-h: 620px; --cal-scale: 0.70; }

.calendly-wrap {
  max-width: 580px;                              /* 820 × 0.70        */
  height: calc(var(--cal-h) * var(--cal-scale)); /* 434px exact clip  */
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 170, 255, 0.10);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.45), 0 0 40px rgba(0, 170, 255, 0.04);
}

.calendly-scale-inner {
  transform: scale(var(--cal-scale));
  transform-origin: top left;
  width: calc(100% / var(--cal-scale)); /* fill wrapper width after scale */
}

/* Calendly injects its own iframe — ensure it fills the wrapper */
.calendly-inline-widget {
  display: block;
}


/* ══════════════════════════════════════════════════════════════════════
   📱 MOBILE — VERSIÓN OPTIMIZADA (max-width: 680px + 420px)
   Solo estilos mobile. Desktop no se toca.
   ══════════════════════════════════════════════════════════════════════ */

/* ── Global ──────────────────────────────────────────────────────────── */
@media (max-width: 680px) {
  html, body { overflow-x: hidden; }

  section {
    padding: 60px 1.25rem;
    overflow-x: hidden;
  }

  .container {
    padding: 0;
    width: 100%;
  }

  .section-title { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .section-sub   { font-size: 0.92rem; }

  /* ── Navbar ────────────────────────────────────────────────────────── */
  #navbar {
    padding: 0 1rem;
    height: 60px;
  }
  .nav-logo-img { height: 44px; }
  .nav-right {
    gap: 0.4rem;
  }
  .sound-toggle { width: 32px; height: 32px; }

  /* ── Mobile menu ───────────────────────────────────────────────────── */
  .mobile-menu {
    top: 60px;
    padding: 0.5rem 0;
  }
  .mobile-menu a {
    font-size: 1.05rem;
    padding: 0.9rem 1.5rem;
  }

  /* ── Hero ──────────────────────────────────────────────────────────── */
  #hero {
    min-height: 100svh;
    padding: 0;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 80px;
  }
  .hero-content {
    padding: 2rem 1.25rem 0;
    text-align: center;
    width: 100%;
  }
  .hero-h1 {
    font-size: clamp(1.9rem, 8vw, 3rem);
    align-items: center;
  }
  .hero-line-1 { margin-left: 0; }
  .hero-line-2 { margin-left: clamp(1rem, 4vw, 2.5rem); }
  .hero-line-3 { margin-left: clamp(2rem, 8vw, 5rem); }

  .hero-badge  { align-self: center; margin-bottom: 0.75rem; }

  .hero-side-right {
    position: static;
    text-align: center;
    width: 100%;
    max-width: 100%;
    padding: 1.5rem 1.25rem 2.5rem;
  }
  /* Hide careers pill on mobile — not enough space */
  .hero-careers-link { display: none; }
  .hero-side-right .hero-sub    { font-size: 0.95rem; text-align: center; }
  .hero-side-right .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  .hero-side-right .btn { width: 100%; max-width: 320px; justify-content: center; }

  /* Spotlight cursor desactivado en mobile */
  .hero-spotlight { display: none; }

  /* Ticker */
  .ticker-strip { top: 60px; }

  /* ── Nosotros (About) ──────────────────────────────────────────────── */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-image-wrap { order: -1; }
  .about-pp-box     { max-width: 180px; margin: 0 auto 1rem; }
  .about-pp-fill    { width: 140px; height: 140px; }
  .about-logo-row   { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .about-stat-row   { flex-wrap: wrap; gap: 1rem; }
  .about-stat       { min-width: calc(50% - 0.5rem); }

  /* ── Why / Por qué ────────────────────────────────────────────────── */
  .why-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .why-visual {
    order: -1;
    width: 100%;
  }
  .why-card-main {
    padding: 1.5rem 1.25rem;
  }
  .why-card-top .big-num { font-size: 3.5rem; }
  .why-card-row  { font-size: 0.78rem; padding: 0.55rem 0.75rem; }
  .why-item h4   { font-size: 0.95rem; }
  .why-item p    { font-size: 0.82rem; }
  /* Bracket decorations can clip — shrink */
  .why-visual::before, .why-visual::after { width: 20px; height: 20px; }

  /* ── Servicios ─────────────────────────────────────────────────────── */
  .services-grid { grid-template-columns: 1fr; }
  .service-card  { padding: 1.5rem 1.25rem; }
  .how-grid      { grid-template-columns: 1fr; }
  .workflow-card { padding: 1.75rem 1.25rem 1.5rem; }

  /* ── Mid CTA ────────────────────────────────────────────────────────── */
  #mid-cta .mid-cta-actions {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  #mid-cta .btn { width: 100%; max-width: 320px; justify-content: center; }

  /* ── Portfolio ──────────────────────────────────────────────────────── */
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-body { padding: 1.25rem; }
  .portfolio-body h3 { font-size: 1.2rem; }
  .portfolio-tags { gap: 0.4rem; }

  /* ── Packages ───────────────────────────────────────────────────────── */
  .packages-grid { grid-template-columns: 1fr; }
  /* No float on featured card — kills layout on mobile */
  .section-light .package-card.featured {
    transform: none !important;
    margin-top: 0;
  }
  .package-card { padding: 1.75rem 1.25rem; }

  /* ── En Acción / Video ──────────────────────────────────────────────── */
  .video-wrapper { border-radius: 12px; }

  /* ── Testimonios ────────────────────────────────────────────────────── */
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-card  { padding: 1.5rem 1.25rem; }
  /* 4th card centering rule irrelevant on 1-col — reset */
  .testimonials-grid > .testimonial-card:nth-child(4):last-child { grid-column: auto; }

  /* ── Entregables ────────────────────────────────────────────────────── */
  .deliverables-grid { grid-template-columns: 1fr; }
  .deliverable-item  { padding: 1.1rem 1.25rem; }

  /* ── Discord contact ────────────────────────────────────────────────── */
  .discord-inner { padding: 2rem 1.25rem; }
  .discord-inner div[style*="flex"] {
    flex-direction: column;
    align-items: center;
  }

  /* ── FAQ ────────────────────────────────────────────────────────────── */
  .faq-question { padding: 1rem 1.1rem; font-size: 0.9rem; }
  .faq-answer p { font-size: 0.85rem; }

  /* ── CTA Final ──────────────────────────────────────────────────────── */
  #cta .cta-actions {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  #cta .btn { width: 100%; max-width: 320px; justify-content: center; }

  /* ── Contacto ───────────────────────────────────────────────────────── */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contact-channels { gap: 0.75rem; }
  .contact-channel  { padding: 0.9rem; gap: 0.75rem; }

  /* Calendly: desactivar scale transform en mobile */
  .calendly-wrap {
    max-width: 100%;
    border-radius: 10px;
  }
  .calendly-scale-inner {
    transform: none !important;
    width: 100% !important;
  }
  .calendly-inline-widget { height: 580px !important; }

  /* ── Footer ─────────────────────────────────────────────────────────── */
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-col h5 { font-size: 0.85rem; }
  .footer-col li, .footer-col a { font-size: 0.85rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

  /* ── Loading screen ─────────────────────────────────────────────────── */
  .load-logo-wrap  { width: 55vw; height: 55vw; max-width: 220px; max-height: 220px; }
  .load-word-main  { font-size: 1.35rem; letter-spacing: 0.22em; }
  .load-word-sub   { font-size: 0.68rem; }

  /* ── PP dot nav: hidden on mobile (already set, reinforce) ─────────── */
  .page-dot-nav { display: none !important; }

  /* ── Magnetic buttons disabled on touch ─────────────────────────────── */
  .btn { will-change: auto; }

  /* ── Buttons — min touch target 44px ────────────────────────────────── */
  .btn { min-height: 44px; padding: 0.75rem 1.5rem; font-size: 0.9rem; }
}

/* ── Very small screens (375px and below) ─────────────────────────────── */
@media (max-width: 420px) {
  section { padding: 50px 1rem; }

  .hero-h1  { font-size: clamp(1.65rem, 9vw, 2.2rem); }
  /* Remove staircase indents at very small sizes */
  .hero-line-2 { margin-left: 0.75rem; }
  .hero-line-3 { margin-left: 1.5rem; }

  .section-title { font-size: clamp(1.4rem, 7vw, 1.9rem); }

  .testimonial-text { font-size: 0.88rem; }
  .package-card     { padding: 1.5rem 1rem; }

  .nav-logo-img { height: 38px; }

  /* Calendly full width */
  .calendly-block-title { font-size: 1.2rem; }
  .calendly-inline-widget { height: 520px !important; }
}

