/* ==========================================================================
   SAHAJ Consultancy — sahajconsultancy.ai
   Brand: navy #423E6E / orange #F58220 (sampled from the original logo)
   ========================================================================== */

:root {
  --navy:        #423E6E;
  --navy-deep:   #2E2B50;
  --navy-soft:   #5B5691;
  --orange:      #F58220;
  --orange-dark: #D96A12;
  --orange-soft: #FFF1E4;

  --ink:     #1C1B2A;
  --body:    #4E4D63;
  --muted:   #77768C;

  --surface:     #FFFFFF;
  --surface-alt: #F7F7FB;
  --border:      #E6E5F0;

  --container: 1140px;
  --radius:    14px;
  --radius-sm: 10px;

  --shadow-sm: 0 1px 2px rgba(28, 27, 42, .06), 0 2px 8px rgba(28, 27, 42, .04);
  --shadow-md: 0 4px 12px rgba(28, 27, 42, .07), 0 12px 32px rgba(28, 27, 42, .07);
  --shadow-lg: 0 8px 24px rgba(28, 27, 42, .10), 0 24px 60px rgba(28, 27, 42, .10);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;

  color-scheme: light;
}

/* --- Reset ---------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .5em;
  letter-spacing: -.02em;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 1.35rem + 2.6vw, 3.4rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.7rem, 1.2rem + 1.7vw, 2.5rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--orange-dark); }

ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: .4em; }

/* Keep anchor targets clear of the sticky header */
[id] { scroll-margin-top: 92px; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: .75rem 1.25rem;
  z-index: 200;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* --- Layout --------------------------------------------------------------- */

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

.section { padding-block: clamp(56px, 8vw, 104px); }
.section--alt { background: var(--surface-alt); }
.section--tight { padding-block: clamp(44px, 6vw, 72px); }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.08rem; color: var(--muted); margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--orange-dark);
  margin-bottom: .9rem;
}

.lead { font-size: 1.14rem; color: var(--body); }

/* --- Buttons -------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: .9rem 1.7rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease,
              border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.btn--primary {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  box-shadow: 0 4px 14px rgba(245, 130, 32, .3);
}
.btn--primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245, 130, 32, .38);
}

.btn--outline {
  border-color: var(--border);
  color: var(--navy);
  background: #fff;
}
.btn--outline:hover {
  border-color: var(--navy);
  color: var(--navy);
  transform: translateY(-1px);
}

.btn--ghost-light {
  border-color: rgba(255, 255, 255, .45);
  color: #fff;
  background: transparent;
}
.btn--ghost-light:hover {
  background: rgba(255, 255, 255, .12);
  border-color: #fff;
  color: #fff;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

/* --- Header --------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand img { width: 30px; height: 30px; }
.brand-name {
  font-size: 1.42rem;
  font-weight: 800;
  letter-spacing: .01em;
  color: var(--navy);
  line-height: 1;
}
.brand-tld { color: var(--orange); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 9px 11px;
  cursor: pointer;
  color: var(--navy);
}
.nav-toggle svg { width: 20px; height: 20px; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  display: block;
  padding: .5rem .9rem;
  border-radius: var(--radius-sm);
  font-size: .97rem;
  font-weight: 500;
  color: var(--body);
  text-decoration: none;
  transition: color .15s ease, background-color .15s ease;
}
.site-nav a:hover { color: var(--navy); background: var(--surface-alt); }
.site-nav a[aria-current="page"] { color: var(--navy); font-weight: 650; }
.site-nav .btn { margin-left: 10px; padding: .68rem 1.35rem; font-size: .95rem; }
.site-nav .btn:hover { background: var(--orange-dark); }

/* --- Hero ----------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1000px 520px at 82% -8%, rgba(245, 130, 32, .13), transparent 62%),
    radial-gradient(760px 460px at 6% 4%, rgba(66, 62, 110, .10), transparent 60%),
    var(--surface-alt);
  border-bottom: 1px solid var(--border);
  padding-block: clamp(64px, 9vw, 116px);
}

.hero-mark {
  position: absolute;
  right: -70px;
  top: 50%;
  transform: translateY(-50%);
  width: min(460px, 44vw);
  opacity: .05;
  pointer-events: none;
  user-select: none;
}

.hero-inner { position: relative; max-width: 780px; }
.hero h1 { margin-bottom: .55em; }
.hero .lead { font-size: clamp(1.05rem, .98rem + .35vw, 1.22rem); max-width: 62ch; }

.hero-tagline {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1.1rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 52px;
  padding-top: 34px;
  border-top: 1px solid var(--border);
}
.hero-stat strong {
  display: block;
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.02em;
  line-height: 1.1;
}
.hero-stat span { font-size: .93rem; color: var(--muted); }

/* --- Page header (inner pages) -------------------------------------------- */

.page-header {
  background:
    radial-gradient(820px 400px at 88% -20%, rgba(245, 130, 32, .12), transparent 60%),
    var(--surface-alt);
  border-bottom: 1px solid var(--border);
  padding-block: clamp(52px, 7vw, 84px);
}
.page-header .lead { max-width: 64ch; margin-bottom: 0; }

/* --- Cards / grids -------------------------------------------------------- */

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card--hover:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #D6D4E6;
}
.card h3 { margin-bottom: .45em; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--muted); font-size: .98rem; }

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--orange-soft);
  color: var(--orange-dark);
  margin-bottom: 20px;
}
.card-icon svg { width: 24px; height: 24px; }

