.atl-services {
  position: relative;
  z-index: 10;
  padding-top: 6rem;
  padding-bottom: 8rem;
  background: inherit;
  transition: color 0.7s ease;
}
@media (min-width: 1024px) {
  .atl-services {
    padding-bottom: 12rem;
  }
}
@media (max-width: 767px) {
  .atl-services {
    padding-bottom: 6rem;
  }
}

.atl-services__container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  box-sizing: border-box;
}

.atl-services__header {
  margin-bottom: 2rem;
}
@media (min-width: 1024px) {
  .atl-services__header {
    margin-bottom: 3rem;
  }
}
.atl-services__header h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--color-jakarta);
  letter-spacing: 0;
  line-height: 1.1;
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .atl-services__header h2 {
    font-size: 2.25rem;
  }
}
@media (min-width: 1024px) {
  .atl-services__header h2 {
    font-size: 3rem;
  }
}
.atl-services__header h2 strong {
  color: var(--color-terracotta);
  font-weight: 700;
}

.atl-services__subtitle {
  color: rgba(53, 52, 82, 0.7);
  font-weight: 300;
  line-height: 1.7;
  font-size: 1rem;
}
@media (min-width: 768px) {
  .atl-services__subtitle {
    font-size: 1.125rem;
  }
}
.atl-services__subtitle p {
  margin: 0;
}

.atl-services__layout {
  display: none;
}
@media (min-width: 1024px) {
  .atl-services__layout {
    display: grid;
    grid-template-columns: 1fr 1.67fr 1.33fr;
    gap: 3rem;
    align-items: start;
  }
}

.atl-services__tabs {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.atl-services__tab {
  text-align: left;
  padding: 1.5rem 2rem;
  border-radius: 1.5rem;
  font-size: 1.25rem;
  font-weight: 400;
  background: rgba(0, 0, 0, 0.05);
  color: var(--color-jakarta);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.atl-services__tab.is-active {
  background: var(--color-teal);
  color: #fff;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transform: scale(1.02);
}
.atl-services__tab:hover:not(.is-active) {
  background: #e1f2f2;
}

.atl-services__image-wrap {
  position: relative;
  height: 37.5rem;
  border-radius: 1.5rem;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.05);
}
.atl-services__image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.atl-services__image-wrap:hover::after {
  opacity: 0;
}

.atl-services__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  will-change: opacity, transform;
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.33, 1, 0.68, 1);
}
.atl-services__img.is-active {
  opacity: 1;
  transform: scale(1);
}

.atl-services__details-wrap {
  position: relative;
  min-height: 20rem;
}

.atl-services__detail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(30px);
  will-change: opacity, transform;
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.33, 1, 0.68, 1);
  display: flex;
  flex-direction: column;
}
.atl-services__detail[hidden] {
  display: none !important;
}
.atl-services__detail.is-active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
}
.atl-services__detail h3 {
  font-size: 1.875rem;
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--color-jakarta);
}
@media (min-width: 1024px) {
  .atl-services__detail h3 {
    font-size: 2.25rem;
  }
}

.atl-services__title-light {
  font-weight: 300;
}

.atl-services__title-bold {
  font-weight: 700;
}

