/* Service page: shared homepage tokens, header, buttons and footer. */
.transport-page {
  --route-line: #c9c8c7;
}
.transport-page main {
  overflow: hidden;
}
.tr-dark {
  background: #111113;
  color: var(--paper);
}
.tr-dark .eyebrow {
  color: #ff6267;
}
.tr-hero {
  position: relative;
  background: #070708;
  color: var(--paper);
  padding: 165px 0 52px;
  background-image: linear-gradient(90deg, #ffffff06 1px, transparent 1px);
  background-size: 16.6667% 100%;
  overflow: hidden;
}
.tr-hero:before {
  content: "";
  position: absolute;
  width: 36%;
  height: 140%;
  right: 5%;
  top: -15%;
  transform: skewX(-23deg);
  background: linear-gradient(140deg, #ffffff04, transparent);
  border-left: 1px solid #ffffff06;
}
.tr-hero .section-shell {
  padding: 0;
}
.tr-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3%;
  align-items: center;
}
.tr-hero h1 {
  font: 500 clamp(42px, 4.3vw, 72px) / 1.06 var(--display);
  letter-spacing: -0.052em;
  position: relative;
  z-index: 1;
}
.tr-hero h1 em {
  font-style: normal;
  color: #ff454b;
}
.tr-hero-copy > p {
  font-size: 17px;
  line-height: 1.8;
  color: #aaaab2;
  max-width: 590px;
  margin-top: 28px;
}
.tr-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 25px;
  margin-top: 34px;
}
.tr-actions .text-link {
  font-size: 14px;
}
.tr-network {
  width: 105%;
  margin-left: 0;
  overflow: visible;
}
.tr-network .net-base {
  fill: none;
  stroke: #ffffff1c;
  stroke-width: 1;
}
.tr-network .net-path {
  fill: none;
  stroke: #b1b1bc;
  stroke-width: 1.25;
}
.tr-network .net-accent {
  stroke: var(--red);
}
.tr-network text {
  font: 11px var(--mono);
  fill: #b9b9c0;
  letter-spacing: 1px;
}
.tr-network .net-node {
  fill: #111113;
  stroke: #777780;
  stroke-width: 1;
}
.tr-network .net-center {
  stroke: var(--red);
  fill: #111113;
}
.tr-network .net-flow {
  stroke: #ec1c24;
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 18 480;
  animation: transport-route 22s linear infinite;
}
.tr-hero-foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 52px;
  border-top: 1px solid #ffffff20;
  padding-top: 22px;
  color: #96969f;
  font: 11px var(--mono);
  letter-spacing: 0.05em;
}
.tr-hero-foot a {
  color: #d6d6da;
}
.tr-section {
  position: relative;
  border-bottom: 1px solid var(--line);
}
.tr-heading {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 12%;
  align-items: start;
}
.tr-heading h2 {
  max-width: 640px;
}
.tr-body {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.85;
}
.tr-body p + p {
  margin-top: 20px;
}
.tr-small {
  font: 11px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.tr-role-flow {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1.4fr 1fr;
  align-items: center;
  margin-top: 58px;
  position: relative;
}
.tr-role-flow:before {
  content: "";
  position: absolute;
  top: 27px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--route-line);
}
.tr-role-flow > div {
  position: relative;
  padding-right: 22px;
}
.tr-role-flow i {
  display: block;
  width: 13px;
  height: 13px;
  background: var(--paper);
  border: 1px solid #777;
  margin: 21px 0 27px;
  border-radius: 50%;
}
.tr-role-flow .tr-hub i {
  border: 4px solid var(--red);
  width: 23px;
  height: 23px;
  margin: 16px 0 22px;
  box-shadow: 0 0 0 7px var(--paper);
}
.tr-role-flow b {
  display: block;
  font: 500 clamp(18px, 1.8vw, 27px) var(--display);
  letter-spacing: -0.025em;
}
.tr-role-flow p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 5px;
}
.tr-role-flow .tr-hub b {
  color: var(--red-dark);
}
.tr-solutions .section-shell {
  padding-top: 90px;
}
.tr-solutions h2 {
  max-width: 750px;
}
.tr-system {
  margin-top: 55px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  border-top: 1px solid var(--route-line);
  position: relative;
}
.tr-road {
  padding: 38px 12% 30px 0;
  grid-row: span 3;
  border-right: 1px solid var(--route-line);
  position: relative;
}
.tr-system h3 {
  font-size: clamp(28px, 2.5vw, 40px);
  margin: 13px 0 20px;
}
.tr-system p {
  font-size: 16px;
  color: var(--muted);
  max-width: 540px;
}
.tr-index {
  font: 12px var(--mono);
  color: var(--red-dark);
  letter-spacing: 0.08em;
}
.tr-index span {
  color: var(--muted);
  margin-left: 20px;
  font-size: 10px;
}
.tr-mode {
  padding: 32px 0 32px 11%;
  position: relative;
  border-bottom: 1px solid var(--route-line);
}
.tr-mode:last-child {
  border-bottom: 0;
}
.tr-mode:before {
  content: "";
  position: absolute;
  left: -5px;
  top: 40px;
  width: 9px;
  height: 9px;
  background: var(--paper);
  border: 1px solid var(--red);
  border-radius: 50%;
}
.tr-mode h3 {
  font-size: 28px;
  margin: 10px 0 12px;
}
.tr-tags {
  display: flex;
  gap: 10px 22px;
  flex-wrap: wrap;
  margin-top: 20px;
  font: 11px var(--mono);
  color: #5f6068;
}
.tr-tags span {
  border-bottom: 1px solid #c9c8c7;
  padding-bottom: 7px;
}
.road-diagram {
  width: 100%;
  max-width: 390px;
  margin: 55px 0 25px;
}
.road-diagram text {
  font: 10px var(--mono);
  fill: #5a5d66;
}
.tr-system-note {
  font-size: 14px !important;
  margin-top: 32px !important;
  max-width: 380px !important;
}
.tr-spain {
  background: #19191d;
  color: var(--paper);
  position: relative;
}
.tr-spain .section-shell {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 10%;
  padding-block: 75px;
}
.tr-spain .eyebrow {
  color: #ff6267;
}
.tr-spain h2 {
  font-size: clamp(31px, 3vw, 46px);
}
.tr-spain p {
  font-size: 16px;
  color: #aaaab2;
  line-height: 1.8;
}
.tr-spain .text-link {
  margin-top: 24px;
  font-size: 14px;
}
.tr-corridor {
  display: flex;
  align-items: center;
  margin-top: 42px;
  font: 10px var(--mono);
  letter-spacing: 0.1em;
  gap: 18px;
  color: #c8c8cf;
}
.tr-corridor i {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--red), #777);
  position: relative;
}
.tr-corridor i:before,
.tr-corridor i:after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border: 1px solid var(--red);
  border-radius: 50%;
  top: -4px;
  background: #19191d;
}
.tr-corridor i:before {
  left: 0;
}
.tr-corridor i:after {
  right: 0;
}
.tr-warehouse .tr-heading {
  align-items: end;
}
.tr-photo {
  margin: 48px 0 0;
  position: relative;
}
.tr-photo img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center 49%;
}
.tr-photo figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 24px 32px;
  background: var(--paper);
  border-top: 3px solid var(--red);
  min-width: 275px;
}
.tr-photo strong {
  font: 500 43px/1.1 var(--display);
  letter-spacing: -0.04em;
  display: block;
}
.tr-photo strong small {
  font-size: 22px;
}
.tr-photo figcaption > span {
  font-size: 12px;
  color: var(--muted);
}
.tr-warehouse-rail {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 22px 0;
  border-bottom: 1px solid var(--route-line);
  font: 11px var(--mono);
  letter-spacing: 0.05em;
}
.tr-warehouse-rail span:not(:last-child):after {
  content: "→";
  margin-left: 35px;
  color: var(--red);
}
.tr-why {
  background: #e9e8e5;
}
.tr-principles {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 8%;
}
.tr-principles article {
  border-top: 1px solid #bfc0c2;
  padding: 24px 0;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 20px;
}
.tr-principles h3 {
  font-size: 25px;
  margin-bottom: 12px;
}
.tr-principles p {
  color: var(--muted);
  font-size: 15px;
  max-width: 410px;
}
.tr-journey {
  background: #111113;
  color: var(--paper);
  background-image: linear-gradient(90deg, #ffffff05 1px, transparent 1px);
  background-size: 16.6667% 100%;
}
.tr-journey .eyebrow {
  color: #ff6267;
}
.tr-journey .tr-heading {
  align-items: end;
}
.tr-journey .tr-heading > p {
  color: #96969f;
  max-width: 360px;
  font-size: 16px;
}
.tr-journey-map {
  position: relative;
  margin-top: 64px;
  height: 485px;
}
.journey-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: #ffffff27;
  stroke-width: 1;
}
.journey-line .journey-active {
  stroke: var(--red);
  stroke-dasharray: 40 1560;
  animation: transport-route 28s linear infinite;
}
.tr-stops {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  height: 100%;
}
.tr-stops li {
  position: absolute;
  width: 27%;
  padding-top: 36px;
}
.tr-stops li:nth-child(1) {
  left: 0;
  top: 0;
}
.tr-stops li:nth-child(2) {
  left: 37%;
  top: 0;
}
.tr-stops li:nth-child(3) {
  left: 73%;
  top: 0;
}
.tr-stops li:nth-child(4) {
  left: 55%;
  top: 280px;
  width: 30%;
}
.tr-stops li:nth-child(5) {
  left: 0;
  top: 280px;
}
.tr-stops .tr-stop {
  position: absolute;
  left: 0;
  top: -16px;
  display: grid;
  place-items: center;
  background: #111113;
  border: 1px solid #ec1c24;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  font: 11px var(--mono);
  color: #ee656a;
}
.tr-stops h3 {
  font-size: 25px;
  margin-bottom: 15px;
  max-width: 280px;
}
.tr-stops p {
  font-size: 15px;
  line-height: 1.8;
  color: #a1a1aa;
  max-width: 265px;
}
.tr-journey-caption {
  border-top: 1px solid #ffffff20;
  padding-top: 23px;
  display: flex;
  justify-content: space-between;
  color: #8f8f9b;
  font: 11px var(--mono);
}
.tr-team-intro {
  max-width: 440px;
  font-size: 17px;
  color: var(--muted);
}
.tr-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px;
  margin-top: 56px;
}
.tr-person {
  border-top: 1px solid #b9b9c0;
  padding-top: 22px;
}
.tr-person h3 {
  font-size: clamp(27px, 2.4vw, 38px);
  margin: 36px 0 8px;
}
.tr-person p {
  color: var(--muted);
  font-size: 15px;
}
.tr-person img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  margin-top: 25px;
}
.tr-team-contact {
  margin-top: 42px;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}
