:root {
  --font-size-h1: clamp(40px, 5vw, 56px);
  --font-size-h2: clamp(24px, 3vw, 32px);
  --font-size-h3: clamp(20px, 2vw, 24px);
  --font-size-body: 18px;
  --font-size-detais: 16px;
  --line-height-h1: 1.2;
  --line-height-h2: 1.4;
  --line-height-h3: 1.5;
  --line-height-body: 1.5;
  --line-height-details: 1.5;
  --bg-black: #1a191d;
  --black-opacity-7: #605f67;
  --white-opacity-7: #bdbdc1;
}

.header.header--simple {
  position: absolute;
  z-index: 100;
}

.header .header__media-wrapper {
  padding: 40px;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  max-width: calc(235px + 70px);
  margin: 0 auto;
}

.header .header__media-wrapper img {
  width: 100%;
  height: auto;
}

.header .header__media-wrapper a {
  max-width: 240px;
  cursor: pointer;
}

@media all and (max-width: 580px) {
  .header .header__media-wrapper {
    flex-direction: column;
    gap: 8px;
  }

  .header .header__media-wrapper a {
    max-width: 150px;
  }
}

.hero {
  position: relative;
  padding-block: 176px 80px;
}

.hero__bg-items {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero__bg-items__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__wrapper {
  display: grid;
  gap: 16px 88px;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "label form"
    "title form"
    "pills form"
    "content form"
    "ft form";
  align-items: start;
}

.hero__wrapper__label {
  grid-area: label;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px 16px;
}

.hero__wrapper__label p {
  color: var(--white);
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  font-weight: 500;

  text-transform: uppercase;
}

.hero__wrapper__label span {
  display: block;
  width: 6px;
  height: 6px;
  background-color: var(--white);
  border-radius: 50%;
}

.hero__wrapper__label img {
  width: 100%;
  max-width: 144px;
  height: auto;
  object-fit: contain;
}

.hero__wrapper__title {
  grid-area: title;
  font-size: var(--font-size-h1);
  line-height: var(--line-height-h1);
  font-weight: 300;
  color: var(--white);
}

.hero__wrapper__pills {
  grid-area: pills;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero__wrapper__pills__item {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--white);
  border-radius: 100px;
  padding: 8px 16px;
}

.hero__wrapper__pills__item img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.hero__wrapper__pills__item span {
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  font-weight: 500;
  color: var(--white);
}

.hero__wrapper__content {
  grid-area: content;
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  font-weight: 400;
  color: var(--white);
}

.hero__wrapper__ft {
  grid-area: ft;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 8px;
}

.hero__wrapper__ft img {
  width: 100%;
  max-width: 132px;
  height: auto;
  object-fit: contain;
}

.hero__wrapper__ft__content {
  display: flex;
  flex-direction: column;
}

.hero__wrapper__ft__content__title {
  font-size: var(--font-size-h3);
  line-height: var(--line-height-h3);
  font-weight: 600;
  color: var(--white);
}

.hero__wrapper__ft__content__subtitle {
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  font-weight: 400;
  color: var(--white);
}

.hero__wrapper__form {
  grid-area: form;
  background-color: var(--white);
  border-radius: 30px;
  padding: 32px;
}

.hero__wrapper__form__title {
  font-size: var(--font-size-h2);
  line-height: var(--line-height-h2);
  font-weight: 600;
  color: var(--purple);
}

.hero__wrapper__form__subtitle {
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  font-weight: 400;
  color: var(--purple);
}

.hero__wrapper__form__form {
  margin-top: 24px;
}

.hbspt-form .hs-form .input .hs-form-booleancheckbox-display {
  margin: 0;
}

.hbspt-form .hs-form .input .hs-form-booleancheckbox label input {
  padding-block: 0;
}

.hbspt-form .hs-submit {
  margin-top: 8px;
}

@media (max-width: 1024px) {
  .hero__wrapper {
    grid-template-columns: 1fr;
    grid-template-areas:
      "label"
      "title"
      "pills"
      "form"
      "content"
      "ft";
  }

  .hero__wrapper__label {
    justify-content: center;
  }

  .hero__wrapper__label p:first-child {
    width: 100%;
    text-align: center;
  }

  .hero__wrapper__label img {
    width: 80px;
  }

  .hero__wrapper__title {
    text-align: center;
  }

  .hero__wrapper__form {
    margin-block: 8px;
    padding: 24px;
  }

  .hero__wrapper__form__form {
    margin-top: 0;
  }

  .hbspt-form .hs-submit {
    margin-top: 24px;
  }

  .hero__wrapper__form__title,
  .hero__wrapper__form__subtitle,
  .hero__wrapper__label span {
    display: none;
  }
}

@media all and (max-width: 580px) {
  .hero {
    padding-block: 132px 32px;
  }

  .hero__wrapper__pills {
    justify-content: center;
  }
}

.content-heading {
  padding-block: 80px 56px;
}

.content-heading__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  max-width: 810px;
  margin-inline: auto;
}

