/* ==========================================================================
   Vima Dhan - Front-end stylesheet
   Palette sampled directly from the approved design mockups.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand navy */
  --navy-900: #001d45;   /* footer, deepest bands */
  --navy-800: #02296c;   /* section headers, active tabs */
  --navy-700: #0a327a;
  --navy:     #012664;
  --navy-ink: #032a5e;   /* headings */

  /* Brand green */
  --green-900: #0b4a12;
  --green:     #15661a;  /* primary buttons, logo mark */
  --green-600: #1a7f36;  /* heading accents */
  --green-500: #237d37;  /* CTA button */
  --green-050: #eef7f0;  /* tinted panels */
  --green-025: #f4faf5;

  /* Neutrals */
  --ink:      #1f2733;
  --body:     #55565a;
  --muted:    #6b7280;
  --line:     #e5e9f2;
  --line-soft:#eef1f6;
  --bg:       #ffffff;
  --bg-soft:  #f9fafc;
  --bg-card:  #f5f6fa;

  /* Feedback */
  --danger:   #b91c1c;
  --danger-bg:#fdf0f0;
  --warn:     #b45309;
  --warn-bg:  #fef8ec;
  --ok:       #15661a;
  --ok-bg:    #eef7f0;

  /* Shape + depth */
  --r-sm: 6px;
  --r:    10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --shadow-sm: 0 1px 2px rgba(3, 26, 64, .06);
  --shadow:    0 2px 10px rgba(3, 26, 64, .07);
  --shadow-md: 0 8px 24px rgba(3, 26, 64, .09);
  --shadow-lg: 0 16px 44px rgba(3, 26, 64, .12);

  /* Type */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-head: 'Poppins', 'Segoe UI', Roboto, Arial, sans-serif;

  --wrap: 1200px;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--navy-ink);
  line-height: 1.22;
  margin: 0 0 .5em;
  font-weight: 700;
}

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

a { color: var(--green-600); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--green); }

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

.ico { width: 20px; height: 20px; flex: none; }

/* Keyboard focus must stay obvious everywhere. */
:focus-visible {
  outline: 3px solid var(--green-600);
  outline-offset: 2px;
  border-radius: 3px;
}

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--navy-900); color: #fff; padding: 10px 18px;
  border-radius: 0 0 var(--r) var(--r); transition: top .18s ease;
}
.skip-link:focus { top: 0; color: #fff; }

/* --------------------------------------------------------------------------
   3. Header + navigation
   -------------------------------------------------------------------------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
  position: sticky; top: 0; z-index: 60;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 76px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 46px; height: 42px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-head); font-weight: 700; font-size: 25px;
  letter-spacing: .4px; color: var(--navy-900);
}
.brand__name em { font-style: normal; color: var(--green); }
.brand__tag { font-size: 10.5px; color: var(--muted); letter-spacing: .2px; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 34px; }
/* :not(.btn) so the Client Login button keeps its own colour and padding --
   a bare `.nav a` rule outranks `.btn--green` and would blank the label. */
.nav a:not(.btn) {
  font-size: 15px; color: #3b4657; font-weight: 500;
  padding: 6px 0; position: relative;
}
.nav a:not(.btn):hover { color: var(--green-600); }
.nav a.is-active { color: var(--green-600); font-weight: 600; }
.nav a.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2.5px; background: var(--green-600); border-radius: 2px;
}

.nav-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer;
  color: var(--navy-900);
}
.nav-toggle .ico { width: 26px; height: 26px; }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font); font-size: 15px; font-weight: 600;
  padding: 12px 22px; border-radius: var(--r-sm); border: 1.5px solid transparent;
  cursor: pointer; transition: transform .12s ease, box-shadow .18s ease,
              background .18s ease, color .18s ease, border-color .18s ease;
  text-align: center; line-height: 1.3;
}
.btn:active { transform: translateY(1px); }

.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--green-900); color: #fff; box-shadow: var(--shadow-md); }

