:root {
  --navy: #071527;
  --navy-2: #0c2138;
  --navy-3: #102a46;
  --ink: #111827;
  --slate: #334155;
  --muted: #64748b;
  --line: rgba(15, 23, 42, 0.12);
  --mist: #f5f7fa;
  --mist-2: #eef3f7;
  --white: #ffffff;
  --accent: #29b686;
  --accent-2: #0f8f67;
  --gold: #b88a44;
  --shadow: 0 24px 70px rgba(7, 21, 39, 0.14);
  --shadow-soft: 0 16px 48px rgba(15, 23, 42, 0.08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: 1180px;
  --header-height: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.admin-bar .site-header {
  top: 32px;
}

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

a:hover,
a:focus {
  color: var(--accent-2);
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  z-index: 1000;
  padding: 12px 16px;
  color: var(--navy);
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.skip-link:focus {
  top: 20px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.91);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 18px;
}

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

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  color: var(--white);
  font-weight: 850;
  place-items: center;
  background: linear-gradient(135deg, var(--navy), #193d63);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(7, 21, 39, 0.18);
}

.brand-text strong {
  display: block;
  color: var(--navy);
  font-size: 1.08rem;
  letter-spacing: 0.1em;
}

.brand-text small {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.2;
}

.custom-logo-link img {
  width: auto;
  max-height: 54px;
}

.main-nav {
  display: flex;
  justify-content: center;
  flex: 1;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-list a {
  display: inline-flex;
  padding: 10px 10px;
  color: #243244;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 999px;
}

.nav-list a:hover,
.nav-list a:focus {
  color: var(--navy);
  background: rgba(41, 182, 134, 0.1);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 18px;
  font-weight: 850;
  line-height: 1;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border 0.2s ease;
}

.header-cta,
.btn-primary {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 12px 32px rgba(7, 21, 39, 0.22);
}

.header-cta:hover,
.header-cta:focus,
.btn-primary:hover,
.btn-primary:focus {
  color: var(--white);
  background: #0f2b49;
  transform: translateY(-1px);
  box-shadow: 0 16px 38px rgba(7, 21, 39, 0.28);
}

.btn-outline {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(7, 21, 39, 0.14);
}

.btn-outline:hover,
.btn-outline:focus {
  color: var(--navy);
  background: var(--white);
  border-color: rgba(7, 21, 39, 0.26);
}

.btn-light {
  color: var(--navy);
  background: var(--white);
}

.btn-light:hover,
.btn-light:focus {
  color: var(--navy);
  background: #e8f7f1;
}

.btn-ghost {
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.btn-ghost:hover,
.btn-ghost:focus {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 10px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.nav-toggle span:not(.screen-reader-text) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at top left, rgba(41, 182, 134, 0.24), transparent 34%),
    radial-gradient(circle at 84% 18%, rgba(184, 138, 68, 0.17), transparent 27%),
    linear-gradient(135deg, #071527 0%, #0b1d33 44%, #132a45 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 92%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  gap: 54px;
  align-items: center;
  min-height: calc(100vh - var(--header-height));
  padding: clamp(70px, 9vw, 128px) 0;
}

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

.hero h1,
.section-heading h2,
.split-grid h2,
.solution-intro h2,
.proof-card h2,
.contact-copy h2,
.prose h1 {
  margin: 0;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero h1 {
  max-width: 850px;
  font-size: clamp(3rem, 6.5vw, 6.4rem);
}

.hero-lead {
  max-width: 760px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1.06rem, 2vw, 1.32rem);
}

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

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.trust-strip span {
  display: inline-flex;
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.86rem;
  font-weight: 760;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.hero-panel {
  display: grid;
  gap: 16px;
}

.panel-card,
.metric-card,
.insight-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-xl);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.panel-card.main {
  min-height: 330px;
  padding: 34px;
}

.panel-label,
.insight-card span {
  display: inline-flex;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.panel-card strong {
  display: block;
  max-width: 420px;
  font-size: clamp(1.85rem, 3.4vw, 3.25rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.panel-card p,
.insight-card p {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.75);
}

.metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.metric-card {
  padding: 22px;
}

.metric-card strong {
  display: block;
  color: var(--accent);
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
}

.metric-card span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.94rem;
}

.insight-card {
  padding: 24px;
}

.section {
  padding: clamp(76px, 8vw, 122px) 0;
}

.logos-section {
  padding: 28px 0;
  background: #fbfcfd;
  border-bottom: 1px solid var(--line);
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.logo-grid span {
  padding: 14px 10px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  background: var(--white);
}

.section-heading {
  max-width: 910px;
  margin-bottom: 42px;
}

.section-heading h2,
.split-grid h2,
.solution-intro h2,
.proof-card h2,
.contact-copy h2,
.prose h1 {
  color: var(--navy);
  font-size: clamp(2.2rem, 4.6vw, 4.6rem);
}

.section-heading p,
.split-grid p,
.solution-intro p,
.proof-card p,
.contact-copy p {
  max-width: 780px;
  margin: 22px 0 0;
  color: var(--slate);
  font-size: 1.06rem;
}

.services-section {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
}

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

.service-line-card {
  display: flex;
  flex-direction: column;
  min-height: 380px;
  padding: 26px;
  background: var(--white);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.06);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border 0.24s ease;
}

.service-line-card:hover {
  transform: translateY(-6px);
  border-color: rgba(41, 182, 134, 0.34);
  box-shadow: 0 28px 70px rgba(7, 21, 39, 0.12);
}

.service-number {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 24px;
  color: var(--accent-2);
  font-size: 0.86rem;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.service-line-card h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 1.27rem;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.service-line-card p {
  margin: 0;
  color: var(--slate);
  font-size: 0.95rem;
}

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

.service-line-card li {
  position: relative;
  padding-left: 18px;
  color: var(--slate);
  font-size: 0.9rem;
}

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

.service-card-link,
.request-course {
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  color: var(--navy);
  font-weight: 900;
}

.service-card-link::after,
.request-course::after {
  content: " →";
  color: var(--accent-2);
}

.solution-section {
  background: var(--mist);
}

.solution-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.1fr);
  gap: 46px;
  align-items: start;
}

.solution-intro {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  padding: clamp(28px, 4vw, 46px);
  background: var(--white);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.solution-intro .btn {
  margin-top: 30px;
}

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

.solution-cards article {
  padding: 26px;
  background: var(--white);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.05);
}

.solution-cards h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1.34rem;
  letter-spacing: -0.035em;
}

.solution-cards p {
  margin: 0;
  color: var(--slate);
}

.mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.mini-tags span {
  display: inline-flex;
  padding: 7px 10px;
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 850;
  background: rgba(41, 182, 134, 0.1);
  border-radius: 999px;
}

.dark-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.dark-section::after {
  position: absolute;
  right: -12%;
  bottom: -25%;
  width: 560px;
  height: 560px;
  content: "";
  background: radial-gradient(circle, rgba(41, 182, 134, 0.22), transparent 70%);
}

.split-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 60px;
  align-items: start;
  z-index: 1;
}

.dark-section h2,
.dark-section p {
  color: var(--white);
}

.dark-section p {
  color: rgba(255, 255, 255, 0.76);
}

.process-list {
  display: grid;
  gap: 14px;
}

.process-list div {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  column-gap: 18px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
}

.process-list strong {
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
}

.process-list h3 {
  margin: 0;
  color: var(--white);
  font-size: 1.16rem;
  letter-spacing: -0.02em;
}

.process-list p {
  grid-column: 2;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.96rem;
}

.normative-card {
  max-width: 650px;
  padding: 20px;
  margin-top: 26px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
}

.normative-card span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.normative-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.98rem;
}

.methodology-section {
  background: #ffffff;
}

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

.method-card {
  min-height: 250px;
  padding: 26px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.method-card span {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.method-card h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 1.24rem;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.method-card p {
  margin: 0;
  color: var(--slate);
  font-size: 0.96rem;
}

.training-section {
  background: linear-gradient(180deg, #f8fafc, #ffffff);
}

.training-split {
  align-items: center;
}

.training-split .btn {
  margin-top: 30px;
}

.training-cards {
  display: grid;
  gap: 14px;
}

.training-cards article {
  padding: 24px;
  background: var(--white);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.05);
}

.training-cards h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.24rem;
  letter-spacing: -0.03em;
}

.training-cards p {
  margin: 10px 0 0;
  color: var(--slate);
}

.course-calendar {
  margin-top: 38px;
}

.course-calendar details {
  padding: 22px;
  background: var(--white);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.course-calendar summary {
  cursor: pointer;
  color: var(--navy);
  font-size: 1.16rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.courses-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 16px;
}

.filter-button {
  padding: 10px 14px;
  color: var(--slate);
  font-weight: 850;
  cursor: pointer;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.filter-button.active,
.filter-button:hover,
.filter-button:focus {
  color: var(--white);
  background: var(--navy);
}

.course-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
}

.course-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  background: var(--white);
}

.course-table th,
.course-table td {
  padding: 16px;
  color: var(--slate);
  font-size: 0.92rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.course-table th {
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #f8fafc;
}

.course-table tr:last-child td {
  border-bottom: 0;
}

.course-table strong {
  color: var(--navy);
}

.course-row.is-hidden {
  display: none;
}

.badge {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  color: var(--accent-2);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(41, 182, 134, 0.1);
  border-radius: 999px;
}

.proof-section {
  background: linear-gradient(180deg, #ffffff, #f5f7fa);
}

.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}

.proof-card {
  padding: clamp(30px, 4vw, 46px);
  background: var(--white);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.proof-points {
  display: grid;
  gap: 14px;
}

.proof-points div {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 16px;
  align-items: start;
  padding: 24px;
  background: var(--white);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
}

.proof-points strong {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
}

.proof-points p {
  margin: 0;
  color: var(--slate);
  font-size: 1rem;
}

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

.professional-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: var(--radius-xl);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.06);
}

.avatar {
  display: grid;
  width: 74px;
  height: 74px;
  margin-bottom: 20px;
  color: var(--white);
  font-size: 2rem;
  font-weight: 900;
  place-items: center;
  background: linear-gradient(135deg, var(--navy), #1b446f);
  border-radius: 20px;
}

.professional-card h3 {
  margin: 18px 0 2px;
  color: var(--navy);
  font-size: 1.36rem;
  letter-spacing: -0.03em;
}

.professional-card strong {
  display: block;
  color: var(--accent-2);
  font-size: 0.94rem;
}

.professional-card p {
  margin: 16px 0 0;
  color: var(--slate);
}

.contact-section {
  color: var(--white);
  background:
    radial-gradient(circle at top right, rgba(41, 182, 134, 0.22), transparent 34%),
    linear-gradient(135deg, var(--navy) 0%, #0c2238 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 0.62fr);
  gap: 48px;
  align-items: start;
}

.contact-section h2,
.contact-section p {
  color: var(--white);
}

.contact-section p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-lines {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-lines a,
.contact-lines span {
  display: inline-flex;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 760;
}

.contact-lines a:hover,
.contact-lines a:focus {
  color: var(--accent);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  color: var(--ink);
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 850;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  min-height: 48px;
  padding: 13px 14px;
  color: var(--ink);
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 12px;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: rgba(41, 182, 134, 0.72);
  box-shadow: 0 0 0 4px rgba(41, 182, 134, 0.12);
}

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

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.form-message {
  margin: 0;
  padding: 12px 14px;
  font-weight: 850;
  border-radius: 12px;
}

.form-message.success {
  color: #0f5132;
  background: #d1e7dd;
}

.form-message.error {
  color: #842029;
  background: #f8d7da;
}

.form-footnote {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.site-footer {
  padding: 54px 0 26px;
  color: rgba(255, 255, 255, 0.74);
  background: #050d18;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(180px, 0.4fr) minmax(240px, 0.6fr);
  gap: 40px;
}

.footer-brand .brand-text strong,
.footer-brand .brand-text small {
  color: var(--white);
}

.site-footer h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 1rem;
}

.site-footer p {
  max-width: 540px;
  margin: 20px 0 0;
}

.site-footer ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer a:hover,
.site-footer a:focus {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  margin-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

.page-main {
  min-height: 60vh;
  padding: clamp(70px, 8vw, 120px) 0;
}

.prose {
  max-width: 860px;
}

.prose h1 {
  margin-bottom: 22px;
}

.prose a {
  color: var(--accent-2);
  font-weight: 850;
}

.post-list {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.post-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.post-card h2 {
  margin: 0 0 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .service-line-card {
    transition: none;
  }
}

@media (max-width: 1180px) {
  .service-lines-grid,
  .methodology-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1020px) {
  :root {
    --header-height: 74px;
  }

  body.admin-bar .site-header {
    top: 0;
  }

  .container {
    width: min(calc(100% - 30px), var(--container));
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 15px;
    left: 15px;
    display: none;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-list a {
    width: 100%;
  }

  .header-cta {
    display: none;
  }

  .hero-grid,
  .split-grid,
  .solution-grid,
  .proof-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
  }

  .solution-intro {
    position: static;
  }

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

@media (max-width: 680px) {
  .brand-text small {
    display: none;
  }

  .hero h1,
  .section-heading h2,
  .split-grid h2,
  .solution-intro h2,
  .proof-card h2,
  .contact-copy h2,
  .prose h1 {
    letter-spacing: -0.04em;
  }

  .hero-actions,
  .trust-strip,
  .dark-actions,
  .courses-tools,
  .footer-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  .header-cta {
    width: 100%;
  }

  .metric-row,
  .field-grid,
  .service-lines-grid,
  .methodology-grid,
  .professional-grid,
  .footer-grid,
  .logo-grid {
    grid-template-columns: 1fr;
  }

  .panel-card.main {
    min-height: auto;
  }

  .process-list div,
  .proof-points div {
    grid-template-columns: 1fr;
  }

  .process-list p {
    grid-column: auto;
  }

  .course-calendar details,
  .contact-form {
    padding: 18px;
  }
}

/* Mobile image flow adjustment for v4 hero */
@media (max-width: 860px) {
  .hero-showcase {
    min-height: auto;
    margin-bottom: 0;
  }

  .hero-showcase > img {
    position: relative;
    height: 340px;
  }

  .hero-showcase::before {
    inset: 0 0 auto 0;
    height: 340px;
  }

  .hero-glass-main {
    position: relative;
    inset: auto;
    width: auto;
    margin: -110px 16px 0;
  }

  .hero-visual-cards {
    position: relative;
    inset: auto;
    grid-template-columns: 1fr;
    margin: 16px 0 0;
  }
}

@media (max-width: 680px) {
  .hero-showcase {
    min-height: auto;
  }

  .hero-showcase > img,
  .hero-showcase::before {
    height: 300px;
  }
}


/* SERGAC Prime Visual v4: corporate imagery integration */
.hero.hero-services {
  min-height: min(920px, calc(100vh - var(--header-height)));
  background:
    linear-gradient(90deg, rgba(7, 21, 39, 0.98) 0%, rgba(7, 21, 39, 0.94) 34%, rgba(7, 21, 39, 0.62) 62%, rgba(7, 21, 39, 0.86) 100%),
    url("../img/sergac-hero.webp") center / cover no-repeat;
}

.hero.hero-services::before {
  opacity: 0.18;
  background-image:
    radial-gradient(circle at 24% 24%, rgba(41, 182, 134, 0.2), transparent 28%),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: auto, 58px 58px, 58px 58px;
}

.hero.hero-services::after {
  position: absolute;
  inset: auto 0 0 0;
  height: 160px;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(7, 21, 39, 0.92));
  pointer-events: none;
}

.hero-grid {
  z-index: 2;
}

.hero-panel {
  align-self: end;
  margin-bottom: clamp(20px, 4vw, 54px);
}

.service-focus-card,
.metric-card,
.insight-card {
  background: rgba(13, 31, 51, 0.66);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.34);
}

.visual-intro-section {
  background: linear-gradient(180deg, #ffffff 0%, #f5f7fa 100%);
}

.visual-intro-grid,
.asset-feature-grid,
.methodology-showcase {
  display: grid;
  gap: clamp(26px, 5vw, 58px);
  align-items: center;
}

.visual-intro-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
}

.visual-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: var(--radius-xl);
  box-shadow: 0 34px 90px rgba(7, 21, 39, 0.16);
  isolation: isolate;
}

.visual-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 52%, rgba(7, 21, 39, 0.42));
  pointer-events: none;
}

.visual-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  transform: scale(1.01);
}

.visual-card-large img {
  min-height: 520px;
}

.visual-intro-copy h2,
.asset-copy h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.15rem, 4.4vw, 4.45rem);
  line-height: 0.99;
  letter-spacing: -0.055em;
}

