/* ═══════════════════════════════════════════════
   CHUA ANALYTICS — DESIGN SYSTEM
   Modern premium boutique consultancy
   ═══════════════════════════════════════════════ */

/* ─── Google Fonts ─── */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* ─── CSS Variables ─── */
:root {
  /* Colors */
  --navy-900: #070E1A;
  --navy-800: #0C1829;
  --navy-700: #0F2139;
  --navy-600: #142D4C;
  --navy-500: #1B3F6B;
  --teal-500: #06B6D4;
  --teal-400: #22D3EE;
  --teal-300: #67E8F9;
  --teal-600: #0891B2;
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --green-400: #4ADE80;
  --amber-400: #FBBF24;

  /* Typography */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Spacing */
  --section-pad: 100px;
  --container-max: 1140px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ─── Utility ─── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: var(--section-pad) 0; }
.section--dark { background: var(--navy-800); color: var(--gray-200); }
.section--light { background: var(--gray-50); }
.section--navy { background: var(--navy-900); color: var(--white); }

.text-teal { color: var(--teal-400); }
.text-muted { color: var(--gray-500); }
.text-white { color: var(--white); }

/* ─── Typography ─── */
h1, h2, h3, h4, h5 { font-family: var(--font-display); line-height: 1.15; }

h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--teal-500);
  margin-bottom: 12px;
  display: block;
}

.section--dark .section-label,
.section--navy .section-label { color: var(--teal-400); }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  text-decoration: none;
}

.btn--primary {
  background: var(--teal-500);
  color: var(--navy-900);
}
.btn--primary:hover {
  background: var(--teal-400);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(6, 182, 212, 0.3);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn--outline:hover {
  border-color: var(--teal-400);
  color: var(--teal-400);
  transform: translateY(-2px);
}

.btn--dark {
  background: var(--navy-800);
  color: var(--white);
}
.btn--dark:hover {
  background: var(--navy-700);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(7, 14, 26, 0.3);
}

.btn--ghost {
  background: transparent;
  color: var(--teal-500);
  padding: 8px 0;
  border-radius: 0;
}
.btn--ghost:hover { color: var(--teal-400); }
.btn--ghost .arrow { transition: transform 0.3s var(--ease-out); }
.btn--ghost:hover .arrow { transform: translateX(4px); }

/* ─── Navigation ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: all 0.4s var(--ease-out);
}

.nav--transparent { background: transparent; }
.nav--solid {
  background: rgba(7, 14, 26, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__logo-mark {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  border: 1px solid rgba(6, 182, 212, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav__logo-mark svg {
  width: 22px;
  height: 22px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__link {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  transition: color 0.3s;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal-400);
  transition: width 0.3s var(--ease-out);
}

.nav__link:hover { color: var(--white); }
.nav__link:hover::after { width: 100%; }
.nav__link--active { color: var(--white); }
.nav__link--active::after { width: 100%; }

.nav__cta {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-900);
  background: var(--teal-500);
  padding: 10px 22px;
  border-radius: 7px;
  transition: all 0.3s var(--ease-out);
}
.nav__cta:hover {
  background: var(--teal-400);
  transform: translateY(-1px);
}

/* Mobile menu toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ─── Hero ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy-900);
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(6, 182, 212, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(6, 182, 212, 0.08), transparent);
}

.hero__grid-lines {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 100px;
  padding: 6px 16px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--teal-400);
  margin-bottom: 28px;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  background: var(--teal-400);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 { color: var(--white); margin-bottom: 20px; }

.hero__sub {
  font-size: 1.15rem;
  color: var(--gray-400);
  margin-bottom: 40px;
  line-height: 1.75;
  max-width: 580px;
}

.hero__buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.hero__stat-value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
}

.hero__stat-label {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-top: 4px;
}

/* ─── Problems Section ─── */
.problems__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.problem-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 36px 28px;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.problem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-500), var(--teal-300));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.problem-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.problem-card:hover::before { transform: scaleX(1); }

.problem-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  background: rgba(6, 182, 212, 0.08);
}

.problem-card h3 { margin-bottom: 12px; color: var(--navy-800); }
.problem-card p { font-size: 0.95rem; color: var(--gray-600); }

/* ─── Services Section ─── */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.service-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 40px 32px;
  transition: all 0.4s var(--ease-out);
}

