:root {
  --navy-950: #061435;
  --navy-900: #0b1f4f;
  --navy-800: #122f72;
  --blue-600: #2758ba;
  --red-600: #d9091b;
  --red-500: #ef1428;
  --ink: #142039;
  --muted: #667085;
  --line: #dfe4ee;
  --surface: #f4f6fa;
  --white: #ffffff;
  --green: #25d366;
  --header-height: 86px;
  --container: 1180px;
  --shadow: 0 24px 60px rgba(7, 26, 69, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: "Manrope", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(239, 20, 40, 0.55);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 1000;
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy-900);
  border-radius: 0 0 8px 8px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  color: var(--white);
  background: linear-gradient(180deg, rgba(5, 17, 45, 0.8), rgba(5, 17, 45, 0));
  transition: background 0.25s ease, box-shadow 0.25s ease, height 0.25s ease;
}

.site-header.is-scrolled {
  height: 76px;
  background: rgba(6, 20, 53, 0.98);
  box-shadow: 0 10px 30px rgba(3, 11, 30, 0.22);
  backdrop-filter: blur(16px);
}

.header-shell {
  height: 100%;
  display: grid;
  grid-template-columns: 166px minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
}

.brand {
  width: 158px;
  height: 60px;
  display: flex;
  align-items: center;
  padding: 5px 9px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 5px;
  box-shadow: 0 8px 24px rgba(2, 11, 30, 0.15);
}

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

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(15px, 1.6vw, 26px);
}

.main-nav a {
  position: relative;
  padding: 10px 0;
  color: #f7f9ff;
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  background: var(--red-500);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.22s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

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

.button-header {
  min-height: 44px;
  padding: 12px 17px;
  color: var(--white);
  background: var(--red-600);
  box-shadow: 0 10px 28px rgba(217, 9, 27, 0.24);
}

.button-header:hover {
  background: var(--red-500);
}

.hero {
  position: relative;
  min-height: min(860px, 100svh);
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-950);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 0;
  width: 8px;
  background: var(--red-600);
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  z-index: -3;
}

.hero-media img {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(4, 17, 45, 0.97) 0%, rgba(4, 17, 45, 0.86) 40%, rgba(4, 17, 45, 0.26) 73%, rgba(4, 17, 45, 0.18) 100%),
    linear-gradient(0deg, rgba(4, 15, 40, 0.38), transparent 48%);
}

.hero-content {
  padding-top: calc(var(--header-height) + 58px);
  padding-bottom: 90px;
}

.hero-content > * {
  max-width: 730px;
}

.eyebrow {
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy-800);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 36px;
  height: 3px;
  display: inline-block;
  background: var(--red-600);
}

.eyebrow-light {
  color: #e8edfa;
}

.hero h1,
.section-heading h2,
.training-copy h2,
.certificate-copy h2,
.cta-content h2 {
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.hero h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(2.8rem, 6.3vw, 5.65rem);
  text-wrap: balance;
}

.hero-copy {
  margin: 26px 0 0;
  max-width: 670px;
  color: #dce4f5;
  font-size: clamp(1rem, 1.5vw, 1.16rem);
}

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

.button-primary {
  color: var(--white);
  background: var(--red-600);
  box-shadow: 0 14px 30px rgba(217, 9, 27, 0.26);
}

.button-primary:hover {
  background: var(--red-500);
  box-shadow: 0 18px 38px rgba(217, 9, 27, 0.34);
}

.button-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
}

