/* ─────────────────────────────────────────────────────────
   Mi Social Media | Design System v2.0
   Author: Mi Social Media Group SAS
   ───────────────────────────────────────────────────────── */

/* ══════════════════════════════════════
   1. DESIGN TOKENS / CSS VARIABLES
══════════════════════════════════════ */
:root {
  /* Color Palette — Light Mode */
  --clr-bg:           #ffffff;
  --clr-surface:      #f5f6fa;
  --clr-surface-2:    #eceef5;
  --clr-border:       rgba(0,0,0,0.08);

  --clr-accent:       #e8203a;
  --clr-primary:      #e8203a;
  --clr-accent-alt:   #ff5e40;
  --clr-accent-glow:  rgba(232,32,58,0.25);
  --clr-accent-2:     #7c3aed;   /* violet for contrast */

  --clr-text:         #111118;
  --clr-text-muted:   #5a5a72;
  --clr-text-subtle:  #9a9ab0;
  --clr-white:        #ffffff;

  /* Gradients */
  --grad-hero: #ffffff;
  --grad-accent: linear-gradient(135deg, var(--clr-accent) 0%, var(--clr-accent-alt) 100%);
  --grad-card:   linear-gradient(145deg, #ffffff, #f7f8fd);

  /* Glow / Shadow */
  --glow-accent: 0 0 40px rgba(232,32,58,0.2), 0 0 80px rgba(232,32,58,0.08);
  --glow-card:   0 8px 40px rgba(0,0,0,0.08);

  /* Typography */
  --font-body:     'Inter', sans-serif;
  --font-display:  'Poppins', sans-serif;
  --font-logo:     'Fredoka', sans-serif;
  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-lg:   1.125rem;
  --fs-xl:   1.25rem;
  --fs-2xl:  1.5rem;
  --fs-3xl:  1.875rem;
  --fs-4xl:  2.25rem;
  --fs-5xl:  3rem;
  --fs-6xl:  3.75rem;
  --fs-7xl:  4.5rem;

  /* Spacing */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;
  --sp-32: 8rem;

  /* Border radius */
  --radius-sm:   0.5rem;
  --radius-md:   1rem;
  --radius-lg:   1.5rem;
  --radius-xl:   2rem;
  --radius-full: 9999px;

  /* Transitions */
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --ease-expo:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-back:   cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast:    150ms;
  --dur-base:    300ms;
  --dur-slow:    550ms;
  --dur-enter:   900ms;

  --clr-header-bg: rgba(255, 255, 255, 0.88);
}

/* ══════════════════════════════════════
   1.5 DARK MODE
══════════════════════════════════════ */
.dark-theme {
  --clr-bg:           #0a0a0f;
  --clr-surface:      #14141d;
  --clr-surface-2:    #1d1d29;
  --clr-border:       rgba(255,255,255,0.06);

  --clr-text:         #f0f0f5;
  --clr-text-muted:   #9a9ab0;
  --clr-text-subtle:  #6a6a82;

  --grad-hero:        #0a0a0f;
  --grad-card:        linear-gradient(145deg, #14141d, #1a1a24);

  --glow-card:        0 8px 40px rgba(0,0,0,0.5);
  
  --clr-header-bg:    rgba(10, 10, 15, 0.85);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--clr-bg);
  color: var(--clr-text);
  overflow-x: hidden;
  width: 100%;
  position: relative;
  line-height: 1.6;
}

/* Scrollbar light */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--clr-surface); }
::-webkit-scrollbar-thumb { background: var(--clr-accent); border-radius: 3px; }

img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ══════════════════════════════════════
   3. UTILITIES
══════════════════════════════════════ */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--sp-6);
}

.text-accent   { color: var(--clr-accent); }
.text-muted    { color: var(--clr-text-muted); }
.text-sm       { font-size: var(--fs-sm); }
.text-xs       { font-size: var(--fs-xs); }
.font-display  { font-family: var(--font-display); }
.tracking-wide { letter-spacing: 0.05em; }
.tracking-ultra { letter-spacing: 0.2em; }
.uppercase     { text-transform: uppercase; }

/* ══════════════════════════════════════
   4. PRELOADER
══════════════════════════════════════ */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--clr-bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--sp-6);
  z-index: 10000;
  transition: opacity 0.8s var(--ease-smooth), visibility 0.8s;
}

#preloader .loader-logo {
  font-family: var(--font-logo);
  font-size: 3rem;
  font-weight: 700;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: pulse-logo 2s infinite var(--ease-smooth);
}

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

#preloader.hide {
  opacity: 0;
  visibility: hidden;
}

.preloader-logo {
  width: 120px;
  animation: preloader-breathe 1.8s ease-in-out infinite;
  filter: brightness(1);
}

.preloader-bar {
  width: 160px;
  height: 2px;
  background: #e5e7eb;
  border-radius: var(--radius-full);
  overflow: hidden;
}

.preloader-progress {
  height: 100%;
  background: var(--grad-accent);
  border-radius: var(--radius-full);
  animation: preloader-load 2s ease forwards;
}

@keyframes preloader-breathe {
  0%, 100% { transform: scale(0.92); opacity: 0.8; }
  50%       { transform: scale(1.02); opacity: 1; }
}

@keyframes preloader-load {
  from { width: 0%; }
  to   { width: 100%; }
}

/* ══════════════════════════════════════
   5. NAVIGATION
══════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  padding: var(--sp-4) 0;
  transition: background var(--dur-base) var(--ease-smooth),
              border-color var(--dur-base) var(--ease-smooth),
              backdrop-filter var(--dur-base) var(--ease-smooth);
}

.site-header.scrolled {
  background: var(--clr-header-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--clr-border);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
}

.nav-logo img {
  height: 38px;
  object-fit: contain;
  transition: transform var(--dur-base) var(--ease-spring);
  filter: brightness(1);
}

.nav-logo:hover img { transform: scale(1.08); }

.nav-logo-name {
  font-family: var(--font-logo);
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: -0.01em;
  text-transform: none;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 4px rgba(232, 32, 58, 0.1));
}

/* Desktop nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}

.nav-link {
  font-size: var(--fs-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--clr-text-muted);
  position: relative;
  transition: color var(--dur-fast) var(--ease-smooth);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-accent);
  border-radius: var(--radius-full);
  transition: width var(--dur-base) var(--ease-smooth);
}

.nav-link:hover {
  color: var(--clr-accent);
}

.nav-link:hover::after { width: 100%; }

/* Nav Actions (right side) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

/* Dark Mode Button */
.dark-mode-btn {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  color: var(--clr-text);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all var(--dur-fast) var(--ease-spring);
}
.dark-mode-btn:hover {
  background: var(--clr-surface-2);
  color: var(--clr-accent);
  transform: scale(1.1) rotate(10deg);
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  background: var(--clr-surface);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-full);
  padding: 3px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  gap: 2px;
}

