/* Retach Enterprise v1.1 — cinematic logistics redesign */
:root {
  --retach-blue: #3a89cd;
  --retach-blue-dark: #1875bd;
  --retach-cyan: #0cb1d3;
  --retach-navy: #082b55;
  --retach-navy-deep: #031c39;
  --retach-ink: #0a2341;
  --retach-muted: #52657c;
  --retach-soft: #edf7fd;
  --retach-line: #d4e6f3;
  --retach-shadow: 0 26px 70px rgba(3, 28, 57, 0.14);
  --retach-radius: 18px;
  --retach-wrap: min(1180px, calc(100vw - 64px));
}

body.retach-site {
  background: #fff;
}

.retach-shell {
  font-size: 16px;
}

.retach-wrap {
  width: var(--retach-wrap);
}

.retach-section {
  padding-block: clamp(96px, 9vw, 140px);
}

.retach-shell h1,
.retach-shell h2,
.retach-shell h3 {
  font-weight: 800;
  letter-spacing: -0.045em;
}

.retach-shell p {
  line-height: 1.72;
}

/* Header: transparent over every photographic hero, solid after scroll. */
.retach-header {
  position: absolute;
  z-index: 100;
  inset: 0 0 auto;
  height: 96px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(180deg, rgba(3, 28, 57, 0.6), rgba(3, 28, 57, 0));
  color: #fff;
  transition: height 0.3s var(--retach-ease), background 0.3s ease, box-shadow 0.3s ease;
}

.retach-header.is-scrolled {
  position: fixed;
  height: 80px;
  background: rgba(3, 28, 57, 0.94);
  box-shadow: 0 16px 40px rgba(3, 28, 57, 0.2);
  backdrop-filter: blur(18px);
}

.retach-header__inner {
  height: 100%;
}

.retach-brand {
  width: 234px;
}

.retach-brand img {
  width: 100%;
  height: 62px;
  object-fit: contain;
  object-position: left center;
}

.retach-nav {
  gap: clamp(25px, 2.6vw, 44px);
  color: #fff;
  font-size: 15px;
}

.retach-nav > a:not(.retach-nav__cta) {
  color: #fff;
}

.retach-nav > a:not(.retach-nav__cta)::after {
  bottom: 5px;
  height: 3px;
  background: #fff;
}

.retach-nav__cta,
.retach-button {
  min-height: 54px;
  padding-inline: 29px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 13px;
  background: linear-gradient(135deg, var(--retach-blue), var(--retach-cyan));
  box-shadow: 0 16px 34px rgba(12, 177, 211, 0.22);
}

.retach-nav__cta {
  min-height: 48px;
  border-color: rgba(255, 255, 255, 0.2);
  background: var(--retach-cyan);
}

.retach-button--outline {
  border-color: rgba(255, 255, 255, 0.48);
  color: #fff !important;
}

/* Home hero. */
.retach-hero {
  min-height: min(860px, 100svh);
  overflow: hidden;
  border-radius: 0 0 38px 38px;
  background: var(--retach-navy-deep);
  isolation: isolate;
}

.retach-hero__media {
  position: absolute;
  z-index: -2;
  inset: 0;
  min-width: 0;
  overflow: hidden;
  border-radius: 0;
}

.retach-hero__media::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: auto;
  height: auto;
  content: "";
  background:
    linear-gradient(180deg, rgba(3, 28, 57, 0.56) 0%, rgba(3, 28, 57, 0.7) 60%, rgba(3, 28, 57, 0.93) 100%),
    linear-gradient(90deg, rgba(3, 28, 57, 0.35), transparent 42%, rgba(3, 28, 57, 0.2));
}

.retach-hero__media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  transform: scale(1.025);
  animation: retach-hero-drift 16s ease-in-out infinite alternate;
}

.retach-hero__grid {
  display: flex;
  min-height: min(860px, 100svh);
  align-items: center;
  justify-content: center;
  padding: 155px 0 215px;
}

.retach-hero__copy {
  z-index: 2;
  max-width: 900px;
  align-items: center;
  padding: 0;
  text-align: center;
}

.retach-hero h1 {
  margin-bottom: 26px;
  color: #fff;
  font-size: clamp(62px, 6.2vw, 92px);
  line-height: 1.01;
  white-space: normal;
  text-shadow: 0 8px 36px rgba(3, 28, 57, 0.28);
}

.retach-hero h1 span {
  color: #fff;
}

.retach-hero__copy > p {
  max-width: 660px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.55;
}

.retach-actions {
  gap: 22px;
}

.retach-hero .retach-text-link {
  min-height: 54px;
  padding: 13px 4px;
  color: #fff !important;
}

.retach-route-line {
  display: none;
}

