:root {
  --navy: #0b2e59;
  --navy-dark: #061b35;
  --yellow: #f4b400;
  --yellow-dark: #d89d00;
  --paper: #ffffff;
  --mist: #f8f9fa;
  --line: #e5e7eb;
  --text: #222222;
  --muted: #5e6a7d;
  --shadow: 0 20px 60px rgba(8, 28, 54, 0.12);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  color: var(--text);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.65;
}

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

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

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

section {
  scroll-margin-top: 126px;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: 10px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--paper);
  background: var(--navy);
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.top-strip {
  color: var(--paper);
  background: linear-gradient(90deg, var(--navy-dark), var(--navy));
  font-size: 14px;
}

.top-strip__inner,
.top-contact,
.rating-link {
  display: flex;
  align-items: center;
}

.top-strip__inner {
  min-height: 40px;
  justify-content: space-between;
  gap: 20px;
}

.rating-link,
.top-contact {
  gap: 12px;
}

.top-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
}

.top-contact img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.top-contact a + a {
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
}

.google-mark {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: #4285f4;
  background: var(--paper);
  border-radius: 50%;
  font-weight: 800;
}

.stars {
  --stars-fill: 100%;
  position: relative;
  display: inline-block;
  color: var(--yellow);
  font-weight: 800;
  white-space: nowrap;
}

.stars::before {
  color: rgba(255, 255, 255, 0.34);
  content: "★★★★★";
}

.stars::after {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--stars-fill);
  overflow: hidden;
  color: var(--yellow);
  content: "★★★★★";
  white-space: nowrap;
}

.stars {
  font-size: 0;
}

.stars::before,
.stars::after {
  font-size: 14px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(229, 231, 235, 0.85);
  backdrop-filter: blur(14px);
}

.nav-shell {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand img {
  width: auto;
  height: 74px;
  max-width: 250px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--navy-dark);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.main-nav a:not(.btn) {
  position: relative;
  padding: 12px 0;
}

.main-nav a:not(.btn)::after {
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 0;
  height: 3px;
  content: "";
  background: var(--yellow);
  transition: width 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn--primary {
  color: #07162a;
  background: var(--yellow);
  box-shadow: 0 12px 24px rgba(244, 180, 0, 0.25);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  color: #07162a;
  background: var(--yellow-dark);
  box-shadow: 0 14px 28px rgba(216, 157, 0, 0.28);
}

.btn--ghost {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

.btn--outline {
  color: var(--navy);
  border-color: var(--navy);
  background: var(--paper);
}

.hero {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  color: var(--paper);
  background: var(--navy-dark);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(100deg, rgba(3, 19, 39, 0.96) 0%, rgba(11, 46, 89, 0.9) 42%, rgba(11, 46, 89, 0.1) 70%),
    linear-gradient(0deg, rgba(6, 27, 53, 0.25), rgba(6, 27, 53, 0.25));
}

.hero::after {
  position: absolute;
  right: -80px;
  top: 0;
  z-index: 2;
  width: 260px;
  height: 100%;
  content: "";
  background: rgba(244, 180, 0, 0.82);
  transform: skewX(-14deg);
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.hero__inner {
  position: relative;
  z-index: 3;
  display: grid;
  min-height: 520px;
  align-items: center;
}

.hero__copy {
  max-width: 640px;
  padding: 70px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--yellow);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--navy-dark);
  line-height: 1.08;
}

.hero h1 {
  margin-bottom: 18px;
  color: var(--paper);
  font-size: clamp(44px, 7vw, 76px);
  font-weight: 800;
  text-transform: uppercase;
}

.hero__lead {
  max-width: 570px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
}

.hero__actions,
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.trust-row {
  margin-top: 28px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.trust-row span {
  padding-left: 18px;
  border-left: 4px solid var(--yellow);
}

.feature-rail {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.rail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.rail-grid article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 30px 22px;
  border-right: 1px solid var(--line);
}

.rail-grid article:last-child {
  border-right: 0;
}

.rail-icon {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.rail-grid h2,
.rail-grid p {
  margin: 0;
}

.rail-grid h2 {
  font-size: 16px;
  text-transform: uppercase;
}

.rail-grid p {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 92px 0;
}

.section--compact {
  padding: 58px 0 42px;
}

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

.section-head {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-head h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
}

.section-head p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.section-head--row {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

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

.training-card {
  display: grid;
  grid-template-columns: 92px 1.3fr 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 18px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(8, 28, 54, 0.06);
}

.training-icon {
  width: 78px;
  height: 78px;
  object-fit: contain;
}

.training-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  text-transform: uppercase;
}

.training-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--navy);
  font-weight: 700;
}

.training-details {
  min-width: 150px;
}

.note {
  margin: 18px 0 0;
  color: var(--muted);
  text-align: center;
}

.stats-band,
.reviews-strip,
.site-footer {
  color: var(--paper);
  background: linear-gradient(90deg, var(--navy-dark), var(--navy));
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stats-grid strong {
  display: grid;
  grid-template-columns: 66px 1fr;
  min-height: 102px;
  align-items: center;
  align-content: center;
  column-gap: 18px;
  padding: 22px 32px;
  color: var(--yellow);
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.05;
}

.stats-grid strong:last-child {
  border-right: 0;
}

.stats-grid span {
  grid-column: 2;
  margin-top: 6px;
  color: var(--paper);
  font-size: 13px;
  text-transform: uppercase;
}

.stats-grid img {
  grid-row: span 2;
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.about-grid,
.firms-grid,
.final-cta__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
}

.about p,
.firms p {
  color: var(--muted);
  font-size: 18px;
}

.about-photo,
.building-photo,
.firms__media img,
.final-cta__visual > img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-photo {
  margin-top: 26px;
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.building-photo {
  width: 100%;
  aspect-ratio: 16 / 6;
  object-fit: cover;
}

.point-grid,
.firm-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 28px;
}

.point-grid article,
.firm-benefits article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: start;
  padding-left: 0;
  border-left: 0;
}

.point-grid img,
.firm-benefits img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.point-grid h3,
.firm-benefits h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.point-grid p,
.firm-benefits p {
  margin: 0;
  font-size: 15px;
}

.certificate-note {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
  margin-top: 8px;
  padding: 28px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.certificate-note__images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.certificate-preview {
  display: block;
  overflow: hidden;
  padding: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.certificate-preview:hover,
.certificate-preview:focus-visible {
  border-color: rgba(244, 180, 0, 0.72);
  box-shadow: 0 16px 34px rgba(8, 28, 54, 0.12);
  transform: translateY(-2px);
}

.certificate-note__images img {
  width: 100%;
  height: 390px;
  object-fit: contain;
  padding: 12px;
}

.certificate-note h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.certificate-note p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.offer-grid,
.process-grid,
.why-grid,
.blog-grid {
  display: grid;
  gap: 22px;
}

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

.offer-card,
.process-card,
.why-card,
.blog-card,
.contact-card,
.contact-form,
.map-panel,
.quote-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(8, 28, 54, 0.08);
}

.offer-card {
  display: grid;
  min-height: 100%;
  padding: 24px;
}

.offer-card img {
  width: 100%;
  height: 190px;
  margin-bottom: 22px;
  object-fit: cover;
  border-radius: 6px;
}

.offer-card h3 {
  margin-bottom: 12px;
  font-size: 22px;
  text-transform: uppercase;
}

.offer-card ul,
.process-card ul {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.offer-card li,
.process-card li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 22px;
}

.offer-card li::before,
.process-card li::before {
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  content: "";
  background: var(--yellow);
  border-radius: 50%;
}

.price-tag {
  margin: auto 0 20px;
  color: var(--navy);
  font-weight: 800;
}

.dark-benefits {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin-top: 30px;
  overflow: hidden;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
}

.dark-benefits span {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 16px;
  min-height: 86px;
  padding: 22px;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  font-weight: 800;
}

.dark-benefits img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(77%) sepia(95%) saturate(1800%) hue-rotate(358deg) brightness(102%) contrast(103%);
}

.process-grid {
  grid-template-columns: 1fr 34px 1fr 34px 1fr 34px 1fr;
  gap: 8px;
}

.process-connector {
  display: grid;
  align-self: start;
  height: 205px;
  place-items: center;
  color: var(--yellow);
  font-family: Arial, sans-serif;
  font-size: 58px;
  font-weight: 800;
  line-height: 1;
}

.process-card {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.process-step-number {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: var(--paper);
  background: var(--navy);
  border: 3px solid var(--paper);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(3, 27, 54, 0.24);
  font-size: 17px;
  font-weight: 800;
}

.process-card > img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.process-card__body {
  flex: 1;
  padding: 24px;
}

.process-title {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}

.process-title img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.process-card h3 {
  margin-bottom: 0;
  font-size: 22px;
  text-transform: uppercase;
}

.process-card__footer {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: center;
  margin: 0;
  padding: 16px 24px;
  color: var(--navy);
  background: #eef3f8;
  font-weight: 800;
}

.process-card__footer img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.why-grid {
  grid-template-columns: repeat(4, 1fr);
}

.why-card {
  min-height: 220px;
  padding: 30px;
  border: 2px solid var(--navy);
}

.why-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 18px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(77%) sepia(95%) saturate(1800%) hue-rotate(358deg) brightness(102%) contrast(103%);
}

.why-card h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 18px;
  text-transform: uppercase;
}

.why-card strong {
  display: block;
  margin-bottom: 18px;
  color: var(--yellow-dark);
  text-transform: uppercase;
}

.why-card strong::after {
  display: block;
  width: 48px;
  height: 3px;
  margin: 13px auto 0;
  content: "";
  background: var(--yellow);
  border-radius: 999px;
}

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

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

.gallery-grid figure {
  position: relative;
  min-height: 330px;
  margin: 0;
  overflow: hidden;
  background: var(--navy-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-grid figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 18px;
  color: var(--paper);
  background: linear-gradient(0deg, rgba(6, 27, 53, 0.95), rgba(6, 27, 53, 0));
  font-weight: 800;
}

.video-placeholder {
  display: grid;
  place-items: center;
  cursor: pointer;
}

.video-placeholder img,
.video-placeholder video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-placeholder img {
  opacity: 0.74;
}

.video-placeholder video {
  background: var(--navy-dark);
  object-fit: contain;
}

.video-placeholder::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(180deg, rgba(6, 27, 53, 0.18), rgba(6, 27, 53, 0.72));
  pointer-events: none;
  transition: opacity 180ms ease;
}

.video-play {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.video-play span {
  position: relative;
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  background: var(--yellow);
  border-radius: 50%;
  box-shadow: 0 22px 42px rgba(6, 27, 53, 0.28), 0 0 0 12px rgba(255, 255, 255, 0.16);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.video-play span::before {
  display: block;
  width: 0;
  height: 0;
  margin-left: 7px;
  content: "";
  border-top: 17px solid transparent;
  border-bottom: 17px solid transparent;
  border-left: 25px solid var(--navy-dark);
}

.video-play:hover span,
.video-play:focus-visible span {
  background: var(--yellow-dark);
  box-shadow: 0 24px 46px rgba(6, 27, 53, 0.32), 0 0 0 14px rgba(255, 255, 255, 0.2);
  transform: scale(1.04);
}

.video-placeholder.is-playing {
  cursor: default;
}

.video-placeholder.is-playing::after,
.video-placeholder.is-playing .video-play,
.video-placeholder.is-playing figcaption {
  opacity: 0;
  pointer-events: none;
}

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

.firms::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(90deg, rgba(6, 27, 53, 0.96), rgba(11, 46, 89, 0.82), rgba(11, 46, 89, 0.4));
}

.firms__media {
  position: absolute;
  inset: 0;
}

.firms__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  opacity: 0.7;
}

.firms-grid {
  position: relative;
  z-index: 2;
}

.firms h2,
.firms h3,
.firms p {
  color: var(--paper);
}

.firm-benefits article {
  border-left-color: var(--yellow);
}

.quote-panel {
  padding: 38px;
  color: var(--paper);
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  border-color: rgba(255, 255, 255, 0.16);
}

.quote-panel a:not(.btn) {
  display: block;
  margin: 16px 0;
  color: var(--paper);
  font-size: 24px;
  font-weight: 800;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  align-items: start;
}

.faq-column {
  display: grid;
  gap: 16px;
  align-content: start;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 10px 26px rgba(8, 28, 54, 0.05);
}

.faq-question {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  color: var(--navy-dark);
  background: transparent;
  border: 0;
  text-align: left;
  font-weight: 800;
  cursor: pointer;
}

.faq-question::after {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  content: "";
  background: #fff6d9;
  background-image: url("data:image/svg+xml,%3Csvg width='34' height='34' viewBox='0 0 34 34' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13 9L21 17L13 25' stroke='%230B2E59' stroke-width='4.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 34px 34px;
  border-radius: 50%;
  transition: transform 180ms ease, background-color 180ms ease;
}

.faq-question[aria-expanded="true"]::after {
  transform: rotate(90deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms ease;
}

.faq-answer > div {
  overflow: hidden;
}

.faq-answer p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

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

.blog-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
}

.blog-card .tag {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 6px 10px;
  color: var(--navy);
  background: #fff6d9;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.blog-card h3 {
  font-size: 24px;
}

.blog-card p {
  flex: 1;
  color: var(--muted);
}

.post-details {
  margin-top: 8px;
}

.modal-open {
  overflow: hidden;
}

.post-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.post-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.post-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 27, 53, 0.72);
  backdrop-filter: blur(8px);
}

.post-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  max-height: min(720px, calc(100vh - 48px));
  overflow: auto;
  padding: 38px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 28px 80px rgba(6, 27, 53, 0.24);
  outline: none;
  transform: translateY(14px) scale(0.98);
  transition: transform 180ms ease;
}

.post-modal.is-open .post-modal__panel {
  transform: translateY(0) scale(1);
}

.post-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  color: var(--navy);
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.post-modal__close:hover,
.post-modal__close:focus-visible {
  background: #fff6d9;
  border-color: rgba(244, 180, 0, 0.72);
  transform: rotate(90deg);
}

.post-modal .tag {
  display: inline-flex;
  width: max-content;
  margin-bottom: 16px;
  padding: 7px 12px;
  color: var(--navy);
  background: #fff6d9;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.post-modal h2 {
  max-width: 620px;
  margin-bottom: 18px;
  color: var(--navy-dark);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
}

.post-modal p {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
}

.post-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.course-modal__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 20px;
}

.course-modal__meta span {
  display: inline-flex;
  padding: 8px 12px;
  color: var(--navy);
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.course-modal__content {
  margin: 20px 0 16px;
}

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

.course-modal__content li {
  position: relative;
  padding-left: 22px;
  color: var(--navy-dark);
  font-weight: 700;
}

.course-modal__content li::before {
  position: absolute;
  top: 10px;
  left: 0;
  width: 8px;
  height: 8px;
  content: "";
  background: var(--yellow);
  border-radius: 50%;
}

.course-modal__content strong {
  display: block;
  margin-top: 18px;
  color: var(--navy);
  font-weight: 800;
}

.certificate-modal {
  position: fixed;
  inset: 0;
  z-index: 520;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.certificate-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.certificate-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 27, 53, 0.82);
  backdrop-filter: blur(8px);
}

.certificate-modal__panel {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 980px);
  max-height: calc(100vh - 48px);
  margin: 0;
  padding: 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 28px 80px rgba(6, 27, 53, 0.28);
  outline: none;
  transform: translateY(14px) scale(0.98);
  transition: transform 180ms ease;
}

