/* Accordion component from freedomdgtl.com, captured 2026-11-10; layout adaptations in freedom-theme.css. */

.fd-services,
.fd-services * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.fd-services {
  position: relative;
  width: 100%;
  background: #000000;
  overflow: hidden;
}



.fd-services__header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 130px;
  padding: 40px 40px 30px;
  background: #ffa4cd;
  text-align: center;
}

.fd-services__header h2 {
  margin: 0;
  font-family: "Nata Sans", sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 1;
  color: #000000;
  text-transform: uppercase;
}



.fd-services__list {
  position: relative;
  z-index: 2;
}

.fd-acc-item {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.85);
  background: #000000;
}

.fd-acc-item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.85);
}



.fd-acc-header {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 71px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px 60px;
  background: transparent;
  border: 0;
  appearance: none;
  cursor: pointer;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
}

.fd-acc-header:focus {
  outline: none;
}

.fd-acc-header:focus-visible {
  outline: 1px solid #ffa4cd;
  outline-offset: -4px;
}



.fd-acc-title {
  display: inline-block;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 25px;
  line-height: 1;
  color: #ffffff;
  transition:
    opacity 0.25s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.fd-acc-header:hover .fd-acc-title {
  opacity: 0.72;
}

.fd-acc-item.is-open .fd-acc-title {
  transform: translateY(-2px);
}



.fd-acc-icon {
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transform-origin: center;
  transition: transform 0.5s cubic-bezier(0.34, 1.25, 0.64, 1);
}

.fd-acc-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.fd-acc-header:hover .fd-acc-icon {
  transform: rotate(-6deg);
}

.fd-acc-item.is-open .fd-acc-icon {
  transform: rotate(45deg);
}



.fd-acc-body-wrap {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  visibility: hidden;
  transition:
    grid-template-rows 0.52s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.3s ease,
    visibility 0s linear 0.52s;
}

.fd-acc-item.is-open .fd-acc-body-wrap {
  grid-template-rows: 1fr;
  opacity: 1;
  visibility: visible;
  transition:
    grid-template-rows 0.52s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.3s ease,
    visibility 0s linear 0s;
}

.fd-acc-body {
  min-height: 0;
  overflow: hidden;
}

.fd-acc-body p {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 60px 26px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
  color: rgba(255, 255, 255, 0.75);
  opacity: 0;
  transform: translateY(-10px);
  transition:
    opacity 0.3s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.fd-acc-item.is-open .fd-acc-body p {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.08s;
}



.fd-services__flower {
  position: absolute;
  z-index: 3;
  width: 220px;
  height: auto;
  pointer-events: none;
  user-select: none;
  will-change: transform;
}

.fd-services__flower--tl {
  top: -50px;
  left: -10px;
  animation: fdFlowerTop 7s ease-in-out infinite;
}

.fd-services__flower--br {
  right: -8px;
  bottom: -40px;
  animation: fdFlowerBottom 8s ease-in-out infinite;
}

@keyframes fdFlowerTop {
  0%,
  100% {
    transform: translate(0, 0) rotate(-3deg);
  }

  50% {
    transform: translate(7px, 10px) rotate(2deg);
  }
}

@keyframes fdFlowerBottom {
  0%,
  100% {
    transform: translate(0, 0) rotate(3deg);
  }

  50% {
    transform: translate(-7px, -10px) rotate(-2deg);
  }
}



@media (max-width: 1024px) {
  .fd-services__header {
    min-height: 115px;
  }

  .fd-services__header h2 {
    font-size: 40px;
  }

  .fd-services__flower {
    width: 180px;
  }
}



@media (max-width: 768px) {
  .fd-services__header {
    min-height: 95px;
    padding: 28px 70px 24px;
  }

  .fd-services__header h2 {
    font-size: 28px;
    line-height: 1.08;
  }

  .fd-acc-header {
    min-height: 62px;
    gap: 12px;
    padding: 18px 24px;
  }

  .fd-acc-title {
    font-size: 18px;
    line-height: 1.15;
  }

  .fd-acc-icon {
    width: 21px;
    height: 21px;
  }

  .fd-acc-body p {
    max-width: 520px;
    padding: 0 24px 22px;
    font-size: 14px;
    line-height: 1.5;
  }

  .fd-services__flower {
    width: 130px;
  }

  .fd-services__flower--tl {
    top: -30px;
    left: -25px;
  }

  .fd-services__flower--br {
    right: -24px;
    bottom: -15px;
  }
}

@media (max-width: 480px) {
  .fd-services__header {
    min-height: 88px;
    padding: 25px 55px 21px;
  }

  .fd-services__header h2 {
    font-size: 24px;
  }

  .fd-acc-header {
    min-height: 58px;
    padding: 16px;
  }

  .fd-acc-title {
    font-size: 17px;
  }

  .fd-acc-icon {
    width: 20px;
    height: 20px;
  }

  .fd-acc-body p {
    padding: 0 18px 20px;
    font-size: 13px;
  }

  .fd-services__flower {
    width: 105px;
  }

  .fd-services__flower--tl {
    top: -20px;
    left: -28px;
  }

  .fd-services__flower--br {
    right: -28px;
    bottom: -5px;
  }
}



@media (prefers-reduced-motion: reduce) {
  .fd-services__flower {
    animation: none;
  }

  .fd-acc-title,
  .fd-acc-icon,
  .fd-acc-body-wrap,
  .fd-acc-body p {
    transition: none;
  }
}
