/* ============================================================
   GP IT Solutions — style.css
   Theme: Midnight Indigo
   Dark sections: deep blue-black + electric indigo accent
   Light sections: pure white / faint lavender tint
   No inline styles. All colors/fonts/spacing via CSS variables.
   ============================================================ */

/* ----------------------------------------------------------
   1. CSS Custom Properties (Design Tokens)
   ---------------------------------------------------------- */
:root {
  /* ── Core dark palette ── */
  --color-dark:        #07080F;   /* hero / footer — near black */
  --color-dark-mid:    #0B0D1E;   /* AI spotlight section */
  --color-dark-card:   #10142A;   /* cards + inputs on dark bg */
  --color-dark-border: rgba(255, 255, 255, 0.08);

  /* ── Accent — Electric Indigo ── */
  --color-accent:       #6366F1;  /* primary buttons, highlights */
  --color-accent-light: #818CF8;  /* hover / lighter tint */
  --color-accent-dark:  #4338CA;  /* accent on white backgrounds */
  --color-accent-glow:  rgba(99, 102, 241, 0.28);
  --color-accent-tint:  rgba(99, 102, 241, 0.10);

  /* ── Light palette ── */
  --color-white:   #FFFFFF;
  --color-cream:   #F7F8FF;   /* faint indigo tint — services section */
  --color-light-2: #ECEEFF;   /* slightly richer — testimonials section */

  /* ── Text — on dark backgrounds ── */
  --color-text-on-dark:     #C8D0E8;  /* primary body text */
  --color-text-sub-on-dark: #6B7A9C;  /* secondary / captions */

  /* ── Text — on light backgrounds ── */
  --color-text-on-light:     #0D0F2A;  /* headings + strong body */
  --color-text-sub-on-light: #3D4878;  /* body copy */
  --color-text-muted:        #6B7899;  /* placeholders, labels, meta */

  /* ── Typography ── */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* ── Font Sizes ── */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-md:   1.125rem;
  --text-lg:   1.25rem;
  --text-xl:   1.5rem;
  --text-2xl:  2rem;
  --text-3xl:  2.5rem;
  --text-4xl:  3.25rem;
  --text-5xl:  4rem;

  /* ── Spacing ── */
  --space-1:   0.25rem;
  --space-2:   0.5rem;
  --space-3:   0.75rem;
  --space-4:   1rem;
  --space-5:   1.25rem;
  --space-6:   1.5rem;
  --space-8:   2rem;
  --space-10:  2.5rem;
  --space-12:  3rem;
  --space-16:  4rem;
  --space-20:  5rem;
  --space-24:  6rem;
  --space-32:  8rem;

  /* ── Layout ── */
  --container-max: 1180px;
  --container-pad: var(--space-6);

  /* ── Border radius ── */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --radius-full: 9999px;

  /* ── Shadows ── */
  --shadow-sm:     0 2px 8px rgba(7, 8, 15, 0.15);
  --shadow-md:     0 8px 32px rgba(7, 8, 15, 0.18);
  --shadow-lg:     0 20px 60px rgba(7, 8, 15, 0.24);
  --shadow-accent: 0 8px 40px rgba(99, 102, 241, 0.35);

  /* ── Transitions ── */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;

  /* ── Header ── */
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text-on-dark);
  background-color: var(--color-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
ul, ol          { list-style: none; }
a               { color: inherit; text-decoration: none; }
button          { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, button { font-family: inherit; font-size: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
}

/* ----------------------------------------------------------
   3. Utilities
   ---------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* Accent text — used in headings */
.text-gold,
.text-accent { color: var(--color-accent-light); }

.section { padding-block: var(--space-24); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ----------------------------------------------------------
   4. Section Header
   ---------------------------------------------------------- */
.section__header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: var(--space-16);
}

.section__eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
  /* color set per-section below */
}

.section__title {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-3xl));
  line-height: 1.2;
  margin-bottom: var(--space-5);
}

.section__subtitle {
  font-size: var(--text-md);
  line-height: 1.8;
}

/* ----------------------------------------------------------
   5. Buttons
   ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--text-base);
  letter-spacing: 0.01em;
  transition:
    background-color var(--transition-base),
    color            var(--transition-base),
    box-shadow       var(--transition-base),
    transform        var(--transition-fast);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn:focus-visible {
  outline: 2px solid var(--color-accent-light);
  outline-offset: 3px;
}

/* Primary */
.btn--primary {
  background: var(--color-accent);
  color: var(--color-white);
}
.btn--primary:hover {
  background: var(--color-accent-light);
  box-shadow: var(--shadow-accent);
  transform: translateY(-2px);
}

