/* ============================================================
   KERNEL IT SOLUTIONS — Premium Stylesheet v2.0
   khernel.com
   ============================================================ */

/* ── VARIABLES ── */
:root {
  --deep:    #08020f;
  --dark:    #130828;
  --mid:     #2a1255;
  --vivid:   #6d28d9;
  --bright:  #a855f7;
  --glow:    #c084fc;
  --white:   #ffffff;
  --light:   #e9d5ff;
  --muted:   #9d8bb0;
  --accent:  #06d6a0;
  --accent2: #38bdf8;

  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 26px;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  /* Prevent scroll during page load */
  overflow-x: hidden;
}

body {
  background: var(--deep);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
  cursor: none; /* Custom cursor active */
}

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

img {
  max-width: 100%;
  display: block;
}

a { text-decoration: none; }
ul { list-style: none; }

/* ── CUSTOM CURSOR ── */
.cursor {
  width: 8px;
  height: 8px;
  background: var(--bright);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, background-color 0.2s, width 0.25s var(--ease-out-expo), height 0.25s var(--ease-out-expo);
  will-change: transform;
}

.cursor-follower {
  width: 32px;
  height: 32px;
  border: 1.5px solid rgba(168, 85, 247, 0.5);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.18s var(--ease-out-expo), width 0.3s var(--ease-out-expo), height 0.3s var(--ease-out-expo), opacity 0.3s;
  will-change: transform;
}

.cursor.hovering {
  width: 6px;
  height: 6px;
  background: var(--accent);
}

.cursor-follower.hovering {
  width: 52px;
  height: 52px;
  border-color: rgba(6, 214, 160, 0.4);
}

/* ── TYPOGRAPHY ── */
h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.4rem;
  animation: fadeUp 0.9s 0.15s var(--ease-out-expo) both;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.8vw, 2.85rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 0.9rem;
}

h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.93rem;
  margin-bottom: 0.26rem;
}

/* Gradient text */
.grad {
  background: linear-gradient(135deg, var(--bright) 0%, var(--glow) 45%, #e879f9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── LAYOUT UTILITIES ── */
.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--bright);
  font-weight: 600;
  margin-bottom: 0.9rem;
}

.divider {
  width: 52px;
  height: 3px;
  background: linear-gradient(90deg, var(--vivid), var(--bright));
  border-radius: 3px;
  margin-bottom: 1.4rem;
}

.section-intro {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
  max-width: 540px;
}

.section-header { margin-bottom: 3.5rem; }
.centered { text-align: center; }
.centered .section-intro,
.centered .divider { margin-left: auto; margin-right: auto; }

/* ── BUTTONS ── */
.btn-primary {
  background: linear-gradient(135deg, var(--vivid), var(--bright));
  color: #fff;
  padding: 0.9rem 2.1rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 0 30px rgba(109, 40, 217, 0.42);
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--bright), #e879f9);
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: inherit;
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 52px rgba(109, 40, 217, 0.65); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary span { position: relative; z-index: 1; }

.btn-secondary {
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: var(--glow);
  padding: 0.9rem 2.1rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background-color var(--transition), transform var(--transition), border-color var(--transition);
  display: inline-block;
}

.btn-secondary:hover {
  background: rgba(168, 85, 247, 0.2);
  border-color: rgba(168, 85, 247, 0.55);
  transform: translateY(-2px);
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 6%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-bottom: 1px solid rgba(109, 40, 217, 0);
  transition: background-color 0.5s ease, backdrop-filter 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
}

.navbar.scrolled {
  background: rgba(8, 2, 15, 0.85);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(168, 85, 247, 0.15);
  box-shadow: 0 2px 40px rgba(0, 0, 0, 0.4);
}

/* Links on dark hero */
.navbar:not(.scrolled) .navbar__links a { color: var(--light); }
.navbar:not(.scrolled) .navbar__links a:hover { color: var(--white); }
.navbar:not(.scrolled) .navbar__hamburger span { background: var(--white); }

