:root {
  --navy: #06285f;
  --slate: #0b3c78;
  --ink: #111827;
  --muted: #64748b;
  --line: #dbe3ef;
  --gold: #00b872;
  --gold-soft: #e7fff5;
  --surface: #ffffff;
  --bg: #f8fafc;
  --blue: #0070c0;
  --teal: #00a0a0;
  --shadow: 0 24px 70px rgba(6, 40, 95, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

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

.section-shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(219, 227, 239, 0.78);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
}

.brand-logo {
  width: 248px;
  height: 62px;
  object-fit: contain;
  object-position: left center;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: #334155;
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-menu a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav-menu a:hover {
  color: var(--navy);
  border-color: var(--gold);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.nav-cta,
.button-primary {
  background: var(--gold);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(0, 184, 114, 0.28);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
}

.hero.section-shell {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: calc(100vh - 76px);
  margin: 0;
  padding: 72px 0 78px;
  overflow: hidden;
  background: #06285f;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(90deg, rgba(6, 40, 95, 0.98) 0%, rgba(6, 40, 95, 0.92) 40%, rgba(6, 40, 95, 0.58) 68%, rgba(0, 160, 160, 0.18) 100%),
    linear-gradient(180deg, rgba(6, 40, 95, 0.08), rgba(6, 40, 95, 0.42));
  pointer-events: none;
}

.hero-slider,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slider {
  z-index: 0;
  overflow: hidden;
}

.hero-slide {
  background-position: center right;
  background-size: cover;
  opacity: 0;
  transform: scale(1.04);
  animation: heroImageRotate 24s infinite;
}

.hero-slide-1 {
  background-image: url("assets/hero-consulting-boardroom.png");
}

.hero-slide-2 {
  background-image: url("assets/hero-tax-advisory.png");
  animation-delay: 8s;
}

.hero-slide-3 {
  background-image: url("assets/hero-growth-strategy.png");
  animation-delay: 16s;
}

@keyframes heroImageRotate {
  0% {
    opacity: 0;
    transform: scale(1.04);
  }
  8%,
  30% {
    opacity: 1;
  }
  38%,
  100% {
    opacity: 0;
    transform: scale(1.11);
  }
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Poppins", sans-serif;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  color: #fff;
  font-size: clamp(2rem, 4.2vw, 3.6rem);
}

h2 {
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.3rem);
}

h3 {
  color: var(--navy);
  font-size: 1.15rem;
}

.hero-lede {
  max-width: 720px;
  margin: 24px 0 0;
  color: #d7e0ef;
  font-size: 1.13rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-contact-line {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  color: #e2e8f0;
  font-weight: 800;
}

.hero-contact-line a,
.hero-contact-line span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.hero-social-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 13px;
  border: 1px solid rgba(0, 184, 114, 0.42);
  border-radius: 8px;
  background: rgba(0, 184, 114, 0.16);
  color: #fff;
  font-weight: 900;
}

.hero-social-links a:hover {
  background: rgba(0, 184, 114, 0.28);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 980px;
  margin-top: 34px;
}

.trust-strip span {
  min-height: 86px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  backdrop-filter: blur(12px);
}

.trust-strip strong {
  display: block;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 1.55rem;
}

.hero-visual {
  position: relative;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-visual img {
  width: 100%;
  border-radius: 8px;
}

.photo-visual {
  padding: 0;
  overflow: hidden;
}

.photo-visual img {
  aspect-ratio: 1.08 / 1;
  height: 100%;
  object-fit: cover;
}

.photo-visual::after {
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(6, 40, 95, 0.02), rgba(6, 40, 95, 0.2));
  content: "";
  pointer-events: none;
}

.floating-card {
  position: absolute;
  display: grid;
  gap: 2px;
  min-width: 156px;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.2);
}

.floating-card span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.floating-card strong {
  color: var(--navy);
}

.card-top {
  top: 11%;
  right: -18px;
}

.card-bottom {
  bottom: 12%;
  left: -20px;
}

.intro-band,
.why,
.industries,
.testimonial {
  background: #fff;
}

.intro-band {
  padding: 92px 0;
}

.split,
.why-layout,
.contact {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 58px;
  align-items: start;
}

.intro-copy p,
.why-copy p,
.portal p,
.contact-copy p,
.footer p {
  margin: 0 0 16px;
  color: #475569;
}

.credential-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.credential-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid rgba(0, 184, 114, 0.22);
  border-radius: 8px;
  background: #f0fdfa;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 900;
}

