@import url('https://fonts.cdnfonts.com/css/ultima');

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

:root {
  --bg:          #050508;
  --red:         #ff2a2a;
  --red-dark:    #7a0000;
  --red-mid:     #c0392b;
  --glass-bg:    rgba(255,255,255,0.03);
  --glass-border:rgba(255,255,255,0.08);
  --text:        #e8e8f0;
  --text-muted:  #6b6b80;
  --text-faint:  #3a3a4a;
  --radius:      14px;
  --radius-lg:   20px;
  --transition:  0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; width: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: 'Ultima', sans-serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── TYPOGRAPHY ─────────────────────────────────────────────────*/
.gradient-text {
  background: linear-gradient(135deg, var(--red) 0%, #ff6b6b 50%, var(--red-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-block;
  font-family: 'Patrick Hand', cursive;
  font-size: .9rem;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: none;
  color: var(--red);
  margin-bottom: 12px;
}

.hero__badge {
  font-family: 'Patrick Hand', cursive;
}

.tag {
  font-family: 'Patrick Hand', cursive;
  font-size: .8rem;
  letter-spacing: .04em;
  text-transform: none;
}

.hero__badge-float {
  font-family: 'Ultima', sans-serif;
}



.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 12px;
}
.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto 20px;
}

/* ─── BUTTONS ────────────────────────────────────────────────────*/
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  box-shadow: 0 0 24px rgba(255,42,42,.35);
}
.btn--primary:hover {
  box-shadow: 0 0 40px rgba(255,42,42,.6);
  transform: translateY(-2px);
}
.btn--ghost {
  background: transparent;
  border: 1.5px solid var(--glass-border);
  color: var(--text);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover {
  border-color: rgba(255,42,42,.5);
  color: var(--red);
  box-shadow: 0 0 20px rgba(255,42,42,.15);
}
.btn--ghost-sm {
  font-size: .85rem;
  padding: 10px 20px;
  background: transparent;
  border: 1.5px solid var(--glass-border);
  color: var(--text-muted);
  border-radius: 100px;
  transition: var(--transition);
}
.btn--ghost-sm:hover { color: var(--red); border-color: var(--red); }

/* ─── TAG ────────────────────────────────────────────────────────*/
.tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(255,42,42,.1);
  border: 1px solid rgba(255,42,42,.2);
  border-radius: 100px;
  padding: 4px 12px;
}

/* ─── SCROLL ANIMATIONS ──────────────────────────────────────────*/
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ─── NAV ────────────────────────────────────────────────────────*/
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(8,4,4,.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 0 24px;
  transition: background .3s, box-shadow .3s;
}
.nav.scrolled {
  background: rgba(5,5,8,.92);
  box-shadow: 0 2px 24px rgba(0,0,0,.4);
}
.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  height: 68px;
}
.nav__logo {
  font-family: 'Ultima', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -.01em;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}
.nav__logo-icon {
  color: var(--red);
  font-size: 1.2rem;
  line-height: 1;
}
.nav__logo-red { color: var(--red); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
  margin: 0 auto;   /* center in remaining space */
}
.nav__links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .2s;
  position: relative;
  padding-bottom: 4px;
}
.nav__links a:hover { color: var(--text); }

/* active underline — matches both JS (.active) and HTML class (.nav__link--active) */
.nav__link--active,
.nav__links a.active {
  color: var(--red) !important;
}
.nav__link--active::after,
.nav__links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -4px;
  height: 2px;
  border-radius: 2px;
  background: var(--red);
  box-shadow: 0 0 8px rgba(255,42,42,.6);
}

.nav__cta {
  flex-shrink: 0;
  font-size: .85rem;
  font-weight: 400; /* Thin look */
  padding: 11px 22px;
  background: var(--red); /* Solid color instead of gradient for smooth transition */
  border: 1px solid var(--red);
  color: #fff;
  transition: var(--transition);
  animation: wiggleWait 6s cubic-bezier(.36,.07,.19,.97) infinite;
}

