/* =========================
   ROOT VARIABLES
========================= */
:root {
  --bg: #efe7df;
  --text: #241c18;
  --accent: #4a1106;
  --line: #000000;
  --white: #ffffff;
  --heading:
    "span-compressed", "Arial Narrow", "Helvetica Neue Condensed", sans-serif;
  --body: "Poppins", sans-serif;
}

/* =========================
   SERVICES PAGE
========================= */
.services-page h1,
.services-page h2,
.services-page h3 {
  font-style: italic;
}

/* =========================
   HERO
========================= */
.services-hero {
  display: grid;
  grid-template-columns: 22% 56% 22%;
  min-height: 520px;
}

.services-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-hero__image--left {
  border-right: 1px solid var(--line);
}

.services-hero__image--right {
  border-left: 1px solid var(--line);
}

.services-hero__content {
  padding: 3.5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.services-hero__line {
  width: 60px;
  height: 2px;
  background: var(--line);
  margin: 0 0 1.5rem;
}

.services-hero__content p {
  max-width: 420px;
}

/* =========================
   INTRO
========================= */
.services-intro {
  padding: 5rem 3rem;
  display: flex;
  justify-content: center;
  align-items: center; /* centers vertically */
  text-align: center;
  background: #4a1106;
  color: var(--bg);
}

.services-intro__inner {
  max-width: 680px;
  display: flex;
  flex-direction: column;
  align-items: center; /* centers the text block */
}
.services-intro__inner p {
  max-width: 550px;
}

/* =========================
   ACCORDION
========================= */
.services-accordion {
  border-bottom: 1px solid var(--line);
}

.accordion-item {
  border-top: 1px solid var(--line);
}

.accordion-trigger {
  width: 100%;
  padding: 40px 0;
  background: transparent;
  border: none;

  display: flex;
  justify-content: center; /* centers title */
  align-items: center;
  gap: 20px;

  font-family: var(--heading);
  font-size: 2.4rem;
  font-style: italic;

  cursor: pointer;
  color: var(--text);
  text-decoration: none;

  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.accordion-trigger span:first-child {
  font-family: var(--heading);
  font-size: 2.4rem;
  font-style: italic;
}

.accordion-icon {
  font-size: 3rem;
}

.accordion-content {
  display: none;
  padding-bottom: 30px;

  max-width: 550px;
  margin: auto; /* centers block */

  text-align: center; /* centers text */
}

.accordion-item.is-open .accordion-content {
  display: block;
}

.service-package__list {
  list-style-position: inside;
  padding: 0;
  margin: 20px auto;

  max-width: 320px;
  text-align: left; /* keeps bullet list readable */
}

/* =========================
   PROCESS
========================= */
.services-process {
  display: grid;
  grid-template-columns: 42% 58%;
  gap: 2rem;
  padding: 4rem 4rem 5rem;
}

.services-process__intro {
  max-width: 420px;
}

.services-process__image {
  margin-top: 2rem;
  max-width: 240px;
  border: 1px solid var(--line);
}

.services-process__steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
  align-content: start;
}

.process-step {
  max-width: 240px;
}

.process-number {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 980px) {
  .services-hero,
  .services-feature__top,
  .services-feature__bottom,
  .services-process,
  .services-contact {
    grid-template-columns: 1fr;
  }

  .services-hero__image--left,
  .services-hero__image--right {
    border: 0;
  }

  .services-hero__image img {
    max-height: 320px;
  }

  .services-hero__content {
    padding: 2.5rem 1.5rem;
  }

  .services-feature {
    padding: 3rem 1.5rem 4rem;
  }

  .services-feature__small-image,
  .services-feature__large-image {
    justify-self: start;
  }

  .services-process__image {
    display: none;
  }

  .services-process {
    padding: 4rem 1rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .services-process__intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 70%;
  }

  .services-process__steps {
    grid-template-columns: 1fr;
  }

  .services-contact {
    padding: 3rem 1.5rem;
  }
}

@media (max-width: 640px) {
  .services-intro,
  .services-contact {
    text-align: left;
  }

  .accordion-trigger span:first-child {
    font-size: 2rem;
  }

  .testimonial-band {
    font-size: 1.3rem;
  }

  .testimonial-card {
    margin: 3rem 1rem;
    padding: 2rem 1.25rem;
  }

  .testimonial-quote {
    font-size: 1.6rem;
  }
}