.services,
.detail-section,
.process,
.online-tools,
.timeline-section,
.portal,
.insights,
.resources,
.contact {
  padding: 100px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-note {
  margin: 16px 0 0;
  color: #526173;
  font-weight: 650;
}

.service-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.blog-grid article {
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card:hover,
.blog-grid article:hover {
  border-color: rgba(0, 184, 114, 0.7);
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.12);
  transform: translateY(-4px);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  border-radius: 8px;
  background: #e6f7ff;
  color: var(--blue);
  font-weight: 900;
}

.service-card p,
.blog-grid p {
  margin: 12px 0 0;
  color: #526173;
}

.blog-grid article {
  display: grid;
  align-content: start;
}

.blog-grid article > span {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.post-meta small {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border: 1px solid rgba(6, 40, 95, 0.1);
  border-radius: 999px;
  background: #f8fafc;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 800;
}

.service-card ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 18px;
  color: #334155;
  font-size: 0.94rem;
  font-weight: 650;
}

.service-card li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.accent-card {
  background: linear-gradient(135deg, var(--navy), var(--blue) 58%, var(--teal));
}

.accent-card h3,
.accent-card p,
.accent-card li {
  color: #fff;
}

.accent-card .service-icon {
  background: rgba(255, 255, 255, 0.15);
  color: var(--gold);
}

.why {
  padding: 96px 0;
}

.detail-section {
  background: #fff;
}

.detail-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 44px;
  align-items: start;
}

.detail-copy p {
  margin: 18px 0 0;
  color: #475569;
}

.detail-table {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(6, 40, 95, 0.08);
}

.detail-table div {
  display: grid;
  grid-template-columns: 0.34fr 0.66fr;
  min-height: 82px;
  border-bottom: 1px solid var(--line);
}

.detail-table div:last-child {
  border-bottom: 0;
}

.detail-table strong,
.detail-table span {
  display: flex;
  align-items: center;
  padding: 18px 20px;
}

.detail-table strong {
  background: #f0fdfa;
  color: var(--navy);
  font-family: "Poppins", sans-serif;
}

.detail-table span {
  color: #334155;
  font-weight: 650;
}

.reason-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.reason-list span,
.industry-grid span,
.portal-features span {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--slate);
  font-weight: 800;
}

.reason-list span::before,
.industry-grid span::before,
.portal-features span::before {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-right: 11px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.process {
  padding-top: 100px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.process-grid article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 45px rgba(6, 40, 95, 0.06);
}

.process-grid span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #fff;
  font-weight: 900;
}

.process-grid p {
  margin: 12px 0 0;
  color: #526173;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.timeline-item {
  min-height: 180px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.timeline-item span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  border-radius: 8px;
  background: #f1f5f9;
  color: var(--slate);
  font-weight: 900;
}

.timeline-item strong,
.timeline-item small {
  display: block;
}

.timeline-item strong {
  color: var(--navy);
  font-size: 1rem;
}

.timeline-item small {
  margin-top: 6px;
  color: var(--muted);
  font-weight: 700;
}

.timeline-item.active {
  border-color: var(--gold);
  background: var(--gold-soft);
}

.timeline-item.active span {
  background: var(--gold);
  color: #ffffff;
}

.timeline-detail {
  margin-top: 18px;
  padding: 22px 24px;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: #fff;
  color: #334155;
  font-weight: 700;
}

.industries {
  padding: 96px 0;
}

.insights-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  align-items: start;
}

