/* ============================================================
   SENTARI CONSULTING — MAIN STYLESHEET
   ------------------------------------------------------------
   HOW TO MAINTAIN:
   1. Brand colors & fonts live in :root below. Change once,
      updates everywhere.
   2. Each section of every page has a matching comment block
      here (search for the section name, e.g. "HERO").
   ============================================================ */

/* ---------- 1. BRAND TOKENS (edit here) ---------- */
:root {
  --navy:   #0B2545;   /* headings, footer, quote band */
  --royal:  #1565C0;   /* buttons, links */
  --sky:    #1E90FF;   /* hovers, accents */
  --mist:   #F0F4F8;   /* alternate section background */
  --ice:    #E9F2FC;   /* trust strip tint */
  --white:  #FFFFFF;
  --ink:    #22334A;   /* body text */
  --muted:  #56697F;   /* secondary text */
  --line:   #DCE6F0;   /* card borders */

  --font-display: "Poppins", sans-serif;
  --font-body:    "Nunito", sans-serif;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 37, 69, 0.08);
  --shadow-lift: 0 16px 40px rgba(11, 37, 69, 0.14);
  --container: 1440px;
}

/* ---------- 2. RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--royal); text-decoration: none; }
a:hover { color: var(--sky); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.18;
  font-weight: 700;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -0.5px; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -0.3px; }
h3 { font-size: 1.2rem; }
p  { color: var(--muted); }

/* Full-bleed sections: backgrounds always span the viewport,
   content is constrained by .container */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 88px 0; }
.section-alt { background: var(--mist); }

/* Section intro pattern: eyebrow + heading + lede */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--royal);
  margin-bottom: 16px;
}
/* Signature mark: the Sentari dot-ring, echoing the logo */
.eyebrow::before {
  content: "";
  width: 22px;
  height: 22px;
  flex: none;
  background-image: radial-gradient(circle 2px, var(--royal) 98%, transparent),
                    radial-gradient(circle 2px, var(--royal) 98%, transparent),
                    radial-gradient(circle 2px, var(--royal) 98%, transparent),
                    radial-gradient(circle 2px, var(--sky) 98%, transparent),
                    radial-gradient(circle 2px, var(--sky) 98%, transparent),
                    radial-gradient(circle 2px, var(--sky) 98%, transparent),
                    radial-gradient(circle 2px, var(--royal) 98%, transparent),
                    radial-gradient(circle 2px, var(--royal) 98%, transparent);
  background-position: 50% 0, 85% 15%, 100% 50%, 85% 85%, 50% 100%, 15% 85%, 0 50%, 15% 15%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { margin-top: 14px; font-size: 1.1rem; }

/* ---------- 3. BUTTONS ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 15px 32px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.btn-primary {
  background: var(--royal);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(21, 101, 192, 0.28);
}
.btn-primary:hover {
  background: var(--sky);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(30, 144, 255, 0.32);
}
.btn-outline {
  background: transparent;
  color: var(--royal);
  border-color: var(--royal);
}
.btn-outline:hover { background: var(--royal); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--ice); color: var(--navy); transform: translateY(-2px); }

/* ---------- 4. HEADER / NAV ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(11, 37, 69, 0.08); border-color: var(--line); }
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 44px; width: auto; }
.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--navy);
  letter-spacing: 0.5px;
}
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; }
.nav-links a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--navy);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--royal); border-color: var(--sky); }
.nav-cta { margin-left: 10px; }
.nav-cta .btn { padding: 11px 24px; font-size: 0.92rem; }
/* FIX: .nav-links a (navy) is more specific than .btn-primary (white),
   so inside the nav the navy color was winning. This restores white
   text on the header button, in all states. */
.nav-links a.btn-primary,
.nav-links a.btn-primary:hover {
  color: var(--white);
  border-bottom: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  align-items: center;
}
.nav-toggle span {
  width: 26px;
  height: 3px;
  border-radius: 3px;
  background: var(--navy);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ---------- 5. HERO / FIRST VIEW (Home) ----------
   The complete first screen, matching the approved concept:
   headline + dashboard, pillar divider row, trust band —
   sized to fill one viewport below the header on desktop. */
.hero {
  position: relative;
  background: linear-gradient(120deg, #FFFFFF 0%, #F3F8FD 45%, #E4EFFB 100%);
  padding: 44px 0 36px;
  overflow: hidden;
  /* fill the screen below the 78px header; taller content simply scrolls */
  min-height: calc(100svh - 78px);
  display: flex;
  align-items: center;
}
.hero > .container { width: 100%; }
/* soft bokeh circles, like the blurred office backdrop */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}
.hero::before {
  width: 420px;
  height: 420px;
  top: -140px;
  right: 8%;
  background: radial-gradient(circle, rgba(255,255,255,0.95), rgba(190,218,246,0.5) 70%, transparent);
}
.hero::after {
  width: 300px;
  height: 300px;
  bottom: -80px;
  right: 34%;
  background: radial-gradient(circle, rgba(173,208,244,0.55), transparent 70%);
}
/* dotted circle accents (as in the concept art) */
.hero-deco {
  position: absolute;
  border: 1.5px dotted rgba(21, 101, 192, 0.35);
  border-radius: 50%;
  pointer-events: none;
}
.hero-deco.d1 { width: 340px; height: 340px; top: 40px; left: 44%; }
.hero-deco.d2 { width: 180px; height: 180px; top: 220px; left: 40%; border-color: rgba(30, 144, 255, 0.28); }
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
}
.hero h1 .accent { color: var(--royal); }
.hero-lede {
  margin: 18px 0 26px;
  font-size: 1.1rem;
  max-width: 540px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-visual { position: relative; }
.hero-visual img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  /* keep the dashboard from pushing the trust band below the fold */
  max-height: min(470px, 48svh);
  width: auto;
  margin-left: auto;
}
/* "No block" option: transparent cutout floating on the hero
   background. drop-shadow follows the objects' outline (unlike
   box-shadow, which draws a rectangle). */
.hero-visual img.cutout {
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 22px 26px rgba(11, 37, 69, 0.22));
}
/* Pillar row inside the hero: icon over bold label,
   separated by thin vertical dividers — matches the concept */