@keyframes wiggleWait {
  0%, 75%, 100% { 
    transform: rotate(0deg) scale(1); 
    background: var(--red); 
    color: #fff; 
    border-color: var(--red);
    box-shadow: 0 0 24px rgba(255,42,42,.35); 
    text-shadow: none;
  }
  80% { 
    transform: rotate(-2deg) scale(1.04); 
    background: var(--red); 
    color: #fff; 
    border-color: var(--red);
    box-shadow: 0 0 40px rgba(255,42,42,.8);
  }
  85% { 
    transform: rotate(2deg) scale(1.04); 
    background: var(--red); 
    color: #fff; 
    border-color: var(--red);
    box-shadow: 0 0 40px rgba(255,42,42,.8);
  }
  90% { 
    transform: rotate(-2deg) scale(1.02); 
    background: var(--red-mid); 
    color: #fff; 
    border-color: var(--red-mid);
    box-shadow: 0 0 30px rgba(255,42,42,.5); 
  }
  95% { 
    transform: rotate(2deg) scale(1.02); 
    background: var(--red-mid); 
    color: #fff; 
    border-color: var(--red-mid);
    box-shadow: 0 0 30px rgba(255,42,42,.5); 
  }
}

.nav__cta:hover {
  animation: hoverDance 0.6s ease-in-out infinite !important;
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  box-shadow: 0 0 35px rgba(255,42,42,.6);
}

@keyframes hoverDance {
  0%   { transform: scale(1.08) rotate(0deg); }
  25%  { transform: scale(1.1) rotate(-1.5deg); }
  50%  { transform: scale(1.08) rotate(0deg); }
  75%  { transform: scale(1.1) rotate(1.5deg); }
  100% { transform: scale(1.08) rotate(0deg); }
}
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  background: rgba(5,5,8,.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--glass-border);
  padding: 12px 0 20px;
}
.nav__mobile a {
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  display: block;
  transition: color .2s;
}
.nav__mobile a:hover { color: var(--red); }
.nav__mobile.open { display: flex; }

/* ─── HERO ───────────────────────────────────────────────────────*/
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
}
.hero__bg-glow {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 70vw;
  height: 90vh;
  background: radial-gradient(ellipse at 60% 40%, rgba(122,0,0,.45) 0%, rgba(255,42,42,.08) 50%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}
#particleCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  border: 1px solid rgba(255,42,42,.3);
  background: rgba(255,42,42,.06);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.hero__hello {
  font-family: 'Patrick Hand', cursive;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.hero__headline {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.04em;
  margin-bottom: 12px;
}
.hero__role {
  font-family: 'Patrick Hand', cursive;
  font-size: clamp(1.6rem, 3.2vw, 2.1rem);
  font-weight: 400;
  color: var(--red);
  letter-spacing: .03em;
  margin-bottom: 20px;
  display: block;
  transform: rotate(-1deg);
  text-shadow: 0 0 20px rgba(255,42,42,.25);
}
.hero__sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 440px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero__social {
  display: flex;
  gap: 20px;
}
.hero__social a {
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.hero__social a:hover { color: var(--red); }

.hero__right { position: relative; }
.hero__char-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero__char-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(200,30,30,.5) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(30px);
}
.hero__char {
  width: 90%;
  max-width: 480px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 40px rgba(255,42,42,.3));
}
.floating {
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0) rotate(-1deg); }
  50%       { transform: translateY(-18px) rotate(1deg); }
}

/* ── 3D Model Canvas ── */
#heroModelCanvas {
  width: 100%;
  height: 520px;
  display: block;
  position: relative;
  z-index: 2;
  border-radius: 20px;
  cursor: grab;
}
#heroModelCanvas:active { cursor: grabbing; }
.hero__char-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 520px;
}
/* Bottom fade — real div overlay above WebGL canvas */
.hero__canvas-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 42%;
  background: linear-gradient(
    to top,
    var(--bg) 0%,
    rgba(8,4,4,.75) 35%,
    rgba(8,4,4,.2) 70%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 4;
  border-radius: 0 0 20px 20px;
}