/* Ghost (on dark backgrounds) */
.btn--ghost {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,0.25);
}
.btn--ghost:hover {
  border-color: var(--color-accent-light);
  color: var(--color-accent-light);
  transform: translateY(-2px);
}

/* Ghost dark (on light backgrounds) */
.btn--ghost-dark {
  background: transparent;
  color: var(--color-text-on-light);
  border: 2px solid rgba(13,15,42,0.18);
}
.btn--ghost-dark:hover {
  border-color: var(--color-accent-dark);
  color: var(--color-accent-dark);
  transform: translateY(-2px);
}

/* Nav CTA */
.btn--nav {
  background: var(--color-accent);
  color: var(--color-white);
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
}
.btn--nav:hover {
  background: var(--color-accent-light);
  transform: translateY(-1px);
}

/* Full-width */
.btn--full { width: 100%; justify-content: center; }

/* ----------------------------------------------------------
   6. Header / Navigation
   ---------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition:
    background-color var(--transition-base),
    backdrop-filter  var(--transition-base),
    box-shadow       var(--transition-base),
    height           var(--transition-base);
}

.site-header.scrolled {
  background: rgba(7, 8, 15, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 4px 24px rgba(0,0,0,0.4);
  height: 60px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
}

.nav__logo-gp {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-accent-light);
  letter-spacing: -0.02em;
  line-height: 1;
}

.nav__logo-text {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: 0.01em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition-fast);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--color-accent-light);
  transition: width var(--transition-base);
  border-radius: 2px;
}

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

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  z-index: 1100;
}

.nav__hamburger-bar {
  display: block;
  width: 24px; height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.nav__hamburger[aria-expanded="true"] .nav__hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__hamburger[aria-expanded="true"] .nav__hamburger-bar:nth-child(2) {
  opacity: 0; transform: scaleX(0);
}
.nav__hamburger[aria-expanded="true"] .nav__hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ----------------------------------------------------------
   7. Hero  ← DARK
   ---------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 30% 50%, rgba(99,102,241,0.12) 0%, transparent 65%),
    radial-gradient(ellipse 50% 80% at 80% 20%, rgba(129,140,248,0.07) 0%, transparent 60%),
    linear-gradient(160deg, #090A18 0%, #060710 100%);
}

.hero__bg-overlay {
  position: absolute;
  inset: 0;
  /* Subtle dot-grid pattern */
  background-image: radial-gradient(rgba(99,102,241,0.12) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-block: var(--space-32) var(--space-24);
  max-width: 800px;
}

.hero__eyebrow {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent-light);
  margin-bottom: var(--space-5);
}

.hero__headline {
  font-size: clamp(var(--text-3xl), 6vw, var(--text-5xl));
  line-height: 1.07;
  color: var(--color-white);
  margin-bottom: var(--space-6);
}

.hero__subheadline {
  font-size: clamp(var(--text-base), 2vw, var(--text-md));
  color: var(--color-text-sub-on-dark);
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: var(--space-10);
}

.hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* Decorative glowing orbs */
.hero__circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero__circle--1 {
  width: 500px; height: 500px;
  right: -120px; top: 60px;
  background: radial-gradient(circle, rgba(99,102,241,0.14) 0%, transparent 70%);
  border: 1px solid rgba(99,102,241,0.08);
}

.hero__circle--2 {
  width: 260px; height: 260px;
  right: 120px; top: 280px;
  background: radial-gradient(circle, rgba(129,140,248,0.08) 0%, transparent 70%);
}

/* ----------------------------------------------------------
   8. Services  ← LIGHT (warm cream)
   ---------------------------------------------------------- */
.services {
  background: var(--color-cream);
}

.services .section__eyebrow  { color: var(--color-accent-dark); }
.services .section__title    { color: var(--color-text-on-light); }
.services .section__subtitle { color: var(--color-text-sub-on-light); }

/* Accent spans inside light-section titles */
.services .section__title .text-accent,
.services .section__title .text-gold { color: var(--color-accent-dark); }

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

/* ----------------------------------------------------------
   9. AI Receptionist Hero Card (full-width, first in grid)
   ---------------------------------------------------------- */