/* Capability glass cards float over the hero floor. */
.retach-proof {
  position: relative;
  z-index: 6;
  margin-top: -178px;
  padding-bottom: 46px;
  border: 0;
  background: transparent;
}

.retach-proof__grid {
  gap: 14px;
}

.retach-proof__grid > div {
  min-height: 132px;
  justify-content: flex-start;
  gap: 20px;
  padding: 26px 30px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 22px 50px rgba(3, 28, 57, 0.2);
  color: #fff;
  backdrop-filter: blur(16px);
  transition: transform 0.3s var(--retach-ease), background 0.3s ease;
}

.retach-proof__grid > div:hover {
  background: rgba(255, 255, 255, 0.17);
  transform: translateY(-5px);
}

.retach-proof__grid > div > svg {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: var(--retach-cyan);
}

.retach-proof strong {
  color: #fff;
  font-size: 18px;
}

.retach-proof strong span {
  color: var(--retach-cyan);
}

/* Services rail. */
.retach-services {
  overflow: hidden;
  padding-top: clamp(110px, 10vw, 150px);
  background: #fff;
}

.retach-section__intro {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.52fr);
  gap: 80px;
  margin-bottom: 72px;
}

.retach-section__intro h2 {
  font-size: clamp(48px, 5vw, 72px);
}

.retach-service-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}

.retach-service-rail::before {
  position: absolute;
  top: 43px;
  right: 10%;
  left: 10%;
  height: 1px;
  content: "";
  background: var(--retach-line);
}

.retach-service-rail article {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 0 22px 10px;
  border-right: 1px solid var(--retach-line);
  transition: transform 0.3s var(--retach-ease);
}

.retach-service-rail article:first-child {
  padding-left: 0;
}

.retach-service-rail article:last-child {
  padding-right: 0;
  border-right: 0;
}

.retach-service-rail article:hover {
  transform: translateY(-5px);
}

.retach-service-rail .retach-icon-ring {
  width: 86px;
  height: 86px;
  margin-bottom: 28px;
  border: 1px solid var(--retach-line);
  background: #fff;
  color: var(--retach-blue-dark);
}

.retach-service-rail h3 {
  min-height: 48px;
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.18;
}

.retach-service-rail p {
  min-height: 82px;
  margin-bottom: 18px;
  font-size: 14px;
  line-height: 1.6;
}

.retach-service-rail .retach-text-link {
  font-size: 14px;
}

/* About and leadership use broad bands instead of disconnected cards. */
.retach-about {
  overflow: hidden;
  background: linear-gradient(115deg, var(--retach-navy-deep), var(--retach-navy));
}

.retach-about__grid {
  gap: clamp(55px, 7vw, 96px);
  align-items: center;
}

.retach-about__copy h2,
.retach-about__copy h2 span {
  color: #fff;
}

.retach-about__copy > p {
  color: rgba(255, 255, 255, 0.76);
}

.retach-about__media {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.26);
}

.retach-about__media::after {
  border-color: var(--retach-cyan);
}

.retach-about__media img {
  height: 520px;
}

.retach-values {
  margin-top: 78px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--retach-shadow);
}

.retach-values article {
  min-height: 185px;
  padding: 34px 30px;
}

.retach-leadership {
  background: #fff;
}

.retach-leadership__grid {
  gap: 74px;
}

.retach-leadership__feature {
  padding: 48px;
  border-radius: 20px;
  background: var(--retach-navy-deep);
  box-shadow: var(--retach-shadow);
}

.retach-leadership__feature h2,
.retach-leadership__feature h3,
.retach-leadership__feature p,
.retach-leadership__feature strong {
  color: #fff;
}

.retach-leadership__feature .retach-role {
  color: var(--retach-cyan);
}

.retach-initial {
  border-radius: 16px;
  background: linear-gradient(145deg, var(--retach-blue), var(--retach-cyan));
}

.retach-leadership__list a {
  padding: 23px 12px;
  border-bottom-color: var(--retach-line);
}

.retach-leadership__list a:hover {
  padding-inline: 22px 12px;
  background: var(--retach-soft);
}

/* Shared inner-page photographic hero. */
.retach-inner-hero,
.retach-contact-hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-radius: 0 0 34px 34px;
  background: var(--retach-navy-deep);
  isolation: isolate;
}

.retach-inner-hero::after,
.retach-contact-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(3, 28, 57, 0.62), rgba(3, 28, 57, 0.86));
}