/* Badges orbit the 3D model — z-index 5 = above fade */
.hero__badge-float {
  position: absolute;
  background: rgba(15,8,8,.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 10px 16px;
  font-size: .85rem;
  font-weight: 600;
  white-space: nowrap;
  z-index: 6;
  animation: floatBadge 3s ease-in-out infinite;
  box-shadow: 0 4px 20px rgba(0,0,0,.4);
}
/* Hi 👋 — left-centre, beside the character */
.hero__badge-float--1 {
  top: 48%;
  left: 0%;
  animation-delay: 0s;
  font-size: 1.4rem;
  padding: 10px 18px;
}
/* Top Rated ⭐ — top-right, above the lamp / head */
.hero__badge-float--2 {
  top: 8%;
  right: 2%;
  animation-delay: .5s;
  color: #ffd700;
  text-shadow: 0 0 10px rgba(255,215,0,.4);
  font-size: 1rem;
  padding: 9px 16px;
}
/* 150+ Projects — right side below mid */
.hero__badge-float--3 {
  top: 62%;
  right: 0%;
  animation-delay: 1s;
  font-size: 1rem;
  padding: 9px 16px;
}

@keyframes floatBadge {
  0%,100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.hero__scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-faint);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  z-index: 2;
}
.hero__scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--red), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 1; height: 50px; }
  50%       { opacity: .3; height: 30px; }
}

/* ─── STATS ──────────────────────────────────────────────────────*/
.stats {
  padding: 80px 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.stats__item {
  text-align: center;
  padding: 32px 20px;
  border-right: 1px solid var(--glass-border);
  transition: background var(--transition);
}
.stats__item:last-child { border-right: none; }
.stats__item:hover { background: var(--glass-bg); }
.stats__num {
  font-family: 'Ultima', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -.05em;
  background: linear-gradient(135deg, var(--red), #ff8080);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stats__plus {
  font-family: 'Ultima', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--red);
}
.stats__tag {
  font-family: 'Ultima', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -.05em;
  background: linear-gradient(135deg, var(--red), #ff8080);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stats__item p {
  font-size: .85rem;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 500;
}

/* ─── CLIENTS MARQUEE ────────────────────────────────────────────*/
.clients-bar {
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  background: rgba(255,42,42,.025);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
}
/* Edge fade masks */
.clients-bar::before,
.clients-bar::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.clients-bar::before {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}
.clients-bar::after {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}
.clients-bar__track-wrap {
  overflow: hidden;
}
.clients-bar__track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}
.clients-bar__track:hover { animation-play-state: paused; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.clients-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 32px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  border-right: 1px solid var(--glass-border);
  transition: color .2s;
  cursor: default;
}
.clients-bar__item:hover { color: var(--text); }
.cb-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  opacity: .85;
  filter: brightness(1.1);
}
.cb-badge {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .55rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: .02em;
  flex-shrink: 0;
}
/* Local PNG logos — icon only */
.cb-logo {
  height: 18px;
  width: auto;
  max-width: 70px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  opacity: .7;
  filter: brightness(0) invert(1);
  transition: opacity .2s;
}
.clients-bar__item--logo-only { padding: 0 28px; }
.clients-bar__item--logo-only:hover .cb-logo { opacity: 1; }

/* ─── PROJECTS ───────────────────────────────────────────────────*/
.projects { padding: 120px 0 80px; }
.projects__featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.projects__big-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}
.projects__big-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(255,42,42,.15);
}
.projects__big-card img {
  height: 300px;
  object-fit: cover;
  transition: transform .5s ease;
}
.projects__big-card:hover img { transform: scale(1.04); }
.projects__big-card-info {
  padding: 24px 28px;
}
.projects__big-card-info h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 10px 0 8px;
}
.projects__big-card-info p {
  color: var(--text-muted);
  font-size: .9rem;
}

