: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;
  --smooth-black: #222225;
  --black-opacity-7: #605f67;
  --white-opacity-7: #bdbdc1;
  --grey: #f3f5f7;
  --grey-opacity-7: rgba(232, 235, 240, 0.5);
  --lilac: #dcdceb;
  --max-width-wide-section: 1080px;
}

.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.header.header--simple {
  position: absolute;
  padding-top: 16px;
  z-index: 100;
}

.header .header__media-wrapper {
  padding: 16px 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--white);
  border-radius: 16px;
  margin: 0 auto;
  pointer-events: none;
}

.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: 160px 80px;
}

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

.hero__bg-items img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
}

.hero__ft-items {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 32px;
  z-index: 1;
}

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

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

.hero__ft-items__left-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.hero__ft-items__left-items__hd__label {
  font-size: var(--font-size-details);
  font-weight: 500;
  color: var(--white);
  text-transform: uppercase;
}

.hero__ft-items__left-items__hd__label--second {
  font-weight: 300;
}

.hero__ft-items__left-items__title {
  font-size: var(--font-size-h1);
  font-weight: 500;
  color: var(--white);
  line-height: var(--line-height-h1);
}

.hero__ft-items__left-items__subtitle {
  font-size: var(--font-size-h3);
  font-weight: 300;
  color: var(--white-opacity-7);
  line-height: var(--line-height-h3);
  text-wrap: balance;
}

.hero__ft-items__left-items__countdown {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero__ft-items__left-items__countdown__title {
  font-size: var(--font-size-details);
  font-weight: 300;
  color: var(--white);
  line-height: var(--line-height-details);
  text-transform: uppercase;
}

.hero__ft-items__right-items {
  position: relative;
  background-color: var(--white);
  padding: 32px;
  border-radius: 30px;
}

.hero__ft-items__right-items__media {
  position: absolute;
  bottom: calc(-30px - 32px);
  right: calc(-32px - 30px);
  width: 120px;
  height: 120px;
  object-fit: contain;
  pointer-events: none;
}

@media all and (max-width: 810px) {
  .hero__ft-items__right-items__media {
    bottom: calc(-20px - 32px);
    right: calc(-32px);
    width: 80px;
    height: 80px;
  }
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.countdown.active {
  opacity: 1;
}

.countdown.finished {
  opacity: 0.5;
}

.countdown__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--smooth-black);
  border-radius: 10px;
}

.countdown__item__number {
  font-size: var(--font-size-h1);
  line-height: 1;
  font-weight: 700;
  color: var(--white);
  font-variant-numeric: tabular-nums;
  min-width: 2ch;
  text-align: center;
}

