
/* =====================================================
   BASE RESET
===================================================== */

.dis-te-process5,
.dis-te-process5 *,
.dis-te-process5 *::before,
.dis-te-process5 *::after {
  box-sizing: border-box;
}

.dis-te-process5 {
  --p5-gold: #cda050;
  --p5-dark: #273237;

  display: block;
  width: 100%;

  margin: 0;
  padding: 0;

  overflow: hidden;

  background: #f6f4ee;
  color: var(--p5-dark);

  font-family: "Montserrat", Arial, sans-serif;

  scroll-margin-top: 110px;
}

/* =====================================================
   MAIN CONTAINER
===================================================== */

.dis-te-process5__container {
  width: calc(100% - 64px);
  max-width: 1400px;

  margin: 0 auto;
  padding: 110px 0 28px;
}

/* =====================================================
   SECTION HEADING
===================================================== */

.dis-te-process5__heading {
  padding-bottom: 35px;
  margin-bottom: 50px;

  border-bottom: 1px solid rgba(39,50,55,.16);
}

.dis-te-process5__eyebrow {
  display: flex;
  align-items: center;

  gap: 15px;
  margin: 0 0 23px;

  color: #9f7538;

  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;

  letter-spacing: 1.5px;
}

.dis-te-process5__eyebrow span {
  flex: 0 0 52px;
  height: 2px;

  background: var(--p5-gold);
}

.dis-te-process5__heading-row {
  display: flex;

  align-items: flex-end;
  justify-content: space-between;

  gap: 35px;
}

.dis-te-process5 h2 {
  margin: 0;
  padding: 0;

  color: var(--p5-dark);

  font-family: "Oswald", sans-serif;
  font-size: clamp(47px,5vw,74px);
  font-weight: 600;
  line-height: 1.09;

  letter-spacing: -.4px;

  text-transform: none;
  text-align: left;
}

.dis-te-process5 h2 em {
  display: block;

  color: #a77937;

  font: inherit;
  font-style: normal;
}

.dis-te-process5__heading-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;

  gap: 10px;
  padding-bottom: 6px;
}

.dis-te-process5__heading-side strong {
  color: #b48a4d;

  font-family: "Oswald", sans-serif;
  font-size: 35px;
  font-weight: 500;
  line-height: 1;
}

.dis-te-process5__heading-side span {
  color: #657275;

  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;

  letter-spacing: .8px;
  text-align: right;
}

/* =====================================================
   MAIN TWO-COLUMN LAYOUT
===================================================== */

.dis-te-process5__layout {
  display: grid;

  grid-template-columns:
    minmax(0,1.1fr)
    minmax(0,.9fr);

  align-items: stretch;

  gap: clamp(45px,6.5vw,105px);
}

/* =====================================================
   TWO TREATMENT STEPS
===================================================== */

.dis-te-process5__steps {
  min-width: 0;
  border-top: 1px solid #d7d5ce;
}

.dis-te-process5__step {
  margin: 0;
  padding: 33px 0 38px;

  border-bottom: 1px solid #d7d5ce;
}

.dis-te-process5__step-heading {
  display: grid;

  grid-template-columns:
    90px minmax(0,1fr);

  gap: 18px;
  align-items: start;

  margin-bottom: 18px;
}

.dis-te-process5__number {
  color: #ac803f;

  font-family: "Oswald", sans-serif;
  font-size: 65px;
  font-weight: 500;
  line-height: 1;
}

.dis-te-process5__step-title {
  padding-top: 7px;
  min-width: 0;
}

.dis-te-process5__step-title > span {
  display: block;

  margin-bottom: 10px;

  color: #94723e;

  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;

  letter-spacing: 1.2px;
}

.dis-te-process5 h3 {
  margin: 0;
  padding: 0;

  color: #263136;

  font-family: "Oswald", sans-serif;
  font-size: clamp(30px,2.8vw,42px);
  font-weight: 500;
  line-height: 1.2;

  text-align: left;
  text-transform: none;
}

.dis-te-process5__step p {
  margin: 0;

  padding: 0 0 0 108px;

  color: #526064;

  font-family: "Montserrat", sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.85;

  text-align: left;
}

/* =====================================================
   UPDATED BUTTON — CLIENT FEEDBACK

   Old:
   15px text
   Diagonal arrow at right

   New:
   18px bold text
   NO arrow
   More generous padding
   Improved click/tap target
===================================================== */

.dis-te-process5__action {
  margin-top: 30px;
}

.dis-te-process5 .dis-te-process5__action a,
.dis-te-process5 .dis-te-process5__action a:visited {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-height: 68px;

  margin: 0;
  padding: 19px 29px;

  background: #263136;
  color: #ffffff;

  border: 1px solid #263136;
  border-radius: 0;

  font-family: "Montserrat", Arial, sans-serif;

  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;

  text-align: center;
  text-decoration: none;

  cursor: pointer;

  transition:
    background .2s ease,
    transform .2s ease;
}

.dis-te-process5 .dis-te-process5__action a:hover {
  background: #455155;
  border-color: #455155;

  color: #ffffff;

  transform: translateY(-2px);
}

.dis-te-process5 .dis-te-process5__action a:focus-visible {
  outline: 3px solid var(--p5-gold);
  outline-offset: 4px;
}

/* =====================================================
   ORIGINAL RIGHT PHOTO COMPOSITION
===================================================== */

.dis-te-process5__visual {
  position: relative;
  min-width: 0;

  padding: 21px 30px 66px 0;
}