.card--ai-hero {
  grid-column: 1 / -1;   /* span all 4 columns */
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-10);
  align-items: center;
  background: var(--color-dark);
  border: 1px solid rgba(99,102,241,0.35);
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-12);
  box-shadow: var(--shadow-lg), 0 0 60px rgba(99,102,241,0.12);
  overflow: hidden;
  position: relative;
}

/* Decorative glow streak behind the hero card */
.card--ai-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 70% 50%, rgba(99,102,241,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.card--ai-hero__content {
  position: relative;
  z-index: 1;
}

/* Override icon colors for dark card */
.card--ai-hero .card__icon {
  color: var(--color-accent-light);
  background: rgba(99,102,241,0.12);
  border-color: rgba(99,102,241,0.25);
}

.card--ai-hero .card__title {
  color: var(--color-white);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
}

.card--ai-hero .card__body {
  color: var(--color-text-sub-on-dark);
  font-size: var(--text-md);
  margin-bottom: var(--space-6);
  max-width: 520px;
}

/* AI Channel / Feature Tags */
.ai-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
}

.ai-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  font-weight: 600;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.30);
  color: var(--color-accent-light);
  letter-spacing: 0.01em;
}

/* Right side visual: stat numbers */
.card--ai-hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  z-index: 1;
}

/* Glowing ring behind the stats */
.ai-hero-glow {
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,0.18) 0%, transparent 65%);
  border: 1px solid rgba(99,102,241,0.15);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.ai-stats {
  display: flex;
  gap: var(--space-8);
  position: relative;
  z-index: 1;
}

.ai-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  text-align: center;
}

.ai-stat__number {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-accent-light);
  line-height: 1;
}

.ai-stat__label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-sub-on-dark);
}

/* ----------------------------------------------------------
   10. Standard Service Cards (on cream/light bg)
   ---------------------------------------------------------- */
.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  position: relative;
  border: 1px solid rgba(13,15,42,0.08);
  box-shadow: var(--shadow-sm);
  transition:
    box-shadow var(--transition-base),
    transform  var(--transition-base);
  will-change: transform;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.card__badge {
  position: absolute;
  top: var(--space-4); right: var(--space-4);
  background: var(--color-accent);
  color: var(--color-white);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px var(--space-3);
  border-radius: var(--radius-full);
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: var(--color-cream);
  border: 1px solid rgba(13,15,42,0.08);
  color: var(--color-accent-dark);
  margin-bottom: var(--space-6);
}

.card__title {
  font-size: var(--text-xl);
  font-family: var(--font-heading);
  color: var(--color-text-on-light);
  margin-bottom: var(--space-3);
}

.card__body {
  font-size: var(--text-sm);
  color: var(--color-text-sub-on-light);
  line-height: 1.75;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-6);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent-dark);
  transition: gap var(--transition-fast), color var(--transition-fast);
}
.card__link:hover {
  gap: var(--space-3);
  color: var(--color-accent);
}

/* ----------------------------------------------------------
   11. AI Receptionist Spotlight Section  ← DARK
   ---------------------------------------------------------- */
.ai-spotlight {
  background: var(--color-dark-mid);
  overflow: hidden;
}

.ai-spotlight .section__eyebrow        { color: var(--color-accent-light); }
.ai-spotlight .section__title          { color: var(--color-white); }
.ai-spotlight .section__title .text-accent,
.ai-spotlight .section__title .text-gold { color: var(--color-accent-light); }

.ai-spotlight__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.ai-spotlight__body {
  font-size: var(--text-md);
  color: var(--color-text-sub-on-dark);
  margin-block: var(--space-6);
  line-height: 1.8;
}
.ai-spotlight__body strong { color: var(--color-accent-light); }

.ai-spotlight__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-bottom: var(--space-8);
}

.ai-spotlight__feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.feature-icon {
  flex-shrink: 0;
  color: var(--color-accent-light);
  margin-top: 2px;
}

.ai-spotlight__feature strong {
  display: block;
  font-weight: 600;
  color: var(--color-white);
  font-size: var(--text-base);
}

.ai-spotlight__feature span {
  font-size: var(--text-sm);
  color: var(--color-text-sub-on-dark);
}

/* ----------------------------------------------------------
   12. Chat Mockup
   ---------------------------------------------------------- */
.chat-mockup {
  background: var(--color-dark);
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 48px rgba(99,102,241,0.15);
  max-width: 420px;
  margin-inline: auto;
}

.chat-mockup__header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: var(--color-dark-card);
  border-bottom: 1px solid rgba(99,102,241,0.15);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-white);
}

