/* Customs service only. Shared brand, navigation and closing CTA live in styles.css. */
.customs-page main {
  overflow: hidden;
}
.cu-hero {
  position: relative;
  isolation: isolate;
  background: #070708;
  color: var(--paper);
  padding: 163px 0 52px;
  background-image: linear-gradient(90deg, #ffffff06 1px, transparent 1px);
  background-size: 16.6667% 100%;
}
.cu-hero:before {
  content: "";
  position: absolute;
  inset: -10% 12% -10% 56%;
  transform: skewX(-17deg);
  border-left: 1px solid #ffffff08;
  background: linear-gradient(140deg, #ffffff03, transparent);
  z-index: -1;
}
.cu-hero .section-shell {
  padding: 0;
}
.cu-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5%;
  align-items: center;
  min-height: 555px;
}
.cu-hero-copy {
  padding-block: 15px;
}
.cu-hero .eyebrow,
.cu-process .eyebrow {
  color: #ff6267;
}
.cu-hero h1 {
  font: 500 clamp(40px, 3.999vw, 66.96px) / 1.06 var(--display);
  letter-spacing: -0.052em;
}
.cu-hero h1 em {
  color: #ff454b;
  font-style: normal;
}
.cu-hero-copy > p {
  font-size: 17px;
  line-height: 1.8;
  color: #aaaab2;
  max-width: 565px;
  margin-top: 28px;
}
.cu-hero-button {
  min-height: 52px;
  padding: 14px 22px;
  font-size: 14px;
  gap: 22px;
  margin-top: 34px;
}
.cu-hero-visual {
  align-self: center;
  width: 106%;
  margin-left: -3%;
}
.cu-diagram {
  width: 100%;
  overflow: visible;
}
.cu-guide {
  fill: none;
  stroke: #ffffff08;
  stroke-width: 1;
}
.cu-routes {
  fill: none;
  stroke: #ffffff42;
  stroke-width: 1.3;
}
.cu-flow {
  fill: none;
  stroke: var(--red);
  stroke-width: 1.8;
  stroke-dasharray: 30 920;
  animation: customs-flow 24s linear infinite;
}
.cu-flow-secondary {
  stroke: #c9c9d0;
  stroke-dasharray: 20 920;
  animation-delay: -9s;
}
.cu-node {
  fill: #111113;
  stroke: #85858f;
  stroke-width: 1;
}
.cu-core {
  fill: #151518;
  stroke: #ec1c24;
  stroke-width: 1.3;
}
.cu-label {
  font: 11px var(--mono);
  letter-spacing: 0.07em;
  fill: #b2b2be;
}
.cu-label-strong {
  fill: #f2f1ef;
  font-size: 13px;
  letter-spacing: 0.06em;
}
.cu-label-small {
  font-size: 8px;
  letter-spacing: 0.03em;
  fill: #7c7c88;
}
.cu-visual-caption {
  margin-top: 15px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font: 9px var(--mono);
  letter-spacing: 0.07em;
  color: #72727e;
  padding: 0 20px;
}
.cu-hero-foot {
  margin-top: 52px;
  border-top: 1px solid #ffffff20;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font: 11px var(--mono);
  color: #96969f;
  letter-spacing: 0.05em;
}
.cu-hero-foot a {
  color: #d6d6da;
}
.cu-hero-foot a span {
  margin-left: 16px;
}
.cu-section {
  border-bottom: 1px solid var(--line);
}
.cu-heading {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 12%;
  align-items: start;
}
.cu-heading h2 {
  max-width: 660px;
}
.cu-copy {
  font-size: 17px;
  line-height: 1.85;
  color: var(--muted);
}
.cu-copy p + p {
  margin-top: 20px;
}
.cu-small {
  font: 11px var(--mono);
  letter-spacing: 0.08em;
  color: var(--red-dark);
}
.cu-responsibilities {
  display: grid;
  grid-template-columns: 1fr 1.12fr 1fr;
  margin-top: 58px;
  position: relative;
  gap: 6%;
}
.cu-responsibilities:before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  right: 0;
  height: 1px;
  background: #c9c8c7;
}
.cu-responsibilities article {
  position: relative;
}
.cu-role-node {
  width: 19px;
  height: 19px;
  display: block;
  border: 1px solid #93939b;
  border-radius: 50%;
  background: var(--paper);
  margin-bottom: 28px;
}
.cu-role-main .cu-role-node {
  border-color: var(--red);
  box-shadow: inset 0 0 0 5px var(--paper);
  background: var(--red);
}
.cu-responsibilities h3 {
  font-size: clamp(25px, 2.2vw, 35px);
  margin: 18px 0;
}
.cu-responsibilities p {
  font-size: 15px;
  color: var(--muted);
  max-width: 290px;
}
.cu-role-main h3 {
  color: var(--red-dark);
}
.cu-directions .section-shell {
  padding-top: 85px;
}
.cu-directions .cu-heading {
  align-items: end;
}
.cu-direction-key {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 25px;
  font: 11px var(--mono);
  color: #777780;
}
.cu-direction-key i {
  font: 400 42px var(--display);
  color: #acadb2;
  font-style: normal;
}
.cu-direction-key i:nth-child(3) {
  color: var(--red);
}
.cu-direction-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 50px;
  border-top: 1px solid #c9c8c7;
  border-bottom: 1px solid #c9c8c7;
}
.cu-direction-grid article {
  padding: 30px 12% 40px 0;
}
.cu-direction-grid article + article {
  padding: 30px 0 40px 12%;
  border-left: 1px solid #c9c8c7;
}
.cu-direction-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cu-direction-top > span:last-child {
  font: 36px var(--display);
  color: #a8a8ad;
}
.cu-direction-grid h3 {
  font-size: clamp(29px, 2.6vw, 41px);
  margin: 20px 0;
}
.cu-direction-grid p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 510px;
}
.cu-document-rail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 27px;
  font: 10px var(--mono);
  letter-spacing: 0.06em;
  color: #62636c;
}
.cu-document-rail i {
  font-style: normal;
  font-size: 18px;
  color: var(--red);
}
.cu-start {
  background: #e9e8e5;
}
.cu-start-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 12%;
}
.cu-start h2 {
  max-width: 540px;
}
.cu-start .cu-copy {
  margin-top: 28px;
  max-width: 520px;
}
.cu-start-note {
  display: flex;
  gap: 22px;
  border-top: 1px solid #c6c6c9;
  padding-top: 23px;
  margin-top: 30px;
  max-width: 480px;
}
.cu-start-note > span {
  font: 24px var(--mono);
  color: var(--red);
}
.cu-start-note p {
  font-size: 13px;
  line-height: 1.8;
  color: #666871;
}
.cu-information {
  margin: 0;
  border-top: 1px solid #bbbcc0;
}
.cu-information > div {
  border-bottom: 1px solid #bbbcc0;
  padding: 25px 0 27px;
}
.cu-information dt {
  font: 500 clamp(27px, 2.4vw, 38px) / 1.2 var(--display);
  letter-spacing: -0.035em;
  display: flex;
  gap: 25px;
  align-items: center;
}
.cu-information dt span {
  font: 11px var(--mono);
  color: var(--red-dark);
  letter-spacing: 0;
}
.cu-information dd {
  font-size: 15px;
  color: var(--muted);
  margin: 10px 0 0 41px;
}
.cu-process {
  background: #111113;
  color: var(--paper);
  background-image: linear-gradient(90deg, #ffffff05 1px, transparent 1px);
  background-size: 16.6667% 100%;
}
.cu-process .cu-heading {
  grid-template-columns: 1.45fr 1fr;
  gap: 7%;
  align-items: end;
}
.cu-process-intro {
  font-size: 16px;
  line-height: 1.8;
  color: #9999a4;
  padding-bottom: 5px;
}
.cu-process-map {
  position: relative;
  margin-top: 52px;
  min-height: 610px;
}
.cu-process-map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 470px;
  overflow: visible;
  fill: none;
  stroke-width: 1;
}
.cu-process-base {
  stroke: #ffffff30;
}
.cu-process-motion {
  stroke: var(--red);
  stroke-width: 1.5;
  stroke-dasharray: 40 1420;
  animation: customs-process 28s linear infinite;
}
.cu-process-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5%;
}
.cu-process-steps li {
  position: relative;
  padding-top: 72px;
}
.cu-process-steps li:nth-child(2) {
  padding-top: 217px;
}
.cu-process-steps li:nth-child(3) {
  padding-top: 362px;
}
.cu-step-number {
  position: absolute;
  top: 18px;
  left: 0;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--red);
  background: #111113;
  border-radius: 50%;
  font: 11px var(--mono);
  color: #ff6267;
}
.cu-process-steps li:nth-child(2) .cu-step-number {
  top: 163px;
}
.cu-process-steps li:nth-child(3) .cu-step-number {
  top: 308px;
}
.cu-process-steps .cu-small {
  font-size: 9px;
  color: #888894;
}
.cu-process-steps h3 {
  font-size: clamp(26px, 2.35vw, 36px);
  margin: 15px 0 18px;
  line-height: 1.14;
}
.cu-process-steps p {
  font-size: 15px;
  line-height: 1.8;
  color: #a1a1aa;
  max-width: 310px;
}
.cu-process-caption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #ffffff20;
  padding-top: 24px;
  font: 10px var(--mono);
  color: #8c8c97;
  letter-spacing: 0.06em;
}
.cu-connected {
  border-bottom: 1px solid var(--line);
  background: #e9e8e5;
}
.cu-connected .section-shell {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 12%;
  align-items: center;
  padding-block: 65px;
}
.cu-connected h2 {
  font-size: clamp(28px, 2.7vw, 42px);
}
.cu-connected .eyebrow {
  font-size: 10px;
  margin-bottom: 18px;
}
.cu-connected p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
  margin-top: 19px;
  max-width: 650px;
}
.cu-connections {
  border-left: 1px solid #b8b8bf;
  padding-left: 30px;
}
.cu-connections > a,
.cu-connections > div {
  position: relative;
  padding: 12px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 15px;
}
.cu-connections > div {
  color: var(--red-dark);
  font-weight: 600;
}
.cu-connections > div:before {
  content: "";
  position: absolute;
  left: -35px;
  top: 21px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--red);
  background: #e9e8e5;
  border-radius: 50%;
}
.cu-connections a span {
  font-size: 20px;
  color: #74747e;
}
.cu-connections a:hover {
  color: var(--red-dark);
}
.cu-team {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7%;
  margin-top: 54px;
}
.cu-person {
  min-width: 0;
}
.cu-portrait {
  background: #b7b7b9;
  overflow: hidden;
}
.cu-portrait img {
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: cover;
  object-position: center 38%;
  transition: transform 0.5s;
}
.cu-person:hover img {
  transform: scale(1.02);
}
.cu-person-info {
  padding-top: 25px;
}
.cu-person h3 {
  font-size: clamp(29px, 2.6vw, 40px);
  margin: 0 0 10px;
}
.cu-person-info > .cu-small {
  display: block;
  margin-bottom: 20px;
}
.cu-person p {
  padding-top: 20px;
  border-top: 1px solid #c9c8c7;
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 510px;
}
.cu-team-contact {
  display: flex;
  gap: 35px;
  flex-wrap: wrap;
  margin-top: 38px;
}
.cu-contact-hint {
  font: 11px/1.9 var(--mono);
  color: #93939c;
  margin-top: 26px;
  max-width: 570px;
}
@keyframes customs-flow {
  to {
    stroke-dashoffset: -950;
  }
}
@keyframes customs-process {
  to {
    stroke-dashoffset: -1460;
  }
}
@media (min-width: 1700px) {
  .cu-hero {
    padding-top: 185px;
    padding-bottom: 64px;
  }
  .cu-hero-grid {
    min-height: 600px;
  }
  .cu-hero-foot {
    margin-top: 65px;
  }
}
@media (max-width: 1100px) {
  .cu-heading,
  .cu-start-grid {
    gap: 7%;
  }
  .cu-hero-grid {
    gap: 3%;
  }
  .cu-hero h1 {
    font-size: 49px;
  }
  .cu-hero-copy > p {
    font-size: 16px;
  }
  .cu-visual-caption {
    font-size: 8px;
    padding: 0;
  }
  .cu-process-map {
    min-height: 650px;
  }
  .cu-connected .section-shell {
    gap: 7%;
  }
  .cu-information dt {
    font-size: 30px;
  }
}
@media (max-width: 760px) {
  .cu-hero {
    padding: 135px 0 30px;
  }
  .cu-hero-grid {
    grid-template-columns: 1fr;
    gap: 35px;
    min-height: 0;
  }
  .cu-hero-copy {
    padding: 0;
  }
  .cu-hero h1 {
    font-size: clamp(38px, 8.3vw, 56px);
  }
  .cu-hero-visual {
    width: 100%;
    max-width: 500px;
    margin: auto;
  }
  .cu-visual-caption {
    font-size: 8px;
    line-height: 1.7;
    gap: 15px;
  }
  .cu-hero-foot {
    margin-top: 35px;
    font-size: 9px;
    line-height: 1.9;
    flex-wrap: wrap;
    gap: 15px;
  }
  .cu-heading,
  .cu-start-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .cu-copy {
    font-size: 16px;
  }
  .cu-responsibilities {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 40px;
  }
  .cu-responsibilities:before {
    display: none;
  }
  .cu-responsibilities article {
    border-left: 1px solid #c9c8c7;
    padding: 0 0 32px 31px;
    margin-left: 9px;
  }
  .cu-responsibilities article:last-child {
    padding-bottom: 0;
    border-left-color: transparent;
  }
  .cu-role-node {
    position: absolute;
    left: -10px;
    top: 0;
  }
  .cu-responsibilities h3 {
    font-size: 27px;
    margin: 12px 0;
  }
  .cu-responsibilities h3 br {
    display: none;
  }
  .cu-directions .section-shell {
    padding-top: 65px;
  }
  .cu-direction-key {
    display: none;
  }
  .cu-direction-grid {
    grid-template-columns: 1fr;
    margin-top: 35px;
  }
  .cu-direction-grid article,
  .cu-direction-grid article + article {
    padding: 24px 0 30px;
    border-left: 0;
  }
  .cu-direction-grid article + article {
    border-top: 1px solid #c9c8c7;
  }
  .cu-direction-grid h3 {
    font-size: 30px;
  }
  .cu-document-rail {
    flex-wrap: wrap;
    justify-content: flex-start;
    font-size: 9px;
    gap: 15px;
  }
  .cu-document-rail i {
    font-size: 15px;
  }
  .cu-information {
    margin-top: 8px;
  }
  .cu-information dt {
    font-size: 30px;
  }
  .cu-information dd {
    font-size: 14px;
  }
  .cu-start-note {
    margin-bottom: 8px;
  }
  .cu-process .cu-heading {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .cu-process-map {
    min-height: 0;
    margin-top: 40px;
  }
  .cu-process-map svg {
    display: none;
  }
  .cu-process-steps {
    display: block;
  }
  .cu-process-steps li,
  .cu-process-steps li:nth-child(n) {
    padding: 0 0 40px 37px;
    margin-left: 16px;
    border-left: 1px solid #6a363b;
  }
  .cu-process-steps li:last-child {
    padding-bottom: 0;
    border-left-color: transparent;
  }
  .cu-process-steps li .cu-step-number,
  .cu-process-steps li:nth-child(n) .cu-step-number {
    top: 0;
    left: -17px;
  }
  .cu-process-steps h3 {
    font-size: 28px;
    margin-top: 12px;
  }
  .cu-process-steps h3 br {
    display: none;
  }
  .cu-process-steps p {
    max-width: none;
  }
  .cu-process-caption {
    margin-top: 35px;
    flex-wrap: wrap;
    font-size: 9px;
    line-height: 1.8;
  }
  .cu-connected .section-shell {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 55px;
  }
  .cu-connections {
    margin-left: 5px;
  }
  .cu-team {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 35px;
  }
  .cu-portrait img {
    aspect-ratio: 1.1;
  }
  .cu-person h3 {
    font-size: 32px;
  }
  .cu-team-contact {
    gap: 22px;
    flex-direction: column;
    align-items: flex-start;
  }
  .cu-contact-hint {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cu-flow,
  .cu-process-motion {
    animation: none;
  }
  .cu-person img {
    transition: none;
  }
}

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

/* Two centered profiles use the same card width as the three-column transport grid. */
.cu-team {
  grid-template-columns: repeat(2, minmax(0, calc((100% - 90px) / 3)));
  justify-content: center;
  gap: 45px;
  margin-top: 56px;
}
.cu-person {
  border-top: 1px solid #b9b9c0;
  padding-top: 22px;
}
.cu-portrait {
  margin-top: 25px;
}
.cu-portrait img {
  aspect-ratio: 1;
}
.cu-person-info {
  padding-top: 36px;
}
.cu-person h3 {
  font-size: clamp(27px, 2.4vw, 38px);
  margin-bottom: 10px;
}
.cu-person-info > p {
  max-width: 43ch;
  margin-top: 25px;
  padding-top: 23px;
}
@media (max-width: 1100px) {
  .cu-team {
    grid-template-columns: repeat(2, minmax(0, calc((100% - 50px) / 3)));
    gap: 25px;
  }
}
@media (max-width: 760px) {
  .cu-team {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    margin-top: 35px;
  }
  .cu-person-info {
    padding-top: 18px;
  }
  .cu-person h3 {
    font-size: 31px;
  }
}