.content-heading__wrapper__title {
  font-size: var(--font-size-h1);
  line-height: var(--line-height-h1);
  font-weight: 300;
  color: var(--black);
}

.content-heading__wrapper__subtitle {
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  font-weight: 400;
  color: var(--black-opacity-7);
}

@media all and (max-width: 580px) {
  .content-heading {
    padding-block: 56px 32px;
  }
}

.media-wide {
  padding-bottom: 80px;
  max-width: 1024px;
  margin-inline: auto;
}

.media-wide__wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  padding-bottom: 56.25%;
}

.media-wide__wrapper iframe,
.media-wide__wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media all and (max-width: 580px) {
  .media-wide {
    padding-bottom: 56px;
  }
}

.cta-image {
  position: relative;
}
.cta-image__wrapper {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  background-color: var(--purple);
  border-radius: 30px;
  overflow: hidden;
}

.cta-image__wrapper__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 80px 24px 80px 56px;
}

.cta-image__wrapper__content__title {
  font-size: var(--font-size-h2);
  line-height: var(--line-height-h2);
  font-weight: 600;
  color: var(--white);
}

.cta-image__wrapper__content__subtitle {
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  font-weight: 400;
  color: var(--white);
}

.cta-image__wrapper__content__subtitle ul {
  margin-block: 16px;
  padding-left: 16px;
}

.cta-image__wrapper__content__subtitle ul li {
  list-style: disc;
  list-style-position: inside;
}

.cta-image__wrapper__content__btn {
  color: var(--purple);
  font-weight: 500;
  width: fit-content;
  padding-inline: 32px;
}

@media (hover: hover) {
  .cta-image__wrapper__content__btn:hover {
    background-color: var(--white);
    color: var(--purple);
  }
}

.cta-image__wrapper__content__btn:active,
.cta-image__wrapper__content__btn:focus,
.cta-image__wrapper__content__btn:focus-visible,
.cta-image__wrapper__content__btn:focus-within {
  background-color: var(--white);
  color: var(--purple);
}

.cta-image__wrapper__media {
  position: relative;
}

.cta-image__wrapper__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center left;
}

@media all and (max-width: 810px) {
  .cta-image__wrapper {
    grid-template-columns: 1fr;
  }

  .cta-image__wrapper__content {
    padding: 24px 32px;
  }

  .cta-image__wrapper__content__title {
    text-align: center;
    text-wrap: balance;
  }
}

.info {
  padding-block: 80px;
}

.info__container.info__container--second {
  max-width: none;
  padding-left: 2.5rem;
  padding-right: 0;
  margin-left: max(0px, (100% - 85rem) / 2);
}

.info__wrapper {
  display: flex;
  gap: 32px 56px;
}

.info__wrapper__left-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  position: -webkit-sticky;
  top: 100px;
  width: 35%;
  height: 100%;
}

.info__wrapper__left-items__title {
  font-size: var(--font-size-h1);
  line-height: var(--line-height-h1);
  font-weight: 300;
  color: var(--black);
}

.info__wrapper__left-items__subtitle {
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  font-weight: 400;
  color: var(--black-opacity-7);
}

.info__wrapper__right-items {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 65%;
}

.info__wrapper__right-items .swiper-slide {
  display: flex;
}