.transport-page .contact-section h2 {
  font-size: clamp(40px, 4.3vw, 70px);
}
.transport-page .contact-section .contact-layout {
  grid-template-columns: 1.45fr 1fr;
}
.transport-page .contact-section .contact-action .button {
  font-size: 15px;
  padding-inline: 22px;
}
.transport-page .contact-section .eyebrow {
  font-size: 11px;
}
.tr-contact-hint {
  font: 11px var(--mono);
  color: #93939c;
  margin-top: 26px;
  line-height: 1.9;
}
.tr-dark a:focus-visible {
  outline-color: #ff6267;
}
@keyframes transport-route {
  to {
    stroke-dashoffset: -1600;
  }
}
@media (min-width: 1700px) {
  .tr-hero {
    padding-top: 185px;
    padding-bottom: 64px;
  }
  .tr-hero-foot {
    margin-top: 72px;
  }
}
@media (max-width: 1100px) {
  .tr-hero-grid {
    grid-template-columns: 1.35fr 1fr;
  }
  .tr-hero h1 {
    font-size: 49px;
  }
  .tr-network {
    width: 114%;
    margin-left: -6%;
  }
  .tr-heading {
    gap: 7%;
  }
  .tr-hero-foot {
    font-size: 10px;
  }
  .tr-warehouse-rail span:not(:last-child):after {
    margin-left: 12px;
  }
  .tr-stops h3 {
    font-size: 22px;
  }
  .tr-photo img {
    height: 440px;
  }
  .tr-team-grid {
    gap: 25px;
  }
}
@media (max-width: 760px) {
  .tr-hero {
    padding-top: 135px;
    padding-bottom: 30px;
  }
  .tr-hero-grid {
    grid-template-columns: 1fr;
  }
  .tr-hero h1 {
    font-size: clamp(38px, 8.3vw, 56px);
  }
  .tr-hero-copy > p {
    font-size: 16px;
  }
  .tr-network {
    width: 94%;
    max-width: 490px;
    margin: 25px auto 0;
  }
  .tr-hero-foot {
    margin-top: 15px;
    flex-wrap: wrap;
    line-height: 1.7;
  }
  .tr-hero-foot span:last-child {
    display: none;
  }
  .tr-actions {
    gap: 22px;
  }
  .tr-heading {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .tr-body {
    font-size: 16px;
  }
  .tr-role-flow {
    grid-template-columns: 1fr 1fr;
    gap: 28px 15px;
  }
  .tr-role-flow:before {
    display: none;
  }
  .tr-role-flow > div {
    border-top: 1px solid #c9c8c7;
  }
  .tr-role-flow i {
    margin-bottom: 20px;
  }
  .tr-role-flow b {
    font-size: 20px;
  }
  .tr-system {
    grid-template-columns: 1fr;
  }
  .tr-road {
    border-right: 0;
    padding: 30px 0;
  }
  .road-diagram {
    margin-top: 30px;
  }
  .tr-mode {
    border-top: 1px solid #c9c8c7;
    border-bottom: 0;
    padding: 28px 0 28px 25px;
    border-left: 1px solid #c9c8c7;
  }
  .tr-spain .section-shell {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 60px;
  }
  .tr-spain .text-link {
    font-size: 13px;
    gap: 12px;
  }
  .tr-photo {
    margin-top: 35px;
  }
  .tr-photo img {
    height: 360px;
  }
  .tr-photo figcaption {
    position: relative;
    padding: 20px 0;
    min-width: 0;
  }
  .tr-warehouse-rail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    font-size: 10px;
    row-gap: 20px;
  }
  .tr-warehouse-rail span:after {
    display: none;
  }
  .tr-principles {
    grid-template-columns: 1fr;
  }
  .tr-journey-map {
    height: auto;
    margin-top: 45px;
  }
  .journey-line {
    display: none;
  }
  .tr-stops li,
  .tr-stops li:nth-child(n) {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    border-left: 1px solid #5c3437;
    padding: 0 0 38px 36px;
    margin-left: 16px;
  }
  .tr-stops li:last-child {
    border-color: transparent;
    padding-bottom: 0;
  }
  .tr-stops .tr-stop {
    left: -17px;
    top: 0;
  }
  .tr-stops p {
    max-width: none;
  }
  .tr-stops h3 {
    font-size: 24px;
    padding-top: 3px;
  }
  .tr-journey-caption {
    margin-top: 35px;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 10px;
  }
  .tr-team-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 35px;
  }
  .tr-person h3 {
    margin-top: 18px;
    font-size: 31px;
  }
  .tr-team-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  .transport-page .contact-section .contact-layout {
    grid-template-columns: 1fr;
  }
  .transport-page .contact-section h2 {
    font-size: 42px;
  }
  .tr-solutions .section-shell {
    padding-top: 65px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tr-network .net-flow,
  .journey-line .journey-active {
    animation: none;
  }
}