.retach-inner-hero__backdrop {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.retach-inner-hero__grid,
.retach-team-hero,
.retach-contact-hero > .retach-wrap {
  display: flex;
  min-height: 620px;
  align-items: center;
  justify-content: center;
  padding: 150px 0 90px;
  text-align: center;
}

.retach-inner-hero__grid > div,
.retach-team-hero > div,
.retach-contact-hero > .retach-wrap {
  max-width: 900px;
}

.retach-inner-hero h1,
.retach-contact-hero h1,
.retach-team-hero h1 {
  margin-bottom: 24px;
  color: #fff;
  font-size: clamp(58px, 6vw, 84px);
}

.retach-inner-hero h1 span,
.retach-contact-hero h1 span,
.retach-team-hero h1 span {
  color: #fff;
}

.retach-inner-hero p,
.retach-contact-hero p,
.retach-team-hero p {
  max-width: 720px;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
}

.retach-team-hero__mark {
  display: none;
}

/* Site-wide modern alignment. */
.retach-story aside,
.retach-value-page__grid article,
.retach-team-grid article,
.retach-contact__form,
.retach-contact__details {
  border-radius: 18px;
  box-shadow: 0 20px 55px rgba(3, 28, 57, 0.08);
}

.retach-value-page,
.retach-director,
.retach-contact {
  background: #f4f9fd;
}

.retach-value-page__grid {
  gap: 20px;
}

.retach-value-page__grid article {
  border: 1px solid var(--retach-line);
}

.retach-commitment,
.retach-process,
.retach-cta {
  background: linear-gradient(115deg, var(--retach-navy-deep), var(--retach-navy));
}

.retach-services-page article {
  border-bottom-color: var(--retach-line);
}

.retach-services-page article:hover {
  border-radius: 16px;
  background: var(--retach-soft);
}

.retach-process__rail {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
}

.retach-team-grid {
  gap: 22px;
}

.retach-team-grid article {
  border-color: var(--retach-line);
}

.retach-structure {
  background: #fff;
}

.retach-contact__grid {
  gap: 34px;
}

.retach-contact__form,
.retach-contact__details {
  padding: clamp(32px, 4vw, 52px);
  border-color: var(--retach-line);
}

.retach-contact__details {
  background: var(--retach-navy-deep);
}

.retach-contact__details h2,
.retach-contact__details strong,
.retach-contact__details a,
.retach-contact__details > div {
  color: #fff;
}

.retach-contact__details small {
  color: rgba(255, 255, 255, 0.68);
}

.retach-contact__details > a,
.retach-contact__details > div {
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

.retach-contact__details > a > svg,
.retach-contact__details > div > svg {
  color: var(--retach-cyan);
}

.retach-png-map {
  stroke: var(--retach-cyan);
}

.retach-png-map text {
  fill: #fff;
}

/* CTA and footer. */
.retach-cta {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.retach-cta__inner {
  min-height: 260px;
  padding-block: 66px;
}

.retach-cta__inner::after {
  border-color: var(--retach-cyan);
  opacity: 0.45;
}

.retach-footer {
  padding-top: 72px;
  background: linear-gradient(120deg, #031c39, #06284f 58%, #073a68);
}

.retach-footer__grid {
  grid-template-columns: 1.05fr 1fr 1fr;
  gap: 70px;
  align-items: center;
  padding-bottom: 58px;
}

.retach-footer__brand img {
  width: 270px;
  height: auto;
  margin-bottom: 22px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  opacity: 1;
}

.retach-footer__brand p {
  max-width: 320px;
  color: rgba(255, 255, 255, 0.72);
}

.retach-footer nav {
  grid-template-columns: repeat(2, minmax(90px, 1fr));
  gap: 15px 34px;
}

.retach-footer nav a,
.retach-footer__contact a {
  color: #fff;
}

.retach-footer__contact svg {
  color: var(--retach-cyan);
}

.retach-footer__bottom {
  padding-block: 24px 30px;
  border-top-color: rgba(255, 255, 255, 0.18);
}

.retach-footer__bottom p {
  color: rgba(255, 255, 255, 0.6);
}

.retach-footer__bottom a {
  color: var(--retach-cyan);
}

@keyframes retach-hero-drift {
  from { transform: scale(1.025) translate3d(0, 0, 0); }
  to { transform: scale(1.065) translate3d(-0.5%, -0.4%, 0); }
}

@media (max-width: 1080px) {
  :root {
    --retach-wrap: min(100% - 48px, 980px);
  }

  .retach-nav {
    gap: 22px;
  }

  .retach-service-rail {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 52px;
  }

  .retach-service-rail::before {
    display: none;
  }

  .retach-service-rail article:nth-child(3) {
    border-right: 0;
  }
}

@media (max-width: 960px) {
  :root {
    --retach-wrap: calc(100% - 40px);
  }

  .retach-header,
  .retach-header.is-scrolled {
    height: 82px;
  }

  .retach-brand {
    width: 205px;
  }

  .retach-brand img {
    height: 54px;
  }

  .retach-menu-toggle {
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(3, 28, 57, 0.35);
    backdrop-filter: blur(10px);
  }

  .retach-menu-toggle span:not(.screen-reader-text) {
    background: #fff;
  }

  .retach-nav {
    inset: 82px 0 auto;
    background: rgba(3, 28, 57, 0.97);
    color: #fff;
  }

  .retach-nav.is-open {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 45px rgba(3, 28, 57, 0.28);
  }

  .retach-nav > a:not(.retach-nav__cta) {
    border-bottom-color: rgba(255, 255, 255, 0.12);
    color: #fff;
  }

  .retach-hero,
  .retach-hero__grid {
    min-height: 800px;
  }

  .retach-hero__grid {
    display: flex;
    padding: 135px 0 235px;
  }

  .retach-hero__copy {
    padding: 0;
  }

  .retach-hero__media {
    position: absolute;
    min-width: 0;
    border-radius: 0;
  }

  .retach-hero__media img {
    min-height: 0;
  }

  .retach-proof {
    margin-top: -200px;
  }

  .retach-section__intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .retach-service-rail article,
  .retach-service-rail article:first-child,
  .retach-service-rail article:last-child {
    padding: 0 24px 30px;
    border-right: 1px solid var(--retach-line);
  }

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

  .retach-about__copy {
    order: 2;
  }

  .retach-about__media {
    order: 1;
  }

  .retach-leadership__grid {
    gap: 44px;
  }

  .retach-inner-hero__grid,
  .retach-team-hero,
  .retach-contact-hero > .retach-wrap {
    min-height: 620px;
    padding: 140px 0 80px;
  }

  .retach-inner-hero__grid {
    display: flex;
  }

  .retach-inner-hero img.retach-inner-hero__backdrop {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 0;
  }

  .retach-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  :root {
    --retach-wrap: calc(100% - 30px);
  }

  .retach-section {
    padding-block: 78px;
  }

  .retach-brand {
    width: 178px;
  }

  .retach-hero,
  .retach-hero__grid {
    min-height: 790px;
  }

  .retach-hero__grid {
    padding: 120px 0 270px;
  }

  .retach-hero h1 {
    margin-bottom: 22px;
    font-size: clamp(43px, 12.3vw, 58px);
    line-height: 1.04;
  }

  .retach-hero__copy > p {
    max-width: 340px;
    font-size: 17px;
  }

  .retach-actions {
    gap: 12px;
  }

  .retach-actions .retach-text-link {
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 13px;
  }

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

  .retach-proof {
    margin-top: -250px;
    padding-bottom: 34px;
  }

  .retach-proof__grid {
    gap: 10px;
  }

  .retach-proof__grid > div {
    min-height: 78px;
    padding: 14px 18px;
    border-right: 1px solid rgba(255, 255, 255, 0.34);
    border-bottom: 1px solid rgba(255, 255, 255, 0.34);
  }

  .retach-proof__grid > div:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.34);
  }

  .retach-proof__grid > div > svg {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
    padding: 11px;
  }

  .retach-proof strong {
    font-size: 15px;
  }

  .retach-section__intro h2,
  .retach-about__copy h2,
  .retach-leadership__feature h2,
  .retach-inner-hero h1,
  .retach-contact-hero h1,
  .retach-team-hero h1 {
    font-size: clamp(40px, 11.5vw, 56px);
  }

  .retach-service-rail {
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  .retach-service-rail article,
  .retach-service-rail article:first-child,
  .retach-service-rail article:last-child,
  .retach-service-rail article:nth-child(even) {
    display: grid;
    grid-template-columns: 68px 1fr;
    gap: 0 18px;
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--retach-line);
  }

  .retach-service-rail .retach-icon-ring {
    grid-row: 1 / 4;
    width: 68px;
    height: 68px;
    margin: 0;
  }

  .retach-service-rail h3,
  .retach-service-rail p {
    min-height: 0;
  }

  .retach-service-rail p {
    margin-bottom: 10px;
  }

  .retach-about__media img {
    height: 320px;
  }

  .retach-values {
    margin-top: 48px;
  }

  .retach-leadership__feature {
    padding: 28px;
  }

  .retach-inner-hero,
  .retach-contact-hero,
  .retach-inner-hero__grid,
  .retach-team-hero,
  .retach-contact-hero > .retach-wrap {
    min-height: 570px;
  }

  .retach-inner-hero__grid,
  .retach-team-hero,
  .retach-contact-hero > .retach-wrap {
    padding: 125px 0 70px;
  }

  .retach-inner-hero p,
  .retach-contact-hero p,
  .retach-team-hero p {
    font-size: 17px;
  }

  .retach-contact__form,
  .retach-contact__details {
    padding: 28px 20px;
  }

  .retach-footer {
    padding-top: 58px;
  }

  .retach-footer__grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 40px;
  }

  .retach-footer__brand img {
    width: 245px;
  }

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

@media (prefers-reduced-motion: reduce) {
  .retach-hero__media img {
    animation: none;
  }
}
