/* The complete service catalogue: transport, storage and customs. */
.services {
  --services-ink: #192b25;
  padding: 88px 0 64px;
  background: #192b25;
  color: #f4f4ef;
  overflow: clip;
}
.services-wrap { width: min(1440px, calc(100% - 96px)); margin-inline: auto; }
.services-kicker { display: flex; align-items: center; justify-content: space-between; padding-bottom: 22px; border-bottom: 1px solid #ffffff26; color: #c6cfc6; font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; }
.services-kicker > p { display: flex; align-items: center; gap: 12px; }
.services-kicker > p::before { content: ""; width: 6px; height: 6px; background: #cad7b0; border-radius: 50%; }
.services-intro { display: grid; grid-template-columns: 1.5fr 1fr; align-items: end; gap: 40px; padding: 36px 0 46px; }
.services h2 { font-size: clamp(2.5rem, 4.8vw, 4.4rem); line-height: 1.02; letter-spacing: -0.055em; font-weight: 500; }
.services h2 span { color: #b9c7af; }
.services-intro-copy { max-width: 355px; justify-self: end; padding-bottom: 5px; }
.services-intro-copy p { font-size: 0.87rem; line-height: 1.75; color: #c9d1c9; }
.services-intro-copy > span { display: block; margin-top: 20px; font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: #a9bba0; }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.service-item { --service-accent: #456151; min-width: 0; display: flex; flex-direction: column; background: #f4f4ef; color: var(--services-ink); border-radius: 13px; overflow: hidden; }
.service-item--road { --service-accent: #a84b1f; }
.service-item--air { --service-accent: #ac3d43; }
.service-item--sea { --service-accent: #17628b; }
.service-visual { position: relative; height: clamp(180px, 17vw, 255px); overflow: hidden; background: #dce2d8; }
.service-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #10231e54 0%, transparent 45%); pointer-events: none; }
.service-photo { width: 100%; height: 100%; object-fit: cover; transition: transform 750ms cubic-bezier(0.22, 1, 0.36, 1); }
.service-item--road .service-photo { object-position: 36% 65%; }
.service-item--storage .service-photo { object-position: 50% 65%; }
.service-visual-label { position: absolute; z-index: 1; inset: 16px 18px auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; color: #fff; font-size: 0.58rem; font-weight: 500; letter-spacing: 0.05em; }
.service-visual-label > span:last-child { padding: 5px 9px; border-radius: 999px; background: #14271fe6; }
.service-number { display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid #ffffff85; border-radius: 50%; background: #14271fcc; font: 0.66rem Consolas, monospace; }
.service-body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 25px 24px 18px; }
.service-body::before { content: ""; position: absolute; height: 3px; left: 24px; width: 30px; top: 0; background: var(--service-accent); transition: width 400ms ease; }
.service-body h3 { font-size: clamp(1.45rem, 2vw, 1.85rem); letter-spacing: -0.045em; font-weight: 500; line-height: 1.15; }
.service-description { margin-top: 13px; color: #566258; font-size: 0.79rem; line-height: 1.7; }
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 18px 0 24px; }
.service-tags li { padding: 4px 8px; border: 1px solid #314a2526; border-radius: 4px; font-size: 0.59rem; line-height: 1.4; color: #52604e; }
.service-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; padding-top: 13px; margin-top: auto; border-top: 1px solid #314a2526; font-size: 0.68rem; font-weight: 500; color: var(--service-accent); cursor: pointer; }
.service-link > span { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #314a2533; border-radius: 50%; font-size: 1.05rem; transition: background 200ms ease, color 200ms ease, transform 300ms ease; }
.service-link:focus-visible { outline: 2px solid var(--service-accent); outline-offset: 5px; border-radius: 2px; }
.service-link:hover > span, .service-link:focus-visible > span { background: var(--service-accent); border-color: var(--service-accent); color: white; transform: rotate(45deg); }
.service-item:focus-within .service-body::before { width: 70px; }
.service-visual--customs { background: #c7d2c1; }
.service-visual--customs::after { display: none; }
.service-visual--customs .service-visual-label { color: #304b3b; }
.service-visual--customs .service-number { border-color: #304b3b66; }
.service-visual--customs .service-visual-label > span { background: #dfe6d8; }
.service-documents { display: block; width: 100%; height: 100%; transition: transform 750ms cubic-bezier(0.22, 1, 0.36, 1); }
.services-conclusion { display: flex; align-items: center; justify-content: space-between; gap: 30px; border-top: 1px solid #ffffff26; margin-top: 42px; padding-top: 30px; }
.services-conclusion-copy { display: flex; align-items: center; gap: 20px; }
.services-conclusion-icon { flex-shrink: 0; width: 44px; height: 44px; color: #b9c7af; }
.services-conclusion h3 { font-size: 1.22rem; font-weight: 500; letter-spacing: -0.025em; }
.services-conclusion p { color: #c2cdc1; font-size: 0.75rem; margin-top: 6px; }
.services-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-shrink: 0; padding: 13px 20px; min-height: 48px; border: 1px solid #9eaf96; border-radius: 999px; font-size: 0.75rem; cursor: pointer; transition: color 200ms ease, background 200ms ease; }
.services-cta > span { font-size: 1.15rem; }
.services-cta:hover { background: #d4dfc6; color: #192b25; }
.services-cta:focus-visible { outline: 2px solid #d4dfc6; outline-offset: 5px; }

@media (hover: hover) {
  .service-item:hover .service-photo { transform: scale(1.045); }
  .service-item:hover .service-documents { transform: translateY(-4px) rotate(-2deg); }
  .service-item:hover .service-body::before { width: 70px; }
}
@media (prefers-reduced-motion: no-preference) {
  .services-ready .service-item { transition: opacity 650ms ease var(--reveal-delay, 0ms), transform 750ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms); }
  .services-ready .service-item:not(.is-revealed) { opacity: 0; transform: translateY(32px); }
}
@media (max-width: 1100px) {
  .services-wrap { width: calc(100% - 56px); }
  .services-grid { gap: 16px; }
  .service-body { padding-inline: 18px; }
  .service-body::before { left: 18px; }
}
@media (max-width: 900px) {
  .services { padding-top: 65px; }
  .services-wrap { width: calc(100% - 40px); }
  .services-intro { grid-template-columns: 1fr; gap: 24px; padding-block: 30px 34px; }
  .services-intro-copy { max-width: 440px; justify-self: start; }
  .services-intro-copy > span { margin-top: 14px; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-item { --reveal-delay: 0ms !important; }
  .service-visual { height: 210px; }
  .service-body h3 { font-size: 1.65rem; }
  .services-conclusion { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 540px) {
  .services { padding-block: 48px 42px; }
  .services-kicker { font-size: 0.57rem; letter-spacing: 0.06em; padding-bottom: 17px; }
  .services h2 { font-size: clamp(2.25rem, 9.7vw, 3.2rem); }
  .services-intro-copy p { font-size: 0.8rem; }
  .services-intro-copy > span { font-size: 0.58rem; }
  .services-grid { grid-template-columns: 1fr; gap: 22px; }
  .service-visual { height: 205px; }
  .service-body { padding: 23px 22px 17px; }
  .service-body::before { left: 22px; }
  .service-body h3 { font-size: 1.75rem; }
  .service-description { font-size: 0.8rem; }
  .service-tags { margin-bottom: 18px; }
  .services-conclusion { margin-top: 30px; padding-top: 26px; gap: 22px; }
  .services-conclusion-copy { align-items: flex-start; gap: 14px; }
  .services-conclusion-icon { width: 33px; height: 33px; }
  .services-conclusion h3 { font-size: 1.12rem; }
  .services-conclusion p { font-size: 0.69rem; }
  .services-cta { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .services *, .services *::before { transition: none !important; animation: none !important; }
  .service-item .service-photo, .service-item .service-documents { transform: none !important; }
}
