/* Hair extensions page: builds on style.css and treatments.css */
.ext-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 6%;
}
.ext-alt {
  max-width: none;
  background: #f5e6d3;
}
.ext-alt > * {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.ext-heading {
  text-align: center;
  font-size: clamp(32px, 3.4vw, 46px);
  margin: 0 0 36px;
}

/* the two methods side by side */
.ext-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.ext-method h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 32px;
  font-weight: 500;
  text-align: center;
  margin: 0 0 14px;
}
.ext-method p {
  font-size: 15px;
  line-height: 1.8;
  margin: 0 0 18px;
}
.ext-method .tx-sub {
  margin-top: 18px;
}
.ext-note {
  margin: 30px 0 0;
  padding: 20px 28px;
  background: #f5e6d3;
  border-radius: 8px;
  text-align: center;
  font-size: 15px;
  line-height: 1.9;
}

/* four steps */
.ext-steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 0;
}
.ext-steps li {
  counter-increment: step;
  text-align: center;
}
.ext-steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font:
    500 18px/1 Montserrat,
    sans-serif;
}
.ext-steps h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 26px;
  font-weight: 500;
  margin: 0 0 8px;
}
.ext-steps p {
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}

/* questions */
.ext-faq {
  max-width: 800px;
  margin: 0 auto;
}
.ext-faq details {
  background: #fffaf5;
  border: 1px solid #dfc5a5;
  border-radius: 8px;
  margin-bottom: 12px;
  padding: 0 24px;
}
.ext-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 28px 18px 0;
  position: relative;
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 500;
}
.ext-faq summary::-webkit-details-marker {
  display: none;
}
.ext-faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font:
    400 24px/1 Montserrat,
    sans-serif;
}
.ext-faq details[open] summary::after {
  content: "\2212";
}
.ext-faq details > p,
.ext-faq details > ul {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.8;
}
.ext-faq details > ul {
  padding-left: 20px;
}

@media (max-width: 860px) {
  .ext-methods {
    grid-template-columns: 1fr;
  }
  .ext-steps {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .ext-section {
    padding: 44px 6%;
  }
  .ext-steps {
    grid-template-columns: 1fr;
  }
  .ext-note {
    padding: 18px 20px;
  }
  .ext-faq details {
    padding: 0 18px;
  }
  .ext-faq summary {
    font-size: 20px;
  }
}
