/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }

/* ── Tokens ── */
:root {
  --blue:   #2563eb;
  --blue-d: #1d4ed8;
  --blue-lt:#eff6ff;
  --blue-bd:#bfdbfe;
  --black:  #111111;
  --muted:  #6b7280;
  --border: #e5e7eb;
  --off:    #f8f7f4;
  --dark:   #0f172a;
  --white:  #ffffff;
}

/* ── Base ── */
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--black);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { line-height: 1.1; letter-spacing: -.025em; }

/* ── Layout ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
section { padding: 6rem 1.5rem; }

/* ── Label ── */
.eyebrow {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}

/* ── Tag pill ── */
.tag {
  display: inline-flex;
  font-size: .68rem;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-lt);
  border: 1px solid var(--blue-bd);
  border-radius: 999px;
  padding: .2rem .65rem;
  white-space: nowrap;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .875rem;
  font-weight: 600;
  padding: .8rem 1.6rem;
  border-radius: .5rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .15s, border-color .15s, transform .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn-sm {
  font-size: .78rem;
  padding: .5rem 1rem;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-d);
  border-color: var(--blue-d);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px -4px rgba(37,99,235,.4);
}
.btn-ghost {
  background: transparent;
  color: var(--black);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--off); border-color: #9ca3af; }
.btn-white {
  background: #fff;
  color: var(--blue);
  border-color: #fff;
}
.btn-white:hover { background: var(--blue-lt); transform: translateY(-1px); }


/* ══════════════════════════════════════
   NAVBAR
══════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,.93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.navbar.scrolled { border-bottom-color: var(--border); }

.nav-wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 4.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-logo {
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -.03em;
  flex-shrink: 0;
}
.nav-logo span { color: var(--blue); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: .85rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .15s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1.5px;
  background: var(--blue);
  transition: width .2s;
}
.nav-links a:hover { color: var(--black); }
.nav-links a:hover::after { width: 100%; }

.nav-burger {
  display: none;
  padding: .45rem .5rem;
  border: 1px solid var(--border);
  border-radius: .375rem;
  color: var(--black);
  line-height: 0;
}
.nav-burger:hover { background: var(--off); }

/* Mobile menu */
.mob-menu {
  display: none;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 1rem 1rem 1.75rem;
}
.mob-menu.open { display: flex; flex-direction: column; }
.mob-menu a {
  display: block;
  padding: .75rem 0;
  font-size: .95rem;
  font-weight: 500;
  color: var(--black);
  border-bottom: 1px solid var(--border);
}
.mob-menu a:hover { color: var(--blue); }
.mob-menu .btn {
  margin-top: 1.25rem;
  width: 100%;
  justify-content: center;
  font-size: .9rem;
  padding: .85rem 1rem;
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  border-radius: .5rem;
  border-bottom: none;
}


/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  padding: 9rem 1.5rem 6rem;
  text-align: center;
  background: var(--white);
}
.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--black);
  max-width: 820px;
  margin: 0 auto 1.5rem;
}
.hero h1 em { font-style: normal; color: var(--blue); }
.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}
.hero-ctas {
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
}