.hero-pillars {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 42px;
  text-align: center;
}
.hero-pillars > div {
  padding: 4px 14px;
  border-left: 1px solid rgba(11, 37, 69, 0.14);
}
.hero-pillars > div:first-child { border-left: 0; }
.hero-pillars svg {
  width: 40px;
  height: 40px;
  margin: 0 auto 10px;
  color: var(--royal);
  display: block;
}
.hero-pillars span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--navy);
  display: block;
  max-width: 170px;
  margin: 0 auto;
}

/* ---------- 6. PILLARS (Home) ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: rgba(30, 144, 255, 0.4); }
.card h3 { margin: 18px 0 10px; }
.card p { font-size: 0.98rem; }
.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--ice);
  color: var(--royal);
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-icon svg { width: 28px; height: 28px; }

/* ---------- 7. TRUST BAND (inside the hero first view) ----------
   Rounded light-blue band at the bottom of the first screen,
   as in the concept image */
.trust-panel {
  position: relative;
  background: var(--ice);
  border-radius: 24px;
  padding: 32px 36px 28px;
  margin-top: 44px;
}
.trust-panel h2 {
  text-align: center;
  font-size: 0.9rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--royal);
  margin-bottom: 28px;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 18px;
  text-align: center;
}
.trust-item { color: var(--navy); }
.trust-item svg { width: 34px; height: 34px; margin: 0 auto 8px; color: var(--royal); }
.trust-item span {
  display: block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
}

/* ---------- 8. QUOTE BAND (Home / About) ---------- */
.quote-band {
  background:
    radial-gradient(700px 400px at 10% 120%, rgba(30, 144, 255, 0.18), transparent 60%),
    var(--navy);
  text-align: center;
  padding: 96px 0;
}
.quote-band blockquote {
  max-width: 860px;
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--white);
}
.quote-band cite {
  display: block;
  margin-top: 26px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 1rem;
  color: #9FC3EE;
}