.btn--navy { background: var(--navy-800); color: #fff; }
.btn--navy:hover { background: var(--navy-900); color: #fff; box-shadow: var(--shadow-md); }

.btn--ghost { background: #fff; color: var(--green); border-color: #cfe3d3; }
.btn--ghost:hover { background: var(--green-050); color: var(--green-900); border-color: var(--green-600); }

.btn--outline { background: transparent; color: var(--navy-800); border-color: var(--line); }
.btn--outline:hover { border-color: var(--navy-800); background: #f4f7fd; }

.btn--sm { padding: 8px 14px; font-size: 13.5px; }
.btn--lg { padding: 14px 30px; font-size: 16px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* --------------------------------------------------------------------------
   5. Section furniture
   -------------------------------------------------------------------------- */
.section { padding: 62px 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: 42px 0; }

.section-head { text-align: center; margin-bottom: 38px; }
.section-head h2 {
  font-size: 30px; letter-spacing: .6px; text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head h2 em { font-style: normal; color: var(--green-600); }
.section-head p { color: var(--muted); max-width: 660px; margin: 0 auto; }
.section-head::after {
  content: ""; display: block; width: 62px; height: 3px;
  background: var(--green-600); border-radius: 2px; margin: 14px auto 0;
}

.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 2.4px;
  text-transform: uppercase; color: var(--green-600); margin-bottom: 10px;
}

.rule { width: 54px; height: 3px; background: var(--green-600); border-radius: 2px; margin: 18px 0; }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #f2f7f4 0%, #eef4f8 100%);
}
.hero__grid {
  display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 20px;
  min-height: 430px;
}
.hero__copy { padding: 54px 0; max-width: 560px; }
.hero__copy h1 { font-size: 48px; line-height: 1.12; margin-bottom: 18px; letter-spacing: -.5px; }
.hero__copy h1 em { font-style: normal; color: var(--green-600); display: block; }
.hero__copy p { font-size: 16.5px; max-width: 460px; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 30px; }

.hero__points { display: flex; flex-wrap: wrap; gap: 26px; }
.hero__point { display: flex; align-items: center; gap: 11px; }
.hero__point-ico {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: #fff;
  border: 1.5px solid #dbe7dd; color: var(--green-600);
  box-shadow: var(--shadow-sm);
}
.hero__point span { font-size: 13.5px; line-height: 1.35; color: #3b4657; font-weight: 500; }

.hero__media { position: relative; align-self: stretch; min-height: 100%; }
.hero__media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}

/* Inner-page hero: shorter, copy on the left, image bleeding right. */
.page-hero { background: linear-gradient(180deg, #f6f9f7 0%, #eef3f8 100%); overflow: hidden; }
.page-hero__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center;
  min-height: 320px;
}
.page-hero__copy { padding: 44px 0; }
.page-hero__copy h1 { font-size: 40px; margin-bottom: 14px; }
.page-hero__copy h1 em { font-style: normal; color: var(--green-600); }
.page-hero__copy p { max-width: 430px; }
.page-hero__media { position: relative; align-self: stretch; }
.page-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* --------------------------------------------------------------------------
   7. Cards + grids
   -------------------------------------------------------------------------- */
.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
}
.card__body { padding: 24px; }

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

/* Service list cards (Home page) */
.svc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.svc-card__head {
  display: flex; align-items: center; gap: 11px;
  padding: 15px 20px; color: #fff; font-family: var(--font-head);
  font-weight: 600; font-size: 15px; letter-spacing: 1px; text-transform: uppercase;
}
.svc-card__head--navy { background: var(--navy-800); }
.svc-card__head--green { background: var(--green); }
.svc-card__list { list-style: none; margin: 0; padding: 6px 20px 14px; }
.svc-card__list li {
  display: flex; align-items: center; gap: 13px;
  padding: 13px 0; border-bottom: 1px solid var(--line-soft);
  font-size: 15px; color: #37404e;
}
.svc-card__list li:last-child { border-bottom: 0; }
.svc-card__list .ico { color: var(--green-600); width: 22px; height: 22px; }
.svc-card__list--navy .ico { color: var(--navy-800); }

/* "Why choose" panel */
.why-panel {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 26px 24px;
}
.why-panel h3 {
  font-size: 19px; text-transform: uppercase; letter-spacing: .6px;
  text-align: center; margin-bottom: 20px;
}
.why-panel h3 em { font-style: normal; color: var(--green-600); }
.why-list { list-style: none; margin: 0; padding: 0; }
.why-list li {
  display: flex; align-items: center; gap: 13px; padding: 11px 0;
  font-size: 14.5px; color: #37404e;
}
.why-list__ico {
  width: 32px; height: 32px; border-radius: 8px; flex: none;
  display: grid; place-items: center; background: #fff;
  border: 1px solid var(--line); color: var(--navy-800);
}
.why-list__ico .ico { width: 17px; height: 17px; }

/* Big service columns (Services page) */
.svc-col {
  border-radius: var(--r-lg); padding: 28px 24px; height: 100%;
  border: 1px solid var(--line); display: flex; flex-direction: column;
}
.svc-col--green { background: var(--green-025); border-color: #dcece0; }
.svc-col--navy  { background: #f4f7fd; border-color: #dde5f3; }
.svc-col__ico {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; margin-bottom: 16px;
}
.svc-col__ico .ico { width: 26px; height: 26px; }
.svc-col--green .svc-col__ico { background: var(--green); }
.svc-col--navy  .svc-col__ico { background: var(--navy-800); }
.svc-col h3 { font-size: 21px; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 10px; }
.svc-col h3 em { font-style: normal; display: block; color: var(--navy-ink); }
.svc-col--green h3 { color: var(--green-600); }
.svc-col--navy  h3 { color: var(--navy-800); }
.svc-col > p { font-size: 14.5px; }
.svc-col__items { list-style: none; margin: 18px 0 22px; padding: 0; flex: 1; }
.svc-col__items li {
  display: flex; gap: 13px; padding: 12px 0; border-bottom: 1px solid rgba(3,26,64,.07);
}
.svc-col__items li:last-child { border-bottom: 0; }
.svc-col__items .ico { color: var(--green-600); margin-top: 3px; }
.svc-col--navy .svc-col__items .ico { color: var(--navy-800); }
.svc-col__items strong { display: block; font-size: 15px; color: var(--ink); font-weight: 600; }
.svc-col__items span { font-size: 13px; color: var(--muted); }

/* --------------------------------------------------------------------------
   8. Stats strip
   -------------------------------------------------------------------------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.stat { display: flex; align-items: center; gap: 16px; padding: 26px 22px; }
.stat + .stat { border-left: 1px solid var(--line-soft); }
.stat__ico { width: 46px; height: 46px; flex: none; display: grid; place-items: center; color: var(--green); }
.stat__ico .ico { width: 40px; height: 40px; stroke-width: 1.4; }
.stat__num {
  display: block;
  font-family: var(--font-head); font-size: 30px; font-weight: 700;
  color: var(--navy-800); line-height: 1;
}
.stat__label { display: block; font-size: 13.5px; color: var(--muted); margin-top: 4px; }

/* --------------------------------------------------------------------------
   9. About block (Home)
   -------------------------------------------------------------------------- */
.about-block { display: grid; grid-template-columns: 300px 1fr; gap: 44px; align-items: center; }
.about-block__photo {
  position: relative; aspect-ratio: 1; border-radius: var(--r-xl); overflow: hidden;
  background: var(--green-050); border: 1px solid #dcece0;
}
.about-block__photo img { width: 100%; height: 100%; object-fit: cover; }
.about-block h2 { font-size: 29px; text-transform: uppercase; letter-spacing: .5px; }
.about-block h2 em { font-style: normal; color: var(--green-600); }
.about-block strong { color: var(--green-600); font-weight: 600; }

/* --------------------------------------------------------------------------
   10. Journey timeline (About)
   -------------------------------------------------------------------------- */
.timeline { position: relative; }
.timeline__track {
  display: grid; grid-template-columns: repeat(5, 1fr);
  position: relative; margin-bottom: 22px;
}
.timeline__track::before {
  content: ""; position: absolute; top: 21px; left: 10%; right: 10%;
  height: 2px; background: #cfe3d3;
}
.timeline__year {
  position: relative; z-index: 1; justify-self: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--green); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 600; font-size: 12.5px;
  border: 3px solid #fff; box-shadow: 0 0 0 2px #cfe3d3;
}
.timeline__cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.timeline__card {
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--r); padding: 22px 16px; text-align: center;
}
.timeline__card--accent { background: var(--green-025); border-color: #dcece0; }
.timeline__ico {
  width: 46px; height: 46px; margin: 0 auto 12px; display: grid; place-items: center;
  color: var(--green);
}
.timeline__ico .ico { width: 38px; height: 38px; stroke-width: 1.4; }
.timeline__card h4 { font-size: 15px; color: var(--green-600); margin-bottom: 8px; }
.timeline__card p { font-size: 12.5px; line-height: 1.55; color: var(--muted); }

/* --------------------------------------------------------------------------
   11. App / digital-support band
   -------------------------------------------------------------------------- */
.app-band {
  background: var(--green-025); border: 1px solid #dcece0;
  border-radius: var(--r-lg); padding: 30px; overflow: hidden;
}
.app-band__grid { display: grid; grid-template-columns: 250px 1fr 260px; gap: 30px; align-items: center; }
.app-band h2 { font-size: 27px; margin-bottom: 8px; }
.app-band h2 em { font-style: normal; color: var(--green-600); }

.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 18px; }
.feature-pill {
  display: flex; align-items: center; gap: 10px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 10px 13px; font-size: 13px; color: #37404e;
}
.feature-pill .ico { color: var(--green-600); width: 18px; height: 18px; }

.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { display: flex; align-items: center; gap: 11px; padding: 7px 0; font-size: 14px; color: #37404e; }
.check-list .ico { color: var(--green-600); flex: none; width: 19px; height: 19px; }

/* Phone mock */
.phone {
  width: 210px; margin: 0 auto; border-radius: 26px; background: #0d1b2a;
  padding: 9px; box-shadow: var(--shadow-lg);
}
.phone__screen { background: #fff; border-radius: 19px; overflow: hidden; padding: 12px; }
.phone__bar { display: flex; justify-content: space-between; font-size: 8px; color: var(--muted); margin-bottom: 8px; }
.phone__brand { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.phone__brand svg { width: 18px; height: 16px; }
.phone__brand span { font-family: var(--font-head); font-weight: 700; font-size: 12px; color: var(--navy-900); }
.phone__brand span em { font-style: normal; color: var(--green); }
.phone__welcome { font-size: 10px; font-weight: 700; color: var(--navy-ink); }
.phone__sub { font-size: 7.5px; color: var(--muted); margin-bottom: 9px; }
.phone__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.phone__tile {
  border: 1px solid var(--line); border-radius: 6px; padding: 8px 7px;
}
.phone__tile .ico { width: 13px; height: 13px; color: var(--green-600); margin-bottom: 4px; }
.phone__tile b { display: block; font-size: 7.5px; color: var(--navy-ink); }
.phone__tile i { font-style: normal; font-size: 6.5px; color: var(--muted); }
.phone__updates { margin-top: 9px; font-size: 7.5px; font-weight: 700; color: var(--navy-ink); }
.phone__row {
  display: flex; align-items: center; gap: 6px; border: 1px solid var(--line-soft);
  border-radius: 5px; padding: 5px 6px; margin-top: 5px;
}
.phone__row .ico { width: 11px; height: 11px; color: var(--navy-800); }
.phone__row b { font-size: 7px; color: var(--navy-ink); display: block; }
.phone__row i { font-style: normal; font-size: 6px; color: var(--muted); }

/* --------------------------------------------------------------------------
   12. Mission / vision
   -------------------------------------------------------------------------- */
.mv-card {
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 24px; height: 100%;
}
.mv-card__ico {
  width: 44px; height: 44px; border-radius: 50%; background: var(--green-050);
  color: var(--green); display: grid; place-items: center; margin-bottom: 14px;
}
.mv-card h3 { font-size: 18px; text-transform: uppercase; letter-spacing: .5px; }
.mv-card h3 em { font-style: normal; color: var(--green-600); }
.mv-card p { font-size: 14px; }

/* --------------------------------------------------------------------------
   13. Process steps
   -------------------------------------------------------------------------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.process__step { text-align: center; padding: 0 8px; position: relative; }
.process__step:not(:last-child)::after {
  content: ""; position: absolute; top: 32px; right: -5px;
  width: 8px; height: 8px; border-top: 2px solid #c9d3e2; border-right: 2px solid #c9d3e2;
  transform: rotate(45deg);
}
.process__ico {
  width: 66px; height: 66px; border-radius: 50%; margin: 0 auto 12px;
  display: grid; place-items: center; background: var(--bg-soft);
  border: 1px solid var(--line); color: var(--navy-800); position: relative;
}
.process__ico .ico { width: 30px; height: 30px; stroke-width: 1.5; }
.process__num {
  position: absolute; top: -2px; right: -4px; width: 22px; height: 22px;
  border-radius: 50%; background: var(--green); color: #fff;
  font-size: 11px; font-weight: 700; display: grid; place-items: center;
  border: 2px solid #fff;
}
.process__step h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 6px; }
.process__step p { font-size: 12.5px; color: var(--muted); line-height: 1.5; }

/* --------------------------------------------------------------------------
   14. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  background: var(--navy-900); border-radius: var(--r-lg);
  padding: 26px 32px; display: grid;
  grid-template-columns: auto 1fr auto; gap: 24px; align-items: center;
}
.cta-band__ico { color: #fff; opacity: .9; }
.cta-band__ico .ico { width: 52px; height: 52px; stroke-width: 1.3; }
.cta-band h3 { color: #fff; font-size: 21px; margin-bottom: 6px; }
.cta-band p { color: rgba(255,255,255,.78); font-size: 14px; margin: 0; }

/* --------------------------------------------------------------------------
   15. Forms
   -------------------------------------------------------------------------- */
.field { margin-bottom: 14px; }
.field label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--ink); margin-bottom: 6px;
}
.field .hint { font-size: 12px; color: var(--muted); margin-top: 5px; }

.input-wrap { position: relative; display: flex; align-items: center; }
.input-wrap .ico {
  position: absolute; left: 13px; color: var(--muted);
  width: 18px; height: 18px; pointer-events: none;
}
.input-wrap--icon .input { padding-left: 40px; }

.input, select.input, textarea.input {
  width: 100%; font-family: var(--font); font-size: 14.5px; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 11px 14px; transition: border-color .15s ease, box-shadow .15s ease;
  appearance: none;
}
.input::placeholder { color: #9aa3b2; }
.input:focus {
  outline: 0; border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(26,127,54,.13);
}
.input.is-error { border-color: var(--danger); }
textarea.input { min-height: 108px; resize: vertical; }

select.input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  background-size: 17px; padding-right: 38px; cursor: pointer;
}
.input-wrap--icon select.input { padding-left: 40px; }

.field-error { color: var(--danger); font-size: 12.5px; margin-top: 5px; display: block; }

.checkbox { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; color: var(--body); }
.checkbox input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--green); flex: none; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form-grid .span-2 { grid-column: 1 / -1; }

/* Range slider paired with a number box */
.slider { width: 100%; accent-color: var(--green); margin-top: 8px; }
.slider-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.slider-row label { margin: 0; }
.slider-val {
  font-family: var(--font-head); font-weight: 600; font-size: 14px;
  color: var(--navy-800); background: var(--green-050);
  border-radius: var(--r-sm); padding: 4px 11px; white-space: nowrap;
}

/* --------------------------------------------------------------------------
   16. Alerts
   -------------------------------------------------------------------------- */
.alert {
  border-radius: var(--r-sm); padding: 12px 16px; font-size: 14px;
  margin-bottom: 18px; border: 1px solid transparent; line-height: 1.55;
}
.alert--success { background: var(--ok-bg); color: var(--green-900); border-color: #cfe3d3; }
.alert--error   { background: var(--danger-bg); color: var(--danger); border-color: #f3cfcf; }
.alert--warning { background: var(--warn-bg); color: var(--warn); border-color: #f3e2c2; }
.alert--info    { background: #f0f5fd; color: var(--navy-800); border-color: #d6e2f6; }

/* --------------------------------------------------------------------------
   17. Calculator page
   -------------------------------------------------------------------------- */
.calc-panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow); overflow: hidden; height: 100%;
}
.calc-panel__head { display: flex; align-items: center; gap: 15px; padding: 24px 24px 18px; }
.calc-panel__ico {
  width: 54px; height: 54px; border-radius: 50%; flex: none;
  display: grid; place-items: center; color: #fff;
}
.calc-panel__ico .ico { width: 26px; height: 26px; }
.calc-panel__ico--green { background: var(--green); }
.calc-panel__ico--navy  { background: var(--navy-800); }
.calc-panel__head h2 { font-size: 22px; text-transform: uppercase; letter-spacing: .5px; margin: 0; }
.calc-panel__head--green h2 { color: var(--green-600); }
.calc-panel__head--navy  h2 { color: var(--navy-800); }
.calc-panel__head p { font-size: 13.5px; color: var(--muted); margin: 3px 0 0; }
.calc-panel__body { padding: 0 24px 24px; }

/* Tab bar */
.tabs { display: flex; border-radius: var(--r-sm) var(--r-sm) 0 0; overflow: hidden; border: 1px solid var(--line); }
.tab {
  flex: 1; padding: 12px 8px; background: var(--bg-card); border: 0;
  border-right: 1px solid var(--line);
  font-family: var(--font); font-size: 12.5px; font-weight: 600; letter-spacing: .5px;
  text-transform: uppercase; color: #5a6577; cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.tab:last-child { border-right: 0; }
.tab:hover { background: #dde3ef; color: var(--navy-800); }
.tab[aria-selected="true"] { background: var(--navy-800); color: #fff; }

.tabs--scroll { flex-wrap: wrap; }
.tabs--scroll .tab { flex: 1 1 auto; min-width: 128px; border-bottom: 1px solid var(--line); }

.tab-panel { padding-top: 20px; }
.tab-panel[hidden] { display: none; }

/* Result summary */
.summary {
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--r); padding: 22px 20px; margin-top: 20px;
}
.summary h3 { text-align: center; font-size: 17px; margin-bottom: 18px; }
.summary__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.summary__cell { text-align: center; }
.summary__ico {
  width: 42px; height: 42px; border-radius: 50%; margin: 0 auto 8px;
  display: grid; place-items: center; background: #fff; border: 1px solid var(--line);
}
.summary__ico .ico { width: 20px; height: 20px; }
.summary__cell:nth-child(1) .summary__ico { color: var(--navy-800); }
.summary__cell:nth-child(2) .summary__ico { color: #1d6fa5; }
.summary__cell:nth-child(3) .summary__ico { color: var(--green); }
.summary__label { font-size: 12.5px; color: var(--muted); margin-bottom: 5px; }
.summary__value { font-family: var(--font-head); font-size: 22px; font-weight: 700; line-height: 1.15; }
.summary__cell:nth-child(1) .summary__value { color: var(--navy-ink); }
.summary__cell:nth-child(2) .summary__value { color: #1d6fa5; }
.summary__cell:nth-child(3) .summary__value { color: var(--green); }
.summary__note { text-align: center; font-size: 11.5px; color: var(--muted); margin-top: 16px; font-style: italic; }

.summary__extra { margin-top: 18px; border-top: 1px dashed var(--line); padding-top: 14px; }
.summary__extra dl { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; margin: 0; }
.summary__extra dt { font-size: 13px; color: var(--muted); }
.summary__extra dd {
  margin: 0; font-size: 13.5px; font-weight: 600; color: var(--navy-ink);
  text-align: right; font-family: var(--font-head);
}

/* Donut + bar chart */
.chart-wrap { margin-top: 20px; }
.chart-wrap h4 { font-size: 14px; text-align: center; color: var(--muted); font-weight: 600; margin-bottom: 12px; }
.chart-legend { display: flex; justify-content: center; gap: 20px; margin-top: 10px; flex-wrap: wrap; }
.chart-legend span { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--muted); }
.chart-legend i { width: 11px; height: 11px; border-radius: 3px; flex: none; }
.chart-scroll { overflow-x: auto; }

.calc-actions { display: flex; gap: 12px; margin-top: 18px; }
.calc-actions .btn { flex: 1; }

/* Goal cards */
.goal-card {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 22px; display: flex; gap: 15px; height: 100%; transition: box-shadow .18s ease, transform .18s ease;
}
.goal-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.goal-card__ico {
  width: 50px; height: 50px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: var(--green-050); color: var(--green);
}
.goal-card--navy .goal-card__ico { background: #eaf0fb; color: var(--navy-800); }
.goal-card h4 { font-size: 16px; color: var(--green-600); margin-bottom: 6px; }
.goal-card--navy h4 { color: var(--navy-800); }
.goal-card p { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.goal-card a { font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.goal-card a .ico { width: 15px; height: 15px; }

.insurance-types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 18px; }
.ins-type {
  border: 1px solid var(--line); border-radius: var(--r); padding: 15px 8px;
  text-align: center; background: #fff;
}
.ins-type .ico { width: 24px; height: 24px; color: var(--green); margin: 0 auto 8px; }
.ins-type span { font-size: 12px; color: #37404e; line-height: 1.35; display: block; }

/* --------------------------------------------------------------------------
   18. Risk profile
   -------------------------------------------------------------------------- */
.risk-progress {
  position: sticky; top: 76px; z-index: 40; background: #fff;
  border-bottom: 1px solid var(--line); padding: 14px 0;
}
.risk-progress__bar { height: 7px; background: var(--line); border-radius: 4px; overflow: hidden; }
.risk-progress__fill {
  height: 100%; background: linear-gradient(90deg, var(--green), var(--green-600));
  width: 0; transition: width .35s ease; border-radius: 4px;
}
.risk-progress__text { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); margin-top: 8px; }

.q-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 24px; margin-bottom: 18px; box-shadow: var(--shadow-sm);
}
.q-card__num {
  display: inline-grid; place-items: center; width: 26px; height: 26px;
  border-radius: 50%; background: var(--green-050); color: var(--green);
  font-size: 12.5px; font-weight: 700; margin-right: 10px; flex: none;
}
.q-card__title { display: flex; align-items: flex-start; margin-bottom: 4px; }
.q-card__title h3 { font-size: 16.5px; margin: 0; line-height: 1.45; }
.q-card__helper { font-size: 12.5px; color: var(--muted); margin: 0 0 14px 36px; font-style: italic; }

.opt-list { display: grid; gap: 9px; margin-left: 36px; }
.opt {
  display: flex; align-items: center; gap: 11px; cursor: pointer;
  border: 1.5px solid var(--line); border-radius: var(--r-sm);
  padding: 11px 14px; font-size: 14px; color: #37404e;
  transition: border-color .14s ease, background .14s ease;
}
.opt:hover { border-color: #cfe3d3; background: var(--green-025); }
.opt input { width: 17px; height: 17px; accent-color: var(--green); flex: none; }
.opt:has(input:checked) { border-color: var(--green); background: var(--green-050); font-weight: 500; }
.opt input:focus-visible { outline: 2px solid var(--green-600); outline-offset: 2px; }

/* Result */
.risk-result { text-align: center; padding: 34px 24px; }
.risk-meter { width: 260px; margin: 0 auto 8px; }
.risk-badge {
  display: inline-block; font-family: var(--font-head); font-size: 27px;
  font-weight: 700; padding: 7px 26px; border-radius: 999px; color: #fff; margin-bottom: 8px;
}
.risk-score { font-size: 14px; color: var(--muted); }
.risk-score b { color: var(--navy-ink); font-size: 17px; }

.alloc { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: center; }
.alloc__rows { display: grid; gap: 14px; }
.alloc__row-head { display: flex; justify-content: space-between; font-size: 13.5px; margin-bottom: 5px; }
.alloc__row-head b { font-family: var(--font-head); }
.alloc__track { height: 9px; background: var(--line); border-radius: 5px; overflow: hidden; }
.alloc__fill { height: 100%; border-radius: 5px; transition: width .5s ease; }

.answer-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.answer-table th, .answer-table td { padding: 11px 12px; border-bottom: 1px solid var(--line-soft); text-align: left; }
.answer-table th { font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); font-weight: 600; }
.answer-table td:last-child, .answer-table th:last-child { text-align: right; }

/* --------------------------------------------------------------------------
   19. Contact page
   -------------------------------------------------------------------------- */
.contact-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.contact-cell { display: flex; gap: 14px; padding: 24px 20px; }
.contact-cell + .contact-cell { border-left: 1px solid var(--line-soft); }
.contact-cell__ico {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: var(--green-050); color: var(--green);
}
.contact-cell h4 { font-size: 15px; color: var(--green-600); margin-bottom: 5px; }
.contact-cell p { font-size: 13.5px; margin: 0; line-height: 1.5; }
.contact-cell a { font-weight: 600; }
.contact-cell small { color: var(--muted); font-size: 12px; }

.map-frame {
  border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line);
  height: 100%; min-height: 380px; background: var(--bg-card);
}
.map-frame iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

.hours-row {
  display: flex; justify-content: space-between; padding: 11px 0;
  border-bottom: 1px solid var(--line-soft); font-size: 14px;
}
.hours-row:last-of-type { border-bottom: 0; }
.hours-row b { color: var(--ink); font-weight: 600; }

.partner-strip {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; align-items: center;
}
.partner-logo {
  border: 1px solid var(--line); border-radius: var(--r); padding: 14px 10px;
  text-align: center; background: #fff; min-height: 66px;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 600; font-size: 13px;
  color: var(--navy-800); line-height: 1.3;
}
.partner-logo img { max-height: 38px; width: auto; }

/* --------------------------------------------------------------------------
   20. Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.72); margin-top: 62px; }
.site-footer__grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding: 46px 0 34px;
}
.site-footer h5 {
  color: #fff; font-size: 13.5px; letter-spacing: 1.4px; text-transform: uppercase;
  margin-bottom: 16px;
}
.site-footer p { font-size: 13.5px; line-height: 1.7; }
.site-footer .brand__name { color: #fff; }
.site-footer .brand__name em { color: #4ba85f; }
.site-footer .brand__tag { color: rgba(255,255,255,.55); }

.foot-links { list-style: none; margin: 0; padding: 0; }
.foot-links li { border-bottom: 1px solid rgba(255,255,255,.08); }
.foot-links a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 0; font-size: 13.5px; color: rgba(255,255,255,.72);
}
.foot-links a:hover { color: #fff; padding-left: 4px; transition: padding .15s ease, color .15s ease; }
.foot-links .ico { width: 13px; height: 13px; opacity: .4; }

.foot-contact { list-style: none; margin: 0; padding: 0; }
.foot-contact li { display: flex; gap: 12px; padding: 8px 0; font-size: 13.5px; align-items: flex-start; }
.foot-contact .ico { width: 17px; height: 17px; color: #4ba85f; flex: none; margin-top: 3px; }
.foot-contact a { color: rgba(255,255,255,.72); }
.foot-contact a:hover { color: #fff; }

.social { display: flex; gap: 11px; margin-top: 20px; }
.social a {
  width: 34px; height: 34px; border-radius: var(--r-sm); display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: #fff; transition: background .15s ease, transform .15s ease;
}
.social a:hover { background: var(--green); transform: translateY(-2px); }
.social .ico { width: 17px; height: 17px; }

.site-footer__bar {
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 16px 0; font-size: 12px; color: rgba(255,255,255,.55);
}
.site-footer__bar .creds { display: flex; align-items: center; gap: 8px; }
.site-footer__bar .ico { width: 15px; height: 15px; color: #4ba85f; }

/* --------------------------------------------------------------------------
   21. Utilities
   -------------------------------------------------------------------------- */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 18px; }
.mt-3 { margin-top: 28px; }
.mt-4 { margin-top: 40px; }
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: 18px; }
.mb-3 { margin-bottom: 28px; }
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.text-green { color: var(--green-600); }
.text-navy { color: var(--navy-800); }
.small { font-size: 13px; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hide { display: none !important; }

/* Spinner shown while a calculator request is in flight */
.spinner {
  width: 15px; height: 15px; border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff; border-radius: 50%; animation: spin .6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------------------
   22. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero__copy h1 { font-size: 40px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
  .app-band__grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .contact-strip { grid-template-columns: repeat(2, 1fr); }
  .contact-cell:nth-child(3) { border-left: 0; }
  .contact-cell:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
  .partner-strip { grid-template-columns: repeat(3, 1fr); }
  .timeline__track, .timeline__cards { grid-template-columns: repeat(3, 1fr); }
  .timeline__track::before { display: none; }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
  .process__step:nth-child(2)::after { display: none; }
  .alloc { grid-template-columns: 1fr; }
  .risk-meter { width: 220px; }
}

@media (max-width: 860px) {
  .nav {
    position: fixed; inset: 76px 0 auto; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 24px 20px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md); transform: translateY(-140%);
    transition: transform .28s ease; max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .nav.is-open { transform: translateY(0); }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
  .nav a.is-active::after { display: none; }
  .nav .btn { margin-top: 12px; }
  .nav-toggle { display: block; }

  .hero__grid, .page-hero__grid { grid-template-columns: 1fr; }
  .hero__media, .page-hero__media { position: relative; height: 260px; order: -1; }
  .hero__media img, .page-hero__media img { position: relative; }
  .hero__copy { padding: 34px 0 40px; }
  .hero__copy h1 { font-size: 33px; }
  .page-hero__copy { padding: 30px 0 36px; }
  .page-hero__copy h1 { font-size: 30px; }

  .grid--2, .grid--4 { grid-template-columns: 1fr; }
  .about-block { grid-template-columns: 1fr; gap: 26px; }
  .about-block__photo { max-width: 260px; margin: 0 auto; }
  .cta-band { grid-template-columns: 1fr; text-align: center; }
  .cta-band__ico { justify-self: center; }
  .form-grid { grid-template-columns: 1fr; }
  .summary__row { grid-template-columns: 1fr; gap: 20px; }
  .insurance-types { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 44px 0; }
  .section-head h2 { font-size: 24px; }
  .app-band { padding: 22px; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hero__copy h1 { font-size: 28px; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-left: 0 !important; }
  .stat + .stat { border-top: 1px solid var(--line-soft); }
  .contact-strip { grid-template-columns: 1fr; }
  .contact-cell { border-left: 0 !important; }
  .contact-cell + .contact-cell { border-top: 1px solid var(--line-soft); }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__bar { flex-direction: column; text-align: center; }
  .timeline__track, .timeline__cards { grid-template-columns: 1fr; }
  .timeline__track { display: none; }
  .timeline__card { text-align: left; }
  .process { grid-template-columns: 1fr; }
  .process__step::after { display: none !important; }
  .partner-strip { grid-template-columns: repeat(2, 1fr); }
  .opt-list, .q-card__helper { margin-left: 0; }
  .tabs { flex-wrap: wrap; }
  .tab { flex: 1 1 50%; border-bottom: 1px solid var(--line); }
  .calc-actions { flex-direction: column; }
  .insurance-types { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 22px 18px; }
}

/* --------------------------------------------------------------------------
   23. Print - lets a client keep their risk profile / calculation
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .calc-actions, .nav-toggle,
  .risk-progress, .no-print { display: none !important; }
  body { color: #000; font-size: 12pt; }
  .card, .summary, .q-card { box-shadow: none; border: 1px solid #ccc; }
  .section { padding: 12px 0; }
  a { color: #000; }
}

/* Users who prefer less motion get none of it. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}
