/* ============================================================
   QEI — QubitEdge Innovations  |  Main Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,300&family=DM+Serif+Display:ital@0;1&display=swap');

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

:root {
  --blue:      #1041b4;
  --blue-dark: #0b2d80;
  --blue-light:#e8eef9;
  --green:     #69bd21;
  --yellow:    #fcbe12;
  --black:     #0d0f14;
  --gray-900:  #1a1d26;
  --gray-700:  #3d4054;
  --gray-500:  #7a7d8c;
  --gray-200:  #e8e9ed;
  --gray-100:  #f4f5f7;
  --white:     #ffffff;
  --off-white: #fafafa;

  --font-sans:  'DM Sans', Helvetica, Arial, sans-serif;
  --font-serif: 'DM Serif Display', Georgia, serif;

  --nav-h: 100px;
  --section-pad: clamp(80px, 10vw, 140px);
  --container: 1200px;
  --radius: 4px;
  --radius-lg: 12px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

body {
  font-family: var(--font-sans);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ── Typography ───────────────────────────────────────────── */
.t-hero {
  font-family: var(--font-serif);
  font-size: clamp(42px, 6vw, 88px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--black);
}

.t-h1 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.t-h2 {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.t-h3 {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.t-h4 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

.t-body { font-size: 17px; font-weight: 400; line-height: 1.7; color: var(--gray-700); }
.t-small { font-size: 14px; font-weight: 400; color: var(--gray-500); }
.t-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

/* ── Layout Utilities ─────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
}

.section { padding-block: var(--section-pad); }
.section--sm { padding-block: clamp(48px, 6vw, 80px); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

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

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

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  transition: all 0.2s var(--ease-out);
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(16, 65, 180, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}
.btn-outline:hover {
  background: var(--blue-light);
  transform: translateY(-1px);
}

.btn-white {
  background: var(--white);
  color: var(--blue);
}
.btn-white:hover {
  background: var(--off-white);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

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

.btn-lg {
  padding: 18px 36px;
  font-size: 16px;
}

/* ── Navigation ───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 1px 0 var(--gray-200);
  backdrop-filter: blur(12px);
}

.nav.transparent {
  background: transparent;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
}

.nav-logo img {
  height: 90px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav.transparent .nav-link { color: rgba(255,255,255,0.85); }
.nav.transparent .nav-link:hover { color: var(--white); background: rgba(255,255,255,0.1); }

.nav-link:hover,
.nav-link.active {
  color: var(--blue);
  background: var(--blue-light);
}

.nav.transparent .nav-link:hover,
.nav.transparent .nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.12);
}

.nav-chevron {
  width: 12px; height: 12px;
  transition: transform 0.2s;
  opacity: 0.6;
}
.nav-item:hover .nav-chevron { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  padding-top: 8px;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}

.dropdown-inner {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.06);
  padding: 8px;
}

/* Bridge gap between nav link and dropdown so hover doesn't break */
.nav-item::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 8px;
}

.nav-item:hover .dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.dropdown-inner a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 400;
  color: var(--gray-700);
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.dropdown-inner a:hover {
  background: var(--blue-light);
  color: var(--blue);
}

.nav-cta {
  margin-left: 16px;
}

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav.transparent .nav-hamburger span { background: var(--white); }

.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 20px;
  z-index: 999;
  box-shadow: 0 16px 48px rgba(0,0,0,0.1);
}

.nav-mobile.open { display: block; }

.nav-mobile-item > a {
  display: block;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--black);
  border-bottom: 1px solid var(--gray-100);
}

.nav-mobile-sub {
  display: none;
  padding: 4px 0 8px 16px;
  border-left: 2px solid var(--blue-light);
  margin-left: 4px;
  margin-bottom: 4px;
}
.nav-mobile-item.expanded .nav-mobile-sub {
  display: block;
}
.nav-mobile-sub a {
  display: block;
  padding: 8px 0;
  font-size: 14px;
  color: var(--gray-700);
}
.nav-mobile-toggle {
  cursor: pointer;
}
.nav-mobile-toggle.active {
  color: var(--blue);
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--black);
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(16, 65, 180, 0.35) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(105, 189, 33, 0.12) 0%, transparent 50%),
    linear-gradient(135deg, #0d0f14 0%, #111525 100%);
}

.hero-dots {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 740px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(44px, 6.5vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--white);
  text-wrap: pretty;
}

.hero h1 em {
  font-style: normal;
  color: var(--yellow);
}

.hero-sub {
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255,255,255,0.7);
  margin-top: 24px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-scroll {
  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.4);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
}

/* ── Section Labels ───────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--yellow);
}

/* ── Divider ──────────────────────────────────────────────── */
.divider {
  width: 48px;
  height: 3px;
  background: var(--yellow);
  border-radius: 2px;
  margin-top: 16px;
}

.divider--center { margin-inline: auto; }

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out), border-color 0.3s;
}

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

.card-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-light);
  margin-bottom: 24px;
}

.card-icon svg { width: 24px; height: 24px; color: var(--blue); }

/* ── Serve Section ────────────────────────────────────────── */
.serve-section { background: var(--gray-100); }

.serve-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  border: 1px solid var(--gray-200);
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.serve-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}

.serve-card:hover::before { transform: scaleX(1); }

.serve-card:hover {
  box-shadow: 0 20px 56px rgba(0,0,0,0.1);
  transform: translateY(-6px);
}

.serve-number {
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  color: var(--gray-200);
  font-family: var(--font-serif);
  margin-bottom: 16px;
}

