/* ============================================
   TILE IT SOLUTIONS — Design System & Styles
   Light Theme — Inspired by nirwana.ai
   Clean, minimal, professional
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Primary Palette — Clean White */
  --color-bg:          #FFFFFF;
  --color-bg-alt:      #F8F9FA;
  --color-bg-card:     #FFFFFF;
  --color-bg-elevated: #F1F3F5;
  --color-surface:     #F5F6F8;

  /* Accent — Deep Black */
  --color-accent:      #111111;
  --color-accent-light:#333333;
  --color-accent-dark: #000000;
  --color-accent-glow: rgba(0, 0, 0, 0.06);
  --color-accent-glow2:rgba(0, 0, 0, 0.03);

  /* Secondary Accent — Warm accent */
  --color-secondary:   #111111;
  --color-secondary-glow: rgba(0, 0, 0, 0.05);

  /* Highlight — used for subtle colored elements */
  --color-highlight:   #2563EB;
  --color-highlight-soft: rgba(37, 99, 235, 0.08);

  /* Text */
  --color-text:        #333333;
  --color-text-secondary: #555555;
  --color-text-muted:  #888888;
  --color-text-heading:#111111;

  /* Borders */
  --color-border:      #E8E8E8;
  --color-border-hover:#CCCCCC;

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:    'JetBrains Mono', 'Fira Code', monospace;

  /* Spacing */
  --section-pad: 100px;
  --container-width: 1200px;

  /* Transitions */
  --transition-fast:   0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:   0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 100px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

ul, ol { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-text-heading);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
  color: var(--color-text-secondary);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.text-gradient {
  color: var(--color-text-heading);
  position: relative;
  display: inline;
}

.text-gradient::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(37, 99, 235, 0.15);
  border-radius: 4px;
  z-index: -1;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.label::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-text-heading);
}

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

.container--narrow {
  max-width: 900px;
}

.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section--alt {
  background: var(--color-bg-alt);
}

.grid {
  display: grid;
  gap: 24px;
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --section-pad: 72px; }
  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: 1fr; }
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-header p {
  margin-top: 16px;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition-medium);
  background: transparent;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  padding: 14px 0;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

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

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

.nav__logo-img {
  height: 64px;
  width: auto;
  object-fit: contain;
}

.nav__logo-icon {
  width: 36px;
  height: 36px;
  background: var(--color-text-heading);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 800;
  color: #fff;
}

.nav__logo span {
  color: var(--color-text-muted);
  font-weight: 500;
}

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

.nav__link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  position: relative;
  transition: color var(--transition-fast);
}

.nav__link:hover,
.nav__link.active {
  color: var(--color-text-heading);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-text-heading);
  transition: width var(--transition-fast);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__cta {
  margin-left: 12px;
}

/* --- Solutions Mega Menu Dropdown --- */
.nav__dropdown {
  position: relative;
}

.nav__link--has-dd {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav__dd-arrow {
  transition: transform 0.25s ease;
}

.nav__dropdown:hover .nav__dd-arrow,
.nav__dropdown.open .nav__dd-arrow {
  transform: rotate(180deg);
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 520px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 1000;
  padding-top: 12px;
}

.nav__dropdown:hover .mega-menu,
.nav__dropdown.open .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-menu__inner {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.04);
  padding: 24px;
}

.mega-menu__label {
  display: block;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  padding-left: 4px;
}

.mega-menu__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.mega-menu__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 8px;
  border-radius: var(--radius-md);
  transition: background 0.2s ease;
  text-decoration: none;
}

.mega-menu__item:hover {
  background: var(--color-bg-alt);
}

.mega-menu__img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.mega-menu__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.mega-menu__item:hover .mega-menu__img img {
  transform: scale(1.08);
}

.mega-menu__item span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-heading);
  line-height: 1.3;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-heading);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.nav__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 900px) {
  .nav__hamburger { display: flex; }
  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--color-bg);
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    gap: 24px;
    transition: right var(--transition-medium);
    border-left: 1px solid var(--color-border);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.08);
  }
  .nav__links.open { right: 0; }
  .nav__cta { margin-left: 0; margin-top: 12px; }

  /* Mega menu — mobile */
  .nav__dropdown { width: 100%; }
  .mega-menu {
    position: static;
    transform: none;
    width: 100%;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    padding-top: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }
  .nav__dropdown.open .mega-menu {
    max-height: 600px;
  }
  .mega-menu__inner {
    border: none;
    box-shadow: none;
    padding: 12px 0;
    background: transparent;
  }
  .mega-menu__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .mega-menu__img { width: 56px; height: 56px; }
  .mega-menu__item span { font-size: 0.6875rem; }
}

/* --- Simple Dropdown (Work, About) --- */
.sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 1000;
}