.card-icon--navy { background: #EFEEF7; color: var(--navy); }

/* Service detail blocks */

.service-block {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 26px;
  padding: 34px 0;
  border-top: 1px solid var(--border);
}
.service-block:first-of-type { border-top: 0; padding-top: 0; }
.service-block .card-icon { width: 56px; height: 56px; margin-bottom: 0; }
.service-block h3 { font-size: 1.35rem; }
.service-block ul { color: var(--muted); font-size: .98rem; margin-bottom: 0; }

/* Numbered steps */

.steps { counter-reset: step; }
.step { position: relative; padding-left: 66px; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 1.02rem;
}
.step h3 { margin-bottom: .35em; }
.step p { color: var(--muted); margin-bottom: 0; font-size: .98rem; }

/* Checklist */

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  position: relative;
  padding-left: 32px;
  margin-bottom: .85em;
  color: var(--body);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .42em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--orange-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D96A12' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px 11px no-repeat;
}

/* Split (text + panel) */

.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-md);
}
.panel h3 { font-size: 1.15rem; }

/* Verticals */

.pill-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .6rem 1.1rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: .95rem;
  font-weight: 500;
  color: var(--navy);
}
.pill svg { width: 17px; height: 17px; color: var(--orange); flex-shrink: 0; }

/* --- CTA band ------------------------------------------------------------- */

.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 58%, #514C86 100%);
  color: #fff;
  padding-block: clamp(52px, 7vw, 86px);
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -130px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 130, 32, .30), transparent 66%);
  pointer-events: none;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .82); font-size: 1.08rem; }
.cta-inner { position: relative; max-width: 700px; }
.cta-band .btn-row { margin-top: 28px; }

/* --- Contact -------------------------------------------------------------- */

.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: start;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(26px, 3.5vw, 40px);
  box-shadow: var(--shadow-md);
}

.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: .45rem;
}
.req { color: var(--orange-dark); }

.field input,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  padding: .8rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input::placeholder,
.field textarea::placeholder { color: #A6A5B8; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy-soft);
  box-shadow: 0 0 0 3px rgba(91, 86, 145, .16);
}
.field textarea { resize: vertical; min-height: 140px; }

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

.form-note { font-size: .87rem; color: var(--muted); margin: 18px 0 0; }
.form-card .btn { width: 100%; margin-top: 4px; }

.hp {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.form-status {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.is-success {
  background: #EAF7EF;
  border: 1px solid #B7E2C7;
  color: #1F6B3C;
}
.form-status.is-error {
  background: #FDEDED;
  border: 1px solid #F5C2C2;
  color: #9B2226;
}

/* Contact details list */

.contact-list { list-style: none; margin: 0 0 26px; padding: 0; }
.contact-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.contact-list .ci {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--orange-soft);
  color: var(--orange-dark);
}
.contact-list .ci svg { width: 19px; height: 19px; }
.contact-list .cl { font-size: .82rem; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); font-weight: 600; }
.contact-list .cv { font-size: 1.04rem; font-weight: 600; color: var(--ink); text-decoration: none; word-break: break-word; }
a.cv:hover { color: var(--orange-dark); }

.founder-card { background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.founder-card h3 { font-size: 1.05rem; margin-bottom: .2em; }
.founder-role { font-size: .93rem; color: var(--orange-dark); font-weight: 600; margin-bottom: .8em; }
.founder-card p { font-size: .95rem; color: var(--muted); margin-bottom: 0; }

/* --- Legal / prose -------------------------------------------------------- */

.prose { max-width: 760px; }
.prose h2 {
  font-size: 1.4rem;
  margin-top: 2.2em;
  margin-bottom: .6em;
  padding-top: 1.4em;
  border-top: 1px solid var(--border);
}
.prose > h2:first-of-type { margin-top: 1em; }
.prose h3 { font-size: 1.06rem; margin-top: 1.6em; margin-bottom: .4em; }
.prose ul { color: var(--body); }
.prose li { margin-bottom: .55em; }
.effective-date {
  display: inline-block;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .55rem 1rem;
  font-size: .93rem;
  color: var(--muted);
  margin-bottom: 2em;
}
.effective-date strong { color: var(--ink); }

.legal-toc {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 8px;
}
.legal-toc h2 {
  font-size: .82rem !important;
  text-transform: uppercase;
  letter-spacing: .11em;
  color: var(--muted);
  border-top: 0 !important;
  padding-top: 0 !important;
  margin: 0 0 .9em !important;
}
.legal-toc ol { margin: 0; padding-left: 1.2em; columns: 2; column-gap: 32px; }
.legal-toc li { margin-bottom: .4em; font-size: .95rem; }

/* --- Footer --------------------------------------------------------------- */

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, .70);
  padding-block: 56px 30px;
  font-size: .95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
}
.site-footer .brand-name { color: #fff; }
.site-footer .brand-tld { color: var(--orange); }
.site-footer .brand { margin-bottom: 16px; }
.footer-about { max-width: 42ch; color: rgba(255, 255, 255, .62); }

.site-footer h4 {
  color: #fff;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .11em;
  margin-bottom: 1.1em;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .65em; }
.site-footer a { color: rgba(255, 255, 255, .70); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  font-size: .9rem;
  color: rgba(255, 255, 255, .55);
}
.footer-bottom p { margin: 0; }

/* --- Responsive ----------------------------------------------------------- */

@media (max-width: 940px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-about { max-width: none; }
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 14px 24px 22px;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-nav a { padding: .8rem .6rem; font-size: 1.02rem; }
  .site-nav .btn { margin: 12px 0 0; width: 100%; padding: .85rem 1.35rem; }

  .site-header { position: relative; }
  .header-inner { position: relative; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .hero-stats { gap: 26px; margin-top: 40px; }
  .hero-stat strong { font-size: 1.6rem; }
  .btn-row .btn { width: 100%; }
  .legal-toc ol { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .service-block { grid-template-columns: 1fr; gap: 18px; }
  .card { padding: 26px 24px; }
}