/* ─── FEATURED GRID ──────────────────────────────────────────────*/
.featured { padding: 80px 0; }
.featured__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feat-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  backdrop-filter: blur(8px);
}
.feat-card:hover {
  transform: translateY(-8px) rotate(-.5deg);
  box-shadow: 0 24px 60px rgba(255,42,42,.2);
  border-color: rgba(255,42,42,.3);
}
.feat-card__img {
  height: 200px;
  overflow: hidden;
}
.feat-card__img img {
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.feat-card:hover .feat-card__img img { transform: scale(1.06); }
.feat-card__img--grad  { background: linear-gradient(135deg, #0f0020, #2a0050, #ff2a2a22); }
.feat-card__img--grad2 { background: linear-gradient(135deg, #00100f, #003a35, #ff2a2a22); }
.feat-card__img--grad3 { background: linear-gradient(135deg, #100800, #3a2000, #ff8c0022); }
.feat-card__body {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.feat-card__body h4 {
  font-size: 1rem;
  font-weight: 700;
  flex: 1;
  margin: 0 12px;
}
.feat-card__arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: var(--transition);
}
.feat-card:hover .feat-card__arrow {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* ─── EXPERIENCE TIMELINE ────────────────────────────────────────*/
.experience { padding: 120px 0; }
.exp__timeline {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding-left: 24px;
}
.exp__timeline--collapsed::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 220px;
  background: linear-gradient(to bottom, rgba(5,5,8,0), var(--bg));
  pointer-events: none;
  z-index: 10;
}
.exp__timeline::before {
  content: '';
  position: absolute;
  top: 10px; bottom: 0; left: 0;
  width: 2px;
  background: rgba(255,42,42,.15);
  border-radius: 2px;
}

.exp-card {
  position: relative;
  margin-bottom: 24px;
}
.exp-card__dot {
  position: absolute;
  left: -29px; /* center on the line */
  top: 24px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px rgba(255,42,42,.6);
  z-index: 2;
}
.exp-card__inner {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 24px 32px;
  backdrop-filter: blur(8px);
  transition: transform var(--transition), border-color var(--transition);
}
.exp-card__inner:hover {
  transform: translateX(6px);
  border-color: rgba(255,42,42,.25);
}

.exp-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 12px;
}
.exp-card__header h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
}
.exp-card__date {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: .02em;
}

.exp-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 14px;
}
.exp-card__type {
  color: var(--text-muted);
  font-weight: 400;
  font-size: .9rem;
}

.exp-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.exp-card__list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: .95rem;
  color: #a0a0b0;
  line-height: 1.6;
}
.exp-card__list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: bold;
}
.exp-card__list li strong {
  color: #fff;
}

.exp__toggle {
  text-align: center;
  margin-top: 40px;
}
#expToggleBtn {
  color: #fff;
  border-color: rgba(255,255,255,0.2);
}
#expToggleBtn:hover {
  color: var(--red);
  border-color: var(--red);
}
.exp-card--collapsible {
  display: none; /* Handled by JS later if needed */
}
.exp-card--collapsible.show {
  display: block;
}

/* ─── ACHIEVEMENTS ───────────────────────────────────────────────*/
.achievements {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent, rgba(122,0,0,.08), transparent);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}
.achievements__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.achievements__big-num {
  font-family: 'Ultima', sans-serif;
  font-size: clamp(5rem, 10vw, 9rem);
  font-weight: 900;
  letter-spacing: -.06em;
  line-height: .9;
}
.achievements__big-num span {
  font-size: 3rem;
  vertical-align: top;
  margin-top: .5rem;
  display: inline-block;
}
.achievements__label {
  font-size: .85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-top: 12px;
}
.achievements__right h3 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 28px;
  line-height: 1.2;
}
.achievements__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.achievements__list li {
  font-size: .95rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.achievements__list li:first-child { color: var(--text); font-weight: 600; }

/* ─── TEAM ───────────────────────────────────────────────────────*/
.team { padding: 120px 0; }
.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.team__card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  transition: var(--transition);
}
.team__card:hover {
  border-color: rgba(255,42,42,.3);
  background: rgba(255,42,42,.04);
  transform: translateY(-4px);
}
.team__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.team__info h5 { font-size: .95rem; font-weight: 700; }
.team__info span { font-size: .78rem; color: var(--text-muted); }
.team__label {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-muted);
}
.team__label .gradient-text { font-size: inherit; }