.nav__dropdown:hover .sub-menu,
.nav__dropdown.open .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.sub-menu__inner {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  padding: 12px 0;
}

.sub-menu__item {
  display: block;
  padding: 10px 24px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-body);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.sub-menu__item:hover {
  background: var(--color-bg-subtle, #F5F3EF);
  color: var(--color-text-heading);
}

@media (max-width: 900px) {
  .sub-menu {
    position: static;
    transform: none;
    width: 100%;
    min-width: auto;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }
  .nav__dropdown.open .sub-menu {
    max-height: 300px;
  }
  .sub-menu__inner {
    border: none;
    box-shadow: none;
    padding: 4px 0;
    background: transparent;
  }
  .sub-menu__item {
    padding: 8px 24px;
    font-size: 0.8125rem;
  }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-primary);
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-text-heading);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.btn--primary:hover {
  background: #333333;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.btn--secondary {
  background: transparent;
  color: var(--color-text-heading);
  border: 1.5px solid var(--color-border-hover);
}

.btn--secondary:hover {
  border-color: var(--color-text-heading);
  background: var(--color-accent-glow2);
}

.btn--white {
  background: #FFFFFF;
  color: var(--color-text-heading);
  border: 1.5px solid var(--color-border);
}

.btn--white:hover {
  border-color: var(--color-text-heading);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text-heading);
  padding: 14px 0;
}

.btn--ghost:hover {
  color: var(--color-text-secondary);
}

.btn--ghost .arrow {
  transition: transform var(--transition-fast);
}

.btn--ghost:hover .arrow {
  transform: translateX(4px);
}

.btn--large {
  padding: 18px 36px;
  font-size: 1rem;
}

.btn .arrow {
  font-size: 1.1em;
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
  background: var(--color-bg);
}

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

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

.hero__bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.07;
}

.hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  margin-bottom: 28px;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22C55E;
  animation: pulse-dot 2s infinite;
}

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

.hero h1 {
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero p {
  font-size: 1.1875rem;
  max-width: 600px;
  margin: 0 auto 40px;
  color: var(--color-text-secondary);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: 48px;
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid var(--color-border);
  justify-content: center;
}

.hero__stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text-heading);
}

.hero__stat-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

@media (max-width: 768px) {
  .hero { min-height: auto; padding: 120px 0 60px; }
  .hero__stats { gap: 24px; flex-wrap: wrap; }
}

/* Hero Image Split Layout */
.hero--split {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
  background: var(--color-bg);
}

.hero--split .hero__content {
  text-align: left;
  margin: 0;
}

.hero--split .hero__actions {
  justify-content: flex-start;
}

.hero--split .hero__stats {
  justify-content: flex-start;
}

.hero__split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.08);
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

@media (max-width: 900px) {
  .hero__split-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero--split .hero__content {
    text-align: center;
  }
  .hero--split .hero__actions {
    justify-content: center;
  }
  .hero--split .hero__stats {
    justify-content: center;
  }
}

/* --- Hero Full-Width Background --- */
.hero--bg {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
  background: #F0EDE8;
}

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

.hero--bg .hero__bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero--bg .hero__bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at center 45%, rgba(240, 237, 232, 0.72) 0%, rgba(240, 237, 232, 0.35) 50%, rgba(240, 237, 232, 0.08) 75%, transparent 100%);
}

.hero--bg .hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.hero--bg h1 {
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  color: var(--color-text-heading);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.15;
}

.hero--bg p {
  font-size: 1.0625rem;
  max-width: 520px;
  margin: 0 auto 36px;
  color: var(--color-text-secondary);
}

.hero--bg .hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero--bg .hero__stats {
  display: inline-flex;
  gap: 48px;
  margin-top: 56px;
  padding: 28px 40px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.6);
  justify-content: center;
}

@media (max-width: 768px) {
  .hero--bg { min-height: auto; padding: 120px 0 60px; }
  .hero--bg .hero__stats { gap: 24px; flex-wrap: wrap; padding: 20px 28px; }
  .hero--bg h1 { font-size: 2rem; }
}

/* --- Our Clients / Trust Bar — Infinite Scroll (nirwana.ai style) --- */
.trust-section {
  padding: 56px 0 48px;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}

.trust-section__heading {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.625rem;
  font-weight: 700;
  font-style: italic;
  color: var(--color-text-heading);
  text-align: center;
  margin-bottom: 36px;
  letter-spacing: -0.01em;
}

.trust-bar-wrapper {
  position: relative;
  overflow: hidden;
}

.trust-bar-wrapper::before,
.trust-bar-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.trust-bar-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--color-bg), transparent);
}

.trust-bar-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--color-bg), transparent);
}