.atl-services__desc {
  color: rgba(53, 52, 82, 0.7);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.atl-services__desc p {
  margin: 0 0 1rem;
}
.atl-services__desc p:last-child {
  margin-bottom: 0;
}

.atl-services__info-box {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 1.5rem;
  padding: 1.5rem;
  margin-bottom: 2.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-jakarta);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.atl-services__info-box > i {
  flex: 0 0 auto;
  width: 1.25rem;
  margin-top: 0.125rem;
  font-size: 1.25rem;
  line-height: 1;
  color: currentColor;
}
.atl-services__info-box p {
  margin: 0;
}

.atl-services__cta {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  min-height: 44px;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  border-bottom: 1px solid var(--color-terracotta);
  padding-bottom: 2px;
  text-decoration: none;
  margin-top: auto;
  transition: opacity 0.2s ease;
}
.atl-services__cta > i {
  font-size: 0.875rem;
  line-height: 1;
}
.atl-services__cta:hover {
  opacity: 0.75;
}

.atl-services__accordion {
  display: flex;
  flex-direction: column;
  gap: 1.5rem; /* mobile-fix: era 1rem (16px), sotto i 24px WCAG 2.5.8 [GAP-019,GAP-020] */
}
@media (min-width: 1024px) {
  .atl-services__accordion {
    display: none;
  }
}

.atl-services__acc-btn {
  width: 100%;
  text-align: left;
  padding: 1rem 0;
  border-radius: 0;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em !important;
  opacity: 0.6;
  background: transparent;
  color: var(--color-jakarta);
  border: none;
  border-bottom: 1px solid rgba(53, 52, 82, 0.1);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.atl-services__acc-btn span {
  transition: transform 0.3s ease;
}
.atl-services__acc-btn.is-active {
  color: var(--color-terracotta);
  border-bottom-color: var(--color-terracotta);
  opacity: 1;
}
.atl-services__acc-btn.is-active span {
  transform: rotate(180deg);
}
.atl-services__acc-btn:hover, .atl-services__acc-btn:focus-visible {
  opacity: 1;
}

.atl-services__acc-panel {
  background: transparent;
  border-radius: 0;
  padding: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.4s ease;
}
.atl-services__acc-panel.is-open {
  display: block;
  max-height: 1000px;
  opacity: 1;
  padding: 1.5rem 0;
}
.atl-services__acc-panel h3 {
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  color: var(--color-jakarta);
}
.atl-services__acc-panel .atl-services__info-box {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 0.75rem;
  padding: 1rem;
  margin: 0;
  gap: 0.75rem;
}
.atl-services__acc-panel .atl-services__info-box > i {
  width: 1.25rem;
  font-size: 1.25rem;
}
.atl-services__acc-panel .atl-services__cta {
  margin-top: 1rem;
}

.atl-services__acc-image {
  aspect-ratio: 16/9;
  border-radius: 1.5rem;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.12);
}
.atl-services__acc-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.atl-dark-wrapper.atl-dark-mode .atl-services .atl-services__header h2 {
  color: #fff;
}
.atl-dark-wrapper.atl-dark-mode .atl-services .atl-services__subtitle {
  color: rgba(255, 255, 255, 0.7);
}
.atl-dark-wrapper.atl-dark-mode .atl-services .atl-services__tab {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.atl-dark-wrapper.atl-dark-mode .atl-services .atl-services__tab:hover:not(.is-active) {
  background: rgba(255, 255, 255, 0.2);
}
.atl-dark-wrapper.atl-dark-mode .atl-services .atl-services__acc-btn {
  background: transparent;
  color: #fff;
}
.atl-dark-wrapper.atl-dark-mode .atl-services .atl-services__acc-btn:hover:not(.is-active) {
  background: transparent;
}
.atl-dark-wrapper.atl-dark-mode .atl-services .atl-services__image-wrap {
  background: rgba(255, 255, 255, 0.1);
}
.atl-dark-wrapper.atl-dark-mode .atl-services .atl-services__detail h3,
.atl-dark-wrapper.atl-dark-mode .atl-services .atl-services__acc-panel h3 {
  color: #fff;
}
.atl-dark-wrapper.atl-dark-mode .atl-services .atl-services__desc {
  color: rgba(255, 255, 255, 0.7);
}
.atl-dark-wrapper.atl-dark-mode .atl-services .atl-services__info-box {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.atl-dark-wrapper.atl-dark-mode .atl-services .atl-services__acc-panel {
  background: transparent;
}
.atl-dark-wrapper.atl-dark-mode .atl-services .atl-services__acc-panel .atl-services__info-box {
  background: rgba(0, 0, 0, 0.2);
}

.editor-styles-wrapper .atl-services__img {
  opacity: 1 !important;
  transform: none !important;
}
.editor-styles-wrapper .atl-services__detail {
  opacity: 1 !important;
  position: relative !important;
  transform: none !important;
}
.editor-styles-wrapper .atl-services__layout {
  display: grid !important;
}
.editor-styles-wrapper .atl-services__accordion {
  display: none !important;
}