.certificate-modal.is-open .certificate-modal__panel {
  transform: translateY(0) scale(1);
}

.certificate-modal__panel img {
  width: 100%;
  max-height: calc(100vh - 170px);
  object-fit: contain;
  background: var(--paper);
}

.certificate-modal__panel figcaption {
  margin-top: 14px;
  color: var(--navy);
  font-weight: 800;
  text-align: center;
}

.reviews-inner {
  display: flex;
  min-height: 170px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.reviews-inner h2 {
  color: var(--paper);
}

.reviews-inner p:last-child {
  max-width: 430px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--paper);
  background: var(--navy-dark);
}

.page-hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(90deg, rgba(6, 27, 53, 0.96), rgba(11, 46, 89, 0.82), rgba(11, 46, 89, 0.25));
}

.page-hero__media {
  position: absolute;
  inset: 0;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.82;
}

.page-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 360px;
  align-content: center;
  padding: 72px 0;
}

.page-hero h1 {
  max-width: 780px;
  margin-bottom: 16px;
  color: var(--paper);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 800;
}

.page-hero p:not(.eyebrow) {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: start;
}

.article-content {
  min-width: 0;
  padding: 34px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(8, 28, 54, 0.08);
}

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

.article-content h1 {
  margin-bottom: 24px;
}

.article-hero {
  margin: 0 0 28px;
}

.article-hero img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.entry-content > * + * {
  margin-top: 1em;
}

.article-main {
  display: grid;
  gap: 24px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.article-card,
.sidebar-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(8, 28, 54, 0.08);
}

.article-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  min-height: 100%;
}

.article-card > img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
}

.article-card:not(.article-card--featured) {
  display: grid;
  grid-template-rows: 220px auto auto 1fr auto;
  align-items: start;
  padding-bottom: 26px;
}

.article-card:not(.article-card--featured) .tag,
.article-card:not(.article-card--featured) h2,
.article-card:not(.article-card--featured) p {
  margin-inline: 26px;
}

.article-card .tag {
  display: inline-flex;
  width: max-content;
  max-width: calc(100% - 52px);
  justify-self: start;
  align-self: start;
  margin-top: 24px;
  margin-bottom: 14px;
  padding: 6px 10px;
  color: var(--navy);
  background: #fff6d9;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.article-card h2 {
  margin-bottom: 12px;
  font-size: 24px;
  min-height: 84px;
}

.article-card p {
  flex: 1;
  color: var(--muted);
}

.article-card:not(.article-card--featured) .post-details {
  margin: 20px 26px 0;
  align-self: end;
}

.article-card--featured {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
}

.article-card--featured > img {
  height: 100%;
  min-height: 360px;
}

.article-card--featured > div {
  padding: 36px;
}

.article-card--featured h2 {
  min-height: 0;
  font-size: clamp(30px, 4vw, 42px);
}

.article-sidebar {
  display: grid;
  gap: 22px;
  position: sticky;
  top: 126px;
}

.sidebar-panel {
  padding: 28px;
}

.sidebar-panel h2 {
  margin-bottom: 18px;
  font-size: 24px;
}

.sidebar-panel:not(.sidebar-panel--dark) a:not(.btn) {
  display: block;
  padding: 12px 0;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
  font-weight: 800;
}

.sidebar-panel a:last-child {
  border-bottom: 0;
}

.sidebar-panel--dark {
  color: var(--paper);
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  border-color: rgba(255, 255, 255, 0.12);
}

.sidebar-panel--dark h2 {
  color: var(--paper);
}

.sidebar-panel--dark p {
  color: rgba(255, 255, 255, 0.78);
}

.sidebar-panel--dark .phone-link {
  margin-bottom: 18px;
  color: var(--paper);
  border-bottom-color: rgba(255, 255, 255, 0.18);
  font-size: 24px;
  font-weight: 800;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr 1.55fr;
  gap: 26px;
  align-items: stretch;
}

.contact-card,
.contact-form,
.map-panel {
  padding: 30px;
}

.contact-card {
  font-style: normal;
}

.contact-card a,
.contact-card p {
  margin: 0 0 22px;
  color: var(--navy-dark);
  font-size: 20px;
  font-weight: 800;
}

.contact-card p {
  color: var(--muted);
  font-size: 17px;
  font-weight: 500;
}

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

.contact-line {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
}

.contact-line img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

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

.contact-form label,
.quick-form {
  display: grid;
  gap: 8px;
}

.contact-form span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  color: var(--navy-dark);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 4px rgba(244, 180, 0, 0.18);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--navy);
  font-weight: 700;
}

.map-panel iframe {
  width: 100%;
  height: 370px;
  border: 0;
  border-radius: 6px;
}

.final-cta {
  padding: 84px 0;
  background:
    linear-gradient(90deg, var(--paper), rgba(248, 249, 250, 0.95)),
    var(--mist);
}

.final-cta h2 {
  font-size: clamp(36px, 5vw, 58px);
}

.phone-big {
  display: inline-block;
  margin: 8px 0 28px;
  color: var(--yellow-dark);
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 800;
  line-height: 1;
}

.quick-form {
  max-width: 520px;
}

.privacy-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.final-cta__visual > img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.final-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.final-benefits span {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 16px;
  min-height: 96px;
  padding: 20px;
  color: var(--navy);
  background: var(--paper);
  font-weight: 800;
}

.final-benefits img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

.site-footer {
  padding: 42px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 34px;
}

.footer-logo {
  width: 235px;
  max-width: 100%;
  margin-bottom: 14px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  filter: none;
}

.footer-grid p,
.footer-grid a {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.82);
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
  color: var(--yellow);
}

.sticky-call {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: none;
  padding: 13px 18px;
  color: var(--navy-dark);
  background: var(--yellow);
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(8, 28, 54, 0.22);
  font-weight: 800;
}

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

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

@media (max-width: 1120px) {
  .main-nav {
    gap: 16px;
    font-size: 13px;
  }

  .training-card {
    grid-template-columns: 84px 1fr 1fr auto;
  }

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

  .rail-grid article:nth-child(2) {
    border-right: 0;
  }

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

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

  .map-panel {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  section {
    scroll-margin-top: 86px;
  }

  .top-strip {
    display: none;
  }

  .nav-shell {
    min-height: 78px;
  }

  .brand img {
    width: auto;
    height: 60px;
    max-width: 190px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: 78px 0 auto 0;
    display: grid;
    padding: 18px 20px 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    transition: transform 220ms ease;
  }

  .main-nav.is-open {
    transform: translateY(0);
  }

  .nav-cta {
    width: 100%;
  }

  .hero,
  .hero__inner {
    min-height: 640px;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(6, 27, 53, 0.95), rgba(11, 46, 89, 0.76), rgba(11, 46, 89, 0.52));
  }

  .hero::after {
    display: none;
  }

  .hero__media img {
    object-position: 72% center;
  }

  .about-grid,
  .firms-grid,
  .final-cta__grid,
  .section-head--row {
    grid-template-columns: 1fr;
  }

  .section-head--row {
    display: grid;
    align-items: start;
  }

  .offer-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

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

  .stats-grid strong:nth-child(2) {
    border-right: 0;
  }

  .faq-list,
  .article-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }

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

  .article-card--featured {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: var(--paper);
  }

  .article-card--featured > img {
    flex: none;
    width: 100%;
    height: 260px;
    min-height: 0;
    object-fit: cover;
    object-position: center;
  }

  .article-card--featured > div {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0;
    padding: 26px;
    background: var(--paper);
  }

  .article-card--featured .tag {
    margin-top: 0;
  }

  .article-card--featured h2 {
    font-size: 29px;
    line-height: 1.12;
  }

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

  .sticky-call {
    right: 14px;
    bottom: 14px;
    display: inline-flex;
    width: 58px;
    height: 58px;
    padding: 0;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: transparent;
    background: var(--navy);
    border: 2px solid var(--yellow);
    border-radius: 50%;
    font-size: 0;
  }

  .sticky-call::before {
    display: block;
    width: 30px;
    height: 30px;
    content: "";
    background: url("assets/icons/icon-phone-handset.png") center / contain no-repeat;
  }
}

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

  .section {
    padding: 68px 0;
  }

  .section--compact {
    padding: 42px 0 34px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero__lead {
    font-size: 17px;
  }

  .hero__actions .btn,
  .section-head--row .btn,
  .quick-form .btn {
    width: 100%;
  }

  .trust-row {
    display: grid;
  }

  .rail-grid,
  .point-grid,
  .firm-benefits,
  .process-grid,
  .why-grid,
  .dark-benefits,
  .gallery-grid,
  .final-benefits,
  .footer-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .certificate-note {
    grid-template-columns: 1fr;
  }

  .certificate-note__images {
    grid-template-columns: 1fr;
  }

  .certificate-note__images img {
    height: 320px;
  }

  .rail-grid article,
  .rail-grid article:nth-child(2),
  .stats-grid strong,
  .stats-grid strong:nth-child(2) {
    border-right: 0;
  }

  .training-card {
    grid-template-columns: 78px 1fr;
    gap: 14px;
    padding: 16px;
  }

  .training-icon {
    width: 78px;
    height: 78px;
  }

  .training-card .btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .training-meta {
    grid-column: 1 / -1;
  }

  .offer-card img,
  .process-card > img {
    height: 210px;
  }

  .gallery-grid figure {
    min-height: 270px;
  }

  .contact-card,
  .contact-form,
  .map-panel,
  .quote-panel {
    padding: 22px;
  }

  .map-panel iframe {
    height: 320px;
  }

  .article-card--featured > img {
    height: 230px;
  }

  .article-card--featured > div {
    padding: 24px 22px 28px;
  }

  .article-card--featured h2 {
    font-size: 27px;
    line-height: 1.12;
  }

  .article-card--featured p {
    font-size: 16px;
    line-height: 1.65;
  }
}

/* The phone number remains available in the header and contact section. */
.sticky-call {
  display: none !important;
}

/* Refined phone composition for the client-marked sections. */
@media (max-width: 640px) {
  .stats-grid strong,
  .stats-grid strong:nth-child(2) {
    grid-template-columns: 22px auto;
    justify-content: center;
    gap: 2px 5px;
    padding-inline: 2px;
    text-align: left;
  }

  .stats-grid img {
    width: 22px;
    height: 22px;
  }

  .stats-grid span {
    grid-column: 2;
    width: 50px;
  }

  .gallery-tile > span {
    position: absolute;
    inset: auto 0 0;
    display: flex;
    box-sizing: border-box;
    width: 100%;
    min-height: 46px;
    margin: 0;
    padding: 10px;
    align-items: flex-end;
    justify-content: flex-start;
    text-align: left;
  }

  .offer-section-hero {
    height: 150px;
  }

  .offer-section-hero::after {
    width: 58%;
    background: linear-gradient(
      90deg,
      #031b36 0%,
      rgba(3, 27, 54, 0.98) 60%,
      rgba(3, 27, 54, 0.72) 82%,
      rgba(3, 27, 54, 0) 100%
    );
  }

  .offer-section-hero > img {
    inset: 0 0 0 auto;
    width: auto;
    height: 100%;
    object-fit: contain;
    object-position: right center;
  }

  .offer-section-hero__copy h2 {
    font-size: 31px;
  }

  #oferta .offer-section__body {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 8px;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  #oferta .offer-intro {
    grid-column: 1;
    gap: 10px;
    justify-content: flex-start;
  }

  .offer-intro .section-head {
    margin-bottom: 0;
  }

  .offer-intro .section-head h3 {
    margin-bottom: 6px;
    font-size: 12px;
    line-height: 1.12;
  }

  .offer-intro .section-head p:not(.eyebrow) {
    font-size: 7px;
    line-height: 1.45;
  }

  .offer-udt {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 4px;
  }

  .offer-udt img {
    width: 34px;
    height: 34px;
  }

  .offer-udt__copy {
    gap: 1px;
  }

  .offer-udt__copy strong {
    font-size: 7px;
  }

  .offer-udt__copy span {
    font-size: 5.5px;
    line-height: 1.2;
  }

  #oferta .offer-grid {
    grid-column: 2;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
  }

  .offer-card {
    min-width: 0;
    padding: 6px;
  }

  .offer-card img {
    height: auto;
    margin-bottom: 5px;
    aspect-ratio: 760 / 504;
    border-radius: 3px;
  }

  .offer-card h3 {
    margin-bottom: 5px;
    font-size: 8px;
    line-height: 1.12;
  }

  .offer-card ul {
    margin-bottom: 6px;
  }

  .offer-card li {
    margin-bottom: 3px;
    padding-left: 7px;
    font-size: 6px;
    line-height: 1.25;
  }

  .offer-card li::before {
    top: 3px;
    width: 3px;
    height: 3px;
  }

  .offer-card .btn {
    min-height: 22px;
    padding: 4px 3px;
    font-size: 6px;
  }

  .dark-benefits {
    grid-column: 1 / -1;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-top: 0;
  }

  .dark-benefits span {
    grid-template-columns: 1fr;
    min-height: 48px;
    gap: 3px;
    padding: 5px 2px;
    justify-items: center;
    font-size: 5.5px;
    line-height: 1.2;
    text-align: center;
  }

  .dark-benefits img {
    width: 18px;
    height: 18px;
  }

  .process {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .process .section-head {
    margin-bottom: 16px;
  }

  .process .section-head .eyebrow {
    font-size: 7px;
  }

  .process .section-head h2 {
    font-size: 22px;
  }

  .process .section-head p:not(.eyebrow) {
    font-size: 9px;
  }

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

  .process-card {
    display: flex;
    min-width: 0;
    min-height: 0;
    flex-direction: column;
  }

  .process-card > img {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 2.65;
  }

  .process-step-number {
    top: 4px;
    left: 4px;
    width: 20px;
    height: 20px;
    border-width: 1px;
    font-size: 7px;
  }

  .process-card__body {
    padding: 6px;
  }

  .process-title {
    grid-template-columns: 16px minmax(0, 1fr);
    gap: 4px;
    margin-bottom: 5px;
  }

  .process-title img {
    width: 16px;
    height: 16px;
  }

  .process-card h3 {
    font-size: 8px;
    line-height: 1.12;
  }

  .process-card ul {
    margin-bottom: 5px;
  }

  .process-card li {
    margin-bottom: 3px;
    padding-left: 7px;
    font-size: 6px;
    line-height: 1.28;
  }

  .process-card li::before {
    top: 3px;
    width: 3px;
    height: 3px;
  }

  .process-card__footer {
    grid-column: auto;
    grid-template-columns: 13px minmax(0, 1fr);
    min-height: 28px;
    gap: 3px;
    padding: 4px 5px;
    font-size: 6px;
    line-height: 1.2;
  }

  .process-card__footer img {
    width: 12px;
    height: 12px;
  }

  .final-cta {
    padding: 26px 0;
  }

  .final-cta__grid {
    grid-template-columns: 0.88fr 1.12fr;
    gap: 10px;
    align-items: start;
  }

  .final-cta h2 {
    margin-bottom: 8px;
    font-size: 17px;
    line-height: 1.02;
  }

  .final-cta__line2 {
    font-size: 1.2em;
  }

  .final-cta__lead {
    margin-bottom: 0;
    font-size: 8px;
    line-height: 1.4;
  }

  .final-phone {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 5px;
    margin: 10px 0 8px;
  }

  .final-phone > img {
    width: 23px;
    height: 23px;
    padding: 4px;
    border-width: 1px;
  }

  .final-phone strong {
    font-size: 7px;
  }

  .phone-big {
    margin: 1px 0;
    font-size: 19px;
  }

  .final-phone span {
    font-size: 6px;
  }

  .final-divider {
    margin: 8px 0 6px;
    font-size: 7px;
  }

  .final-divider span {
    padding-inline: 6px;
  }

  .final-callback {
    margin-bottom: 5px;
    font-size: 7px;
  }

  .quick-form {
    gap: 4px;
  }

  .quick-form input,
  .quick-form select {
    min-height: 27px;
    padding: 5px 5px 5px 22px;
    background-position: 6px center;
    background-size: 11px 11px;
    border-radius: 3px;
    font-size: 7px;
  }

  .quick-form .btn {
    min-height: 29px;
    margin-top: 3px;
    padding: 5px 22px 5px 7px;
    font-size: 8px;
  }

  .quick-form .btn::after {
    right: 8px;
    font-size: 14px;
  }

  .privacy-note {
    gap: 4px;
    margin-top: 7px;
    font-size: 5.5px;
    line-height: 1.25;
  }

  .privacy-note img {
    width: 9px;
    height: 9px;
    flex-basis: 9px;
  }

  .final-cta__visual > .final-cta__logo {
    width: 96px;
    height: 44px;
    margin-bottom: 5px;
    align-self: center;
  }

  .final-machines {
    gap: 3px;
  }

  .final-machines figure > img {
    height: 118px;
  }

  .final-machines figcaption {
    min-height: 34px;
    padding: 4px;
    font-size: 5.5px;
    line-height: 1.2;
  }

  .final-machines figcaption::before {
    width: 10px;
    height: 10px;
    margin-right: 2px;
    border-width: 1px;
    font-size: 6px;
  }

  .final-machines small {
    padding-left: 13px;
    font-size: 5px;
  }

  .final-benefits {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 4px;
  }

  .final-benefits span {
    min-height: 48px;
    gap: 3px;
    padding: 4px 2px;
    font-size: 5px;
    line-height: 1.2;
  }

  .final-benefits img {
    width: 16px;
    height: 16px;
  }
}
/* Final phone polish: aligned checks, joined sections and compact footer. */
@media (max-width: 640px) {
  .final-cta {
    padding-top: 0;
    padding-bottom: 20px;
  }

  .final-machines figcaption {
    position: relative;
    display: block;
    padding: 5px 3px 4px 17px;
  }

  .final-machines figcaption::before {
    position: absolute;
    top: 50%;
    left: 3px;
    display: grid;
    width: 10px;
    height: 10px;
    margin: 0;
    place-items: center;
    transform: translateY(-50%);
  }

  .final-machines small {
    padding-left: 0;
  }

  .site-footer {
    padding: 20px 0;
  }

  .footer-grid {
    grid-template-columns: 1.15fr 0.65fr 1fr;
    gap: 10px;
    align-items: start;
  }

  .footer-grid > div:first-child {
    grid-column: auto;
  }

  .footer-logo {
    width: 126px;
    margin-bottom: 5px;
  }

  .footer-grid p {
    margin: 0;
    font-size: 8px;
    line-height: 1.4;
  }

  .footer-grid nav,
  .footer-contact-links {
    display: grid;
    gap: 2px;
  }

  .footer-grid .footer-link {
    min-height: 26px;
    gap: 5px;
    margin: 0;
    font-size: 8px;
    line-height: 1.2;
  }

  .footer-grid .footer-link img {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    object-fit: contain;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }
}

