/* Comercio Exterior PSAD 2026 — cadena documental */
.service-page--psad {
  --psad-black: #0b0c0c;
  --psad-yellow: #ffd400;
  --psad-paper: #f2f1ec;
  --psad-grey: #5b5c58;
  background: var(--psad-paper);
}

.service-page--psad .psad-hero {
  min-height: 780px;
  align-items: center;
  background-position: center 44%;
}

.service-page--psad .psad-hero::before {
  background:
    linear-gradient(90deg, rgb(6 7 8 / 84%) 0%, rgb(8 9 10 / 54%) 46%, rgb(8 9 10 / 16%) 78%, rgb(8 9 10 / 6%) 100%),
    linear-gradient(0deg, rgb(0 0 0 / 38%) 0%, transparent 56%);
}

.service-page--psad .service-hero__inner {
  padding-top: 154px;
  padding-bottom: 80px;
}

.service-page--psad .psad-hero__copy {
  max-width: 700px;
  padding: clamp(30px, 3.4vw, 46px);
  background: #fff;
  border-top: 4px solid var(--psad-yellow);
  box-shadow: 0 28px 80px rgb(0 0 0 / 28%);
}

.service-page--psad .psad-hero h1 {
  max-width: 760px;
  color: #111;
  margin-bottom: 26px;
  font-size: clamp(40px, 4.4vw, 66px);
}

.service-page--psad .psad-hero p {
  max-width: 680px;
  color: #3f3f3b;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.72;
}

html[lang="en"] .service-page--psad .psad-hero h1 {
  max-width: 790px;
  color: #111;
  font-size: clamp(40px, 4.4vw, 66px);
}

.service-page--psad .service-button {
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.service-page--psad .service-button:hover,
.service-page--psad .service-button:focus-visible { transform: translateY(-2px); }

.service-page--psad .psad-intro {
  padding: 108px 0;
  overflow: hidden;
  background: #fff;
  text-align: left;
}

.psad-intro__layout {
  width: var(--shell);
  max-width: none;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: stretch;
  min-height: 560px;
}

.psad-intro__copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding: clamp(60px, 6vw, 96px) clamp(40px, 4vw, 64px) clamp(60px, 6vw, 96px) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
}

.service-page--psad .psad-intro h2 {
  max-width: 640px;
  margin: 0;
  font-size: clamp(46px, 4vw, 62px);
  letter-spacing: -.015em;
  line-height: .9;
  text-align: left;
}

.service-page--psad .psad-intro p {
  max-width: 430px;
  margin: 30px 0 0;
  font-size: 18px;
  line-height: 1.55;
  text-align: left;
}

.psad-intro__media {
  position: relative;
  min-height: 560px;
  margin: 0;
  overflow: hidden;
  background: #111;
}

.psad-intro__media img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  display: block;
  object-fit: cover;
  object-position: 54% center;
}

.psad-overview {
  padding: 124px 0;
  overflow: hidden;
  background: var(--psad-paper);
}

.psad-overview h2,
.psad-method h2,
.psad-process h2,
.psad-contact h2 {
  margin: 0 0 28px;
  font-family: "HP Simplified", sans-serif;
  font-size: clamp(43px, 5vw, 68px);
  line-height: .96;
  text-transform: uppercase;
}

.psad-overview h2::after,
.psad-method h2::after {
  content: "";
  width: 58px;
  height: 4px;
  display: block;
  margin-top: 22px;
  background: var(--psad-yellow);
}

.psad-overview h2 { max-width: 780px; margin-bottom: 54px; }