.visual-intro-copy p,
.asset-copy p {
  margin: 24px 0 0;
  color: var(--slate);
  font-size: 1.06rem;
}

.visual-pill-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.visual-pill-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 12px 14px;
  color: var(--navy);
  font-weight: 850;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 16px;
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.06);
}

.asset-feature-section {
  color: var(--white);
  background:
    radial-gradient(circle at top left, rgba(41, 182, 134, 0.24), transparent 32%),
    linear-gradient(135deg, #071527 0%, #0b1d33 50%, #122a44 100%);
}

.asset-feature-grid {
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
}

.asset-copy h2,
.asset-copy p {
  color: var(--white);
}

.asset-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.asset-copy .btn {
  margin-top: 28px;
}

.mini-tags-dark span {
  color: #d7fff1;
  background: rgba(41, 182, 134, 0.12);
  border: 1px solid rgba(41, 182, 134, 0.28);
}

.visual-card-dark {
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 36px 110px rgba(0, 0, 0, 0.34);
}

.nicsp-grid {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
}

.nicsp-stack {
  display: grid;
  gap: 18px;
}

.dark-media-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-xl);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.28);
}

.dark-media-card img {
  display: block;
  width: 100%;
  min-height: 360px;
  object-fit: cover;
}

.dark-media-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 48%, rgba(7, 21, 39, 0.78));
}