/* Links once scrolled (still dark bg, white text) */
.navbar.scrolled .navbar__links a { color: var(--light); }
.navbar.scrolled .navbar__links a:hover { color: var(--bright); }

.navbar__logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: screen;
  filter: brightness(1.1);
}

.navbar__links {
  display: flex;
  gap: 2rem;
}

.navbar__links a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  position: relative;
}

.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--vivid);
  border-radius: 2px;
  transition: width 0.3s var(--ease-out-expo);
}

.navbar__links a:hover::after { width: 100%; }

.navbar__cta {
  background: linear-gradient(135deg, var(--vivid), var(--bright)) !important;
  color: #fff !important;
  padding: 0.45rem 1.4rem;
  border-radius: 50px;
  font-weight: 600 !important;
  box-shadow: 0 4px 20px rgba(109, 40, 217, 0.3);
  transition: opacity 0.2s, transform 0.2s !important;
}

.navbar__cta:hover { opacity: 0.9; transform: translateY(-1px) !important; }
.navbar__cta::after { display: none !important; }

.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: none;
  background: none;
  border: none;
  padding: 5px;
}

.navbar__hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--light);
  border-radius: 2px;
  transition: 0.3s;
}

/* Hamburger → X animation */
.navbar__hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.navbar__hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 110px 6% 80px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 0% 50%, rgba(109, 40, 217, 0.28) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 100% 20%, rgba(168, 85, 247, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(192, 132, 252, 0.12) 0%, transparent 60%);
  animation: bgBreath 10s ease-in-out infinite alternate;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(168, 85, 247, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 80% at 30% 50%, black 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 30% 50%, black 10%, transparent 72%);
}

/* Particle canvas */
.hero__particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.hero__left { max-width: 580px; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(109, 40, 217, 0.12);
  border: 1px solid rgba(109, 40, 217, 0.25);
  border-radius: 50px;
  padding: 0.38rem 1rem;
  font-size: 0.72rem;
  color: var(--glow);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.8rem;
  animation: fadeDown 0.8s ease both;
}

.hero__badge-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: blink 1.8s ease infinite;
  box-shadow: 0 0 6px var(--accent);
}

.hero__sub {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.9s 0.32s var(--ease-out-expo) both;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 0.9s 0.48s var(--ease-out-expo) both;
}

.hero__stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(168, 85, 247, 0.18);
  animation: fadeUp 0.9s 0.65s var(--ease-out-expo) both;
  flex-wrap: wrap;
}

.hero__stat-num {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--bright), var(--glow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__stat-label {
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 2px;
}

.hero__right {
  position: relative;
  animation: fadeLeft 0.9s 0.3s var(--ease-out-expo) both;
}

.hero__img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  /* Animated gradient border */
  padding: 2px;
  background: linear-gradient(135deg, rgba(109,40,217,0.6), rgba(168,85,247,0.4), rgba(6,214,160,0.3));
  background-size: 300% 300%;
  animation: borderGlow 6s ease infinite;
}

.hero__img-wrap > img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-lg) - 2px);
  filter: saturate(1.1) brightness(1.05);
  display: block;
}

.hero__img-wrap::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: calc(var(--radius-lg) - 2px);
  background:
    linear-gradient(to right, var(--deep) 0%, transparent 20%, transparent 80%, var(--deep) 100%),
    linear-gradient(to bottom, transparent 60%, var(--deep) 100%),
    linear-gradient(to top, transparent 80%, rgba(8, 2, 15, 0.4) 100%);
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  width: 80%; height: 70%;
  top: 10%; left: 10%;
  background: radial-gradient(ellipse, rgba(109, 40, 217, 0.55) 0%, transparent 70%);
  filter: blur(40px);
  z-index: -1;
  animation: glowPulse 5s ease-in-out infinite alternate;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 3;
  animation: fadeUp 1s 1s ease both;
}

.hero__scroll-dot {
  width: 6px;
  height: 24px;
  border: 2px solid rgba(168, 85, 247, 0.4);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}