@media all and (max-width: 810px) {
  .info__wrapper__left-items {
    position: relative;
    top: 0;
    width: 100%;
    padding-right: 2.5rem;
  }
}

@media all and (max-width: 1024px) {
  .info__wrapper {
    grid-template-columns: 1fr;
  }
}

@media all and (max-width: 580px) {
  .info {
    padding-block: 56px;
  }
  .info__container.info__container--second {
    padding-left: 1.25rem;
  }
}

.card-icon-text {
  display: flex;
  flex-direction: column;
  gap: 56px;
  padding: 32px;
  border: 1px solid rgba(70, 60, 193, 0.7);
  border-radius: 30px;
}

.card-icon-text img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.card-icon-text p {
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  font-weight: 400;
  color: var(--black);
}

@media all and (max-width: 810px) {
  .info__wrapper {
    flex-direction: column;
    gap: 32px;
  }
  .info__wrapper__left-items,
  .info__wrapper__right-items {
    width: 100%;
  }
}

@media all and (max-width: 580px) {
  .card-icon-text {
    gap: 32px;
  }
}

.slider-controls button svg {
  color: var(--purple);
}

/* Root */
.accordion {
  --acc-border: #e6e6e6;
  --acc-radius: 12px;
  --acc-header-bg: #fff;
  --acc-header-hover: #f7f7f7;
  --acc-text: #111;
  --acc-muted: #666;
  --acc-transition: 200ms ease;
  margin-right: 4vw;
}

/* Items */
.accordion__item {
  border: 1px solid var(--purple);
  border-radius: 10px;
  background: #fff;
}
.accordion__item + .accordion__item {
  margin-top: 12px;
}

/* Button */
.accordion__button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  background: var(--white);
  color: var(--black);
  padding: 24px;
  border: 0;
  border-radius: calc(10px - 1px);
  font-family: var(--font-family-heading);
  font-size: var(--font-size-h3);
  font-weight: 600;
  line-height: var(--line-height-h3);
  cursor: pointer;
  transition: background var(--acc-transition);
}
.accordion__button strong {
  color: var(--purple);
}
.accordion__button:hover,
.accordion__button:focus-visible {
  outline: none;
}

/* Icono */
.accordion__icon {
  position: relative;
  width: 20px;
  height: 10px;
  flex: 0 0 auto;
}
.accordion__chevron {
  display: block;
  color: var(--purple);
  transition: transform 0.2s ease-in-out;
}
/* gira cuando el item está activo */
.accordion__item.is-active .accordion__chevron {
  transform: rotate(180deg);
}

/* Panel: abrir/cerrar por clase */
.accordion__panel {
  display: grid;
  max-height: 0;
  transition: max-height 0.3s ease-in-out;
  overflow: hidden;
}
.accordion__panel > * {
  overflow: hidden;
}
.accordion__item.is-active .accordion__panel {
  max-height: 1000px;
}

.accordion__panel-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 18px 16px 18px;
  color: var(--acc-muted);
  line-height: 1.6;
}

.accordion__panel-inner img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
}

.testimonials {
  padding-bottom: 80px;
}

.testimonials__container {
  overflow: visible;
}

.testimonials__title {
  font-size: var(--font-size-h1);
  line-height: var(--line-height-h1);
  font-weight: 300;
  color: var(--black);
  text-align: center;
  margin-bottom: 32px;
}

@media all and (max-width: 580px) {
  .testimonials {
    padding-bottom: 56px;
  }

  .testimonials__container {
    overflow: hidden;
  }
}

.testimonials__slider__item {
  display: flex;
}

.card-quote {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: 24px;
  border: 1px solid var(--purple);
  padding: 32px;
}

.card-quote__artwork {
  margin-bottom: 40px;
}

.card-quote__content {
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  font-weight: 400;
  color: var(--black);
}

.card-quote__info {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
}

.card-quote__info__media {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
}

.card-quote__info__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-quote__info__content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.card-quote__info__content__name {
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  font-weight: 400;
  color: var(--black);
}

.card-quote__info__content__position {
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  font-weight: 400;
  color: var(--black-opacity-7);
}

.teachers {
  background-color: var(--bg-black);
  padding-block: 80px;
}

