
/* =========================================================
   CRAFTSBYHAMILTON
   SERVICES PAGE
   ========================================================= */


/* =========================================================
   SERVICES HERO
   ========================================================= */

.services-hero {

  position: relative;

  min-height: 85vh;

  display: flex;

  align-items: center;

  justify-content: center;

  text-align: center;

  background:
    url("/assets/images/services/graphic-hero.jpg")
    center / cover
    no-repeat;

  color: #fff;

  padding: 6rem 1rem 4rem;

}


/* DARK OVERLAY */

.services-hero__overlay {

  position: absolute;

  inset: 0;

  background: rgba(175, 171, 171, 0.6);

}


/* CONTENT */

.services-hero__content {

  position: relative;

  max-width: 950px;

  margin: 0 auto;

  z-index: 2;

}


/* EYEBROW */

.services-hero__eyebrow {

  font-size: 0.9rem;

  font-weight: 700;

  color: #ff0000;

  text-transform: uppercase;

  letter-spacing: 1px;

  margin-bottom: 0.6rem;

}


/* TITLE */

.services-hero__title {

  font-size: clamp(2.2rem, 5vw, 3.8rem);

  line-height: 1.1;

  margin: 0 0 1.2rem;

  color: #ffffff;

}


/* SUBTITLE */

.services-hero__subtitle {

  max-width: 780px;

  margin: 0 auto 1.2rem;

  font-size: 1.05rem;

  line-height: 1.7;

  color: #ffffff;

}


/* SUPPORT LINE */

.services-hero__support {

  font-size: 0.9rem;

  color: #ffffff;

  margin-bottom: 2rem;

  letter-spacing: 0.5px;

}


/* BUTTON WRAPPER */

.services-hero__buttons {

  display: flex;

  justify-content: center;

  gap: 1rem;

  flex-wrap: wrap;

}


/* BUTTON */

.services-btn {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 0.85rem 1.6rem;

  font-weight: 600;

  text-decoration: none;

  transition: all 0.3s ease;

}


/* PRIMARY BUTTON */

.services-btn--primary {

  background: #000000;

  border: 2px solid #000000;

  color: #ffffff;

}


.services-btn--primary:hover {

  color: #ff0000;

  transform: translateY(-2px);

}


/* =========================================================
   SERVICES SECTION
   ========================================================= */

.services {

  padding: 0;

  background: #ffffff;

}


.services__rows {

  width: 100%;

}


/* =========================================================
   SERVICE ROW
   ========================================================= */

.service-row {

  display: grid;

  grid-template-columns: 1fr 1fr;

  align-items: stretch;

  background: #ffffff;

}


.service-row:nth-child(even) {

  background: #ffffff;

}


/* =========================================================
   REVERSE ROW
   ========================================================= */

.service-row--reverse .service-row__content {

  order: 2;

}


.service-row--reverse .service-row__media {

  order: 1;

}


/* =========================================================
   CONTENT
   ========================================================= */

.service-row__content {

  display: flex;

  flex-direction: column;

  justify-content: center;

  padding: 4rem 4.5rem;

}


/* =========================================================
   NUMBER
   ========================================================= */

.service-row__number {

  margin: 0 0 0.8rem;

  font-size: 0.8rem;

  font-weight: 700;

  letter-spacing: 2px;

  color: #ff0000;

}


/* =========================================================
   TITLE
   ========================================================= */

.service-row__title {

  font-size: 2.1rem;

  line-height: 1.15;

  color: #000000;

  margin: 0 0 1rem;

  font-weight: 700;

}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.service-row__text {

  font-size: 1rem;

  line-height: 1.8;

  color: #000000;

  max-width: 560px;

  margin: 0 0 1.4rem;

}


/* =========================================================
   SERVICE DETAILS
   ========================================================= */

.service-row__text--details {

  font-size: 0.78rem;

  line-height: 1.7;

  text-transform: uppercase;

  letter-spacing: 0.5px;

  color: #555555;

  margin-bottom: 2rem;

}


/* =========================================================
   SERVICE BUTTON
   ========================================================= */

.service-row__btn {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  width: fit-content;

  padding: 0.85rem 1.7rem;

  border: 2px solid #000000;

  text-decoration: none;

  color: #ffffff;

  background: #000000;

  font-weight: 700;

  font-size: 0.88rem;

  text-transform: uppercase;

  letter-spacing: 0.4px;

  transition: all 0.3s ease;

}


.service-row__btn:hover {

  color: #ff0000;

  transform: translateY(-2px);

}


/* =========================================================
   MEDIA
   ========================================================= */

.service-row__media {

  min-height: 100%;

  overflow: hidden;

}


.service-row__image {

  width: 100%;

  height: 100%;

  min-height: 420px;

  object-fit: cover;

  display: block;

  transition: transform 0.6s ease;

}


/* IMAGE HOVER */

