/* ============================================
   NEXUS MARKETING AGENCY — style.css
   ============================================ */

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

:root {
  --white: #FFFFFF;
  --dark: #1A1A1A;
  --darker: #111111;
  --text-primary: #111111;
  --text-secondary: #5A5A5A;
  --accent: #2DBDA8;
  --accent-hover: #25A693;
  --accent-light: rgba(45, 189, 168, 0.1);
  --border: rgba(0,0,0,0.10);
  --border-dark: rgba(255,255,255,0.10);

  --container: 1320px;
  --pad-x: clamp(24px, 6vw, 120px);
  --pad-section: clamp(80px, 10vw, 160px);

  --font: 'Inter', sans-serif;

  --hero-size: clamp(54px, 9vw, 110px);
  --section-title: clamp(38px, 5.5vw, 68px);
  --body-size: clamp(16px, 1.15vw, 19px);
  --small-size: clamp(13px, 0.9vw, 15px);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--text-primary);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
  padding: 0 var(--pad-x);
}
.navbar.scrolled {
  border-color: var(--border);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.navbar__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.navbar__logo {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--darker);
}
.navbar__logo span {
  color: var(--accent);
}
.navbar__links {
  display: flex;
  align-items: center;
  gap: 40px;
}
.navbar__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
  letter-spacing: 0.01em;
}
.navbar__links a:hover { color: var(--text-primary); }
.navbar__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--darker);
  color: var(--white);
  padding: 11px 24px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}
.navbar__cta:hover {
  background: var(--accent);
  transform: translateY(-1px);
}
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--darker);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile Nav Overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  transition: opacity 0.3s;
}
.nav-overlay.open {
  display: flex;
  opacity: 1;
}
.nav-overlay a {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  color: var(--darker);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-overlay a:hover { color: var(--accent); }
.nav-overlay__close {
  position: absolute;
  top: 24px;
  right: var(--pad-x);
  font-size: 32px;
  font-weight: 300;
  color: var(--text-secondary);
  cursor: pointer;
  line-height: 1;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}
.btn-outline {
  border: 1.5px solid var(--text-primary);
  color: var(--text-primary);
}
.btn-outline:hover {
  background: var(--text-primary);
  color: var(--white);
}
.btn-outline:hover .btn-arrow { transform: translateX(4px); }

.btn-solid {
  background: var(--darker);
  color: var(--white);
  border: 1.5px solid var(--darker);
}
.btn-solid:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45,189,168,0.3);
}
.btn-solid:hover .btn-arrow { transform: translateX(4px); }

.btn-accent {
  background: var(--white);
  color: var(--darker);
  border: 1.5px solid var(--white);
}
.btn-accent:hover {
  background: transparent;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.btn-accent:hover .btn-arrow { transform: translateX(4px); }

.btn-outline-white {
  border: 1.5px solid rgba(255,255,255,0.4);
  color: var(--white);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--darker);
  border-color: var(--white);
}
.btn-outline-white:hover .btn-arrow { transform: translateX(4px); }

.btn-arrow {
  display: inline-block;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-lg {
  padding: 18px 38px;
  font-size: 17px;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  padding: 140px var(--pad-x) var(--pad-section);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
}
.hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.6s cubic-bezier(0.16,1,0.3,1) 0.2s forwards;
}
.hero__eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.hero__titles {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 60px;
}
.hero__word {
  font-size: var(--hero-size);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--darker);
  opacity: 0;
  animation: fadeUp 0.7s cubic-bezier(0.16,1,0.3,1) forwards;
  display: block;
}
.hero__word:nth-child(1) { animation-delay: 0.35s; margin-left: 0; }
.hero__word:nth-child(2) { animation-delay: 0.5s;  margin-left: clamp(20px, 4vw, 80px); }
.hero__word:nth-child(3) { animation-delay: 0.65s; margin-left: clamp(40px, 8vw, 160px); }