.teachers__title {
  font-size: var(--font-size-h1);
  line-height: var(--line-height-h1);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 56px;
  text-align: center;
  text-wrap: balance;
}

.teachers__list {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}

.card-teacher {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px;
  width: 25%;
  border-radius: 24px;
  overflow: hidden;
  transition: width 0.3s ease-in-out;
}

.card-teacher::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.5) 60%,
    rgba(0, 0, 0, 1) 100%
  );
}

.card-teacher__bg-items {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  border-radius: 24px;
  overflow: hidden;
}
.card-teacher__bg-items__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.card-teacher__ft-items {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  margin-top: calc(280px - 32px);
}

.card-teacher__ft-items__name {
  font-size: var(--font-size-h3);
  line-height: var(--line-height-h3);
  font-weight: 700;
  color: var(--white);
}

.card-teacher__ft-items__position {
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  font-weight: 400;
  color: var(--white-opacity-7);
}

@media all and (max-width: 1024px) {
  .card-teacher {
    width: 33.33%;
  }
}

@media all and (max-width: 768px) {
  .card-teacher {
    width: 50%;
  }
}

@media all and (max-width: 580px) {
  .card-teacher {
    width: 100%;
  }

  .card-teacher__ft-items {
    margin-top: calc(295px - 32px);
  }
}

@media all and (max-width: 580px) {
  .teachers {
    padding-block: 56px;
  }
  .teachers__title {
    margin-bottom: 32px;
  }
}

.faqs {
  --faqs-border: #e6e6e6;
  --faqs-radius: 12px;
  --faqs-header-bg: #fff;
  --faqs-header-hover: #f7f7f7;
  --faqs-text: #111;
  --faqs-muted: #666;
  --faqs-transition: 200ms ease;
  padding-bottom: 80px;
  background-color: var(--bg-black);
}

.faqs__title {
  font-size: var(--font-size-h1);
  line-height: var(--line-height-h1);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 56px;
}

.faqs__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 85%;
}

/* Items */
.faqs__list__item {
  border-bottom: 1px solid var(--white);
  padding-bottom: 16px;
}

/* Button */
.faqs__list__item__button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  color: var(--white);
  padding-bottom: 16px;
  border: 0;
  font-size: var(--font-size-h3);
  line-height: var(--line-height-h3);
  cursor: pointer;
  transition: background var(--acc-transition);
}

.faqs__list__item__button:hover,
.faqs__list__item__button:focus-visible {
  outline: none;
}

/* Icono */
.faqs__list__item__icon {
  position: relative;
  flex: 0 0 auto;
}
.faqs__list__item__icon svg {
  transition: transform 0.3s ease-in-out;
  transform-origin: center;
}
/* gira cuando el item está activo */
.faqs__list__item.is-active svg line:first-child {
  transform: scale(0);
}

/* Panel: abrir/cerrar por clase */
.faqs__list__item__panel {
  display: grid;
  max-height: 0;
  transition: max-height 0.3s ease-in-out;
  overflow: hidden;
}
.faqs__list__item__panel > * {
  overflow: hidden;
}
.faqs__list__item.is-active .faqs__list__item__panel {
  max-height: 1000px;
}

.faqs__list__item__panel-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  font-weight: 400;
  color: var(--white);
}

@media all and (max-width: 810px) {
  .faqs__list {
    max-width: 100%;
  }
}

footer.footer {
  padding-block: 4rem;
}

footer .footer__body {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer .footer__top-row {
  margin-bottom: 0;
}

footer .footer__bottom {
  justify-content: center;
}

footer .footer__columns {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

footer .footer__columns .footer__list {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

footer .footer__columns .footer__list a {
  font-size: clamp(0.8125rem, 2vw, 1rem);
  font-weight: 400;
  color: var(--white);
  transition: opacity 0.3s ease;
}

footer .footer__columns .footer__list a:hover {
  opacity: 0.7;
}

@media all and (max-width: 768px) {
  footer.footer {
    padding: 2rem 0;
  }
  footer .footer__columns .footer__list {
    gap: 1rem;
  }
}

@media all and (max-width: 580px) {
  .button,
  [class*="__btn"] {
    width: 100%;
  }
}