.trust-bar {
  display: flex;
  align-items: center;
  width: max-content;
  animation: scroll-logos 35s linear infinite;
}

.trust-bar:hover {
  animation-play-state: paused;
}

.trust-bar__item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0 32px;
  height: 60px;
}

.trust-bar__item img {
  height: 44px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  opacity: 0.75;
  transition: all var(--transition-fast);
}

.trust-bar__item:hover img {
  opacity: 1;
}

@keyframes scroll-logos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .trust-section { padding: 40px 0 36px; }
  .trust-section__heading { font-size: 1.375rem; margin-bottom: 28px; }
  .trust-bar__item { padding: 0 24px; }
  .trust-bar__item img { height: 36px; max-width: 130px; }
}

/* --- Cards --- */
.card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
}

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 1px solid var(--color-border);
}

.card__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-text-heading);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card__icon--alt {
  background: var(--color-highlight-soft);
  border-color: rgba(37, 99, 235, 0.12);
}

.card__icon--alt svg {
  stroke: var(--color-highlight);
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  font-size: 0.9375rem;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-heading);
  transition: gap var(--transition-fast);
}

.card__link:hover {
  gap: 10px;
}

/* --- Card with Thumbnail Image --- */
.card.card--with-img {
  padding: 0;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.card.card--with-img .card__thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  position: relative;
}

.card.card--with-img .card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.card.card--with-img:hover .card__thumb img {
  transform: scale(1.06);
}

.card.card--with-img .card__body {
  padding: 24px 28px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card.card--with-img .card__body h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

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

/* --- Why Section (Home page) --- */
.why-section {
  padding: var(--section-pad) 0;
  background: var(--color-bg-alt);
}

.why-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.why-section__content {
  max-width: 520px;
}

.why-section__content h2 {
  margin-bottom: 16px;
  line-height: 1.15;
}

.why-section__content > p {
  margin-bottom: 36px;
}

.why-section__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
  position: relative;
  aspect-ratio: 4/3;
}

.why-section__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1.03);
}

.why-section__img.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.why-feature {
  display: flex;
  gap: 20px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-border);
  align-items: flex-start;
  cursor: pointer;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  margin-bottom: 4px;
  transition: all var(--transition-fast);
}

.why-feature:last-child {
  margin-bottom: 0;
}

.why-feature:hover {
  background: var(--color-bg);
}

.why-feature.active {
  background: var(--color-bg);
  border-color: var(--color-border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.why-feature.active .why-feature__icon {
  background: var(--color-text-heading);
  border-color: var(--color-text-heading);
}

.why-feature.active .why-feature__icon svg {
  stroke: #FFFFFF;
}

.why-feature__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.why-feature__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-text-heading);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke var(--transition-fast);
}

.why-feature__text h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  transition: color var(--transition-fast);
}

.why-feature__text p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .why-section__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .why-section__content { max-width: 100%; }
  .why-section__image { order: -1; }
  .why-feature { padding: 16px 20px; }
}

/* --- Feature Card (Large) --- */
.feature-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 56px;
  margin-bottom: 32px;
  transition: all var(--transition-medium);
}

.feature-card:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
  border-color: var(--color-border-hover);
}

.feature-card__visual {
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
}

.feature-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .feature-card {
    grid-template-columns: 1fr;
    padding: 32px;
  }
}

/* --- Process / Steps (legacy) --- */
.process-step__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

/* ==========================================
   HORIZONTAL TIMELINE — index.html
   ========================================== */
.h-timeline {
  position: relative;
  padding: 0 20px;
}

.h-timeline__track {
  position: absolute;
  top: 36px;
  left: 80px;
  right: 80px;
  height: 2px;
  z-index: 0;
}

.h-timeline__wire {
  position: absolute;
  inset: 0;
  background: var(--color-border);
  border-radius: 2px;
}

.h-timeline__progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--color-text-heading);
  border-radius: 2px;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.h-timeline.animated .h-timeline__progress {
  width: 100%;
}

.h-timeline__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.h-timeline__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
}

.h-timeline.animated .h-timeline__step {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.h-timeline.animated .h-timeline__step[data-step="0"] { transition-delay: 0.15s; }
.h-timeline.animated .h-timeline__step[data-step="1"] { transition-delay: 0.35s; }
.h-timeline.animated .h-timeline__step[data-step="2"] { transition-delay: 0.55s; }
.h-timeline.animated .h-timeline__step[data-step="3"] { transition-delay: 0.75s; }

.h-timeline__node {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.h-timeline__node::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid transparent;
  transition: border-color 0.5s ease;
}

.h-timeline.animated .h-timeline__node {
  background: var(--color-text-heading);
  border-color: var(--color-text-heading);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.h-timeline.animated .h-timeline__node::after {
  border-color: rgba(0, 0, 0, 0.08);
}

.h-timeline__node svg {
  width: 26px;
  height: 26px;
  stroke: var(--color-text-muted);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.5s ease;
}

.h-timeline.animated .h-timeline__node svg {
  stroke: #FFFFFF;
}

.h-timeline__step h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text-heading);
  line-height: 1.4;
}