.chat-mockup__status {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #34D399;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(52,211,153,0.6);
}

.chat-mockup__online {
  margin-left: auto;
  font-size: var(--text-xs);
  color: #34D399;
  font-weight: 500;
}

.chat-mockup__body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-height: 280px;
}

.chat-bubble {
  max-width: 80%;
  padding: var(--space-3) var(--space-4);
  border-radius: 14px;
  font-size: var(--text-sm);
  line-height: 1.6;
}

.chat-bubble--incoming {
  align-self: flex-start;
  background: var(--color-dark-card);
  color: var(--color-text-on-dark);
  border-bottom-left-radius: 4px;
}

.chat-bubble--outgoing {
  align-self: flex-end;
  background: var(--color-accent);
  color: var(--color-white);
  font-weight: 500;
  border-bottom-right-radius: 4px;
}

.chat-bubble--typing {
  align-self: flex-end;
  background: var(--color-accent);
  padding: var(--space-3) var(--space-5);
  display: flex;
  gap: 4px;
  align-items: center;
  border-bottom-right-radius: 4px;
}

.chat-bubble--typing span {
  display: block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.7);
  animation: typing-dot 1.2s infinite ease-in-out;
}
.chat-bubble--typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-bubble--typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-dot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30%            { transform: translateY(-5px); opacity: 1; }
}

.chat-mockup__channels {
  display: flex;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5) var(--space-4);
  border-top: 1px solid rgba(99,102,241,0.12);
}

.channel-tag {
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 2px var(--space-3);
  border-radius: var(--radius-full);
  border: 1px solid rgba(99,102,241,0.30);
  color: var(--color-accent-light);
  letter-spacing: 0.04em;
}

/* ----------------------------------------------------------
   13. Testimonials  ← LIGHT (faint lavender)
   ---------------------------------------------------------- */
.testimonials {
  background: var(--color-light-2);
}

.testimonials .section__eyebrow          { color: var(--color-accent-dark); }
.testimonials .section__title            { color: var(--color-text-on-light); }
.testimonials .section__title .text-accent,
.testimonials .section__title .text-gold { color: var(--color-accent-dark); }

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}

.testimonial {
  background: var(--color-white);
  border: 1px solid rgba(13,15,42,0.07);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  box-shadow: var(--shadow-sm);
  will-change: transform;
  transition:
    box-shadow var(--transition-base),
    transform  var(--transition-base);
}

.testimonial:hover {
  box-shadow: 0 12px 40px rgba(99,102,241,0.10);
  transform: translateY(-4px);
}

.testimonial__stars {
  font-size: var(--text-lg);
  color: var(--color-accent);
  letter-spacing: 2px;
}

.testimonial__quote {
  font-size: var(--text-base);
  color: var(--color-text-sub-on-light);
  line-height: 1.8;
  font-style: italic;
  flex: 1;
}

.testimonial__footer {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.testimonial__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent-dark) 0%, var(--color-accent-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-white);
  flex-shrink: 0;
}

.testimonial__name {
  display: block;
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--color-text-on-light);
  font-style: normal;
}

.testimonial__role {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* ----------------------------------------------------------
   14. Contact  ← LIGHT (white)
   ---------------------------------------------------------- */
.contact {
  background: var(--color-white);
}

.contact .section__eyebrow          { color: var(--color-accent-dark); }
.contact .section__title            { color: var(--color-text-on-light); }
.contact .section__title .text-accent,
.contact .section__title .text-gold { color: var(--color-accent-dark); }

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

.contact__body {
  font-size: var(--text-md);
  color: var(--color-text-sub-on-light);
  line-height: 1.8;
  margin-block: var(--space-6) var(--space-8);
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.contact__detail {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--text-base);
  color: var(--color-text-on-light);
}

.contact__detail-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: var(--radius-md);
  background: var(--color-accent-tint);
  border: 1px solid rgba(99,102,241,0.20);
  color: var(--color-accent-dark);
  flex-shrink: 0;
}

/* ----------------------------------------------------------
   15. Contact Form
   ---------------------------------------------------------- */
.contact__form {
  background: var(--color-cream);
  border: 1px solid rgba(13,15,42,0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  box-shadow: var(--shadow-sm);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-on-light);
  letter-spacing: 0.01em;
}

.form-label--optional {
  font-weight: 400;
  color: var(--color-text-muted);
}

