/* =====================================================
   SERVICES HERO
===================================================== */

.services-hero {
  padding: 210px 0 100px;

  background: var(--bg);
}

.services-hero-content {
  max-width: 850px;
}

.services-hero h1 {
  max-width: 800px;

  font-family: var(--heading-font);

  font-size: clamp(75px, 10vw, 135px);

  font-weight: 400;

  line-height: 0.82;

  letter-spacing: -4px;
}

.services-hero h1 em {
  font-style: italic;
}

.services-hero-content > p:last-child {
  max-width: 510px;

  margin-top: 40px;

  color: var(--muted);

  font-size: 14px;

  line-height: 1.9;
}

.nav-links a.active {
  opacity: 1;
}

/* =====================================================
   SERVICE CATEGORY NAV
===================================================== */

.service-nav-section {
  border-top: 1px solid #ddd7d0;

  border-bottom: 1px solid #ddd7d0;
}

.service-category-nav {
  display: flex;

  align-items: center;

  justify-content: center;

  gap: 0;
}

.service-category-nav a {
  padding: 22px 38px;

  border-right: 1px solid #ddd7d0;

  color: var(--muted);

  text-transform: uppercase;

  letter-spacing: 1.5px;

  font-size: 9px;

  transition:
    color 0.3s ease,
    background 0.3s ease;
}

.service-category-nav a:first-child {
  border-left: 1px solid #ddd7d0;
}

.service-category-nav a:hover {
  background: var(--dark);

  color: white;
}

/* =====================================================
   SERVICE MENU
===================================================== */

.service-menu-section {
  padding: 125px 0;
}

.service-menu-beige {
  background: var(--beige);
}

.service-section-grid {
  display: grid;

  grid-template-columns: 0.75fr 1.25fr;

  gap: 110px;
}

.service-section-intro {
  position: sticky;

  top: 140px;

  align-self: start;
}

.service-index {
  display: block;

  margin-bottom: 35px;

  color: var(--accent);

  font-size: 10px;

  letter-spacing: 2px;
}

.service-section-intro h2 {
  max-width: 450px;

  font-family: var(--heading-font);

  font-size: clamp(55px, 6vw, 85px);

  font-weight: 400;

  line-height: 0.88;

  letter-spacing: -2px;
}

.service-section-intro h2 em {
  font-style: italic;
}

.service-section-intro > p:last-child {
  max-width: 390px;

  margin-top: 30px;

  color: var(--muted);

  font-size: 13px;

  line-height: 1.9;
}

/* =====================================================
   SERVICE ROW
===================================================== */

.service-list {
  border-top: 1px solid #cfc8c0;
}

.service-row {
  display: grid;

  grid-template-columns: 1fr auto;

  gap: 40px;

  padding: 32px 0;

  border-bottom: 1px solid #cfc8c0;
}

.service-row-main h3 {
  font-family: var(--heading-font);

  font-size: 34px;

  font-weight: 500;
}

.service-row-main p {
  max-width: 450px;

  margin-top: 7px;

  color: var(--muted);

  font-size: 12px;

  line-height: 1.7;
}

.service-row-meta {
  min-width: 150px;

  display: flex;

  flex-direction: column;

  align-items: flex-end;

  gap: 7px;
}

.service-row-meta span {
  color: var(--muted);

  font-size: 9px;

  text-transform: uppercase;

  letter-spacing: 1px;
}

.service-row-meta strong {
  font-size: 11px;

  font-weight: 500;
}

.service-row-meta a {
  display: inline-flex;

  align-items: center;

  gap: 9px;

  margin-top: 7px;

  padding-bottom: 3px;

  border-bottom: 1px solid var(--text);

  text-transform: uppercase;

  letter-spacing: 1px;

  font-size: 8px;
}

.service-row-meta a i {
  transition: transform 0.3s ease;
}

.service-row:hover .service-row-meta a i {
  transform: translateX(4px);
}

/* =====================================================
   BALAYAGE FEATURE
===================================================== */

.service-feature {
  display: grid;

  grid-template-columns: 1fr 1fr;

  min-height: 720px;
}

.service-feature-image {
  min-height: 650px;
}

.service-feature-image img {
  width: 100%;

  height: 100%;

  object-fit: cover;
}

.service-feature-content {
  display: flex;

  flex-direction: column;

  justify-content: center;

  padding: 80px clamp(45px, 8vw, 130px);

  background: #ded5cb;
}

.service-feature-content h2 {
  font-family: var(--heading-font);

  font-size: clamp(60px, 7vw, 100px);

  font-weight: 400;

  line-height: 0.86;

  letter-spacing: -2px;
}