@media (max-width: 768px) {
  .h-timeline__track { display: none; }
  .h-timeline__steps {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .h-timeline__node { width: 60px; height: 60px; }
  .h-timeline__node svg { width: 22px; height: 22px; }
}

@media (max-width: 480px) {
  .h-timeline__steps { grid-template-columns: 1fr; gap: 24px; }
}

/* ==========================================
   VERTICAL TIMELINE — approach.html
   ========================================== */
/* --- Staggered 2-Column Timeline --- */
.stagger-section {
  padding-bottom: 40px;
}

.stagger-tl {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 56px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Center wire */
.stagger-tl__wire {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  transform: translateX(-50%);
  z-index: 0;
}

.stagger-tl__svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.stagger-tl__wire-bg {
  stroke: var(--color-border);
  stroke-width: 2;
}

.stagger-tl__wire-line {
  stroke: var(--color-text-heading);
  stroke-width: 2;
  stroke-dasharray: 4000;
  stroke-dashoffset: 4000;
  transition: stroke-dashoffset 0.05s linear;
}

/* Columns */
.stagger-tl__col {
  display: flex;
  flex-direction: column;
  gap: 48px;
  z-index: 1;
}

.stagger-tl__col--right {
  padding-top: 260px;
}

/* Node circles */
.stagger-tl__node {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 3px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 2;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-tl__node span {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--color-text-muted);
  font-family: var(--font-mono), monospace;
  transition: color 0.4s ease;
}

.stagger-tl__node.reached {
  background: var(--color-text-heading);
  border-color: var(--color-text-heading);
  box-shadow: 0 0 0 8px rgba(17, 17, 17, 0.08), 0 4px 20px rgba(0, 0, 0, 0.15);
}

.stagger-tl__node.reached span {
  color: #fff;
}

.stagger-tl__node.reached::after {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(17, 17, 17, 0.12);
  animation: stagger-pulse 2s ease-out infinite;
}

@keyframes stagger-pulse {
  0%   { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.3); opacity: 0; }
}

/* Cards */
.stagger-tl__card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-medium);
}

.stagger-tl__card:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
  border-color: var(--color-border-hover);
  transform: translateY(-4px);
}

.stagger-tl__card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.stagger-tl__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.stagger-tl__card:hover .stagger-tl__card-img img {
  transform: scale(1.04);
}

.stagger-tl__card-body {
  padding: 28px 28px 32px;
}

.stagger-tl__card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.stagger-tl__card-body > p {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  margin-bottom: 18px;
  line-height: 1.65;
}

/* Checklist */
.stagger-tl__list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}

.stagger-tl__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 5px 0;
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.stagger-tl__list li::before {
  content: '';
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 8px;
}

/* Responsive */
@media (max-width: 900px) {
  .stagger-tl {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .stagger-tl__col--right {
    padding-top: 0;
  }
  .stagger-tl__col {
    gap: 36px;
  }
  .stagger-tl__wire {
    left: 24px;
    transform: none;
  }
  .stagger-tl__node {
    width: 40px;
    height: 40px;
    margin: 0 0 16px 4px;
  }
  .stagger-tl__card {
    margin-left: 52px;
  }
}

@media (max-width: 480px) {
  .stagger-tl__wire { left: 16px; }
  .stagger-tl__node { width: 36px; height: 36px; margin-left: 0; }
  .stagger-tl__node span { font-size: 0.75rem; }
  .stagger-tl__card { margin-left: 40px; }
  .stagger-tl__card-body { padding: 20px; }
}

.tag {
  display: inline-flex;
  padding: 4px 14px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

/* --- Case Study Cards --- */
.case-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-medium);
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08);
  border-color: var(--color-border-hover);
}

.case-card__image {
  aspect-ratio: 16/9;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.case-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-card__body {
  padding: 32px;
}

.case-card__tags {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.case-card__body h3 {
  margin-bottom: 12px;
}

.case-card__body p {
  font-size: 0.9375rem;
  margin-bottom: 20px;
}

.case-card__metrics {
  display: flex;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
  flex-wrap: wrap;
}

.case-card__metric-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-heading);
}

.case-card__metric-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* --- Team --- */
.team-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-medium);
}

.team-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.team-card__avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  border: 2px solid var(--color-border);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.team-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card__avatar svg {
  width: 36px;
  height: 36px;
  stroke: var(--color-text-muted);
  fill: none;
  stroke-width: 1.5;
}