.lang-switcher a {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  color: var(--clr-text-muted);
  transition: color var(--dur-fast);
  position: relative;
  z-index: 1;
  text-decoration: none;
}

.lang-switcher a.active {
  color: var(--clr-white);
  background: var(--grad-accent);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: 0.3s var(--ease-expo);
}

.mobile-menu-btn.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--clr-header-bg);
  backdrop-filter: blur(24px);
  z-index: 9998;
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 120px 40px 40px;
  gap: var(--sp-8);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.4s var(--ease-expo), transform 0.4s var(--ease-expo);
  pointer-events: none;
}

.mobile-menu.active {
  display: flex !important;
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--clr-text);
  transition: color var(--dur-fast), transform var(--dur-base) var(--ease-spring);
}

.mobile-nav-link:hover { color: var(--clr-accent); transform: scale(1.05); }

/* ══════════════════════════════════════
   6. BUTTONS
══════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-weight: 800;
  border-radius: var(--radius-lg);
  padding: 1.1rem 2.5rem;
  font-size: var(--fs-base);
  transition: transform var(--dur-base) var(--ease-back),
              box-shadow var(--dur-base) var(--ease-smooth),
              background var(--dur-fast);
  cursor: pointer;
  border: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

/* Shimmer sweep */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255,255,255,0.28) 50%,
    transparent 65%
  );
  transform: translateX(-100%);
  transition: transform 0.55s var(--ease-smooth);
}
.btn:hover::after {
  transform: translateX(100%);
}

.btn-primary {
  background: var(--grad-accent);
  color: var(--clr-white);
  box-shadow: 0 8px 30px var(--clr-accent-glow);
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 20px 50px var(--clr-accent-glow), 0 0 15px var(--clr-accent);
}
.btn-primary:active { transform: translateY(-1px) scale(0.99); }

.btn-outline {
  background: transparent;
  color: var(--clr-text);
  border: 1.5px solid rgba(0,0,0,0.15);
}

.btn-outline:hover {
  background: var(--clr-surface);
  border-color: var(--clr-accent);
  color: var(--clr-accent);
  transform: translateY(-4px);
}
.btn-outline:active { transform: translateY(-1px); }

.btn-ghost {
  background: var(--clr-surface);
  color: var(--clr-text);
  border: 1px solid var(--clr-border);
}

.btn-ghost:hover {
  background: var(--clr-surface-2);
  transform: translateY(-3px);
}

/* Pulse animation for CTA */
.btn-pulse {
  animation: btn-glow 2.8s var(--ease-smooth) infinite;
}

@keyframes btn-glow {
  0%, 100% { box-shadow: 0 8px 30px var(--clr-accent-glow); }
  50%       { box-shadow: 0 12px 55px rgba(232,32,58,0.60), 0 0 0 8px rgba(232,32,58,0.08); }
}

/* ══════════════════════════════════════
   7. SECTION ANIMATIONS (Intersection Observer)
══════════════════════════════════════ */
.section-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--dur-enter) var(--ease-expo),
              transform var(--dur-enter) var(--ease-expo);
}

.section-animate.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Variants */
.anim-left  { transform: translateX(-40px); }
.anim-right { transform: translateX(40px); }
.anim-scale { transform: scale(0.92) translateY(20px); }
.anim-left.animate-in,
.anim-right.animate-in  { transform: translateX(0); }
.anim-scale.animate-in  { transform: scale(1) translateY(0); }

.stagger-1 { transition-delay: 80ms; }
.stagger-2 { transition-delay: 180ms; }
.stagger-3 { transition-delay: 280ms; }
.stagger-4 { transition-delay: 380ms; }
.stagger-5 { transition-delay: 480ms; }
.stagger-6 { transition-delay: 580ms; }

/* ══════════════════════════════════════
   8. HERO SECTION
══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--sp-32) var(--sp-6) var(--sp-20);
  overflow: hidden;
  background: var(--clr-bg);
  border-bottom: 1px solid var(--clr-border);
}


.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}

#tsparticles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 860px;
  margin-inline: auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--clr-accent);
  background: rgba(232,32,58,0.1);
  border: 1px solid rgba(232,32,58,0.2);
  border-radius: var(--radius-full);
  padding: var(--sp-2) var(--sp-4);
  margin-bottom: var(--sp-6);
}

.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--clr-accent);
  border-radius: 50%;
  animation: dot-pulse 1.5s ease infinite;
}

@keyframes dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.6); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--clr-text);
  margin-bottom: var(--sp-6);
}

.hero-title-accent {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(var(--fs-base), 2vw, var(--fs-xl));
  color: var(--clr-text-muted);
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: var(--sp-12);
  line-height: 1.7;
  font-weight: 400;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  justify-content: center;
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: var(--sp-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  z-index: 3;
  animation: scroll-bounce 2s ease infinite;
}

.hero-scroll span {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--clr-text-subtle);
  font-weight: 600;
}

.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 2px solid rgba(0,0,0,0.2);
  border-radius: 12px;
  position: relative;
}

.scroll-mouse::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 6px;
  background: var(--clr-accent);
  border-radius: var(--radius-full);
  animation: scroll-dot 1.8s ease infinite;
}

@keyframes scroll-dot {
  0% { top: 6px; opacity: 1; }
  100% { top: 20px; opacity: 0; }
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ══════════════════════════════════════
   9. STATS SECTION
══════════════════════════════════════ */
.stats-section {
  padding: var(--sp-20) 0;
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--clr-border);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.stat-card {
  background: var(--clr-bg);
  padding: var(--sp-12) var(--sp-8);
  text-align: center;
  position: relative;
  transition: background var(--dur-base) var(--ease-smooth),
              transform var(--dur-base) var(--ease-back),
              box-shadow var(--dur-base) var(--ease-smooth);
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-accent);
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease-smooth);
  pointer-events: none;
}

.stat-card:hover {
  background: var(--clr-surface);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(232,32,58,0.08);
}

