/* ============================================================
   KhanyiQ Website — Styles (Full Rebuild v3)
   Brand:  #4D3FD3 (indigo) | #E63946 (red) | #252529 (dark)
   Gradient: #6320DA to #E63946
   Font:   Inter
   ============================================================ */

:root {
  --indigo:       #4D3FD3;
  --indigo-dark:  #3B30A8;
  --indigo-deep:  #2a237a;
  --indigo-light: #6357e0;
  --red:          #E63946;
  --red-dark:     #c42d3a;
  --grad-start:   #6320DA;
  --grad-end:     #E63946;

  --dark:         #0D0C1D;
  --dark-2:       #12103a;
  --dark-3:       #1a1645;
  --charcoal:     #252529;

  --white:        #ffffff;
  --off-white:    #F7F7FB;
  --bg-light:     #f3f3fa;
  --border:       #e4e4f0;

  --text:         #1a1a2e;
  --text-mid:     #4a4a68;
  --text-light:   #8a8aaa;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm:   6px;
  --radius:      14px;
  --radius-lg:   22px;
  --radius-full: 100px;

  --shadow-sm:     0 1px 4px rgba(13,12,29,0.07);
  --shadow:        0 4px 24px rgba(13,12,29,0.10);
  --shadow-lg:     0 12px 48px rgba(13,12,29,0.15);
  --shadow-indigo: 0 8px 32px rgba(77,63,211,0.22);

  --ease:       cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 0.25s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img  { display: block; max-width: 100%; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.section   { padding: 100px 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px; border-radius: var(--radius-sm);
  font-family: var(--font); font-size: 0.95rem; font-weight: 600;
  cursor: pointer; border: 2px solid transparent;
  transition: all var(--transition); white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--indigo) 0%, var(--grad-start) 100%);
  color: var(--white); box-shadow: 0 4px 16px rgba(77,63,211,0.28);
}
.btn-primary:hover { background: linear-gradient(135deg, var(--indigo-dark), var(--indigo-deep)); transform: translateY(-2px); box-shadow: var(--shadow-indigo); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-outline-light:hover { background: rgba(255,255,255,0.10); border-color: var(--white); transform: translateY(-2px); }
.btn-secondary { background: transparent; color: var(--indigo); border-color: var(--indigo); }
.btn-secondary:hover { background: var(--indigo); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-indigo); }
.btn-full { width: 100%; justify-content: center; }

/* ---- Section headers ---- */
.section-label {
  display: inline-block; font-size: 0.73rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--indigo); margin-bottom: 14px;
}
.section-label--red   { color: var(--red); }
.section-label--light { color: rgba(255,255,255,0.45); }

.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; color: var(--dark); line-height: 1.15; margin-bottom: 18px; letter-spacing: -0.02em; }
.section-header--light h2 { color: var(--white); }
.section-sub { font-size: 1.05rem; color: var(--text-mid); max-width: 580px; margin: 0 auto; line-height: 1.75; }
.section-sub--light { color: rgba(255,255,255,0.58); }

/* ---- Animations ---- */
[data-animate] { opacity: 1; transform: translateY(0); transition: opacity 0.70s var(--ease), transform 0.70s var(--ease); }
[data-animate].will-animate  { opacity: 0; transform: translateY(30px); }
[data-animate].is-visible    { opacity: 1; transform: translateY(0); }
[data-delay="0"]   { transition-delay: 0s; }
[data-delay="120"] { transition-delay: 0.12s; }
[data-delay="150"] { transition-delay: 0.15s; }
[data-delay="240"] { transition-delay: 0.24s; }
[data-delay="320"] { transition-delay: 0.32s; }
[data-delay="400"] { transition-delay: 0.40s; }


/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.25s ease;
  padding: 20px 0;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 24px rgba(13,12,29,0.08);
  padding: 12px 0;
}
.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0;
  position: relative;
}
.nav-logo  { display: flex; align-items: center; flex-shrink: 0; }