.dis-te-process5__visual-background {
  position: absolute;

  inset: 0 0 30px 60px;

  background: #e4e2d9;
}

.dis-te-process5__figure {
  position: relative;
  z-index: 2;

  width: 100%;
  height: 575px;

  margin: 0;
  overflow: hidden;

  background: #434b4d;

  box-shadow:
    0 26px 55px rgba(36,46,50,.14);
}

.dis-te-process5__figure img {
  display: block;

  width: 100%;
  height: 100%;
  max-width: none;

  margin: 0;
  padding: 0;

  border: 0;

  object-fit: cover;
  object-position: center;

  transition: transform .6s ease;
}

.dis-te-process5__visual:hover img {
  transform: scale(1.035);
}

/* =====================================================
   PHOTO CAPTION
===================================================== */

.dis-te-process5__figure figcaption {
  position: absolute;

  inset: auto 0 0;

  display: flex;
  align-items: center;

  gap: 14px;

  padding: 34px 27px;

  background: linear-gradient(
    0deg,
    rgba(16,25,29,.9),
    transparent
  );

  color: #ffffff;

  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;

  letter-spacing: 1.1px;
}

.dis-te-process5__caption-line {
  flex: 0 0 40px;

  height: 2px;

  background: #e0b56b;
}

/* =====================================================
   PHOTO TAG
===================================================== */

.dis-te-process5__photo-tag {
  position: absolute;
  z-index: 3;

  right: 0;
  bottom: 14px;

  display: flex;
  flex-direction: column;

  gap: 10px;

  width: min(90%,345px);

  padding: 24px 27px;

  border-top: 3px solid var(--p5-gold);

  background: #263136;

  box-shadow:
    0 15px 40px rgba(24,30,32,.23);
}

.dis-te-process5__photo-tag span {
  color: #e1b46d;

  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;

  letter-spacing: .8px;
}

.dis-te-process5__photo-tag strong {
  color: #ffffff;

  font-family: "Oswald", sans-serif;
  font-size: 27px;
  font-weight: 500;
  line-height: 1.25;
}

.dis-te-process5__corner {
  position: absolute;
  z-index: 3;

  top: 5px;
  right: 10px;

  width: 75px;
  height: 75px;

  border-top: 2px solid var(--p5-gold);
  border-right: 2px solid var(--p5-gold);
}

/* =====================================================
   ORIGINAL FOOTER
===================================================== */

.dis-te-process5__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;

  flex-wrap: wrap;

  gap: 16px;

  margin-top: 55px;
  padding: 24px 0;

  border-top: 1px solid #d3d2ca;

  color: #737b7a;

  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;

  letter-spacing: .7px;
}

/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1050px) {

  .dis-te-process5__container {
    width: calc(100% - 44px);
    padding-top: 85px;
  }

  .dis-te-process5__layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .dis-te-process5__visual {
    max-width: 800px;
  }

  .dis-te-process5__figure {
    height: 460px;
  }
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 767px) {

  .dis-te-process5__container {
    width: calc(100% - 36px);
    padding: 70px 0 20px;
  }

  .dis-te-process5__heading {
    margin-bottom: 31px;
    padding-bottom: 26px;
  }

  .dis-te-process5__heading-side {
    display: none;
  }

  .dis-te-process5 h2 {
    font-size: 41px;
  }

  .dis-te-process5__eyebrow {
    font-size: 13px;
    letter-spacing: .7px;
  }

  .dis-te-process5__eyebrow span {
    flex-basis: 30px;
  }

  .dis-te-process5__step {
    padding: 25px 0 29px;
  }

  .dis-te-process5__step-heading {
    grid-template-columns:
      56px minmax(0,1fr);

    gap: 13px;

    margin-bottom: 16px;
  }

  .dis-te-process5__number {
    font-size: 46px;
  }

  .dis-te-process5__step-title > span {
    font-size: 13px;
  }

  .dis-te-process5 h3 {
    font-size: 31px;
  }

  .dis-te-process5__step p {
    padding-left: 0;

    font-size: 16px;
    line-height: 1.8;
  }

  /* BIG, READABLE MOBILE CTA */
  .dis-te-process5 .dis-te-process5__action a {
    width: 100%;

    min-height: 68px;
    padding: 19px 18px;

    font-size: 18px;
    font-weight: 700;

    text-align: center;
  }

  .dis-te-process5__visual {
    padding: 12px 14px 50px 0;
  }

  .dis-te-process5__visual-background {
    inset: 0 0 20px 30px;
  }

  .dis-te-process5__figure {
    height: 350px;
  }

  .dis-te-process5__photo-tag {
    padding: 19px 20px;
    bottom: 0;
  }

  .dis-te-process5__photo-tag strong {
    font-size: 23px;
  }

  .dis-te-process5__corner {
    width: 48px;
    height: 48px;
  }

  .dis-te-process5__footer {
    margin-top: 30px;
    font-size: 13px;
  }
}

/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 420px) {

  .dis-te-process5__container {
    width: calc(100% - 30px);
  }

  .dis-te-process5 h2 {
    font-size: 36px;
  }

  .dis-te-process5__figure {
    height: 300px;
  }

  /* Keep 18px CTA; allow a natural second line
     if necessary on very narrow devices. */
  .dis-te-process5 .dis-te-process5__action a {
    font-size: 18px;
    line-height: 1.5;
    white-space: normal;
  }
}

/* =====================================================
   ACCESSIBILITY
===================================================== */

@media (prefers-reduced-motion: reduce) {

  .dis-te-process5__figure img,
  .dis-te-process5__action a {
    transition: none;
  }
}