.form-input {
  background: var(--color-white);
  border: 1.5px solid rgba(13,15,42,0.12);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-base);
  color: var(--color-text-on-light);
  width: 100%;
  transition:
    border-color var(--transition-fast),
    box-shadow   var(--transition-fast);
  outline: none;
  -webkit-appearance: none;
}

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

.form-input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-tint);
}

.form-input:invalid:not(:placeholder-shown) {
  border-color: #EF4444;
}

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

.form-notice {
  font-size: var(--text-sm);
  text-align: center;
  min-height: 1.5em;
  color: var(--color-accent-dark);
  font-weight: 500;
}
.form-notice--error { color: #DC2626; }

/* ----------------------------------------------------------
   16. Footer  ← DARK (deepest dark)
   ---------------------------------------------------------- */
.site-footer {
  background: #04050C;
  padding-top: var(--space-16);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-8);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__tagline {
  font-size: var(--text-sm);
  color: var(--color-text-sub-on-dark);
  max-width: 220px;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5) var(--space-8);
  align-items: center;
}

.footer__link {
  font-size: var(--text-sm);
  color: var(--color-text-sub-on-dark);
  transition: color var(--transition-fast);
}
.footer__link:hover { color: var(--color-accent-light); }

.footer__social {
  display: flex;
  gap: var(--space-3);
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  color: var(--color-text-sub-on-dark);
  transition:
    background   var(--transition-fast),
    border-color var(--transition-fast),
    color        var(--transition-fast),
    transform    var(--transition-fast);
}
.footer__social-link:hover {
  background: var(--color-accent-tint);
  border-color: rgba(99,102,241,0.40);
  color: var(--color-accent-light);
  transform: translateY(-2px);
}

.footer__bottom {
  padding-block: var(--space-5);
  text-align: center;
}

.footer__bottom p {
  font-size: var(--text-sm);
  color: rgba(107,122,156,0.55);
}

/* ----------------------------------------------------------
   17. Responsive — Tablet (max 1024px)
   ---------------------------------------------------------- */
@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card--ai-hero {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
  }

  .card--ai-hero__visual {
    display: none; /* hide stat visuals at tablet width */
  }
}

/* ----------------------------------------------------------
   18. Responsive — Tablet narrow (max 900px)
   ---------------------------------------------------------- */
@media (max-width: 900px) {
  .ai-spotlight__inner,
  .contact__inner {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }

  .ai-spotlight__visual { order: -1; }
  .chat-mockup { max-width: 380px; }
}

/* ----------------------------------------------------------
   19. Responsive — Mobile (max 768px)
   ---------------------------------------------------------- */
@media (max-width: 768px) {
  :root { --container-pad: var(--space-5); }

  .section { padding-block: var(--space-16); }

  /* Mobile nav */
  .nav__hamburger { display: flex; }

  .nav__links {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(80vw, 300px);
    flex-direction: column;
    align-items: flex-start;
    padding: calc(var(--header-height) + var(--space-8)) var(--space-8) var(--space-8);
    background: var(--color-dark);
    border-left: 1px solid rgba(255,255,255,0.06);
    gap: var(--space-6);
    transform: translateX(100%);
    transition: transform var(--transition-base);
    z-index: 1050;
    overflow-y: auto;
  }

  .nav__links.nav--open { transform: translateX(0); }
  .nav__link { font-size: var(--text-md); color: var(--color-white); }
  .btn--nav  { width: 100%; justify-content: center; }

  /* Services grid */
  .services__grid { grid-template-columns: 1fr; }

  /* AI Hero card — stacked */
  .card--ai-hero {
    padding: var(--space-8);
  }

  /* Hero */
  .hero__content  { padding-block: var(--space-20) var(--space-16); }
  .hero__cta-group { flex-direction: column; }
  .hero__cta-group .btn { width: 100%; justify-content: center; }

  /* Testimonials */
  .testimonials__grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer__nav    { justify-content: center; }
  .footer__brand  { align-items: center; }
  .footer__tagline { text-align: center; }
}

/* ----------------------------------------------------------
   20. Responsive — Small mobile (max 480px)
   ---------------------------------------------------------- */
@media (max-width: 480px) {
  .hero__circle   { display: none; }
  .contact__form  { padding: var(--space-6); }
  .card           { padding: var(--space-6); }
  .testimonial    { padding: var(--space-6); }
  .card--ai-hero  { padding: var(--space-6); }
  .ai-stats       { gap: var(--space-5); }
  .ai-stat__number { font-size: var(--text-2xl); }
}

/* ----------------------------------------------------------
   21. Reduced motion
   ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