.countdown__item__label {
  font-size: var(--font-size-details);
  line-height: 1;
  font-weight: 400;
  color: var(--white-opacity-7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media all and (max-width: 810px) {
  .countdown {
    gap: 12px;
  }
}

@media all and (max-width: 580px) {
  .countdown {
    gap: 8px;
  }

  .countdown__item {
    padding: 8px 12px;
  }
}

.benefits {
  background: var(--smooth-black);
  padding-block: 80px;
}

.benefits__title {
  font-size: var(--font-size-h2);
  font-weight: 600;
  color: var(--white);
  line-height: var(--line-height-h2);
  text-align: center;
  margin-bottom: 32px;
}

.benefits__items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.card-icon-text {
  display: flex;
  flex-direction: column;
  gap: 80px;
  padding: 40px 32px;
  background-color: var(--black);
  border-radius: 16px;
}

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

.card-icon-text p {
  font-size: var(--font-size-h3);
  font-weight: 400;
  color: var(--white);
  line-height: var(--line-height-h3);
  text-wrap: balance;
}

@media all and (max-width: 1024px) {
  .benefits__items {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-icon-text {
    gap: 64px;
  }
}

@media all and (max-width: 580px) {
  .benefits {
    padding-block: 40px;
  }
  .benefits__items {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.layout {
  position: relative;
  background: var(--black);
}

.layout__wrapper {
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
}

.layout__wrapper__media-wrapper {
  position: absolute;
  inset: 0;
  width: 50vw;
  max-width: 50vw;
  height: 100%;
}

.layout__wrapper__media-wrapper__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.layout__wrapper__content {
  width: 50%;
  max-width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  align-items: flex-start;
  padding: 120px 0 120px 80px;
}

@media all and (max-width: 1024px) {
  .layout__wrapper__content {
    padding: 80px 0 80px 40px;
  }
}

@media all and (max-width: 810px) {
  .layout__wrapper {
    flex-direction: column;
  }
  .layout__wrapper__media-wrapper {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    height: 450px;
    max-height: 450px;
    left: 50%;
    transform: translateX(-50%);
  }
  .layout__wrapper__content {
    max-width: 100%;
    width: 100%;
    padding: 40px 0;
  }
}

@media all and (max-width: 580px) {
  .layout__wrapper__media-wrapper {
    height: 350px;
    max-height: 350px;
  }
}

.layout__wrapper__content__label {
  font-size: var(--font-size-body);
  font-weight: 400;
  color: var(--white);
  line-height: var(--line-height-body);
  text-transform: uppercase;
}

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

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

.layout__wrapper__content__subtitle {
  font-size: var(--font-size-body);
  font-weight: 400;
  color: var(--white-opacity-7);
  line-height: var(--line-height-body);
  text-wrap: balance;
  margin-block: 16px 8px;
}

.layout__wrapper__content__wrapper {
  display: flex;
  align-items: center;
  gap: 32px;
}

.layout__wrapper__content__wrapper span {
  color: var(--white);
  font-size: 14px;
  font-weight: 400;
}

.layout__wrapper__content__wrapper__media {
  width: 120px;
  height: 24px;
  object-fit: contain;
  object-position: center;
}

.layout__wrapper__content__link {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}

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

.layout__wrapper__content__link svg {
  width: 16px;
  height: auto;
  transition: transform 0.3s ease;
}

@media (hover: hover) {
  .layout__wrapper__content__link:hover svg {
    transform: translateX(4px);
  }
}

.cta {
  background: var(--smooth-black);
  padding-block: 80px;
}

.cta__wrapper {
  position: relative;
  padding: 56px;
  background-color: var(--black);
  border-radius: 40px;
}

.cta__wrapper__bg-items {
  position: absolute;
  top: 0;
  right: 7%;
  width: 50%;
  height: 100%;
  z-index: 0;
}

.cta__wrapper__bg-items img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cta__wrapper__ft-items {
  display: flex;
  position: relative;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  z-index: 1;
}
.cta__wrapper__ft-items__left-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  width: 40%;
}
.cta__wrapper__ft-items__left-items__title {
  font-size: var(--font-size-h2);
  font-weight: 600;
  color: var(--white);
  line-height: var(--line-height-h2);
}
.cta__wrapper__ft-items__left-items__subtitle {
  font-size: var(--font-size-body);
  font-weight: 400;
  color: var(--white);
  line-height: var(--line-height-body);
  text-wrap: balance;
}
.cta__wrapper__ft-items__left-items__button {
  margin-top: 8px;
  width: fit-content;
  padding: 12px 32px;
}
.cta__wrapper__ft-items__right-items {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 30%;
}
.cta__wrapper__ft-items__right-items__media {
  width: 120px;
  height: 120px;
  object-fit: contain;
  object-position: center;
  border-radius: 50%;
  border: 0.5px solid var(--white-opacity-7);
}
.cta__wrapper__ft-items__right-items span {
  display: block;
  font-size: var(--font-size-h2);
  font-weight: 400;
  color: var(--white);
  line-height: var(--line-height-h2);
}
.cta__wrapper__ft-items__right-items__wrapper {
  display: flex;
  align-items: center;
  gap: 32px;
}
.cta__wrapper__ft-items__right-items__wrapper__media {
  width: 64px;
  height: 64px;
  object-fit: contain;
  object-position: center;
}

@media all and (max-width: 810px) {
  .cta__wrapper {
    padding: 40px;
  }
  .cta__wrapper__bg-items {
    display: none;
  }
  .cta__wrapper__ft-items {
    flex-direction: column;
    gap: 40px;
  }
  .cta__wrapper__ft-items__left-items,
  .cta__wrapper__ft-items__right-items {
    width: 100%;
  }
  .cta__wrapper__ft-items__left-items__title,
  .cta__wrapper__ft-items__left-items__subtitle {
    text-align: center;
    text-wrap: balance;
  }
  .cta__wrapper__ft-items__left-items__button {
    width: 100%;
  }
}

.info {
  padding-bottom: 80px;
  background-color: var(--smooth-black);
}

.info__wrapper {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 32px;
  align-items: flex-start;
}

.info__wrapper__left-items {
  position: sticky;
  position: -webkit-sticky;
  top: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

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

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

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

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

  .info__wrapper__left-items {
    position: relative;
    top: auto;
  }
}

/* Button (header) */
.accordion {
  --acc-radius: 16px;
  --acc-header-bg: var(--black);
  --acc-header-hover: var(--black);
  --acc-text: var(--white);
  --acc-muted: var(--white-opacity-7);
  --acc-transition: 200ms ease;
}

/* Items */
.accordion__item {
  border-radius: 16px;
  background: var(--black);
}
.accordion__item + .accordion__item {
  margin-top: 16px;
}

/* Button */
.accordion__button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  background: var(--black);
  color: var(--white);
  padding: 24px;
  border: 0;
  border-radius: 16px;
  font-family: var(--font-family-heading);
  font-size: var(--font-size-body);
  font-weight: 400;
  line-height: var(--line-height-body);
  cursor: pointer;
  transition: background 0.3s ease;
}
.accordion__button strong {
  color: var(--white);
}
.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(--white);
  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(--white-opacity-7);
  line-height: 1.6;
}

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%;
  }
}