.button-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.hero-trust {
  margin: 36px 0 0;
  padding: 0;
  display: flex;
  gap: 26px;
  list-style: none;
  color: #e7ecf7;
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-trust li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-trust i {
  color: #ff5363;
}

.scroll-cue {
  position: absolute;
  right: 32px;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.section {
  padding: 112px 0;
}

.section-heading {
  margin-bottom: 56px;
}

.section-heading h2,
.training-copy h2,
.certificate-copy h2,
.cta-content h2 {
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(2rem, 4vw, 3.7rem);
  text-wrap: balance;
}

.section-heading > p:last-child {
  color: var(--muted);
}

.split-heading {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  align-items: end;
  gap: 80px;
}

.split-heading > p {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.centered {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.centered .eyebrow {
  justify-content: center;
}

.centered > p:last-child {
  max-width: 630px;
  margin: 20px auto 0;
}

.section-differentials {
  position: relative;
  background:
    radial-gradient(circle at 96% 5%, rgba(39, 88, 186, 0.1), transparent 28%),
    var(--surface);
}

.differentials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.differential-card {
  position: relative;
  min-height: 300px;
  padding: 38px 30px 34px;
  background: rgba(255, 255, 255, 0.58);
  border-right: 1px solid var(--line);
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.differential-card:last-child {
  border-right: 0;
}

.differential-card > i {
  margin: 34px 0 26px;
  color: var(--red-600);
  font-size: 2rem;
}

.differential-card h3 {
  margin: 0 0 12px;
  color: var(--navy-950);
  font-size: 1.12rem;
  line-height: 1.25;
}

.differential-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.card-number {
  color: #98a4bb;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.differential-card:hover {
  z-index: 2;
  background: var(--navy-900);
  box-shadow: var(--shadow);
  transform: translateY(-8px);
}

.differential-card:hover h3,
.differential-card:hover p,
.differential-card:hover .card-number {
  color: var(--white);
}

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

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

.service-card {
  position: relative;
  min-height: 350px;
  overflow: hidden;
  background: var(--navy-950);
  border-radius: 5px;
  box-shadow: 0 12px 34px rgba(7, 27, 70, 0.13);
  isolation: isolate;
}

.service-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(0deg, rgba(4, 17, 45, 0.97) 6%, rgba(4, 17, 45, 0.72) 46%, rgba(4, 17, 45, 0.06) 76%);
  transition: background 0.3s ease;
}

.service-card img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.service-card:hover img {
  transform: scale(1.055);
  filter: saturate(1.08);
}

.service-content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 25px 24px 26px;
  color: var(--white);
}

.service-content span {
  display: block;
  margin-bottom: 8px;
  color: #ff5969;
  font-size: 0.69rem;
  font-weight: 800;
}

.service-content h3 {
  margin: 0 0 7px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.service-content p {
  margin: 0;
  color: #dce5f6;
  font-size: 0.83rem;
  line-height: 1.45;
}

.section-action {
  margin-top: 42px;
  text-align: center;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 7px;
  color: var(--navy-900);
  border-bottom: 2px solid var(--red-600);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-link i {
  transition: transform 0.2s ease;
}

.text-link:hover i {
  transform: translateX(5px);
}

.section-training {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.025), transparent 25%),
    var(--navy-950);
}

.section-training::after {
  content: "NR";
  position: absolute;
  right: -30px;
  bottom: -110px;
  color: rgba(255, 255, 255, 0.026);
  font-family: "Montserrat", sans-serif;
  font-size: 21rem;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.training-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 84px;
}

.training-copy h2 {
  color: var(--white);
}

.training-copy h2 em {
  color: #ff4c5e;
  font-style: normal;
}

.training-copy > p:not(.eyebrow) {
  margin: 24px 0 0;
  color: #cdd8eb;
}

.training-tags {
  margin: 28px 0 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.training-tags span {
  padding: 8px 12px;
  color: #f3f6fb;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.72rem;
  font-weight: 700;
}

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

.button-light:hover {
  color: var(--white);
  background: var(--red-600);
}

.training-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 255px 190px;
  gap: 10px;
}

.training-gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
}

.training-gallery figure::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  pointer-events: none;
}

.training-gallery .gallery-main {
  grid-column: span 2;
}

.training-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.training-gallery figure:hover img {
  transform: scale(1.04);
}

.section-certificates {
  background:
    radial-gradient(circle at 84% 10%, rgba(39, 88, 186, 0.09), transparent 25%),
    var(--surface);
}

.certificate-card {
  min-height: 280px;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px;
  padding: 50px;
  background: var(--white);
  border-top: 5px solid var(--red-600);
  box-shadow: var(--shadow);
}

.certificate-icon {
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--navy-900);
  border-radius: 50%;
  box-shadow: inset 0 0 0 12px rgba(255, 255, 255, 0.06);
  font-size: 2.6rem;
}

.certificate-copy h2 {
  font-size: clamp(2rem, 3.2vw, 3.15rem);
}

.certificate-copy > p:not(.eyebrow) {
  max-width: 660px;
  margin: 14px 0 0;
  color: var(--muted);
}

.certificate-copy .certificate-note {
  color: var(--navy-800);
  font-size: 0.82rem;
  font-weight: 700;
}

.button-dark {
  color: var(--white);
  background: var(--navy-900);
}

.button-dark:hover {
  background: var(--red-600);
}