.team-card h4 {
  margin-bottom: 4px;
}

.team-card__role {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 12px;
  font-weight: 500;
}

.team-card p {
  font-size: 0.8125rem;
}

/* --- Contact / Forms --- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 18px;
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-heading);
  font-family: var(--font-primary);
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-text-heading);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

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

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

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23888888' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.form-group select option {
  background: var(--color-bg);
  color: var(--color-text);
}

@media (max-width: 768px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* Contact Layout */
/* --- Clean Contact Section --- */
.contact-clean {
  padding: 140px 0 80px;
  background: var(--color-bg);
}

.contact-clean__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.contact-clean__header h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.contact-clean__header p {
  font-size: 1rem;
  color: var(--color-text-secondary);
}

.contact-clean__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-clean__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.contact-clean__image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.contact-clean__form h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 28px;
  color: var(--color-text-heading);
}

.contact-clean__form form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-clean__form .cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-clean__form .cf-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-clean__form input,
.contact-clean__form select,
.contact-clean__form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--color-border);
  border-radius: 30px;
  font-size: 0.9375rem;
  font-family: inherit;
  color: var(--color-text-heading);
  background: var(--color-bg);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, transform 0.2s ease;
  outline: none;
}

.contact-clean__form input::placeholder,
.contact-clean__form textarea::placeholder {
  color: var(--color-text-muted);
  transition: color 0.25s ease;
}

.contact-clean__form input:hover,
.contact-clean__form select:hover,
.contact-clean__form textarea:hover {
  border-color: #999;
  background: #fafafa;
}

.contact-clean__form input:focus,
.contact-clean__form select:focus,
.contact-clean__form textarea:focus {
  border-color: var(--color-text-heading);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
  background: #fff;
}

.contact-clean__form input:focus::placeholder,
.contact-clean__form textarea:focus::placeholder {
  color: #bbb;
}

/* Validation error state */
.contact-clean__form .field-error {
  border-color: #EF4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.08) !important;
}

/* Validation error message */
.cf-error-msg {
  color: #EF4444;
  font-size: 0.75rem;
  margin-top: -12px;
  margin-bottom: 4px;
  padding-left: 18px;
  display: none;
}

.cf-error-msg.visible {
  display: block;
}

/* Form-level alert */
.cf-alert {
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 20px;
  display: none;
}

.cf-alert.visible {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cf-alert--success {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
}

.cf-alert--error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.contact-clean__form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 16px;
  padding-right: 44px;
  cursor: pointer;
}

.contact-clean__form textarea {
  border-radius: var(--radius-lg);
  resize: vertical;
  min-height: 130px;
}

.contact-clean__form .cf-submit {
  text-align: center;
  margin-top: 8px;
}

.contact-clean__form .cf-submit .btn {
  min-width: 200px;
  justify-content: center;
  border-radius: 30px;
}

@media (max-width: 900px) {
  .contact-clean__body { grid-template-columns: 1fr; gap: 40px; }
  .contact-clean__image { order: -1; }
}

@media (max-width: 480px) {
  .contact-clean__form .cf-row { grid-template-columns: 1fr; }
}

/* --- Why Choose Us --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  padding: 40px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition-medium);
}

.why-card:hover {
  border-color: var(--color-text-heading);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.why-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-card__icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-text-heading);
  fill: none;
  stroke-width: 1.5;
}

.why-card h3 {
  margin-bottom: 12px;
  font-size: 1.125rem;
}

.why-card p {
  font-size: 0.875rem;
}

@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* --- CTA Section --- */
.cta-section {
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--color-text-heading);
  color: #FFFFFF;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 70%, rgba(255,255,255,0.04) 0%, transparent 50%),
              radial-gradient(circle at 70% 30%, rgba(255,255,255,0.03) 0%, transparent 40%);
  pointer-events: none;
}

.cta-section .label {
  color: rgba(255, 255, 255, 0.5);
}

.cta-section .label::before {
  background: rgba(255, 255, 255, 0.5);
}

.cta-section h2 {
  margin-bottom: 16px;
  color: #FFFFFF;
}

.cta-section h2 .text-gradient {
  color: #FFFFFF;
}

.cta-section h2 .text-gradient::after {
  background: rgba(255, 255, 255, 0.2);
}

.cta-section p {
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.7);
}

.cta-section .btn--primary {
  background: #FFFFFF;
  color: var(--color-text-heading);
}

.cta-section .btn--primary:hover {
  background: #F1F3F5;
  transform: translateY(-2px);
}

.cta-section .btn--secondary {
  border-color: rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
}

.cta-section .btn--secondary:hover {
  border-color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}

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

