/* ==============================
   D.C. Banks — Portfolio Site
   Council-Audited v2.0
   ============================== */

:root {
  --black: #0a0a0a;
  --dark: #111111;
  --dark-2: #1a1a1a;
  --dark-3: #222222;
  --gray: #63666A;
  --light-gray: #9D968E;
  --white: #f5f5f5;
  --accent: #e8c547;
  --accent-dim: #c9a830;
  --radius: 12px;
  --radius-lg: 20px;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

/* ---- Scroll Progress Bar ---- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #f0d060);
  z-index: 200;
  transition: width 0.05s linear;
  box-shadow: 0 0 10px rgba(232, 197, 71, 0.5);
}

/* ---- Cursor Glow (desktop only) ---- */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 197, 71, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s;
}

@media (hover: hover) {
  .cursor-glow.visible {
    opacity: 1;
  }
}

@media (hover: none) {
  .cursor-glow { display: none; }
}

/* ---- Focus Styles (accessibility) ---- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---- Typography ---- */
.section-tag {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--light-gray);
  max-width: 600px;
  margin-bottom: 2.5rem;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.2s ease-out;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--accent);
  color: var(--black);
}

.btn--primary:hover {
  background: var(--accent-dim);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(232, 197, 71, 0.25);
}

.btn--outline {
  border-color: var(--white);
  color: var(--white);
  background: transparent;
}

.btn--outline:hover {
  background: var(--white);
  color: var(--black);
  transform: translateY(-2px);
}

.btn--full {
  width: 100%;
  text-align: center;
}

/* ==============================
   NAV
   ============================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: all 0.3s;
}

.nav.scrolled {
  padding: 0.7rem 2rem;
  background: rgba(10, 10, 10, 0.95);
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -1px;
}

.nav__logo span {
  color: var(--accent);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--light-gray);
  transition: color 0.2s;
}

.nav__links a:hover {
  color: var(--white);
}

.nav__cta {
  background: var(--accent) !important;
  color: var(--black) !important;
  padding: 0.55rem 1.5rem !important;
  border-radius: 50px;
  font-weight: 600 !important;
  transition: all 0.2s !important;
}

.nav__cta:hover {
  background: var(--accent-dim) !important;
  transform: translateY(-1px);
}

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

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

/* Fixed: visibility instead of display for transition */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: rgba(10, 10, 10, 0.98);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--white);
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease-out;
}

.mobile-menu.open a {
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu.open a:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.open a:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu.open a:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu.open a:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu.open a:nth-child(5) { transition-delay: 0.25s; }

/* ==============================
   HERO
   ============================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 4rem;
  background: var(--black);
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: center 30%;
  filter: grayscale(20%);
  will-change: transform;
  animation: kenBurns 20s ease-in-out infinite alternate;
}

@keyframes kenBurns {
  0% { transform: scale(1) translateY(0); }
  100% { transform: scale(1.08) translateY(-2%); }
}

/* ---- Split Text Hero Entrance ---- */
.hero__title .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(60px) rotateX(-40deg);
  animation: charIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero__title .char:nth-child(1) { animation-delay: 0.3s; }
.hero__title .char:nth-child(2) { animation-delay: 0.36s; }
.hero__title .char:nth-child(3) { animation-delay: 0.42s; }
.hero__title .char:nth-child(4) { animation-delay: 0.48s; }
.hero__title .char:nth-child(5) { animation-delay: 0.52s; }
.hero__title .char:nth-child(6) { animation-delay: 0.62s; }
.hero__title .char:nth-child(7) { animation-delay: 0.68s; }
.hero__title .char:nth-child(8) { animation-delay: 0.74s; }
.hero__title .char:nth-child(9) { animation-delay: 0.80s; }
.hero__title .char:nth-child(10) { animation-delay: 0.86s; }

@keyframes charIn {
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
  }
}