.cta-section {
  position: relative;
  min-height: 570px;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
}

.cta-media,
.cta-media img,
.cta-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.cta-media {
  z-index: -2;
}

.cta-media img {
  object-fit: cover;
  object-position: center 45%;
}

.cta-overlay {
  z-index: -1;
  background: rgba(5, 20, 53, 0.85);
}

.cta-content {
  max-width: 850px;
  text-align: center;
}

.cta-content .eyebrow {
  justify-content: center;
}

.cta-content h2 {
  color: var(--white);
  font-size: clamp(2.4rem, 5vw, 4.6rem);
}

.cta-content > p:not(.eyebrow) {
  max-width: 680px;
  margin: 24px auto 32px;
  color: #e1e8f5;
  font-size: 1.05rem;
}

.whatsapp-cta {
  color: #072616;
  background: var(--green);
  box-shadow: 0 16px 40px rgba(37, 211, 102, 0.28);
}

.whatsapp-cta:hover {
  background: #3ee078;
}

.site-footer {
  color: #d4dced;
  background: #040f29;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.75fr 0.85fr;
  gap: 80px;
  padding-top: 72px;
  padding-bottom: 58px;
}

.footer-brand img {
  width: 190px;
  height: 90px;
  padding: 8px 12px;
  object-fit: contain;
  object-position: left center;
  background: var(--white);
  border-radius: 5px;
}

.footer-brand p {
  max-width: 400px;
  margin: 18px 0 0;
  color: #95a4bf;
  font-size: 0.88rem;
}

.site-footer h2 {
  margin: 10px 0 22px;
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.site-footer nav,
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.site-footer nav a,
.footer-contact a {
  color: #b9c4d8;
  font-size: 0.87rem;
  transition: color 0.2s ease;
}

.site-footer nav a:hover,
.footer-contact a:hover {
  color: var(--white);
}

.footer-contact i {
  width: 20px;
  color: #ff4b5e;
  text-align: center;
}

.footer-contact p {
  margin: 7px 0 0;
  color: #7f8ea9;
  font-size: 0.8rem;
}

.footer-bottom {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: #7787a3;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.76rem;
}

.footer-bottom a {
  color: #bcc7d9;
}

.whatsapp-float {
  position: fixed;
  z-index: 500;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  max-width: calc(100vw - 40px);
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 13px 19px;
  color: var(--white);
  background: var(--green);
  border-radius: 999px;
  box-shadow: 0 16px 36px rgba(7, 38, 21, 0.26);
  font-size: 0.83rem;
  font-weight: 800;
  line-height: 1;
  animation: whatsappPulse 2.2s infinite;
  transition: background 0.2s ease, scale 0.2s ease;
}

.whatsapp-float:hover {
  background: #20bf5b;
  scale: 1.04;
}

.whatsapp-icon-wrapper {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transform: none !important;
  rotate: 0deg !important;
}

.whatsapp-icon-wrapper i,
.whatsapp-float i,
.whatsapp-float svg,
.whatsapp-float svg path,
.whatsapp-cta i,
.footer-contact .fa-whatsapp {
  display: block;
  transform: none !important;
  rotate: 0deg !important;
}

.whatsapp-icon-wrapper i {
  font-size: 27px;
  line-height: 1;
}

@keyframes whatsappPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.43), 0 16px 36px rgba(7, 38, 21, 0.26);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(37, 211, 102, 0), 0 16px 36px rgba(7, 38, 21, 0.26);
  }
}

.certificate-dialog {
  width: min(520px, calc(100% - 32px));
  padding: 42px;
  color: var(--ink);
  background: var(--white);
  border: 0;
  border-top: 5px solid var(--red-600);
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(3, 13, 37, 0.4);
}

.certificate-dialog::backdrop {
  background: rgba(3, 13, 37, 0.78);
  backdrop-filter: blur(6px);
}

.certificate-dialog h2 {
  margin: 0;
  color: var(--navy-950);
  font-family: "Montserrat", sans-serif;
  font-size: 2rem;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.certificate-dialog > p:not(.eyebrow) {
  margin: 18px 0 26px;
  color: var(--muted);
}

.dialog-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 25px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--navy-900);
  border-radius: 50%;
  font-size: 1.55rem;
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--navy-900);
  background: var(--surface);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

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

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

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