/* Logo: mix-blend-mode:screen makes white PNG bg transparent on dark hero */
.logo-img {
  height: 100px; width: auto;
  mix-blend-mode: screen;
  filter: brightness(1.08) saturate(1.1);
  transition: filter var(--transition), height var(--transition);
}
.navbar.scrolled .logo-img {
  mix-blend-mode: multiply;
  filter: brightness(1) saturate(1);
  height: 82px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  justify-content: center; /* centre tabs in the middle column */
}
.nav-link { padding: 8px 14px; font-size: 0.875rem; font-weight: 500; color: rgba(255,255,255,0.80); border-radius: var(--radius-sm); transition: all var(--transition); }
.nav-link:hover { color: var(--white); background: rgba(255,255,255,0.10); }
.navbar.scrolled .nav-link       { color: var(--text-mid); }
.navbar.scrolled .nav-link:hover { color: var(--indigo); background: var(--bg-light); }

.nav-cta-link {
  background: linear-gradient(135deg, var(--indigo), var(--grad-start));
  color: var(--white) !important; padding: 9px 20px; font-weight: 600;
  border-radius: var(--radius-sm); box-shadow: 0 3px 12px rgba(77,63,211,0.28);
}
.nav-cta-link:hover { background: linear-gradient(135deg, var(--indigo-dark), var(--indigo-deep)) !important; transform: translateY(-1px); }
.navbar.scrolled .nav-cta-link { background: linear-gradient(135deg, var(--indigo), var(--grad-start)); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; justify-self: end; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.3s ease; }
.navbar.scrolled .nav-toggle span { background: var(--text); }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100vh;
  background: linear-gradient(160deg, #0b0a22 0%, #130e3e 40%, #0e0a2c 70%, #180830 100%);
  display: flex; align-items: stretch; overflow: hidden;  /* stretch so hero-content fills full height */
}
.hero-image-panel { position: absolute; inset: 0; pointer-events: none; z-index: 0; }

/* Futuristic_Final.png — full-bleed brand scene on the right side of the hero */
.hero-brand-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.68;
  filter: brightness(1.3) contrast(1.1);
}

.hero-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  /* Strong dark on the left half (text lives here), fully clear on the right
     so the KhanyiQ logo inside Futuristic_Final shows through without obstruction */
  background: linear-gradient(
    90deg,
    rgba(11,10,34,0.90) 0%,
    rgba(11,10,34,0.90) 38%,
    rgba(11,10,34,0.60) 52%,
    rgba(11,10,34,0.10) 68%,
    rgba(11,10,34,0.00) 100%
  );
}
.hero-content {
  position: relative; z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 88px;
  padding-bottom: 40px;
  padding-left: 2cm;
  padding-right: 40px;
  max-width: 50%;
  width: 50%;
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}

.hero-top  { /* eyebrow + heading — anchors to top */ }
.hero-bottom { /* description + tagline + buttons — anchors to bottom */ }

.hero-eyebrow {
  display: block;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  margin-bottom: 24px;
  position: relative;
  right: 83px;   /* 75 + 8px (+0.2cm) */
}
/* .eyebrow-dot removed — dot removed from hero eyebrow */

.hero-heading {
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);  /* reduced so both lines fit on one line each */
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 0;
  white-space: nowrap;   /* "Intelligence Applied." and "Measurable Impact." each stay on one line */
}
.hero-accent  { background: linear-gradient(120deg, var(--indigo-light) 0%, var(--red) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.80;
  margin-top: 20px;   /* natural spacing below the heading */
  margin-bottom: 0;
  /* no manual offset — paragraph flows automatically after the heading */
}

.hero-tagline {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 28px;
}

/* hero-pill removed — tagline is visible in the Futuristic_Final background image */

.hero-web-logo {
  display: block;
  width: 80vw;          /* 80% of full viewport width — visually large */
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
  opacity: 1;
  mix-blend-mode: screen;
  position: relative;
  left: 378px;
  top: -113px;          /* 3cm up */
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-left: auto;
  width: fit-content;
  position: relative;
  left: 199px;
  top: -76px;    /* -38px - 38px (1cm up) */
}

.hero-scroll-hint { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,0.28); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; z-index: 2; animation: scrollBounce 2.8s ease-in-out infinite; }
.scroll-line { width: 1px; height: 36px; background: linear-gradient(to bottom, rgba(255,255,255,0.28), transparent); }
@keyframes scrollBounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(7px); } }


