/* =============================================
   Alinea Learning Solutions — styles.css v30
   BOLD / PREMIUM DARK THEME
   ============================================= */

/* --- Fonts --- */
@import url('https://api.fontshare.com/v2/css?f[]=general-sans@400,500,600,700&f[]=satoshi@400,500,700&display=swap');

/* --- Custom Properties --- */
:root {
  /* Brand */
  --brand: #0a0f1e;
  --brand-mid: #0f1729;
  --brand-light: #141d35;

  /* Accent — magenta → cyan gradient matching logo */
  --magenta: #c026d3;
  --magenta-light: #e879f9;
  --cyan: #06b6d4;
  --cyan-light: #22d3ee;
  --teal: #14b8a6;
  --teal-light: #2dd4bf;
  --green: #10b981;
  --green-light: #34d399;
  --sky: #0ea5e9;

  /* Gradient */
  --gradient-brand: linear-gradient(135deg, var(--magenta), var(--cyan));
  --gradient-brand-h: linear-gradient(90deg, var(--magenta), var(--cyan));
  --gradient-glow: linear-gradient(135deg, rgba(192,38,211,0.15), rgba(6,182,212,0.15));
  --gradient-card: linear-gradient(135deg, rgba(192,38,211,0.06), rgba(6,182,212,0.06));

  /* Surfaces (dark first) */
  --surface: #0a0f1e;
  --surface-raised: rgba(20,29,53,0.6);
  --surface-card: rgba(20,29,53,0.4);
  --surface-overlay: rgba(10,15,30,0.85);
  --glass: rgba(20,29,53,0.5);
  --glass-border: rgba(255,255,255,0.06);

  /* Text */
  --text-primary: #f0f4f8;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-on-gradient: #ffffff;
  --border-color: rgba(255,255,255,0.06);

  /* Typography */
  --font-display: 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows — glow-based for dark theme */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.5);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.6);
  --glow-cyan: 0 0 30px rgba(6,182,212,0.15);
  --glow-magenta: 0 0 30px rgba(192,38,211,0.15);
  --glow-brand: 0 0 40px rgba(6,182,212,0.1), 0 0 80px rgba(192,38,211,0.06);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.3s;
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Header */
  --header-h: 4.5rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; color: var(--text-primary); }

/* Skip Link */
.skip {
  position: absolute; top: -100%; left: 1rem;
  background: var(--cyan); color: #fff;
  padding: 0.5rem 1rem; border-radius: var(--radius-md);
  z-index: 9999; font-size: 0.875rem;
}
.skip:focus { top: 0.5rem; }

/* =============================================
   LAYOUT
   ============================================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.container--wide { max-width: 1400px; }

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

.section {
  padding: var(--space-5xl) 0;
  position: relative;
  z-index: 1;
}
.section--tight {
  padding: var(--space-4xl) 0;
}

.contentStack {
  display: flex;
  flex-direction: column;
  gap: var(--space-3xl);
}

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

/* =============================================
   HEADER
   ============================================= */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,15,30,0.7);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--glass-border);
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background var(--duration) var(--ease-out), border-color var(--duration) var(--ease-out);
}
.header.is-scrolled {
  background: rgba(10,15,30,0.92);
  border-bottom-color: rgba(255,255,255,0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}
.brand img {
  display: block;
  width: 44px; height: 44px;
  border-radius: 12px;
  object-fit: cover;
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand__text strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: var(--gradient-brand-h);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.brand__text span {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* Mobile Menu Button */
.menuBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem; height: 2.75rem;
  font-size: 1.5rem;
  border-radius: var(--radius-md);
  transition: background var(--transition-interactive);
  color: var(--text-primary);
}
.menuBtn:hover { background: var(--surface-raised); }

@media (min-width: 960px) {
  .menuBtn { display: none; }
}

/* Navigation */
.nav { display: none; }
.nav.is-open {
  display: flex;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0; bottom: 0;
  background: var(--surface);
  z-index: 999;
  padding: var(--space-xl) var(--space-lg);
  overflow-y: auto;
}

@media (min-width: 960px) {
  .nav {
    display: flex !important;
    position: static;
    background: transparent;
    padding: 0;
    overflow: visible;
  }
}

.nav__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  width: 100%;
}
@media (min-width: 960px) {
  .nav__list {
    flex-direction: row;
    align-items: center;
    gap: 0;
    width: auto;
  }
}

.nav__item { position: relative; }

.nav__link {
  display: block;
  padding: 0.65rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  transition: color var(--transition-interactive), background var(--transition-interactive);
  white-space: nowrap;
}
.nav__link:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}
.nav__link--active {
  color: var(--cyan-light);
  font-weight: 600;
}