/* --- Footer --- */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-alt);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand {
  max-width: 320px;
}

.footer__brand p {
  font-size: 0.875rem;
  margin-top: 16px;
  color: var(--color-text-muted);
}

.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  transition: all var(--transition-fast);
}

.footer__social a:hover {
  background: var(--color-text-heading);
  border-color: var(--color-text-heading);
}

.footer__social a:hover svg {
  fill: #FFFFFF;
}

.footer__social svg {
  width: 18px;
  height: 18px;
  fill: var(--color-text-secondary);
  transition: fill var(--transition-fast);
}

.footer__heading {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-heading);
  margin-bottom: 20px;
}

.footer__links li {
  margin-bottom: 12px;
}

.footer__links a {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

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

/* Footer — Keep In Touch (icon circles) */
.footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.footer__contact-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.footer__contact-item:hover .footer__contact-icon {
  background: var(--color-text-heading);
  border-color: var(--color-text-heading);
}

.footer__contact-item:hover .footer__contact-icon svg {
  stroke: #fff;
  fill: none;
}

.footer__contact-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-text-heading);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer__contact-item strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: 3px;
}

.footer__contact-item p {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.footer__contact-item a {
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.footer__contact-item a:hover {
  color: var(--color-text-heading);
}

.footer__bottom {
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.footer__bottom-links {
  display: flex;
  gap: 24px;
}

.footer__bottom-links a:hover {
  color: var(--color-text-heading);
}

@media (max-width: 900px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 16px; text-align: center; }
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* --- Page Header (for inner pages) --- */
.page-header {
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
  background: var(--color-bg-alt);
}

.page-header__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.page-header__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.06;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  margin-bottom: 16px;
}

.page-header p {
  max-width: 620px;
  font-size: 1.125rem;
}

/* ==========================================
   HERO VARIANTS — Unique per page
   ========================================== */

/* --- Split Page Hero (Solutions, etc.) --- */
.hero--split-page {
  padding: 160px 0 80px;
  background: var(--color-bg);
}

.hero--split-page__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero--split-page__text h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hero--split-page__text p {
  font-size: 1.0625rem;
  max-width: 500px;
  margin-bottom: 32px;
  color: var(--color-text-secondary);
}

.hero--split-page__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero--split-page__visual {
  position: relative;
}

.hero--split-page__visual img {
  width: 100%;
  border-radius: var(--radius-xl);
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  border: 1px solid var(--color-border);
  box-shadow: 0 24px 64px rgba(0,0,0,0.08);
}

@media (max-width: 900px) {
  .hero--split-page { padding: 140px 0 60px; }
  .hero--split-page__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero--split-page__visual { order: -1; }
}

/* --- Approach Hero (Light, matching index.html style) --- */
.hero--approach-light {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 0 80px;
  overflow: hidden;
  background: #F0EDE8;
}

.hero--approach-light__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero--approach-light__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero--approach-light__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at center 45%, rgba(240, 237, 232, 0.75) 0%, rgba(240, 237, 232, 0.4) 50%, rgba(240, 237, 232, 0.1) 75%, transparent 100%);
}

.hero--approach-light__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.hero--approach-light h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--color-text-heading);
}

.hero--approach-light p {
  font-size: 1.0625rem;
  max-width: 520px;
  margin: 0 auto 36px;
  color: var(--color-text-secondary);
}

.hero--approach-light__phases {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero--approach-light__tag {
  display: inline-flex;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-heading);
  transition: all var(--transition-fast);
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.7);
  letter-spacing: 0.02em;
}

.hero--approach-light__tag:hover {
  background: var(--color-text-heading);
  color: #fff;
  border-color: var(--color-text-heading);
}

@media (max-width: 768px) {
  .hero--approach-light { min-height: auto; padding: 120px 0 60px; }
  .hero--approach-light__phases { gap: 8px; }
  .hero--approach-light__tag { padding: 8px 16px; font-size: 0.75rem; }
}

/* --- Work Hero --- */
.work-hero {
  padding: 160px 0 0;
  background: var(--color-bg);
}

.work-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.work-hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.work-hero p {
  font-size: 1.0625rem;
  max-width: 540px;
  color: var(--color-text-secondary);
  margin-bottom: 32px;
}

.work-hero__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: 0 24px 64px rgba(0,0,0,0.08);
}

.work-hero__image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.work-hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 56px;
  padding: 40px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.work-hero__stat {
  text-align: center;
  position: relative;
}

.work-hero__stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 48px;
  background: var(--color-border);
}

.work-hero__stat-val {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-text-heading);
  letter-spacing: -0.02em;
  line-height: 1;
}

.work-hero__stat-lbl {
  display: block;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: 8px;
}