.stat-card:hover::before { opacity: 0.03; }

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(var(--fs-4xl), 5vw, var(--fs-6xl));
  font-weight: 900;
  letter-spacing: -0.04em;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--sp-2);
}

.stat-label {
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--clr-text-muted);
}

/* ══════════════════════════════════════
   10. SECTION HEADERS
══════════════════════════════════════ */
.section-header {
  text-align: center;
  margin-bottom: var(--sp-16);
}

.section-tag {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--clr-accent);
  margin-bottom: var(--sp-4);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(var(--fs-3xl), 5vw, var(--fs-5xl));
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--clr-text);
  margin-bottom: var(--sp-4);
}

.section-subtitle {
  font-size: var(--fs-base);
  color: var(--clr-text-muted);
  max-width: 500px;
  margin-inline: auto;
  line-height: 1.7;
}

/* ══════════════════════════════════════
   11. SERVICES SECTION
══════════════════════════════════════ */
.services-section {
  padding: var(--sp-32) 0;
  background: var(--clr-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--sp-6);
}

/* Flip Cards */
.flip-card-container {
  perspective: 1200px;
  height: 320px;
}

.flip-card {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: transform 0.8s ease-in-out;
  position: relative;
  cursor: pointer;
}

.flip-card-container:hover .flip-card,
.flip-card-container:focus-within .flip-card,
.flip-card.flipped {
  transform: rotateY(180deg) scale(0.98);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--clr-border);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--sp-8);
  text-align: center;
  transition: border-color var(--dur-base);
}

.flip-card-front {
  background: var(--clr-bg);
  box-shadow: var(--glow-card);
  border: 1px solid rgba(0,0,0,0.07);
  transform: rotateY(0deg);
  z-index: 2;
}

.flip-card-container:hover .flip-card-front {
  border-color: rgba(232,32,58,0.2);
  box-shadow: 0 16px 50px rgba(232,32,58,0.1);
}

.flip-card-back {
  background: var(--grad-accent);
  transform: rotateY(180deg);
  box-shadow: 0 20px 50px rgba(232,32,58,0.3);
  z-index: 1;
}

.flip-card-container:hover .flip-card-front,
.flip-card-container:focus-within .flip-card-front,
.flip-card.flipped .flip-card-front {
  pointer-events: none;
}

.flip-card-container:hover .flip-card-back,
.flip-card-container:focus-within .flip-card-back,
.flip-card.flipped .flip-card-back {
  pointer-events: auto;
  z-index: 3;
}

.service-icon {
  font-size: 2.8rem;
  margin-bottom: var(--sp-6);
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(232,32,58,0.4));
  animation: icon-float 3.5s var(--ease-smooth) infinite;
}

@keyframes icon-float {
  0%, 100% { transform: translateY(0px); filter: drop-shadow(0 0 20px rgba(232,32,58,0.4)); }
  50%       { transform: translateY(-5px); filter: drop-shadow(0 8px 24px rgba(232,32,58,0.6)); }
}

.service-title {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 800;
  color: var(--clr-text);
  margin-bottom: var(--sp-2);
}

.service-sub {
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--clr-text-muted);
}

.flip-card-back .service-back-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.flip-card-back .service-back-list li {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.flip-card-back .service-back-list li::before {
  content: '✦';
  font-size: 8px;
  opacity: 0.7;
}

/* Service card hover hint */
.flip-hint {
  position: absolute;
  bottom: var(--sp-4);
  right: var(--sp-4);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-text-subtle);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color var(--dur-fast);
}

.flip-card-container:hover .flip-hint {
  color: var(--clr-accent);
}

/* ══════════════════════════════════════
   11a. SERVICES VIDEO SECTION
══════════════════════════════════════ */
.services-video-section {
  padding: var(--sp-32) 0;
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  overflow: hidden;
}

.svc-video-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: var(--sp-4);
}

.svc-video-frame {
  position: relative;
  width: 100%;
  max-width: 340px;
  border-radius: 2rem;
}

/* Spinning glow ring */
.svc-video-ring {
  position: absolute;
  inset: -16px;
  border-radius: 2.4rem;
  background: conic-gradient(
    from 0deg,
    var(--clr-accent)   0%,
    var(--clr-accent-alt) 25%,
    var(--clr-accent-2) 55%,
    transparent 65%,
    transparent 100%
  );
  animation: ring-spin 7s linear infinite;
  z-index: 0;
  opacity: 0.55;
  filter: blur(3px);
}

/* Inner mask */
.svc-video-frame::before {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 1.8rem;
  background: var(--clr-surface);
  z-index: 1;
}

.svc-video {
  position: relative;
  z-index: 2;
  width: 100%;
  display: block;
  border-radius: 1.8rem;
  box-shadow: 0 32px 90px rgba(0,0,0,0.16),
              0 0 0 1px rgba(232,32,58,0.12);
  transition: transform var(--dur-slow) var(--ease-expo),
              box-shadow var(--dur-slow) var(--ease-expo);
  background: #000;
}

.svc-video-frame:hover .svc-video {
  transform: scale(1.015);
  box-shadow: 0 44px 110px rgba(0,0,0,0.2),
              0 0 0 2px rgba(232,32,58,0.22);
}

/* Responsive */
@media (max-width: 768px) {
  .svc-video-frame {
    max-width: 100%;
    border-radius: 1.5rem;
  }
  .svc-video { border-radius: 1.2rem; }
}

/* ══════════════════════════════════════
   11b. MISSION / ABOUT SECTION
══════════════════════════════════════ */
.mission-section {
  padding: var(--sp-32) 0;
  background: var(--clr-bg);
  border-top: 1px solid var(--clr-border);
  overflow: hidden;
}

.mission-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}

/* ── Text column ────────────────────── */
.mission-text {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}

.mission-desc {
  font-size: var(--fs-base);
  color: var(--clr-text-muted);
  line-height: 1.8;
}

.mission-desc strong { color: var(--clr-text); }
.mission-desc em     { color: var(--clr-accent); font-style: normal; font-weight: 600; }

.mission-pillars {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-top: var(--sp-2);
}

.mission-pillars li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  line-height: 1.6;
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--radius-lg);
  border: 1px solid var(--clr-border);
  background: var(--clr-surface);
  transition: border-color var(--dur-base) var(--ease-smooth),
              transform var(--dur-base) var(--ease-back),
              box-shadow var(--dur-base);
}

