/* ========================================
   SERVICES PAGE
======================================== */

.services-page {
  width: 100%;
  background: #FBFAF7;
}

/* ========================================
   HERO
======================================== */

.services-hero {
  padding-top: 128px;
  padding-bottom: 0;

  background: #FBFAF7;
}

.services-hero__inner {
  width: 100%;
  max-width: 1512px;

  margin: 0 auto;

  padding-left: 49px;
  padding-right: 49px;

  box-sizing: border-box;
}

/* EYEBROW */

.services-hero__eyebrow {
  display: block;

  margin-bottom: 26px;

  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 1;

  letter-spacing: 0.08em;
  text-transform: uppercase;

  color: #6F6760;
}

/* TITLE */

.services-hero__title {
  width: 100%;
  max-width: 1413px;

  margin: 0;

  font-family: 'P22 Mackinac Pro', serif;
  font-size: 58px;
  font-weight: 350;
  line-height: 1.06;
  letter-spacing: -0.03em;

  color: #231C18;
}

.services-hero__title em {
  font-style: italic;
  font-weight: 350;
}

/* ========================================
   CARDS
======================================== */

.services-cards {
  margin-top: 140px;
}

.services-cards__inner {
  width: 100%;
  max-width: 1512px;

  margin: 0 auto;

  padding-left: 49px;
  padding-right: 49px;

  box-sizing: border-box;
}

.home-services__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 22px;
}

/* CARD */

.service-card {
  position: relative;

  height: 210px;

  padding: 18px 18px 20px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  overflow: hidden;

  text-decoration: none;
}

/* BACKGROUNDS */

.service-card--one {
  background: #E4E4E4;
}

.service-card--two {
  background: #CFC8BC;
}

.service-card--three {
  background: #F2F1EC;
}

/* SHAPES */

.service-card::before {
  content: "";

  position: absolute;
  inset: 0;

  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;

  opacity: 0.95;

  pointer-events: none;
}

.service-card--one::before {
  background-image: url('../img/home/img-services.png');
}

.service-card--two::before {
  background-image: url('../img/services/img-services-1.png');
}

.service-card--three::before {
  background-image: url('../img/services/img-services-2.png');
}

/* CONTENT */

.service-card h3 {
  position: relative;
  z-index: 2;

  margin: 0;

  max-width: 358px;

  font-family: 'P22 Mackinac Pro', serif;
  font-size: 24px;
  font-weight: 350;
  line-height: 1.08;

  color: #231C18;
}

/* LINK */

.link-arrow {
  position: relative;
  z-index: 2;

  display: inline-flex;
  align-items: center;
  gap: 12px;

  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;

  color: #231C18;
}

.link-arrow .arrow {
  font-size: 16px;
  line-height: 1;

  transition: transform 0.3s ease;
}

.service-card:hover .arrow {
  transform: translateX(4px);
}

/* ========================================
   DETAILS
======================================== */

.services-details {
  margin-top: 20px;
  padding-bottom: 120px;
}

.services-details__inner {
  width: 100%;
  max-width: 1512px;

  margin: 0 auto;

  padding-left: 49px;
  padding-right: 49px;

  box-sizing: border-box;
}

/* BLOCK */

.services-detail {
  width: 100%;

  padding: 44px;

  display: grid;
  grid-template-columns: 581px 645px;
  justify-content: space-between;

  box-sizing: border-box;
}

.services-detail + .services-detail {
  margin-top: 18px;
}

/* COLORS */

.services-detail--one {
  background: #E4E4E4;
}

.services-detail--two {
  background: #CCC8BC;
}

.services-detail--three {
  background: #F2F1EC;
}

/* LEFT */

.services-detail__left h2 {
  margin: 0;

  font-family: 'P22 Mackinac Pro', serif;
  font-size: 50px;
  line-height: 56px;
  font-weight: 350;

  color: #3B1200;
}

.services-detail__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  margin-top: 28px;

  text-decoration: none;

  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;

  color: #231C18;
}

/* RIGHT */

.services-detail__right {
  display: flex;
  flex-direction: column;
}

.services-detail__right p {
  margin: 0 0 18px;

  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  line-height: 24px;
  font-weight: 400;

  color: #231C18;
}

/* BOTTOM */

.services-detail__bottom {
  margin-top: 28px;
  padding-top: 14px;

  border-top: 1px solid rgba(35, 28, 24, 0.18);

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.services-detail__bottom span {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;

  color: #231C18;
}

.services-detail__bottom button {
  border: none;
  background: transparent;

  cursor: pointer;

  font-size: 24px;
  line-height: 1;

  color: #8F8A82;
}

/* ========================================
   BIG IMAGE
======================================== */

.services-big-image {
  position: relative;
  width: 100%;
  background: #FBFAF7;
}

.services-big-image__inner {
  position: relative;
  width: 100%;
}

/* IMAGE */

.services-big-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* DARK OVERLAY OVER ENTIRE IMAGE */

.services-big-image__dark-overlay {
  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, 0.32);

  z-index: 1;
}

/* CONTENT */

.services-big-image__overlay {
  position: absolute;

  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);

  width: 920px;

  display: flex;
  flex-direction: column;
  align-items: center;

  z-index: 2;
}

/* TITLE */

.services-big-image__overlay h2 {
  margin: 0 0 26px;

  text-align: center;

  font-family: 'P22 Mackinac Pro', serif;
  font-size: 58px;
  line-height: 1.06;
  font-weight: 350;

  color: #FFFFFF;
}

/* BUTTON */

.services-big-image__overlay a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 92px;
  height: 26px;

  background: #FFFFFF;

  text-decoration: none;

  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;

  color: #231C18;
}

/* =========================
   TESTIMONIALS
========================= */

.home-testimonials {
  width: 100%;
  background: #ffffff;
}

.home-testimonials__inner {
  width: 100%;
  max-width: 1512px;
  margin: 0 auto;

  padding: 72px 54px 78px;
}

.home-testimonials__header span {
  display: block;
  margin-bottom: 4px;

  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 21px;
  text-transform: uppercase;

  color: #8C8C8C;
}

.home-testimonials__header h2 {
  margin: 0;

  font-family: var(--font-serif);
  font-size: 35px;
  font-weight: 350;
  line-height: 40px;

  color: #3B1200;
}

.home-testimonials__arrows {
  margin-top: 18px;

  display: flex;
  align-items: center;
  gap: 20px;
}

.home-testimonials__arrows button {
  padding: 0;
  border: 0;
  background: transparent;

  font-family: var(--font-sans);
  font-size: 22px;
  line-height: 1;
  font-weight: 300;

  color: #3B1200;
  cursor: pointer;
}

.home-testimonials__grid {
  margin-top: 44px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 92px;

  position: relative;
}

.home-testimonials__grid::before {
  content: "";
  position: absolute;

  top: 0;
  bottom: 0;
  left: 50%;

  width: 1px;
  background: #8C8C8C;
  opacity: .65;
}

.home-testimonial {
  max-width: 645px;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  min-height: 365px;
}

.home-testimonial p {
  margin: 0;

  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 350;
  line-height: 30px;

  color: #3B1200;
}

.home-testimonial div {
  margin-top: 30px;
}

.home-testimonial strong {
  display: block;

  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;

  color: #000000;
}

.home-testimonial em {
  display: block;

  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 300;
  line-height: 18px;
  font-style: italic;

  color: #737373;
}