/* Client visual alignment - July 2026 */
:root {
  --container: 1280px;
  --navy: #082c58;
  --navy-dark: #031b36;
  --yellow: #f9b500;
  --yellow-dark: #dfa100;
  --mist: #f5f7fa;
}

body {
  color: #0a203d;
  line-height: 1.55;
}

.site-header {
  backdrop-filter: none;
}

.nav-shell {
  min-height: 112px;
}

.brand {
  display: block;
  flex: 0 0 auto;
  width: 260px;
  height: 105px;
  overflow: hidden;
}

.brand img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
}

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

.hero,
.hero__inner {
  min-height: 455px;
}

.hero::before {
  z-index: 1;
  background: linear-gradient(90deg, rgba(3, 27, 54, 0.99), rgba(8, 44, 88, 0.96));
  clip-path: polygon(0 0, 57% 0, 46% 100%, 0 100%);
}

.hero::after {
  right: -42px;
  width: 145px;
  background: rgba(249, 181, 0, 0.88);
  transform: skewX(-15deg);
}

.hero__media img {
  width: 110%;
  max-width: none;
  object-position: center;
  transform: translateX(5.5%);
}

.hero__copy {
  max-width: 590px;
  padding: 48px 0 42px;
}

.hero h1 {
  max-width: 610px;
  margin-bottom: 8px;
  font-size: clamp(48px, 4.4vw, 60px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
  color: var(--yellow);
}

.hero__categories {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--paper);
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero__categories i,
.hero__lead i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 4px;
  background: var(--yellow);
  border-radius: 50%;
}

.hero__lead {
  max-width: 580px;
  margin-bottom: 20px;
  font-size: 17px;
  line-height: 1.5;
}

.hero__actions .btn {
  min-height: 48px;
}

.trust-row {
  gap: 22px;
  margin-top: 22px;
}

.trust-row span {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  max-width: 165px;
  align-items: center;
  gap: 9px;
  padding-left: 0;
  border-left: 0;
  line-height: 1.25;
}

.trust-row img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.rail-grid article {
  grid-template-columns: 48px 1fr;
  min-height: 118px;
  align-items: center;
  gap: 14px;
  padding: 22px 20px;
}

.rail-icon {
  width: 46px;
  height: 46px;
}

.section {
  padding: 76px 0;
}

.section--compact {
  padding: 46px 0 36px;
}

.section-head {
  margin-bottom: 28px;
}

.section-head h2 {
  font-size: clamp(32px, 4vw, 48px);
}

#terminy .section-head h2 {
  font-size: clamp(30px, 3.4vw, 45px);
}

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

.training-card {
  grid-template-columns: 72px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 12px 16px;
  padding: 20px;
}

.training-icon {
  grid-row: 1 / 3;
  width: 72px;
  height: 72px;
  padding: 7px;
  background: var(--paper);
  border-radius: 50%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.training-card h3 {
  margin-bottom: 6px;
  font-size: 17px;
}

.training-card > .training-meta {
  grid-column: 2;
  align-self: start;
  font-size: 13px;
}

.training-meta {
  gap: 7px 12px;
  font-size: 13px;
}

.training-details {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  min-height: 42px;
}

.stats-grid strong {
  grid-template-columns: 52px 1fr;
  min-height: 94px;
  column-gap: 14px;
  padding: 18px 24px;
  font-size: clamp(28px, 3.5vw, 40px);
}

.stats-grid img {
  width: 48px;
  height: 48px;
}

.about-grid {
  grid-template-columns: 0.88fr 1.12fr;
  align-items: start;
  gap: 42px;
}

.about p {
  color: var(--navy);
}

.about-copy__intro {
  display: grid;
  grid-template-columns: 1fr 118px;
  gap: 18px;
  align-items: start;
}

.about-copy__paragraph {
  grid-column: 1;
  margin-bottom: 0;
}

.about-copy__paragraph--first {
  grid-row: 1;
}

.about-copy__paragraph--second {
  grid-row: 2;
}

.about-udt-logo {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 118px;
  height: 118px;
  padding: 8px;
  background: var(--paper);
  object-fit: contain;
}

.about-photo {
  aspect-ratio: 760 / 504;
  object-fit: cover;
  object-position: center;
}

.building-photo {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}

.point-grid {
  gap: 18px 22px;
  margin-top: 24px;
}

.point-grid article {
  grid-template-columns: 46px 1fr;
  gap: 12px;
}

.point-grid article > div {
  min-width: 0;
}

.point-grid h3,
.point-grid p {
  overflow-wrap: anywhere;
}

.point-grid img {
  width: 44px;
  height: 44px;
}

.certificate-note {
  grid-template-columns: 0.7fr 1.3fr;
  gap: 24px;
  margin-top: 4px;
  padding: 24px;
}

.certificate-note__images img {
  height: 330px;
}

#oferta .offer-section__body {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 28px;
}

.offer-intro {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.offer-intro .section-head {
  margin-bottom: 22px;
}

.offer-intro .section-head h2,
.offer-intro .section-head h3 {
  margin: 0 0 14px;
  color: var(--navy-dark);
  font-size: 32px;
}

.offer-intro .section-head p:not(.eyebrow) {
  font-size: 16px;
}

.offer-udt {
  display: grid;
  grid-template-columns: 126px 1fr;
  align-items: center;
  gap: 16px;
  color: #087c3b;
  text-transform: uppercase;
}

.offer-udt img {
  width: 126px;
  height: 126px;
  object-fit: contain;
}

.offer-udt__copy {
  display: grid;
  gap: 4px;
  line-height: 1.28;
}

.offer-udt__copy strong {
  font-size: 17px;
}

.offer-udt__copy span {
  font-size: 15px;
  font-weight: 800;
}

.offer-grid {
  gap: 18px;
}

.offer-card {
  padding: 20px;
}

.offer-card img {
  height: auto;
  aspect-ratio: 760 / 504;
  margin-bottom: 18px;
  object-fit: contain;
  object-position: center;
  background: var(--paper);
}

.offer-card h3 {
  font-size: 20px;
}

.offer-card .btn {
  margin-top: auto;
}

.dark-benefits {
  grid-column: 1 / -1;
  margin-top: 0;
}

.dark-benefits span {
  grid-template-columns: 44px 1fr;
  min-height: 82px;
  gap: 12px;
  padding: 18px;
  font-size: 14px;
}

.dark-benefits img {
  width: 42px;
  height: 42px;
}

.process-grid {
  gap: 16px;
}

.process-card {
  border-color: #d9e0e8;
  box-shadow: 0 14px 34px rgba(8, 28, 54, 0.08);
}

.process-card > img {
  height: auto;
  aspect-ratio: 4 / 2.65;
  object-fit: cover;
  object-position: center;
}

.process-card__body {
  padding: 20px;
}

.process-title {
  grid-template-columns: 42px 1fr;
  gap: 12px;
}

.process-title img {
  width: 40px;
  height: 40px;
}

.process-card h3 {
  font-size: 20px;
}

.process-card li {
  font-size: 15px;
}

.process-card__footer {
  min-height: 76px;
  margin-top: auto;
  padding: 14px 20px;
}

.why {
  position: relative;
  overflow: hidden;
}

.why::before {
  position: absolute;
  top: 0;
  right: 0;
  width: min(32vw, 460px);
  height: 270px;
  content: "";
  background: url("assets/photo-forklift-training.jpg") right top / cover no-repeat;
  opacity: 0.13;
  mask-image: linear-gradient(90deg, transparent, #000 38%);
  pointer-events: none;
}

.why .container {
  position: relative;
}

.why-card {
  min-height: 230px;
  padding: 24px;
  text-align: center;
  border-width: 3px;
}

.why-icon {
  margin-inline: auto;
}

.gallery-grid {
  gap: 16px;
}

.gallery-grid figure {
  min-height: 315px;
}

.gallery-grid img {
  object-position: center;
}

.firms {
  color: var(--navy-dark);
  background: var(--paper);
}

.firms::before,
.firms__media {
  display: none;
}

.firms-grid {
  align-items: stretch;
}

.firms h2,
.firms h3 {
  color: var(--navy-dark);
}

.firms p {
  color: var(--muted);
}

.firms .firm-benefits h3 {
  color: var(--navy-dark);
}

.quote-panel,
.quote-panel h3,
.quote-panel p {
  color: var(--paper);
}

.faq-item {
  border-color: #cad5e2;
}

.faq-question {
  padding: 18px 20px;
}

.blog-card {
  border-top: 4px solid var(--yellow);
  overflow: hidden;
  padding: 0;
}

.blog-card__image {
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: center;
}

.blog-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: 24px 28px 28px;
}

.blog-card__body .post-details {
  margin-top: auto;
}

.contact {
  padding-bottom: 0;
  background: var(--mist);
}

.contact-grid {
  gap: 18px;
}

.contact-card,
.contact-form,
.map-panel {
  padding: 26px;
  box-shadow: 0 12px 34px rgba(8, 28, 54, 0.06);
}

.contact-strip {
  width: 100%;
  margin-top: 54px;
  color: var(--paper);
  background: var(--navy-dark);
}

.contact-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 112px;
}

.contact-strip__grid > div {
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 18px;
  min-width: 0;
  padding: 22px 42px;
}

.contact-strip__grid > div + div::before {
  position: absolute;
  top: 26px;
  bottom: 26px;
  left: 0;
  width: 1px;
  content: "";
  background: rgba(255, 255, 255, 0.22);
}

.contact-strip img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.contact-strip strong {
  font-size: 16px;
  line-height: 1.35;
}

.final-cta {
  padding: 74px 0;
}

.final-cta__grid {
  grid-template-columns: 0.82fr 1.18fr;
  align-items: start;
  gap: 36px;
}

.final-cta h2 {
  margin-bottom: 18px;
  font-size: clamp(40px, 4.8vw, 64px);
  text-transform: uppercase;
}

.final-cta h2 em {
  color: var(--yellow);
  font-style: normal;
}

.final-cta__lead {
  max-width: 520px;
  color: var(--navy-dark);
  font-size: 20px;
}

.final-phone {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  align-items: center;
  margin: 24px 0 18px;
}

.final-phone > img {
  width: 68px;
  height: 68px;
  padding: 13px;
  border: 3px solid var(--yellow);
  border-radius: 50%;
  object-fit: contain;
}

.final-phone strong,
.final-phone span {
  display: block;
}

.final-phone strong {
  color: var(--navy);
  text-transform: uppercase;
}

.final-phone span {
  color: var(--navy);
}

.phone-big {
  display: block;
  margin: 2px 0 4px;
  font-size: clamp(42px, 5vw, 62px);
}

.final-divider {
  position: relative;
  margin: 22px 0 14px;
  color: var(--yellow-dark);
  text-align: center;
  text-transform: uppercase;
  font-weight: 800;
}

.final-divider::before {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  content: "";
  background: var(--yellow);
}

.final-divider span {
  position: relative;
  padding: 0 16px;
  background: var(--paper);
}

.final-callback {
  margin-bottom: 14px;
  font-size: 17px;
}

.quick-form {
  max-width: none;
}

.quick-form input,
.quick-form select {
  border-color: #9daec1;
}

.quick-form .btn {
  min-height: 58px;
  margin-top: 8px;
  font-size: 18px;
}

.final-cta__visual {
  display: flex;
  flex-direction: column;
}

.final-cta__visual > .final-cta__logo {
  width: 290px;
  height: 136px;
  align-self: flex-end;
  margin-bottom: 16px;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  box-shadow: none;
}

.final-machines {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.final-machines figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: var(--navy-dark);
}

.final-machines figure > img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.final-machines figcaption {
  display: block;
  min-height: 70px;
  padding: 14px 16px;
  color: var(--paper);
  background: var(--navy);
  font-weight: 800;
  text-transform: uppercase;
}

.final-machines figcaption::before {
  display: inline-grid;
  width: 26px;
  height: 26px;
  margin-right: 8px;
  content: "✓";
  place-items: center;
  color: var(--yellow);
  border: 2px solid var(--yellow);
  border-radius: 50%;
}