.service-feature-content h2 em {
  display: block;

  font-style: italic;
}

.service-feature-content > p:not(.eyebrow) {
  max-width: 430px;

  margin-top: 30px;

  color: var(--muted);

  font-size: 13px;

  line-height: 1.9;
}

.feature-details {
  display: flex;

  gap: 60px;

  margin-top: 35px;
}

.feature-details div {
  display: flex;

  flex-direction: column;

  gap: 6px;
}

.feature-details span {
  color: var(--muted);

  text-transform: uppercase;

  letter-spacing: 1.5px;

  font-size: 8px;
}

.feature-details strong {
  font-size: 11px;

  font-weight: 500;
}

.btn-dark {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 18px;

  width: fit-content;

  min-height: 52px;

  margin-top: 40px;

  padding: 0 28px;

  background: var(--dark);

  color: white;

  text-transform: uppercase;

  letter-spacing: 1.3px;

  font-size: 9px;

  transition: 0.3s ease;
}

.btn-dark:hover {
  background: var(--accent);
}

/* =====================================================
   BOOKING NOTE
===================================================== */

.booking-note {
  padding: 110px 0;

  background: #f0ebe5;
}

.booking-note-inner {
  display: grid;

  grid-template-columns: 1fr 0.75fr auto;

  gap: 70px;

  align-items: center;
}

.booking-note h2 {
  font-family: var(--heading-font);

  font-size: clamp(50px, 5vw, 75px);

  font-weight: 400;

  line-height: 0.9;
}

.booking-note h2 em {
  font-style: italic;
}

.booking-note-inner > p {
  color: var(--muted);

  font-size: 13px;

  line-height: 1.9;
}

.booking-note .text-link {
  margin-top: 0;

  white-space: nowrap;
}

/* =====================================================
   FINAL CTA
===================================================== */

.services-final-cta {
  padding: 145px 0;

  background: var(--dark);

  color: white;

  text-align: center;
}

.services-final-content {
  display: flex;

  flex-direction: column;

  align-items: center;
}

.services-final-content h2 {
  font-family: var(--heading-font);

  font-size: clamp(65px, 9vw, 120px);

  font-weight: 400;

  line-height: 0.8;

  letter-spacing: -3px;
}

.services-final-content h2 em {
  font-style: italic;
}

.services-final-content .btn-primary {
  margin-top: 45px;
}
/* =====================================================
   SERVICES MOBILE
===================================================== */

@media (max-width: 900px) {
  .services-hero {
    padding: 170px 0 80px;
  }

  .services-hero h1 {
    font-size: clamp(65px, 15vw, 100px);

    letter-spacing: -3px;
  }

  .service-category-nav {
    overflow-x: auto;

    justify-content: flex-start;
  }

  .service-category-nav a {
    flex-shrink: 0;

    padding: 19px 23px;
  }

  .service-menu-section {
    padding: 85px 0;
  }

  .service-section-grid {
    grid-template-columns: 1fr;

    gap: 55px;
  }

  .service-section-intro {
    position: static;
  }

  .service-section-intro h2 {
    font-size: 65px;
  }

  .service-row {
    grid-template-columns: 1fr;

    gap: 20px;
  }

  .service-row-meta {
    min-width: 0;

    align-items: flex-start;

    display: grid;

    grid-template-columns: 1fr 1fr;
  }

  .service-row-meta a {
    grid-column: 1 / -1;

    width: fit-content;
  }

  .service-feature {
    grid-template-columns: 1fr;
  }

  .service-feature-image {
    min-height: 500px;
  }

  .service-feature-content {
    padding: 80px 30px;
  }

  .booking-note-inner {
    grid-template-columns: 1fr;

    gap: 30px;
  }

  .booking-note .text-link {
    width: fit-content;
  }

  .services-final-cta {
    padding: 110px 0;
  }
}

/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 600px) {
  .services-hero {
    padding: 145px 0 70px;
  }

  .services-hero h1 {
    font-size: 63px;

    letter-spacing: -2px;
  }

  .services-hero-content > p:last-child {
    margin-top: 30px;
  }

  .service-section-intro h2 {
    font-size: 58px;
  }

  .service-row-main h3 {
    font-size: 30px;
  }

  .service-feature-image {
    min-height: 420px;
  }

  .service-feature-content h2 {
    font-size: 65px;
  }

  .feature-details {
    gap: 35px;
  }

  .booking-note {
    padding: 80px 0;
  }

  .booking-note h2 {
    font-size: 57px;
  }

  .services-final-content h2 {
    font-size: 70px;
  }
}
