/* ============================================
   AIA DESIGN SYSTEM — AI Accelerator
   Version: 1.0
   ============================================ */

/* --- Custom Properties --- */
:root {
  /* Core palette */
  --color-primary: #1B2F3C;
  --color-accent-1: #00FFBC;
  --color-accent-2: #00B1FF;
  --color-white: #FFFFFF;
  --color-off-white: #F8F9FA;

  /* Extended */
  --color-deep-cerulean: #0084B2;
  --color-malibu: #5CD5FF;
  --color-cornflower: #6161FF;
  --color-meadow: #17CE95;
  --color-green-pea: #226B4D;
  --color-moonraker: #C5B6F1;
  --color-sea-pink: #EFACA8;
  --color-bittersweet: #FF5F5F;
  --color-surface-dark: #152532;

  /* Accessible accent — use on light backgrounds instead of accent-1 */
  --color-accent-1-accessible: #007A5E;
  --color-accent-2-accessible: #0071A1;
  --gradient-accent-accessible: linear-gradient(135deg, #007A5E 0%, #0071A1 100%);

  /* Functional */
  --color-text-secondary: #575756;
  --color-text-muted: #8A9AA5;
  --color-border: #E2E8F0;
  --color-border-subtle: #F1F5F9;

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #111F28 0%, #1B2F3C 60%, #0A4A6B 100%);
  --gradient-accent: linear-gradient(135deg, #00FFBC 0%, #00B1FF 100%);
  --gradient-subtle: linear-gradient(180deg, #F8F9FA 0%, #FFFFFF 100%);
  --gradient-dark: linear-gradient(180deg, #1B2F3C 0%, #152532 100%);
  --gradient-glow: radial-gradient(circle at 50% 50%, rgba(0,255,188,0.15) 0%, transparent 70%);

  /* Typography */
  --font: 'Poppins', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --max-width: 1280px;
  --max-width-narrow: 720px;
  --section-pad: 80px;
  --section-pad-mobile: 48px;
  --container-pad: 48px;
  --container-pad-mobile: 24px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(27,47,60,0.08);
  --shadow-md: 0 4px 12px rgba(27,47,60,0.12);
  --shadow-lg: 0 12px 40px rgba(27,47,60,0.16);
  --shadow-glow: 0 0 40px rgba(0,255,188,0.2);
  --shadow-blue-glow: 0 0 40px rgba(0,177,255,0.2);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
  --duration-entrance: 800ms;
}

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

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

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.75;
  color: var(--color-primary);
  background: var(--color-white);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ============================================
   TYPOGRAPHY
   ============================================ */
.display-xl { font-size: clamp(40px, 5vw, 80px); font-weight: 700; line-height: 1.0; letter-spacing: -0.03em; }
.display-lg { font-size: clamp(36px, 4vw, 64px); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; }
.display-md { font-size: clamp(28px, 3vw, 48px); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.heading-lg { font-size: clamp(26px, 2.5vw, 36px); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.heading-md { font-size: clamp(22px, 2vw, 28px); font-weight: 600; line-height: 1.3; }
.heading-sm { font-size: 22px; font-weight: 600; line-height: 1.35; }
.body-lg { font-size: 20px; font-weight: 400; line-height: 1.7; }
.body-sm { font-size: 15px; line-height: 1.65; }
.caption { font-size: 13px; line-height: 1.5; letter-spacing: 0.02em; }

.overline {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.text-gradient {
  background: var(--gradient-accent-accessible);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Bright gradient text is fine on dark backgrounds */
.section-dark .text-gradient,
.section-gradient .text-gradient,
.hero .text-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

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

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

.section-dark {
  background: var(--color-primary);
  color: var(--color-white);
}

.section-gradient {
  background: var(--gradient-hero);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.section-gradient-dark {
  background: var(--gradient-dark);
  color: var(--color-white);
}

.section-light {
  background: var(--color-white);
}

.section-off-white {
  background: var(--color-off-white);
}

.text-center { text-align: center; }
.text-left { text-align: left; }

.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); }

.flex { display: flex; }
.flex-center { align-items: center; justify-content: center; }
.flex-between { align-items: center; justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
.gap-48 { gap: 48px; }

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

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: var(--section-pad-mobile) 0; }
  .container, .container-narrow { padding: 0 var(--container-pad-mobile); }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 12px;
  padding: 14px 32px;
  border: none;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  text-decoration: none;
  white-space: nowrap;
}

.btn-sm { padding: 8px 20px; font-size: 14px; height: 36px; border-radius: 10px; }
.btn-lg { padding: 16px 36px; font-size: 16px; height: 52px; }

.btn-primary {
  background: var(--color-accent-2);
  color: var(--color-white);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue-glow);
}

.btn-accent {
  background: var(--gradient-accent);
  color: var(--color-primary);
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-outline-light {
  background: transparent;
  color: var(--color-accent-2);
  border: 2px solid var(--color-accent-2);
}
.btn-outline-light:hover {
  background: var(--color-accent-2);
  color: var(--color-white);
}

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

.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-icon svg { width: 18px; height: 18px; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 var(--container-pad);
  height: 72px;
  display: flex;
  align-items: center;
  transition: all var(--duration-normal) ease;
}

.nav.scrolled {
  background: rgba(27, 47, 60, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-white);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-white);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-accent-1);
  border-radius: 1px;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown-trigger::after {
  content: '';
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.5;
  transition: transform 0.2s;
}

.nav-dropdown:hover .nav-dropdown-trigger::after {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(27, 47, 60, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 12px 8px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: all 0.2s ease;
  list-style: none;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.7) !important;
  transition: all 0.15s;
}

.nav-dropdown-menu a:hover {
  background: rgba(255,255,255,0.08);
  color: var(--color-white) !important;
}

.nav-cta {
  padding: 10px 24px !important;
  font-size: 14px !important;
  border-radius: 10px !important;
}

.nav-utility {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-right: 16px;
  transition: color 0.2s;
}

.nav-utility:hover { color: rgba(255,255,255,0.8); }

.nav-right {
  display: flex;
  align-items: center;
}

/* Mobile nav */
.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  margin: 6px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-primary);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-size: 28px;
  font-weight: 600;
  color: var(--color-white);
}

.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 32px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav { padding: 0 var(--container-pad-mobile); }
  .nav-links { display: none; }
  .nav-utility { display: none; }
  .nav-cta { display: none !important; }
  .nav-mobile-toggle { display: block; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,255,188,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  bottom: -20%;
  left: 10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,177,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding-top: 72px;
}

.hero-centered {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding-top: 72px;
  position: relative;
  z-index: 2;
}

.hero .overline {
  color: var(--color-accent-1);
  margin-bottom: 24px;
  display: block;
}

.hero h1 { margin-bottom: 24px; }

.hero .body-lg {
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  margin-bottom: 40px;
}

.hero-centered .body-lg {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   CARDS
   ============================================ */
.card {
  border-radius: 20px;
  padding: 32px;
  transition: all 0.4s var(--ease-out);
}

.card-feature {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.card-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

/* Service cards on homepage - consistent top accent */
.services-grid .card-feature {
  border-top: 3px solid var(--color-accent-2);
}
.services-grid .card-feature:hover {
  border-top-color: var(--color-accent-2);
}

.card-dark {
  background: var(--color-surface-dark);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--color-white);
}

.card-dark:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  border-color: rgba(255,255,255,0.15);
}

.card-glass {
  background: rgba(27,47,60,0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--color-white);
}

.card-glass:hover {
  background: rgba(27,47,60,0.5);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-4px);
}

.card-featured {
  background: var(--color-primary);
  border: 1px solid rgba(0,255,188,0.2);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.card-featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.card-icon-blue { background: rgba(0,177,255,0.1); color: var(--color-accent-2); }
.card-icon-green { background: rgba(0,122,94,0.1); color: var(--color-accent-1-accessible); }
.card-icon-teal { background: rgba(0,132,178,0.1); color: var(--color-deep-cerulean); }

.card h3 { margin-bottom: 12px; }
.card p { color: var(--color-text-secondary); line-height: 1.65; }
.card-dark p, .card-featured p, .card-glass p { color: rgba(255,255,255,0.7); }
.card .btn { margin-top: 20px; }

/* --- Case Study Cards (image background with grayscale-to-colour hover) --- */
.card-case-study {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: none;
  color: var(--color-white);
  padding: 28px;
  background: var(--color-primary);
}

.card-case-study .card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(100%);
  transition: filter 0.6s ease, transform 0.6s ease;
}

.card-case-study:hover .card-bg {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.card-case-study .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(27,47,60,0.92) 0%,
    rgba(27,47,60,0.7) 40%,
    rgba(27,47,60,0.35) 70%,
    rgba(27,47,60,0.15) 100%
  );
  transition: background 0.6s ease;
}

.card-case-study:hover .card-overlay {
  background: linear-gradient(
    to top,
    rgba(27,47,60,0.85) 0%,
    rgba(27,47,60,0.5) 40%,
    rgba(27,47,60,0.2) 70%,
    rgba(27,47,60,0.05) 100%
  );
}

.card-case-study .card-content {
  position: relative;
  z-index: 1;
}

.card-case-study .overline {
  color: var(--color-accent-1);
}

.card-case-study .overline-secondary {
  color: rgba(255,255,255,0.6);
}

.card-case-study h3 {
  color: var(--color-white);
  margin-bottom: 8px;
}

.card-case-study p {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.4s ease, margin 0.4s ease;
}

.card-case-study:hover p {
  max-height: 200px;
  opacity: 1;
  margin-top: 8px;
}

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

@media (max-width: 768px) {
  .card-case-study {
    min-height: 280px;
  }
  .card-case-study p {
    max-height: none;
    opacity: 1;
    margin-top: 8px;
    font-size: 13px;
  }
}

/* ============================================
   STATS
   ============================================ */
.stat { text-align: center; padding: 16px; }

.stat-number {
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 8px;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonial { position: relative; padding-top: 16px; }

.testimonial-quote-mark {
  font-family: Georgia, serif;
  font-size: 64px;
  color: var(--color-accent-1);
  opacity: 0.4;
  line-height: 0.5;
  margin-bottom: 16px;
  display: block;
}

.testimonial-text {
  font-size: 18px;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.testimonial-name { font-weight: 600; font-size: 15px; color: var(--color-white); }
.testimonial-role { font-size: 13px; color: rgba(255,255,255,0.5); }

/* ============================================
   FORMS
   ============================================ */
.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-secondary);
  margin-bottom: 8px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 2px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-white);
  font-family: var(--font);
  font-size: 16px;
  color: var(--color-primary);
  outline: none;
  transition: border-color var(--duration-normal), box-shadow var(--duration-normal);
}

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

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--color-accent-2);
  box-shadow: 0 0 0 4px rgba(0,177,255,0.1);
}