.mission-pillars li:hover {
  border-color: rgba(232,32,58,0.3);
  transform: translateX(6px);
  box-shadow: 0 8px 30px rgba(232,32,58,0.07);
}

.mission-pillars li strong { color: var(--clr-text); }

.pillar-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--grad-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.85rem;
  box-shadow: 0 6px 18px var(--clr-accent-glow);
  transition: transform var(--dur-base) var(--ease-back);
}

.mission-pillars li:hover .pillar-icon {
  transform: rotate(-10deg) scale(1.12);
}

/* ── Video column ───────────────────── */
.mission-video-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mission-video-frame {
  position: relative;
  width: 100%;
  max-width: 480px;
}

/* Decorative spinning ring */
.mission-video-ring {
  position: absolute;
  inset: -14px;
  border-radius: 2rem;
  background: conic-gradient(
    from 0deg,
    var(--clr-accent) 0%,
    var(--clr-accent-alt) 30%,
    var(--clr-accent-2) 60%,
    transparent 70%,
    transparent 100%
  );
  animation: ring-spin 6s linear infinite;
  z-index: 0;
  opacity: 0.6;
  filter: blur(2px);
}

@keyframes ring-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* White mask so ring shows only around edges */
.mission-video-frame::before {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 1.6rem;
  background: var(--clr-bg);
  z-index: 1;
}

.mission-video {
  position: relative;
  z-index: 2;
  width: 100%;
  border-radius: 1.6rem;
  display: block;
  box-shadow: 0 30px 80px rgba(0,0,0,0.14),
              0 0 0 1px rgba(232,32,58,0.1);
  transition: transform var(--dur-slow) var(--ease-expo),
              box-shadow var(--dur-slow) var(--ease-expo);
}

.mission-video-frame:hover .mission-video {
  transform: scale(1.02);
  box-shadow: 0 40px 100px rgba(0,0,0,0.18),
              0 0 0 2px rgba(232,32,58,0.2);
}

/* Responsive */
@media (max-width: 900px) {
  .mission-inner {
    grid-template-columns: 1fr;
    gap: var(--sp-12);
  }
  .mission-video-frame {
    max-width: 420px;
    margin-inline: auto;
  }
}

/* ══════════════════════════════════════
   12. PROCESS SECTION
══════════════════════════════════════ */
.process-section {
  padding: var(--sp-32) 0;
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-8);
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 25px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--clr-accent), transparent);
  opacity: 0.3;
}

.process-step {
  text-align: center;
  padding: var(--sp-8);
  border-radius: var(--radius-xl);
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  transition: border-color var(--dur-base) var(--ease-smooth),
              transform var(--dur-base) var(--ease-back),
              box-shadow var(--dur-base) var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.process-step::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(232,32,58,0.05), transparent);
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-smooth);
}

.process-step:hover {
  border-color: rgba(232,32,58,0.35);
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 24px 54px rgba(0,0,0,0.1), 0 0 0 1px rgba(232,32,58,0.1);
}

.process-step:hover::after { opacity: 1; }

.step-number {
  width: 54px;
  height: 54px;
  background: var(--grad-accent);
  color: var(--clr-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--fs-xl);
  margin-inline: auto;
  margin-bottom: var(--sp-6);
  box-shadow: 0 10px 30px var(--clr-accent-glow);
  transition: transform var(--dur-base) var(--ease-back), box-shadow var(--dur-base);
}

.process-step:hover .step-number {
  transform: scale(1.15) rotate(-6deg);
  box-shadow: 0 16px 40px var(--clr-accent-glow);
}

.step-title {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 800;
  color: var(--clr-text);
  margin-bottom: var(--sp-3);
}

.step-desc {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  line-height: 1.7;
}

/* ══════════════════════════════════════
   13. TESTIMONIALS SECTION
══════════════════════════════════════ */
.testimonials-section {
  padding: var(--sp-32) 0;
  background: var(--clr-bg);
  border-top: 1px solid var(--clr-border);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--sp-6);
}

/* Testimonial Card */
.tcard {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--sp-6);
  transition: transform var(--dur-base) var(--ease-back),
              box-shadow var(--dur-slow) var(--ease-smooth),
              border-color var(--dur-base) var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.tcard::before {
  content: '"';
  position: absolute;
  top: -10px;
  right: var(--sp-6);
  font-family: var(--font-display);
  font-size: 8rem;
  font-weight: 900;
  color: var(--clr-accent);
  opacity: 0.06;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  transition: transform var(--dur-slow) var(--ease-expo), opacity var(--dur-slow);
}

.tcard:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 24px 54px rgba(0,0,0,0.09),
              0 0 0 1px rgba(232,32,58,0.12);
  border-color: rgba(232,32,58,0.25);
}

.tcard:hover::before {
  opacity: 0.1;
  transform: scale(1.1) translateY(-8px);
}

.tcard-top {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.tcard-stars {
  display: flex;
  gap: 3px;
  color: #f59e0b;
  font-size: var(--fs-sm);
}

.tcard-quote {
  font-size: var(--fs-sm);
  line-height: 1.75;
  color: var(--clr-text-muted);
  font-style: italic;
}

.tcard-author {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--clr-border);
}

.tcard-avatar {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: var(--grad-accent);
  color: white;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-base);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px var(--clr-accent-glow);
}

.tcard-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 2px;
}

.tcard-info strong {
  font-size: var(--fs-sm);
  font-weight: 800;
  color: var(--clr-text);
}

.tcard-info span {
  font-size: var(--fs-xs);
  color: var(--clr-text-subtle);
}

.tcard-logo {
  height: 28px;
  width: auto;
  max-width: 70px;
  object-fit: contain;
  filter: grayscale(80%) opacity(0.5);
  transition: filter var(--dur-base);
}

.tcard:hover .tcard-logo {
  filter: grayscale(0%) opacity(1);
}


.testimonial-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232,32,58,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.testimonial-inner {
  max-width: 700px;
  margin-inline: auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.quote-icon {
  font-size: 4rem;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.6;
  margin-bottom: var(--sp-8);
}

.testimonial-text {
  font-family: var(--font-display);
  font-size: clamp(var(--fs-xl), 2.5vw, var(--fs-2xl));
  font-weight: 500;
  font-style: italic;
  color: var(--clr-text);
  line-height: 1.6;
  margin-bottom: var(--sp-12);
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
}

.testimonial-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--clr-accent);
  box-shadow: 0 0 0 6px rgba(232,32,58,0.1);
}