.insights-empty,
.tools-hold-panel {
  padding: 28px;
  border: 1px dashed rgba(6, 40, 95, 0.22);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #f8fafc);
}

.insights-empty strong,
.tools-hold-panel span {
  display: block;
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 900;
}

.insights-empty p,
.tools-hold-panel p {
  max-width: 760px;
  margin: 10px 0 0;
  color: #526173;
  font-weight: 650;
}

.post-upload-form {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(6, 40, 95, 0.08);
}

.post-upload-form label {
  display: grid;
  gap: 7px;
}

.post-upload-form span {
  color: var(--slate);
  font-size: 0.88rem;
  font-weight: 800;
}

.post-upload-form input,
.post-upload-form select,
.post-upload-form textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.post-upload-form input,
.post-upload-form select {
  height: 46px;
  padding: 0 13px;
}

.post-upload-form textarea {
  resize: vertical;
  padding: 12px 13px;
}

.online-tools {
  padding-top: 100px;
}

.tools-layout {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  gap: 26px;
  align-items: start;
}

.tools-access-form {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(6, 40, 95, 0.08);
}

.tools-form-head {
  padding-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
}

.tools-form-head > span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.tools-form-head h3 {
  font-size: 1.45rem;
}

.tools-form-head p {
  margin: 8px 0 0;
  color: #64748b;
  font-weight: 650;
}

.tools-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.tools-access-form label {
  display: grid;
  gap: 7px;
}

.tools-access-form span {
  color: var(--slate);
  font-size: 0.88rem;
  font-weight: 800;
}

.tools-access-form input {
  width: 100%;
  height: 46px;
  padding: 0 13px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
}

.tools-access-form input:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(0, 160, 160, 0.12);
}

.full-field,
.tools-form-actions {
  grid-column: 1 / -1;
}

.tools-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding-top: 2px;
}

.tools-form-actions small {
  flex: 1 1 220px;
  color: #64748b;
  font-weight: 700;
}

.tool-cards {
  display: grid;
  gap: 16px;
}

.tool-card {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 45px rgba(6, 40, 95, 0.06);
}

.tool-card.available {
  border-color: rgba(0, 184, 114, 0.38);
  background: linear-gradient(135deg, #ffffff, #f0fdfa);
}

#apps-grid,
#apps-grid-full {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tool-card {
  align-content: start;
}

.tool-card h3 {
  font-size: 1.18rem;
}

.tool-card .button,
.tool-card .portal-secondary {
  width: max-content;
  margin-top: 4px;
}

.tool-card-top {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.app-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.app-badge.live {
  background: #e7fff5;
  color: #047857;
  border: 1px solid rgba(0, 184, 114, 0.4);
}

.app-badge.beta {
  background: #fff7ed;
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.app-badge.soon {
  background: #eef2f7;
  color: #475569;
  border: 1px solid #cbd5e1;
}

@media (max-width: 980px) {
  #apps-grid,
  #apps-grid-full {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  #apps-grid,
  #apps-grid-full {
    grid-template-columns: 1fr;
  }
}

.tool-card > span {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.tool-card p {
  margin: 0;
  color: #526173;
}

.tool-card small {
  color: #64748b;
  font-weight: 750;
}

.tool-card .portal-secondary {
  width: max-content;
  background: #e2e8f0;
  color: #475569;
  border: 1px solid #cbd5e1;
  cursor: not-allowed;
}

.locked-tool-link[data-enabled="false"] {
  background: var(--blue);
}

.partner-grid {
  display: grid;
  gap: 22px;
}

.partner-card {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  gap: 32px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(6, 40, 95, 0.08);
}

.partner-photo {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border-radius: 8px;
  background: #e6f7ff;
}

.partner-photo::after {
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(180deg, transparent, rgba(6, 40, 95, 0.28));
  content: "";
  pointer-events: none;
}

.partner-photo img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
}

.partner-info h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.qualification {
  margin: 10px 0 0;
  color: var(--teal);
  font-size: 1.08rem;
  font-weight: 900;
}

.partner-summary {
  margin: 18px 0 0;
  color: #475569;
  font-weight: 650;
}

.expertise-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.expertise-list li {
  position: relative;
  padding-left: 20px;
  color: #334155;
  font-weight: 800;
}

.expertise-list li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--gold));
  content: "";
}

