/* ============ Reset & base ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy: #0b1830;
  --navy-light: #132345;
  --ink: #101828;
  --slate: #475467;
  --slate-light: #667085;
  --line: #e4e7ec;
  --bg-soft: #f7f9fc;
  --accent: #2f6fed;
  --accent-light: #5b8def;
  --accent-soft: #eaf1ff;
  --white: #ffffff;
  --radius: 14px;
  --shadow-sm: 0 2px 8px rgba(16, 24, 40, 0.06);
  --shadow-md: 0 12px 28px rgba(16, 24, 40, 0.10);
  --container: 1140px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; }

a { color: inherit; text-decoration: none; }

img { display: block; max-width: 100%; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-sub {
  color: var(--slate);
  font-size: 1.05rem;
  max-width: 620px;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(47, 111, 237, 0.28);
}
.btn-primary:hover { background: #2a62d4; transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }

.btn-block { width: 100%; }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 2px 12px rgba(16, 24, 40, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
  gap: 24px;
}

.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: 62px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0 auto;
}
.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--slate);
  position: relative;
  padding: 6px 0;
  transition: color 0.15s ease;
}
.main-nav a:hover { color: var(--ink); }

.nav-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ============ Hero ============ */
.hero {
  background: radial-gradient(circle at 15% 10%, #16285096 0%, transparent 45%), var(--navy);
  color: var(--white);
  padding: 120px 0 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(47, 111, 237, 0.35), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(47, 111, 237, 0.18), transparent 45%);
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; max-width: 760px; }

.hero .eyebrow { color: #8fb4ff; }

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 22px;
  color: var(--white);
}
.hero h1 .accent { color: #6fa1ff; }

.hero-sub {
  font-size: 1.1rem;
  color: #c4cfe6;
  max-width: 620px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero .btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
}
.hero .btn-ghost:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.stat { display: flex; flex-direction: column; align-items: center; }
.stat-num { font-size: 2rem; font-weight: 800; color: var(--white); }
.stat-label { font-size: 0.85rem; color: #9fb0d3; margin-top: 4px; }

/* ============ Section heading ============ */
.section-heading { max-width: 680px; margin-bottom: 56px; }
.section-heading h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 14px; }

section { padding: 96px 0; }

/* ============ Services ============ */
.services { background: var(--bg-soft); }

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

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(47, 111, 237, 0.25);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 26px; height: 26px; }

.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.service-card p { color: var(--slate); font-size: 0.96rem; }

/* ============ Approach ============ */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.approach-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 36px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.approach-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }

.approach-card--highlight {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.approach-card--highlight .approach-list li { color: #c4cfe6; }
.approach-card--highlight p { color: #c4cfe6; }

.approach-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 18px;
}
.approach-card--highlight .approach-tag {
  background: rgba(255, 255, 255, 0.12);
  color: #8fb4ff;
}

.approach-card h3 { font-size: 1.4rem; margin-bottom: 14px; }
.approach-card > p { color: var(--slate); margin-bottom: 22px; }

.approach-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.approach-list li {
  position: relative;
  padding-left: 26px;
  color: var(--slate);
  font-size: 0.95rem;
}
.approach-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 2px solid var(--accent);
}
.approach-card--highlight .approach-list li::before {
  background: transparent;
  border-color: #6fa1ff;
}

/* ============ Why ============ */
.why-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.why-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.why-item h4 { font-size: 1.05rem; margin-bottom: 8px; }
.why-item p { color: var(--slate); font-size: 0.95rem; }

/* ============ CTA banner ============ */
.cta-banner {
  background: linear-gradient(120deg, var(--navy) 0%, #1b3d80 100%);
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}
.cta-inner h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 12px; }
.cta-inner p { color: #c4cfe6; margin-bottom: 28px; }

/* ============ Contact ============ */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-details {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.contact-details h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--slate-light); margin-bottom: 6px; }
.contact-details a { color: var(--accent); font-weight: 500; }

.contact-form {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 0.88rem; font-weight: 600; color: var(--ink); }

.form-row input,
.form-row select,
.form-row textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(47, 111, 237, 0.15);
}
.form-row textarea { resize: vertical; }

.form-note { font-size: 0.88rem; color: var(--accent); min-height: 1.2em; }

/* ============ Footer ============ */
.site-footer {
  background: var(--navy);
  color: #9fb0d3;
  padding: 56px 0 32px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p { font-size: 0.95rem; font-weight: 600; color: var(--white); }
.footer-brand .footer-tagline { font-size: 0.9rem; font-weight: 400; color: #8295bd; margin-top: 6px; }

.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-nav a { font-size: 0.92rem; transition: color 0.15s ease; }
.footer-nav a:hover { color: var(--white); }

.footer-copy { text-align: center; font-size: 0.85rem; padding-top: 24px; color: #6c7da3; }

/* ============ Scroll-reveal animation ============ */
[data-animate] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-animate].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-inner { grid-template-columns: 1fr; gap: 36px; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 760px) {
  section { padding: 72px 0; }
  .hero { padding: 110px 0 70px; }
  .main-nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .main-nav.open {
    display: flex;
    position: absolute;
    top: 92px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
  }
  .main-nav.open a { padding: 12px 0; border-bottom: 1px solid var(--line); width: 100%; }
  .main-nav.open a:last-child { border-bottom: none; }

  .services-grid { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: 1fr; }
  .why-list { grid-template-columns: 1fr; }
  .hero-stats { gap: 36px; }
  .footer-inner { flex-direction: column; }
}