.final-machines small {
  display: block;
  padding-left: 39px;
  font-size: 12px;
}

.final-benefits {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 12px;
}

.final-benefits span {
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 8px;
  min-height: 128px;
  padding: 16px 12px;
  text-align: center;
  font-size: 14px;
}

.final-benefits img {
  width: 44px;
  height: 44px;
}

.footer-logo {
  width: 275px;
  padding: 0;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 1120px) {
  .brand {
    width: 240px;
  }

  .nav-shell {
    gap: 18px;
  }

  .main-nav {
    gap: 12px;
    font-size: 12px;
  }

  #oferta .offer-section__body {
    grid-template-columns: 230px minmax(0, 1fr);
  }

  .final-machines figure > img {
    height: 330px;
  }
}

@media (max-width: 900px) {
  .nav-shell {
    min-height: 78px;
  }

  .brand {
    width: 190px;
    height: 68px;
  }

  .hero,
  .hero__inner {
    min-height: 590px;
  }

  .hero::before {
    clip-path: none;
    background: linear-gradient(90deg, rgba(3, 27, 54, 0.96), rgba(8, 44, 88, 0.78));
  }

  .hero::after {
    display: block;
    right: -80px;
    width: 140px;
  }

  .hero__media img {
    width: 100%;
    object-position: 62% center;
    transform: none;
  }

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

  .training-card {
    grid-template-columns: 80px minmax(0, 1fr) auto;
    grid-template-rows: auto;
  }

  .training-icon {
    grid-row: 1;
  }

  .training-card > .training-meta {
    grid-column: 2;
  }

  .training-details {
    grid-column: 3;
    grid-row: 1;
    align-self: center;
    width: auto;
    min-width: 135px;
  }

  #oferta .offer-section__body {
    display: block;
  }

  .offer-intro {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: end;
  }

  .offer-udt {
    max-width: 260px;
    margin-bottom: 28px;
  }

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

  .offer-card {
    padding: 16px;
  }

  .offer-card h3 {
    font-size: 18px;
  }

  .offer-card li {
    font-size: 14px;
  }

  .about-grid,
  .firms-grid,
  .final-cta__grid {
    grid-template-columns: 1fr;
  }

  .final-cta__logo {
    align-self: center;
  }
}

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

  .section {
    padding: 52px 0;
  }

  .section--compact {
    padding: 38px 0 30px;
  }

  .brand {
    width: 158px;
    height: 58px;
  }

  .nav-shell {
    min-height: 68px;
  }

  .main-nav {
    inset: 68px 0 auto 0;
    max-height: calc(100vh - 68px);
    overflow: auto;
  }

  .hero,
  .hero__inner {
    min-height: 590px;
  }

  .hero::after {
    display: none;
  }

  .hero__copy {
    padding: 44px 0 36px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero__categories {
    gap: 6px;
    font-size: 13px;
  }

  .hero__lead {
    font-size: 15px;
  }

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

  .hero__actions .btn {
    width: 100%;
    padding-inline: 10px;
    font-size: 13px;
  }

  .trust-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .trust-row span {
    grid-template-columns: 1fr;
    gap: 5px;
    text-align: center;
    font-size: 10px;
  }

  .trust-row img {
    width: 28px;
    height: 28px;
    margin-inline: auto;
  }

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

  .rail-grid article,
  .rail-grid article:nth-child(2) {
    grid-template-columns: 38px 1fr;
    min-height: 116px;
    gap: 9px;
    padding: 16px 12px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .rail-grid article:nth-child(even) {
    border-right: 0;
  }

  .rail-grid article:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .rail-icon {
    width: 36px;
    height: 36px;
  }

  .rail-grid h2 {
    font-size: 12px;
  }

  .rail-grid p {
    display: none;
  }

  .section-head h2,
  #terminy .section-head h2 {
    font-size: 32px;
  }

  .section-head--row {
    gap: 14px;
  }

  .training-card {
    grid-template-columns: 64px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    gap: 8px 12px;
    padding: 14px;
  }

  .training-icon {
    grid-row: 1 / 3;
    width: 64px;
    height: 64px;
  }

  .training-card > .training-meta {
    grid-column: 2;
  }

  .training-details {
    grid-column: 1 / -1;
    grid-row: 3;
    width: 100%;
  }

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

  .stats-grid strong,
  .stats-grid strong:nth-child(2) {
    grid-template-columns: 38px 1fr;
    min-height: 112px;
    column-gap: 9px;
    padding: 14px 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.22);
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 25px;
  }

  .stats-grid strong:nth-child(even) {
    border-right: 0;
  }

  .stats-grid strong:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .stats-grid img {
    width: 36px;
    height: 36px;
  }

  .stats-grid span {
    font-size: 9px;
  }

  .about-copy__intro {
    grid-template-columns: 1fr 82px;
    gap: 10px;
  }

  .about-udt-logo {
    width: 82px;
    height: 82px;
  }

  .building-photo,
  .about-photo {
    aspect-ratio: 4 / 3;
  }

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

  .point-grid article {
    grid-template-columns: 36px 1fr;
    gap: 8px;
  }

  .point-grid img {
    width: 34px;
    height: 34px;
  }

  .point-grid h3 {
    font-size: 14px;
  }

  .point-grid p {
    font-size: 12px;
  }

  .certificate-note {
    grid-template-columns: 1fr;
    padding: 18px;
  }

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

  .certificate-note__images img {
    height: 220px;
    padding: 7px;
  }

  .offer-intro {
    display: block;
  }

  .offer-udt {
    grid-template-columns: 62px 1fr;
    margin-bottom: 22px;
  }

  .offer-udt img {
    width: 60px;
    height: 60px;
  }

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

  .offer-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr auto;
    gap: 0;
  }

  .offer-card > img {
    grid-row: auto;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0 0 16px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }

  .offer-card h3 {
    font-size: 17px;
  }

  .offer-card ul {
    margin-bottom: 12px;
  }

  .offer-card li {
    margin-bottom: 6px;
    font-size: 12px;
  }

  .offer-card .btn {
    min-height: 40px;
    padding: 9px 10px;
    font-size: 12px;
  }

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

  .dark-benefits span {
    grid-template-columns: 34px 1fr;
    min-height: 72px;
    padding: 12px;
    font-size: 11px;
  }

  .dark-benefits img {
    width: 32px;
    height: 32px;
  }

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

  .process-card {
    display: grid;
    grid-template-columns: 118px 1fr;
  }

  .process-card > img {
    grid-row: 1 / 3;
    width: 118px;
    height: 100%;
    min-height: 250px;
    aspect-ratio: auto;
  }

  .process-card__body {
    padding: 16px;
  }

  .process-title {
    grid-template-columns: 34px 1fr;
    margin-bottom: 10px;
  }

  .process-title img {
    width: 32px;
    height: 32px;
  }

  .process-card h3 {
    font-size: 17px;
  }

  .process-card ul {
    margin-bottom: 0;
  }

  .process-card li {
    margin-bottom: 7px;
    font-size: 12px;
  }

  .process-card__footer {
    grid-column: 2;
    grid-template-columns: 28px 1fr;
    min-height: 58px;
    padding: 10px 14px;
    font-size: 12px;
  }

  .process-card__footer img {
    width: 26px;
    height: 26px;
  }

  .process-step-number {
    top: 10px;
    left: 10px;
    width: 44px;
    height: 44px;
    border-width: 2px;
    font-size: 14px;
  }

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

  .why-card {
    min-height: 220px;
    padding: 16px 12px;
    border-width: 2px;
  }

  .why-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
  }

  .why-card h3 {
    font-size: 14px;
  }

  .why-card strong {
    font-size: 12px;
  }

  .why-card p {
    font-size: 12px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .gallery-grid figure {
    min-height: 220px;
  }

  .gallery-grid figcaption {
    padding: 12px;
    font-size: 12px;
  }

  .video-play span {
    width: 64px;
    height: 64px;
  }

  .video-play span::before {
    border-top-width: 12px;
    border-bottom-width: 12px;
    border-left-width: 18px;
  }

  .firm-benefits {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 12px;
  }

  .firm-benefits article {
    grid-template-columns: 36px 1fr;
    gap: 8px;
  }

  .firm-benefits img {
    width: 34px;
    height: 34px;
  }

  .firm-benefits h3 {
    font-size: 14px;
  }

  .firm-benefits p {
    font-size: 12px;
  }

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

  .faq-question {
    padding: 15px;
    font-size: 14px;
  }

  .faq-answer p {
    padding: 0 15px 15px;
    font-size: 13px;
  }

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

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

  .contact-card,
  .contact-form,
  .map-panel {
    padding: 20px;
  }

  .final-cta {
    padding: 54px 0;
  }

  .final-cta h2 {
    font-size: 38px;
  }

  .final-cta__lead {
    font-size: 17px;
  }

  .final-phone {
    grid-template-columns: 54px 1fr;
    gap: 12px;
  }

  .final-phone > img {
    width: 52px;
    height: 52px;
    padding: 10px;
  }

  .phone-big {
    font-size: 40px;
  }

  .final-cta__logo {
    width: 220px;
    height: 100px;
  }

  .final-machines {
    gap: 4px;
  }

  .final-machines figure > img {
    height: 230px;
  }

  .final-machines figcaption {
    min-height: 64px;
    padding: 10px 6px;
    font-size: 10px;
  }

  .final-machines figcaption::before {
    width: 20px;
    height: 20px;
    margin-right: 4px;
  }

  .final-machines small {
    padding-left: 28px;
    font-size: 9px;
  }

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

  .final-benefits span {
    min-height: 108px;
    font-size: 12px;
  }

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

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .footer-logo {
    width: 230px;
  }
}

/* Client-supplied final CTA graphics already include their own captions. */
.final-machines figure > img {
  height: auto;
  object-fit: contain;
}

.final-machines figcaption {
  display: none;
}

/* Final signup banner follows the client-supplied composition. */
.final-cta {
  padding: 76px 0 66px;
  background: var(--paper);
}

.final-cta__grid {
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
}

.final-cta h2 {
  margin: 0 0 22px;
  font-family: "Roboto Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(46px, 3.8vw, 58px);
  font-weight: 800;
  line-height: 1.02;
  white-space: nowrap;
}

.final-cta__lead {
  max-width: 500px;
  margin-bottom: 0;
  color: var(--navy-dark);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.55;
}

.final-phone {
  grid-template-columns: 82px 1fr;
  gap: 22px;
  margin: 32px 0 22px;
}

.final-phone > img {
  width: 80px;
  height: 80px;
  padding: 15px;
  border-width: 3px;
}

.final-phone strong {
  font-size: 18px;
  font-weight: 800;
}

.phone-big {
  margin: 5px 0 6px;
  font-size: clamp(46px, 4.4vw, 62px);
  font-weight: 800;
}

.final-phone span {
  font-size: 16px;
}

.final-divider {
  margin: 24px 0 16px;
}

.final-callback {
  margin-bottom: 14px;
  color: var(--navy-dark);
  font-size: 17px;
  font-weight: 500;
}

.quick-form {
  gap: 10px;
}

.quick-form input,
.quick-form select {
  min-height: 58px;
  padding: 14px 16px 14px 54px;
  border: 1.5px solid #8597ab;
  border-radius: 6px;
  background-color: var(--paper);
  background-position: 17px center;
  background-repeat: no-repeat;
  background-size: 25px 25px;
  font-size: 15px;
}

.quick-form input[name="name"] {
  background-image: url("assets/icons/icon-form-user.png");
}

.quick-form input[name="phone"] {
  background-image: url("assets/icons/icon-form-phone.png");
}

.quick-form select[name="course"] {
  background-image: url("assets/icons/icon-form-course.png");
}

.quick-form .btn {
  position: relative;
  min-height: 64px;
  margin-top: 10px;
  padding: 14px 62px 14px 24px;
  font-size: 20px;
  font-weight: 800;
}

.quick-form .btn::after {
  position: absolute;
  top: 50%;
  right: 26px;
  content: "→";
  font-size: 32px;
  font-weight: 500;
  line-height: 1;
  transform: translateY(-54%);
}

.privacy-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  color: var(--navy-dark);
  font-size: 13px;
  font-weight: 500;
}

.privacy-note img {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  object-fit: contain;
}

.final-cta__visual > .final-cta__logo {
  width: 310px;
  height: 146px;
  margin-bottom: 16px;
}

.final-machines {
  gap: 8px;
}

.final-benefits {
  margin-top: 12px;
  border-color: #8fa0b3;
}

.final-benefits span {
  min-height: 142px;
  padding: 18px 12px;
  color: var(--navy-dark);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .final-cta__grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .final-cta h2 {
    white-space: normal;
  }

  .final-cta__visual > .final-cta__logo {
    align-self: center;
  }
}

@media (max-width: 640px) {
  .final-cta {
    padding: 50px 0;
  }

  .final-cta h2 {
    margin-bottom: 18px;
    font-size: 36px;
    line-height: 1.05;
  }

  .final-cta__lead {
    font-size: 17px;
  }

  .final-phone {
    grid-template-columns: 58px 1fr;
    gap: 13px;
    margin: 26px 0 20px;
  }

  .final-phone > img {
    width: 56px;
    height: 56px;
    padding: 11px;
  }

  .final-phone strong {
    font-size: 14px;
  }

  .phone-big {
    font-size: 38px;
  }

  .final-phone span {
    font-size: 13px;
  }

  .quick-form input,
  .quick-form select {
    min-height: 56px;
    padding-left: 50px;
    background-position-x: 15px;
    background-size: 23px 23px;
  }

  .quick-form .btn {
    min-height: 60px;
    padding-right: 54px;
    font-size: 17px;
  }

  .quick-form .btn::after {
    right: 20px;
    font-size: 28px;
  }

  .privacy-note {
    align-items: flex-start;
    padding-right: 58px;
    font-size: 12px;
    line-height: 1.5;
  }
}

@media (min-width: 901px) {
  .nav-shell {
    min-height: 104px;
  }

  .brand {
    height: 96px;
  }
}

.final-machines figure > img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 5;
  object-fit: cover;
  object-position: center top;
}

.final-machines figcaption {
  position: relative;
  display: block;
  min-height: 72px;
  padding: 14px 12px 12px 54px;
  color: var(--paper);
  background: var(--navy);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.final-machines figcaption::before {
  position: absolute;
  top: 50%;
  left: 16px;
  display: grid;
  width: 28px;
  height: 28px;
  margin: 0;
  content: "✓";
  color: var(--yellow);
  border: 2px solid var(--yellow);
  border-radius: 50%;
  place-items: center;
  transform: translateY(-50%);
}

.final-machines small {
  display: block;
  padding: 2px 0 0;
  font-size: 11px;
}

.blog-card__image {
  height: 250px;
}

.article-card:not(.article-card--featured) {
  grid-template-rows: 270px auto auto 1fr auto;
}

.article-card:not(.article-card--featured) > img {
  height: 270px;
}

.blog-card__image[src*="photo-crane"],
.article-card > img[src*="photo-crane"] {
  object-position: 68% 50%;
}

.article-card > img[src*="process-exam"] {
  object-position: center 58%;
}

@media (max-width: 640px) {
  .final-machines figcaption {
    min-height: 64px;
    padding: 10px 5px 9px 34px;
    font-size: 9px;
  }

  .final-machines figcaption::before {
    left: 7px;
    width: 20px;
    height: 20px;
    font-size: 12px;
  }

  .final-machines small {
    padding-top: 2px;
    font-size: 8px;
  }

  .blog-card__image,
  .article-card:not(.article-card--featured) > img {
    height: 230px;
  }

  .article-card:not(.article-card--featured) {
    grid-template-rows: 230px auto auto 1fr auto;
  }
}

.firms {
  padding-bottom: 0;
}

.firm-strip {
  width: 100%;
  margin-top: 52px;
  color: var(--navy-dark);
  background: var(--yellow);
}

.firm-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 112px;
}