.partner-links {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.partner-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--slate);
  font-weight: 800;
}

.partner-links a:hover {
  border-color: rgba(0, 184, 114, 0.7);
  color: var(--navy);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.portal-panel {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 44px;
  align-items: center;
  padding: 42px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(6, 40, 95, 0.97), rgba(0, 112, 192, 0.9)),
    linear-gradient(90deg, rgba(0, 184, 114, 0.2), transparent);
  box-shadow: var(--shadow);
}

.portal-panel h2,
.portal-panel p {
  color: #fff;
}

.portal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.portal-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.portal-note {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  color: #dbeafe;
  font-weight: 900;
}

.portal-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.portal-features span {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.blog-grid article span {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.resource-feature {
  background: linear-gradient(135deg, #ffffff, #f0fdfa);
  border-color: rgba(0, 184, 114, 0.35);
}

.compliedge-resource {
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  gap: 22px;
  align-items: center;
  padding: 20px;
  border: 1px solid rgba(255, 94, 0, 0.22);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #fff7f0);
  box-shadow: 0 14px 38px rgba(6, 40, 95, 0.07);
}

.compliedge-logo-panel {
  display: grid;
  place-items: center;
  min-height: 154px;
  padding: 16px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e2e8f0;
}

.compliedge-logo-panel img {
  width: min(100%, 285px);
}

.compliedge-content > span {
  color: #ff5e00;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.compliedge-content h3 {
  margin-top: 8px;
  font-size: clamp(1.25rem, 2.2vw, 1.85rem);
}

.compliedge-content p {
  margin: 10px 0 0;
  color: #526173;
}

.compliedge-source-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.compliedge-source-tags small {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border: 1px solid rgba(6, 40, 95, 0.12);
  border-radius: 999px;
  background: #fff;
  color: var(--slate);
  font-size: 0.72rem;
  font-weight: 900;
}

.compliedge-mini-feed {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.compliedge-mini-item {
  display: grid;
  gap: 3px;
  padding: 10px;
  border: 1px solid rgba(0, 160, 160, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.compliedge-mini-item strong {
  color: var(--teal);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.compliedge-mini-item span {
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 850;
}

.compliedge-mini-item small {
  color: #64748b;
  font-weight: 750;
}

.article-link {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  color: var(--blue);
  font-weight: 900;
}

.article-link:hover {
  color: var(--navy);
}

.article-page {
  padding: 120px 0 90px;
}

.article-hero {
  max-width: 980px;
  padding: 44px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--navy), #0b3c78);
  color: #ffffff;
}

.article-hero h1 {
  max-width: 850px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  line-height: 1.05;
}

.article-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: #e2e8f0;
  font-size: 1.05rem;
  font-weight: 650;
}

.article-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.article-meta-row span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #dbeafe;
  font-size: 0.82rem;
  font-weight: 800;
}

.article-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 34px;
  max-width: 980px;
  margin-top: 36px;
}

.article-body section,
.article-summary {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
}

.article-body h2 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.article-body h3 {
  margin: 0 0 8px;
  color: var(--navy);
}

.article-body p,
.article-body li {
  color: #475569;
  font-weight: 650;
  line-height: 1.75;
}

.article-summary ul,
.article-checklist {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.article-steps,
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.article-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-steps div,
.article-grid div {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.article-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--green);
  color: #ffffff;
  font-weight: 900;
}

.article-closing {
  background: #f0fdfa;
}

.guide-viewer {
  padding: 116px 0 84px;
}

.guide-viewer-header {
  max-width: 920px;
  margin-bottom: 32px;
}

.guide-viewer-header h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 5vw, 4.1rem);
  line-height: 1.06;
}

.guide-viewer-header p:last-child {
  max-width: 760px;
  margin: 16px 0 0;
  color: #526173;
  font-size: 1.03rem;
  font-weight: 650;
  line-height: 1.7;
}

.guide-pages {
  display: grid;
  gap: 28px;
  justify-items: center;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eef2f7;
}

.guide-pages figure {
  width: min(100%, 920px);
  margin: 0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.14);
  overflow: hidden;
}