.hero__scroll-dot::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 6px;
  background: var(--bright);
  border-radius: 1px;
  animation: scrollBounce 2s ease infinite;
}

/* ── SECTIONS (general) ── */
.section {
  padding: 96px 6%;
  position: relative;
  z-index: 1;
}

.section--dark    { background: rgba(19, 8, 40, 0.5); }
.section--darker  { background: rgba(8, 2, 15, 0.5); }
.section--split {
  background: rgba(19, 8, 40, 0.35);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

/* ── SERVICES ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.4rem;
  max-width: 1180px;
  margin: 0 auto;
}

.service-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(168, 85, 247, 0.12);
  border-radius: var(--radius-md);
  padding: 1.9rem;
  transition: transform var(--transition), border-color var(--transition), background-color var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

/* Animated shimmer top border */
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--vivid), var(--bright), transparent);
  transition: left 0.5s var(--ease-out-expo);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(168, 85, 247, 0.35);
  background: rgba(109, 40, 217, 0.07);
  box-shadow: 0 20px 60px rgba(109, 40, 217, 0.12);
}

.service-card:hover::before { left: 100%; }

.service-card__icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(109, 40, 217, 0.22), rgba(168, 85, 247, 0.12));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  border: 1px solid rgba(168, 85, 247, 0.22);
  transition: transform 0.35s var(--ease-out-expo), background-color 0.3s, border-color 0.3s;
  color: var(--bright);
}

.service-card__icon svg {
  width: 24px; height: 24px;
  stroke: var(--bright);
  transition: stroke 0.3s;
}

.service-card:hover .service-card__icon {
  transform: scale(1.12) rotate(-4deg);
  background: linear-gradient(135deg, rgba(109, 40, 217, 0.4), rgba(168, 85, 247, 0.25));
  border-color: rgba(168, 85, 247, 0.5);
}

.service-card:hover .service-card__icon svg { stroke: var(--glow); }

.service-card p {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.65;
  flex: 1;
}

/* "Ver más" hint */
.service-card__expand-hint {
  font-size: 0.72rem;
  color: var(--bright);
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-top: 1.1rem;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s, transform 0.3s var(--ease-out-expo);
}

.service-card:hover .service-card__expand-hint {
  opacity: 1;
  transform: translateX(0);
}

/* Badge on featured card */
.service-card__badge {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: linear-gradient(135deg, var(--vivid), var(--bright));
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.22rem 0.65rem;
  border-radius: 50px;
  box-shadow: 0 0 14px rgba(109, 40, 217, 0.45);
}

/* ── SERVICE EXPAND PANEL ── */
.service-expand {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  /* Hidden by default via pointer-events + visibility */
  visibility: hidden;
  pointer-events: none;
}

.service-expand.active {
  visibility: visible;
  pointer-events: all;
}

.service-expand__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 2, 15, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.35s ease;
  cursor: default;
}

.service-expand.active .service-expand__backdrop { opacity: 1; }

.service-expand__panel {
  position: relative;
  z-index: 1;
  background: linear-gradient(145deg, rgba(30, 10, 60, 0.98), rgba(8, 2, 15, 0.98));
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: 24px;
  width: 100%;
  max-width: 560px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6), 0 0 80px rgba(109,40,217,0.15);
  opacity: 0;
  transform: scale(0.92) translateY(20px);
  transition: opacity 0.4s var(--ease-out-expo), transform 0.4s var(--ease-out-expo);
}

.service-expand.active .service-expand__panel {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.service-expand__close {
  position: absolute;
  top: 1rem; right: 1rem;
  z-index: 10;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  transition: background-color 0.2s, transform 0.2s;
}

.service-expand__close:hover { background: rgba(168,85,247,0.25); transform: scale(1.1); }
.service-expand__close svg { width: 16px; height: 16px; stroke: var(--light); }

.service-expand__img-wrap {
  width: 100%;
  height: 220px;
  position: relative;
  overflow: hidden;
}

.service-expand__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.05);
  transition: transform 0.6s var(--ease-out-expo);
}