/* ============================================================
   ABOUT — dark theme, new layout
   ============================================================ */
.about-section {
  background: linear-gradient(160deg, var(--dark) 0%, var(--dark-2) 50%, #0f0d35 100%);
}

/* Centered header block */
.about-header {
  text-align: center;
  margin-bottom: 64px;
}
.about-header h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  line-height: 1.15;
}
.about-lead {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.80;
}
.about-lead em { font-style: normal; font-weight: 600; background: linear-gradient(120deg, var(--indigo-light), var(--red)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* Two-column body */
.about-body {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  align-items: start;
}

.about-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.about-content p {
  font-size: 0.975rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.80;
  margin-bottom: 16px;
}

/* Values row inside about */
.values-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 36px;
}
.value-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.value-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 9px;
  margin-bottom: 4px;
  flex-shrink: 0;
}
.value-icon svg { width: 18px; height: 18px; }
.value-icon--purple { background: rgba(77,63,211,0.18); color: var(--indigo-light); }
.value-icon--red    { background: rgba(230,57,70,0.16);  color: #f07078; }
.value-block strong { font-size: 0.875rem; font-weight: 700; color: var(--white); }
.value-block span   { font-size: 0.825rem; color: rgba(255,255,255,0.68); line-height: 1.55; }

/* About cards (right column) */
.about-cards { display: flex; flex-direction: column; gap: 16px; }

.about-card {
  border-radius: var(--radius);
  padding: 26px;
}
.about-card--mission {
  background: rgba(77,63,211,0.14);
  border: 1px solid rgba(77,63,211,0.30);
}
.about-card--vision {
  background: rgba(230,57,70,0.10);
  border: 1px solid rgba(230,57,70,0.25);
}
.about-card--philosophy {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
}
.about-card-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 10px;
}
.about-card p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.84);
  line-height: 1.75;
}


/* ============================================================
   SERVICES — white bg, horizontal rows
   ============================================================ */
.services-section { background: var(--white); }

.services-list {
  display: flex;
  flex-direction: column;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 48px;
}

/* Each service row */
.service-row {
  display: grid;
  grid-template-columns: 120px 1fr 1fr auto;
  gap: 0;
  align-items: start;
  border-bottom: 1.5px solid var(--border);
  transition: background var(--transition);
}
.service-row:last-child { border-bottom: none; }
.service-row:hover      { background: var(--off-white); }

/* Featured row — Analytics & AI */
.service-row--featured {
  background: linear-gradient(135deg, var(--indigo) 0%, var(--grad-start) 60%, var(--red) 100%);
  border-bottom-color: transparent;
}
.service-row--featured:hover { background: linear-gradient(135deg, var(--indigo-dark) 0%, var(--indigo) 60%, var(--red-dark) 100%); }

/* Meta column */
.service-row-meta {
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  border-right: 1.5px solid var(--border);
}
.service-row--featured .service-row-meta { border-right-color: rgba(255,255,255,0.15); }

.service-row-number {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--indigo);
}
.service-row--featured .service-row-number { color: rgba(255,255,255,0.55); }

.service-row-icon { width: 40px; height: 40px; color: var(--indigo); }
.service-row--featured .service-row-icon { color: rgba(255,255,255,0.75); }

.service-row-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.20);
  color: var(--white);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.35);
}

/* Body column */
.service-row-body {
  padding: 36px 32px;
  border-right: 1.5px solid var(--border);
}
.service-row--featured .service-row-body { border-right-color: rgba(255,255,255,0.15); }

.service-row-body h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  line-height: 1.3;
}
.service-row--featured .service-row-body h3 { color: var(--white); }

.service-row-body p {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.75;
}
.service-row--featured .service-row-body p { color: rgba(255,255,255,0.72); }

/* List column */
.service-row-list {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.service-row-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.55;
}
.service-row-list li::before {
  content: '';
  display: block; width: 5px; height: 5px;
  border-radius: 50%; background: var(--indigo);
  flex-shrink: 0; margin-top: 7px;
}
.service-row--featured .service-row-list li       { color: rgba(255,255,255,0.72); }
.service-row--featured .service-row-list li::before { background: rgba(255,255,255,0.55); }

