/* Keep the home fleet readable between mobile and wide desktop layouts. */
.mt-home .hero .home-hero-contrast {
  background: linear-gradient(180deg, rgba(0,26,45,.18) 0%, rgba(0,26,45,.32) 35%, rgba(0,26,45,.38) 70%, rgba(0,26,45,.24) 100%);
  pointer-events: none;
}
.mt-home .hero .home-hero-copy {
  color: #fff;
  font-weight: 400;
  text-shadow: 0 2px 8px rgba(0,15,28,.65);
}
.home-fleet-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 0; }
.home-fleet-card { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-width: 0; min-height: 460px; overflow: hidden; border-radius: 24px; color: #fff; background: #002b49; box-shadow: 0 16px 40px rgba(0,43,73,.1); }
.home-fleet-card > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.home-fleet-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,26,45,.12), rgba(0,26,45,.62) 35%, rgba(0,26,45,.96)); }
.home-fleet-copy { width: 100%; padding: 32px; }
.home-fleet-copy h3 { margin: 0 0 18px; font-family: 'Space Grotesk', sans-serif; font-size: clamp(25px, 2.3vw, 34px); line-height: 1.15; letter-spacing: -.025em; overflow-wrap: normal; }
.home-fleet-copy p { margin: 0 0 28px; color: rgba(255,255,255,.88); font-size: 16px; line-height: 1.7; }
.home-fleet-action { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 48px; padding: 12px 20px; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.home-fleet-card:hover > img { transform: scale(1.035); }
.home-fleet-card:hover .home-fleet-action { background: white; color: #002b49; }
.home-fleet-card:focus-visible { outline: 3px solid #d42027; outline-offset: 5px; }
.mt-home #main-nav nav { gap: 20px; }
.mt-home #main-nav nav > a,
.mt-home #main-nav nav > div:not(.nav-certification) { flex-shrink: 0; }
.mt-home #main-nav nav > ul { gap: 22px; }
.mt-home #main-nav nav > ul > li > a,
.mt-home #main-nav nav > ul > li > button { white-space: nowrap; font-size: 11px; letter-spacing: .1em; }
.mt-home #main-nav nav > div:not(.nav-certification) { gap: 18px; }
.mt-home #main-nav nav > div > a { white-space: nowrap; padding-inline: 22px; }
.mt-home #mobile-menu-btn { min-width: 36px; min-height: 36px; align-items: center; justify-content: center; }
@media (max-width: 1399px) { .mt-home #main-nav .nav-certification { display: none; } }
@media (min-width: 768px) and (max-width: 1279px) {
  .mt-home #main-nav nav > ul { display: none; }
  .mt-home #mobile-menu-btn, .mt-home #mobile-menu { display: flex; }
}
@media (max-width: 1199px) { .home-fleet-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; } }
@media (max-width: 639px) {
  .home-fleet-grid { grid-template-columns: 1fr; }
  .home-fleet-card { min-height: 410px; }
  .home-fleet-copy { padding: 28px; }
  .home-fleet-copy h3 { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) { .home-fleet-card > img { transition: none; } }

/* Give the enquiry form its own usable column, without nested card padding. */
.mt-home .home-contact-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: start; }
.mt-home .home-contact-layout > * { min-width: 0; }
.mt-home .home-contact-panel { container-type: inline-size; width: 100%; }
.mt-home .home-contact-panel .contact-form-card { padding: clamp(24px, 3vw, 40px); text-align: left; }
.mt-home .home-contact-panel .contact-form-title { font-family: 'Space Grotesk', sans-serif; font-size: clamp(28px, 3vw, 40px); line-height: 1.15; overflow-wrap: break-word; }
.mt-home .home-contact-panel .contact-form-grid { grid-template-columns: minmax(0, 1fr); }
.mt-home .home-contact-panel .contact-input { min-width: 0; max-width: 100%; }
.mt-home .home-contact-panel .contact-submit { max-width: 100%; white-space: normal; }
@container (min-width: 500px) {
  .mt-home .home-contact-panel .contact-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
  .mt-home .home-contact-layout { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; }
}