.hero__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.85s forwards;
}
.hero__desc {
  max-width: 420px;
  font-size: var(--body-size);
  line-height: 1.65;
  color: var(--text-secondary);
}
.hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero__scroll {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 500;
}
.hero__scroll-line {
  width: 40px;
  height: 1px;
  background: var(--text-secondary);
}

/* Floating accent shapes */
.hero__deco {
  position: absolute;
  right: clamp(40px, 8vw, 200px);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(200px, 28vw, 420px);
  aspect-ratio: 1;
  opacity: 0;
  animation: fadeIn 1s ease 1s forwards;
  pointer-events: none;
}
.hero__deco-circle {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
}
.hero__deco-circle:nth-child(2) {
  inset: 15%;
  border-color: rgba(45,189,168,0.2);
}
.hero__deco-circle:nth-child(3) {
  inset: 30%;
  background: var(--accent-light);
  border: none;
}
.hero__deco-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 0.6; }
}

/* ============================================
   MARQUEE STRIP
   ============================================ */
.marquee-strip {
  overflow: hidden;
  background: var(--darker);
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.marquee-track {
  display: flex;
  gap: 0;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}
.marquee-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 32px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.marquee-item span {
  color: var(--accent);
  font-size: 18px;
  line-height: 1;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  padding: var(--pad-section) var(--pad-x);
}
.services__header {
  max-width: var(--container);
  margin: 0 auto 80px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-size: var(--section-title);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--darker);
}
.section-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--text-secondary);
}
.services__subtitle {
  max-width: 320px;
  font-size: var(--body-size);
  color: var(--text-secondary);
  line-height: 1.6;
  padding-bottom: 8px;
}

/* Service items zigzag */
.service-item {
  max-width: var(--container);
  margin: 0 auto;
  padding: 72px 0;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.service-item:last-child {
  border-bottom: 1px solid var(--border);
}
.service-item.reverse .service-item__media { order: -1; }

.service-item__content {}
.service-item__number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 20px;
  display: block;
}
.service-item__title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--darker);
}
.service-item__desc {
  font-size: var(--body-size);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 28px;
}
.service-item__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