.service-expand.active .service-expand__img-wrap img { transform: scale(1); }

.service-expand__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(8,2,15,0.95) 100%);
}

.service-expand__body {
  padding: 1.6rem 2rem 2rem;
}

.service-expand__icon-wrap {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(109,40,217,0.35), rgba(168,85,247,0.2));
  border: 1px solid rgba(168,85,247,0.35);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--bright);
}

.service-expand__icon-wrap svg { width: 24px; height: 24px; stroke: var(--glow); }

.service-expand__body h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.service-expand__body p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.72;
}

/* ── WHY US ── */
.why__wrap {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

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

.why__item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(168, 85, 247, 0.1);
  border-radius: 16px;
  padding: 1.35rem;
  transition: border-color var(--transition), background-color var(--transition), transform var(--transition);
}

.why__item:hover {
  border-color: rgba(168, 85, 247, 0.3);
  background: rgba(109, 40, 217, 0.06);
  transform: translateY(-3px);
}

.why__icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 1px;
  transition: transform 0.3s var(--ease-out-expo);
}

.why__item:hover .why__icon { transform: scale(1.2); }
.why__item p { color: var(--muted); font-size: 0.82rem; line-height: 1.6; }

/* ── ABOUT ── */
.about__visual {
  position: relative;
  height: 420px;
  border-radius: var(--radius-lg);
}

.about__visual-inner {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(42, 18, 85, 0.88), rgba(8, 2, 15, 0.92));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(168, 85, 247, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 1rem;
}

.about__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
}

.about__orb--1 {
  width: 200px; height: 200px;
  background: rgba(109, 40, 217, 0.4);
  top: 5%; left: 5%;
  animation: float 7s ease-in-out infinite;
}

.about__orb--2 {
  width: 155px; height: 155px;
  background: rgba(168, 85, 247, 0.28);
  bottom: 5%; right: 5%;
  animation: float 7s 2.5s ease-in-out infinite;
}

.about__logo {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
}

.about__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.3));
}

.about__list {
  margin-top: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
}

.about__list li {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  color: var(--light);
  font-size: 0.92rem;
  transition: color 0.2s;
}

.about__list li::before {
  content: "▹";
  color: var(--bright);
  flex-shrink: 0;
}

.about__list li:hover { color: var(--white); }

/* ── TEAM ── */
.team-grid {
  display: flex;
  justify-content: center;
  gap: 1.8rem;
  flex-wrap: wrap;
  max-width: 860px;
  margin: 0 auto;
}

.team-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(168, 85, 247, 0.13);
  border-radius: 22px;
  padding: 2rem 1.6rem;
  text-align: center;
  width: 248px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
  cursor: none;
}

.team-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--vivid), var(--bright));
  transform: scaleX(0);
  transition: transform 0.4s var(--ease-out-expo);
}

.team-card:hover {
  transform: translateY(-8px);
  border-color: rgba(168, 85, 247, 0.36);
  box-shadow: 0 24px 64px rgba(109, 40, 217, 0.15);
}

.team-card:hover::after { transform: scaleX(1); }

/* Avatar with ring pulse */
.team-card__avatar-wrap {
  position: relative;
  width: 88px;
  margin: 0 auto 1rem;
}

.team-card__avatar-wrap::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--vivid), var(--bright), var(--accent));
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 0;
}

.team-card:hover .team-card__avatar-wrap::before { opacity: 1; }

.team-card__avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(168, 85, 247, 0.36);
  position: relative;
  z-index: 1;
  transition: border-color 0.3s;
}

.team-card:hover .team-card__avatar { border-color: transparent; }

