:root {
  --blue-900: #0b2f57;
  --blue-700: #125a9c;
  --blue-100: #e8f3fb;
  --green-700: #16744f;
  --green-100: #e8f6ef;
  --ink: #132033;
  --muted: #5f6b7a;
  --line: #d8e2eb;
  --white: #ffffff;
  --off-white: #f7fafc;
  --shadow: 0 18px 45px rgba(10, 47, 87, 0.14);
  --radius: 8px;
  --container: 1160px;
  --academy-navy: #061526;
  --academy-panel: #0b2238;
  --academy-blue: #0284c7;
  --academy-cyan: #22d3ee;
  --academy-muted: #b8c7d9;
  --academy-border: rgba(148, 163, 184, 0.25);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-bottom: 56px;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

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

.narrow {
  max-width: 860px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 40;
  padding: 10px 14px;
  color: var(--white);
  background: var(--blue-900);
  border-radius: 6px;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  position: relative;
  min-width: 0;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  min-width: 0;
  max-width: calc(100% - 64px);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex: 1 1 auto;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--white);
  border-radius: 10px;
  border: 1px solid var(--line);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.brand-name,
.brand-line {
  min-width: 0;
  display: block;
}

.brand-name {
  font-weight: 800;
  color: var(--blue-900);
}

.brand-line {
  max-width: 220px;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.18;
}

.site-nav {
  display: none;
  position: absolute;
  inset: 74px 16px auto;
  z-index: 45;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.site-nav.is-open {
  display: grid;
  gap: 4px;
}

.site-nav a {
  padding: 12px;
  color: var(--blue-900);
  font-weight: 700;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
  border-radius: 6px;
}

.nav-item {
  min-width: 0;
  display: grid;
}

.nav-parent {
  min-width: 0;
  display: flex;
  align-items: stretch;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1 1 auto;
}

.nav-dropdown-toggle {
  position: relative;
  z-index: 2;
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  display: inline-grid;
  place-items: center;
  color: var(--blue-900);
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.nav-dropdown-icon {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}

.nav-dropdown {
  display: none;
  gap: 2px;
  margin: 0 0 4px 12px;
  padding: 6px;
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.nav-dropdown a {
  padding: 9px 10px;
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-item.is-open .nav-dropdown {
  display: grid;
}

.site-nav a:hover,
.site-nav a:focus,
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus,
.site-nav a[aria-current="page"] {
  color: var(--green-700);
  background: var(--green-100);
}

.header-phone {
  display: none;
  color: var(--blue-900);
  font-weight: 800;
  text-decoration: none;
  flex: 0 0 auto;
  white-space: nowrap;
}

.nav-toggle {
  position: relative;
  z-index: 60;
  width: 44px;
  min-width: 44px;
  max-width: 44px;
  height: 44px;
  min-height: 44px;
  flex: 0 0 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle-line,
.nav-toggle-line::before,
.nav-toggle-line::after {
  width: 20px;
  height: 2px;
  display: block;
  content: "";
  background: var(--blue-900);
}

.nav-toggle-line::before {
  transform: translateY(-7px);
}

.nav-toggle-line::after {
  transform: translateY(5px);
}

.hero,
.subpage-hero {
  color: var(--white);
  background:
    linear-gradient(125deg, rgba(11, 47, 87, 0.97), rgba(18, 90, 156, 0.91) 58%, rgba(22, 116, 79, 0.86)),
    url("../images/glass-repair-placeholder.svg") center / cover;
}

.hero {
  padding: 56px 0 50px;
}

.subpage-hero {
  padding: 78px 0 64px;
}

.commercial-hero {
  background:
    linear-gradient(125deg, rgba(11, 47, 87, 0.96), rgba(18, 90, 156, 0.9) 58%, rgba(22, 116, 79, 0.84)),
    url("../images/commercial-window-repair-placeholder.svg") center / cover;
}

.commercial-hero .commercial-hero-title {
  display: grid;
  gap: 0.04em;
}

.commercial-hero .hero-title-line {
  display: block;
}

.commercial-hero .hero-title-line--nowrap {
  max-width: 100%;
  white-space: nowrap;
}

.commercial-hero .hero-title-line--smaller {
  font-size: clamp(1rem, 6.2vw, 0.66em);
  line-height: 1.08;
}

.commercial-hero-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.commercial-hero-photo {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.commercial-hero-photo img {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.home-photo-hero {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  background: #ffffff;
}

.home-photo-hero img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-stats-overlay {
  position: absolute;
  left: 50%;
  bottom: 24px;
  width: min(92%, 1100px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  z-index: 2;
  transform: translateX(-50%);
}

.hero-stat-card {
  min-width: 0;
  padding: 16px 18px;
  text-align: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

.hero-stat-card strong,
.hero-stat-card span {
  display: block;
  text-align: center;
}

.hero-stat-card strong {
  margin-bottom: 8px;
  color: #062b55;
  font-size: 1.65rem;
  line-height: 1;
}

.hero-stat-card span {
  color: #334155;
  line-height: 1.35;
}

.hero-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.hero h1,
.subpage-hero h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(2.05rem, 6vw, 4.55rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.subpage-hero h1 {
  font-size: clamp(2.1rem, 5vw, 4.2rem);
}

.hero-text,
.subpage-hero p:not(.eyebrow) {
  max-width: 770px;
  margin: 20px 0 0;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.9);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green-700);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.hero .eyebrow,
.subpage-hero .eyebrow {
  color: #a8f0ce;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.hero-proof span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  color: rgba(255, 255, 255, 0.94);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(10, 47, 87, 0.16);
}

.button-primary {
  color: var(--blue-900);
  background: var(--white);
}

.button-secondary {
  color: var(--blue-900);
  background: var(--green-100);
  border-color: rgba(22, 116, 79, 0.18);
}

.button-phone {
  color: var(--white);
  background: var(--green-700);
}

.hero-callout {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(11, 47, 87, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  font-weight: 700;
}

.hero-callout a {
  color: var(--white);
  font-weight: 900;
  text-decoration: none;
}

.hero-panel {
  position: relative;
  display: none;
}

.hero-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: linear-gradient(145deg, var(--blue-100), var(--green-100));
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-card {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 18px;
  color: var(--ink);
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-card strong,
.hero-card span {
  display: block;
}

.hero-card strong {
  color: var(--blue-900);
}

.hero-card span {
  margin-top: 4px;
  color: var(--muted);
}

.section {
  padding: 64px 0;
}

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

.section-heading h2,
.split h2,
.contact-section h2,
.technical-grid h2,
.project-grid h2,
.safety-grid h2 {
  margin: 0;
  color: var(--blue-900);
  font-size: clamp(1.75rem, 4vw, 2.55rem);
  line-height: 1.16;
  letter-spacing: 0;
}

.trust-strip {
  padding: 18px 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.snapshot {
  background: var(--off-white);
}

.stat-grid,
.card-grid,
.path-grid,
.contact-grid,
.split {
  display: grid;
  gap: 18px;
}

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

.stat,
.service-card,
.path,
.branch-card,
.form-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.stat {
  padding: 16px;
  box-shadow: 0 8px 24px rgba(10, 47, 87, 0.06);
}

.stat strong,
.stat span {
  display: block;
}

.stat strong {
  color: var(--green-700);
  font-size: 1.48rem;
  line-height: 1.1;
}

.stat span {
  margin-top: 6px;
  color: var(--muted);
}

.service-card,
.path {
  padding: 24px;
}

.service-card {
  min-height: 210px;
  border-top: 4px solid var(--blue-700);
  box-shadow: 0 12px 30px rgba(10, 47, 87, 0.08);
}

.service-card:nth-child(even) {
  border-top-color: var(--green-700);
}

.service-marker {
  width: 38px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 16px;
  color: var(--blue-900);
  background: var(--blue-100);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 900;
}

.service-card:nth-child(even) .service-marker {
  background: var(--green-100);
}

.video-embed-card {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.video-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--blue-900);
  border-radius: var(--radius);
}

.video-frame video,
.project-video,
.case-study-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-frame video,
.project-video,
.case-study-video {
  display: block;
  object-fit: contain;
  background: var(--blue-900);
}

.video-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.case-study-card {
  display: grid;
  gap: 18px;
  align-items: center;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--green-700);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(10, 47, 87, 0.08);
}

.case-study-card h3 {
  margin: 10px 0 6px;
  color: var(--blue-900);
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.16;
}

.case-study-card p {
  margin: 0;
  color: var(--muted);
}

.case-study-list {
  display: grid;
  gap: 18px;
}

.case-study-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.1rem;
  color: #062b55;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  background: #e9f8f2;
  border: 1px solid rgba(22, 132, 95, 0.28);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(6, 43, 85, 0.08);
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.case-study-card-link::after {
  content: "->";
  font-weight: 900;
}

.case-study-card-link:hover,
.case-study-card-link:focus-visible {
  color: var(--white);
  background: var(--green-700);
  border-color: var(--green-700);
  transform: translateY(-1px);
}

.case-study-card-link:focus-visible {
  outline: 3px solid rgba(22, 132, 95, 0.25);
  outline-offset: 3px;
}

.testimonials-list {
  display: grid;
  gap: 28px;
}

.testimonial-card {
  display: grid;
  gap: 24px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(10, 47, 87, 0.09);
}

.testimonial-video {
  align-self: start;
  overflow: hidden;
  background: var(--blue-900);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.testimonial-video video {
  display: block;
  width: 100%;
  height: auto;
  background: var(--blue-900);
}

.testimonial-content {
  display: grid;
  gap: 12px;
}

.testimonial-content h3 {
  margin: 0;
  color: var(--blue-900);
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  line-height: 1.14;
}

.testimonial-content p {
  margin: 0;
  color: var(--muted);
}

.testimonial-subtitle {
  color: var(--ink);
  font-weight: 800;
}

.testimonial-highlight {
  padding: 14px 16px;
  color: var(--blue-900);
  background: var(--green-100);
  border-left: 4px solid var(--green-700);
  border-radius: 8px;
  font-weight: 800;
}

.testimonial-points {
  display: grid;
  gap: 8px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.testimonial-points li {
  position: relative;
  padding-left: 25px;
  color: var(--ink);
}

.testimonial-points li::before {
  position: absolute;
  left: 2px;
  top: 0.38em;
  width: 10px;
  height: 6px;
  content: "";
  border-left: 2px solid var(--green-700);
  border-bottom: 2px solid var(--green-700);
  transform: rotate(-45deg);
}

.case-subtitle {
  margin-bottom: 12px;
  color: var(--ink);
  font-weight: 800;
}

.case-category {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  color: var(--green-700);
  background: var(--green-100);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-category {
  margin: 0 0 12px;
  color: var(--blue-900);
  background: var(--white);
}

.case-video-placeholder {
  min-height: 320px;
  display: grid;
  place-items: center;
  gap: 18px;
  padding: 34px;
  color: var(--white);
  text-align: center;
  background:
    linear-gradient(135deg, rgba(11, 47, 87, 0.94), rgba(18, 90, 156, 0.88), rgba(22, 116, 79, 0.86)),
    url("../images/glass-repair-placeholder.svg") center / cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.case-video-placeholder h3 {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  line-height: 1.16;
}

.video-play {
  width: 74px;
  height: 74px;
  display: inline-grid;
  place-items: center;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

.video-play::before {
  width: 0;
  height: 0;
  margin-left: 5px;
  content: "";
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 22px solid var(--green-700);
}

.case-summary-grid,
.related-grid {
  display: grid;
  gap: 16px;
}

.case-summary-panel,
.related-card {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(10, 47, 87, 0.07);
}

.case-summary-panel h3 {
  margin: 0 0 8px;
  color: var(--blue-900);
  font-size: 1.1rem;
}

.case-summary-panel p {
  margin: 0;
  color: var(--muted);
}

.related-card {
  display: grid;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
  border-top: 4px solid var(--blue-700);
}

.related-card:nth-child(even) {
  border-top-color: var(--green-700);
}

.related-card strong {
  color: var(--blue-900);
  font-size: 1.05rem;
}

.related-card span {
  color: var(--muted);
}

.related-card:hover,
.related-card:focus {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.service-card h3,
.path h3 {
  margin: 0 0 10px;
  color: var(--blue-900);
  font-size: 1.14rem;
}

.service-card p,
.path p,
.split p,
.project-grid p,
.technical-intro p,
.technical-card p,
.contact-section p {
  margin: 0;
  color: var(--muted);
}

.service-card p + p,
.split p + p {
  margin-top: 14px;
}

.feature-band {
  background: linear-gradient(90deg, var(--blue-100), var(--green-100));
}

.technical-section {
  background: linear-gradient(120deg, var(--blue-900), #0f477c 62%, var(--green-700));
}

.technical-grid {
  display: grid;
  gap: 22px;
  align-items: start;
}

.technical-section .eyebrow,
.technical-section h2 {
  color: var(--white);
}

.technical-intro p {
  max-width: 620px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
}

.technical-card {
  padding: 24px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.issue-list {
  display: grid;
  gap: 12px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.issue-list li {
  padding: 14px;
  background: var(--off-white);
  border-left: 4px solid var(--green-700);
  border-radius: 8px;
}

.issue-list strong,
.issue-list span {
  display: block;
}

.issue-list strong {
  color: var(--blue-900);
}

.issue-list span {
  margin-top: 3px;
  color: var(--muted);
}

.paths {
  background: var(--off-white);
}

.path {
  display: grid;
  align-content: start;
  gap: 16px;
  box-shadow: 0 12px 30px rgba(10, 47, 87, 0.08);
}

.path-commercial {
  color: var(--white);
  background: var(--blue-900);
  border-color: var(--blue-900);
}

.path-commercial h3,
.path-commercial p,
.path-commercial .check-list li {
  color: var(--white);
}

.path-commercial .check-list li::before {
  border-color: #a8f0ce;
}

.text-link {
  color: var(--green-700);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus {
  text-decoration: underline;
}

.compact-list {
  margin-top: 0;
}

.compact-list li {
  color: var(--ink);
}

.project-section {
  background: var(--white);
}

.project-grid {
  display: grid;
  gap: 24px;
  align-items: start;
}

.project-grid p {
  margin-top: 18px;
}

.experience-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.experience-list span {
  display: block;
  padding: 14px 16px;
  color: var(--blue-900);
  background: var(--off-white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--green-700);
  border-radius: 8px;
  font-weight: 800;
}

.safety-preview {
  background: var(--blue-900);
}

.safety-preview h2,
.safety-preview .eyebrow {
  color: var(--white);
}

.safety-preview p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.safety-preview .button {
  margin-top: 18px;
}

.safety-grid {
  display: grid;
  gap: 24px;
  align-items: start;
}

.safety-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

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

.safety-list li {
  padding: 12px 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  font-weight: 700;
}

.contact-section {
  background: var(--off-white);
}

.case-cta-panel {
  max-width: 860px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--green-700);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.case-cta-panel .hero-actions {
  margin-top: 22px;
}

.case-cta-panel .cta-actions--inline {
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
}

.case-cta-panel .cta-actions--inline .button {
  min-height: 44px;
  padding: 10px 14px;
  font-size: clamp(0.82rem, 0.88vw, 0.95rem);
  white-space: nowrap;
}

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

.check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--ink);
}

.check-list li::before {
  position: absolute;
  left: 2px;
  top: 0.35em;
  width: 11px;
  height: 6px;
  content: "";
  border-left: 2px solid var(--green-700);
  border-bottom: 2px solid var(--green-700);
  transform: rotate(-45deg);
}

.branch-card {
  padding: 24px;
  box-shadow: var(--shadow);
}

.branch-card h2,
.form-card h2 {
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.form-card {
  padding: 24px;
  box-shadow: var(--shadow);
}

.commercial-form {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  gap: 16px;
}

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

.form-field label {
  color: var(--blue-900);
  font-size: 0.94rem;
  font-weight: 700;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  min-width: 0;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field textarea {
  min-height: 112px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--blue-700);
  box-shadow: 0 0 0 3px rgba(19, 92, 150, 0.14);
}

.form-field-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.form-message {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 700;
}

.form-message[hidden] {
  display: none;
}

.form-message.is-success {
  color: var(--green-900);
  background: var(--green-100);
  border: 1px solid rgba(26, 124, 92, 0.28);
}

.form-message.is-error {
  color: #7a1c1c;
  background: #fff1f1;
  border: 1px solid rgba(150, 36, 36, 0.24);
}

.form-note {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.form-note a {
  color: var(--blue-900);
  font-weight: 700;
}

.booking-form-card {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.booking-form-card h2 {
  margin: 0 0 18px;
  color: var(--blue-900);
  font-size: 1.55rem;
  line-height: 1.2;
}

.booking-form {
  display: grid;
  gap: 14px;
}

.booking-form-status {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 700;
}

.booking-form-status[hidden] {
  display: none;
}

.booking-form-status.is-success {
  color: var(--green-700);
  background: var(--green-100);
  border: 1px solid rgba(26, 124, 92, 0.28);
}

.booking-form-status.is-error {
  color: #7a1c1c;
  background: #fff1f1;
  border: 1px solid rgba(150, 36, 36, 0.24);
}

.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.booking-field {
  display: block;
}

.booking-field input,
.booking-field textarea {
  width: 100%;
  min-width: 0;
  padding: 14px 16px;
  color: var(--ink);
  font: inherit;
  background: #fbfdff;
  border: 1px solid #dbe5ee;
  border-radius: 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.booking-field textarea {
  min-height: 128px;
  resize: vertical;
}

.booking-field input::placeholder,
.booking-field textarea::placeholder {
  color: #94a3b8;
}

.booking-field input:focus,
.booking-field textarea:focus {
  background: var(--white);
  border-color: var(--blue-700);
  box-shadow: 0 0 0 3px rgba(18, 90, 156, 0.13);
}

.booking-upload {
  min-height: 116px;
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 22px 16px;
  color: #607083;
  text-align: center;
  background: #f8fbfe;
  border: 1px dashed #b8c7d6;
  border-radius: 16px;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.booking-upload:hover,
.booking-upload:focus-within {
  background: var(--blue-100);
  border-color: var(--blue-700);
}

.booking-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.booking-upload strong {
  color: var(--blue-700);
}

.booking-upload small {
  color: #94a3b8;
  font-size: 0.86rem;
}

.booking-submit-row {
  display: flex;
  justify-content: flex-end;
}

address {
  display: grid;
  gap: 10px;
  font-style: normal;
}

address a {
  display: block;
  padding: 12px;
  color: var(--blue-900);
  background: var(--blue-100);
  border-radius: 8px;
  text-decoration: none;
}

address a:hover,
address a:focus {
  background: var(--green-100);
}

.site-footer {
  padding: 36px 0 92px;
  color: rgba(255, 255, 255, 0.82);
  background: var(--blue-900);
}

.footer-inner {
  display: grid;
  gap: 22px;
}

.site-footer p {
  margin: 0;
}

.footer-brand strong {
  display: block;
  color: var(--white);
  font-size: 1.2rem;
}

.footer-brand p {
  max-width: 380px;
  margin-top: 6px;
}

.footer-contact {
  display: grid;
  gap: 8px;
}

.footer-contact a {
  padding: 0;
  color: rgba(255, 255, 255, 0.88);
  background: transparent;
  border-radius: 0;
}

.footer-contact a:hover,
.footer-contact a:focus {
  color: var(--white);
  background: transparent;
  text-decoration: underline;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links a {
  padding: 9px 12px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  text-decoration: none;
}

.social-links a:hover,
.social-links a:focus {
  background: rgba(255, 255, 255, 0.1);
}

.footer-bottom {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.9rem;
}

.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px rgba(10, 47, 87, 0.12);
}

.mobile-cta a {
  min-height: 56px;
  display: grid;
  place-items: center;
  color: var(--blue-900);
  font-weight: 800;
  text-decoration: none;
  border-right: 1px solid var(--line);
}

.mobile-cta a:first-child {
  color: var(--white);
  background: var(--green-700);
}

.mobile-cta a:last-child {
  border-right: 0;
}

.academy-page {
  background: #ffffff;
}

.academy-page .eyebrow {
  color: var(--academy-blue);
}

.academy-page .button-primary.academy-primary-button {
  color: var(--academy-navy);
  background: var(--academy-cyan);
  border-color: rgba(34, 211, 238, 0.5);
}

.academy-page .button-secondary,
.academy-page .button-secondary.academy-secondary-button {
  color: var(--academy-navy);
  background: #e0f2fe;
  border-color: rgba(2, 132, 199, 0.22);
}

.academy-hero {
  position: relative;
  overflow: hidden;
  padding: 62px 0;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(6, 21, 38, 0.99), rgba(11, 34, 56, 0.98) 54%, rgba(2, 84, 128, 0.92)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: auto, 42px 42px, 42px 42px;
}

.academy-hero-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.academy-hero .eyebrow,
.academy-dark-section .eyebrow,
.academy-fenipax-section .eyebrow,
.academy-final-cta .eyebrow {
  color: var(--academy-cyan);
}

.academy-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: 2.18rem;
  line-height: 1.03;
  letter-spacing: 0;
}

.academy-hero-text {
  max-width: 720px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
}

.academy-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.academy-badges span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  color: rgba(255, 255, 255, 0.94);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 800;
}

.academy-dashboard {
  padding: 22px;
  background: rgba(8, 27, 47, 0.84);
  border: 1px solid var(--academy-border);
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.academy-dashboard-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--academy-border);
}

.academy-panel-label {
  display: block;
  margin-bottom: 6px;
  color: var(--academy-cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.academy-dashboard h2 {
  margin: 0;
  color: var(--white);
  font-size: 1.45rem;
  line-height: 1.1;
}

.academy-status-pill {
  flex: 0 0 auto;
  padding: 7px 10px;
  color: var(--academy-navy);
  background: var(--academy-cyan);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.academy-module-preview {
  display: grid;
  gap: 12px;
}

.academy-module-preview article {
  padding: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--academy-border);
  border-radius: 8px;
}

.academy-module-preview span {
  display: inline-grid;
  width: 34px;
  height: 28px;
  place-items: center;
  margin-bottom: 10px;
  color: var(--academy-cyan);
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 900;
}

.academy-module-preview h3,
.academy-module-preview p {
  margin: 0;
}

.academy-module-preview h3 {
  color: var(--white);
  font-size: 1.02rem;
  line-height: 1.2;
}

.academy-module-preview p {
  margin-top: 6px;
  color: var(--academy-muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.academy-dashboard-footer {
  display: grid;
  gap: 4px;
  margin-top: 14px;
  padding: 16px;
  color: var(--academy-muted);
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.22);
  border-radius: 8px;
}

.academy-dashboard-footer strong {
  color: var(--white);
}

.academy-split {
  display: grid;
  gap: 26px;
  align-items: start;
}

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

.academy-copy-stack p,
.academy-timeline-section p,
.academy-programme-section .section-heading p,
.academy-final-cta p {
  margin: 0;
  color: var(--muted);
}

.academy-split h2,
.academy-programme-section h2,
.academy-fit-grid h3,
.academy-faq-section h2 {
  color: var(--blue-900);
}

.academy-note {
  padding: 18px;
  color: var(--academy-navy);
  background: #e0f2fe;
  border: 1px solid rgba(2, 132, 199, 0.22);
  border-left: 5px solid var(--academy-blue);
  border-radius: var(--radius);
}

.academy-note strong,
.academy-note span {
  display: block;
}

.academy-note span {
  margin-top: 4px;
  color: #334155;
}

.fenipax-product-showcase {
  margin-top: 32px;
  padding: 24px;
  color: var(--white);
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.2), transparent 34%),
    linear-gradient(135deg, var(--academy-navy), var(--academy-panel) 70%, #075985);
  border: 1px solid var(--academy-border);
  border-radius: var(--radius);
  box-shadow: 0 24px 54px rgba(6, 21, 38, 0.22);
}

.fenipax-product-showcase__intro {
  max-width: 820px;
}

.fenipax-product-showcase__intro h3,
.fenipax-product-showcase__intro p {
  margin: 0;
}

.fenipax-product-showcase__intro h3 {
  margin-top: 8px;
  color: var(--white);
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.18;
}

.fenipax-product-showcase__intro > p:not(.eyebrow) {
  margin-top: 12px;
  color: var(--academy-muted);
}

.fenipax-product-showcase__caution {
  color: var(--academy-cyan) !important;
  font-weight: 700;
}

.fenipax-product-showcase__grid {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.fenipax-product-showcase__card {
  margin: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--academy-border);
  border-radius: var(--radius);
}

.fenipax-product-showcase__image {
  width: 100%;
  height: auto;
  background: var(--academy-navy);
}

.fenipax-product-showcase__caption {
  padding: 12px 14px 14px;
  color: var(--academy-muted);
  font-size: 0.94rem;
}

.academy-dark-section,
.academy-fenipax-section,
.academy-final-cta {
  color: var(--white);
  background:
    linear-gradient(135deg, var(--academy-navy), var(--academy-panel) 64%, #075985);
}

.academy-dark-section .section-heading h2,
.academy-fenipax-section h2,
.academy-final-cta h2 {
  color: var(--white);
}

.academy-dark-section .section-heading {
  max-width: 820px;
}

.academy-card-grid {
  display: grid;
  gap: 18px;
}

.academy-card,
.academy-module-card,
.academy-fit-card,
.academy-mini-grid article,
.academy-faq-list details {
  border-radius: var(--radius);
}

.academy-card {
  min-height: 186px;
  padding: 22px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--academy-border);
}

.academy-card h3,
.academy-card p,
.academy-module-card h3,
.academy-module-card p,
.academy-mini-grid h3,
.academy-mini-grid p {
  margin: 0;
}

.academy-card h3 {
  color: var(--white);
  font-size: 1.14rem;
}

.academy-card p {
  margin-top: 10px;
  color: var(--academy-muted);
}

.academy-programme-section {
  background: var(--off-white);
}

.academy-programme-section .section-heading p {
  max-width: 760px;
  margin-top: 14px;
}

.academy-module-card {
  min-height: 238px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--academy-blue);
  box-shadow: 0 12px 30px rgba(10, 47, 87, 0.08);
}

.academy-module-card:nth-child(even) {
  border-top-color: #0ea5e9;
}

.academy-module-card h3 {
  color: var(--blue-900);
  font-size: 1.14rem;
}

.academy-module-card p {
  margin-top: 10px;
  color: var(--muted);
}

.academy-section-action {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.academy-section-action-left {
  justify-content: flex-start;
  margin-top: 4px;
}

.academy-timeline-section {
  background: #ffffff;
}

.academy-timeline-section .hero-actions {
  margin-top: 22px;
}

.academy-timeline {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: academy-timeline;
}

.academy-timeline li {
  position: relative;
  min-height: 88px;
  padding: 16px 16px 16px 62px;
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.academy-timeline li::before {
  position: absolute;
  left: 16px;
  top: 18px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  counter-increment: academy-timeline;
  content: counter(academy-timeline);
  color: var(--white);
  background: var(--academy-blue);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 900;
}

.academy-timeline span,
.academy-timeline strong {
  display: block;
}

.academy-timeline span {
  color: var(--muted);
  font-size: 0.92rem;
}

.academy-timeline strong {
  margin-top: 4px;
  color: var(--blue-900);
  line-height: 1.3;
}

.academy-fit-grid {
  display: grid;
  gap: 18px;
}

.academy-fit-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(10, 47, 87, 0.08);
}

.academy-fit-card-muted {
  background: var(--off-white);
}

.academy-fit-card h3 {
  margin: 0 0 14px;
  font-size: 1.2rem;
}

.academy-fit-card .check-list {
  margin-top: 0;
}

.academy-plain-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: var(--ink);
}

.academy-plain-list li::marker {
  color: var(--academy-blue);
}

.academy-fenipax-section .academy-copy-stack p {
  color: rgba(255, 255, 255, 0.84);
}

.academy-careful-copy {
  padding: 16px;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.24);
  border-left: 5px solid var(--academy-cyan);
  border-radius: var(--radius);
  font-weight: 700;
}

.academy-mini-grid {
  display: grid;
  gap: 12px;
}

.academy-mini-grid article {
  padding: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--academy-border);
}

.academy-mini-grid h3 {
  color: var(--white);
  font-size: 1.06rem;
}

.academy-mini-grid p {
  margin-top: 6px;
  color: var(--academy-muted);
}

.academy-disclaimer {
  padding: 20px;
  background: #f8fbfe;
  border: 1px solid var(--line);
  border-left: 5px solid var(--academy-blue);
  border-radius: var(--radius);
}

.academy-disclaimer strong {
  display: block;
  margin-bottom: 8px;
  color: var(--blue-900);
  font-size: 1.05rem;
}

.academy-disclaimer p {
  margin: 0;
  color: var(--muted);
}

.academy-final-cta {
  text-align: center;
}

.academy-final-cta-inner {
  max-width: 820px;
}

.academy-final-cta h2 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.08;
}

.academy-final-cta p {
  max-width: 690px;
  margin: 16px auto 0;
  color: rgba(255, 255, 255, 0.84);
}

.academy-final-cta .hero-actions {
  justify-content: center;
}

.academy-final-cta .academy-cta-note {
  color: var(--academy-cyan);
  font-weight: 800;
}

.academy-faq-section {
  background: var(--off-white);
}

.academy-faq-list {
  display: grid;
  gap: 12px;
}

.academy-faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(10, 47, 87, 0.06);
}

.academy-faq-list summary {
  padding: 18px;
  color: var(--blue-900);
  cursor: pointer;
  font-weight: 900;
}

.academy-faq-list summary:focus-visible {
  outline: 3px solid rgba(2, 132, 199, 0.22);
  outline-offset: 2px;
}

.academy-faq-list p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

.academy-back-link {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  color: var(--academy-cyan);
  font-weight: 900;
  text-decoration: none;
}

.academy-back-link::before {
  content: "<";
  margin-right: 8px;
  font-weight: 900;
}

.academy-back-link:hover,
.academy-back-link:focus {
  text-decoration: underline;
}

.academy-training-page .academy-dark-section .section-heading p {
  max-width: 900px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.academy-training-page .academy-hero h1 {
  font-size: 2.08rem;
}

.academy-how-page .academy-hero h1 {
  font-size: 2.05rem;
}

.academy-module-detail {
  scroll-margin-top: 92px;
  background: var(--white);
}

.academy-module-detail-alt {
  background: var(--off-white);
}

.academy-module-heading {
  max-width: 860px;
  margin-bottom: 28px;
}

.academy-module-heading h2 {
  margin: 0;
  color: var(--blue-900);
  font-size: 2rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.academy-module-heading p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.03rem;
}

.academy-module-link {
  display: grid;
  align-content: start;
  min-height: 210px;
  padding: 24px;
  color: var(--ink);
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--academy-blue);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(10, 47, 87, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.academy-module-link:hover,
.academy-module-link:focus {
  border-color: rgba(2, 132, 199, 0.45);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.academy-module-link:focus-visible {
  outline: 3px solid rgba(34, 211, 238, 0.32);
  outline-offset: 3px;
}

.academy-module-link strong {
  display: block;
  color: var(--blue-900);
  font-size: 1.1rem;
  line-height: 1.24;
}

.academy-module-link span:last-child {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}

.academy-topic-grid {
  display: grid;
  gap: 18px;
}

.academy-topic-card {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--academy-blue);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(10, 47, 87, 0.07);
}

.academy-module-detail-alt .academy-topic-card {
  background: #ffffff;
}

.academy-topic-card h3 {
  margin: 0 0 12px;
  color: var(--blue-900);
  font-size: 1.08rem;
  line-height: 1.25;
}

.academy-topic-card ul,
.academy-outcomes-grid ul {
  margin: 0;
}

.academy-topic-card ul {
  display: grid;
  gap: 7px;
  padding-left: 20px;
  color: var(--muted);
}

.academy-topic-card li::marker {
  color: var(--academy-blue);
}

.academy-outcome-card {
  margin-top: 18px;
  padding: 20px;
  color: var(--academy-navy);
  background: #e0f2fe;
  border: 1px solid rgba(2, 132, 199, 0.22);
  border-left: 5px solid var(--academy-blue);
  border-radius: var(--radius);
}

.academy-outcome-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--blue-900);
  font-size: 1.05rem;
}

.academy-outcome-card p {
  margin: 0;
  color: #334155;
}

.academy-business-note,
.academy-fenipax-note {
  margin-top: 18px;
}

.academy-fenipax-note {
  display: block;
  color: rgba(255, 255, 255, 0.9);
}

.academy-module-detail-alt .academy-fenipax-note {
  color: var(--academy-navy);
  background: #e0f2fe;
  border-color: rgba(2, 132, 199, 0.22);
  border-left-color: var(--academy-blue);
}

.academy-outcomes-grid {
  display: grid;
  gap: 18px;
  margin-bottom: 22px;
}

.academy-outcomes-grid .check-list {
  margin-top: 0;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(10, 47, 87, 0.07);
}

.academy-workflow {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.academy-workflow li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--academy-border);
  border-radius: var(--radius);
}

.academy-workflow span {
  width: 36px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  color: var(--academy-cyan);
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 900;
}

.academy-workflow strong {
  color: var(--white);
  line-height: 1.25;
}

.academy-month-grid {
  display: grid;
  gap: 18px;
}

.academy-month-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--academy-blue);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(10, 47, 87, 0.08);
}

.academy-month-card span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 10px;
  color: var(--academy-navy);
  background: #e0f2fe;
  border: 1px solid rgba(2, 132, 199, 0.18);
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.academy-month-card h3 {
  margin: 0;
  color: var(--blue-900);
  font-size: 1.2rem;
  line-height: 1.18;
}

.academy-month-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.academy-month-card ul {
  display: grid;
  gap: 7px;
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.academy-month-card li::marker {
  color: var(--academy-blue);
}

.academy-section-note {
  margin-top: 22px;
}

.academy-list-card {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--academy-blue);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(10, 47, 87, 0.07);
}

.academy-application-steps {
  max-width: 940px;
}

.academy-final-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--academy-cyan);
  font-weight: 900;
  text-decoration: none;
}

.academy-final-link:hover,
.academy-final-link:focus {
  text-decoration: underline;
}

.academy-application-card {
  padding: clamp(18px, 3vw, 30px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.academy-application-form {
  gap: 22px;
}

.academy-form-section {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 20px;
  background: #f8fbfe;
  border: 1px solid #dbe5ee;
  border-left: 5px solid var(--academy-blue);
  border-radius: var(--radius);
}

.academy-form-section legend {
  padding: 0 8px;
  color: var(--blue-900);
  font-size: 1.08rem;
  font-weight: 900;
}

.academy-form-section .form-row {
  margin-top: 0;
}

.required-marker {
  color: var(--academy-blue);
  font-size: 0.82rem;
  font-weight: 900;
}

.academy-acknowledgements {
  background: #ffffff;
}

.academy-form-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.5;
}

.academy-form-check input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--academy-blue);
}

.academy-form-actions {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.academy-faq-card-grid {
  display: grid;
  gap: 18px;
}

.academy-faq-card {
  align-content: start;
}

.academy-faq-card p {
  margin: 0;
  color: var(--muted);
}

.academy-faq-inline-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 14px;
  color: var(--academy-blue);
  font-weight: 900;
  text-decoration: none;
}

.academy-faq-inline-link:hover,
.academy-faq-inline-link:focus {
  text-decoration: underline;
}

.academy-disclaimer ul {
  display: grid;
  gap: 7px;
  margin: 14px 0 0;
  color: var(--muted);
}

.academy-disclaimer li::marker {
  color: var(--academy-blue);
}

@media (min-width: 720px) {
  .hero,
  .subpage-hero {
    padding-block: 86px;
  }

  .academy-hero {
    padding: 60px 0;
  }

  .academy-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  }

  .academy-hero h1 {
    font-size: 3.1rem;
  }

  .academy-dashboard h2 {
    font-size: 1.7rem;
  }

  .academy-module-preview,
  .academy-mini-grid,
  .academy-fit-grid,
  .academy-outcomes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .academy-module-heading h2 {
    font-size: 2.45rem;
  }

  .academy-training-page .academy-hero h1 {
    font-size: 2.85rem;
  }

  .academy-how-page .academy-hero h1 {
    font-size: 2.65rem;
  }

  .academy-how-page .academy-hero-grid {
    grid-template-columns: 1fr;
  }

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

  .fenipax-product-showcase {
    padding: 30px;
  }

  .fenipax-product-showcase__grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.65fr);
    align-items: stretch;
  }

  .academy-final-cta h2 {
    font-size: 2.65rem;
  }

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

  .commercial-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
  }

  .hero-panel {
    display: block;
  }

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

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

  .split,
  .contact-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
  }

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

  .technical-grid,
  .project-grid,
  .safety-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

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

  .footer-inner {
    grid-template-columns: 1.3fr 1fr auto;
    align-items: start;
  }

  .case-study-card {
    grid-template-columns: 1fr auto;
  }

  .testimonial-card {
    grid-template-columns: minmax(260px, 0.86fr) minmax(0, 1.14fr);
    align-items: start;
  }

  .case-summary-grid,
  .related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .case-summary-wide {
    grid-column: span 2;
  }

  .footer-bottom {
    grid-column: 1 / -1;
  }
}

@media (max-width: 800px) {
  .hero-stats-overlay {
    position: static;
    width: auto;
    margin: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    transform: none;
  }

  .hero-stat-card {
    padding: 12px 14px;
  }

  .booking-submit-row {
    display: grid;
  }

  .booking-submit-row .button {
    width: 100%;
  }
}

@media (min-width: 980px) {
  body {
    padding-bottom: 0;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    border: 0;
    box-shadow: none;
  }

  .nav-item {
    position: relative;
    display: block;
  }

  .site-nav > .nav-link {
    flex: 0 0 auto;
  }

  .nav-parent {
    align-items: center;
  }

  .nav-parent .nav-link {
    flex: 0 1 auto;
    padding-right: 4px;
  }

  .nav-dropdown-toggle {
    width: 28px;
    min-width: 28px;
    min-height: 36px;
  }

  .site-nav a {
    padding: 9px 8px;
    font-size: 0.88rem;
    white-space: nowrap;
    overflow-wrap: normal;
  }

  .nav-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 35;
    min-width: 218px;
    display: none;
    margin: 0;
    padding: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-item--academy .nav-dropdown {
    right: 0;
    left: auto;
  }

  .nav-dropdown a {
    padding: 9px 10px;
    font-size: 0.88rem;
  }

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

  .academy-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .academy-topic-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .academy-workflow {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .academy-workflow li {
    align-content: start;
    grid-template-columns: 1fr;
    min-height: 126px;
  }

  .academy-month-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .academy-hero h1 {
    font-size: 3.55rem;
  }

  .academy-training-page .academy-hero h1 {
    font-size: 3.1rem;
  }

  .academy-how-page .academy-hero h1 {
    font-size: 2.75rem;
  }

  .academy-how-page .academy-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  }

  .academy-final-cta h2 {
    font-size: 3.15rem;
  }

  .site-footer {
    padding-bottom: 36px;
  }

  .mobile-cta {
    display: none;
  }
}

@media (min-width: 1200px) {
  .header-phone {
    display: inline-flex;
  }
}

@media (min-width: 1180px) {
  .academy-card-grid-five {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .case-cta-panel .cta-actions--inline {
    flex-wrap: wrap;
  }

  .case-cta-panel .cta-actions--inline .button {
    width: 100%;
    white-space: normal;
  }

  .commercial-hero .commercial-hero-title {
    font-size: clamp(1.65rem, 10vw, 1.95rem);
  }

  .academy-hero {
    padding: 54px 0 72px;
  }

  .academy-training-page .academy-hero {
    padding-top: 44px;
    padding-bottom: 112px;
  }

  .academy-how-page .academy-hero {
    padding-top: 44px;
    padding-bottom: 112px;
  }

  .academy-training-page .academy-hero h1 {
    font-size: 1.95rem;
  }

  .academy-how-page .academy-hero h1 {
    font-size: 1.92rem;
  }

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

  .academy-badges-five span:last-child {
    grid-column: 1 / -1;
  }

  .academy-badges span {
    width: 100%;
    min-height: 44px;
    padding: 7px 8px;
    font-size: 0.78rem;
    line-height: 1.25;
  }

  .brand-line {
    display: none;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .hero {
    padding: 42px 0 38px;
  }

  .hero-stats-overlay {
    grid-template-columns: 1fr;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .button,
  .hero-proof span,
  .hero-callout {
    width: 100%;
  }

  .service-card {
    min-height: auto;
  }
}