/* ══════════════════════════════════════
   MARQUEE
══════════════════════════════════════ */
.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  background: var(--off);
}
.marquee-inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  white-space: nowrap;
  animation: marquee 18s linear infinite;
}
.marquee-wrap:hover .marquee-inner { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.m-item { font-size: .73rem; font-weight: 700; color: #a1a1aa; letter-spacing: .1em; text-transform: uppercase; }
.m-dot  { font-size: .3rem; color: #d4d4d8; }


/* ══════════════════════════════════════
   SERVICES
══════════════════════════════════════ */
.services { background: var(--off); }
.services-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.services-header h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.svc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.svc-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s ease;
}
.svc-card:hover { border-color: var(--blue-bd); transform: translateY(-3px); box-shadow: 0 10px 28px -8px rgba(37,99,235,.14); }
.svc-card:hover::after { transform: scaleX(1); }

.svc-num {
  font-size: .68rem;
  font-weight: 800;
  color: #d4d4d8;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}
.svc-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .6rem; }
.svc-card p  { color: var(--muted); font-size: .875rem; line-height: 1.75; margin-bottom: 1.1rem; }
.svc-tags    { display: flex; flex-wrap: wrap; gap: .35rem; }


/* ══════════════════════════════════════
   WHY US
══════════════════════════════════════ */
.why { background: var(--white); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.why-left h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; margin-bottom: 1rem; }
.why-left p  { color: var(--muted); font-size: 1rem; line-height: 1.8; max-width: 380px; }
.why-items   { display: flex; flex-direction: column; gap: 2rem; }
.why-item    { display: flex; gap: 1.1rem; align-items: flex-start; }
.why-num {
  font-size: .75rem;
  font-weight: 800;
  color: var(--blue);
  background: var(--blue-lt);
  border: 1px solid var(--blue-bd);
  border-radius: .375rem;
  padding: .3rem .55rem;
  flex-shrink: 0;
  margin-top: .1rem;
}
.why-item h4 { font-weight: 700; font-size: .95rem; margin-bottom: .3rem; }
.why-item p  { color: var(--muted); font-size: .875rem; line-height: 1.75; }

/* Stats row inside why */
.why-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.why-stat-val  { font-size: 2rem; font-weight: 900; color: var(--black); letter-spacing: -.04em; line-height: 1; }
.why-stat-label{ font-size: .75rem; color: var(--muted); font-weight: 500; margin-top: .25rem; }


/* ══════════════════════════════════════
   ABOUT
══════════════════════════════════════ */
.about { background: var(--dark); }
.about-intro {
  max-width: 820px;
  margin: 0 auto 4rem;
  text-align: center;
}
.about-intro .eyebrow { color: #60a5fa; }
.about-intro h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.1rem;
}
.about-intro p { color: #9ca3af; font-size: 1rem; line-height: 1.8; }

.about-values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #1e293b;
  border: 1px solid #1e293b;
  border-radius: 1rem;
  overflow: hidden;
  max-width: 1140px;
  margin: 0 auto;
}
.about-value {
  background: #0f172a;
  padding: 2rem 1.75rem;
  transition: background .2s;
}
.about-value:hover { background: #1e293b; }
.about-value h4 { font-size: .95rem; font-weight: 700; color: #f1f5f9; margin-bottom: .5rem; }
.about-value p  { font-size: .85rem; color: #6b7280; line-height: 1.75; }
.about-value-icon {
  width: 36px; height: 36px;
  background: rgba(37,99,235,.15);
  border: 1px solid rgba(37,99,235,.25);
  border-radius: .5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  margin-bottom: 1.1rem;
}
.about-value-icon svg { width: 16px; height: 16px; }


/* ══════════════════════════════════════
   PROCESS
══════════════════════════════════════ */
.process { background: var(--off); }
.process-header { margin-bottom: 3rem; }
.process-header h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.process-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  position: relative;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.process-step:hover { border-color: var(--blue-bd); box-shadow: 0 4px 16px -4px rgba(37,99,235,.1); }
.process-step.is-blue { background: var(--blue); border-color: var(--blue); }
.process-step.is-blue h4, .process-step.is-blue p { color: rgba(255,255,255,.85); }
.process-step.is-blue h4 { color: #fff; }
.process-step.is-blue .step-num-bg { color: rgba(255,255,255,.07); }

.step-badge {
  width: 32px; height: 32px;
  background: var(--blue);
  border-radius: .4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  margin-bottom: 1.1rem;
}
.process-step.is-blue .step-badge { background: rgba(255,255,255,.2); }
.step-num-bg {
  position: absolute;
  bottom: -4px; right: 8px;
  font-size: 5rem;
  font-weight: 900;
  color: #f1f0ec;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -.04em;
}
.process-step h4 { font-size: .95rem; font-weight: 700; margin-bottom: .5rem; }
.process-step p  { font-size: .85rem; color: var(--muted); line-height: 1.75; }
.process-step.is-blue p { color: rgba(255,255,255,.7); }


/* ══════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════ */
.testimonials { background: var(--white); }
.testi-header { margin-bottom: 3rem; }
.testi-header h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.testi-card {
  background: var(--off);
  border: 1px solid var(--border);
  border-left: 2.5px solid var(--blue);
  border-radius: 1rem;
  padding: 2rem;
  transition: transform .2s, box-shadow .2s;
}
.testi-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px -6px rgba(0,0,0,.08); }
.testi-stars { color: #f59e0b; font-size: .8rem; letter-spacing: 1px; margin-bottom: .875rem; }
.testi-card blockquote {
  font-size: .875rem;
  color: #374151;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.25rem;
}
.testi-author { display: flex; align-items: center; gap: .625rem; }
.testi-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--blue-lt);
  border: 1.5px solid var(--blue-bd);
  color: var(--blue);
  font-size: .65rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testi-name { font-size: .82rem; font-weight: 600; }
.testi-role { font-size: .75rem; color: var(--muted); }


/* ══════════════════════════════════════
   CTA BAND
══════════════════════════════════════ */
.cta-band {
  background: var(--blue);
  padding: 6rem 1.5rem;
  text-align: center;
}
.cta-band h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 900; color: #fff; margin-bottom: .875rem; }
.cta-band p  { color: rgba(255,255,255,.65); font-size: 1.05rem; margin-bottom: 2.5rem; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-alt { margin-top: 1.25rem; font-size: .82rem; color: rgba(255,255,255,.45); }
.cta-alt a { color: rgba(255,255,255,.75); text-decoration: underline; }
.cta-alt a:hover { color: #fff; }


/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer { background: var(--dark); padding: 5rem 1.5rem 2.5rem; }
.footer-grid {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
.footer-logo { font-weight: 800; font-size: 1rem; color: #fff; letter-spacing: -.03em; display: block; margin-bottom: .875rem; }
.footer-logo span { color: #60a5fa; }
.footer-desc { font-size: .875rem; color: #6b7280; line-height: 1.75; max-width: 260px; }
.footer-col-title { font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #374151; margin-bottom: 1.1rem; display: block; }
.footer-links { display: flex; flex-direction: column; gap: .6rem; }
.footer-links a { font-size: .875rem; color: #6b7280; transition: color .15s; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  max-width: 1140px;
  margin: 0 auto;
  border-top: 1px solid #1e293b;
  padding-top: 2rem;
  font-size: .78rem;
  color: #374151;
  text-align: center;
}

/* ══════════════════════════════════════
   CONTACT
══════════════════════════════════════ */
.contact-section { background: var(--off); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}
.contact-info h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 1rem; }
.contact-info > p { color: var(--muted); font-size: .95rem; line-height: 1.8; margin-bottom: 2.5rem; }

.contact-meta { display: flex; flex-direction: column; gap: 1rem; }
.contact-meta li { display: flex; align-items: center; gap: .75rem; font-size: .9rem; }
.contact-meta a { color: var(--blue); }
.contact-meta a:hover { text-decoration: underline; }
.contact-meta span { color: var(--muted); }
.contact-meta-icon {
  width: 34px; height: 34px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: .5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  flex-shrink: 0;
}

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-size: .78rem; font-weight: 600; color: #374151; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: .5rem;
  font-family: 'Inter', sans-serif;
  font-size: .875rem;
  color: var(--black);
  background: var(--white);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #a1a1aa; }
.form-group textarea { resize: vertical; }

.form-success {
  display: none;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: .5rem;
  padding: 1.25rem;
  font-size: .875rem;
  color: #166534;
  text-align: center;
  line-height: 1.7;
}
.form-success.visible { display: block; }


/* ══════════════════════════════════════
   FADE IN ON SCROLL
══════════════════════════════════════ */
[data-fade] { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
[data-fade].in { opacity: 1; transform: none; }


/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 900px) {
  .footer-grid    { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .why-grid       { grid-template-columns: 1fr; gap: 3rem; }
  .about-values   { grid-template-columns: 1fr 1fr; }
  .testi-grid     { grid-template-columns: 1fr 1fr; }
  .contact-grid   { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }

  section { padding: 4rem 1rem; }
  .hero   { padding: 7rem 1rem 4rem; }

  .hero h1 { font-size: clamp(2.2rem, 8vw, 3rem); }

  .services-header { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .services-grid   { grid-template-columns: 1fr; }

  .process-steps   { grid-template-columns: 1fr 1fr; }

  .footer          { padding: 3.5rem 1rem 2rem; }
}

@media (max-width: 540px) {
  .hero-ctas    { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }

  .footer-grid  { grid-template-columns: 1fr; gap: 2rem; }
  .testi-grid   { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .process-steps{ grid-template-columns: 1fr; }
  .why-stats    { gap: 1rem; flex-wrap: nowrap; }
  .why-stats > div { flex: 1; min-width: 0; }
  .why-stat-val { font-size: 1.6rem; }
  .why-stat-label { font-size: .7rem; }
  .form-row     { grid-template-columns: 1fr; }
}