@media (max-width: 1100px) {
  .header-shell {
    grid-template-columns: 150px minmax(0, 1fr) auto;
    gap: 16px;
  }

  .main-nav {
    gap: 14px;
  }

  .main-nav a {
    font-size: 0.76rem;
  }

  .button-header {
    display: none;
  }

  .header-shell {
    grid-template-columns: 160px minmax(0, 1fr);
  }

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

  .service-card {
    min-height: 390px;
  }

  .training-layout {
    gap: 50px;
  }
}

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

  .site-header,
  .site-header.is-scrolled {
    height: var(--header-height);
    background: rgba(6, 20, 53, 0.99);
  }

  .header-shell {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .brand {
    width: 138px;
    height: 54px;
    padding: 5px 8px;
  }

  .menu-toggle {
    width: 46px;
    height: 46px;
    display: grid;
    place-content: center;
    gap: 5px;
    padding: 0;
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 7px;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 22px;
    height: 2px;
    display: block;
    background: currentColor;
    transition: transform 0.22s ease, opacity 0.22s ease;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    z-index: 99;
    top: var(--header-height);
    right: 0;
    left: 0;
    max-height: calc(100svh - var(--header-height));
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 20px max(20px, calc((100vw - var(--container)) / 2));
    overflow-y: auto;
    visibility: hidden;
    color: var(--white);
    background: #081a43;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 40px rgba(2, 10, 26, 0.34);
    opacity: 0;
    transform: translateY(-12px);
    transition: visibility 0.22s ease, opacity 0.22s ease, transform 0.22s ease;
  }

  .main-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  .main-nav a {
    padding: 14px 4px;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
  }

  .main-nav a::after {
    display: none;
  }

  .hero {
    min-height: 820px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(4, 17, 45, 0.95), rgba(4, 17, 45, 0.67));
  }

  .split-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

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

  .differential-card:nth-child(2) {
    border-right: 0;
  }

  .differential-card:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .training-layout {
    grid-template-columns: 1fr;
  }

  .training-copy {
    max-width: 720px;
  }

  .certificate-card {
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .certificate-card .button {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .section {
    padding: 78px 0;
  }

  .hero {
    min-height: 760px;
    align-items: flex-end;
  }

  .hero::before {
    width: 5px;
  }

  .hero-media img {
    object-position: 62% center;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(4, 17, 45, 0.98) 0%, rgba(4, 17, 45, 0.88) 49%, rgba(4, 17, 45, 0.35) 100%),
      linear-gradient(90deg, rgba(4, 17, 45, 0.58), transparent);
  }

  .hero-content {
    padding-top: 180px;
    padding-bottom: 50px;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 11.6vw, 3.45rem);
    line-height: 1.03;
  }

  .hero-copy {
    margin-top: 20px;
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    margin-top: 28px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-trust {
    gap: 12px 18px;
    flex-wrap: wrap;
    margin-top: 24px;
    font-size: 0.76rem;
  }

  .scroll-cue {
    display: none;
  }

  .eyebrow {
    margin-bottom: 14px;
    font-size: 0.67rem;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .section-heading h2,
  .training-copy h2,
  .certificate-copy h2 {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

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

  .differential-card {
    min-height: 0;
    padding: 28px 24px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .differential-card:last-child {
    border-bottom: 0;
  }

  .differential-card > i {
    margin: 24px 0 18px;
  }

  .differential-card:hover {
    transform: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .service-card {
    min-height: 380px;
  }

  .training-gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 240px repeat(2, 150px);
  }

  .training-gallery .gallery-main {
    grid-column: span 2;
  }

  .certificate-card {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 30px 24px;
  }

  .certificate-icon {
    width: 86px;
    height: 86px;
    font-size: 2rem;
  }

  .certificate-card .button {
    grid-column: auto;
    width: 100%;
  }

  .cta-section {
    min-height: 580px;
  }

  .cta-content h2 {
    font-size: clamp(2.25rem, 11vw, 3.4rem);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 56px;
    padding-bottom: 42px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px 0;
  }

  .footer-bottom p {
    margin: 0;
  }

  .certificate-dialog {
    padding: 34px 24px 28px;
  }
}

@media (max-width: 480px) {
  .whatsapp-float {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    width: 56px;
    height: 56px;
    min-height: 56px;
    padding: 0;
    justify-content: center;
  }

  .whatsapp-float .whatsapp-label {
    display: none;
  }

  .training-gallery {
    grid-template-rows: 220px repeat(2, 135px);
  }

  .training-tags span {
    padding: 7px 10px;
    font-size: 0.68rem;
  }
}