.guide-pages img {
  display: block;
  width: 100%;
  height: auto;
}

.published-article {
  padding: 116px 0 84px;
}

.published-hero {
  max-width: 980px;
  padding: 42px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--navy), #0b3c78);
  color: #ffffff;
}

.published-hero h1 {
  max-width: 850px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.08;
}

.published-hero p {
  max-width: 780px;
  margin: 16px 0 0;
  color: #e2e8f0;
  font-weight: 650;
  line-height: 1.7;
}

.published-cover {
  display: block;
  width: min(100%, 980px);
  max-height: 460px;
  margin: 30px 0;
  border-radius: 8px;
  object-fit: cover;
}

.published-body {
  max-width: 880px;
  margin-top: 32px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
}

.published-body p {
  margin: 0 0 18px;
  color: #334155;
  font-size: 1.03rem;
  font-weight: 650;
  line-height: 1.8;
}

.admin-body {
  min-height: 100vh;
  background: #eef2f7;
}

.admin-shell {
  display: grid;
  place-items: start center;
  min-height: 100vh;
  padding: 56px 18px;
}

.admin-panel {
  width: min(100%, 920px);
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}

.admin-panel img {
  width: 230px;
  max-width: 100%;
  height: auto;
  margin-bottom: 28px;
}

.admin-panel h1,
.admin-panel h2 {
  margin: 0 0 10px;
  color: var(--navy);
}

.admin-panel p {
  color: #526173;
  font-weight: 650;
}

.admin-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.admin-form label {
  display: grid;
  gap: 7px;
  color: var(--slate);
  font-weight: 850;
}

.admin-form input,
.admin-form textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
}

.admin-form input {
  height: 46px;
  padding: 0 12px;
}

.admin-form textarea {
  padding: 12px;
  resize: vertical;
}

.admin-form button {
  width: max-content;
  border: 0;
  border-radius: 8px;
  background: var(--green);
  color: #ffffff;
  font-weight: 900;
  padding: 13px 22px;
  cursor: pointer;
}

.admin-error,
.admin-success {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 800;
}

.admin-error {
  background: #fef2f2;
  color: #991b1b;
}

.admin-success {
  background: #ecfdf5;
  color: #047857;
}