/* Nav CTA — gradient border glow */
.nav__link--cta {
  position: relative;
  background: var(--gradient-brand);
  color: #fff !important;
  font-weight: 600;
  border-radius: var(--radius-full);
  padding: 0.55rem 1.5rem;
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive);
}
.nav__link--cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--glow-cyan);
  background: var(--gradient-brand);
}

/* Dropdown */
.nav__dropdown {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 0.5rem;
  background: var(--brand-mid);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  min-width: 260px;
}
.nav__item--dropdown.is-open .nav__dropdown {
  display: flex;
  position: static;
  box-shadow: none;
  border: none;
  padding: 0 0 0 1rem;
  background: transparent;
}

@media (min-width: 960px) {
  .nav__dropdown {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out);
  }
  .nav__item--dropdown.is-open .nav__dropdown {
    display: flex;
    position: absolute;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--glass-border);
    padding: 0.5rem;
    background: var(--brand-mid);
  }
}

.nav__dropdown a {
  display: block;
  padding: 0.6rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: color var(--transition-interactive), background var(--transition-interactive);
}
.nav__dropdown a:hover {
  color: var(--cyan-light);
  background: rgba(6,182,212,0.08);
}

/* =============================================
   HERO — FULL SCREEN, ANIMATED
   ============================================= */
.heroHome {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: transparent;
  padding: calc(var(--header-h) + var(--space-4xl)) 0 var(--space-4xl);
  z-index: 1;
}

/* ===== GLOBAL SITE BACKGROUND (orbs + canvas + grid) ===== */
.siteBg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.siteBg .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
  animation: orbFloat 12s ease-in-out infinite;
}
.siteBg .orb--1 {
  width: 650px; height: 650px;
  background: var(--magenta);
  top: -10%; right: -5%;
  animation-delay: 0s;
}
.siteBg .orb--2 {
  width: 550px; height: 550px;
  background: var(--cyan);
  bottom: -15%; left: -5%;
  animation-delay: -4s;
}
.siteBg .orb--3 {
  width: 400px; height: 400px;
  background: var(--teal);
  top: 35%; left: 25%;
  animation-delay: -8s;
  opacity: 0.25;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.siteBg__canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  width: 100%; height: 100%;
}

.siteBg__grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
  pointer-events: none;
}



.heroHome__inner {
  max-width: 800px;
  position: relative;
  z-index: 2;
}

/* Eyebrow tag */
.heroHome__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem 0.4rem 0.5rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  backdrop-filter: blur(8px);
}
.heroHome__tag .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.heroHome__inner h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin-bottom: var(--space-xl);
}

.heroHome__inner p {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 600px;
}

.heroHome__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

/* Scroll indicator */
.heroHome__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}
.heroHome__scroll .line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* =============================================
   BUTTONS — PREMIUM
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive), background var(--transition-interactive);
  white-space: nowrap;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn--primary {
  background: var(--gradient-brand);
  color: #fff;
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(192,38,211,0.25), 0 4px 15px rgba(6,182,212,0.2);
}