/* CTA column */
.service-row-link {
  padding: 36px 28px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--indigo);
  white-space: nowrap;
  transition: gap var(--transition), color var(--transition);
  align-self: stretch;
  border-left: 1.5px solid var(--border);
}
.service-row-link:hover { gap: 10px; color: var(--indigo-dark); }
.service-row--featured .service-row-link { color: rgba(255,255,255,0.70); border-left-color: rgba(255,255,255,0.15); }
.service-row--featured .service-row-link:hover { color: var(--white); }

/* Capability CTA */
.capability-cta { text-align: center; }
.capability-cta-inner { display: inline-flex; align-items: center; gap: 36px; background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 28px 40px; box-shadow: var(--shadow-sm); text-align: left; }
.capability-cta-inner strong { display: block; font-size: 0.95rem; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.capability-cta-inner p { font-size: 0.875rem; color: var(--text-mid); }


/* ============================================================
   APPROACH
   ============================================================ */
.approach-section { background: linear-gradient(160deg, var(--dark) 0%, var(--dark-2) 50%, var(--dark-3) 100%); }

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

.step-card {
  padding: 44px 32px 40px;
  border-right: 1px solid rgba(255,255,255,0.07);
  transition: background var(--transition);
}
.step-card:last-child { border-right: none; }
.step-card:hover      { background: rgba(255,255,255,0.03); }

.step-num-badge {
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.16em;
  background: linear-gradient(135deg, var(--grad-start), var(--red));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 20px;
}
.step-icon { width: 44px; height: 44px; color: rgba(255,255,255,0.40); margin-bottom: 20px; transition: color var(--transition); }
.step-card:hover .step-icon { color: rgba(255,255,255,0.65); }
.step-card h4 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 12px; letter-spacing: -0.01em; }
.step-card p  { font-size: 0.875rem; color: rgba(255,255,255,0.68); line-height: 1.72; }


/* ============================================================
   WHY KHANYIQ
   ============================================================ */
.why-section { background: var(--off-white); }
.why-section .section-label { color: var(--red); }

.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.why-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all var(--transition);
}
.why-card:hover { border-color: rgba(77,63,211,0.28); box-shadow: var(--shadow); transform: translateY(-3px); }

.why-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.why-icon svg { width: 22px; height: 22px; }
.why-icon--purple { background: rgba(77,63,211,0.10); color: var(--indigo); }
.why-icon--red    { background: rgba(230,57,70,0.10);  color: var(--red); }
.why-card:hover .why-icon--purple { background: rgba(77,63,211,0.16); }
.why-card:hover .why-icon--red    { background: rgba(230,57,70,0.16); }

.why-card h4 { font-size: 0.975rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; line-height: 1.3; letter-spacing: -0.01em; }
.why-card p  { font-size: 0.875rem; color: var(--text-mid); line-height: 1.72; }


/* ============================================================
   CONTACT
   ============================================================ */
.contact-section { background: var(--white); }

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

.contact-brand-mark { margin-bottom: 24px; }
.contact-bw-logo {
  width: 100%;
  max-width: 340px;
  height: auto;
  opacity: 0.82;
  filter: contrast(1.05);   /* New B&W is already greyscale — no grayscale filter needed */
  display: block;
  margin-bottom: 12px;
}

.contact-intro { font-size: 0.9rem; color: var(--text-mid); line-height: 1.80; margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }

.contact-details { display: flex; flex-direction: column; gap: 16px; margin-bottom: 28px; }

.contact-item { display: flex; align-items: center; gap: 14px; }
.contact-item-icon { width: 38px; height: 38px; background: var(--bg-light); border: 1.5px solid var(--border); border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--indigo); }
.contact-item-icon svg { width: 16px; height: 16px; }
.contact-item a    { font-size: 0.9rem; color: var(--indigo); font-weight: 500; transition: color var(--transition); }
.contact-item a:hover { color: var(--indigo-dark); }
.contact-item span { font-size: 0.9rem; color: var(--text-mid); }