.team-card__role {
  color: var(--bright);
  font-size: 0.77rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.nickname {
  color: #77B832;
  font-size: 0.77rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  font-family: 'Courier New', monospace;
}

.team-card__bio {
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 0.48rem;
  line-height: 1.55;
}

/* ── CONTACT ── */
.contact__inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.contact-form {
  display: grid;
  gap: 0.95rem;
  margin-top: 2.4rem;
  text-align: left;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group label {
  font-size: 0.74rem;
  letter-spacing: 0.07em;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: var(--radius-sm);
  padding: 0.82rem 1rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--vivid);
  background: rgba(109, 40, 217, 0.07);
  box-shadow: 0 0 0 3px rgba(109, 40, 217, 0.15);
}

.form-group textarea { resize: vertical; min-height: 115px; }
.form-group select option { background: #130828; }

/* Form status messages */
.form-status {
  font-size: 0.88rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(6, 214, 160, 0.1);
  border: 1px solid rgba(6, 214, 160, 0.3);
  color: var(--accent);
}

.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}

/* Submit button with spinner */
.btn-submit {
  background: linear-gradient(135deg, var(--vivid), var(--bright));
  color: #fff;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  cursor: none;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  box-shadow: 0 0 28px rgba(109, 40, 217, 0.38);
  width: 100%;
  margin-top: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.btn-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 0 48px rgba(109, 40, 217, 0.58);
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-submit__spinner {
  display: none;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.btn-submit.loading .btn-submit__text { display: none; }
.btn-submit.loading .btn-submit__spinner { display: block; }

/* ── FOOTER ── */
.footer {
  background: rgba(4, 1, 10, 0.9);
  border-top: 1px solid rgba(168, 85, 247, 0.12);
  padding: 2.5rem 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.footer__logo img { height: 32px; object-fit: contain; mix-blend-mode: screen; filter: brightness(1.1); }

.footer__copy {
  color: var(--muted);
  font-size: 0.82rem;
}

.footer__links {
  display: flex;
  gap: 1.5rem;
}

.footer__links a {
  color: var(--muted);
  font-size: 0.82rem;
  transition: color 0.2s;
}

.footer__links a:hover { color: var(--bright); }

/* ── ANIMATIONS ── */
@keyframes fadeUp    { from { opacity: 0; transform: translateY(32px); }  to { opacity: 1; transform: translateY(0); } }
@keyframes fadeDown  { from { opacity: 0; transform: translateY(-18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeLeft  { from { opacity: 0; transform: translateX(40px); }  to { opacity: 1; transform: translateX(0); } }
@keyframes bgBreath  { 0% { opacity: 0.8; } 100% { opacity: 1.1; } }
@keyframes glowPulse { 0% { opacity: 0.6; transform: scale(1); } 100% { opacity: 1; transform: scale(1.08); } }
@keyframes float     { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-22px); } }
@keyframes blink     { 0%, 100% { opacity: 1; } 50% { opacity: 0.2; } }
@keyframes spin      { to { transform: rotate(360deg); } }
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  80% { transform: translateX(-50%) translateY(10px); opacity: 0; }
}
@keyframes borderGlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .hero__inner       { grid-template-columns: 1fr; text-align: center; }
  .hero__left        { max-width: 100%; }
  .hero__actions,
  .hero__stats       { justify-content: center; }
  .hero__right       { display: none; }
  .why__wrap         { grid-template-columns: 1fr; }
  .section--split    { grid-template-columns: 1fr; gap: 2.5rem; }
  .about__visual     { height: 260px; order: -1; }
}

@media (max-width: 700px) {
  body { cursor: auto; } /* restore cursor on touch */
  .cursor, .cursor-follower { display: none; }

  .navbar__links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: rgba(8, 2, 15, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 1.5rem 6%;
    gap: 1.2rem;
    border-bottom: 1px solid rgba(109, 40, 217, 0.15);
  }

  .navbar__links.open { display: flex; }
  .navbar__hamburger  { display: flex; }
  .why__grid          { grid-template-columns: 1fr; }
  .form-row           { grid-template-columns: 1fr; }
  .footer             { flex-direction: column; text-align: center; }
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}