/* Service-specific placeholder copy, independent of employee identity. */
.tr-person .tr-person-description {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.85;
  max-width: 43ch;
}

/* Compact service CTA. Reserve the former action row height so hero geometry stays unchanged. */
.tr-hero-copy {
  container-type: inline-size;
}
.tr-hero .tr-actions {
  min-height: 64px;
  align-items: flex-start;
}
.tr-hero .tr-actions .button {
  min-height: 52px;
  padding: 14px 22px;
  font-size: 14px;
  gap: 22px;
}
@container (max-width:530.15px) {
  .tr-hero .tr-actions {
    min-height: 134.9375px;
  }
}
@media (max-width: 760px) {
  .tr-hero .tr-actions {
    min-height: 62px;
  }
  @container (max-width:495.48px) {
    .tr-hero .tr-actions {
      min-height: 129.9375px;
    }
  }
}

/* Desktop title only: 7% smaller, three deliberate lines; retain the original title footprint. */
@media (min-width: 1101px) {
  .tr-hero h1 {
    font-size: clamp(39.06px, 3.999vw, 66.96px);
    min-height: calc(clamp(42px, 4.3vw, 72px) * 4.24);
  }
  .tr-hero h1 .tr-title-break {
    display: block;
  }
  .tr-hero h1 em {
    white-space: nowrap;
  }
}

/* Redistribute the former title reserve around the left content, without moving the grid or footer rail. */
@media (min-width: 1101px) {
  .tr-hero-copy {
    --tr-title-reserve: calc(
      clamp(42px, 4.3vw, 72px) * 4.24 - clamp(39.06px, 3.999vw, 66.96px) * 3.18
    );
    padding-top: calc(var(--tr-title-reserve) / 2 + 6px);
    padding-bottom: calc(var(--tr-title-reserve) / 2 - 6px);
  }
  .tr-hero h1 {
    min-height: 0;
  }
}

/* Phone and tablet: show the complete warehouse photograph at its intrinsic ratio. */
@media (max-width: 1100px) {
  #podrska-skladista .tr-photo img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}

/* Employee role typography and spacing match the Spain service profile. */
.tr-person h3 {
  margin-bottom: 10px;
}
.tr-person h3 + p {
  display: inline;
  font: 11px var(--mono);
  letter-spacing: 0.065em;
  color: var(--red-dark);
  margin: 0;
}
.tr-person .tr-person-description {
  margin-top: 25px;
  padding-top: 23px;
}
