:root {
  --purple-900: #1f1646;
  --purple-800: #281b5c;
  --purple-700: #3a2a82;
  --purple-600: #4a369b;
  --purple-500: #5c45b3;
  --gold: #e3a435;
  --gold-dark: #c7872018;
  --ink: #1a1a22;
  --slate: #4b4b58;
  --mist: #f4f3fa;
  --line: #e4e1f0;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(31, 22, 70, 0.1);
  --shadow-sm: 0 4px 14px rgba(31, 22, 70, 0.08);
  --max: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

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

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

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

h1, h2, h3, h4 {
  font-family: "Segoe UI Semibold", "Segoe UI", Arial, sans-serif;
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--purple-900);
}

h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 16px; color: var(--slate); }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  background: rgba(227, 164, 53, 0.12);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--purple-900);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(227,164,53,0.35); }

.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  border-color: var(--purple-700);
  color: var(--purple-700);
}
.btn-outline:hover { background: var(--purple-700); color: var(--white); }

.btn-block { width: 100%; justify-content: center; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img { height: 58px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  font-weight: 600;
  color: var(--purple-900);
  font-size: 0.96rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover,
.main-nav a.active { border-color: var(--gold); }

.nav-cta { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--purple-900);
  margin: 6px 0;
  transition: 0.2s;
}

/* Hero */
.hero {
  background: radial-gradient(circle at 15% -10%, #4a369b 0%, #281b5c 55%, #1a1340 100%);
  color: var(--white);
  padding: 96px 0 110px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -80px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227,164,53,0.22), transparent 70%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-abstract {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-abstract svg { width: 100%; height: 100%; display: block; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { color: var(--white); }
.hero p.lead {
  color: rgba(255,255,255,0.84);
  font-size: 1.12rem;
  max-width: 540px;
}
.hero-actions { display: flex; gap: 16px; margin-top: 28px; flex-wrap: wrap; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.hero-stats .stat-num {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--gold);
  white-space: nowrap;
}
.hero-stats .stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
}

.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  padding: 28px;
  backdrop-filter: blur(6px);
}
.hero-card h3 { color: var(--white); margin-bottom: 14px; }
.hero-card ul { margin: 0; padding: 0; list-style: none; }
.hero-card li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.88);
  font-size: 0.95rem;
}
.hero-card li:last-child { border-bottom: none; }
.hero-card .chk {
  color: var(--gold);
  font-weight: 800;
}

/* Partner strip */
.partner-strip {
  background: var(--mist);
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.partner-strip .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
}
.partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  color: var(--purple-700);
  box-shadow: var(--shadow-sm);
}
.partner-badge .ms-logo { display: flex; gap: 3px; }
.partner-badge .ms-logo span {
  width: 10px; height: 10px; display: inline-block;
}
.partner-strip .note { color: var(--slate); font-size: 0.92rem; margin: 0; }

/* Sections */
section { padding: 88px 0; }
.section-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-head.left { margin: 0 0 48px; text-align: left; }
.bg-mist {
  background-color: var(--mist);
  background-image: radial-gradient(rgba(58, 42, 130, 0.09) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}
.bg-dark { background: linear-gradient(180deg, #1f1646, #281b5c); color: #fff; }
.bg-dark h2, .bg-dark h3 { color: #fff; }
.bg-dark p { color: rgba(255,255,255,0.78); }

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--purple-700), var(--purple-500));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.card ul { margin: 14px 0 0; padding-left: 18px; color: var(--slate); font-size: 0.94rem; }
.card ul li { margin-bottom: 6px; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-weight: 700;
  color: var(--purple-700);
  font-size: 0.92rem;
}

/* Process steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step { position: relative; padding-left: 8px; }
.step .num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gold);
  opacity: 0.9;
  display: block;
  margin-bottom: 8px;
}

/* Why us */
.why-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 8px;}
.why-item { display: flex; gap: 16px; }
.why-item .mark {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(227,164,53,0.15);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
}
.why-item h4 { margin: 0 0 6px; color: var(--purple-900); font-size: 1.02rem; }
.why-item p { margin: 0; font-size: 0.94rem; }

/* Testimonials */
.quote-card {
  background: var(--white);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.quote-card p.quote { font-style: italic; color: var(--ink); font-size: 1.02rem; }
.quote-card .who { font-weight: 700; color: var(--purple-700); font-size: 0.9rem; }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--purple-700), var(--purple-900));
  color: var(--white);
  border-radius: 20px;
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227,164,53,0.25), transparent 70%);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,0.82); margin: 0; }