.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid rgba(255,255,255,0.15);
}
.btn--ghost:hover {
  border-color: rgba(255,255,255,0.3);
  color: var(--text-primary);
  transform: translateY(-2px);
  background: rgba(255,255,255,0.03);
}

.btn--cyan {
  background: var(--gradient-brand);
  color: #fff;
}
.btn--cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(6,182,212,0.25);
}

.btn--teal {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid rgba(255,255,255,0.15);
}
.btn--teal:hover {
  border-color: var(--cyan);
  color: var(--cyan-light);
  transform: translateY(-2px);
}

.buttonRow {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  padding-top: var(--space-md);
}

/* =============================================
   STATS BAR
   ============================================= */
.statsBar {
  padding: var(--space-3xl) 0;
  position: relative;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  background: var(--gradient-card);
}

.statsBar__inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}
@media (min-width: 768px) {
  .statsBar__inner { grid-template-columns: repeat(4, 1fr); }
}

.stat {
  text-align: center;
}
.stat__number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.25rem;
  background: var(--gradient-brand-h);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat__label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* =============================================
   GLASS CARDS
   ============================================= */
.glassCard {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive), border-color var(--transition-interactive);
  position: relative;
  overflow: hidden;
}
.glassCard::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--gradient-card);
  opacity: 0;
  transition: opacity var(--duration) var(--ease-out);
  pointer-events: none;
}
.glassCard:hover {
  transform: translateY(-4px);
  box-shadow: var(--glow-brand);
  border-color: rgba(255,255,255,0.1);
}
.glassCard:hover::before { opacity: 1; }

.glassCard h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  position: relative;
  z-index: 1;
}
.glassCard p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

/* Accent line on top */
.glassCard--accent::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-brand-h);
  border-radius: 2px 2px 0 0;
}

/* =============================================
   ICON BADGE — GLOWING
   ============================================= */
.iconBadge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem; height: 2.75rem;
  border-radius: var(--radius-lg);
  background: rgba(6,182,212,0.1);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.iconBadge svg {
  width: 1.25rem; height: 1.25rem;
  color: var(--cyan);
}

.iconBadge--magenta { background: rgba(192,38,211,0.1); }
.iconBadge--magenta svg { color: var(--magenta-light); }
.iconBadge--teal { background: rgba(20,184,166,0.1); }
.iconBadge--teal svg { color: var(--teal-light); }
.iconBadge--green { background: rgba(16,185,129,0.1); }
.iconBadge--green svg { color: var(--green-light); }

/* =============================================
   SECTION HEADS
   ============================================= */
.section__head {
  max-width: 720px;
}
.section__head h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  letter-spacing: -0.025em;
  margin-bottom: var(--space-md);
}
.section__head--center {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.lead {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* =============================================
   GRIDS
   ============================================= */
.grid {
  display: grid;
  gap: var(--space-lg);
}
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }

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

/* =============================================
   SERVICES GRID (servicios.html)
   ============================================= */
.servicesGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}
@media (min-width: 640px) {
  .servicesGrid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .servicesGrid { grid-template-columns: repeat(3, 1fr); }
}

.serviceCard {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-md);
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive), border-color var(--transition-interactive);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
}
.serviceCard::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-brand-h);
}
.serviceCard:hover {
  transform: translateY(-4px);
  box-shadow: var(--glow-brand);
  border-color: rgba(255,255,255,0.1);
}

.serviceCard__title {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: var(--space-sm);
}
.serviceCard__title h3 {
  font-size: 1.1rem;
  font-weight: 600;
}
.serviceCard p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}
.serviceCard p strong {
  color: var(--cyan-light);
  font-weight: 600;
}