@media (max-width: 900px) {
  .work-hero { padding: 140px 0 0; }
  .work-hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .work-hero__image { order: -1; }
}

@media (max-width: 768px) {
  .work-hero__stats { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .work-hero__stat:not(:last-child)::after { display: none; }
}

/* --- Case Study Spotlight Cards --- */
.cs-spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 72px;
  padding: 40px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  transition: box-shadow var(--transition-base);
}

.cs-spotlight:last-child {
  margin-bottom: 0;
}

.cs-spotlight:hover {
  box-shadow: 0 20px 60px rgba(0,0,0,0.06);
}

.cs-spotlight--reverse {
  direction: rtl;
}

.cs-spotlight--reverse > * {
  direction: ltr;
}

.cs-spotlight__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.cs-spotlight__img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.cs-spotlight:hover .cs-spotlight__img img {
  transform: scale(1.03);
}

.cs-spotlight__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.cs-spotlight__body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.cs-spotlight__body p {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  margin-bottom: 10px;
  line-height: 1.7;
}

.cs-spotlight__body p:last-of-type {
  margin-bottom: 24px;
}

.cs-spotlight__metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.cs-spotlight__metric {
  text-align: center;
}

.cs-spotlight__metric strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-text-heading);
  letter-spacing: -0.02em;
}

.cs-spotlight__metric span {
  display: block;
  font-size: 0.6875rem;
  color: var(--color-text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 500;
}

@media (max-width: 900px) {
  .cs-spotlight {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 28px;
  }
  .cs-spotlight--reverse { direction: ltr; }
  .cs-spotlight__metrics { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .cs-spotlight__metrics { grid-template-columns: 1fr 1fr; gap: 12px; }
}

/* --- Impact Numbers Strip --- */
.impact-strip {
  padding: 64px 0;
  background: #111;
}

.impact-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.impact-strip__item {
  text-align: center;
  position: relative;
}

.impact-strip__item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.12);
}

.impact-strip__item strong {
  display: block;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
}

.impact-strip__item span {
  display: block;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  margin-top: 8px;
}

@media (max-width: 768px) {
  .impact-strip__inner { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
  .impact-strip__item:not(:last-child)::after { display: none; }
}

/* --- Sample Implementation Cards --- */
.sample-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.sample-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.sample-card__img {
  position: relative;
  overflow: hidden;
}

.sample-card__img img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.sample-card:hover .sample-card__img img {
  transform: scale(1.05);
}

.sample-card__overlay {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  gap: 6px;
}

.sample-card__overlay .tag {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(6px);
  color: var(--color-text-heading);
  border-color: transparent;
}

.sample-card h4 {
  padding: 20px 24px 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-heading);
}

.sample-card p {
  padding: 8px 24px 24px;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .sample-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
  .sample-grid { grid-template-columns: 1fr; }
}

/* --- Work Testimonial --- */
.work-testimonial {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
}

.work-testimonial__quote svg {
  color: var(--color-text-heading);
  margin-bottom: 20px;
}

.work-testimonial__quote blockquote {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-text-heading);
  line-height: 1.7;
  margin-bottom: 28px;
  font-style: italic;
}

.work-testimonial__author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.work-testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-text-heading);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
  flex-shrink: 0;
}

.work-testimonial__author strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--color-text-heading);
}

.work-testimonial__author span {
  display: block;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.work-testimonial__logos p {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  font-weight: 600;
  margin-bottom: 20px;
}

.work-testimonial__logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}

.work-testimonial__logo-row img {
  height: 24px;
  opacity: 0.4;
  transition: opacity var(--transition-fast);
  filter: grayscale(1);
}

.work-testimonial__logo-row img:hover {
  opacity: 0.8;
}

@media (max-width: 900px) {
  .work-testimonial {
    grid-template-columns: 1fr;
    padding: 36px;
    gap: 36px;
  }
}

/* --- About Hero (Split: Text + Images) --- */
.hero--about {
  padding: 160px 0 80px;
  background: var(--color-bg);
}

.hero--about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero--about__text h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.hero--about__text p {
  font-size: 1.0625rem;
  max-width: 480px;
  margin-bottom: 32px;
}

.hero--about__badges {
  display: flex;
  gap: 24px;
}

.hero--about__badge {
  text-align: center;
  padding: 16px 20px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  min-width: 100px;
}

.hero--about__badge strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-heading);
}

.hero--about__badge span {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 2px;
  display: block;
}

.hero--about__visual {
  position: relative;
}

.hero--about__img-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: 0 16px 48px rgba(0,0,0,0.06);
}