.testimonial-name {
  font-weight: 800;
  font-size: var(--fs-lg);
  color: var(--clr-text);
}

.testimonial-role {
  font-size: var(--fs-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--clr-accent);
}

/* Stars */
.stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  color: #fbbf24;
  font-size: var(--fs-base);
  margin-bottom: var(--sp-8);
}

/* ══════════════════════════════════════
   14. CLIENTS CAROUSEL
══════════════════════════════════════ */
.clients-section {
  padding: var(--sp-20) 0;
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  overflow: hidden;
}

.clients-label {
  text-align: center;
  font-size: var(--fs-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--clr-text-subtle);
  margin-bottom: var(--sp-12);
}

.carousel-wrapper {
  position: relative;
  overflow: hidden;
}

.carousel-wrapper::before,
.carousel-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.carousel-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--clr-surface), transparent);
}

.carousel-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--clr-surface), transparent);
}

.carousel-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: var(--sp-16);
  padding: var(--sp-4) 0;
}

.carousel-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.carousel-track img {
  width: 120px;
  height: 50px;
  object-fit: contain;
  filter: grayscale(80%) brightness(0.75);
  opacity: 0.65;
  transition: filter 300ms var(--ease-smooth),
              opacity 300ms var(--ease-smooth),
              transform 400ms var(--ease-spring);
}

.carousel-track img:hover {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
  transform: scale(1.28);
  z-index: 10;
  position: relative;
}

/* ══════════════════════════════════════
   14.5. OUR BRANDS
══════════════════════════════════════ */
.brands-section {
  padding: var(--sp-20) 0;
  background: var(--clr-bg);
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--sp-8);
  margin-top: var(--sp-12);
}

.brand-card {
  display: flex;
  flex-direction: column;
  background: transparent; /* Changed for flip card */
  border: none;
  padding: 0;
  text-decoration: none;
  overflow: visible;
  position: relative;
  height: 100%;
}

.brand-card-inner {
  height: 100%;
}

.brands-grid .flip-card-front,
.brands-grid .flip-card-back {
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.brands-grid .flip-card-back {
  background: var(--grad-accent);
  color: var(--clr-white);
  align-items: flex-start;
  text-align: left;
}

.brands-grid .flip-card-front {
  background: var(--clr-surface);
}

.brand-float {
  animation: brand-float 6s ease-in-out infinite;
}
.brand-float:hover,
.brand-float:focus-within {
  animation-play-state: paused;
}
.brand-float.d-1 { animation-delay: 0s; }
.brand-float.d-2 { animation-delay: 1s; }
.brand-float.d-3 { animation-delay: 2s; }
.brand-float.d-4 { animation-delay: 3s; }

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

.brand-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 80px;
  margin-bottom: var(--sp-6);
}

.brand-logo {
  max-width: 150px;
  max-height: 60px;
  object-fit: contain;
  transition: transform var(--dur-base) var(--ease-spring);
  filter: grayscale(20%);
}

.brand-card:hover .brand-logo {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.brand-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.brand-title {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 800;
  color: inherit;
  margin-bottom: var(--sp-2);
}

.brand-desc {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--fs-sm);
  line-height: 1.6;
  margin-bottom: var(--sp-6);
  flex-grow: 1;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--clr-white);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 8px 16px;
  border-radius: 30px;
  transition: all var(--dur-fast) var(--ease-smooth);
  margin-top: auto;
}

.brand-card:hover .brand-link {
  background: rgba(255, 255, 255, 0.2);
  gap: var(--sp-3);
}

/* Dark theme overrides for brands */
.dark-theme .brand-logo {
  filter: brightness(0.9) contrast(1.2);
}
.dark-theme .brand-card:hover .brand-logo {
  filter: brightness(1) contrast(1);
}

/* ══════════════════════════════════════
   15. CTA SECTION
══════════════════════════════════════ */
.cta-section {
  padding: var(--sp-32) 0;
  position: relative;
  overflow: hidden;
  text-align: center;
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center bottom, rgba(232,32,58,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(var(--fs-3xl), 6vw, var(--fs-6xl));
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.0;
  color: var(--clr-text);
  margin-bottom: var(--sp-4);
}

.cta-sub {
  font-size: var(--fs-lg);
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-12);
}

.cta-btn-group {
  display: flex;
  gap: var(--sp-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════
   16. FOOTER
══════════════════════════════════════ */
.site-footer {
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  padding-top: var(--sp-20);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--sp-16);
  padding-bottom: var(--sp-16);
}

.footer-brand-logo {
  height: 40px;
  object-fit: contain;
  filter: brightness(1);
  margin-bottom: var(--sp-4);
}

.footer-brand-desc {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  line-height: 1.8;
  max-width: 280px;
}

.footer-phone {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-3);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--clr-text-muted);
  transition: color var(--dur-fast);
}

.footer-phone i {
  font-size: 0.8rem;
  color: var(--clr-accent);
}

.footer-phone:hover { color: var(--clr-accent); }

.footer-col-title {
  font-size: var(--fs-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--clr-accent);
  margin-bottom: var(--sp-6);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer-link {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  transition: color var(--dur-fast);
}

.footer-link:hover { color: var(--clr-accent); }

.footer-socials {
  display: flex;
  gap: var(--sp-4);
  margin-top: var(--sp-2);
}

.footer-social {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-base);
  color: var(--clr-text-muted);
  transition: background var(--dur-fast), color var(--dur-fast),
              border-color var(--dur-fast), transform var(--dur-base) var(--ease-spring);
}

.footer-social:hover {
  background: var(--clr-accent);
  color: var(--clr-white);
  border-color: var(--clr-accent);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid var(--clr-border);
  padding: var(--sp-6) 0;
  text-align: center;
}

.footer-copy {
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--clr-text-subtle);
}

/* ══════════════════════════════════════
   17. AI MODAL
══════════════════════════════════════ */
#ai-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: var(--sp-4);
}

.ai-content {
  background: var(--clr-bg);
  border: 1px solid rgba(0,0,0,0.1);
  padding: var(--sp-12);
  border-radius: var(--radius-xl);
  max-width: 640px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.2), 0 0 0 1px rgba(0,0,0,0.06);
}

.ai-close-btn {
  position: absolute;
  top: var(--sp-6);
  right: var(--sp-6);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--clr-surface-2);
  border: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-text-muted);
  font-size: var(--fs-base);
  transition: background var(--dur-fast), color var(--dur-fast);
}