/* Service card icon variants */
.serviceCard--1 .iconBadge { background: rgba(6,182,212,0.1); }
.serviceCard--1 .iconBadge svg { color: var(--cyan-light); }
.serviceCard--2 .iconBadge { background: rgba(192,38,211,0.1); }
.serviceCard--2 .iconBadge svg { color: var(--magenta-light); }
.serviceCard--3 .iconBadge { background: rgba(20,184,166,0.1); }
.serviceCard--3 .iconBadge svg { color: var(--teal-light); }
.serviceCard--4 .iconBadge { background: rgba(14,165,233,0.1); }
.serviceCard--4 .iconBadge svg { color: var(--sky); }
.serviceCard--5 .iconBadge { background: rgba(16,185,129,0.1); }
.serviceCard--5 .iconBadge svg { color: var(--green-light); }
.serviceCard--6 .iconBadge { background: linear-gradient(135deg, rgba(192,38,211,0.1), rgba(6,182,212,0.1)); }
.serviceCard--6 .iconBadge svg { color: var(--cyan-light); }

/* =============================================
   INLINE LINK
   ============================================= */
.inlineLink {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cyan);
  gap: 0.3rem;
  transition: color var(--transition-interactive), gap var(--transition-interactive);
}
.inlineLink:hover {
  color: var(--cyan-light);
  gap: 0.6rem;
}

/* =============================================
   PAGE INTRO — DARK GRADIENT
   ============================================= */
.pageIntro {
  background: transparent;
  padding: calc(var(--header-h) + var(--space-4xl)) 0 var(--space-4xl);
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.pageIntro::before {
  content: '';
  position: absolute;
  top: -30%; right: -15%;
  width: 50%; height: 120%;
  background: radial-gradient(ellipse, rgba(192,38,211,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.pageIntro::after {
  content: '';
  position: absolute;
  bottom: -20%; left: -10%;
  width: 40%; height: 80%;
  background: radial-gradient(ellipse, rgba(6,182,212,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.pageIntro__inner {
  max-width: 720px;
  position: relative;
  z-index: 1;
}
.pageIntro__inner h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  letter-spacing: -0.025em;
}
.pageIntro__inner p {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.7;
}

.pageIntro--service { padding-bottom: var(--space-3xl); }
.pageIntro--center { text-align: center; }
.pageIntro__inner--center { max-width: 640px; margin: 0 auto; }
.pageIntro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

/* =============================================
   WHY SECTION — FEATURE ROW
   ============================================= */
.featureRow {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}
@media (min-width: 768px) {
  .featureRow { grid-template-columns: repeat(3, 1fr); }
}

.featureItem {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  border-radius: var(--radius-2xl);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive);
}
.featureItem:hover {
  transform: translateY(-4px);
  box-shadow: var(--glow-brand);
}

.featureItem__icon {
  width: 3.5rem; height: 3.5rem;
  margin: 0 auto var(--space-lg);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6,182,212,0.1);
}
.featureItem__icon svg {
  width: 1.5rem; height: 1.5rem;
  color: var(--cyan-light);
}

.featureItem:nth-child(2) .featureItem__icon { background: rgba(192,38,211,0.1); }
.featureItem:nth-child(2) .featureItem__icon svg { color: var(--magenta-light); }
.featureItem:nth-child(3) .featureItem__icon { background: rgba(20,184,166,0.1); }
.featureItem:nth-child(3) .featureItem__icon svg { color: var(--teal-light); }

.featureItem h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
}
.featureItem p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* =============================================
   CTA SECTION — GRADIENT BOX
   ============================================= */
.ctaSection {
  position: relative;
  padding: var(--space-5xl) 0;
  text-align: center;
}
.ctaSection__box {
  position: relative;
  padding: var(--space-4xl) var(--space-2xl);
  border-radius: var(--radius-2xl);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  overflow: hidden;
}
.ctaSection__box::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: conic-gradient(from 180deg, rgba(192,38,211,0.06), rgba(6,182,212,0.06), rgba(20,184,166,0.06), rgba(192,38,211,0.06));
  animation: rotateBg 20s linear infinite;
  pointer-events: none;
}
@keyframes rotateBg {
  to { transform: rotate(360deg); }
}

.ctaSection__box h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  letter-spacing: -0.025em;
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 1;
}
.ctaSection__box p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* =============================================
   PORTFOLIO WHEEL (Carousel)
   ============================================= */
.portfolioWheel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--glass-border);
}