/* ─── TESTIMONIALS ───────────────────────────────────────────────*/
.testimonials { padding: 120px 0; }
.testimonials__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 20px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,42,42,.3) transparent;
  -webkit-overflow-scrolling: touch;
}
.testimonials__track::-webkit-scrollbar { height: 4px; }
.testimonials__track::-webkit-scrollbar-thumb { background: rgba(255,42,42,.3); border-radius: 2px; }
.testi-card {
  min-width: 320px;
  max-width: 360px;
  flex-shrink: 0;
  scroll-snap-align: start;
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}
.testi-card:hover {
  border-color: rgba(255,42,42,.25);
  transform: translateY(-4px);
}
.testi-card__top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.testi-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .85rem;
  color: #fff;
  flex-shrink: 0;
}
.testi-card__top strong { display: block; font-size: .95rem; }
.testi-stars { color: #f5a623; font-size: .85rem; letter-spacing: 2px; }
.testi-card p { font-size: .9rem; color: var(--text-muted); line-height: 1.7; }
.testimonials__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.testimonials__dots .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--text-faint);
  transition: var(--transition);
  cursor: pointer;
}
.testimonials__dots .dot.active { background: var(--red); width: 24px; border-radius: 4px; }

/* ─── CTA ────────────────────────────────────────────────────────*/
.cta-section {
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}
.cta-section__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(122,0,0,.4) 0%, rgba(255,42,42,.06) 50%, transparent 75%);
  pointer-events: none;
}
.cta-section__inner { text-align: center; position: relative; z-index: 2; }
.cta-section__text h2 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  letter-spacing: -.04em;
  margin: 16px 0 20px;
}
.cta-section__text > p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 36px; }
.cta-section__form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto 16px;
}
.cta-section__form input {
  flex: 1;
  padding: 14px 20px;
  border-radius: 100px;
  border: 1.5px solid var(--glass-border);
  background: rgba(255,255,255,.05);
  color: var(--text);
  font-size: .95rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition);
}
.cta-section__form input:focus { border-color: rgba(255,42,42,.5); }
.cta-section__form input::placeholder { color: var(--text-muted); }
.cta-section__note { font-size: .8rem; color: var(--text-faint); }

/* ─── FOOTER ─────────────────────────────────────────────────────*/
.footer {
  border-top: 1px solid var(--glass-border);
  padding: 40px 0 24px;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.footer__logo { font-size: 1.3rem; }
.footer__links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.footer__links a { font-size: .85rem; color: var(--text-muted); transition: color var(--transition); }
.footer__links a:hover { color: var(--text); }
.footer__contact {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: .85rem;
  color: var(--text-muted);
}
.footer__socials { display: flex; gap: 14px; }
.footer__socials a {
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer__socials a:hover { color: var(--red); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  font-size: .8rem;
  color: var(--text-faint);
  padding-top: 20px;
  border-top: 1px solid var(--glass-border);
  flex-wrap: wrap;
  gap: 8px;
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────*/
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }

  .hero__content { grid-template-columns: 1fr; gap: 40px; padding: 100px 24px 60px; }
  .hero__right { order: -1; }
  .hero__char { max-width: 300px; margin: 0 auto; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__item:nth-child(2) { border-right: none; }

  .projects__featured { grid-template-columns: 1fr; }
  .featured__grid { grid-template-columns: repeat(2, 1fr); }
  .process__step--right { grid-template-columns: 60px 1fr; text-align: left; }
  .process__step--right .process__icon { order: 0; }
  .process__step--right .process__connector { left: 29px; right: auto; order: 0; }
  .process__step--right .process__body { order: 0; }

  .achievements__inner { grid-template-columns: 1fr; gap: 40px; }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 600px) {
  .featured__grid { grid-template-columns: 1fr; }
  .hero__badge-float--1, .hero__badge-float--3 { display: none; }
  .cta-section__form { flex-direction: column; }
  .cta-section__form input { border-radius: 14px; }
  .cta-section__form .btn { border-radius: 14px; justify-content: center; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .team__grid { grid-template-columns: 1fr; }
}

/* ─── CUSTOM CURSOR ──────────────────────────────────────────────*/
.cursor-text {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  font-family: 'Ultima', sans-serif;
  font-size: 1.2rem;
  color: var(--red);
  font-weight: 700;
  opacity: 0;
  transform: translate(15px, 15px) scale(0.5);
  transition: opacity 0.2s ease, transform 0.2s ease;
  text-shadow: 0 0 10px rgba(255,42,42,.8);
}
.cursor-text.show {
  opacity: 1;
  transform: translate(15px, 15px) scale(1);
}