.hero--about__img-main img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.hero--about__img-accent {
  position: absolute;
  bottom: -24px;
  left: -32px;
  width: 45%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid var(--color-bg);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.hero--about__img-accent img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .hero--about { padding: 140px 0 60px; }
  .hero--about__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero--about__visual { order: -1; }
  .hero--about__img-accent { bottom: -16px; left: -16px; }
  .hero--about__badges { flex-wrap: wrap; }
}

/* (Contact styles are in the .contact-clean block above) */

/* --- Section Image --- */
.section-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
}

.section-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Solution Detail --- */
.solution-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 60px 0;
}

.solution-detail__content h3 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.solution-detail__content p {
  margin-bottom: 16px;
}

.solution-detail__content ul {
  margin-top: 16px;
}

.solution-detail__content ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
}

.solution-detail__content ul li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

.solution-detail__visual {
  border-radius: var(--radius-xl);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
}

.solution-detail__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .solution-detail {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 0;
  }
}

/* --- Misc --- */
.divider {
  height: 1px;
  background: var(--color-border);
  margin: 0;
  border: none;
}

.text-center { text-align: center; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }

/* --- Metric Cards --- */
.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 48px 0;
}

.metric-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.metric-card__value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-text-heading);
  line-height: 1;
}

.metric-card__label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-top: 8px;
}

@media (max-width: 768px) {
  .metrics-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .metrics-row { grid-template-columns: 1fr; }
}

/* --- Success Page --- */
.form-success {
  text-align: center;
  padding: 48px;
}

.form-success__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-success__icon svg {
  width: 28px;
  height: 28px;
  stroke: #22C55E;
  fill: none;
  stroke-width: 2;
}

.form-success h3 {
  margin-bottom: 12px;
}

/* --- Steps / What Happens Next --- */
.steps-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 32px;
  margin-top: 32px;
}

.steps-card__item {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  align-items: flex-start;
}

.steps-card__item:last-child {
  margin-bottom: 0;
}

.steps-card__number {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-text-heading);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #FFFFFF;
}

.steps-card__number--done {
  background: #22C55E;
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--color-bg-alt); }
::-webkit-scrollbar-thumb {
  background: var(--color-border-hover);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--color-text-muted); }

/* --- Selection --- */
::selection {
  background: var(--color-text-heading);
  color: #fff;
}

/* --- Hero Badge inside hero--bg --- */
.hero--bg .hero__badge {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  margin-bottom: 28px;
}

/* --- Smooth section dividers --- */
.section + .section--alt,
.section--alt + .section {
  border-top: 1px solid var(--color-border);
}

/* --- Image Showcase Row --- */
.image-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.image-row__item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  border: 1px solid var(--color-border);
}

.image-row__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.image-row__item:hover img {
  transform: scale(1.05);
}

.image-row__label {
  text-align: center;
  margin-top: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-heading);
}

@media (max-width: 768px) {
  .image-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Testimonial --- */
.testimonial {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}

.testimonial::before {
  content: '\201C';
  position: absolute;
  top: 20px;
  left: 32px;
  font-size: 5rem;
  line-height: 1;
  color: var(--color-border);
  font-family: Georgia, serif;
  pointer-events: none;
}

.testimonial__quote {
  font-size: 1.1875rem;
  line-height: 1.85;
  color: var(--color-text-secondary);
  font-style: italic;
  margin-bottom: 28px;
  font-family: Georgia, 'Times New Roman', serif;
}

.testimonial__author {
  font-weight: 600;
  color: var(--color-text-heading);
  font-size: 0.9375rem;
  font-family: var(--font-primary);
}

.testimonial__role {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: 4px;
  font-family: var(--font-primary);
}

.testimonial__stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 24px;
}

.testimonial__stars svg {
  width: 18px;
  height: 18px;
  fill: #FACC15;
  stroke: none;
}

/* --- Benefits List --- */
.benefits-list {
  list-style: none;
  padding: 0;
}

.benefits-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 1rem;
  color: var(--color-text-secondary);
}

.benefits-list li:last-child {
  border-bottom: none;
}

.benefits-list__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-text-heading);
  flex-shrink: 0;
}

.benefits-list__dot--active {
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.08);
}

/* ========== SOLUTION DETAIL PAGES ========== */

.case-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--color-bg-subtle, #F5F3EF);
  color: var(--color-text-heading);
  margin-bottom: 16px;
}

.case-card__icon svg {
  width: 24px;
  height: 24px;
}

.process-step .steps-card__number {
  width: 40px;
  height: 40px;
  font-size: 1rem;
  font-weight: 700;
}

/* Solution page feature card bullet list */
.feature-card ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.feature-card ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-body);
}

.feature-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-text-heading);
}

/* Solution detail section spacing */
.section--alt {
  background: var(--color-bg-subtle, #FAFAF8);
}