.wheelTrack {
  display: flex;
  transition: transform 0.6s var(--ease-out);
  will-change: transform;
}

.wheelSlide {
  min-width: 100%;
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: var(--radius-2xl);
}
.wheelSlide img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.wheelSlide::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
}
.wheelSlide:nth-child(1)::before { background: linear-gradient(135deg, #0a0f1e 0%, rgba(192,38,211,0.3) 50%, rgba(6,182,212,0.2) 100%); }
.wheelSlide:nth-child(2)::before { background: linear-gradient(135deg, #0a0f1e 0%, rgba(6,182,212,0.3) 50%, rgba(20,184,166,0.2) 100%); }
.wheelSlide:nth-child(3)::before { background: linear-gradient(135deg, #0a0f1e 0%, rgba(20,184,166,0.3) 50%, rgba(192,38,211,0.2) 100%); }
.wheelSlide:nth-child(4)::before { background: linear-gradient(135deg, #0a0f1e 0%, rgba(14,165,233,0.3) 50%, rgba(192,38,211,0.2) 100%); }
.wheelSlide:nth-child(5)::before { background: linear-gradient(135deg, #0a0f1e 0%, rgba(192,38,211,0.3) 50%, rgba(6,182,212,0.2) 100%); }

.wheelSlide__copy {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: var(--space-2xl) var(--space-xl) var(--space-xl);
  background: linear-gradient(to top, rgba(10,15,30,0.9) 0%, transparent 100%);
  z-index: 1;
}
.wheelSlide__copy h3 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}
.wheelSlide__copy p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Wheel Dots — gradient active */
.wheelDots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding-top: var(--space-md);
}
.wheelDots button {
  width: 0.6rem; height: 0.6rem;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.15);
  transition: all var(--transition-interactive);
  cursor: pointer;
  border: none;
}
.wheelDots button.is-active {
  background: var(--gradient-brand-h);
  width: 2rem;
}

/* =============================================
   FLIP CARDS
   ============================================= */
.flipGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}
@media (min-width: 640px) {
  .flipGrid { grid-template-columns: repeat(3, 1fr); }
}

.stepFlip { perspective: 800px; height: 220px; }
.stepFlip--small { height: 180px; }

.stepFlip__inner {
  position: relative;
  width: 100%; height: 100%;
  transition: transform 0.6s var(--ease-out);
  transform-style: preserve-3d;
  cursor: pointer;
}
.stepFlip:hover .stepFlip__inner { transform: rotateY(180deg); }

.stepFlip__face {
  position: absolute; inset: 0;
  backface-visibility: hidden;
  border-radius: var(--radius-2xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  text-align: center;
}
.stepFlip__face--back { transform: rotateY(180deg); }

.stepFlip__title { font-size: 1rem; font-weight: 600; margin-top: var(--space-sm); }
.stepFlip__text { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; margin-top: var(--space-sm); }

/* Step card colors — glass style */
.stepCard--cyan { background: rgba(6,182,212,0.06); border: 1px solid rgba(6,182,212,0.12); }
.stepCard--cyan .stepFlip__title { color: var(--cyan-light); }
.stepCard--teal { background: rgba(20,184,166,0.06); border: 1px solid rgba(20,184,166,0.12); }
.stepCard--teal .stepFlip__title { color: var(--teal-light); }
.stepCard--green { background: rgba(16,185,129,0.06); border: 1px solid rgba(16,185,129,0.12); }
.stepCard--green .stepFlip__title { color: var(--green-light); }

/* =============================================
   METHOD STEPS — TIMELINE
   ============================================= */
.methodSteps {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  counter-reset: step;
  position: relative;
  padding-left: 2rem;
}
.methodSteps::before {
  content: '';
  position: absolute;
  left: 1.375rem;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--magenta), var(--cyan), var(--teal));
  border-radius: 2px;
}

.methodStep {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
  counter-increment: step;
  position: relative;
}
.methodStep__number {
  flex-shrink: 0;
  width: 2.75rem; height: 2.75rem;
  border-radius: var(--radius-full);
  background: var(--gradient-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 20px rgba(6,182,212,0.2);
}
.methodStep__content h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}
.methodStep__content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* =============================================
   DETAIL LISTS
   ============================================= */
.detailList {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.detailList li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}
.detailList li::before {
  content: '';
  flex-shrink: 0;
  width: 6px; height: 6px;
  border-radius: var(--radius-full);
  background: var(--cyan);
  margin-top: 0.55rem;
}
.detailList--teal li::before { background: var(--teal); }
.detailList--green li::before { background: var(--green); }
.detailList--magenta li::before { background: var(--magenta); }

/* Plan cards */
.planCard {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl);
  position: relative;
  overflow: hidden;
}
.planCard::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-brand-h);
}
.planCard--highlight {
  box-shadow: var(--glow-brand);
  border-color: rgba(6,182,212,0.15);
}
.planCard h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.planCard__detail { font-size: 0.85rem; color: var(--text-muted); margin-bottom: var(--space-md); }

/* SLA Table */
.slaTable {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin-top: var(--space-md);
}
.slaTable th, .slaTable td {
  padding: 0.65rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--glass-border);
}
.slaTable th {
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(255,255,255,0.02);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.slaTable td { color: var(--text-secondary); }
.slaTable tr:last-child td { border-bottom: none; }

/* Callout */
.callout {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border-left: 3px solid var(--cyan);
}
.callout h3 { font-size: 0.95rem; margin-bottom: var(--space-sm); }
.callout p, .callout li { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.65; }

/* =============================================
   MINICARD
   ============================================= */
.miniCard {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive);
  position: relative;
  overflow: hidden;
}
.miniCard::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-brand-h);
}
.miniCard:hover {
  transform: translateY(-3px);
  box-shadow: var(--glow-brand);
}
.miniCard h3 { font-size: 0.95rem; margin-bottom: var(--space-sm); }
.miniCard p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.65; }