/* ── Solutions Strip ──────────────────────────────────────── */
.solutions-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.solutions-strip-item {
  padding: 48px 40px;
  border-right: 1px solid var(--gray-200);
  transition: background 0.3s;
}
.solutions-strip-item:last-child { border-right: none; }
.solutions-strip-item:hover { background: var(--gray-100); }

.solutions-strip-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

/* ── How It Works ─────────────────────────────────────────── */
.how-section { background: var(--blue); }

.step {
  position: relative;
  padding: 40px 32px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  transition: background 0.3s;
}
.step:hover { background: rgba(255,255,255,0.06); }

.step-num {
  font-family: var(--font-serif);
  font-size: 72px;
  line-height: 1;
  color: rgba(255,255,255,0.12);
  position: absolute;
  top: 20px;
  right: 24px;
}

.step-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
  margin-top: 8px;
}

.step-body {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
}

.step-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 12px;
}

/* ── Insight / Thought Leadership ─────────────────────────── */
.insight-card {
  background: var(--black);
  border-radius: var(--radius-lg);
  padding: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.insight-topic {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 3px;
  margin-bottom: 24px;
}

.insight-headline {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
}

.insight-body {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,0.6);
  margin-bottom: 32px;
}

.insight-img {
  border-radius: 8px;
  background: var(--gray-900);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: repeating-linear-gradient(
    45deg,
    var(--gray-900) 0px,
    var(--gray-900) 8px,
    #1a1d26 8px,
    #1a1d26 16px
  );
  color: var(--gray-500);
  font-size: 12px;
  font-family: monospace;
  text-align: center;
  padding: 20px;
}

/* ── Credibility Bar ──────────────────────────────────────── */
.cred-bar {
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  background: var(--off-white);
}

.cred-inner {
  display: flex;
  align-items: center;
  gap: 0;
  overflow: hidden;
}

.cred-item {
  flex: 1;
  padding: 40px 32px;
  border-right: 1px solid var(--gray-200);
  text-align: center;
}
.cred-item:last-child { border-right: none; }

.cred-num {
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
}

.cred-label {
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 6px;
}

/* ── Final CTA ────────────────────────────────────────────── */
.cta-section {
  background: var(--green);
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
}

.cta-section p {
  color: rgba(255,255,255,0.85);
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--black);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-nav-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  margin-top: 20px;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  padding: 4px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

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

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  transition: color 0.2s;
}
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.social-link {
  width: 36px; height: 36px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: all 0.2s;
}
.social-link:hover {
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
  background: rgba(255,255,255,0.06);
}
.social-link svg { width: 16px; height: 16px; }

/* ── Page Hero (inner pages) ──────────────────────────────── */
.page-hero {
  background: var(--black);
  padding: calc(var(--nav-h) + 80px) 0 100px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(16, 65, 180, 0.3) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero-content { position: relative; z-index: 2; }

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.05;
  color: var(--white);
  letter-spacing: -0.025em;
}

.page-hero p {
  font-size: clamp(16px, 1.8vw, 20px);
  color: rgba(255,255,255,0.65);
  margin-top: 20px;
  max-width: 540px;
  line-height: 1.65;
}

/* ── Solutions Page ───────────────────────────────────────── */
.solution-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  padding-block: 80px;
  border-bottom: 1px solid var(--gray-200);
}
.solution-block:last-child { border-bottom: none; }
.solution-block.reverse { direction: rtl; }
.solution-block.reverse > * { direction: ltr; }

.solution-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.tag {
  display: inline-block;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: 100px;
}

.solution-visual {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-200);
}

/* ── About Page ───────────────────────────────────────────── */
.bio-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 64px;
  align-items: start;
}

.bio-photo {
  aspect-ratio: 3/4;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.partner-chip {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 20px 16px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-700);
  line-height: 1.4;
}

/* ── Contact Page ─────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--gray-200);
}
.contact-info-item:first-child { border-top: 1px solid var(--gray-200); }

.contact-info-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon svg { width: 20px; height: 20px; color: var(--blue); }

/* Form */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--black);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(16, 65, 180, 0.08);
}

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

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-error {
  font-size: 12px;
  color: #d93025;
  margin-top: 4px;
  display: none;
}

.form-success {
  display: none;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: var(--radius);
  padding: 16px 20px;
  color: #166534;
  font-size: 15px;
  margin-top: 16px;
}

/* ── Animations ───────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

.fade-in {
  opacity: 0;
  transition: opacity 0.7s var(--ease-out);
}
.fade-in.in-view { opacity: 1; }

.stagger > * { transition-delay: calc(var(--i, 0) * 80ms); }

/* ── Accent line ──────────────────────────────────────────── */
.accent-line {
  display: block;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, var(--yellow), var(--green));
  margin-bottom: 0;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-nav-cols { grid-template-columns: repeat(3, 1fr); }
  .insight-card { grid-template-columns: 1fr; padding: 40px; }
  .solutions-strip { grid-template-columns: 1fr; }
  .solutions-strip-item { border-right: none; border-bottom: 1px solid var(--gray-200); }
  .solutions-strip-item:last-child { border-bottom: none; }
  .bio-card { grid-template-columns: 1fr; }
  .bio-photo { max-width: 280px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 80px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .cred-inner { flex-direction: column; }
  .cred-item { border-right: none; border-bottom: 1px solid var(--gray-200); }
  .cred-item:last-child { border-bottom: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .solution-block { grid-template-columns: 1fr; gap: 40px; }
  .solution-block.reverse { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-nav-cols { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 38px; }
  .hero-actions { flex-direction: column; }
  .btn-lg { width: 100%; justify-content: center; }
}