.ai-close-btn:hover {
  background: rgba(232,32,58,0.15);
  color: var(--clr-accent);
}

.ai-modal-title {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--clr-text);
  margin-bottom: var(--sp-2);
}

.ai-modal-desc {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-8);
  line-height: 1.7;
}

.ai-textarea {
  width: 100%;
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-4) var(--sp-6);
  color: var(--clr-text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  min-height: 140px;
  resize: vertical;
  outline: none;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
  margin-bottom: var(--sp-4);
}

.ai-textarea::placeholder { color: var(--clr-text-subtle); }

.ai-textarea:focus {
  border-color: rgba(232,32,58,0.5);
  box-shadow: 0 0 0 3px rgba(232,32,58,0.1);
}

.ai-generate-btn {
  width: 100%;
  padding: 1.1rem;
  background: var(--grad-accent);
  color: var(--clr-white);
  border: none;
  border-radius: var(--radius-lg);
  font-weight: 800;
  font-size: var(--fs-base);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--sp-3);
  cursor: pointer;
  box-shadow: 0 8px 30px var(--clr-accent-glow);
  transition: transform var(--dur-base) var(--ease-spring), box-shadow var(--dur-base);
}

.ai-generate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px var(--clr-accent-glow);
}

/* Spinner */
.ai-loading-spinner {
  display: none;
  border: 3px solid var(--clr-surface-2);
  border-top: 3px solid var(--clr-accent);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  animation: spin 0.8s linear infinite;
  margin: var(--sp-8) auto;
}

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

.ai-result-container {
  margin-top: var(--sp-8);
  border-top: 1px solid var(--clr-border);
  padding-top: var(--sp-8);
}

.ai-result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--sp-4);
}

.ai-result-badge {
  font-size: var(--fs-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-accent);
  background: rgba(232,32,58,0.1);
  border: 1px solid rgba(232,32,58,0.2);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.ai-copy-btn {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--clr-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--dur-fast);
}

.ai-copy-btn:hover { color: var(--clr-white); }

#ai-result {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  color: var(--clr-text);
  font-size: var(--fs-sm);
  line-height: 1.8;
  white-space: normal;
}

/* ══════════════════════════════════════
   18. WHATSAPP FLOAT
══════════════════════════════════════ */
.whatsapp-btn {
  position: fixed;
  bottom: var(--sp-6);
  right: var(--sp-6);
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25D366;
  color: var(--clr-white);
  font-size: 1.8rem;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
  box-shadow: 0 8px 30px rgba(37,211,102,0.4);
  transition: transform var(--dur-base) var(--ease-back), box-shadow var(--dur-base);
  animation: whatsapp-breathe 3.2s var(--ease-smooth) infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.18) rotate(10deg);
  box-shadow: 0 20px 55px rgba(37,211,102,0.60);
}

@keyframes whatsapp-breathe {
  0%, 100% { box-shadow: 0 8px 30px rgba(37,211,102,0.4); }
  50%       { box-shadow: 0 10px 45px rgba(37,211,102,0.65), 0 0 0 10px rgba(37,211,102,0.07); }
}

/* ══════════════════════════════════════
   19. RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; }

  /* Fix menú mobile z-index en Chrome */
  .site-header { 
    z-index: 9999; 
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
  }
  .mobile-menu  { 
    z-index: 9998; 
    padding-top: 80px; 
    justify-content: flex-start;
  }

  .hero-title { font-size: clamp(1.6rem, 7vw, 2.8rem); }

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

  .process-grid::before { display: none; }
  .process-grid { grid-template-columns: 1fr; }

  /* Videos — limitar tamaño en mobile */
  .svc-video-frame {
    max-width: min(280px, 80vw);
    border-radius: 1.4rem;
  }
  .svc-video { border-radius: 1.1rem; }

  .mission-inner {
    grid-template-columns: 1fr;
    gap: var(--sp-10);
  }
  .mission-video-frame {
    max-width: min(300px, 82vw);
    margin-inline: auto;
  }

  /* Hero video no supera pantalla */
  .hero-video-bg { object-position: center center; }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand-desc { max-width: 100%; margin-inline: auto; }
  .footer-socials { justify-content: center; }

  .cta-btn-group { flex-direction: column; align-items: center; }

  /* Animaciones más ligeras en mobile */
  .section-animate {
    transition-duration: 500ms;
  }
  .flip-card-container { height: 280px; }
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ══════════════════════════════════════
   20. MODERN ANIMATIONS v3
══════════════════════════════════════ */

/* Hero — staggered page-load entrance */
.hero-eyebrow {
  animation: hero-fade-up 0.8s var(--ease-expo) both;
  animation-delay: 0.15s;
}
.hero-title {
  animation: hero-fade-up 0.9s var(--ease-expo) both;
  animation-delay: 0.3s;
}
.hero-subtitle {
  animation: hero-fade-up 0.9s var(--ease-expo) both;
  animation-delay: 0.48s;
}
.hero-cta {
  animation: hero-fade-up 0.8s var(--ease-expo) both;
  animation-delay: 0.62s;
}
.hero-scroll {
  animation: hero-fade-up 0.7s var(--ease-expo) both,
             scroll-bounce 2s var(--ease-smooth) 1.4s infinite;
}

@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Nav — subtle entrance from top */
.nav-logo {
  animation: nav-drop 0.55s var(--ease-expo) both;
  animation-delay: 0.05s;
}
.nav-links {
  animation: nav-drop 0.55s var(--ease-expo) both;
  animation-delay: 0.12s;
}
.nav-actions {
  animation: nav-drop 0.55s var(--ease-expo) both;
  animation-delay: 0.18s;
}

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

/* Nav logo glow on hover */
.nav-logo:hover .nav-logo-name {
  filter: drop-shadow(0 0 12px rgba(232,32,58,0.4));
}

/* Nav underline — faster expo curve */
.nav-link::after {
  transition: width 0.32s var(--ease-expo);
}

/* Section tag — animated underline on scroll reveal */
.section-tag {
  position: relative;
}
.section-tag::after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: var(--grad-accent);
  border-radius: var(--radius-full);
  margin-top: 4px;
  transition: width 0.65s var(--ease-expo) 0.3s;
}
.section-animate.animate-in .section-tag::after {
  width: 100%;
}