.firm-strip__grid > div {
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 20px 28px;
}

.firm-strip__grid > div + div::before {
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 0;
  width: 1px;
  content: "";
  background: rgba(3, 27, 54, 0.2);
}

.firm-strip img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: brightness(0) saturate(100%);
}

.firm-strip strong {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .process-connector {
    display: none;
  }

  .firm-strip__grid > div {
    padding-inline: 18px;
  }

  .contact-strip__grid > div {
    padding-inline: 22px;
  }
}

@media (max-width: 640px) {
  .process-grid {
    grid-template-columns: 1fr;
  }

  .firm-strip {
    margin-top: 38px;
  }

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

  .firm-strip__grid > div {
    grid-template-columns: 40px 1fr;
    gap: 10px;
    min-height: 92px;
    padding: 14px 12px;
  }

  .firm-strip__grid > div + div::before {
    display: none;
  }

  .firm-strip__grid > div:nth-child(even) {
    border-left: 1px solid rgba(3, 27, 54, 0.2);
  }

  .firm-strip__grid > div:nth-child(n + 3) {
    border-top: 1px solid rgba(3, 27, 54, 0.2);
  }

  .firm-strip img {
    width: 38px;
    height: 38px;
  }

  .firm-strip strong {
    font-size: 12px;
  }

  .contact-strip {
    margin-top: 38px;
  }

  .contact-strip__grid {
    grid-template-columns: 1fr;
  }

  .contact-strip__grid > div {
    grid-template-columns: 42px 1fr;
    min-height: 78px;
    gap: 14px;
    padding: 14px 20px;
  }

  .contact-strip__grid > div + div::before {
    top: 0;
    right: 20px;
    bottom: auto;
    left: 20px;
    width: auto;
    height: 1px;
  }

  .contact-strip img {
    width: 40px;
    height: 40px;
  }

  .contact-strip strong {
    font-size: 14px;
  }
}

/* Final visual alignment with the client mockups. */
@media (min-width: 901px) {
  .hero__media img {
    display: block;
    width: auto;
    max-width: none;
    height: 100%;
    margin-left: auto;
    object-fit: contain;
    object-position: right center;
    transform: translateX(11%);
  }

  .about-grid {
    grid-template-columns: 0.76fr 1.24fr;
    gap: 34px;
  }

  .building-photo {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center;
  }
}

.training-intro {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 17px;
}

#terminy .section-head {
  margin-bottom: 22px;
}

.training-list {
  grid-template-columns: 1fr;
  gap: 12px;
}

.training-card {
  grid-template-columns: 84px minmax(280px, 1.45fr) minmax(170px, 0.75fr) 110px 166px;
  grid-template-rows: 1fr;
  min-height: 112px;
  gap: 20px;
  padding: 14px 24px;
  border-color: #d6dee8;
  border-radius: 7px;
  box-shadow: 0 10px 28px rgba(8, 28, 54, 0.06);
}

.training-icon {
  grid-row: auto;
  width: 76px;
  height: 76px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  mix-blend-mode: normal;
}

.training-card__main {
  min-width: 0;
}

.training-card h3 {
  margin: 0 0 9px;
  color: var(--navy-dark);
  font-size: 18px;
}

.training-card__fact {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.training-card__fact img {
  flex: 0 0 auto;
  width: 23px;
  height: 23px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(13%) sepia(30%) saturate(1890%) hue-rotate(174deg) brightness(88%) contrast(104%);
}

.training-details {
  grid-column: auto;
  width: 100%;
  min-width: 0;
  min-height: 48px;
}

.training-list__action {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.training-list__action .btn {
  min-width: 290px;
}

.final-cta h2 {
  white-space: normal;
}

.final-cta__line1,
.final-cta__line2 {
  display: inline-block;
  color: var(--navy-dark);
  white-space: nowrap;
}

.final-cta__line2 {
  font-size: 1.28em;
  line-height: 0.92;
}

.firm-strip__grid {
  min-height: 122px;
}

.firm-strip__grid > div {
  grid-template-columns: 64px 1fr;
  gap: 18px;
}

.firm-strip img {
  width: 62px;
  height: 62px;
  filter: none;
}

.firm-strip strong {
  font-size: 16px;
}

@media (max-width: 900px) {
  .training-card {
    grid-template-columns: 72px minmax(0, 1fr) 145px;
    grid-template-rows: auto auto;
    gap: 8px 16px;
    padding: 16px 18px;
  }

  .training-icon {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 68px;
    height: 68px;
  }

  .training-card__main {
    grid-column: 2;
    grid-row: 1;
  }

  .training-card__place {
    grid-column: 2;
    grid-row: 2;
  }

  .training-card__duration {
    grid-column: 3;
    grid-row: 2;
  }

  .training-details {
    grid-column: 3;
    grid-row: 1;
  }

  .firm-strip__grid > div {
    grid-template-columns: 54px 1fr;
  }

  .firm-strip img {
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 640px) {
  .hero,
  .hero__inner {
    min-height: 760px;
  }

  .hero__media {
    display: flex;
    align-items: flex-end;
  }

  .hero__media img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center bottom;
    transform: none;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(3, 27, 54, 1) 0%, rgba(8, 44, 88, 0.99) 68%, rgba(8, 44, 88, 0.3) 100%);
  }

  .hero__copy {
    padding: 34px 0 220px;
  }

  .training-card {
    grid-template-columns: 62px minmax(0, 1fr);
    grid-template-rows: auto auto auto auto;
    gap: 7px 12px;
    padding: 14px;
  }

  .training-icon {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 58px;
    height: 58px;
  }

  .training-card__main {
    grid-column: 2;
    grid-row: 1;
  }

  .training-card__place {
    grid-column: 2;
    grid-row: 2;
  }

  .training-card__duration {
    grid-column: 2;
    grid-row: 3;
  }

  .training-details {
    grid-column: 1 / -1;
    grid-row: 4;
    margin-top: 5px;
  }

  .training-card h3 {
    font-size: 16px;
  }

  .training-card__fact {
    font-size: 12px;
  }

  .training-card__fact img {
    width: 19px;
    height: 19px;
  }

  .training-list__action .btn {
    width: 100%;
    min-width: 0;
  }

  .final-cta__line2 {
    font-size: 1.275em;
  }

  .firm-strip__grid > div {
    grid-template-columns: 44px 1fr;
  }

  .firm-strip img {
    width: 42px;
    height: 42px;
  }

  .firm-strip strong {
    font-size: 12px;
  }
}

/* Client correction: preserve the card layout and original diagonal hero composition. */
@media (min-width: 901px) {
  .hero__media img {
    display: block;
    width: 66%;
    max-width: none;
    height: 100%;
    margin-left: auto;
    object-fit: cover;
    object-position: center 58%;
    transform: none;
  }
}

#terminy .section-head {
  margin-bottom: 30px;
}

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

.training-card {
  grid-template-columns: 72px minmax(0, 1fr);
  grid-template-rows: auto auto;
  min-height: 0;
  gap: 12px 16px;
  padding: 20px;
  border-color: var(--line);
  border-radius: 7px;
  box-shadow: 0 12px 30px rgba(8, 28, 54, 0.06);
}

.training-icon {
  grid-column: 1;
  grid-row: 1 / 3;
  width: 72px;
  height: 72px;
  padding: 3px;
  background: transparent;
  border-radius: 0;
  object-fit: contain;
  mix-blend-mode: normal;
}

.training-card h3 {
  margin: 0 0 6px;
  color: var(--navy-dark);
  font-size: 17px;
}

.training-meta {
  gap: 7px 12px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
}

.training-card > .training-meta {
  grid-column: 2;
  align-self: start;
}

.training-details {
  grid-column: 1 / -1;
  grid-row: auto;
  width: 100%;
  min-width: 0;
  min-height: 42px;
}

@media (max-width: 900px) {
  .training-list {
    grid-template-columns: 1fr;
  }

  .training-card {
    grid-template-columns: 80px minmax(0, 1fr) auto;
    grid-template-rows: auto;
  }

  .training-icon {
    grid-column: 1;
    grid-row: 1;
  }

  .training-card > .training-meta {
    grid-column: 2;
  }

  .training-details {
    grid-column: 3;
    grid-row: 1;
    align-self: center;
    width: auto;
    min-width: 135px;
  }
}

@media (max-width: 640px) {
  .training-card {
    grid-template-columns: 64px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    gap: 8px 12px;
    padding: 14px;
  }

  .training-icon {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 64px;
    height: 64px;
  }

  .training-card > .training-meta {
    grid-column: 2;
  }

  .training-details {
    grid-column: 1 / -1;
    grid-row: 3;
    width: 100%;
  }
}

/* Training strip aligned with the approved homepage mockup. */
#terminy {
  padding-top: 32px;
  padding-bottom: 28px;
}

#terminy .section-head {
  position: relative;
  display: flex;
  min-height: 38px;
  justify-content: center;
  margin-bottom: 14px;
}

#terminy .section-head h2 {
  position: relative;
  margin: 0;
  padding-bottom: 8px;
  font-size: 22px;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
}

#terminy .section-head h2::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 48px;
  height: 3px;
  content: "";
  background: var(--yellow);
  transform: translateX(-50%);
}

.training-heading-copy {
  text-align: center;
}

.training-heading-copy p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

#terminy .section-head .btn {
  position: absolute;
  right: 0;
  min-height: 36px;
  padding: 8px 16px;
  gap: 10px;
  font-size: 11px;
}

#terminy .section-head .btn span {
  font-size: 20px;
  font-weight: 900;
  line-height: 0.7;
}

.training-list {
  gap: 16px;
}

.training-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  grid-template-rows: auto;
  min-height: 116px;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid #e4e8ee;
  background: var(--paper);
  box-shadow: 0 7px 22px rgba(8, 28, 54, 0.055);
}

.training-icon-wrap {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: var(--navy-dark);
}

.training-icon {
  display: block;
  width: 62px;
  height: 62px;
  padding: 4px;
  filter: brightness(0) invert(1);
}

.training-card__content {
  min-width: 0;
}

.training-card h3 {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.2;
  text-transform: uppercase;
}

.training-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 15px;
  margin-bottom: 8px;
  font-size: 11px;
}

.training-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.training-meta img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(12%) sepia(34%) saturate(1775%) hue-rotate(175deg) brightness(90%) contrast(104%);
}

.training-details {
  display: inline-flex;
  width: auto;
  min-width: 0;
  min-height: 0;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  color: var(--navy-dark);
  background: transparent;
  box-shadow: none;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
}

.training-details:hover,
.training-details:focus-visible {
  color: var(--yellow-dark);
  background: transparent;
  box-shadow: none;
}

.training-details span {
  font-size: 20px;
  font-weight: 900;
  line-height: 0.7;
  transition: transform 180ms ease;
}

.training-details:hover span,
.training-details:focus-visible span {
  transform: translateX(3px);
}

.firm-strip__grid {
  min-height: 108px;
}

.firm-strip__grid > div {
  grid-template-columns: 52px 1fr;
  gap: 14px;
}

.firm-strip img {
  width: 50px;
  height: 50px;
}

@media (max-width: 900px) {
  #terminy .section-head {
    display: grid;
    gap: 14px;
    justify-items: center;
  }

  #terminy .section-head .btn {
    position: static;
  }

  .training-card {
    grid-template-columns: 70px minmax(0, 1fr);
    min-height: 106px;
  }

  .training-icon-wrap {
    width: 68px;
    height: 68px;
  }

  .training-icon {
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 640px) {
  #terminy {
    padding-top: 26px;
  }

  #terminy .section-head h2 {
    font-size: 20px;
  }

  #terminy .section-head .btn {
    width: auto;
    min-width: 250px;
  }

  .training-card {
    grid-template-columns: 64px minmax(0, 1fr);
    grid-template-rows: auto;
    gap: 13px;
    padding: 14px;
  }

  .training-icon-wrap {
    grid-row: 1;
    width: 62px;
    height: 62px;
  }

  .training-icon {
    width: 51px;
    height: 51px;
  }

  .training-meta {
    gap: 5px 10px;
    font-size: 10px;
  }

  .firm-strip__grid > div {
    grid-template-columns: 40px 1fr;
    gap: 10px;
  }

  .firm-strip img {
    width: 38px;
    height: 38px;
  }
}

/* Hero: opaque copy panel with the complete equipment image visible. */
.hero,
.hero__media {
  background: var(--navy-dark);
}

.hero::before {
  background: var(--navy-dark);
  clip-path: polygon(0 0, 49% 0, 41% 100%, 0 100%);
}

@media (min-width: 901px) {
  .top-strip__inner,
  .nav-shell,
  .hero__inner {
    width: min(calc(100% - 80px), 1370px);
  }

  .brand img {
    object-position: left center;
  }

  .hero,
  .hero__inner {
    min-height: clamp(400px, 25vw, 500px);
  }

  .hero__media img {
    width: 59%;
    height: 100%;
    margin-left: auto;
    object-fit: cover;
    object-position: center;
    transform: none;
  }

  .hero__copy {
    max-width: 590px;
    padding: 24px 0;
  }

  .hero__actions .btn {
    min-height: 44px;
  }

  .trust-row {
    margin-top: 17px;
  }
}

.main-nav a[aria-current="page"]::after {
  width: 100%;
}

.hero__actions .btn img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.hero__actions .btn--primary img {
  filter: brightness(0) saturate(100%) invert(9%) sepia(38%) saturate(1872%) hue-rotate(174deg) brightness(92%) contrast(103%);
}

.hero__actions .btn span {
  font-size: 22px;
  line-height: 1;
}

.training-icon {
  width: 64px;
  height: 64px;
  max-width: none;
  padding: 0;
}

.contact-strip img {
  width: 44px;
  height: 44px;
  filter: none;
}

.trust-row img,
.rail-icon {
  filter: none;
}

.trust-row img {
  width: 34px;
  height: 34px;
}

.rail-icon {
  width: 48px;
  height: 48px;
}

.firm-strip__grid {
  min-height: 100px;
}

.firm-strip__grid > div {
  grid-template-columns: 46px 1fr;
  gap: 12px;
}

.firm-strip img {
  width: 40px;
  height: 40px;
}

.point-grid img {
  filter: brightness(0) saturate(100%) invert(76%) sepia(93%) saturate(1891%) hue-rotate(359deg) brightness(101%) contrast(104%);
}

@media (max-width: 900px) {
  .hero::before {
    background: var(--navy-dark);
    clip-path: polygon(0 0, 100% 0, 100% 68%, 0 75%);
  }

  .hero__media {
    display: flex;
    align-items: flex-end;
  }

  .hero__media img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center bottom;
    transform: none;
  }

  .training-icon {
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 640px) {
  .hero::before {
    clip-path: polygon(0 0, 100% 0, 100% 72%, 0 76%);
  }

  .hero__actions .btn {
    min-height: 48px;
    gap: 6px;
    padding-inline: 7px;
    font-size: 12px;
    white-space: nowrap;
  }

  .hero__actions .btn img {
    width: 14px;
    height: 14px;
  }

  .training-icon {
    width: 52px;
    height: 52px;
  }

  .contact-strip img {
    width: 38px;
    height: 38px;
  }

  .firm-strip img {
    width: 34px;
    height: 34px;
  }
}