.service-row:hover .service-row__image {

  transform: scale(1.025);

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 900px) {

  .services-hero {

    min-height: 75vh;

    padding: 5rem 1.25rem 3rem;

  }


  .services-hero__title {

    font-size: clamp(2rem, 8vw, 3rem);

  }


  .services-hero__subtitle {

    font-size: 1rem;

  }


  .service-row {

    grid-template-columns: 1fr;

  }


  .service-row--reverse .service-row__content {

    order: 1;

  }


  .service-row--reverse .service-row__media {

    order: 2;

  }


  .service-row__content {

    padding: 3.5rem 2rem;

  }


  .service-row__media {

    min-height: 350px;

  }


  .service-row__image {

    min-height: 350px;

  }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 600px) {

  .services-hero {

    min-height: 72vh;

    padding: 5rem 1rem 3rem;

  }


  .services-hero__eyebrow {

    font-size: 0.78rem;

  }


  .services-hero__title {

    font-size: 2rem;

    line-height: 1.12;

  }


  .services-hero__subtitle {

    font-size: 0.95rem;

    line-height: 1.65;

  }


  .services-hero__support {

    font-size: 0.75rem;

    line-height: 1.7;

  }


  .services-hero__buttons {

    width: 100%;

  }


  .services-btn {

    width: auto;

    min-width: 150px;

  }


  .service-row__content {

    padding: 3rem 1.5rem;

  }


  .service-row__number {

    font-size: 0.75rem;

  }


  .service-row__title {

    font-size: 1.8rem;

  }


  .service-row__text {

    font-size: 0.95rem;

    line-height: 1.75;

  }


  .service-row__text--details {

    font-size: 0.7rem;

  }


  .service-row__image {

    min-height: 300px;

  }

}
/* =========================================================
   CLIENT EXPERIENCE
========================================================= */

.client-experience {
  position: relative;
  width: 100%;
  padding: 120px 6vw 110px;
  background: #f5f5f3;
  color: #111111;
  overflow: hidden;
}

.client-experience * {
  box-sizing: border-box;
}


/* =========================================================
   INTRO
========================================================= */

.client-experience__intro {
  width: 100%;
  max-width: 1450px;
  margin: 0 auto 65px;
}

.client-experience__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: #ff0000;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.client-experience__eyebrow::before {
  content: "";
  width: 35px;
  height: 2px;
  background: #ff0000;
}

.client-experience__title {
  max-width: 900px;
  margin: 0 0 25px;
  color: #111111;
  font-size: clamp(3.5rem, 7vw, 7.5rem);
  line-height: 0.88;
  font-weight: 800;
  letter-spacing: -4px;
  text-wrap: balance;
}

.client-experience__description {
  max-width: 650px;
  margin: 0;
  color: #666666;
  font-size: 1rem;
  line-height: 1.8;
}


/* =========================================================
   SLIDER
========================================================= */

.client-experience__slider {
  width: 100%;
  max-width: 1450px;
  margin: 0 auto;
}

.client-experience__viewport {
  width: 100%;
  overflow: hidden;
}


/* =========================================================
   GRID / TRACK
========================================================= */

.client-experience__grid {
  display: flex;
  gap: 24px;
  width: 100%;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}


/* =========================================================
   CARD
========================================================= */

.client-experience__card {
  position: relative;
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 45px;
  background: #ffffff;
  border: 1px solid #dddddd;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease;
}

.client-experience__card:hover {
  border-color: #111111;
  transform: translateY(-5px);
}


/* =========================================================
   QUOTE MARK
========================================================= */

.client-experience__quote-mark {
  color: #ff0000;
  font-family: Georgia, serif;
  font-size: 5rem;
  font-weight: 700;
  line-height: 0.5;
  height: 35px;
}


/* =========================================================
   TESTIMONIAL
========================================================= */

.client-experience__testimonial {
  margin: 30px 0 45px;
  color: #222222;
  font-size: 1rem;
  line-height: 1.85;
}


/* =========================================================
   CLIENT INFORMATION
========================================================= */

.client-experience__info {
  padding-top: 22px;
  border-top: 1px solid #dddddd;
}

.client-experience__info h4 {
  margin: 0 0 7px;
  color: #111111;
  font-size: 0.9rem;
  font-weight: 800;
}

.client-experience__info span {
  display: block;
  color: #777777;
  font-size: 0.72rem;
  line-height: 1.6;
}


/* =========================================================
   CONTROLS
========================================================= */

.client-experience__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1450px;
  margin: 45px auto 0;
}


/* =========================================================
   ARROWS
========================================================= */

.client-experience__arrow {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid #111111;
  border-radius: 50%;
  background: #111111;
  color: #ffffff;
  font-size: 1rem;
  cursor: pointer;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.client-experience__arrow:hover {
  background: #ff0000;
  border-color: #ff0000;
  transform: scale(1.05);
}

.client-experience__arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}


/* =========================================================
   COUNTER
========================================================= */

.client-experience__counter {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #111111;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 2px;
}

.client-experience__current {
  color: #ff0000;
}

.client-experience__counter-line {
  width: 70px;
  height: 1px;
  background: #aaaaaa;
}

