/* ===========================================================================
   Ichelon Consulting Services — ichelon.org
   Design system per SSD v1.0 §2 (navy / teal / gold / ice-blue, Inter, 8px grid)
   =========================================================================== */

:root {
  --navy: #0D2E4F;
  --navy-dark: #0A2240;
  --teal: #2A7EC8;
  --teal-dark: #1F6FB2;
  --gold: #B8960C;
  --white: #FFFFFF;
  --surface: #EBF4FC;     /* ice blue */
  --text: #1A1A2E;        /* near-black, never #000 */
  --muted: #5A6A7A;
  --divider: #D0E4EE;
  --success: #0A5C2E;
  --alert: #B8960C;
  --whatsapp: #25D366;

  --f: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container: 1200px;
  --content: 760px;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow: 0 1px 3px rgba(13, 35, 64, .06);
  --shadow-lg: 0 18px 44px rgba(13, 35, 64, .12);
}

/* ---- reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
svg { max-width: 100%; }
/* Inline icons must never balloon to container width (arrows in links/buttons/headings) */
.link-cta svg, .btn svg, .tag svg, .chip svg, .pill svg,
h1 svg, h2 svg, h3 svg, h4 svg, p svg, li svg,
.breadcrumb svg, .consent svg, .article-meta svg, .nap svg, .mega-foot svg {
  width: 1.05em; height: 1.05em; display: inline-block; vertical-align: -0.14em; flex: 0 0 auto;
}
.btn svg { width: 18px; height: 18px; }
.mega-col .mt svg { width: 18px; height: 18px; flex: 0 0 auto; }
.caret { display: inline-flex; width: 13px; height: 13px; flex: 0 0 auto; }
.caret svg { width: 100%; height: 100%; }
.ico svg { width: 100%; height: 100%; }
/* Decorative module/feature icons removed site-wide for a cleaner platform look */
.ico { display: none !important; }
a { color: var(--teal-dark); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--navy); }
ul { padding-left: 1.1rem; }

/* ---- typography ---- */
h1, h2, h3, h4 { line-height: 1.15; color: var(--navy); font-weight: 700; overflow-wrap: break-word; }
.lead, p, .breadcrumb { overflow-wrap: break-word; }
h1 { font-size: clamp(30px, 5vw, 48px); letter-spacing: -0.02em; }
h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -0.01em; }
h3 { font-size: clamp(20px, 2.2vw, 24px); font-weight: 600; }
h4 { font-size: 18px; font-weight: 600; }
p { margin-bottom: 18px; }
.lead { font-size: clamp(17px, 2vw, 20px); line-height: 1.6; color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: var(--teal-dark); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--teal); display: inline-block; }
.eyebrow.center { justify-content: center; }
em.accent { color: var(--teal-dark); font-style: italic; }