/* Final icon set and Google review card */
.dark-benefits img,
.why-icon,
.process-title img,
.process-card__footer img {
  filter: brightness(0) saturate(100%) invert(61%) sepia(94%) saturate(1440%) hue-rotate(7deg) brightness(96%) contrast(101%);
}

.reviews-inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(480px, 1.22fr);
  gap: clamp(32px, 5vw, 72px);
  min-height: 0;
  padding-block: clamp(44px, 5vw, 74px);
}

.reviews-copy {
  align-self: center;
}

.reviews-copy h2 {
  margin-bottom: 16px;
}

.reviews-copy p:not(.eyebrow) {
  max-width: 520px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.8);
}

.google-review-card {
  display: block;
  align-self: center;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.28);
}

.google-review-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1659 / 948;
  object-fit: contain;
}

@media (max-width: 900px) {
  .reviews-inner {
    grid-template-columns: 1fr;
  }

  .google-review-card {
    width: 100%;
    max-width: 760px;
    justify-self: center;
  }
}

@media (max-width: 640px) {
  .reviews-inner {
    gap: 28px;
    padding-block: 36px;
  }

  .reviews-copy {
    text-align: center;
  }

  .reviews-copy p:not(.eyebrow) {
    margin-inline: auto;
  }
}

/* Polished phone layout */
@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .section {
    padding-block: 56px;
  }

  .section-head {
    margin-bottom: 28px;
  }

  .section-head h2,
  #terminy .section-head h2 {
    font-size: 30px;
    line-height: 1.08;
  }

  .section-head > p:not(.eyebrow) {
    font-size: 15px;
    line-height: 1.55;
  }

  .sticky-call {
    position: fixed;
    right: 14px;
    bottom: 14px;
    width: 54px;
    height: 54px;
    z-index: 120;
    background: var(--navy);
    border: 2px solid var(--yellow);
    box-shadow: 0 8px 22px rgba(3, 27, 54, 0.24);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .sticky-call::before {
    width: 27px;
    height: 27px;
    filter: none;
  }

  .nav-shell {
    display: flex;
    width: 100%;
    min-height: 68px;
    gap: 8px;
    padding-inline: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    background: var(--paper);
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .nav-shell::-webkit-scrollbar {
    display: none;
  }

  .brand {
    flex: 0 0 158px;
    margin-left: 0;
    scroll-snap-align: start;
  }

  .main-nav {
    position: static;
    inset: auto;
    display: flex;
    flex: 0 0 auto;
    width: max-content;
    min-width: max-content;
    max-height: none;
    gap: 18px;
    padding: 8px 0;
    align-items: center;
    overflow: visible;
    background: var(--paper);
    border: 0;
    box-shadow: none;
    transform: none;
    transition: none;
  }

  .main-nav a:not(.btn) {
    flex: 0 0 auto;
    padding: 10px 0;
    scroll-snap-align: start;
    white-space: nowrap;
  }

  .main-nav .nav-cta {
    flex: 0 0 auto;
    width: auto;
    min-height: 38px;
    margin: 0;
    padding: 8px 14px;
    scroll-snap-align: start;
    white-space: nowrap;
  }

  .menu-toggle {
    display: none;
  }

  .site-header {
    opacity: 1;
    background: #fff;
    background-image: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .site-header .nav-shell,
  .site-header .main-nav,
  .site-header .brand {
    opacity: 1;
    background-color: #fff;
    background-image: none;
  }

  .hero,
  .hero__inner {
    min-height: 650px;
  }

  .hero__inner {
    align-items: start;
  }

  .hero__copy {
    padding: 24px 0 120px;
  }

  .hero h1 {
    font-size: 35px;
    line-height: 1.02;
  }

  .hero h1 span {
    white-space: nowrap;
  }

  .hero__categories {
    font-size: 12px;
  }

  .hero__lead {
    font-size: 15px;
    line-height: 1.45;
  }

  .hero__actions {
    gap: 8px;
  }

  .hero__actions .btn {
    padding-inline: 8px;
    font-size: 11px;
  }

  .trust-row {
    margin-top: 58px;
  }

  .about-copy__intro {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .about-copy__intro p {
    font-size: 16px;
    line-height: 1.6;
  }

  .about-udt-logo {
    width: 74px;
    height: 74px;
    margin-top: 6px;
    justify-self: start;
  }

  .about-photo {
    margin-top: 20px;
    aspect-ratio: 16 / 10;
  }

  .point-grid {
    grid-template-columns: 1fr;
    gap: 0;
    border-top: 1px solid var(--line);
  }

  .point-grid article {
    grid-template-columns: 44px 1fr;
    gap: 14px;
    min-height: 82px;
    padding: 15px 2px;
    align-items: center;
    border-bottom: 1px solid var(--line);
  }

  .point-grid img {
    display: none;
  }

  .point-grid article::before {
    width: 40px;
    height: 40px;
    content: "";
    background: #f9b500;
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-position: center;
    mask-repeat: no-repeat;
    mask-size: contain;
  }

  .point-grid article:nth-child(1)::before {
    -webkit-mask-image: url("assets/icons/rail-instructors-client.png");
    mask-image: url("assets/icons/rail-instructors-client.png");
  }

  .point-grid article:nth-child(2)::before {
    -webkit-mask-image: url("assets/training-forklift-navy.png");
    mask-image: url("assets/training-forklift-navy.png");
  }

  .point-grid article:nth-child(3)::before {
    -webkit-mask-image: url("assets/icons/rail-exam-client.png");
    mask-image: url("assets/icons/rail-exam-client.png");
  }

  .point-grid article:nth-child(4)::before {
    -webkit-mask-image: url("assets/icons/rail-company-client.png");
    mask-image: url("assets/icons/rail-company-client.png");
  }

  .point-grid h3 {
    font-size: 15px;
  }

  .point-grid p {
    font-size: 13px;
    line-height: 1.45;
  }

  .offer-udt {
    grid-template-columns: 58px 1fr;
    gap: 14px;
  }

  .offer-udt img {
    width: 56px;
    height: 56px;
  }

  .dark-benefits {
    grid-template-columns: 1fr;
  }

  .dark-benefits span {
    grid-template-columns: 38px 1fr;
    min-height: 64px;
    gap: 14px;
    padding: 12px 16px;
    font-size: 13px;
  }

  .dark-benefits img {
    width: 36px;
    height: 36px;
  }

  .process-grid {
    gap: 18px;
  }

  .process-card {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  .process-card > img {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }

  .process-card__body {
    padding: 18px;
  }

  .process-title {
    grid-template-columns: 38px 1fr;
    gap: 12px;
    margin-bottom: 13px;
  }

  .process-title img {
    width: 36px;
    height: 36px;
  }

  .process-card h3 {
    font-size: 18px;
  }

  .process-card li {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.45;
  }

  .process-card__footer {
    grid-column: auto;
    grid-template-columns: 30px 1fr;
    min-height: 62px;
    padding: 12px 18px;
    font-size: 13px;
  }

  .process-card__footer img {
    width: 28px;
    height: 28px;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .why-card {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    grid-template-areas:
      "icon title"
      "icon highlight"
      "icon text";
    gap: 4px 16px;
    min-height: 0;
    padding: 18px;
    align-items: start;
    text-align: left;
  }

  .why-icon {
    grid-area: icon;
    width: 50px;
    height: 50px;
    margin: 2px 0 0;
  }

  .why-card h3 {
    grid-area: title;
    margin: 0;
    font-size: 15px;
  }

  .why-card strong {
    grid-area: highlight;
    margin: 0;
    font-size: 12px;
  }

  .why-card strong::after {
    display: none;
  }

  .why-card p {
    grid-area: text;
    margin-top: 4px;
    font-size: 13px;
    line-height: 1.45;
  }

  .gallery-grid figure {
    min-height: 210px;
  }

  .firm-benefits {
    grid-template-columns: 1fr;
    gap: 0;
    border-top: 1px solid var(--line);
  }

  .firm-benefits article {
    grid-template-columns: 44px 1fr;
    gap: 14px;
    min-height: 82px;
    padding: 15px 2px;
    align-items: center;
    border-bottom: 1px solid var(--line);
  }

  .firm-benefits img {
    width: 40px;
    height: 40px;
  }

  .firm-benefits h3 {
    font-size: 15px;
  }

  .firm-benefits p {
    font-size: 13px;
    line-height: 1.45;
  }

  .quote-panel {
    margin-top: 26px;
    padding: 22px;
  }

  .blog-card__image,
  .article-card:not(.article-card--featured) > img {
    height: 200px;
  }

  .article-card:not(.article-card--featured) {
    grid-template-rows: 200px auto auto 1fr auto;
  }

  .blog-card__body {
    padding: 24px;
  }

  .contact-card,
  .contact-form,
  .map-panel {
    padding: 22px;
  }

  .final-cta h2 {
    font-size: 33px;
  }

  .final-cta__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .final-cta__copy,
  .final-cta__visual {
    min-width: 0;
  }

  .phone-big {
    font-size: 36px;
  }

  .footer-grid {
    gap: 26px;
  }
}

/* Client corrections - 2026-07-31 */
.offer-section {
  padding: 0;
  overflow: hidden;
}

.offer-section-hero {
  position: relative;
  height: clamp(350px, 25vw, 480px);
  overflow: hidden;
  background: var(--navy-dark);
}

.offer-section-hero::after {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  width: calc(max(20px, (100vw - var(--container)) / 2) + 500px);
  content: "";
  background: linear-gradient(
    90deg,
    #031b36 0%,
    #031b36 64%,
    rgba(3, 27, 54, 0.96) 70%,
    rgba(3, 27, 54, 0.78) 80%,
    rgba(3, 27, 54, 0.4) 90%,
    rgba(5, 27, 53, 0) 100%
  );
}

.offer-section-hero > img {
  position: absolute;
  inset: 0 0 0 auto;
  width: auto;
  max-width: none;
  height: 100%;
  object-fit: contain;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    rgba(0, 0, 0, 0.22) 28px,
    rgba(0, 0, 0, 0.72) 108px,
    #000 180px,
    #000 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    rgba(0, 0, 0, 0.22) 28px,
    rgba(0, 0, 0, 0.72) 108px,
    #000 180px,
    #000 100%
  );
}

.offer-section-hero__copy {
  position: relative;
  z-index: 2;
  display: flex;
  height: 100%;
  align-items: center;
}

.offer-section-hero__copy h2 {
  margin: 0;
  color: var(--paper);
  font-family: "Roboto Condensed", sans-serif;
  font-size: clamp(48px, 5vw, 74px);
  line-height: 1;
  text-transform: uppercase;
}

.offer-section__body {
  padding-top: 64px;
  padding-bottom: 64px;
}

.offer-client-banner {
  display: block;
  grid-column: 1 / -1;
  margin-bottom: 36px;
  overflow: hidden;
  background: var(--navy-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.offer-client-banner img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 5;
  object-fit: cover;
  object-position: center;
  transition: transform 280ms ease;
}

.offer-client-banner:hover img,
.offer-client-banner:focus-visible img {
  transform: scale(1.015);
}

.offer-more {
  display: flex;
  grid-column: 1 / -1;
  justify-content: center;
  margin-top: 26px;
}

#oferta .offer-intro {
  grid-column: 1;
}

#oferta .offer-grid {
  grid-column: 2;
}

.about-udt-logo {
  width: 138px;
  height: 138px;
  padding: 0;
  background: transparent;
}

.about-photo {
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  background: #eef2f5;
}

.gallery-tile {
  position: relative;
  min-width: 0;
  height: 315px;
  min-height: 315px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: var(--paper);
  background: var(--navy-dark);
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  cursor: pointer;
  text-align: left;
}

.gallery-tile::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(6, 27, 53, 0.96), rgba(6, 27, 53, 0) 52%);
  pointer-events: none;
}

.gallery-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 280ms ease;
}

.gallery-tile span {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 18px;
  font-weight: 800;
}

.gallery-tile:hover img,
.gallery-tile:focus-visible img {
  transform: scale(1.035);
}

.gallery-tile:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.quote-contact {
  display: flex !important;
  align-items: center;
  gap: 12px;
}

.quote-contact img {
  width: 25px;
  height: 25px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-link {
  display: flex !important;
  align-items: center;
  gap: 10px;
  min-height: 30px;
}

.footer-link img {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  object-fit: contain;
}

.footer-contact-links .footer-link > img[src*="icon-phone"],
.footer-contact-links .footer-link > img[src*="icon-email"] {
  filter: brightness(0) saturate(100%) invert(79%) sepia(92%) saturate(1731%) hue-rotate(357deg) brightness(100%) contrast(103%);
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  place-items: center;
  padding: 28px;
}

.gallery-modal.is-open {
  display: grid;
}

.gallery-modal__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  background: rgba(4, 17, 34, 0.92);
  border: 0;
  cursor: pointer;
}

.gallery-modal__panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  width: min(1120px, 100%);
  max-height: calc(100vh - 56px);
  padding: 20px;
  overflow: hidden;
  color: var(--navy-dark);
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
}

.gallery-modal__header,
.gallery-modal__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.gallery-modal__header {
  padding: 0 0 16px;
}

.gallery-modal__header h2,
.gallery-modal__header p {
  margin: 0;
}

.gallery-modal__header h2 {
  font-size: 26px;
}

.gallery-modal__close {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  padding: 0;
  color: var(--paper);
  background: var(--navy-dark);
  border: 0;
  border-radius: 50%;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.gallery-modal__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  overflow: hidden;
  background: #0a1d34;
  border-radius: 4px;
}

.gallery-modal__stage > img {
  display: block;
  width: 100%;
  height: min(62vh, 690px);
  object-fit: contain;
}

.gallery-modal__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 50px;
  height: 58px;
  padding: 0 0 4px;
  color: var(--navy-dark);
  background: var(--yellow);
  border: 0;
  border-radius: 4px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.gallery-modal__arrow--prev {
  left: 16px;
}

.gallery-modal__arrow--next {
  right: 16px;
}

.gallery-modal__meta {
  padding: 12px 2px 10px;
  font-size: 14px;
}

.gallery-modal__thumbs {
  display: flex;
  gap: 8px;
  padding-bottom: 2px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.gallery-modal__thumbs button {
  width: 86px;
  height: 58px;
  flex: 0 0 86px;
  padding: 2px;
  overflow: hidden;
  background: var(--paper);
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
}

.gallery-modal__thumbs button.is-active {
  border-color: var(--yellow);
}

.gallery-modal__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.offer-page-hero {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  color: var(--paper);
  background: var(--navy-dark);
}

.offer-page-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(5, 26, 51, 0.96) 0%, rgba(5, 26, 51, 0.72) 37%, rgba(5, 26, 51, 0.08) 67%);
}

