/* Services page layout, derived from the supplied responsive reference captures. */

.page-services {
  color: #000;
  background: #fff;
}

.services-intro {
  position: relative;
  isolation: isolate;
  z-index: 1;
  padding: 10vmax 0 calc(10vmax + 6vw);
}

.services-intro-background {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: #fff;
  clip-path: url("#services-intro-divider-clip");
}

.services-divider-display,
.services-divider-stroke-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.services-divider-block {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 6vw;
  visibility: hidden;
}

.services-divider-clip-svg {
  position: absolute;
  width: 0;
  height: 0;
}

.services-divider-stroke-svg {
  overflow: visible;
}

.services-divider-stroke-svg path {
  fill: transparent;
  stroke: var(--color-navy, #253551);
  stroke-width: 6px;
  stroke-dasharray: 0;
  stroke-linecap: square;
}

.services-kicker {
  width: min(100%, 1630px);
  margin: 0 auto;
  padding: 0 3vw 70px;
  font-size: clamp(31.12px, calc(4.4434vw + 16.901px), 34.2304px);
  font-weight: 500;
  line-height: 1.8;
  text-align: center;
}

.services-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 100px;
  width: min(94vw, 1400px);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.services-item figure {
  position: relative;
  height: 0;
  padding-bottom: calc(75% + 1px);
  margin: 0 0 6%;
  overflow: hidden;
}

.services-item img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.services-item h2 {
  margin: 0 0 6%;
  font-size: 18.0256px;
  font-weight: 500;
  line-height: 23.4189px;
  text-align: right;
}

.services-item-copy p {
  margin: 0;
  font-size: 14.9872px;
  font-weight: 300;
  line-height: 1.8;
  text-align: right;
}

.services-intro .cta-wrap {
  margin: 70px 0 0;
  text-align: center;
}

.services-quotes {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  grid-template-rows: repeat(22, minmax(24px, auto));
  gap: 11px;
  width: 88vw;
  margin: 0 auto;
  padding: 6.6vw 0;
}

.services-quotes::before {
  position: absolute;
  z-index: -1;
  top: -6vw;
  bottom: 0;
  left: 50%;
  width: 100vw;
  background: #fff;
  content: "";
  transform: translateX(-50%);
}

.quote-copy {
  z-index: 1;
  align-self: start;
  font-size: 14.9872px;
  font-weight: 300;
  line-height: 1.8;
}

.quote-copy blockquote,
.quote-copy p {
  margin: 0;
}

.quote-name {
  padding-top: 1em;
  font-weight: 500;
}

.quote-image {
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  margin: 0;
}

.quote-image img {
  display: block;
  flex: 0 0 auto;
  width: 121.83px;
  height: 121.83px;
  max-width: none;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}

.quote-copy-akos { grid-area: 1 / 1 / 6 / 8; }
.quote-image-akos { grid-area: 3 / 6 / 7 / 9; }
.quote-copy-dorka { grid-area: 10 / 2 / 15 / 9; }
.quote-image-dorka { grid-area: 7 / 1 / 11 / 4; }
.quote-copy-eszter { grid-area: 16 / 1 / 21 / 8; }
.quote-image-eszter { grid-area: 19 / 4 / 23 / 8; }

.quote-image-eszter img {
  width: 129px;
  height: 129px;
}

.services-faqs {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  column-gap: 11px;
  width: 88vw;
  margin: 0 auto;
  padding: 6.6vw 0 12vw;
}

.services-faqs h2 {
  grid-column: 1 / 9;
  margin: 0;
  font-size: 34.2304px;
  font-weight: 500;
  line-height: 44.4721px;
}

.faq-list {
  grid-column: 1 / 9;
  margin: 25.5279px 0 0;
  padding: 0;
  list-style: none;
}

.faq-item {
  position: relative;
}

.faq-item::before,
.faq-item:last-child::after {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(0, 0, 0, .5);
  content: "";
}

.faq-item::before { top: 0; }
.faq-item:last-child::after { bottom: 0; }

.faq-title-wrap {
  margin: 0;
}

.faq-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 30px 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.faq-title {
  padding-right: 24px;
  font-family: var(--font-body);
  font-size: 22.0768px;
  font-weight: 500;
  line-height: normal;
}

.faq-icon {
  position: relative;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  font-size: 0;
}

.faq-plus,
.faq-minus {
  position: absolute;
  inset: 0;
  display: block;
}

.faq-plus::before,
.faq-plus::after,
.faq-minus::before {
  position: absolute;
  top: 50%;
  left: 50%;
  background: #000;
  content: "";
  transform: translate(-50%, -50%);
}

.faq-plus::before,
.faq-minus::before {
  width: 24px;
  height: 1px;
}

.faq-plus::after {
  width: 1px;
  height: 24px;
}

.faq-toggle[aria-expanded="false"] .faq-minus,
.faq-toggle[aria-expanded="true"] .faq-plus {
  display: none;
}

.faq-panel {
  width: max(85%, 300px);
  max-width: 100%;
  margin: 0 0 16px auto;
  padding: 0 0 15px;
}

.faq-panel p {
  margin: 0;
  font-size: 14.9872px;
  font-weight: 300;
  line-height: 1.8;
}

@media screen and (min-width: 576px) {
  .services-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (min-width: 768px) {
  .services-kicker {
    font-size: clamp(32.5888px, calc(2.16vw + 16px), 46.24px);
  }

  .services-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .services-item h2 {
    font-size: clamp(17.8432px, calc(.24vw + 16px), 19.36px);
    line-height: 1.2992;
  }

  .services-item-copy p,
  .quote-copy,
  .faq-panel p {
    font-size: 14.272px;
  }

  .services-quotes {
    grid-template-columns: repeat(24, minmax(0, 1fr));
    grid-template-rows: repeat(20, minmax(29px, auto));
    width: min(94vw, 1400px);
  }

  .quote-copy-akos { grid-area: 4 / 16 / 9 / 24; }
  .quote-image-akos { grid-area: 1 / 13 / 16 / 16; }
  .quote-copy-dorka { grid-area: 6 / 2 / 12 / 10; }
  .quote-image-dorka { grid-area: 2 / 2 / 6 / 5; }
  .quote-copy-eszter { grid-area: 13 / 13 / 21 / 21; }
  .quote-image-eszter { grid-area: 14 / 9 / 18 / 12; }

  .quote-image-akos img {
    width: clamp(159.58px, calc(156.124px + .24vw), 165.344px);
    height: clamp(159.58px, calc(156.124px + .24vw), 165.344px);
  }

  .quote-image-dorka img,
  .quote-image-eszter img {
    width: clamp(149px, calc(146.6px + .1667vw), 153px);
    height: clamp(149px, calc(146.6px + .1667vw), 153px);
  }

  .services-faqs {
    grid-template-columns: repeat(24, minmax(0, 1fr));
    width: min(94vw, 1400px);
  }

  .services-faqs h2 {
    grid-column: 3 / 10;
    font-size: clamp(32.5888px, calc(2.16vw + 16px), 46.24px);
    line-height: 1.2992;
  }

  .faq-list {
    grid-column: 10 / 24;
    margin-top: 0;
  }

  .faq-title {
    font-size: 26.08px;
  }
}

@media screen and (min-width: 1441px) {
  .services-item-copy p,
  .quote-copy,
  .faq-panel p {
    font-size: clamp(11.392px, calc(16px - .12vw), 14.272px);
  }
}