.psad-overview__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.psad-service-card {
  min-height: 560px;
  padding: clamp(38px, 5vw, 70px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 34px;
  border: 1px solid #d5d4cd;
}

.psad-service-card--regulation { background: #fff; }
.psad-service-card--logistics {
  border-color: var(--psad-yellow);
  background: var(--psad-yellow);
}

.psad-service-card__icon {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border: 2px solid #111;
  background: var(--psad-yellow);
}

.psad-service-card--logistics .psad-service-card__icon { background: #fff; }

.psad-service-card__icon svg {
  width: 42px;
  fill: none;
  stroke: #111;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.psad-service-card p {
  max-width: 610px;
  margin: 0;
  color: #343532;
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.82;
}

.psad-service-card__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #111;
  border-bottom: 1px solid #111;
}

.psad-service-card__facts > * {
  min-height: 58px;
  padding: 12px 8px;
  display: grid;
  place-items: center;
  border-right: 1px solid #111;
  font-family: "HP Simplified", sans-serif;
  font-size: 12px;
  text-align: center;
}

.psad-service-card__facts > :last-child {
  border-right: 0;
  background: #111;
  color: #fff;
  font-size: 15px;
}

.psad-service-route {
  min-height: 58px;
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 12px;
  font-family: "HP Simplified", sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.psad-service-route i {
  position: relative;
  height: 2px;
  background: #111;
}

.psad-service-route i::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 8px;
  height: 8px;
  border-top: 2px solid #111;
  border-right: 2px solid #111;
  transform: translateY(-50%) rotate(45deg);
}

.psad-method {
  padding: 124px 0;
  overflow: hidden;
  background: var(--psad-black);
  color: #fff;
}

.psad-method > .shell > h2 {
  max-width: 920px;
  margin-bottom: 58px;
}

.psad-method__stage {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
  align-items: stretch;
}

.psad-method__media {
  position: relative;
  min-height: 650px;
  overflow: hidden;
}

.psad-method__media img {
  width: 100%;
  height: 100%;
  min-height: 650px;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(.9) contrast(1.05);
}

.psad-method h2::after { background: var(--psad-yellow); }

.psad-method__copy {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  background: var(--psad-paper);
  color: #111;
}

.psad-method__step {
  padding: clamp(38px, 4vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid #111;
}

.psad-method__step:first-child { background: var(--psad-yellow); }
.psad-method__step:last-child { border-bottom: 0; }

.psad-method__label {
  margin-bottom: 12px;
  font-family: "Myriad Pro", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.3;
}

.psad-method__step > strong {
  margin-bottom: 20px;
  font-family: "HP Simplified", sans-serif;
  font-size: clamp(34px, 4vw, 54px);
  line-height: .9;
}

.psad-method__step p {
  max-width: 540px;
  margin: 0;
  color: #343532;
  font-size: 16px;
  line-height: 1.78;
}

.psad-kodak {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  align-items: center;
  background: #fff;
  color: #111;
}

.psad-kodak__brand {
  min-height: 100%;
  padding: 30px 24px;
  display: grid;
  place-items: center;
  border-right: 1px solid rgb(0 0 0 / 18%);
  background: var(--psad-yellow);
}

.psad-kodak__brand img {
  width: 150px;
  max-height: 118px;
  object-fit: contain;
}

.psad-kodak__copy { padding: clamp(30px, 4vw, 52px); }
.psad-kodak__copy strong {
  display: block;
  margin-bottom: 8px;
  font-family: "HP Simplified", sans-serif;
  font-size: 22px;
  line-height: 1;
  text-transform: uppercase;
}

.psad-kodak__copy p {
  margin: 0;
  max-width: 880px;
  font-size: 15px;
  line-height: 1.72;
}

.psad-process {
  padding: 120px 0;
  background: #fff;
}

.psad-process__layout {
  display: grid;
  grid-template-columns: minmax(250px, .55fr) minmax(0, 1.45fr);
  align-items: start;
  gap: clamp(52px, 8vw, 118px);
}

.psad-process__header {
  position: sticky;
  top: 34px;
}

.psad-process__header h2 { font-size: clamp(52px, 5.8vw, 78px); }

.psad-process__header p {
  max-width: 340px;
  margin: 0;
  color: var(--psad-grey);
  font-size: 16px;
  line-height: 1.78;
}

.psad-process__list {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.psad-process__list::before {
  content: "";
  position: absolute;
  left: 34px;
  top: 34px;
  bottom: 34px;
  width: 2px;
  background: #111;
}

.psad-process__step {
  position: relative;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.psad-process__step + .psad-process__step { margin-top: 26px; }

.psad-process__number {
  position: relative;
  z-index: 1;
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border: 2px solid #111;
  border-radius: 50%;
  background: var(--psad-yellow);
  font-family: "HP Simplified", sans-serif;
  font-size: 21px;
  font-weight: 700;
}

.psad-process__card {
  padding: 30px 34px 32px;
  border: 1px solid #d7d6d0;
  background: var(--psad-paper);
  box-shadow: 0 16px 40px rgb(0 0 0 / 7%);
}

.psad-process__card h3 {
  margin: 0 0 12px;
  font-family: "HP Simplified", sans-serif;
  font-size: clamp(25px, 2.5vw, 34px);
  line-height: 1;
  text-transform: uppercase;
}

.psad-process__card p {
  margin: 0;
  color: var(--psad-grey);
  font-size: 15px;
  line-height: 1.8;
}

.psad-contact {
  padding: 112px 0;
  background: var(--psad-yellow);
  color: #111;
}

.psad-contact__grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(520px, 1.18fr);
  align-items: center;
  gap: clamp(48px, 6vw, 82px);
}

.psad-contact__intro { min-width: 0; }
.psad-contact__intro h2 {
  max-width: 100%;
  font-size: clamp(48px, 4vw, 64px);
  overflow-wrap: anywhere;
}

.psad-contact__intro p {
  margin: 0 0 26px;
  max-width: 500px;
  font-size: 15px;
  line-height: 1.8;
}

.psad-contact__phone {
  display: inline-flex;
  font-family: "HP Simplified", sans-serif;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
}

.psad-form {
  padding: clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  background: #fff;
  border: 1px solid rgb(0 0 0 / 24%);
  box-shadow: 0 26px 70px rgb(0 0 0 / 18%);
}

.psad-form__trap { display: none; }
.psad-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.psad-form__field--wide { grid-column: 1 / -1; }

.psad-form__field label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.psad-form__field input,
.psad-form__field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #b8b8b3;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: #111;
  font: inherit;
}

.psad-form__field input { height: 48px; }
.psad-form__field textarea { height: 116px; padding-top: 12px; resize: vertical; }
.psad-form__field input:focus,
.psad-form__field textarea:focus { border-bottom-color: #111; }

.psad-form__captcha {
  min-height: 70px;
  padding: 12px 15px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  border: 1px solid #d2d2cd;
  background: #f6f6f3;
}

.psad-form__captcha-check {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 2px solid #111;
  font-weight: 800;
}

.psad-form__captcha strong,
.psad-form__captcha small { display: block; }
.psad-form__captcha strong { font-size: 11px; }
.psad-form__captcha small { margin-top: 2px; color: #676762; font-size: 10px; }
.psad-form__captcha svg { width: 24px; fill: none; stroke: #111; stroke-width: 1.7; }

.psad-form__submit {
  min-height: 54px;
  border: 2px solid #111;
  background: #111;
  color: #fff;
  cursor: pointer;
  font-family: "HP Simplified", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: background-color .2s ease, color .2s ease;
}

.psad-form__submit:hover,
.psad-form__submit:focus-visible { background: var(--psad-yellow); color: #111; }

.service-page--psad :focus-visible {
  outline: 2px solid var(--psad-yellow);
  outline-offset: 4px;
}

.service-page--psad .psad-contact :focus-visible { outline-color: #111; }

@media (max-width: 1080px) {
  .service-page--psad .psad-hero { min-height: 720px; }
  .psad-intro__layout,
  .psad-overview__cards,
  .psad-method__stage,
  .psad-process__layout,
  .psad-contact__grid { grid-template-columns: 1fr; }
  .service-page--psad .psad-intro { padding: 84px 0; }
  .psad-intro__layout { min-height: auto; }
  .psad-intro__copy { min-height: 0; padding: 0 0 58px; }
  .psad-intro__media,
  .psad-intro__media img { min-height: 520px; }
  .psad-overview__cards { gap: 22px; }
  .psad-service-card { min-height: 0; }
  .psad-method__media,
  .psad-method__media img { min-height: 560px; }
  .psad-process__header { position: static; }
  .psad-process__header p { max-width: 620px; }
  .psad-contact__intro { max-width: 680px; }
}

@media (max-width: 680px) {
  .service-page--psad .psad-hero {
    min-height: 720px;
    align-items: flex-end;
    background-position: 60% center;
  }

  .service-page--psad .psad-hero::before {
    background: linear-gradient(0deg, rgb(6 6 5 / 90%) 0%, rgb(8 8 7 / 60%) 56%, rgb(8 8 7 / 20%) 100%);
  }

  .service-page--psad .service-hero__inner {
    padding-top: 118px;
    padding-bottom: 38px;
  }

  .service-page--psad .psad-hero__copy {
    padding: 28px 22px 30px;
    background: #fff;
    border-top-width: 3px;
  }

  .service-page--psad .psad-hero h1,
  html[lang="en"] .service-page--psad .psad-hero h1 {
    font-size: clamp(40px, 4.4vw, 66px);
  }

  .service-page--psad .psad-hero p { font-size: 14px; line-height: 1.62; }
  .service-page--psad .service-hero__actions { gap: 9px; }
  .service-page--psad .service-button { padding-inline: 14px; font-size: 11px; }
  .service-page--psad .psad-intro { padding: 72px 0; }
  .psad-intro__copy { min-height: 0; padding: 0 0 48px; }
  .service-page--psad .psad-intro h2 { font-size: clamp(42px, 12vw, 56px); }
  .service-page--psad .psad-intro p { margin-top: 22px; font-size: 16px; }
  .psad-intro__media,
  .psad-intro__media img { min-height: 360px; }
  .psad-intro__media img { object-position: 58% center; }
  .psad-overview,
  .psad-method,
  .psad-process,
  .psad-contact { padding: 76px 0; }
  .psad-process__layout,
  .psad-contact__grid { gap: 42px; }
  .psad-overview h2,
  .psad-method h2,
  .psad-process h2,
  .psad-contact h2 { font-size: 43px; }
  .psad-overview h2,
  .psad-method > .shell > h2 { margin-bottom: 38px; }
  .psad-overview__cards { gap: 16px; }
  .psad-service-card { padding: 32px 22px; gap: 28px; }
  .psad-service-card p { font-size: 15px; line-height: 1.72; }
  .psad-service-card__facts { grid-template-columns: 1fr; }
  .psad-service-card__facts > * {
    min-height: 46px;
    border-right: 0;
    border-bottom: 1px solid #111;
  }
  .psad-service-card__facts > :last-child { border-bottom: 0; }
  .psad-service-route { grid-template-columns: auto 1fr auto 1fr auto; gap: 8px; font-size: 9px; }
  .psad-method__media,
  .psad-method__media img { min-height: 390px; }
  .psad-method__media img { object-position: 58% center; }
  .psad-method__step { padding: 38px 24px; }
  .psad-method__step > strong { font-size: 40px; }
  .psad-method__step p { font-size: 15px; }
  .psad-kodak { grid-template-columns: 1fr; }
  .psad-kodak__brand { min-height: 150px; border-right: 0; border-bottom: 1px solid rgb(0 0 0 / 18%); }
  .psad-kodak__copy { padding: 24px; }
  .psad-process__list::before { left: 23px; top: 24px; bottom: 24px; }
  .psad-process__step { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; }
  .psad-process__number { width: 48px; height: 48px; font-size: 15px; }
  .psad-process__card { padding: 24px 20px 26px; }
  .psad-process__card h3 { font-size: 25px; }
  .psad-process__card p { font-size: 14px; }
  .psad-form { padding: 25px 20px; grid-template-columns: 1fr; }
  .psad-form__field--wide { grid-column: auto; }
  .psad-form__captcha { grid-template-columns: auto 1fr; }
  .psad-form__captcha svg { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .service-page--psad .service-button { transition: none; }
}