/* ---------- 9. CTA BANNER ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--royal), var(--sky));
  text-align: center;
  padding: 84px 0;
}
.cta-banner h2 { color: var(--white); margin-bottom: 14px; }
.cta-banner p { color: rgba(255, 255, 255, 0.9); max-width: 620px; margin: 0 auto 32px; font-size: 1.1rem; }

/* ---------- 10. ABOUT PAGE ---------- */
.page-hero {
  background: linear-gradient(135deg, #FFFFFF 0%, #EDF4FC 100%);
  padding: 84px 0 72px;
}
.page-hero p { max-width: 680px; margin-top: 16px; font-size: 1.12rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value-item {
  background: var(--white);
  border-left: 4px solid var(--sky);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 24px 22px;
}
.value-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.value-item p { font-size: 0.92rem; }
.founder-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 48px;
}
.founder-box .credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 24px;
}
.credentials span {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--royal);
  background: var(--ice);
  padding: 7px 16px;
  border-radius: 50px;
}
.founder-box p + p { margin-top: 16px; }

/* ---------- 11. SERVICES PAGE ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

/* ---------- 12. CONTACT PAGE ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.contact-info h2 { margin-bottom: 16px; }
.contact-info ul { list-style: none; margin-top: 28px; }
.contact-info li { display: flex; gap: 14px; margin-bottom: 18px; color: var(--muted); }
.contact-info li svg { width: 22px; height: 22px; flex: none; color: var(--royal); margin-top: 3px; }
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 42px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--mist);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 13px 16px;
  transition: border-color 0.2s, background 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sky);
  background: var(--white);
}
.form-note { font-size: 0.85rem; margin-top: 14px; }
.form-alert {
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 22px;
  font-weight: 600;
  display: none;
}
.form-alert.success { display: block; background: #E7F6EC; color: #1E7A3C; }
.form-alert.error { display: block; background: #FDEBEA; color: #B3261E; }
/* honeypot field: hidden from humans, catches bots */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- 13. FOOTER ---------- */
.site-footer { background: var(--navy); color: #B9CCE4; padding: 64px 0 28px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-grid h4 { color: var(--white); font-size: 1rem; margin-bottom: 18px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: #B9CCE4; }
.footer-grid a:hover { color: var(--sky); }
.footer-logo img { height: 46px; margin-bottom: 16px; }
.footer-tagline {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  color: #8FB4DE;
}
.footer-bottom {
  text-align: center;
  padding-top: 26px;
  font-size: 0.85rem;
  color: #7D97B8;
}

/* ---------- 14. SCROLL REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }

/* ---------- 15. RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .grid-4, .values-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(4, 1fr); row-gap: 28px; }
  .hero { min-height: 0; padding: 56px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 560px; }
  .hero-visual img { max-height: none; margin-left: 0; }
  .hero-deco { display: none; }
  .hero-pillars { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .hero-pillars > div:nth-child(3) { border-left: 0; }
}
@media (max-width: 768px) {
  section { padding: 64px 0; }
  .nav-links {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 24px 22px;
    box-shadow: 0 16px 30px rgba(11, 37, 69, 0.12);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 13px 0; border-bottom: 1px solid var(--mist); }
  .nav-cta { margin: 14px 0 0; }
  .nav-toggle { display: flex; }
  .two-col, .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .founder-box, .form-card { padding: 30px 24px; }
}
@media (max-width: 520px) {
  .grid-4, .values-grid, .services-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 48px 0 44px; }
  .hero-pillars { grid-template-columns: repeat(2, 1fr); }
  .hero-pillars > div { border-left: 0; }
  .hero-pillars span { font-size: 0.88rem; }
  .trust-panel { padding: 28px 18px 24px; border-radius: 18px; }
}