/* Service placeholder image */
.service-item__media {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}
.service-placeholder {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.service-placeholder-1 {
  background: linear-gradient(135deg, #E8F5F3 0%, #C8EDE8 50%, #A8E0D8 100%);
}
.service-placeholder-2 {
  background: linear-gradient(135deg, #F0F0F8 0%, #D8D8F0 50%, #B8B8E8 100%);
}
.service-placeholder-3 {
  background: linear-gradient(135deg, #FFF0E8 0%, #FFD8C0 50%, #FFC0A0 100%);
}
.service-placeholder-4 {
  background: linear-gradient(135deg, #F8F0FF 0%, #E8D0FF 50%, #D0B0FF 100%);
}
.service-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(255,255,255,0.5), transparent);
}
.service-placeholder__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-placeholder__icon svg {
  width: 36px;
  height: 36px;
}
.service-placeholder__grid {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image:
    linear-gradient(to right, #000 1px, transparent 1px),
    linear-gradient(to bottom, #000 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ============================================
   PROJECTS (dark)
   ============================================ */
.projects {
  background: var(--dark);
  padding: var(--pad-section) var(--pad-x);
}
.projects__header {
  max-width: var(--container);
  margin: 0 auto 80px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.projects__header .section-title {
  color: var(--white);
}
.projects__header .section-title em {
  color: rgba(255,255,255,0.35);
}
.projects__count {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
}

.project-item {
  max-width: var(--container);
  margin: 0 auto;
  padding: 64px 0;
  border-top: 1px solid var(--border-dark);
  display: grid;
  grid-template-columns: 45fr 55fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.project-item:last-child { border-bottom: 1px solid var(--border-dark); }
.project-item.reverse .project-item__media { order: -1; }

.project-item__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.project-item__num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.project-item__line {
  flex: 1;
  height: 1px;
  background: var(--border-dark);
  max-width: 60px;
}
.project-item__year {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  font-weight: 500;
  letter-spacing: 0.06em;
}
.project-item__title {
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 16px;
}
.project-item__desc {
  font-size: var(--body-size);
  line-height: 1.6;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
}
.project-item__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.tag-dark {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 5px 14px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.5);
}
.tag-dark.accent {
  border-color: rgba(45,189,168,0.4);
  color: var(--accent);
}
.btn-project {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.2);
  padding: 12px 24px;
  border-radius: 100px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-project:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-project:hover .btn-arrow { transform: translateX(4px); }

/* Project mockups */
.project-item__media {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16/10;
  position: relative;
}
.proj-mockup {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.proj-mockup-1 { background: linear-gradient(135deg, #1E3A5F 0%, #2D6A9F 100%); }
.proj-mockup-2 { background: linear-gradient(135deg, #2D1B69 0%, #7B2FBE 100%); }
.proj-mockup-3 { background: linear-gradient(135deg, #1A3A2A 0%, #2D7A4F 100%); }

.proj-mockup__browser {
  width: 85%;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
}
.proj-mockup__bar {
  height: 28px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.proj-mockup__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
}
.proj-mockup__screen {
  height: 120px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.proj-line {
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.15);
}
.proj-line.accent { background: rgba(45,189,168,0.4); width: 40%; }
.proj-line.w80 { width: 80%; }
.proj-line.w60 { width: 60%; }
.proj-line.w90 { width: 90%; }

/* ============================================
   STATS
   ============================================ */
.stats {
  padding: var(--pad-section) var(--pad-x);
  background: var(--white);
}
.stats__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.stats__left .section-title { margin-bottom: 24px; }
.stats__left p {
  font-size: var(--body-size);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 40px;
  max-width: 400px;
}
.stats__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.stat-card {
  background: var(--white);
  padding: 40px 32px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s;
}
.stat-card:hover { border-color: var(--accent); }
.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.stat-card:hover::before { transform: scaleX(1); }
.stat-card__num {
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--darker);
  margin-bottom: 8px;
  display: block;
}
.stat-card__num .suffix {
  color: var(--accent);
}
.stat-card__label {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  padding: var(--pad-section) var(--pad-x);
  background: #F7F7F5;
  overflow: hidden;
}
.testimonials__header {
  max-width: var(--container);
  margin: 0 auto 60px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.testimonials__controls {
  display: flex;
  gap: 12px;
}
.testi-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: var(--white);
  transition: all 0.25s;
  color: var(--darker);
}
.testi-btn:hover {
  border-color: var(--darker);
  background: var(--darker);
  color: var(--white);
}
.testi-btn svg { width: 18px; height: 18px; }

.testimonials__slider {
  max-width: var(--container);
  margin: 0 auto;
  overflow: hidden;
}
.testimonials__track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.testi-card {
  flex-shrink: 0;
  width: 100%;
  padding: 0 4px;
}
.testi-card__inner {
  background: var(--white);
  border-radius: 20px;
  padding: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 300px;
}
.testi-card__quote {
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 24px;
  font-family: Georgia, serif;
}
.testi-card__text {
  font-size: clamp(18px, 2vw, 24px);
  font-style: italic;
  line-height: 1.5;
  color: var(--darker);
  font-weight: 400;
}
.testi-card__right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.testi-card__author {
  display: flex;
  align-items: center;
  gap: 16px;
}
.testi-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
}
.testi-card__avatar.c1 { background: linear-gradient(135deg, #2DBDA8, #1A8A7A); }
.testi-card__avatar.c2 { background: linear-gradient(135deg, #7B2FBE, #4A1A8A); }
.testi-card__avatar.c3 { background: linear-gradient(135deg, #2D6A9F, #1A3A5F); }
.testi-card__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--darker);
}
.testi-card__role {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 2px;
}
.testi-card__stars {
  display: flex;
  gap: 4px;
}
.testi-card__stars span {
  color: var(--accent);
  font-size: 18px;
}
.testi-card__result {
  background: var(--accent-light);
  border: 1px solid rgba(45,189,168,0.2);
  border-radius: 12px;
  padding: 16px 20px;
}
.testi-card__result-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.testi-card__result-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--darker);
}

.testimonials__dots {
  max-width: var(--container);
  margin: 32px auto 0;
  display: flex;
  gap: 8px;
}
.testi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: all 0.3s;
  cursor: pointer;
}
.testi-dot.active {
  background: var(--accent);
  width: 28px;
  border-radius: 4px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: var(--accent);
  padding: var(--pad-section) var(--pad-x);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: 'NEXUS.';
  position: absolute;
  top: 50%;
  right: -40px;
  transform: translateY(-50%);
  font-size: clamp(120px, 16vw, 240px);
  font-weight: 900;
  letter-spacing: -0.05em;
  color: rgba(255,255,255,0.07);
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
  text-transform: uppercase;
}
.cta-section__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
  position: relative;
  z-index: 1;
}
.cta-section__title {
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 24px;
}
.cta-section__desc {
  font-size: var(--body-size);
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin-bottom: 40px;
}
.cta-section__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Contact Form */
.cta-form {
  background: var(--white);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 48px);
}
.cta-form h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--darker);
  margin-bottom: 24px;
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--darker);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
}
.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--darker);
  color: var(--white);
  border-radius: 100px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
  border: none;
  font-family: var(--font);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}
.form-submit:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45,189,168,0.4);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--darker);
  padding: var(--pad-section) var(--pad-x) 40px;
}
.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 40px;
}
.footer__brand-logo {
  font-size: 28px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.footer__brand-logo span { color: var(--accent); }
.footer__brand-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.4);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 280px;
}
.footer__socials {
  display: flex;
  gap: 12px;
}
.footer__social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  transition: all 0.25s;
}
.footer__social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(45,189,168,0.1);
}
.footer__social-link svg { width: 16px; height: 16px; }

