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

:root {
  --copper: #C07830;
  --copper-light: #D4922A;
  --copper-dark: #A0621E;
  --navy: #0D1F3C;
  --navy-mid: #162845;
  --navy-light: #1E3560;
  --white: #FFFFFF;

  /* ── Dark theme palette ── */
  --bg:          #030305;   /* page background — deeper black */
  --bg-card:     #0C0C12;   /* card surfaces */
  --bg-section:  #07070C;   /* alternate section bg */
  --bg-elevated: #13131E;   /* form, modals */
  --bg-hover:    #1E1E2E;   /* card hover — clearly visible */
  --border-dark: rgba(255,255,255,0.08);
  --text-light:  #ECEDF5;
  --text-dim:    #7E839E;

  --gray-50: #F8F9FA;
  --gray-100: #F0F2F5;
  --gray-200: #E2E6EA;
  --gray-400: #9AA3AF;
  --gray-600: #6B7280;
  --gray-800: #1F2937;
  --text: #E4E5F0;
  --text-muted: #8A8FA8;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-md: 0 8px 40px rgba(0,0,0,0.5);
  --shadow-lg: 0 16px 60px rgba(0,0,0,0.6);
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-light);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.15rem; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
}
.btn-copper {
  background: linear-gradient(135deg, var(--copper), var(--copper-light));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(192,120,48,0.35);
}
.btn-copper:hover {
  background: linear-gradient(135deg, var(--copper-dark), var(--copper));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(192,120,48,0.45);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}
.btn-primary {
  background: var(--copper);
  color: var(--white);
}
.btn-primary:hover { background: var(--copper-dark); }
.btn-full { width: 100%; justify-content: center; }

/* ===== NAVBAR ===== */
.navbar {
  position: relative;
  z-index: 100;
  display: flex;
  align-items: stretch;
  background: var(--bg);
  border-bottom: 1px solid var(--border-dark);
  padding: 0;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
  padding: 14px 0;
}
.logo {
  background: var(--white);
  padding: 14px 32px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  border-radius: 0 0 22px 0; /* fillet — bottom-right only, like kipi.ai */
}
.logo-img {
  height: 56px;
  width: auto;
  object-fit: contain;
}

/* Nav area — sits on dark navy, no background */
.nav-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 32px;
}
.logo-img-footer {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.footer-logo {
  background: transparent;
  border-radius: 0;
  padding: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--copper-light); }
.nav-cta { padding: 10px 22px !important; font-size: 0.88rem !important; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 80px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--bg);
  z-index: -2;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 75% 50%, rgba(192,120,48,0.08) 0%, transparent 65%),
    radial-gradient(ellipse 50% 50% at 5% 90%, rgba(192,120,48,0.04) 0%, transparent 60%);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(192,120,48,0.10) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.35;
}

/* ===== HERO PARTICLE CANVAS ===== */
#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin-left: 60px;
  margin-right: auto;
}
.hero-badge {
  display: inline-block;
  background: rgba(192,120,48,0.15);
  border: 1px solid rgba(192,120,48,0.4);
  color: var(--copper-light);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.hero-title {
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero-title .highlight {
  background: linear-gradient(135deg, var(--copper-light), #F0B060);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  color: rgba(255,255,255,0.72);
  font-size: 1.1rem;
  max-width: 600px;
  margin-bottom: 36px;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-stats {
  display: flex;
  gap: 0;
  align-items: center;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  padding: 0 32px 0 0;
}
.hero-stat:first-child { padding-left: 0; }
.hero-stat strong {
  color: var(--white);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}
.hero-stat span {
  color: rgba(255,255,255,0.55);
  font-size: 0.8rem;
  margin-top: 4px;
}
.hero-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
  margin: 0 32px 0 0;
}
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
}
.scroll-dot {
  width: 8px;
  height: 8px;
  background: var(--copper);
  border-radius: 50%;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.4; }
}

/* ===== TRUSTED BY ===== */
.trusted {
  background: var(--bg-section);
  padding: 32px 0;
  border-bottom: 1px solid var(--border-dark);
}
.trusted-label {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}
.trusted-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-logo {
  color: var(--gray-400);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color var(--transition);
}
.trust-logo:hover { color: var(--copper); }

/* ===== TECH STACK RUNNER ===== */
.tech-runner {
  background: var(--bg-card);
  padding: 48px 0;
  border-bottom: 1px solid var(--border-dark);
  overflow: hidden;
}
.tech-runner .trusted-label {
  margin-bottom: 28px;
}
.runner-track {
  overflow: hidden;
  position: relative;
  margin-bottom: 14px;
}
.runner-track:last-child { margin-bottom: 0; }

/* Fade edges */
.runner-track::before,
.runner-track::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.runner-track::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-card), transparent);
}
.runner-track::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-card), transparent);
}