.service-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(6, 182, 212, 0.3);
  transform: translateY(-4px);
}

.service-card__number {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--teal-500);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  opacity: 0.7;
}

.service-card h3 { color: var(--white); margin-bottom: 14px; }
.service-card p { font-size: 0.95rem; color: var(--gray-400); margin-bottom: 20px; }

.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(6, 182, 212, 0.1);
  color: var(--teal-400);
  border: 1px solid rgba(6, 182, 212, 0.15);
}

/* ─── Case Study Cards ─── */
.cases__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.case-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
}

.case-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.08); }

.case-card__image {
  height: 220px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.case-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.case-card__image-placeholder {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.05em;
  z-index: 1;
}

.case-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(6,182,212,0.15), transparent 60%);
}

.case-card__body { padding: 28px; }

.case-card__industry {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal-600);
  margin-bottom: 10px;
}

.case-card h3 { margin-bottom: 10px; color: var(--navy-800); }
.case-card p { font-size: 0.9rem; color: var(--gray-600); margin-bottom: 16px; }

.case-card__result {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-700);
}

.case-card__result-icon {
  color: var(--green-400);
  font-size: 1rem;
}

/* ─── Featured Case Study ─── */
.featured-case {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 48px;
}

.featured-case__image {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.featured-case__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 40% 40%, rgba(6,182,212,0.12), transparent 70%);
}

.featured-case__body {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-case__body h3 { font-size: 1.6rem; margin-bottom: 16px; color: var(--navy-800); }
.featured-case__body p { margin-bottom: 24px; color: var(--gray-600); }

.featured-case__metrics {
  display: flex;
  gap: 32px;
  margin-bottom: 28px;
}

.metric {
  text-align: left;
}

.metric__value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--teal-600);
}

.metric__label {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 2px;
}

/* ─── Testimonial / Social Proof ─── */
.proof {
  text-align: center;
}

.proof__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  margin-top: 40px;
  opacity: 0.4;
}

.proof__logo {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-500);
  letter-spacing: 0.05em;
}

/* ─── About / Founder ─── */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.about-hero__image-wrapper {
  position: relative;
}

.about-hero__image {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-family: var(--font-display);
  font-size: 0.85rem;
}

.about-hero__image-wrapper::after {
  content: '';
  position: absolute;
  top: 16px;
  right: -16px;
  bottom: -16px;
  left: 16px;
  border: 2px solid var(--teal-500);
  border-radius: 16px;
  z-index: -1;
  opacity: 0.2;
}

.about__credentials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.credential-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
}

.credential-card__icon {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.credential-card h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--navy-800);
}

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

/* ─── Timeline ─── */
.timeline {
  position: relative;
  margin-top: 48px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-200);
}

.timeline__item {
  display: flex;
  gap: 28px;
  padding-bottom: 36px;
  position: relative;
}

.timeline__dot {
  width: 16px;
  height: 16px;
  min-width: 16px;
  border-radius: 50%;
  background: var(--teal-500);
  margin-top: 4px;
  position: relative;
  left: 21px;
  z-index: 1;
}

.timeline__content { padding-left: 12px; }
.timeline__content h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 2px;
}
.timeline__content .year {
  font-size: 0.8rem;
  color: var(--teal-600);
  font-weight: 600;
  margin-bottom: 6px;
}
.timeline__content p { font-size: 0.9rem; color: var(--gray-600); }

/* ─── Contact Form ─── */
.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  margin-top: 48px;
}

.contact__info h3 { margin-bottom: 16px; color: var(--navy-800); }
.contact__info p { color: var(--gray-600); margin-bottom: 28px; }

.contact__detail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.95rem;
  color: var(--gray-600);
}

.contact__detail-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(6, 182, 212, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.form {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 40px;
}

.form__group { margin-bottom: 20px; }

.form__label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 6px;
}

.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  background: var(--white);
  color: var(--gray-700);
  transition: border-color 0.3s;
  outline: none;
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.form__textarea { resize: vertical; min-height: 120px; }

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form__submit {
  width: 100%;
  margin-top: 8px;
}

/* ─── Footer ─── */
.footer {
  background: var(--navy-900);
  color: var(--gray-400);
  padding: 64px 0 32px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 48px;
}

.footer__brand {
  max-width: 300px;
}