.client-experience__total {
  color: #777777;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

  .client-experience {
    padding: 100px 5vw 90px;
  }

  .client-experience__card {
    flex: 0 0 calc((100% - 24px) / 2);
    min-height: 410px;
    padding: 38px;
  }

  .client-experience__title {
    font-size: clamp(3.2rem, 8vw, 6rem);
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

  .client-experience {
    padding: 75px 20px 70px;
  }


  /* INTRO */

  .client-experience__intro {
    margin-bottom: 45px;
  }

  .client-experience__eyebrow {
    font-size: 0.62rem;
    letter-spacing: 1.7px;
  }

  .client-experience__eyebrow::before {
    width: 25px;
  }

  .client-experience__title {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
    font-size: clamp(2.7rem, 13vw, 4rem);
    line-height: 0.94;
    letter-spacing: -2.5px;
  }

  .client-experience__description {
    width: 100%;
    font-size: 0.9rem;
    line-height: 1.75;
  }


  /* SLIDER */

  .client-experience__grid {
    gap: 15px;
  }

  .client-experience__card {
    flex: 0 0 100%;
    min-height: 420px;
    padding: 32px 25px;
  }


  /* QUOTE */

  .client-experience__quote-mark {
    font-size: 4.5rem;
  }

  .client-experience__testimonial {
    margin: 25px 0 35px;
    font-size: 0.93rem;
    line-height: 1.8;
  }


  /* INFO */

  .client-experience__info {
    padding-top: 18px;
  }

  .client-experience__info h4 {
    font-size: 0.82rem;
  }

  .client-experience__info span {
    font-size: 0.68rem;
  }


  /* CONTROLS */

  .client-experience__controls {
    margin-top: 30px;
  }

  .client-experience__arrow {
    width: 48px;
    height: 48px;
  }

  .client-experience__counter {
    gap: 10px;
    font-size: 0.62rem;
  }

  .client-experience__counter-line {
    width: 40px;
  }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 420px) {

  .client-experience {
    padding: 65px 16px 60px;
  }

  .client-experience__title {
    font-size: clamp(2.45rem, 13.5vw, 3.5rem);
    letter-spacing: -2px;
  }

  .client-experience__card {
    min-height: 410px;
    padding: 28px 21px;
  }

  .client-experience__testimonial {
    font-size: 0.88rem;
    line-height: 1.75;
  }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

  .client-experience__grid,
  .client-experience__card,
  .client-experience__arrow {
    transition: none;
  }

}
/* ================= CLIENT SHOWCASE ================= */

.cx-showcase {
  width: 100%;
  overflow: hidden;
}

/* TOP SECTION */
.cx-showcase__top {
  background: #000;
  color: #fff;
  position: relative;
  padding: 3rem 1rem 4rem;
}

.cx-showcase__top-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.cx-showcase__headline {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.05;
  font-weight: 700;
  max-width: 500px;
  color: #fff;
  position: relative;
  margin: 0;
}

.cx-showcase__headline::after {
  content: "";
  display: block;
  width: 160px;
  height: 4px;
  background: #ff0000;
  margin-top: 0.6rem;
  transform: rotate(-6deg);
}

.cx-showcase__small-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: #fff;
}

.cx-showcase__small-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #ffffff;
  margin-bottom: 1.5rem;
  max-width: 420px;
}

.cx-showcase__top-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  background: #ff0000;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.4px;
  border: 2px solid #000000;
  transition: all 0.3s ease;
}

.cx-showcase__top-btn:hover {
  color: #000;
  transform: translateY(-2px);
}

/* ANGLED DIVIDER */
.cx-showcase__divider {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 50px;
  background: #ff0000;
  clip-path: polygon(0 35%, 50% 0, 100% 35%, 100% 100%, 0 100%);
}

/* BOTTOM TESTIMONIAL SECTION */
.cx-showcase__bottom {
  background: #ff0000;
  color: #fff;
  padding: 5rem 1rem 6rem;
}

.cx-showcase__bottom-inner {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.cx-showcase__title {
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 700;
  margin-bottom: 2.5rem;
  color: #fff;
}

.cx-showcase__testimonial-wrap {
  display: grid;
  grid-template-columns: 80px 1fr 80px;
  align-items: center;
  gap: 1rem;
}

.cx-showcase__testimonial {
  max-width: 980px;
  margin: 0 auto;
}

.cx-showcase__quote {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #fff;
  margin-bottom: 1.8rem;
}

.cx-showcase__author {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2rem;
}

.cx-showcase__author span {
  font-weight: 400;
  opacity: 0.9;
}

.cx-showcase__bottom-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2rem;
  background: #000000;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  transition: all 0.3s ease;
  border: 2px solid #000000;
}

.cx-showcase__bottom-btn:hover {
  color: #ff0000;
  transform: translateY(-2px);
}

/* ARROWS */
.cx-showcase__arrow {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: none;
  background: rgb(0, 0, 0);
  color: #ff0000;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  justify-self: center;
}

.cx-showcase__arrow:hover {
  color: #fff;
  transform: scale(1.05);
}