.contact-reg { padding-top: 20px; border-top: 1px solid var(--border); }
.contact-reg p { font-size: 0.78rem; color: var(--text-light); line-height: 1.90; }

.contact-form { background: var(--white); border-radius: var(--radius-lg); padding: 44px; box-shadow: var(--shadow); border: 1.5px solid var(--border); }

.form-row  { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.form-group label { font-size: 0.83rem; font-weight: 600; color: var(--text); }
.required { color: var(--red); }

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font); font-size: 0.9rem; color: var(--text);
  background: var(--bg-light); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); padding: 12px 14px;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  outline: none; width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-light); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--indigo); background: var(--white); box-shadow: 0 0 0 3px rgba(77,63,211,0.10); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-note { text-align: center; font-size: 0.78rem; color: var(--text-light); margin-top: 14px; }
.form-success { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 14px 16px; background: #f0fdf4; border: 1px solid #86efac; border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 500; color: #166534; }


/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--dark); }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 52px; padding-top: 76px; padding-bottom: 60px; }
.footer-logo {
  height: 108px; width: auto;
  mix-blend-mode: screen;
  filter: brightness(1.12) saturate(1.15);
  margin-bottom: 20px;
}
.footer-tagline-text { font-size: 0.865rem; color: rgba(255,255,255,0.40); line-height: 1.70; margin-bottom: 18px; max-width: 280px; }
.footer-pill { display: flex; align-items: center; gap: 9px; font-size: 0.72rem; font-weight: 600; color: rgba(255,255,255,0.28); letter-spacing: 0.05em; text-transform: uppercase; }
.footer-sep { color: var(--red); opacity: 0.55; }
.footer-col h5 { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.33); margin-bottom: 22px; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col ul li,
.footer-col ul a { font-size: 0.875rem; color: rgba(255,255,255,0.46); transition: color var(--transition); }
.footer-col ul a:hover { color: rgba(255,255,255,0.85); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; }
.footer-bottom-inner p { font-size: 0.8rem; color: rgba(255,255,255,0.24); }
.footer-tagline-bottom { font-weight: 600; letter-spacing: 0.10em; }


/* ============================================================
   RESPONSIVE — Tablet (max 960px)
   ============================================================ */
@media (max-width: 960px) {
  .section { padding: 72px 0; }
  .container { padding: 0 20px; }

  /* Nav: switch to hamburger */
  .nav-inner   { grid-template-columns: 1fr auto; } /* logo left, toggle right */
  .nav-toggle  { display: flex; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    flex-direction: column;
    padding: 12px 20px 20px;
    gap: 2px;
    box-shadow: var(--shadow);
    z-index: 999;
  }
  .nav-menu.open { display: flex; }
  .nav-link { color: var(--text-mid) !important; padding: 12px 16px; width: 100%; font-size: 0.95rem; }
  .nav-link:hover { color: var(--indigo) !important; background: var(--bg-light) !important; }
  .nav-cta-link {
    background: linear-gradient(135deg, var(--indigo), var(--grad-start)) !important;
    color: var(--white) !important; text-align: center; margin-top: 8px;
    border-radius: var(--radius-sm);
  }

  /* Hero — tablet reset */
  .hero-brand-img { opacity: 0.35; }
  .hero-overlay   { background: rgba(11,10,34,0.72); }
  .hero-content {
    padding-top: 120px;
    padding-bottom: 64px;
    padding-left: 24px;
    padding-right: 24px;
    max-width: 75%; width: 75%;
    justify-content: flex-start;  /* remove space-between — use natural stacking */
    gap: 28px;
  }
  .hero-heading  { font-size: clamp(2rem, 5vw, 3.2rem); white-space: normal; margin-bottom: 0; }
  /* Reset desktop-only offsets at tablet */
  .hero-eyebrow  { right: 0; text-align: left; }
  .hero-actions  { left: 0; top: 0; margin-left: 0; width: auto; }

  /* About */
  .about-body  { grid-template-columns: 1fr; gap: 44px; }
  .about-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

  /* Services */
  .service-row { grid-template-columns: 1fr; }
  .service-row-meta {
    border-right: none; border-bottom: 1px solid var(--border);
    flex-direction: row; align-items: center; padding: 22px 24px; gap: 14px;
  }
  .service-row--featured .service-row-meta { border-bottom-color: rgba(255,255,255,0.15); }
  .service-row-body  { border-right: none; border-bottom: 1px solid var(--border); padding: 22px 24px; }
  .service-row--featured .service-row-body { border-bottom-color: rgba(255,255,255,0.15); }
  .service-row-list  { padding: 22px 24px; border-bottom: 1px solid var(--border); }
  .service-row--featured .service-row-list { border-bottom-color: rgba(255,255,255,0.15); }
  .service-row-link  { border-left: none; padding: 18px 24px; align-items: center; }

  /* Approach: 2 × 2 */
  .approach-grid { grid-template-columns: repeat(2, 1fr); }
  .step-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .step-card:nth-child(odd)  { border-right: 1px solid rgba(255,255,255,0.07); }
  .step-card:last-child { border-bottom: none; }
  .step-card:nth-child(3) { border-bottom: none; } /* bottom-left in 2x2 */

  /* Why */
  .why-grid { grid-template-columns: repeat(2, 1fr); }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }

  .capability-cta-inner { flex-direction: column; text-align: center; gap: 20px; }
}