.footer__brand .nav__logo {
  margin-bottom: 16px;
}

.footer__brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--gray-500);
}

.footer__nav { display: flex; gap: 64px; }

.footer__nav-group h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer__nav-group a {
  display: block;
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 10px;
  transition: color 0.3s;
}

.footer__nav-group a:hover { color: var(--teal-400); }

.footer__bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--gray-600);
}

/* ─── CTA Banner ─── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  border-radius: 20px;
  padding: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(6,182,212,0.12), transparent 70%);
}

.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: var(--gray-400); margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }

.cta-banner__buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ─── Page Header (for inner pages) ─── */
.page-header {
  background: var(--navy-900);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-header__bg {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background:
    radial-gradient(ellipse 60% 50% at 70% 20%, rgba(6, 182, 212, 0.12), transparent);
}

.page-header__grid {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image:
    linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 60px 60px;
}

.page-header .container { position: relative; z-index: 1; }
.page-header h1 { color: var(--white); margin-bottom: 16px; }
.page-header p { color: var(--gray-400); font-size: 1.1rem; max-width: 600px; }

/* ─── Services Detail Page ─── */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 48px 0;
  border-bottom: 1px solid var(--gray-200);
}

.service-detail:last-child { border-bottom: none; }

.service-detail__number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--gray-200);
  margin-bottom: 8px;
}

.service-detail h3 { font-size: 1.4rem; color: var(--navy-800); margin-bottom: 16px; }
.service-detail p { color: var(--gray-600); margin-bottom: 20px; }

.service-detail__list { margin-bottom: 24px; }
.service-detail__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.93rem;
  color: var(--gray-600);
}

.service-detail__list li::before {
  content: '→';
  color: var(--teal-500);
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 1px;
}

.service-detail__ideal {
  background: var(--gray-50);
  border-radius: 10px;
  padding: 20px 24px;
}

.service-detail__ideal h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal-600);
  margin-bottom: 8px;
}

.service-detail__ideal p { font-size: 0.9rem; color: var(--gray-600); margin-bottom: 0; }

/* ─── Case Study Detail ─── */
.case-detail__meta {
  display: flex;
  gap: 24px;
  margin-top: 20px;
}

.case-detail__meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--gray-500);
}

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

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ─── Process Steps (for services) ─── */
.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.process-step {
  text-align: center;
  padding: 32px 20px;
}

.process-step__number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--teal-500);
  opacity: 0.3;
  margin-bottom: 12px;
}

.process-step h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 8px;
}

.process-step p { font-size: 0.85rem; color: var(--gray-500); }

/* ─── Tools Grid ─── */
.tools__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.tool-badge {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 100px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--gray-700);
}

/* ─── Empty State for Case Studies ─── */
.coming-soon {
  text-align: center;
  padding: 80px 40px;
  background: var(--gray-50);
  border: 2px dashed var(--gray-200);
  border-radius: 16px;
}

.coming-soon p {
  color: var(--gray-500);
  font-size: 0.95rem;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */

@media (max-width: 900px) {
  :root { --section-pad: 72px; }

  .nav__links { display: none; }
  .nav__toggle { display: flex; }

  .nav__links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(7, 14, 26, 0.97);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .hero__stats { gap: 24px; flex-wrap: wrap; }
  .problems__grid { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; }
  .cases__grid { grid-template-columns: 1fr; }
  .featured-case { grid-template-columns: 1fr; }
  .featured-case__image { min-height: 240px; }
  .about-hero { grid-template-columns: 1fr; gap: 40px; }
  .about__credentials { grid-template-columns: 1fr; }
  .about__companies { grid-template-columns: repeat(2, 1fr) !important; }
  .contact__layout { grid-template-columns: 1fr; gap: 40px; }
  .service-detail { grid-template-columns: 1fr; gap: 24px; }
  .process__steps { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { flex-direction: column; gap: 40px; }
  .footer__nav { gap: 40px; }
  .footer__bottom { flex-direction: column; gap: 8px; }
  .cta-banner { padding: 48px 28px; }
  .form__row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero__buttons { flex-direction: column; }
  .hero__stat-value { font-size: 1.4rem; }
  .footer__nav { flex-direction: column; gap: 28px; }
  .process__steps { grid-template-columns: 1fr; }
}