.runner-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
}
.runner-left  { animation: scroll-left  38s linear infinite; }
.runner-right { animation: scroll-right 42s linear infinite; }

.runner-row:hover { animation-play-state: paused; }

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

.runner-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 36px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.25s ease;
  cursor: default;
  border-right: 1px solid var(--border-dark);
}
.runner-item:last-child { border-right: none; }
.runner-item:hover { opacity: 0.7; }
.runner-item img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}
.runner-item span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.1px;
}

/* ===== SECTION COMMON ===== */
.section { padding: 96px 0; }
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section-badge {
  display: inline-block;
  background: rgba(192,120,48,0.1);
  color: var(--copper-dark);
  border: 1px solid rgba(192,120,48,0.25);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.section-header h2 { color: var(--text-light); margin-bottom: 14px; }
.section-header p { color: var(--text-dim); font-size: 1.05rem; }

/* ===== SERVICES ===== */
.services { background: var(--bg); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--copper), var(--copper-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover {
  background: var(--bg-hover);
  transform: translateY(-10px);
  border-color: rgba(192,120,48,0.45);
  box-shadow:
    0 0 0 1px rgba(192,120,48,0.18),
    0 0 25px rgba(192,120,48,0.28),
    0 0 60px rgba(192,120,48,0.13),
    0 24px 48px rgba(0,0,0,0.55);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}
.service-card h3 {
  color: var(--text-light);
  margin-bottom: 10px;
  font-size: 1rem;
  font-weight: 700;
}
.service-card p {
  color: var(--text-dim);
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 16px;
}
.card-link {
  color: var(--copper);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: gap var(--transition);
}
.card-link:hover { color: var(--copper-dark); }

/* ===== STATS BANNER ===== */
.stats-banner {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  padding: 64px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-item strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--copper-light);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-item span {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
}

/* ===== INDUSTRIES ===== */
.industries { background: var(--bg-section); }
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.industry-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: all var(--transition);
}
.industry-card:hover {
  background: var(--bg-hover);
  transform: translateY(-10px);
  border-color: rgba(192,120,48,0.45);
  box-shadow:
    0 0 0 1px rgba(192,120,48,0.18),
    0 0 25px rgba(192,120,48,0.28),
    0 0 60px rgba(192,120,48,0.13),
    0 24px 48px rgba(0,0,0,0.55);
}
.industry-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}
.industry-card h3 {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 8px;
}
.industry-card p {
  color: var(--text-dim);
  font-size: 0.82rem;
  line-height: 1.6;
}

/* ===== WHY US ===== */
.why-us { background: var(--bg); }
.why-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-text .section-badge { display: inline-block; }
.why-text h2 { margin: 12px 0 16px; }
.why-text > p {
  color: var(--text-dim);
  margin-bottom: 36px;
  line-height: 1.75;
}
.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}
.why-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--copper), var(--copper-light));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 2px;
}
.why-list strong { display: block; color: var(--text-light); margin-bottom: 4px; font-size: 0.95rem; }
.why-list p { color: var(--text-dim); font-size: 0.88rem; line-height: 1.6; }
.why-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.visual-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: all var(--transition);
}
.visual-card:hover {
  background: var(--bg-hover);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  border-color: rgba(192,120,48,0.25);
}
.vc1, .vc3 { margin-top: 24px; }
.vc-icon { font-size: 1.8rem; margin-bottom: 12px; }
.visual-card strong { display: block; font-size: 0.95rem; color: var(--text-light); margin-bottom: 6px; }
.visual-card p { color: var(--text-dim); font-size: 0.82rem; line-height: 1.5; }

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--navy); }
.testimonials .section-badge { background: rgba(192,120,48,0.2); color: var(--copper-light); border-color: rgba(192,120,48,0.3); }
.testimonials .section-header h2 { color: var(--white); }
.testimonials .section-header p { color: rgba(255,255,255,0.6); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.testimonial-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition);
}
.testimonial-card.featured {
  background: rgba(192,120,48,0.12);
  border-color: rgba(192,120,48,0.3);
  transform: scale(1.03);
}
.testimonial-card:hover {
  transform: translateY(-10px);
  border-color: rgba(192,120,48,0.45);
  box-shadow:
    0 0 0 1px rgba(192,120,48,0.18),
    0 0 25px rgba(192,120,48,0.28),
    0 0 60px rgba(192,120,48,0.13),
    0 24px 48px rgba(0,0,0,0.55);
}
.testimonial-card.featured:hover { transform: scale(1.03) translateY(-4px); }
.stars { color: var(--copper-light); font-size: 1rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-card p {
  color: rgba(255,255,255,0.8);
  font-size: 0.92rem;
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--copper), var(--copper-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; color: var(--white); font-size: 0.9rem; }
.testimonial-author span { color: rgba(255,255,255,0.5); font-size: 0.8rem; }

/* ===== INSIGHTS ===== */
.insights { background: var(--bg-section); }
.insights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.insight-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all var(--transition);
}
.insight-card:hover {
  background: var(--bg-hover);
  transform: translateY(-10px);
  border-color: rgba(192,120,48,0.45);
  box-shadow:
    0 0 0 1px rgba(192,120,48,0.18),
    0 0 25px rgba(192,120,48,0.28),
    0 0 60px rgba(192,120,48,0.13),
    0 24px 48px rgba(0,0,0,0.55);
}
.insight-tag {
  display: inline-block;
  background: rgba(192,120,48,0.1);
  color: var(--copper-dark);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}