.footer__col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 20px;
}
.footer__col-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__col-links a {
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer__col-links a:hover { color: var(--white); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__copy {
  font-size: 13px;
  color: rgba(255,255,255,0.25);
}
.footer__copy span { color: var(--accent); }
.footer__bottom-links {
  display: flex;
  gap: 24px;
}
.footer__bottom-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.25);
  transition: color 0.2s;
}
.footer__bottom-links a:hover { color: rgba(255,255,255,0.6); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .stats__inner { grid-template-columns: 1fr; gap: 60px; }
  .cta-section__inner { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .navbar__links, .navbar__cta { display: none; }
  .navbar__hamburger { display: flex; }

  .hero {
    padding: 120px var(--pad-x) 80px;
    min-height: auto;
  }
  .hero__deco { display: none; }
  .hero__bottom { flex-direction: column; align-items: flex-start; gap: 32px; }

  .service-item {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 0;
  }
  .service-item.reverse .service-item__media { order: 0; }

  .project-item {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 0;
  }
  .project-item.reverse .project-item__media { order: 0; }

  .testi-card__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    min-height: auto;
  }

  .footer__top { grid-template-columns: 1fr; gap: 40px; }

  .stats__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero__word { font-size: clamp(40px, 14vw, 60px); }
  .hero__word:nth-child(2) { margin-left: 16px; }
  .hero__word:nth-child(3) { margin-left: 32px; }
  .stats__grid { grid-template-columns: 1fr; }
  .services__header { flex-direction: column; align-items: flex-start; }
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--darker);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px);
  transition: all 0.3s;
  z-index: 100;
  border: none;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--accent);
  transform: translateY(-4px);
}
.back-to-top svg { width: 18px; height: 18px; }

/* ============================================
   SELECTION COLOR
   ============================================ */
::selection {
  background: var(--accent);
  color: var(--white);
}