.admin-topline {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.admin-topline a,
.admin-posts a {
  color: var(--blue);
  font-weight: 900;
}

.admin-posts {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.admin-posts a {
  display: block;
  margin-top: 10px;
}

.testimonial {
  padding: 92px 0;
}

.testimonial-inner {
  max-width: 920px;
  text-align: center;
}

blockquote {
  margin: 0;
  color: var(--navy);
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.7rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.18;
}

.testimonial p {
  margin: 20px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.contact {
  align-items: stretch;
}

.contact-methods {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-methods a {
  color: var(--navy);
  font-weight: 800;
}

.office-address {
  margin-top: 24px;
  padding: 18px;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: #fff;
  color: #334155;
  font-style: normal;
  font-weight: 750;
}

.consult-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.consult-form label {
  display: grid;
  gap: 7px;
}

.consult-form span {
  color: var(--slate);
  font-size: 0.88rem;
  font-weight: 800;
}

.consult-form input,
.consult-form select,
.consult-form textarea,
.newsletter input {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.consult-form input,
.consult-form select {
  height: 48px;
  padding: 0 14px;
}

.consult-form textarea {
  resize: vertical;
  padding: 12px 14px;
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--teal);
  font-weight: 800;
}

.footer {
  padding: 60px 0 70px;
  background: var(--navy);
  color: #cbd5e1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.7fr 0.7fr 1fr;
  gap: 42px;
}

.footer .brand strong,
.footer h3 {
  color: #fff;
}

.footer p {
  color: #cbd5e1;
}

.footer-meta {
  color: #fff;
  font-weight: 800;
}

.footer .brand-logo {
  width: 202px;
  height: 192px;
  padding: 7px 10px;
  border-radius: 8px;
  background: #fff;
  object-position: center;
}

.footer h3 {
  margin: 0 0 16px;
  font-size: 1rem;
}

.footer a {
  display: block;
  margin-bottom: 10px;
}

.newsletter {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.newsletter input {
  min-width: 0;
  height: 44px;
  padding: 0 12px;
}

.newsletter button {
  border: 0;
  border-radius: 8px;
  background: var(--gold);
  color: #ffffff;
  font-weight: 900;
  padding: 0 16px;
}

.visitor-counter {
  display: grid;
  gap: 3px;
  width: max-content;
  min-width: 150px;
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.visitor-counter span,
.visitor-counter small {
  color: #cbd5e1;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.visitor-counter strong {
  color: #ffffff;
  font-size: 1.65rem;
  line-height: 1;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #94a3b8;
  font-size: 0.82rem;
  font-weight: 700;
}

.footer-legal-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-legal-links a {
  display: inline;
  margin: 0;
  color: #cbd5e1;
}

.footer-legal-links a:hover {
  color: #fff;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 0;
  cursor: pointer;
  border-radius: 50%;
  background: #16a34a;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(22, 163, 74, 0.38);
}

/* Connect popup (WhatsApp + Telegram channels) */
.connect-popup {
  position: fixed;
  right: 18px;
  bottom: 88px;
  z-index: 41;
  width: min(320px, calc(100vw - 36px));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(6, 40, 95, 0.22);
  padding: 20px;
  display: none;
}
.connect-popup.open { display: block; }
.connect-close { position: absolute; top: 8px; right: 10px; border: 0; background: none; font-size: 1.4rem; line-height: 1; color: #94a3b8; cursor: pointer; }
.connect-head { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.connect-badge { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; background: #16a34a; display: grid; place-items: center; }
.connect-head strong { display: block; color: var(--navy); font-family: "Poppins", sans-serif; font-size: 1rem; }
.connect-head span { color: var(--muted); font-size: 0.8rem; font-weight: 600; }
.connect-popup > p { margin: 0 0 14px; color: #475569; font-size: 0.9rem; line-height: 1.55; }
.connect-popup .wa-join, .connect-popup .tg-join { display: block; text-align: center; color: #fff; font-weight: 800; text-decoration: none; padding: 11px 14px; border-radius: 10px; }
.connect-popup .wa-join { background: #25d366; }
.connect-popup .wa-join:hover { background: #1fb457; }
.connect-popup .tg-join { background: #229ed9; margin-top: 9px; }
.connect-popup .tg-join:hover { background: #1c87ba; }
.connect-chat { display: block; text-align: center; margin-top: 12px; color: var(--navy); font-weight: 700; font-size: 0.82rem; text-decoration: none; }
.connect-chat:hover { color: var(--gold); }

@media (max-width: 980px) {
  .nav-menu,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu.open {
    position: fixed;
    inset: 76px 16px auto 16px;
    display: grid;
    gap: 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav-menu.open a {
    padding: 14px 4px;
    border-bottom: 1px solid #eef2f7;
  }

  .hero,
  .split,
  .why-layout,
  .detail-layout,
  .tools-layout,
  .insights-layout,
  .compliedge-resource,
  .partner-card,
  .portal-panel,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 52px;
  }

  .hero.section-shell {
    min-height: auto;
    padding: 70px 0;
  }

  .hero-visual {
    max-width: 640px;
  }

  .service-grid,
  .trust-strip,
  .blog-grid,
  .article-steps,
  .article-grid,
  .process-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .industry-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .compliedge-mini-feed {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section-shell {
    width: min(100% - 24px, 1160px);
  }

  .nav {
    width: min(100% - 24px, 1180px);
  }

  .brand-logo {
    width: 188px;
    height: 54px;
  }

  .hero::before {
    height: auto;
  }

  .trust-strip,
  .service-grid,
  .reason-list,
  .blog-grid,
  .article-steps,
  .article-grid,
  .process-grid,
  .partner-card,
  .timeline,
  .industry-grid,
  .tools-form-grid,
  .portal-features,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .post-upload-form {
    position: static;
  }

  .article-page {
    padding: 94px 0 68px;
  }

  .guide-viewer {
    padding: 94px 0 68px;
  }

  .published-article {
    padding: 94px 0 68px;
  }

  .article-hero,
  .article-body section,
  .article-summary,
  .published-hero,
  .published-body,
  .admin-panel {
    padding: 22px;
  }

  .guide-pages {
    gap: 16px;
    padding: 12px;
  }

  .article-nav-menu {
    display: none;
  }

  .admin-topline {
    display: grid;
  }

  .tools-access-form,
  .compliedge-resource {
    padding: 18px;
  }

  .compliedge-logo-panel {
    min-height: 118px;
  }

  .hero-visual {
    padding: 12px;
  }

  .photo-visual {
    padding: 0;
  }

  .partner-photo,
  .partner-photo img {
    min-height: 340px;
  }

  .expertise-list {
    grid-template-columns: 1fr;
  }

  .detail-table div {
    grid-template-columns: 1fr;
  }

  .floating-card {
    position: static;
    margin-top: 10px;
  }

  .intro-band,
  .why,
  .industries,
  .testimonial,
  .services,
  .detail-section,
  .process,
  .online-tools,
  .timeline-section,
  .portal,
  .resources,
  .contact {
    padding: 68px 0;
  }

  .portal-panel {
    padding: 26px;
  }

  .newsletter {
    display: grid;
  }
}

/* Web-app access gate modal */
.access-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.access-modal.open { display: flex; }
.access-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 40, 95, 0.55);
  backdrop-filter: blur(3px);
}
.access-dialog {
  position: relative;
  width: min(460px, 100%);
  max-height: 92vh;
  overflow: auto;
  padding: 30px 28px 26px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(6, 40, 95, 0.32);
}
.access-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: #f1f5f9;
  color: #475569;
  font-size: 20px;
  line-height: 1;
}
.access-close:hover { background: #e2e8f0; }
.access-dialog h3 {
  margin: 4px 0 0;
  font-size: 1.5rem;
}
.access-sub {
  margin: 8px 0 18px;
  color: #526173;
  font-weight: 650;
}
.access-form { display: grid; gap: 13px; }
.access-form label { display: grid; gap: 6px; }
.access-form span {
  color: var(--slate);
  font-size: 0.85rem;
  font-weight: 800;
}
.access-form input,
.access-form select {
  width: 100%;
  height: 46px;
  padding: 0 13px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.access-form input:focus,
.access-form select:focus {
  border-color: var(--gold);
  outline: 3px solid rgba(0, 184, 114, 0.12);
}
.access-form .button { margin-top: 4px; }
.access-note {
  min-height: 18px;
  margin: 2px 0 0;
  color: var(--teal);
  font-weight: 800;
}

/* Access modal - multi-view (register / login / forgot / result) */
.access-switch { margin: 14px 0 0; text-align: center; color: #475569; font-size: 0.9rem; font-weight: 700; }
.access-switch a { color: var(--blue); font-weight: 800; }
.access-switch a:hover { color: var(--navy); }
.cred-box { display: grid; gap: 10px; margin: 16px 0 4px; }
.cred-box > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 15px; border: 1px solid rgba(0,184,114,.35); border-radius: 10px; background: #f0fdfa; }
.cred-box span { color: #64748b; font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.cred-box strong { color: var(--navy); font-family: "Poppins", sans-serif; font-size: 1.15rem; letter-spacing: .5px; user-select: all; }
.access-tip { margin: 12px 0 0; color: #64748b; font-size: 0.82rem; font-weight: 650; }
.access-view[data-view="result"] .button { width: 100%; margin-top: 16px; }

/* Long-form content blocks (About, Services, Industries, Web Apps text) */
.prose { max-width: 940px; }
.prose p { margin: 0 0 20px; color: #475569; font-size: 1.02rem; line-height: 1.85; text-align: justify; text-justify: inter-word; }
.prose p:last-child { margin-bottom: 0; }
.block-title { margin: 52px 0 18px; color: var(--navy); font-family: "Poppins", sans-serif; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.15; }
.block-title:first-child { margin-top: 0; }
.intro-band .credential-strip { margin-top: 34px; }

/* Improved reading rhythm for section notes and copy blocks */
.section-note { line-height: 1.8; text-align: justify; text-justify: inter-word; }
.contact-copy p { line-height: 1.8; text-align: justify; text-justify: inter-word; }
.reason-list { gap: 16px; }
.services .reason-list { margin-bottom: 12px; }
.industries .reason-list { margin-top: 6px; }

/* ------------------------------------------------------------------ */
/* Sub-pages (Career, Book Consultation)                              */
/* ------------------------------------------------------------------ */
.subpage-hero {
  background: #06285f;
  background: linear-gradient(135deg, #06285f 0%, #0a3a86 100%);
  color: #fff;
  padding: 68px 0 60px;
}
.subpage-hero .eyebrow { color: #7fe9c6; }
.subpage-hero h1 {
  margin: 10px 0 16px;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
  max-width: 820px;
}
.subpage-hero p {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
  line-height: 1.75;
}
.subpage-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}
.subpage-back:hover { color: #fff; }
.subpage-body { padding: 64px 0 80px; }

/* Career page */
.career-block { max-width: 940px; }
.career-block p { margin: 0 0 20px; color: #475569; font-size: 1.02rem; line-height: 1.85; text-align: justify; text-justify: inter-word; }
.apply-card {
  margin-top: 34px;
  padding: 30px 32px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
}
.apply-card h3 {
  margin: 0 0 6px;
  color: var(--navy);
  font-family: "Poppins", sans-serif;
  font-size: 1.25rem;
}
.apply-card > p { margin: 0 0 18px; color: #475569; }
.apply-methods { display: grid; gap: 12px; }
.apply-methods a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
  background: #f8fafc;
}
.apply-methods a:hover { border-color: var(--gold); background: var(--gold-soft); }
.apply-methods small { display: block; color: var(--muted); font-weight: 600; font-size: 0.82rem; }

/* Book Consultation page */
.consult-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 54px;
  align-items: start;
}
.consult-intro h2 {
  margin: 0 0 16px;
  color: var(--navy);
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
}
.consult-intro p { margin: 0 0 16px; color: #475569; line-height: 1.8; text-align: justify; }
.consult-benefits { display: grid; gap: 12px; margin-top: 24px; }
.consult-benefits span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--slate);
  font-weight: 700;
}
.consult-benefits span::before {
  flex: 0 0 auto; width: 9px; height: 9px; border-radius: 50%;
  background: var(--gold); content: "";
}
.consult-direct { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.consult-direct a { color: var(--navy); font-weight: 800; text-decoration: none; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Contact band on homepage — full-width stacked layout (overrides the old
   two-column contact grid so the heading sits above three full-width cards). */
#contact.contact { display: block; }
#contact .section-heading { max-width: 760px; margin-bottom: 28px; }
.contact-band-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 8px;
}
.contact-band-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-band-card h3 {
  margin: 0;
  color: var(--navy);
  font-family: "Poppins", sans-serif;
  font-size: 1.15rem;
}
.contact-band-card p { margin: 0; color: #475569; }
.contact-band-card a:not(.button) { color: var(--navy); font-weight: 800; text-decoration: none; }
.contact-band-card .button { margin-top: auto; text-decoration: none; }
.contact-band-card .office-address { margin-top: 6px; }

@media (max-width: 820px) {
  .consult-layout { grid-template-columns: 1fr; gap: 34px; }
  .contact-band-grid { grid-template-columns: 1fr; }
}