/* ============================================================
   RESPONSIVE — Large Mobile (max 680px)
   ============================================================ */
@media (max-width: 680px) {
  /* About cards stack vertically */
  .about-cards { grid-template-columns: 1fr; }

  /* Why 1 col */
  .why-grid { grid-template-columns: 1fr; }

  /* Approach 1 col */
  .approach-grid { grid-template-columns: 1fr; }
  .step-card { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.07) !important; }
  .step-card:last-child { border-bottom: none !important; }

  /* Hero — 680px */
  .hero-content { max-width: 90%; width: 90%; padding-left: 16px; padding-right: 16px; gap: 24px; }
  .hero-heading { font-size: clamp(1.9rem, 5.5vw, 2.8rem); }
  .hero-eyebrow { right: 0; text-align: left; }
  .hero-actions { left: 0; top: 0; margin-left: 0; width: auto; }
}


/* ============================================================
   RESPONSIVE — Mobile (max 480px)
   ============================================================ */
@media (max-width: 480px) {
  .section { padding: 56px 0; }
  .section-header { margin-bottom: 40px; }
  .container { padding: 0 16px; }

  /* Hero — mobile full reset */
  .hero-brand-img { display: block; opacity: 0.25; }
  .hero-overlay   { background: rgba(11,10,34,0.82); }
  .hero-content {
    padding-top: 88px;
    padding-bottom: 52px;
    padding-left: 20px;
    padding-right: 20px;
    max-width: 100%;
    width: 100%;
    justify-content: flex-start;
    gap: 22px;
  }
  .hero-eyebrow  { font-size: 0.75rem; right: 0; text-align: left; }
  .hero-heading  { font-size: 1.75rem; letter-spacing: -0.02em; white-space: normal; margin-bottom: 0; }
  .hero-sub      { font-size: 0.93rem; }
  .hero-actions  { flex-direction: column; align-items: stretch; gap: 10px; margin-left: 0; width: auto; left: 0; top: 0; }
  .hero-actions .btn { justify-content: center; }

  /* About */
  .about-header h2 { font-size: 1.75rem; }
  .about-lead { font-size: 0.975rem; }
  .values-row { grid-template-columns: 1fr; gap: 16px; }

  /* Services */
  .service-row-meta { padding: 18px 16px; }
  .service-row-body  { padding: 18px 16px; }
  .service-row-list  { padding: 16px 16px; }
  .service-row-link  { padding: 16px 16px; }

  /* Capability CTA */
  .capability-cta-inner { padding: 22px 20px; }

  /* Why */
  .why-card { padding: 24px 20px; }

  /* Contact */
  .contact-form { padding: 24px 18px; }
  .form-row     { grid-template-columns: 1fr; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom-inner { flex-direction: column; gap: 6px; text-align: center; }

  .section-header h2 { font-size: 1.7rem; }
}