.miniCard__title { display: flex; align-items: center; gap: 0.6rem; margin-bottom: var(--space-sm); }
.miniCard__title h3 { margin-bottom: 0; }

/* Card alias for compatibility */
.card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive);
  position: relative;
  overflow: hidden;
}
.card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-brand-h);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--glow-brand);
}
.card h3 { font-size: 1.05rem; margin-bottom: var(--space-sm); }
.card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.65; }

.card--cyan::after, .card--teal::after, .card--green::after, .card--sky::after {
  background: var(--gradient-brand-h);
}

/* =============================================
   SERVICE STORY
   ============================================= */
.serviceStory { max-width: 720px; }
.serviceStory h2 { font-size: 1.5rem; margin-bottom: var(--space-md); }
.serviceStory p { font-size: 1rem; color: var(--text-secondary); line-height: 1.7; }

/* =============================================
   CONTACT FORM
   ============================================= */
.contactForm {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}
.formGroup { display: flex; flex-direction: column; gap: var(--space-xs); }
.formGroup label { font-size: 0.85rem; font-weight: 600; color: var(--text-primary); }
.formGroup input,
.formGroup textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.03);
  color: var(--text-primary);
  transition: border-color var(--transition-interactive), box-shadow var(--transition-interactive);
  outline: none;
}
.formGroup input:focus,
.formGroup textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(6,182,212,0.12);
}
.formGroup textarea { resize: vertical; min-height: 140px; }