.offer-page-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.offer-page-hero__copy {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 430px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.offer-page-hero h1 {
  max-width: 620px;
  margin: 8px 0 14px;
  color: var(--paper);
  font-family: "Roboto Condensed", sans-serif;
  font-size: 64px;
  line-height: 0.98;
  text-transform: uppercase;
}

.offer-page-hero p:not(.eyebrow) {
  max-width: 570px;
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
}

.offer-page-content .offer-intro {
  margin-top: 0;
}

.offer-grid--page {
  margin-top: 8px;
}

.offer-page-cta {
  padding: 50px 0;
  color: var(--paper);
  background: var(--navy);
}

.offer-page-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.offer-page-cta h2 {
  margin: 4px 0 8px;
  color: var(--paper);
  font-size: 34px;
}

.offer-page-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.offer-page-cta__actions {
  display: flex;
  gap: 12px;
  flex: 0 0 auto;
}

.offer-page-cta .btn--outline {
  color: var(--paper);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.75);
}

.offer-page-cta .btn--outline:hover,
.offer-page-cta .btn--outline:focus-visible {
  color: var(--navy-dark);
  background: var(--paper);
}

@media (max-width: 900px) {
  .offer-page-hero,
  .offer-page-hero__copy {
    min-height: 360px;
  }

  .offer-page-hero h1 {
    font-size: 52px;
  }

  .offer-page-cta__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .offer-section-hero {
    height: 250px;
  }

  .offer-section-hero::after {
    width: 100%;
    background: linear-gradient(
      90deg,
      rgba(5, 27, 53, 0.98) 0%,
      rgba(5, 27, 53, 0.82) 48%,
      rgba(5, 27, 53, 0.22) 100%
    );
  }

  .offer-section-hero > img {
    inset: 0 auto 0 0;
    width: 100%;
    object-fit: cover;
    object-position: 42% center;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .offer-section-hero__copy h2 {
    font-size: 44px;
  }

  .offer-section__body {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .offer-client-banner {
    margin-bottom: 24px;
  }

  .offer-client-banner img {
    aspect-ratio: 16 / 8;
    object-position: center;
  }

  .about-udt-logo {
    width: 96px;
    height: 96px;
  }

  .about-photo {
    aspect-ratio: 3 / 2;
  }

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

  .gallery-grid figure,
  .gallery-tile {
    height: 250px;
    min-height: 240px;
  }

  .gallery-modal {
    padding: 0;
  }

  .gallery-modal__panel {
    width: 100%;
    max-height: 100dvh;
    min-height: 100dvh;
    padding: 16px 12px 12px;
    border-radius: 0;
  }

  .gallery-modal__header h2 {
    font-size: 21px;
  }

  .gallery-modal__stage > img {
    height: min(58vh, 560px);
  }

  .gallery-modal__arrow {
    width: 42px;
    height: 52px;
    font-size: 36px;
  }

  .gallery-modal__arrow--prev {
    left: 8px;
  }

  .gallery-modal__arrow--next {
    right: 8px;
  }

  .gallery-modal__meta {
    font-size: 12px;
  }

  .quote-contact {
    font-size: 19px !important;
  }

  .offer-page-hero,
  .offer-page-hero__copy {
    min-height: 330px;
  }

  .offer-page-hero::after {
    background: linear-gradient(90deg, rgba(5, 26, 51, 0.96), rgba(5, 26, 51, 0.68));
  }

  .offer-page-hero h1 {
    font-size: 40px;
  }

  .offer-page-hero p:not(.eyebrow) {
    max-width: 92%;
    font-size: 15px;
  }

  .offer-page-cta {
    padding: 38px 0;
  }

  .offer-page-cta h2 {
    font-size: 28px;
  }

  .offer-page-cta__actions {
    width: 100%;
    flex-direction: column;
  }

  .offer-page-cta__actions .btn {
    width: 100%;
  }

  .footer-link {
    width: fit-content;
  }
}

/* Blog aligned with the client reference */
.blog-card__media,
.article-card__media {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #e9edf2;
}

.blog-card__media {
  height: 250px;
}

.article-card__media {
  height: 270px;
}

.blog-card__media .blog-card__image,
.article-card__media .blog-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-image--forklift {
  object-position: center 50%;
}

.blog-image--platform {
  object-position: center 45%;
}

.blog-image--crane {
  object-position: center 68%;
}

.blog-card__brand {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  width: 104px;
  height: auto;
  padding: 0;
  background: transparent;
  border: 0;
  filter: drop-shadow(0 1px 1px rgba(255, 255, 255, 0.85));
}

.blog-archive {
  padding-top: 64px;
  padding-bottom: 82px;
}

.blog-archive__header {
  margin-bottom: 34px;
}

.blog-archive__header .eyebrow {
  margin-bottom: 12px;
}

.blog-archive__header h1 {
  max-width: 840px;
  margin: 0;
  color: var(--navy-dark);
  font-size: clamp(42px, 4.3vw, 58px);
  line-height: 1.08;
}

.article-grid--archive {
  align-items: stretch;
}

.article-grid--archive .article-card {
  grid-template-rows: 270px auto auto 1fr auto;
}

@media (max-width: 640px) {
  .blog-archive {
    padding-top: 38px;
    padding-bottom: 56px;
  }

  .blog-archive__header {
    margin-bottom: 24px;
  }

  .blog-archive__header h1 {
    font-size: 34px;
  }

  .blog-card__media,
  .article-card__media {
    height: 210px;
  }

  .article-grid--archive .article-card {
    grid-template-rows: 210px auto auto 1fr auto;
  }

  .blog-card__brand {
    top: 8px;
    right: 8px;
    width: 88px;
  }
}

/* Client corrections - 2026-08-03 */
.google-mark {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  font-size: 0;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

img,
video,
iframe {
  max-width: 100%;
}

.faq .section-head,
.gallery .section-head,
.blog .section-head {
  text-align: center;
}

.faq .section-head,
.gallery .section-head {
  width: 100%;
  max-width: none;
  margin-inline: auto;
  justify-content: center;
}

.faq .section-head h2 {
  max-width: 940px;
  margin-inline: auto;
}

.gallery .section-head > div {
  width: 100%;
}

.gallery .section-head h2 {
  margin-inline: auto;
  text-align: center;
}

.blog .section-head--row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
}

.blog .section-head--row > div {
  grid-column: 2;
}

.blog .section-head--row > .btn {
  grid-column: 3;
  justify-self: end;
}

.blog-archive__header {
  text-align: center;
}

.blog-archive__header h1 {
  margin-inline: auto;
}

.article-layout--blog {
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

.article-layout--blog .article-grid--archive {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-layout--blog .article-sidebar {
  position: static;
  display: block;
}

.article-layout--blog .sidebar-panel {
  max-width: 760px;
  margin-inline: auto;
}

.gallery-tile {
  position: relative;
}

.gallery-tile > .gallery-tile__image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-tile__image--forklift {
  object-position: center 52%;
}

.gallery-tile__image--platform {
  object-position: center 44%;
}

.gallery-tile__image--crane {
  object-position: center 68%;
}

.gallery-tile__brand {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  width: 96px !important;
  min-width: 0;
  max-width: none !important;
  height: auto !important;
  object-fit: contain !important;
  filter: drop-shadow(0 1px 1px rgba(255, 255, 255, 0.85));
}

.gallery-tile > span {
  position: relative;
  z-index: 2;
}

.contact-line--bank {
  align-items: flex-start;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.5;
}

.contact-line--bank strong {
  font-size: 15px;
}

.contact-line--bank b {
  color: var(--navy-dark);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.contact-downloads {
  display: grid;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.contact-card .contact-downloads p {
  margin: 0 0 2px;
  color: var(--navy-dark);
  font-size: 14px;
  font-weight: 800;
}

.contact-card .contact-downloads a {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  margin: 0;
  color: var(--navy-dark);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.contact-card .contact-downloads img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.contact-card .contact-downloads span {
  color: #9a6900;
  font-size: 11px;
  font-weight: 800;
}

@media (min-width: 641px) {
  .gallery .section-head h2 {
    max-width: none;
    white-space: nowrap;
  }
}

@media (max-width: 980px) {
  .article-layout--blog .article-grid--archive {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    max-width: 100vw;
    overflow: hidden;
  }

  .nav-shell {
    box-sizing: border-box;
    max-width: 100vw;
  }

  .main-nav,
  .hero,
  .feature-rail,
  .section,
  .site-footer {
    min-width: 0;
  }

  .sticky-call {
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    width: 48px;
    height: 48px;
  }

  .sticky-call::before {
    width: 24px;
    height: 24px;
  }

  .blog .section-head--row {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .blog .section-head--row > .btn {
    align-self: center;
  }

  .article-layout--blog .article-grid--archive {
    grid-template-columns: minmax(0, 1fr);
  }

  .article-layout--blog .sidebar-panel {
    max-width: none;
  }

  .gallery-tile__brand {
    top: 8px;
    right: 8px;
    width: 82px;
  }

  .contact-line--bank b {
    font-size: 12px;
    letter-spacing: 0;
  }

  .about-copy__intro {
    gap: 16px;
  }

  .about-udt-logo {
    width: 98px;
    height: 98px;
    margin: 4px auto 0;
    justify-self: center;
  }
}

/* Hybrid phone layout: desktop-like opening, readable content below. */
@media (max-width: 640px) {
  .top-strip {
    display: block;
    font-size: 9px;
  }

  .top-strip__inner {
    width: calc(100% - 24px);
    min-height: 30px;
    gap: 8px;
  }

  .rating-link,
  .top-contact {
    gap: 5px;
  }

  .google-mark {
    width: 15px;
    height: 15px;
  }

  .rating-link .hide-small,
  .top-contact a:first-child {
    display: none;
  }

  .top-contact a + a {
    padding-left: 8px;
  }

  .top-contact img {
    width: 14px;
    height: 14px;
  }

  .nav-shell {
    min-height: 64px;
  }

  .brand {
    flex-basis: 142px;
  }

  .brand img {
    width: 142px;
    height: auto;
    max-width: 142px;
  }

  .main-nav {
    gap: 15px;
    font-size: 11px;
  }

  .hero,
  .hero__inner {
    min-height: 370px;
  }

  .hero::before {
    background: var(--navy-dark);
    clip-path: polygon(0 0, 72% 0, 60% 100%, 0 100%);
  }

  .hero::after {
    display: block;
    right: -30px;
    width: 72px;
    background: rgba(244, 180, 0, 0.9);
  }

  .hero__media {
    display: block;
  }

  .hero__media img {
    width: 65%;
    height: 100%;
    margin-left: auto;
    object-fit: cover;
    object-position: 43% center;
  }

  .hero__inner {
    align-items: center;
  }

  .hero__copy {
    width: 60%;
    max-width: 224px;
    padding: 22px 0;
  }

  .hero h1 {
    margin-bottom: 10px;
    font-size: 27px;
    line-height: 0.98;
  }

  .hero h1 span {
    white-space: nowrap;
  }

  .hero__categories {
    flex-wrap: nowrap;
    gap: 4px;
    margin-bottom: 9px;
    font-size: 8px;
    white-space: nowrap;
  }

  .hero__categories i,
  .hero__lead i {
    width: 4px;
    height: 4px;
    margin-inline: 1px;
  }

  .hero__lead {
    max-width: 210px;
    margin-bottom: 13px;
    font-size: 10px;
    line-height: 1.45;
  }

  .hero__actions {
    flex-wrap: nowrap;
    gap: 6px;
  }

  .hero__actions .btn {
    width: auto;
    min-height: 32px;
    gap: 4px;
    padding: 6px 8px;
    font-size: 8px;
  }

  .hero__actions .btn img {
    width: 10px;
    height: 10px;
  }

  .hero__actions .btn span {
    font-size: 14px;
  }

  .trust-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 218px;
    gap: 5px;
    margin-top: 18px;
  }

  .trust-row span {
    grid-template-columns: 1fr;
    gap: 3px;
    font-size: 7px;
    line-height: 1.2;
    text-align: center;
  }

  .trust-row img {
    width: 20px;
    height: 20px;
    margin-inline: auto;
  }

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

  .rail-grid article,
  .rail-grid article:nth-child(2) {
    grid-template-columns: 1fr;
    gap: 5px;
    min-height: 92px;
    padding: 10px 4px;
    border-right: 1px solid var(--line);
    text-align: center;
  }

  .rail-grid article:last-child {
    border-right: 0;
  }

  .rail-icon {
    width: 27px;
    height: 27px;
    margin-inline: auto;
  }

  .rail-grid h2 {
    margin-bottom: 3px;
    font-size: 9px;
    line-height: 1.15;
  }

  .rail-grid p {
    margin: 0;
    font-size: 7px;
    line-height: 1.25;
  }

  #terminy {
    padding: 24px 0 20px;
  }

  #terminy .section-head {
    margin-bottom: 14px;
  }

  #terminy .section-head h2 {
    font-size: 18px;
  }

  #terminy .section-head .btn {
    min-width: 0;
    min-height: 28px;
    padding: 5px 9px;
    font-size: 8px;
  }

  .training-heading-copy p {
    margin-top: 4px;
    font-size: 10px;
  }

  .training-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .training-card {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    min-height: 0;
    gap: 7px;
    padding: 8px 5px;
    align-items: start;
    text-align: center;
  }

  .training-icon-wrap {
    grid-row: auto;
    width: 42px;
    height: 42px;
    margin-inline: auto;
  }

  .training-icon {
    width: 35px;
    height: 35px;
  }

  .training-card h3 {
    margin-bottom: 5px;
    font-size: 9px;
    line-height: 1.15;
  }

  .training-meta {
    display: grid;
    justify-content: center;
    gap: 3px;
    margin-bottom: 6px;
    font-size: 7px;
  }

  .training-meta span {
    justify-content: center;
    gap: 3px;
    white-space: normal;
  }

  .training-meta img {
    width: 10px;
    height: 10px;
  }

  .training-details {
    justify-content: center;
    font-size: 8px;
  }

  #terminy .note {
    margin-top: 12px;
    font-size: 9px;
    text-align: center;
  }

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

  .stats-grid strong,
  .stats-grid strong:nth-child(2) {
    grid-template-columns: 24px minmax(0, 1fr);
    min-height: 66px;
    gap: 3px 5px;
    padding: 9px 5px;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 16px;
  }

  .stats-grid strong:last-child {
    border-right: 0;
  }

  .stats-grid img {
    width: 22px;
    height: 22px;
  }

  .stats-grid span {
    margin-top: 0;
    font-size: 6px;
    line-height: 1.15;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-copy__intro {
    grid-template-columns: minmax(0, 1fr) 88px;
    gap: 12px;
    align-items: start;
  }

  .about-copy__paragraph--first {
    grid-column: 1;
    grid-row: 1;
  }

  .about-copy__paragraph--second {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .about-udt-logo {
    grid-column: 2;
    grid-row: 1;
    width: 88px;
    height: 88px;
    margin: 2px 0 0;
    justify-self: end;
  }

  .about-photo,
  .building-photo {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center;
  }

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

  .gallery-grid figure,
  .gallery-tile {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .gallery-tile__brand {
    top: 6px;
    right: 6px;
    width: 50px !important;
  }

  .gallery-tile span,
  .gallery-grid figcaption {
    padding: 10px;
    font-size: 11px;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  .video-play span {
    width: 48px;
    height: 48px;
  }

  .video-play span::before {
    margin-left: 4px;
    border-top-width: 9px;
    border-bottom-width: 9px;
    border-left-width: 14px;
  }

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

  .sticky-call {
    width: 40px;
    height: 40px;
  }

  .sticky-call::before {
    width: 20px;
    height: 20px;
  }
}

/* Phone: render the top strip, navbar and hero exactly as a scaled desktop composition. */
html.desktop-top-mobile,
html.desktop-top-mobile body {
  max-width: 100%;
  overflow-x: hidden;
}

.desktop-top-mobile .top-strip {
  display: block;
  width: 100%;
  height: var(--desktop-strip-height);
  overflow: hidden;
  font-size: 13px;
}

.desktop-top-mobile .top-strip__inner {
  box-sizing: border-box;
  width: 1040px;
  max-width: none;
  min-height: 36px;
  margin: 0;
  padding-inline: 28px;
  gap: 16px;
  transform: scale(var(--desktop-nav-scale));
  transform-origin: top left;
}

.desktop-top-mobile .rating-link,
.desktop-top-mobile .top-contact {
  gap: 12px;
}

.desktop-top-mobile .google-mark {
  width: 20px;
  height: 20px;
}

.desktop-top-mobile .rating-link .hide-small {
  display: inline;
}

.desktop-top-mobile .top-contact a:first-child {
  display: inline-flex;
}

.desktop-top-mobile .top-contact a + a {
  padding-left: 18px;
}

.desktop-top-mobile .top-contact img {
  width: 20px;
  height: 20px;
}

.desktop-top-mobile .site-header {
  width: 100%;
  height: var(--desktop-nav-height);
  min-height: 0;
  overflow: hidden;
  background: var(--paper);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.desktop-top-mobile .nav-shell {
  box-sizing: border-box;
  display: flex;
  width: 1040px;
  max-width: none;
  min-height: 86px;
  margin: 0;
  padding-inline: 28px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  overflow: visible;
  background: var(--paper);
  transform: scale(var(--desktop-nav-scale));
  transform-origin: top left;
}

.desktop-top-mobile .brand {
  flex: 0 0 auto;
  margin: 0;
}

.desktop-top-mobile .brand img {
  width: auto;
  height: 64px;
  max-width: 200px;
  object-fit: contain;
}

.desktop-top-mobile .main-nav {
  position: static;
  inset: auto;
  display: flex;
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  max-height: none;
  padding: 0;
  align-items: center;
  gap: 13px;
  overflow: visible;
  color: var(--navy-dark);
  background: transparent;
  border: 0;
  box-shadow: none;
  font-size: 13px;
  transform: none;
}

.desktop-top-mobile .main-nav a:not(.btn) {
  flex: 0 0 auto;
  padding: 12px 0;
  white-space: nowrap;
}

.desktop-top-mobile .main-nav .nav-cta {
  flex: 0 0 auto;
  width: auto;
  min-height: 42px;
  margin: 0;
  padding: 10px 15px;
  white-space: nowrap;
}

.desktop-top-mobile .menu-toggle {
  display: none;
}

.desktop-top-mobile .hero-desktop-frame {
  width: 100%;
  height: var(--desktop-hero-height);
  overflow: hidden;
  background: var(--navy-dark);
}

.desktop-top-mobile .hero {
  width: 1440px;
  min-height: 460px;
  transform: scale(var(--desktop-hero-scale));
  transform-origin: top left;
}

.desktop-top-mobile .hero::before {
  background: var(--navy-dark);
  clip-path: polygon(0 0, 52% 0, 44% 100%, 0 100%);
}

.desktop-top-mobile .hero::after {
  display: block;
  right: -65px;
  width: 215px;
  background: rgba(244, 180, 0, 0.82);
}

.desktop-top-mobile .hero__media {
  display: block;
}

.desktop-top-mobile .hero__media img {
  width: 62%;
  height: 100%;
  margin-left: auto;
  object-fit: cover;
  object-position: 48% center;
}

.desktop-top-mobile .hero__inner {
  box-sizing: border-box;
  width: 1384px;
  max-width: none;
  min-height: 460px;
  margin-inline: 28px;
  align-items: center;
}

.desktop-top-mobile .hero__copy {
  width: auto;
  max-width: 535px;
  padding: 20px 0;
}

.desktop-top-mobile .hero h1 {
  margin-bottom: 16px;
  font-size: 64px;
  line-height: 1.02;
}

.desktop-top-mobile .hero h1 span {
  white-space: nowrap;
}

.desktop-top-mobile .hero__categories {
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 15px;
  white-space: normal;
}

.desktop-top-mobile .hero__categories i,
.desktop-top-mobile .hero__lead i {
  width: 6px;
  height: 6px;
  margin-inline: 4px;
}

.desktop-top-mobile .hero__lead {
  max-width: 530px;
  margin-bottom: 24px;
  font-size: 18px;
  line-height: 1.5;
}

.desktop-top-mobile .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.desktop-top-mobile .hero__actions .btn {
  width: auto;
  min-height: 44px;
  gap: 10px;
  padding: 12px 22px;
  font-size: 15px;
}

.desktop-top-mobile .hero__actions .btn img {
  width: 16px;
  height: 16px;
}

.desktop-top-mobile .hero__actions .btn span {
  font-size: 20px;
}

.desktop-top-mobile .trust-row {
  display: flex;
  width: auto;
  grid-template-columns: none;
  gap: 18px;
  margin-top: 15px;
}

.desktop-top-mobile .trust-row span {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  max-width: 155px;
  gap: 9px;
  align-items: center;
  font-size: 12px;
  line-height: 1.25;
  text-align: left;
}

.desktop-top-mobile .trust-row img {
  width: 30px;
  height: 30px;
  margin: 0;
}

@media (max-width: 640px) {
  .rail-grid article,
  .rail-grid article:nth-child(2) {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 32px 28px;
    align-content: center;
    justify-items: center;
    gap: 8px;
    min-height: 92px;
    padding: 10px 3px;
  }

  .rail-icon {
    width: 30px;
    height: 30px;
    margin: 0;
    align-self: center;
  }

  .rail-grid article > div {
    display: flex;
    width: 100%;
    height: 28px;
    align-items: center;
    justify-content: center;
  }

  .rail-grid h2 {
    margin: 0;
    text-align: center;
  }
}

html.post-modal-open,
body.post-modal-open {
  overflow: hidden;
  overscroll-behavior: none;
}

body.post-modal-open {
  position: fixed;
  right: 0;
  left: 0;
  width: 100%;
}

.post-modal {
  overscroll-behavior: none;
}

.post-modal__panel {
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 640px) {
  .stats-grid strong,
  .stats-grid strong:nth-child(2) {
    grid-template-columns: 22px auto;
    justify-content: center;
    gap: 2px 5px;
    padding-inline: 2px;
    text-align: left;
  }

  .stats-grid span {
    grid-column: 2;
    width: 50px;
  }

  .gallery-tile > span {
    position: absolute;
    inset: auto 0 0;
    display: flex;
    box-sizing: border-box;
    width: 100%;
    min-height: 46px;
    margin: 0;
    padding: 10px;
    align-items: flex-end;
    justify-content: flex-start;
    text-align: left;
  }
}

/* Gallery cards: shared image area and caption bar. */
.gallery-grid {
  --gallery-caption-height: 54px;
  align-items: stretch;
}

.gallery-tile,
.gallery-grid .video-placeholder {
  height: 315px;
  min-height: 315px;
}

.gallery-tile::after {
  inset: 0 0 var(--gallery-caption-height);
  background: none;
}

.gallery-tile > .gallery-tile__image {
  inset: 0 0 auto;
  width: 100%;
  height: calc(100% - var(--gallery-caption-height));
}

.gallery-tile > span,
.gallery-grid .video-placeholder figcaption {
  position: absolute;
  inset: auto 0 0;
  z-index: 4;
  display: flex;
  box-sizing: border-box;
  width: 100%;
  height: var(--gallery-caption-height);
  min-height: var(--gallery-caption-height);
  margin: 0;
  padding: 0 18px;
  align-items: center;
  color: var(--paper);
  background: var(--navy-dark);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  text-align: left;
}

.gallery-grid .video-placeholder video {
  inset: 0 0 auto;
  width: 100%;
  height: calc(100% - var(--gallery-caption-height));
}

.gallery-grid .video-placeholder::after,
.gallery-grid .video-play {
  inset: 0 0 auto;
  height: calc(100% - var(--gallery-caption-height));
}

.video-placeholder.is-playing figcaption {
  opacity: 1;
  pointer-events: none;
}

@media (max-width: 900px) {
  .gallery-grid {
    --gallery-caption-height: 50px;
  }

  .gallery-tile > span,
  .gallery-grid .video-placeholder figcaption {
    padding-inline: 14px;
    font-size: 14px;
  }
}

@media (max-width: 640px) {
  .gallery-grid {
    --gallery-caption-height: 46px;
  }

  .gallery-tile > span,
  .gallery-grid .video-placeholder figcaption {
    padding-inline: 10px;
    font-size: 11px;
    line-height: 1.2;
  }
}

/* Desktop-like phone composition for the three client-selected sections. */
@media (max-width: 640px) {
  .offer-section-hero {
    height: 150px;
  }

  .offer-section-hero::after {
    width: 58%;
    background: linear-gradient(90deg, #031b36 0%, rgba(3, 27, 54, 0.98) 60%, rgba(3, 27, 54, 0.72) 82%, rgba(3, 27, 54, 0) 100%);
  }

  .offer-section-hero > img {
    inset: 0 0 0 auto;
    width: auto;
    height: 100%;
    object-fit: contain;
    object-position: right center;
  }

  .offer-section-hero__copy h2 {
    font-size: 31px;
  }

  #oferta .offer-section__body {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 8px;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  #oferta .offer-intro {
    grid-column: 1;
    gap: 10px;
    justify-content: flex-start;
  }

  .offer-intro .section-head {
    margin-bottom: 0;
  }

  .offer-intro .section-head h3 {
    margin-bottom: 6px;
    font-size: 12px;
    line-height: 1.12;
  }

  .offer-intro .section-head p:not(.eyebrow) {
    font-size: 7px;
    line-height: 1.45;
  }

  .offer-udt {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 4px;
  }

  .offer-udt img {
    width: 34px;
    height: 34px;
  }

  .offer-udt__copy strong {
    font-size: 7px;
  }

  .offer-udt__copy span {
    font-size: 5.5px;
    line-height: 1.2;
  }

  #oferta .offer-grid {
    grid-column: 2;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
  }

  .offer-card {
    min-width: 0;
    padding: 6px;
  }

  .offer-card img {
    height: auto;
    margin-bottom: 5px;
    aspect-ratio: 760 / 504;
    border-radius: 3px;
  }

  .offer-card h3 {
    margin-bottom: 5px;
    font-size: 8px;
    line-height: 1.12;
  }

  .offer-card ul {
    margin-bottom: 6px;
  }

  .offer-card li {
    margin-bottom: 3px;
    padding-left: 7px;
    font-size: 6px;
    line-height: 1.25;
  }

  .offer-card li::before {
    top: 3px;
    width: 3px;
    height: 3px;
  }

  .offer-card .btn {
    min-height: 22px;
    padding: 4px 3px;
    font-size: 6px;
  }

  .dark-benefits {
    grid-column: 1 / -1;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-top: 0;
  }

  .dark-benefits span {
    grid-template-columns: 1fr;
    min-height: 48px;
    gap: 3px;
    padding: 5px 2px;
    justify-items: center;
    font-size: 5.5px;
    line-height: 1.2;
    text-align: center;
  }

  .dark-benefits img {
    width: 18px;
    height: 18px;
  }

  .process {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .process .section-head {
    margin-bottom: 16px;
  }

  .process .section-head h2 {
    font-size: 22px;
  }

  .process .section-head p:not(.eyebrow) {
    font-size: 9px;
  }

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

  .process-card {
    display: flex;
    min-width: 0;
    min-height: 0;
    flex-direction: column;
  }

  .process-card > img {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 2.65;
  }

  .process-step-number {
    top: 4px;
    left: 4px;
    width: 20px;
    height: 20px;
    border-width: 1px;
    font-size: 7px;
  }

  .process-card__body {
    padding: 6px;
  }

  .process-title {
    grid-template-columns: 16px minmax(0, 1fr);
    gap: 4px;
    margin-bottom: 5px;
  }

  .process-title img {
    width: 16px;
    height: 16px;
  }

  .process-card h3 {
    font-size: 8px;
    line-height: 1.12;
  }

  .process-card ul {
    margin-bottom: 5px;
  }

  .process-card li {
    margin-bottom: 3px;
    padding-left: 7px;
    font-size: 6px;
    line-height: 1.28;
  }

  .process-card li::before {
    top: 3px;
    width: 3px;
    height: 3px;
  }

  .process-card__footer {
    grid-column: auto;
    grid-template-columns: 13px minmax(0, 1fr);
    min-height: 28px;
    gap: 3px;
    padding: 4px 5px;
    font-size: 6px;
    line-height: 1.2;
  }

  .process-card__footer img {
    width: 12px;
    height: 12px;
  }

  .final-cta {
    padding: 26px 0;
  }

  .final-cta__grid {
    grid-template-columns: 0.88fr 1.12fr;
    gap: 10px;
    align-items: start;
  }

  .final-cta h2 {
    margin-bottom: 8px;
    font-size: 17px;
    line-height: 1.02;
  }

  .final-cta__line2 {
    font-size: 1.2em;
  }

  .final-cta__lead {
    font-size: 8px;
    line-height: 1.4;
  }

  .final-phone {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 5px;
    margin: 10px 0 8px;
  }

  .final-phone > img {
    width: 23px;
    height: 23px;
    padding: 4px;
    border-width: 1px;
  }

  .final-phone strong {
    font-size: 7px;
  }

  .phone-big {
    margin: 1px 0;
    font-size: 19px;
  }

  .final-phone span,
  .final-callback {
    font-size: 6px;
  }

  .final-divider {
    margin: 8px 0 6px;
    font-size: 7px;
  }

  .final-callback {
    margin-bottom: 5px;
  }

  .quick-form {
    gap: 4px;
  }

  .quick-form input,
  .quick-form select {
    min-height: 27px;
    padding: 5px 5px 5px 22px;
    background-position: 6px center;
    background-size: 11px 11px;
    border-radius: 3px;
    font-size: 7px;
  }

  .quick-form .btn {
    min-height: 29px;
    margin-top: 3px;
    padding: 5px 22px 5px 7px;
    font-size: 8px;
  }

  .quick-form .btn::after {
    right: 8px;
    font-size: 14px;
  }

  .privacy-note {
    gap: 4px;
    margin-top: 7px;
    font-size: 5.5px;
    line-height: 1.25;
  }

  .privacy-note img {
    width: 9px;
    height: 9px;
    flex-basis: 9px;
  }

  .final-cta__visual > .final-cta__logo {
    width: 96px;
    height: 44px;
    margin-bottom: 5px;
    align-self: center;
  }

  .final-machines {
    gap: 3px;
  }

  .final-machines figure > img {
    height: 118px;
  }

  .final-machines figcaption {
    min-height: 34px;
    padding: 4px;
    font-size: 5.5px;
    line-height: 1.2;
  }

  .final-machines figcaption::before {
    width: 10px;
    height: 10px;
    margin-right: 2px;
    border-width: 1px;
    font-size: 6px;
  }

  .final-machines small {
    padding-left: 13px;
    font-size: 5px;
  }

  .final-benefits {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 4px;
  }

  .final-benefits span {
    min-height: 48px;
    gap: 3px;
    padding: 4px 2px;
    font-size: 5px;
    line-height: 1.2;
  }

  .final-benefits img {
    width: 16px;
    height: 16px;
  }
}