/* Flip-card front — shimmer sweep on hover */
.flip-card-front {
  overflow: hidden;
}
.flip-card-front::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(232,32,58,0.06) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  transition: transform 0.65s var(--ease-smooth);
  pointer-events: none;
}
.flip-card-container:hover .flip-card-front::after {
  transform: translateX(100%);
}

/* Stat numbers — pop-in when section reveals */
.section-animate.animate-in .stat-number {
  animation: count-reveal 0.65s var(--ease-back) both;
  animation-delay: 0.2s;
}
.section-animate.animate-in .stat-card:nth-child(2) .stat-number { animation-delay: 0.3s; }
.section-animate.animate-in .stat-card:nth-child(3) .stat-number { animation-delay: 0.4s; }
.section-animate.animate-in .stat-card:nth-child(4) .stat-number { animation-delay: 0.5s; }

@keyframes count-reveal {
  from { opacity: 0; transform: scale(0.65) translateY(12px); }
  to   { opacity: 1; transform: scale(1)    translateY(0); }
}

/* Footer links — slide-right on hover */
.footer-link {
  transition: color var(--dur-fast) var(--ease-smooth),
              transform var(--dur-base) var(--ease-back);
  display: inline-block;
}
.footer-link:hover {
  color: var(--clr-accent);
  transform: translateX(5px);
}

/* Social icon — bounce on hover */
.footer-social {
  transition: transform var(--dur-base) var(--ease-back),
              box-shadow var(--dur-base) var(--ease-smooth),
              background var(--dur-fast);
}
.footer-social:hover {
  transform: translateY(-6px) scale(1.12);
  box-shadow: 0 12px 30px rgba(232,32,58,0.18);
}

/* Performance hint for animated elements */
.flip-card,
.process-step,
.stat-card,
.tcard,
.btn,
.whatsapp-btn {
  will-change: transform;
}

/* ══════════════════════════════════════
   21. DYNAMIC ENHANCEMENTS
══════════════════════════════════════ */

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--grad-accent);
  z-index: 10002;
  transition: width 80ms linear;
  pointer-events: none;
  border-radius: 0 2px 2px 0;
}

/* Hero overlay — keeps text readable over any video */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 1;
  pointer-events: none;
}

/* Rotating hero word */
.hero-rotating-text {
  display: inline-block;
  transition: opacity 0.32s var(--ease-smooth), transform 0.32s var(--ease-smooth);
}
.hero-rotating-text.is-leaving {
  opacity: 0;
  transform: translateY(-12px);
}

/* Active nav link */
.nav-link.is-active {
  color: var(--clr-accent) !important;
}
.nav-link.is-active::after {
  width: 100% !important;
}

/* AI Markdown output */
.ai-md-h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--clr-accent);
  margin: 1rem 0 0.35rem;
}
.ai-md-h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--clr-text);
  margin: 0.8rem 0 0.3rem;
}
.ai-md-h5 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--clr-text);
  margin: 0.6rem 0 0.2rem;
}
.ai-md-list {
  padding-left: 1.3rem;
  margin: 0.4rem 0;
}
.ai-md-list li {
  margin: 0.25rem 0;
  color: var(--clr-text-muted);
  font-size: var(--fs-sm);
  line-height: 1.6;
}
#ai-result p {
  margin: 0.3rem 0;
  color: var(--clr-text-muted);
  font-size: var(--fs-sm);
  line-height: 1.7;
}

/* Stats counter flash on reveal */
@keyframes stat-pop {
  0%   { transform: scale(0.7) translateY(10px); opacity: 0; }
  60%  { transform: scale(1.06); }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

/* ── Contact Form ───────────────────────────── */
.contact-container,
.cta-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 992px) {
  .contact-container,
  .cta-box {
    grid-template-columns: 1fr;
  }
}

.contact-form {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  padding: 36px;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(232, 32, 58, 0.08);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: box-shadow var(--dur-base), border-color var(--dur-base);
}

.dark-theme .contact-form {
  background: var(--clr-surface);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(232, 32, 58, 0.15);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--clr-text);
}

.form-input {
  width: 100%;
  padding: 13px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  background: var(--clr-bg);
  color: var(--clr-text);
  font-family: inherit;
  font-size: 15px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06), inset 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: all var(--dur-fast) var(--ease-smooth);
}

.dark-theme .form-input {
  background: var(--clr-surface-2);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25), inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.form-input:hover {
  border-color: rgba(232, 32, 58, 0.35);
  box-shadow: 0 4px 14px rgba(232, 32, 58, 0.1), inset 0 1px 2px rgba(0, 0, 0, 0.03);
}

.form-input:focus {
  outline: none;
  border-color: var(--clr-primary);
  background: var(--clr-bg);
  box-shadow: 0 0 0 3px rgba(232, 32, 58, 0.2), 0 6px 18px rgba(232, 32, 58, 0.12);
}

.dark-theme .form-input:focus {
  background: var(--clr-surface-2);
  box-shadow: 0 0 0 3px rgba(232, 32, 58, 0.25), 0 6px 18px rgba(232, 32, 58, 0.2);
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

/* ── Testimonials ───────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.testimonial-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 30px;
  backdrop-filter: blur(12px);
  transition: transform var(--dur-fast), border-color var(--dur-fast);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--clr-primary);
}

.testimonial-stars {
  color: #fbbf24;
  margin-bottom: 15px;
  font-size: 18px;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  color: var(--clr-text-muted);
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--clr-primary);
}

.testimonial-name {
  font-weight: 700;
  font-size: 16px;
}

.testimonial-role {
  font-size: 14px;
  color: var(--clr-text-muted);
}

/* ── Visual FX: Aurora Blobs ─────────────────── */
.aurora-container {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
  animation: float-blob 20s infinite alternate ease-in-out;
}

.aurora-1 {
  width: 400px; height: 400px;
  background: var(--clr-primary);
  top: -100px; right: -100px;
}

.aurora-2 {
  width: 350px; height: 350px;
  background: #6d28d9; /* Deep purple */
  bottom: -50px; left: -50px;
  animation-delay: -10s;
}

@keyframes float-blob {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-50px, 50px) scale(1.1); }
  66% { transform: translate(50px, -50px) scale(0.9); }
  100% { transform: translate(0, 0) scale(1); }
}