.insight-card h3 {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 10px;
  line-height: 1.45;
}
.insight-card p {
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.65;
  margin-bottom: 16px;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--navy-mid), var(--navy));
  padding: 96px 0;
}
.cta-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.cta-text h2 { color: var(--white); margin-bottom: 16px; }
.cta-text p { color: rgba(255,255,255,0.7); line-height: 1.75; margin-bottom: 28px; }
.cta-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cta-features span { color: rgba(255,255,255,0.65); font-size: 0.9rem; }
.cta-form {
  background: var(--bg-elevated);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cta-form input, .cta-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border-dark);
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text-light);
  transition: border-color var(--transition);
  outline: none;
  background: var(--bg-card);
}
.cta-form input::placeholder, .cta-form textarea::placeholder { color: var(--text-dim); }
.cta-form input:focus, .cta-form textarea:focus {
  border-color: var(--copper);
  background: var(--bg-section);
}
.cta-form textarea { resize: vertical; }
.form-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: -4px;
}
.contact-details {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--text-dim);
}
.contact-details a {
  color: var(--copper-light);
  text-decoration: none;
}
.contact-map {
  margin-top: 8px;
}

/* ===== FOOTER ===== */
.footer {
  background: #060E1C;
  padding: 72px 0 0;
}
.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 80px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo { margin-bottom: 16px; }
.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 280px;
}
.social-links { display: flex; gap: 10px; }
.social-btn {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  transition: all var(--transition);
}
.social-btn:hover { background: var(--copper); border-color: var(--copper); color: var(--white); }
.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li { color: rgba(255,255,255,0.45); font-size: 0.88rem; }
.footer-col ul li a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--copper-light); }
.footer-bottom {
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { color: rgba(255,255,255,0.3); font-size: 0.82rem; }

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in.visible:hover {
  transform: translateY(-10px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
  .insights-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .why-container { gap: 48px; }
  .footer-container { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: rgba(13,31,60,0.98);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 8px;
    transform: translateY(-120%);
    transition: transform var(--transition);
    border-top: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-cta { margin-top: 8px; text-align: center; }

  .hero { padding: 100px 0 60px; }
  .hero-stats { flex-direction: column; gap: 20px; align-items: flex-start; }
  .hero-divider { display: none; }
  .hero-stat { padding: 0; }

  .services-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-card.featured { transform: none; }
  .insights-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .why-container { grid-template-columns: 1fr; }
  .why-visual { order: -1; grid-template-columns: 1fr 1fr; }
  .vc1, .vc3 { margin-top: 0; }
  .cta-container { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom-inner { flex-direction: column; gap: 8px; text-align: center; }
  .trusted-logos { gap: 24px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .industries-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
  .why-visual { grid-template-columns: 1fr; }
}

/* ===== MODALS ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.open {
  display: flex;
}
.modal-box {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid rgba(192,120,48,0.25);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(192,120,48,0.1);
  max-width: 680px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 48px 40px 40px;
  animation: modalIn 0.25s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)  scale(1); }
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-light);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  line-height: 1;
}
.modal-close:hover { background: rgba(192,120,48,0.2); }
.modal-content h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--copper-light);
  margin-bottom: 8px;
}
.modal-content .modal-subtitle {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-bottom: 24px;
}
.modal-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-light);
  margin: 20px 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
}
.modal-content p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 8px;
}
.modal-content ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.modal-content ul li {
  color: var(--text-muted);
  font-size: 0.92rem;
  padding-left: 20px;
  position: relative;
}
.modal-content ul li::before {
  content: '▸';
  color: var(--copper);
  position: absolute;
  left: 0;
}
.modal-cta {
  display: inline-block;
  margin-top: 28px;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--copper), var(--copper-light));
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: opacity var(--transition);
}
.modal-cta:hover { opacity: 0.85; }

/* modal-trigger button reset */
button.card-link {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}
