/* These sections begin below the shared subject banner. */
.pet-intro,
.pet-workflow,
.pet-trust {
  padding-block: clamp(36px, 4vw, 64px);
}

.pet-intro {
  background: #FFFFFF;
}

.pet-intro-layout,
.pet-trust-intro {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(24px, 5vw, 80px);
}

.pet-intro-copy h2,
.pet-workflow h2,
.pet-trust h3 {
  margin: 0 0 16px;
  color: var(--primary-color);
  font-weight: 650;
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 1.1;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.pet-intro-copy h2 {
  padding-inline-start: 16px;
  border-inline-start: 4px solid var(--cml-accent);
}

.pet-intro p,
.pet-stage p,
.pet-trust p {
  margin: 0;
  max-width: 68ch;
  color: var(--text-color);
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.67;
}

.pet-intro-photo {
  background: transparent;
  border-radius: 30px 12px;
}

.pet-intro-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.9;
  object-fit: cover;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
  border-radius: inherit;
}

.pet-workflow {
  background: #FFFFFF;
}

.pet-workflow h2 {
  text-align: center;
  margin-block-end: clamp(26px, 3vw, 44px);
}

.pet-workflow h2::after,
.pet-trust h3::after {
  content: "";
  display: block;
  width: 62px;
  height: 3px;
  margin: 14px auto 0;
  border-radius: 8px;
  background: var(--cml-accent);
}

.pet-journey {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 24px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pet-journey::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 50%;
  border-inline-start: 2px dashed var(--cml-accent);
}

.pet-stage {
  position: relative;
  display: grid;
  grid-template-columns: 40% minmax(0, 1fr);
  border-radius: 26px 12px;
  overflow: hidden;
  background: var(--cml-surface);
  border: 1px solid var(--cml-divider);
}

.pet-stage:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) 40%;
  background: white;
}

.pet-stage-photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  position: absolute;
  inset: 0;
  inline-size: 40%;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 89% 100%, 0 100%);
}

.pet-stage:nth-child(even) .pet-stage-photo {
  inset-inline-start: auto;
  inset-inline-end: 0;
  clip-path: polygon(11% 0, 100% 0, 100% 100%, 0 100%);
}

.pet-stage-copy {
  grid-column: 2;
  align-self: center;
  padding: clamp(22px, 3vw, 46px);
}

.pet-stage:nth-child(even) .pet-stage-copy {
  grid-column: 1;
}

.pet-stage:not(:has(.pet-stage-photo)) .pet-stage-copy {
  grid-column: 1 / -1;
}

.pet-stage-heading {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.4vw, 22px);
  margin-bottom: 14px;
}

.pet-marker {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-color);
  font-size: clamp(24px, 2.4vw, 36px);
  font-weight: 700;
  line-height: 1;
}

.pet-marker i {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 16px;
  color: white;
  background: var(--primary-color);
  border: 2px solid var(--cml-accent);
}

.pet-stage h3 {
  padding-inline-start: 14px;
  border-inline-start: 2px solid var(--cml-accent);
  margin: 0;
  color: var(--primary-color);
  font-size: clamp(21px, 2vw, 30px);
  line-height: 1.2;
  letter-spacing: -.025em;
}

.pet-trust-intro {
  grid-template-columns: 1.25fr 1fr;
}

.pet-trust h3::after {
  margin-inline: 0;
}

.pet-trust-intro img {
  height: 250px;
  display: block;
  width: 100%;
  aspect-ratio: 2.35;
  object-fit: cover;
  object-position: center 31%;
  border-radius: 12px 32px;
}

.pet-credentials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 175px), 1fr));
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}

.pet-credentials li {
  background: #FFFFFF;
  border: 1px solid var(--cml-divider);
  border-radius: 14px;
  padding: clamp(16px, 1.65vw, 26px);
}

.pet-credentials i {
  font-size: 25px;
  color: var(--primary-color);
}

.pet-credentials h4 {
  font-size: clamp(16px, 1.22vw, 19px);
  font-weight: 600;
  line-height: 1.45;
  color: var(--primary-color);
  margin: 14px 0 0;
}

.cml-original-logistics .pet-contact.cml-contact-actions:has(a) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0;
  padding-block: clamp(38px, 5vw, 76px);
  border-radius: clamp(24px, 4vw, 64px) 0 0;
  border-bottom: 4px solid var(--cml-accent);
  background: linear-gradient(105deg, #156398 52%, transparent 52%), url("../img/bg-map.png") right center / auto 160% no-repeat, var(--primary-color);
}

.pet-contact:has(a)::before {
  content: "\f1b0" / "";
  font: 900 clamp(52px, 7vw, 108px)/1 "Font Awesome 6 Free";
  position: absolute;
  right: 10%;
  top: 20%;
  transform: rotate(-15deg);
  color: var(--cml-accent);
  opacity: .18;
  z-index: -1;
}

@media (max-width: 767px) {

  .pet-intro-layout,
  .pet-trust-intro {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pet-stage,
  .pet-stage:nth-child(even) {
    display: flex;
    flex-direction: column;
  }

  .pet-stage .pet-stage-photo,
  .pet-stage:nth-child(even) .pet-stage-photo {
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 2.05;
    clip-path: none;
  }

  .pet-stage-copy {
    padding: 20px;
  }

  .pet-stage-heading {
    flex-wrap: wrap;
  }

  .pet-stage h3 {
    flex: 1 1 18ch;
  }

  .pet-credentials li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
  }

  .pet-credentials h4 {
    margin: 0;
  }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .pet-stage {
    transition: border-color .24s ease;
  }

  .pet-stage:hover {
    border-color: var(--cml-accent);
  }
}