/* ── Visual FX: Custom Cursor ────────────────── */
@media (pointer: fine) {
  body {
    cursor: none;
  }
  a, button, input, textarea, .magnetic {
    cursor: none !important;
  }

  .cursor-dot, .cursor-outline {
    position: fixed;
    top: 0; left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
  }

  .cursor-dot {
    width: 8px; height: 8px;
    background-color: var(--clr-primary);
  }

  .cursor-outline {
    width: 40px; height: 40px;
    border: 2px solid rgba(232, 32, 58, 0.5);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
  }
}

/* ══════════════════════════════════════════════════════════
   19. CORPORATE LEARNING & SERVICES SPOTLIGHT (L&D)
══════════════════════════════════════════════════════════ */

/* Home Services Spotlight Banner */
.services-spotlight-banner {
  margin-top: var(--sp-12);
  background: linear-gradient(135deg, rgba(232, 32, 58, 0.04) 0%, rgba(124, 58, 237, 0.06) 100%);
  border: 1px solid rgba(232, 32, 58, 0.18);
  border-radius: var(--radius-xl);
  padding: var(--sp-8) var(--sp-12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-8);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-base), border-color var(--dur-base), box-shadow var(--dur-base);
}

.services-spotlight-banner:hover {
  border-color: rgba(232, 32, 58, 0.35);
  box-shadow: 0 20px 50px rgba(232, 32, 58, 0.12);
  transform: translateY(-2px);
}

.spotlight-content {
  flex: 1;
}

.spotlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 32, 58, 0.1);
  color: var(--clr-accent);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-3);
  border: 1px solid rgba(232, 32, 58, 0.2);
}

.spotlight-title {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--clr-text);
  margin-bottom: var(--sp-2);
}

.spotlight-desc {
  font-size: var(--fs-base);
  color: var(--clr-text-muted);
  max-width: 680px;
  line-height: 1.6;
  margin-bottom: var(--sp-4);
}

.spotlight-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.spotlight-tag-item {
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: 5px 12px;
  background: var(--clr-surface);
  color: var(--clr-text);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-full);
}

.spotlight-action {
  flex-shrink: 0;
}

/* Learning Page Specific Styles */
.learning-hero {
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 150px;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.learning-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 32, 58, 0.12);
  color: var(--clr-accent);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--sp-4);
  border: 1px solid rgba(232, 32, 58, 0.25);
  box-shadow: 0 4px 15px rgba(232, 32, 58, 0.1);
}

.learning-stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--sp-6);
  margin-top: var(--sp-12);
  padding: var(--sp-6) var(--sp-8);
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--glow-card);
}

.learning-stat-item {
  text-align: center;
}

.learning-stat-value {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: 900;
  color: var(--clr-accent);
  line-height: 1.1;
  margin-bottom: 4px;
}

.learning-stat-label {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  font-weight: 600;
}

/* Learning Services Grid */
.learning-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--sp-8);
  margin-top: var(--sp-8);
}

.learning-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  transition: all var(--dur-base) var(--ease-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: var(--glow-card);
}

.learning-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad-accent);
  opacity: 0;
  transition: opacity var(--dur-base);
}

.learning-card:hover {
  transform: translateY(-6px);
  border-color: rgba(232, 32, 58, 0.3);
  box-shadow: 0 20px 45px rgba(232, 32, 58, 0.12);
}

.learning-card:hover::before {
  opacity: 1;
}

.learning-card-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(232, 32, 58, 0.12), rgba(124, 58, 237, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--clr-accent);
  margin-bottom: var(--sp-6);
  border: 1px solid rgba(232, 32, 58, 0.2);
  transition: transform var(--dur-base) var(--ease-spring);
}

.learning-card:hover .learning-card-icon-wrap {
  transform: scale(1.1) rotate(4deg);
  background: var(--grad-accent);
  color: #ffffff;
}

.learning-card-num {
  position: absolute;
  top: var(--sp-6);
  right: var(--sp-6);
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 900;
  color: var(--clr-text-subtle);
  opacity: 0.35;
  user-select: none;
}

.learning-card-title {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 800;
  color: var(--clr-text);
  margin-bottom: var(--sp-2);
}

.learning-card-desc {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  line-height: 1.6;
  margin-bottom: var(--sp-6);
  flex-grow: 0;
}

.learning-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  border-top: 1px solid var(--clr-border);
  padding-top: var(--sp-4);
}

.learning-card-list li {
  font-size: var(--fs-sm);
  color: var(--clr-text);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}

.learning-card-list li i {
  color: var(--clr-accent);
  font-size: 12px;
  margin-top: 4px;
  flex-shrink: 0;
}

/* Methodology Grid */
.learning-process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--sp-6);
  margin-top: var(--sp-12);
}

.learning-step-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
  position: relative;
  transition: all var(--dur-base);
  box-shadow: var(--glow-card);
}

.learning-step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 32, 58, 0.3);
  box-shadow: 0 16px 36px rgba(232, 32, 58, 0.1);
}

.learning-step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-accent);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-4);
  box-shadow: 0 6px 18px rgba(232, 32, 58, 0.3);
}

.learning-step-title {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 800;
  color: var(--clr-text);
  margin-bottom: var(--sp-2);
}

.learning-step-desc {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  line-height: 1.6;
}

/* Why Choose Us Grid */
.learning-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-6);
  margin-top: var(--sp-8);
}

.learning-why-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  transition: all var(--dur-base);
}

.learning-why-card:hover {
  transform: translateY(-3px);
  border-color: rgba(232, 32, 58, 0.25);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.learning-why-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: rgba(232, 32, 58, 0.1);
  color: var(--clr-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.learning-why-title {
  font-family: var(--font-display);
  font-size: var(--fs-base);
  font-weight: 800;
  color: var(--clr-text);
  margin-bottom: 4px;
}

.learning-why-desc {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .services-spotlight-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: var(--sp-6);
  }
  .spotlight-action {
    width: 100%;
  }
  .spotlight-action .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Widescreen Video Showcase for Corporate Learning */
.learning-video-section {
  padding: var(--sp-24) 0;
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  position: relative;
  overflow: hidden;
}

.learning-video-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: var(--sp-8);
  position: relative;
}

.learning-video-frame {
  position: relative;
  width: 100%;
  max-width: 880px;
  border-radius: var(--radius-xl);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(232, 32, 58, 0.15);
  background: #000;
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-smooth), box-shadow var(--dur-base);
}

.learning-video-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 35px 90px rgba(232, 32, 58, 0.22), 0 0 0 1px rgba(232, 32, 58, 0.35);
}

.learning-video-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  border-radius: var(--radius-xl);
  outline: none;
  background: #000;
}