.form-textarea {
  height: auto;
  min-height: 120px;
  padding: 12px 16px;
  resize: vertical;
}

/* Dark form variant */
.form-dark .form-input,
.form-dark .form-textarea {
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: var(--color-white);
}

.form-dark .form-input::placeholder { color: rgba(255,255,255,0.4); }

.form-dark .form-input:focus {
  border-color: var(--color-accent-2);
  box-shadow: 0 0 0 4px rgba(0,177,255,0.1);
}

/* Newsletter form */
.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
}

.newsletter-form input {
  flex: 1;
  height: 52px;
  padding: 0 20px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  color: var(--color-white);
  font-family: var(--font);
  font-size: 16px;
  outline: none;
  transition: border-color var(--duration-normal);
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form input:focus { border-color: var(--color-accent-2); box-shadow: 0 0 0 4px rgba(0,177,255,0.1); }
.newsletter-form .btn { height: 52px; }

@media (max-width: 480px) {
  .newsletter-form { flex-direction: column; }
}

/* ============================================
   BADGES & TAGS
   ============================================ */
.badge-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

.badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--color-off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.tag-blue { background: rgba(0,177,255,0.1); color: var(--color-accent-2); }
.tag-green { background: rgba(0,122,94,0.1); color: var(--color-accent-1-accessible); }

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section { position: relative; overflow: hidden; }

.cta-glow {
  position: absolute;
  bottom: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(0,255,188,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content { position: relative; z-index: 2; }
.cta-section h2 { margin-bottom: 16px; }
.cta-section .body-lg { color: rgba(255,255,255,0.6); margin-bottom: 32px; }

/* ============================================
   TWO-COLUMN LAYOUT
   ============================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.two-col-text-left { grid-template-columns: 1.2fr 0.8fr; }
.two-col-text-right { grid-template-columns: 0.8fr 1.2fr; }

@media (max-width: 768px) {
  .two-col,
  .two-col-text-left,
  .two-col-text-right { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================
   NUMBERED STEPS
   ============================================ */
.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 32px;
}

.step:last-child {
  margin-bottom: 0;
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,122,94,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-accent-1-accessible);
  flex-shrink: 0;
  margin-top: 2px;
}

.section-dark .step-number {
  background: rgba(0,255,188,0.15);
  color: var(--color-accent-1);
}

.step-content h3 { margin-bottom: 6px; }

/* ============================================
   PRINCIPLES / VALUES GRID
   ============================================ */
.principle { padding: 24px 0; }
.principle h4 { font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.principle p { font-size: 15px; color: rgba(255,255,255,0.7); }

/* ============================================
   PRICING COLUMNS
   ============================================ */
.pricing-card {
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
}

.pricing-card .price {
  font-size: 36px;
  font-weight: 700;
  margin: 16px 0 8px;
}

.pricing-card .price-note {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pricing-features li::before {
  content: '✓';
  color: var(--color-accent-1-accessible);
  font-weight: 700;
  flex-shrink: 0;
}

/* Restore bright turquoise for checkmarks on dark backgrounds */
.section-dark .pricing-features li::before,
.card-dark .pricing-features li::before,
.pricing-card-featured .pricing-features li::before {
  color: var(--color-accent-1);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 80px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: rgba(255,255,255,0.5) !important;
  font-size: 14px;
  margin-top: 12px;
  max-width: 280px;
}

.footer h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

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

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal { font-size: 13px; color: rgba(255,255,255,0.3); }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--duration-entrance) var(--ease-out), transform var(--duration-entrance) 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; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   UTILITIES
   ============================================ */
.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mb-64 { margin-bottom: 64px; }
.mt-24 { margin-top: 24px; }
.mt-48 { margin-top: 48px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.w-full { width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* --- Logo Images --- */
.nav-logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.footer-logo-img {
  height: 32px;
  width: auto;
  display: block;
}

/* --- Badge Logos --- */
.badge-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 4px;
}

/* ============================================
   CLIENT LOGO STRIP
   ============================================ */
.logo-strip-section {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 64px 0;
  overflow: hidden;
}

.logo-strip-label {
  text-align: center;
  margin-bottom: 40px;
}

.logo-strip-label .overline {
  color: var(--color-accent-1);
  display: block;
  margin-bottom: 8px;
}

.logo-strip-scroll {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}

.logo-strip-content {
  display: flex;
  gap: 48px;
  justify-content: center;
  align-items: center;
  animation: scroll-horizontal 20s linear infinite;
  will-change: transform;
  padding: 0 48px;
}

.logo-strip-content:hover {
  animation-play-state: paused;
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.6;
  transition: opacity var(--duration-normal);
}

.logo-item img {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.logo-item:hover {
  opacity: 1;
}

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

@media (max-width: 768px) {
  .logo-strip-section { padding: 48px 0; }
  .logo-strip-content { gap: 32px; padding: 0 24px; }
  .logo-item img { height: 28px; }
}

/* ============================================
   TESTIMONIAL CAROUSEL
   ============================================ */
.testimonial-carousel-container {
  position: relative;
  width: 100%;
}

.testimonial-carousel {
  display: flex;
  gap: 24px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0;
  margin: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  list-style: none;
  align-items: stretch;
}

.testimonial-carousel::-webkit-scrollbar {
  display: none;
}

.testimonial-carousel-item {
  flex: 0 0 calc(33.333% - 16px);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  min-height: 100%;
}

.testimonial-carousel-item .card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-carousel-item .testimonial-author {
  margin-top: auto;
}

.carousel-controls {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-normal);
  font-size: 20px;
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.carousel-btn:active {
  transform: translateY(0);
}

.carousel-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

@media (max-width: 1024px) {
  .testimonial-carousel-item {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (max-width: 768px) {
  .testimonial-carousel-item {
    flex: 0 0 calc(100% - 0px);
  }

  .carousel-controls {
    display: none;
  }
}