.contactInfo {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.contactInfo a {
  color: var(--cyan);
  font-weight: 500;
}
.contactInfo a:hover { text-decoration: underline; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: #060a14;
  color: var(--text-muted);
  padding: var(--space-3xl) 0;
  margin-top: var(--space-5xl);
  border-top: 1px solid var(--glass-border);
  position: relative;
  z-index: 1;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}
@media (min-width: 768px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.footer__brand img {
  display: block;
  max-width: 220px;
  height: auto;
  border-radius: 8px;
}
.footer__copy {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.footer__copy strong { color: var(--text-secondary); font-size: 0.9rem; }
.footer__copy span { font-size: 0.8rem; line-height: 1.5; max-width: 420px; }

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  font-size: 0.85rem;
}
.footer__links a { transition: color var(--transition-interactive); }
.footer__links a:hover { color: var(--cyan-light); }



/* =============================================
   DARK MODE TOGGLE — hidden by default (already dark)
   ============================================= */
.themeToggle {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  width: 2.75rem; height: 2.75rem;
  border-radius: var(--radius-full);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
  display: none; /* Hidden — site is always dark */
  align-items: center;
  justify-content: center;
  z-index: 999;
  font-size: 1.15rem;
}

/* =============================================
   SCROLL REVEAL — GSAP handles this, CSS fallback
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.40s; }
.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}
/* Needs JS to toggle is-visible on parent */

/* =============================================
   MARQUEE — Clients / tech logos
   ============================================= */
.marquee {
  overflow: hidden;
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}
.marquee__label {
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}
.marquee__track {
  display: flex;
  gap: var(--space-3xl);
  animation: marqueeScroll 30s linear infinite;
  width: max-content;
}
.marquee__track span {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  opacity: 0.5;
}
@keyframes marqueeScroll {
  to { transform: translateX(-50%); }
}

/* =============================================
   SECTION DIVIDERS
   ============================================= */
.divider {
  height: 1px;
  background: var(--glass-border);
  border: none;
}
.divider--gradient {
  background: var(--gradient-brand-h);
  height: 2px;
  opacity: 0.3;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 639px) {
  .heroHome { min-height: 90vh; padding: calc(var(--header-h) + var(--space-2xl)) 0 var(--space-2xl); }
  .heroHome__inner h1 { font-size: 2.2rem; }
  .heroHome__scroll { display: none; }
  .section { padding: var(--space-3xl) 0; }
  .pageIntro { padding: calc(var(--header-h) + var(--space-2xl)) 0 var(--space-2xl); }
  .footer { margin-top: var(--space-3xl); }
  .stepFlip, .stepFlip--small { height: 160px; }
  .siteBg .orb--1 { width: 300px; height: 300px; }
  .siteBg .orb--2 { width: 250px; height: 250px; }
  .siteBg .orb--3 { display: none; }
}

/* =============================================
   PRINT
   ============================================= */
@media print {
  .header, .footer, .themeToggle, .menuBtn, .siteBg { display: none; }
  body { background: #fff; color: #000; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* =============================================
   REDUCED MOTION
   ============================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .siteBg .orb { animation: none; }
  .marquee__track { animation: none; }
}

/* =============================================
   FORM FEEDBACK MESSAGES
   ============================================= */
.formSuccess {
  background: rgba(6,182,212,0.12);
  border: 1px solid rgba(6,182,212,0.4);
  color: var(--cyan-light);
  padding: var(--space-md) var(--space-lg);
  border-radius: 12px;
  margin-bottom: var(--space-lg);
  font-size: var(--text-sm);
  line-height: 1.6;
}
.formError {
  background: rgba(192,38,211,0.12);
  border: 1px solid rgba(192,38,211,0.4);
  color: var(--magenta-light);
  padding: var(--space-md) var(--space-lg);
  border-radius: 12px;
  margin-bottom: var(--space-lg);
  font-size: var(--text-sm);
  line-height: 1.6;
}