.dark-media-card figcaption {
  position: absolute;
  right: 22px;
  bottom: 20px;
  left: 22px;
  z-index: 1;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 800;
}

.methodology-showcase {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: stretch;
}

.methodology-media img {
  min-height: 100%;
}

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

.training-stack {
  display: grid;
  gap: 18px;
}

.training-media img {
  min-height: 360px;
}

.contact-section {
  background:
    linear-gradient(90deg, rgba(7, 21, 39, 0.98), rgba(7, 21, 39, 0.86)),
    url("../img/sergac-services.webp") center / cover no-repeat;
}

@media (max-width: 1180px) {
  .visual-intro-grid,
  .asset-feature-grid,
  .methodology-showcase,
  .nicsp-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 1020px) {
  .hero.hero-services {
    min-height: auto;
    background-position: center right;
  }

  .hero-panel {
    max-width: 720px;
    margin-bottom: 0;
  }

  .visual-card img,
  .visual-card-large img,
  .dark-media-card img,
  .training-media img {
    min-height: 320px;
  }
}

@media (max-width: 680px) {
  .hero.hero-services {
    background:
      linear-gradient(180deg, rgba(7, 21, 39, 0.94) 0%, rgba(7, 21, 39, 0.88) 100%),
      url("../img/sergac-hero.webp") center / cover no-repeat;
  }

  .visual-pill-grid,
  .methodology-showcase .methodology-grid {
    grid-template-columns: 1fr;
  }

  .visual-card img,
  .visual-card-large img,
  .dark-media-card img,
  .training-media img {
    min-height: 260px;
  }
}