.hero__tag {
  animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.hero__subtitle {
  animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1s both;
}

/* ---- ROI Dashboard in Hero ---- */
.hero__roi {
  display: flex;
  gap: 1px;
  justify-content: center;
  margin-bottom: 2.5rem;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(232, 197, 71, 0.15);
  animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1s both;
}

.roi-stat {
  flex: 1;
  padding: 1.5rem 1rem;
  text-align: center;
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.roi-stat:not(:last-child) {
  border-right: 1px solid rgba(255,255,255,0.06);
}

.roi-stat__number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.roi-stat__label {
  display: block;
  font-size: clamp(0.7rem, 1.8vw, 0.8rem);
  color: var(--light-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.3;
}

.hero__buttons {
  animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.2s both;
}

.hero__seen-on {
  animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.5s both;
}

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

.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.45) 0%,
    rgba(10, 10, 10, 0.55) 25%,
    rgba(10, 10, 10, 0.8) 55%,
    rgba(10, 10, 10, 0.95) 80%,
    var(--black) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero__tag {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 1.5rem;
  letter-spacing: -2px;
}

.hero__subtitle {
  font-size: 1.2rem;
  color: var(--light-gray);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero__buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero__seen-on {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem;
}

.hero__seen-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gray);
  display: block;
  margin-bottom: 1rem;
}

.hero__logos {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.logo-svg {
  height: 24px;
  width: auto;
  color: rgba(255,255,255,0.35);
  transition: color 0.3s;
}

.logo-svg:hover {
  color: rgba(255,255,255,0.6);
}

/* ==============================
   ABOUT
   ============================== */
.about {
  padding: 7rem 0;
  background: var(--dark);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__text p {
  color: var(--light-gray);
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.about__text strong {
  color: var(--white);
}

.about__image-card {
  background: var(--dark-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}

.about__photo {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center 20%;
}

.about__image-label {
  display: flex;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  font-size: 0.85rem;
  color: var(--gray);
}

/* ==============================
   STATS
   ============================== */
.stats {
  padding: 7rem 0;
  background: var(--black);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-card {
  background: var(--dark);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: all 0.2s ease-out;
}

.stat-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(232, 197, 71, 0.08);
}

.stat-card__number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
}

.stat-card__suffix {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-card__label {
  display: block;
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==============================
   CLIENTS
   ============================== */
.clients {
  padding: 7rem 0;
  background: var(--dark);
}

.client-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.pill {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
  transition: all 0.2s;
}

.pill:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.clients__highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.highlight-card {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: all 0.2s ease-out;
}

.highlight-card:hover {
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

.highlight-card__icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.75rem;
}

.highlight-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.highlight-card p {
  font-size: 0.85rem;
  color: var(--gray);
}

.clients__more {
  text-align: center;
  font-size: 1.1rem;
  color: var(--light-gray);
}

/* ==============================
   RESULTS
   ============================== */
.results {
  padding: 5rem 0;
  background: linear-gradient(135deg, rgba(232, 197, 71, 0.06), rgba(232, 197, 71, 0.02));
  border-top: 1px solid rgba(232, 197, 71, 0.1);
  border-bottom: 1px solid rgba(232, 197, 71, 0.1);
  text-align: center;
}

.results__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.result-card__number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
}

.result-card__label {
  font-size: 0.9rem;
  color: var(--light-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.results__note {
  font-size: 0.85rem;
  color: var(--gray);
}

/* ==============================
   SERVICES
   ============================== */
.services {
  padding: 7rem 0;
  background: var(--black);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--dark);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: all 0.2s ease-out;
}

.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(232, 197, 71, 0.06);
}

.service-card__icon {
  color: var(--accent);
  margin-bottom: 1rem;
  display: flex;
}

.service-card__icon svg {
  width: 32px;
  height: 32px;
}

.service-card h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--light-gray);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ==============================
   CONTACT
   ============================== */
.contact {
  padding: 7rem 0;
  background: var(--dark);
}

.contact__layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

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

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--light-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  outline: none;
}

.form-group select {
  cursor: pointer;
  color: var(--gray);
}

.form-group select:valid {
  color: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-success {
  text-align: center;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 0.5rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease-out;
  height: 0;
  overflow: hidden;
}

.form-success.visible {
  opacity: 1;
  transform: translateY(0);
  height: auto;
  padding-top: 0.5rem;
}

.contact__sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-card {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.2s ease-out;
  display: block;
  text-align: left;
}

.contact-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.contact-card__icon {
  display: flex;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

.contact-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-card p {
  color: var(--light-gray);
  font-size: 0.9rem;
}

/* ==============================
   WORK (Gallery + Video Reel)
   ============================== */
.work {
  padding: 7rem 0;
  background: var(--black);
}

.work__reel {
  margin-bottom: 2.5rem;
}

.reel__embed {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: var(--dark);
  cursor: pointer;
}

.reel__thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.9;
  transition: opacity 0.2s, transform 0.2s;
}

.reel__embed:hover .reel__play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

.reel__embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 1rem;
}

.gallery__item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery__item--anw img { object-position: 55% 25%; }
.gallery__item--bucs img { object-position: 60% center; }
.gallery__item--obstacle img { object-position: center 25%; }
.gallery__item--athlete img { object-position: center 15%; }
.gallery__item--youtube img { object-position: center 35%; }
.gallery__item--brand img { object-position: center 25%; }

.gallery__item:hover img {
  transform: scale(1.05);
}

.gallery__item--tall {
  grid-row: span 2;
}

.gallery__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1rem 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s;
}

.gallery__item:hover .gallery__caption {
  opacity: 1;
  transform: translateY(0);
}

/* ==============================
   TESTIMONIALS
   ============================== */
.testimonials {
  padding: 7rem 0;
  background: var(--black);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--dark);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease-out;
}

.testimonial-card:hover {
  border-color: rgba(232, 197, 71, 0.2);
  transform: translateY(-2px);
}

.testimonial-card__quote {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--light-gray);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-card__quote::before {
  content: '\201C';
  display: none;
}

.testimonial-card__author {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.testimonial-card__name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
}

.testimonial-card__role {
  font-size: 0.8rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==============================
   LIGHTBOX
   ============================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 10, 10, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  cursor: pointer;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.active .lightbox__img {
  transform: scale(1);
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.lightbox__close:hover {
  color: var(--accent);
}

/* ==============================
   FOOTER
   ============================== */
.footer {
  padding: 3rem 0;
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.footer__socials {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer__socials a {
  color: var(--gray);
  transition: color 0.2s;
  display: flex;
}

.footer__socials a:hover {
  color: var(--accent);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.8rem;
  color: var(--gray);
}

.footer__links {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.footer__links a {
  color: var(--light-gray);
  transition: color 0.2s;
}

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

/* ==============================
   ANIMATIONS — Staggered
   ============================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 1024px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .clients__highlights { grid-template-columns: repeat(2, 1fr); }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-auto-rows: 220px; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }

  .hero__title { letter-spacing: -1px; }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about__image { order: -1; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .results__grid { grid-template-columns: 1fr; gap: 1rem; }
  .result-card__number { font-size: 2.5rem; }
  .services__grid { grid-template-columns: 1fr; }

  .contact__layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .form-row { grid-template-columns: 1fr; }

  .contact__sidebar {
    flex-direction: row;
  }

  .contact__sidebar .contact-card {
    flex: 1;
  }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }
  .gallery__item--tall { grid-row: span 1; }

  .footer__top,
  .footer__bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .clients__highlights { grid-template-columns: 1fr 1fr; gap: 1rem; }

  .stat-card { padding: 1.25rem; }
  .stat-card__number { font-size: 2.2rem; }
  .stat-card__suffix { font-size: 1.3rem; }

  .hero__buttons { flex-direction: column; align-items: center; }

  .hero__roi {
    flex-direction: column;
    gap: 0;
  }

  .roi-stat {
    padding: 1.25rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }

  .roi-stat:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .roi-stat__number {
    font-size: 2rem;
    margin-bottom: 0;
  }

  .roi-stat__label {
    text-align: right;
    font-size: 0.7rem;
    max-width: 100px;
  }

  .result-card__number {
    font-size: 2.2rem;
  }

  .contact__sidebar {
    flex-direction: column;
  }
}