/* ---- layout ---- */
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }
.wrap-sm { max-width: 820px; }
.sec { padding: 56px 0; }
@media (min-width: 768px) { .sec { padding: 80px 0; } }
.bg-surface { background: var(--surface); }
.bg-navy { background: var(--navy); color: #fff; }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: #fff; }
.bg-navy .lead, .bg-navy p { color: rgba(255,255,255,.82); }
.bg-navy .eyebrow { color: #7DC3F5; }
.bg-navy .eyebrow::before { background: var(--teal); }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.section-head { max-width: 720px; margin: 0 auto 40px; }
.section-head.left { margin-left: 0; }

/* ---- grid ---- */
.grid { display: grid; gap: 24px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.g-5 { grid-template-columns: repeat(5, 1fr); }
.cols-auto { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split-45 { grid-template-columns: 45fr 55fr; }
@media (max-width: 900px) {
  .g-3, .g-4, .g-5 { grid-template-columns: repeat(2, 1fr); }
  .split, .split-45 { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .g-2, .g-3, .g-4, .g-5 { grid-template-columns: 1fr; }
}

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--f); font-size: 15px; font-weight: 600; line-height: 1;
  padding: 0 24px; min-height: 48px; border-radius: var(--radius);
  border: 1.5px solid transparent; cursor: pointer; text-align: center;
  transition: background .2s ease, color .2s ease, transform .15s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-lg { min-height: 52px; font-size: 16px; padding: 0 30px; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-dark); color: #fff; transform: translateY(-1px); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-dark); color: #fff; transform: translateY(-1px); }
.btn-secondary { background: #fff; color: var(--teal-dark); border-color: var(--teal); }
.btn-secondary:hover { background: var(--surface); color: var(--navy); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--surface); color: var(--navy); }
.btn-wa { background: var(--whatsapp); color: #fff; }
.btn-wa:hover { background: #1da955; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; }
.link-cta { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--teal-dark); }
.link-cta:hover { color: var(--navy); gap: 9px; }

/* ---- cards ---- */
.card {
  background: #fff; border: 1px solid var(--divider); border-radius: 12px;
  padding: 28px; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card.hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--teal); }
.card h3, .card h4 { margin-bottom: 8px; }
.card .ico { width: 44px; height: 44px; color: var(--teal); margin-bottom: 16px; }
.card.hover:hover .ico { color: var(--teal-dark); }
.tag {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .03em;
  color: var(--teal-dark); background: var(--surface); border: 1px solid var(--divider);
  padding: 4px 12px; border-radius: 999px; margin-bottom: 12px;
}
.pill { display: inline-block; background: var(--navy); color: #fff; font-size: 13px; font-weight: 600;
  padding: 6px 14px; border-radius: 999px; }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-list .pill { background: var(--surface); color: var(--navy); border: 1px solid var(--divider); }

/* numbered framework / process */
.numbered { list-style: none; padding: 0; display: grid; gap: 18px; }
.numbered li { display: flex; gap: 16px; align-items: flex-start; }
.num {
  flex: 0 0 auto; width: 36px; height: 36px; border-radius: 999px; background: var(--teal);
  color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 15px;
}
.numbered h4 { color: var(--navy); margin-bottom: 4px; }

/* stat cards */
.stat { text-align: center; }
.stat .n { font-size: clamp(34px, 5vw, 64px); font-weight: 700; line-height: 1; color: var(--teal); }
.stat .n.gold { color: var(--gold); }
.stat .l { font-weight: 600; margin-top: 10px; }
.stat .s { font-size: 13px; color: var(--muted); margin-top: 4px; }
.bg-navy .stat .l { color: #fff; }
.bg-navy .stat .s { color: rgba(255,255,255,.6); }

/* credential bar */
.cred-bar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cred-bar .stat .n { font-size: clamp(20px, 2.6vw, 28px); color: var(--navy); }
@media (max-width: 760px) { .cred-bar { grid-template-columns: repeat(2, 1fr); } }

/* challenge list */
.challenge { border-left: 3px solid var(--teal); padding: 4px 0 4px 18px; margin-bottom: 22px; }
.challenge h4 { color: var(--navy); margin-bottom: 4px; }
.challenge p { margin: 0; color: var(--muted); }

/* ---- header ---- */
.skip { position: absolute; left: -9999px; top: 0; background: #fff; padding: 10px 16px; z-index: 200; }
.skip:focus { left: 8px; top: 8px; }
header.site {
  position: sticky; top: 0; z-index: 100; background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; color: #fff; font-size: 19px; letter-spacing: -.02em; }
.logo:hover { color: #fff; }
.logo .mark { width: auto; height: 36px; }
.logo small { display: block; font-size: 10px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #7DC3F5; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: inline-flex; align-items: center; gap: 5px; color: rgba(255,255,255,.88);
  font-size: 15px; font-weight: 500; padding: 10px 12px; border-radius: 6px;
}
.nav-links > li > a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-links .caret { width: 10px; height: 10px; opacity: .7; }
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px; background: #fff;
  border: 1px solid var(--divider); border-radius: 12px; box-shadow: var(--shadow-lg);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all .15s ease; list-style: none; margin: 0; z-index: 120;
}
.nav-links > li:hover .dropdown, .nav-links > li:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 9px 14px; border-radius: 8px; color: var(--text); font-size: 14px; font-weight: 500; }
.dropdown a:hover { background: var(--surface); color: var(--navy); }

/* mega menu */
.mega {
  position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%) translateY(6px);
  width: min(980px, 92vw); background: #fff; border: 1px solid var(--divider);
  border-radius: 14px; box-shadow: var(--shadow-lg); padding: 22px; z-index: 120;
  opacity: 0; visibility: hidden; transition: all .15s ease;
}
.nav-links > li:hover .mega, .nav-links > li:focus-within .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.mega-col a { display: block; padding: 10px; border-radius: 10px; }
.mega-col a:hover { background: var(--surface); }
.mega-col .mt { font-weight: 700; color: var(--navy); font-size: 14px; display: flex; gap: 7px; align-items: center; }
.mega-col .md { font-size: 12px; color: var(--muted); margin-top: 3px; line-height: 1.4; }
.mega-col .ico { width: 18px; height: 18px; color: var(--teal); }
.mega-foot { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--divider); font-size: 14px; }
.mega-pharos { width: min(900px, 94vw); }
.nav-links > li.has-mega-pharos { position: static; }
.nav-links > li.has-mega-pharos:hover .mega-pharos, .nav-links > li.has-mega-pharos:focus-within .mega-pharos { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega-grid-3 { grid-template-columns: repeat(3, 1fr); }
.mega-head { font-size: 12px; color: var(--muted); margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--divider); letter-spacing: .01em; }
.mega-head strong { color: var(--navy); }
.badge-req { font-size: 9px; background: var(--gold); color: #fff; padding: 2px 6px; border-radius: 4px; letter-spacing: .04em; margin-left: 6px; vertical-align: middle; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.burger { display: none; background: none; border: 0; color: #fff; cursor: pointer; padding: 8px; }
.burger svg { width: 26px; height: 26px; }

@media (max-width: 1024px) {
  .nav-links, .nav-cta .btn { display: none; }
  .burger { display: block; }
}

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; background: var(--navy); z-index: 200; transform: translateX(100%);
  transition: transform .25s ease; overflow-y: auto; padding: 20px; display: none;
}
.mobile-menu.open { transform: translateX(0); display: block; }
.mobile-menu .mclose { position: absolute; top: 18px; right: 18px; background: none; border: 0; color: #fff; cursor: pointer; }
.mobile-menu .mclose svg { width: 28px; height: 28px; }
.mobile-menu nav { margin-top: 56px; }
.macc > a, .macc > button {
  display: flex; width: 100%; justify-content: space-between; align-items: center;
  background: none; border: 0; border-bottom: 1px solid rgba(255,255,255,.1);
  color: #fff; font-size: 17px; font-weight: 600; padding: 15px 4px; font-family: var(--f); cursor: pointer;
}
.macc-sub { display: none; padding: 4px 0 12px 12px; }
.macc-sub.open { display: block; }
.macc-sub a { display: block; color: rgba(255,255,255,.78); padding: 9px 4px; font-size: 15px; }
.mobile-menu .btn { margin-top: 22px; width: 100%; }

/* ---- hero / page head ---- */
.hero {
  background:
    linear-gradient(rgba(13,35,64,.92), rgba(9,26,48,.96)),
    radial-gradient(circle at 80% 20%, rgba(42,126,200,.25), transparent 45%);
  color: #fff; padding: 72px 0; position: relative; overflow: hidden;
}
.hero.tall { min-height: 78vh; display: flex; align-items: center; }
.hero .mol { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); width: 46%; opacity: .5; pointer-events: none; }
@media (max-width: 900px) { .hero .mol { display: none; } }
.hero-inner { position: relative; max-width: 700px; }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero .lead { color: rgba(255,255,255,.85); margin-bottom: 28px; }
.hero .trust { margin-top: 26px; font-size: 13px; color: #7DC3F5; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.hero .trust span::after { content: "·"; margin-left: 14px; color: rgba(255,255,255,.3); }
.hero .trust span:last-child::after { content: ""; }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,.8); }
.breadcrumb a:hover { color: #fff; }

.page-head { background: var(--navy); color: #fff; padding: 60px 0; }
.page-head h1 { color: #fff; }
.page-head .lead { color: rgba(255,255,255,.82); margin-top: 12px; }
.page-head .breadcrumb a, .page-head .breadcrumb { }

/* ---- CTA band ---- */
.cta-band { background: var(--navy); color: #fff; text-align: center; padding: 64px 0; }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 620px; margin: 0 auto 26px; }
.cta-band .contactline { margin-top: 22px; font-size: 14px; color: rgba(255,255,255,.6); }
.cta-band .contactline a { color: #7DC3F5; }

/* inline cta in articles */
.inline-cta { background: var(--navy); color: #fff; border-radius: 14px; padding: 28px; margin: 32px 0; }
.inline-cta .e { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #7DC3F5; }
.inline-cta h3 { color: #fff; margin: 8px 0 16px; }

/* ---- FAQ accordion ---- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--divider); border-radius: 12px; overflow: hidden; background: #fff; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: none; border: 0; padding: 18px 22px; font-family: var(--f); font-size: 16px;
  font-weight: 600; color: var(--navy); text-align: left; cursor: pointer;
}
.faq-q .ind { flex: 0 0 auto; font-size: 22px; color: var(--teal); transition: transform .2s; line-height: 1; }
.faq-item.open .ind { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-item.open .faq-a { max-height: 600px; }
.faq-a-inner { padding: 0 22px 20px; color: var(--muted); }

/* ---- forms ---- */
.form-card { background: #fff; border: 1px solid var(--divider); border-radius: 14px; padding: 32px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field label .req { color: var(--alert); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--f); font-size: 16px; padding: 12px 14px;
  border: 1.5px solid var(--divider); border-radius: 8px; background: #fff; color: var(--text);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(42,126,200,.12);
}
.field .err { color: #C04050; font-size: 13px; margin-top: 5px; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #C04050; }
.field.invalid .err { display: block; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.consent input { width: auto; margin-top: 3px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-success { display: none; text-align: center; padding: 20px 0; }
.form-success.show { display: block; }
.form-success .check { width: 56px; height: 56px; color: var(--success); margin: 0 auto 14px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; display: none; }
.btn.loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- modal ---- */
.modal-overlay { position: fixed; inset: 0; background: rgba(13,35,64,.55); z-index: 300; display: none; align-items: stretch; justify-content: flex-end; }
.modal-overlay.open { display: flex; }
.modal {
  background: #fff; width: min(480px, 100%); height: 100%; overflow-y: auto; padding: 32px;
  animation: slidein .25s ease;
}
@keyframes slidein { from { transform: translateX(40px); opacity: .6; } to { transform: translateX(0); opacity: 1; } }
.modal .mclose { position: absolute; top: 16px; right: 16px; background: none; border: 0; cursor: pointer; color: var(--muted); }
.modal h3 { margin: 8px 0 8px; }
@media (max-width: 560px) { .modal-overlay { align-items: stretch; justify-content: center; } .modal { width: 100%; } }

/* ---- table ---- */
.table-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid var(--divider); }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
table.data thead tr { background: var(--navy); color: #fff; }
table.data th { padding: 14px 16px; text-align: left; font-weight: 600; }
table.data td { padding: 13px 16px; border-top: 1px solid var(--divider); }
table.data tbody tr:nth-child(even) { background: #fafcfe; }

/* article body */
.article-body { max-width: var(--content); margin: 0 auto; font-size: 17px; }
.article-body h2 { margin: 36px 0 12px; }
.article-body h3 { margin: 28px 0 10px; }
.article-body p { color: #2b3a4a; }
.article-meta { color: var(--muted); font-size: 14px; display: flex; gap: 14px; flex-wrap: wrap; }

/* resource grid card */
.res-card { display: flex; flex-direction: column; height: 100%; }
.res-card .excerpt { color: var(--muted); font-size: 14.5px; flex-grow: 1; }
.res-card .meta { font-size: 13px; color: var(--muted); margin: 10px 0 12px; }

/* event gallery */
.event-team { margin: 22px 0 0; }
.event-team img { width: 100%; border-radius: 12px; max-height: 460px; object-fit: cover; }
.event-team figcaption, .gallery figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; text-align: center; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 18px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: 190px; object-fit: cover; border-radius: 10px; transition: transform .2s; }
.gallery figure:hover img { transform: scale(1.02); }

/* client logo wall */
.client-wall { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin-top: 26px; }
.client-tile {
  display: flex; align-items: center; justify-content: center; min-height: 76px; padding: 14px 18px;
  background: #fff; border: 1px solid var(--divider); border-radius: 10px; text-align: center;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.client-tile:hover { border-color: var(--teal); box-shadow: var(--shadow); }
.client-tile span { font-weight: 700; color: var(--navy); font-size: 15px; line-height: 1.25; letter-spacing: -.01em; }
.client-tile img { max-height: 46px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.client-tile:hover img { filter: grayscale(0); opacity: 1; }

/* local / city specifics */
.local-stat { background: var(--surface); border-left: 4px solid var(--teal); border-radius: 0 12px 12px 0; padding: 22px 26px; }
.local-stat strong { color: var(--navy); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 13px; background: #fff; border: 1px solid var(--divider); color: var(--navy); padding: 6px 13px; border-radius: 999px; }

/* ---- footer ---- */
footer.site { background: var(--navy); color: rgba(255,255,255,.7); padding: 60px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
footer.site h5 { color: #fff; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
footer.site ul { list-style: none; padding: 0; }
footer.site li { margin-bottom: 9px; }
footer.site a { color: rgba(255,255,255,.7); font-size: 14px; }
footer.site a:hover { color: #fff; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,.6); margin: 14px 0; }
.footer-brand .nap { font-size: 13.5px; line-height: 1.7; }
.footer-legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }
.footer-legal a { margin-left: 16px; }

/* ---- floating call + whatsapp (ICG-style animated) ---- */
.float-actions { position: fixed; right: 24px; bottom: 24px; z-index: 150; display: flex; flex-direction: column; gap: 14px; }
.float-btn { position: relative; width: 56px; height: 56px; border-radius: 50%; color: #fff; display: grid; place-items: center; }
.float-btn svg { width: 28px; height: 28px; position: relative; z-index: 2; }
.call-float { background: var(--teal); box-shadow: 0 8px 24px rgba(42,126,200,.45); }
.call-float:hover { background: var(--teal-dark); color: #fff; }
.wa-float { background: var(--whatsapp); box-shadow: 0 8px 28px rgba(37,211,102,.5); color: #fff;
  animation: icg-wa-bounce 1.8s ease-in-out infinite, icg-wa-blink 3.6s ease-in-out infinite; }
.wa-float:hover { background: #1da955; color: #fff; }
.wa-float svg { width: 32px; height: 32px; }
/* pulsing ring */
.wa-ring { position: absolute; inset: 0; border-radius: 50%; background: var(--whatsapp); z-index: 1;
  animation: icg-wa-ping 1.6s cubic-bezier(0,0,.2,1) infinite; }
/* tooltips */
.float-tip { position: absolute; right: 68px; top: 50%; transform: translateY(-50%) scale(.9);
  background: var(--navy); color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap;
  padding: 8px 12px; border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; box-shadow: var(--shadow-lg); }
.float-tip::after { content: ""; position: absolute; right: -5px; top: 50%; transform: translateY(-50%) rotate(45deg); width: 10px; height: 10px; background: var(--navy); }
.float-btn:hover .float-tip { opacity: 1; transform: translateY(-50%) scale(1); }
.wa-tip { animation: icg-wa-tip 8s ease-in-out infinite; }
@keyframes icg-wa-bounce { 0%,90%,100% { transform: translateY(0); } 95% { transform: translateY(-7px); } }
@keyframes icg-wa-ping { 0% { transform: scale(1); opacity: .55; } 70%,100% { transform: scale(2); opacity: 0; } }
@keyframes icg-wa-blink {
  0%,86%,100% { box-shadow: 0 8px 28px rgba(37,211,102,.5), 0 0 0 4px rgba(37,211,102,.15); }
  92% { box-shadow: 0 8px 28px rgba(37,211,102,.85), 0 0 0 8px rgba(37,211,102,.35), 0 0 18px 8px rgba(37,211,102,.5); } }
@keyframes icg-wa-tip { 0%,4%,96%,100% { opacity: 0; transform: translateY(-50%) scale(.9); } 8%,20% { opacity: 1; transform: translateY(-50%) scale(1); } }
@media (max-width: 768px) { .float-actions { right: 16px; bottom: 20px; } .float-btn { width: 52px; height: 52px; } .wa-tip { display: none; } }

/* ---- Maverick chatbot ---- */
#maverick { position: fixed; left: 24px; bottom: 24px; z-index: 160; }
.mav-launch { display: inline-flex; align-items: center; gap: 9px; background: var(--navy); color: #fff;
  border: 0; cursor: pointer; padding: 12px 18px 12px 14px; border-radius: 999px; font-family: var(--f);
  font-size: 15px; font-weight: 600; box-shadow: var(--shadow-lg); transition: transform .15s, background .2s; }
.mav-launch:hover { background: var(--navy-dark); transform: translateY(-1px); }
.mav-launch svg { width: 22px; height: 22px; }
.mav-launch.hidden { display: none; }
.mav-panel { position: absolute; left: 0; bottom: 0; width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 100px));
  background: #fff; border: 1px solid var(--divider); border-radius: 16px; box-shadow: var(--shadow-lg);
  display: none; flex-direction: column; overflow: hidden; }
.mav-panel.open { display: flex; }
.mav-head { background: var(--navy); color: #fff; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; }
.mav-id { display: flex; align-items: center; gap: 10px; }
.mav-av { width: 36px; height: 36px; border-radius: 50%; background: var(--teal); display: grid; place-items: center; font-weight: 800; }
.mav-id strong { display: block; font-size: 15px; } .mav-id span { font-size: 12px; color: rgba(255,255,255,.7); }
.mav-close { background: none; border: 0; color: #fff; cursor: pointer; }
.mav-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--surface); }
.mav-msg { max-width: 84%; padding: 10px 14px; border-radius: 14px; font-size: 14px; line-height: 1.5; }
.mav-msg.bot { background: #fff; border: 1px solid var(--divider); align-self: flex-start; border-bottom-left-radius: 4px; color: var(--text); }
.mav-msg.user { background: var(--navy); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.mav-msg.bot a { color: var(--teal-dark); font-weight: 600; }
.mav-msg.typing { color: var(--muted); letter-spacing: 2px; }
.mav-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 12px 0; }
.mav-chip { font-size: 12px; background: var(--surface); border: 1px solid var(--divider); color: var(--navy);
  border-radius: 999px; padding: 6px 11px; cursor: pointer; font-family: var(--f); }
.mav-chip:hover { border-color: var(--teal); }
.mav-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--divider); }
.mav-input { flex: 1; border: 1.5px solid var(--divider); border-radius: 999px; padding: 10px 16px; font-family: var(--f); font-size: 14px; outline: none; }
.mav-input:focus { border-color: var(--teal); }
.mav-send { width: 42px; height: 42px; flex: 0 0 auto; border: 0; border-radius: 50%; background: var(--teal); color: #fff; cursor: pointer; display: grid; place-items: center; }
.mav-send svg { width: 20px; height: 20px; }
.mav-foot { font-size: 11px; color: var(--muted); text-align: center; padding: 0 12px 10px; }
.mav-foot a { color: var(--teal-dark); }
@media (max-width: 768px) { #maverick { left: 16px; bottom: 20px; } .mav-launch span { display: none; } .mav-launch { padding: 14px; border-radius: 50%; } }

/* ---- sticky service CTA bar ---- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; background: var(--navy); color: #fff; z-index: 140;
  transform: translateY(100%); transition: transform .25s ease; padding: 12px 0;
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sticky-cta .t { font-weight: 600; font-size: 15px; }
@media (max-width: 600px) { .sticky-cta .t { font-size: 13px; } .sticky-cta .btn { min-height: 42px; font-size: 14px; } }

/* utilities */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.hide { display: none; }
hr.div { border: 0; border-top: 1px solid var(--divider); margin: 0; }
.tealrule { border: 0; border-top: 2px solid var(--teal); width: 56px; margin: 0 0 22px; }
.center .tealrule { margin: 0 auto 22px; }

/* ── Pharos platform ───────────────────────────────────────────── */
.pharos-hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 60%, #081B33 100%); }
.pharos-hero-light {
  background-image:
    linear-gradient(90deg, var(--navy) 0%, var(--navy) 28%, rgba(13,46,79,.72) 50%, rgba(8,27,51,.35) 78%, rgba(8,27,51,.15) 100%),
    url(../img/pharos/lighthouse-banner.jpg);
  background-size: cover, cover; background-position: center, right center; background-repeat: no-repeat;
}
@media (max-width: 760px) {
  .pharos-hero-light { background-image: linear-gradient(180deg, rgba(13,46,79,.82), rgba(8,27,51,.92)), url(../img/pharos/lighthouse-banner.jpg); background-position: center, center; }
}
.pharos-light-fig { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--divider);
  box-shadow: 0 20px 50px -26px rgba(13,46,79,.5); }
.pharos-light-fig img { display: block; width: 100%; height: auto; }
.pharos-home-band { position: relative; overflow: hidden; }
.pharos-home-band::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(90deg, var(--navy) 30%, rgba(13,46,79,.4) 70%, rgba(13,46,79,.1) 100%), url(../img/pharos/lighthouse-banner.jpg);
  background-size: cover, 52% auto; background-position: center, right -40px top; background-repeat: no-repeat; opacity: .5; z-index: 0; }
.pharos-home-band > .wrap { position: relative; z-index: 1; }
@media (max-width: 760px) { .pharos-home-band::after { display: none; } }

/* ── Testimonials ──────────────────────────────────────────────── */
.quote-card { margin: 0; background: #fff; border: 1px solid var(--divider); border-radius: 14px;
  padding: 26px 24px 20px; display: flex; flex-direction: column; gap: 14px; position: relative;
  box-shadow: 0 10px 30px -22px rgba(13,46,79,.35); }
.bg-surface .quote-card { background: #fff; }
.quote-card .quote-mark { font-size: 42px; line-height: .6; color: var(--steel-light, #7DC3F5); font-weight: 800; height: 22px; }
.quote-card blockquote { margin: 0; font-size: 15px; line-height: 1.6; color: var(--navy); flex: 1; }
.quote-card figcaption { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--divider); padding-top: 14px; }
.quote-card .q-av { width: 42px; height: 42px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--navy); color: #fff; font-weight: 700; font-size: 14px; }
.quote-card .q-meta { display: flex; flex-direction: column; line-height: 1.3; }
.quote-card .q-meta strong { color: var(--navy); font-size: 14.5px; }
.quote-card .q-meta span { color: var(--muted); font-size: 12.5px; }
.pharos-badge { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px;
  color: #7DC3F5; background: rgba(125,195,245,.12); border: 1px solid rgba(125,195,245,.3);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; }
.pharos-badge .ico, .pharos-badge svg { width: 18px; height: 18px; }
/* Pharos module card: code chip, name, 2-3 line description, Read-more button.
   Self-contained (white card, explicit colours) so it reads correctly on any band. */
.pharos-tile { display: flex; flex-direction: column; align-items: flex-start;
  background: #fff; border: 1px solid var(--divider); border-radius: 12px; padding: 24px;
  text-decoration: none; height: 100%; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.pharos-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--teal); }
.pharos-tile .pcode { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--teal-dark); background: var(--surface); border: 1px solid var(--divider); padding: 4px 10px; border-radius: 6px; margin-bottom: 16px; }
.pharos-tile .pname { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 8px; line-height: 1.25; }
.pharos-tile .pdesc { font-size: 14px; color: var(--muted); line-height: 1.55; margin-bottom: 18px; flex: 1 1 auto; }
.pharos-tile .pmore { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600;
  color: var(--teal-dark); border: 1.5px solid var(--divider); border-radius: 8px; padding: 8px 14px; transition: border-color .15s, gap .15s, background .15s; }
.pharos-tile:hover .pmore { border-color: var(--teal); background: var(--surface); gap: 10px; }
.pharos-tile .pmore svg { width: 15px; height: 15px; }
.pharos-narrative { padding: 56px 0; }
.pharos-quote { font-size: clamp(20px, 2.8vw, 30px); font-weight: 700; color: #fff; line-height: 1.35;
  max-width: 860px; margin: 8px auto 18px; }
.pharos-shot { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--divider);
  box-shadow: 0 18px 50px -24px rgba(13,46,79,.4); background: #fff; }
.pharos-shot img { display: block; width: 100%; height: auto; }
.pharos-shot figcaption { font-size: 13px; color: var(--muted); padding: 10px 14px; background: var(--surface);
  border-top: 1px solid var(--divider); }
.pharos-connect { background: var(--surface); border-left: 3px solid var(--teal); }
/* Uniform screenshot grid (equal-height cropped cards) */
.shot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.shot-grid .pharos-shot { display: flex; flex-direction: column; }
.shot-grid .pharos-shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; }
.shot-grid .pharos-shot figcaption { flex: 1; }
@media (max-width: 860px) { .shot-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
.module-callout { margin: 26px 0; border: 1px solid var(--divider); border-left: 3px solid var(--teal); border-radius: 12px; padding: 16px 18px; background: var(--surface); }
.module-callout .e { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-dark); }
.module-callout a { display: flex; align-items: center; gap: 12px; margin-top: 8px; color: var(--navy); font-weight: 600; }
.module-callout a > svg { width: 26px; height: 26px; flex: none; color: var(--teal-dark); }
.mc-code { flex: none; font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--teal-dark); background: #fff; border: 1px solid var(--divider); padding: 5px 9px; border-radius: 6px; }
.module-callout a span span { display: block; font-weight: 400; font-size: 13.5px; color: var(--muted); }
.module-callout a strong { font-size: 15.5px; }
.module-callout a > svg:last-child { margin-left: auto; width: 18px; height: 18px; }

/* Clean numbered feature cards (replaces removed module icons) */
.feature-card { padding-top: 24px; }
.feature-num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px;
  background: var(--surface); color: var(--teal-dark); font-weight: 800; font-size: 15px; margin-bottom: 14px; border: 1px solid var(--divider); }
/* Pharos tile head now holds just the code chip */
.pharos-tile-head { min-height: 26px; }

/* Prevent any sub-pixel horizontal overflow on small screens (e.g. WhatsApp ring) */
html { overflow-x: hidden; }
.float-actions { max-width: 100vw; }

/* Mobile: keep the team photo a clean full-width band, caption stacked below */
@media (max-width: 640px) {
  .team-band img { width: 100%; height: auto; }
  .team-band figcaption { position: static; background: var(--navy); color: #fff; padding: 13px 15px; font-size: 14px; }
}
.team-band { margin: 0; border-radius: 16px; overflow: hidden; position: relative; box-shadow: 0 24px 60px -28px rgba(13,46,79,.45); }
.team-band img { display: block; width: 100%; height: auto; }
.team-band figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 26px 18px;
  color: #fff; font-size: 15px; background: linear-gradient(to top, rgba(10,34,64,.85) 0%, rgba(10,34,64,0) 100%); }
.team-band figcaption strong { color: #fff; }
@media (max-width: 640px) { .team-band figcaption { position: static; background: var(--navy); padding: 14px 16px; } }

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