/* Lead magnet */
.lead-magnet {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.lead-magnet::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, var(--gold), var(--purple-700));
}
.lead-magnet ul { list-style: none; margin: 18px 0 0; padding: 0; }
.lead-magnet li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--slate);
}
.lead-magnet li .chk { color: var(--gold); font-weight: 800; }

/* Testimonials */
.testimonial-note {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 36px;
  font-size: 0.92rem;
  color: var(--slate);
  font-style: italic;
}

/* Insights / blog cards */
.insight-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.insight-card .meta {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--purple-700);
  margin-bottom: 10px;
}
.insight-article {
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}
.insight-article:last-child { border-bottom: none; }
.insight-article .meta {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--purple-700);
  margin-bottom: 10px;
}
.insight-article ol,
.insight-article ul { color: var(--slate); padding-left: 20px; }
.insight-article ol li,
.insight-article ul li { margin-bottom: 10px; }
.insight-toc {
  background: var(--mist);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 22px 26px;
  margin-bottom: 8px;
}
.insight-toc h4 { margin-bottom: 10px; font-size: 0.95rem; }
.insight-toc ul { margin: 0; padding-left: 18px; }
.insight-toc li { margin-bottom: 6px; font-size: 0.92rem; }

/* Newsletter (footer) */
.newsletter {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  padding: 24px 28px;
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.newsletter h4 { color: #fff; margin: 0 0 4px; font-size: 1.02rem; }
.newsletter p { margin: 0; color: rgba(255,255,255,0.65); font-size: 0.88rem; }
.newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.newsletter-form input {
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 0.92rem;
  min-width: 220px;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.55); }
.newsletter-form input:focus { outline: none; border-color: var(--gold); }
.newsletter-status {
  width: 100%;
  font-size: 0.82rem;
  color: var(--gold);
  display: none;
}
.newsletter-status.show { display: block; }

/* Footer */
.site-footer {
  background: #150f33;
  color: rgba(255,255,255,0.75);
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 32px;
  margin-bottom: 36px;
}
.footer-grid h4 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; font-size: 0.92rem; }
.footer-grid a:hover { color: var(--gold); }
.footer-brand img {
  height: 44px;
  margin-bottom: 14px;
  background: #fff;
  padding: 6px 10px;
  border-radius: 8px;
}
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.6); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}

/* Page hero (interior pages) */
.page-hero {
  background: linear-gradient(120deg, #281b5c, #1a1340);
  color: #fff;
  padding: 72px 0 64px;
}
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.82); max-width: 640px; }
.breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--gold); }

/* Services page detail blocks */
.service-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}
.service-detail:last-child { border-bottom: none; }
.service-detail .tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple-700);
  background: rgba(58,42,130,0.08);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.service-detail ul { padding-left: 20px; color: var(--slate); }
.service-detail ul li { margin-bottom: 10px; }

/* About page */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.timeline { border-left: 2px solid var(--line); padding-left: 28px; margin-top: 16px; }
.timeline-item { margin-bottom: 28px; position: relative; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.contact-info-card {
  background: var(--mist);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--line);
}
.contact-info-card .row {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
  align-items: flex-start;
}
.contact-info-card .row .ico {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--purple-700);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
  font-size: 1rem;
}
.contact-info-card h4 { margin: 0 0 2px; font-size: 0.95rem; color: var(--purple-900); }
.contact-info-card p { margin: 0; font-size: 0.92rem; }

form.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--purple-900);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #fcfbff;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--purple-500);
  box-shadow: 0 0 0 3px rgba(74,54,155,0.15);
}
.form-note { font-size: 0.82rem; color: var(--slate); margin-top: 10px; }
.form-status { font-size: 0.9rem; margin-top: 12px; display: none; }
.form-status.show { display: block; }

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }

/* Responsive */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .why-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-detail { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .lead-magnet { grid-template-columns: 1fr; padding: 32px 24px; }
  .newsletter { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    top: 66px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 18px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-130%);
    transition: transform 0.2s ease;
    z-index: 90;
  }
  .main-nav.open { transform: translateY(0); }
  .nav-toggle { display: block; }
  .nav-cta .btn-outline { display: none; }
  .hero-stats { grid-template-columns: 1fr; gap: 14px; }
  .cta-band { padding: 36px 24px; flex-direction: column; text-align: center; }
  section { padding: 60px 0; }
}
