/* =============================================
   DIGITAL AD EXPERT — Brand-aligned CSS
   Based on Aleph Brand Book (September 2024)
   Mobile-first, ad landing optimized
   ============================================= */

/* --- CSS VARIABLES --- */
:root {
  --navy:          #001848;
  --navy-mid:      #0049AF;
  --gold:          #FFDA30;
  --white:         #FFFFFF;
  --azure:         #2F7DFA;
  --black:         #091015;
  --green:         #2CBB7F;
  --green-active:  #28AA73;
  --youth-green:   #21DD9A;
  --white-grey:    #F7F7F7;
  --grey:          #7D7F82;
  --light-grey:    #c1c1c1;
  --dark:          #1C1C1C;

  --hero-gradient:    linear-gradient(160deg, #0049AF 0%, #001848 100%);
  --invest-gradient:  linear-gradient(160deg, #001848 0%, #0049AF 100%);
  --footer-gradient:  linear-gradient(160deg, #001848 0%, #003080 100%);

  --font-regular: 'abc diatype-regular-otf', 'Roboto', sans-serif;
  --font-light:   'abc diatype-light-otf',   'Roboto', sans-serif;
  --font-bold:    'abc diatype-bold-otf',    'Roboto', sans-serif;

  scroll-behavior: smooth;
}

/* --- FONT FACES --- */
@font-face {
  font-family: 'abc diatype-regular-otf';
  src: url(https://25527729.fs1.hubspotusercontent-eu1.net/hubfs/25527729/ABCDiatype-Regular.otf);
  font-display: swap;
}
@font-face {
  font-family: 'abc diatype-light-otf';
  src: url(https://25527729.fs1.hubspotusercontent-eu1.net/hubfs/25527729/ABCDiatype-Light.otf);
  font-display: swap;
}
@font-face {
  font-family: 'abc diatype-bold-otf';
  src: url(https://25527729.fs1.hubspotusercontent-eu1.net/hubfs/25527729/ABCDiatype-Bold.otf);
  font-display: swap;
}

/* --- RESET & BASE --- */
*, *::before, *::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: var(--font-regular);
  font-weight: 400;
  font-style: normal;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--white);
  overflow-x: hidden;
}

img { width: 100%; display: block; }

/* --- MAX WIDTH CONTAINER --- */
.max__width {
  max-width: 312px;
  margin: 0 auto;
}
@media (min-width: 744px)  { .max__width { max-width: 560px; } }
@media (min-width: 1248px) { .max__width { max-width: 860px; } }


/* =============================================
   ANIMATIONS
   ============================================= */

.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  animation: revealUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.reveal-delay-1 { animation-delay: 0.15s; }
.reveal-delay-2 { animation-delay: 0.28s; }
.reveal-delay-3 { animation-delay: 0.42s; }

@keyframes revealUp {
  to { opacity: 1; transform: translateY(0); }
}

.reveal-section {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes plusFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50%       { transform: translateY(-8px) rotate(3deg); }
}

/* CTA pulse — green ring */
@keyframes ctaPulse {
  0%   { box-shadow: 0 0 0 0 rgba(44, 187, 127, 0.5); }
  70%  { box-shadow: 0 0 0 14px rgba(44, 187, 127, 0); }
  100% { box-shadow: 0 0 0 0 rgba(44, 187, 127, 0); }
}

@keyframes flipdown {
  0%   { opacity: 0; transform-origin: top center; transform: rotateX(-90deg); }
  5%   { opacity: 1; }
  80%  { transform: rotateX(8deg); }
  83%  { transform: rotateX(6deg); }
  92%  { transform: rotateX(-3deg); }
  100% { transform-origin: top center; transform: rotateX(0); }
}


/* =============================================
   DECORATIVE ELEMENTS
   ============================================= */

/* Gold vertical bar */
.gold-bar {
  display: inline-block;
  width: 4px;
  min-width: 4px;
  height: 1em;
  background-color: var(--gold);
  margin-right: 12px;
  vertical-align: middle;
  border-radius: 2px;
  flex-shrink: 0;
  align-self: center;
}

/* Headings with gold bar */
.blue__titles,
.overview__subtitles,
.certificate__section__title,
.faq__title__text,
.invest__title {
  display: flex;
  align-items: center;
}

/* Gold plus decoratives */
.plus-deco {
  position: absolute;
  font-family: var(--font-bold);
  color: var(--gold);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  animation: plusFloat 4s ease-in-out infinite;
}

.about { position: relative; overflow: hidden; }
.plus-1 { font-size: 2rem;   top: 18%;    right: 8%;   animation-delay: 0s;    opacity: 0.85; }
.plus-2 { font-size: 1.2rem; top: 32%;    right: 14%;  animation-delay: 1.2s;  opacity: 0.6;  }
.plus-3 { font-size: 2.8rem; bottom: 10%; right: 5%;   animation-delay: 0.6s;  opacity: 0.5;  }

.certificate { position: relative; overflow: hidden; }
.plus-cert-1 { font-size: 2rem;   top: 8%;     right: 6%;  animation-delay: 0.3s; opacity: 0.45; }
.plus-cert-2 { font-size: 1.4rem; bottom: 12%; left: 4%;   animation-delay: 1.5s; opacity: 0.35; }

.invest { position: relative; overflow: hidden; }
.plus-invest-1 { font-size: 2.4rem; top: 12%;    right: 5%;  animation-delay: 0.8s; opacity: 0.45; }
.plus-invest-2 { font-size: 1.2rem; bottom: 16%; left: 6%;   animation-delay: 2s;   opacity: 0.35; }

.hero-texture {
  position: absolute;
  bottom: -10%;
  right: -5%;
  width: 65%;
  max-width: 320px;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}


/* =============================================
   HEADER
   ============================================= */

header {
  background-color: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 218, 48, 0.12);
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  width: 100%;
}

.header .logo { width: 76px; }
.header .logo img { width: 76px; }

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

.items a {
  text-decoration: none;
  font-size: 0.875rem;
  line-height: 1;
  color: var(--white);
  margin-right: 16px;
  padding: 8px 16px;
  border-radius: 32px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.items a:hover {
  background: rgba(255, 218, 48, 0.15);
  border-color: var(--gold);
  color: var(--gold);
}

.items div {
  display: flex;
  align-items: center;
  gap: 6px;
}
.items div img { width: 20px; height: 20px; }
.items div select {
  border: none;
  outline: 0;
  cursor: pointer;
  background: transparent;
  color: var(--white);
  font-size: 0.875rem;
  font-family: var(--font-regular);
}
.items div select option { color: var(--dark); }

@media (min-width: 744px) {
  .header .logo { width: 103px; }
  .header .logo img { width: 103px; }
  .header { padding: 24px 0; }
}


/* =============================================
   HERO / ABOUT
   ============================================= */

.about {
  background: var(--hero-gradient);
  width: 100%;
  padding: 48px 0 40px;
}

.about__container {
  color: var(--white);
  position: relative;
  z-index: 1;
}

.subtitle {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.subtitle div {
  width: 18px;
  height: 18px;
  position: relative;
  flex-shrink: 0;
}
.subtitle div img {
  position: absolute;
  top: 0; left: 0;
  width: 16px; height: 16px;
}
.subtitle h3 {
  font-family: var(--font-bold);
  font-size: 0.75rem;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.title {
  font-family: var(--font-light);
  font-size: 2.5rem;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 16px;
}
.spanish__title { height: auto; }
.gradient__titles { color: var(--white); }

.desc {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}
.desc span {
  font-family: var(--font-bold);
  color: var(--gold);
}

.socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.socials div {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  transition: background 0.2s, border-color 0.2s;
}
.socials div:hover {
  background-color: rgba(255,218,48,0.15);
  border-color: rgba(255,218,48,0.4);
}
.meta img     { width: 21px; }
.linkedin img { width: 14px; }
.snapchat img { width: 18px; }
.tiktok img   { width: 13px; }
.twitter img  { width: 19px; }

.price {
  font-family: var(--font-light);
  font-size: 0.8rem;
  line-height: 1.4;
  margin-left: 4px;
  margin-top: 12px;
  color: rgba(255,255,255,0.7);
}
.price a {
  all: unset;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-family: var(--font-light);
  cursor: pointer;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.price a:hover { color: var(--gold); }

@media (min-width: 360px) { .title { font-size: 2.875rem; } }
@media (min-width: 744px) {
  .about { padding: 64px 0 56px; }
  .title { font-size: 3rem; line-height: 1.05; }
  .desc  { font-size: 1.125rem; }
}
@media (min-width: 1248px) {
  .about { padding: 80px 0 72px; }
  .title { font-size: 3.5rem; }
}


/* =============================================
   CTA BUTTON
   ============================================= */

.enroll__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  /* tight: text left, circle right, no excess padding */
  padding: 6px 6px 6px 20px;
  border-radius: 100px;
  background-color: var(--green);
  border: 2px solid var(--green);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
  text-decoration: none !important;
  animation: ctaPulse 2.4s ease-in-out 1.2s infinite;
  width: fit-content;
}
.enroll__btn:hover {
  background-color: var(--green-active);
  border-color: var(--green-active);
  transform: translateY(-1px);
  animation: none;
  box-shadow: 0 4px 20px rgba(44,187,127,0.4);
}
.enroll__btn:active {
  transform: translateY(1px);
  box-shadow: none;
}

.enroll__btn p {
  font-family: var(--font-bold);
  font-size: 1rem;
  line-height: 1;
  color: var(--white);
  white-space: nowrap;
}

/* Circle arrow — always white bg, arrow image inside */
.cta-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.25);
  flex-shrink: 0;
  transition: background-color 0.2s, transform 0.2s;
}
.cta-circle img {
  width: 16px;
  height: 16px;
  display: block;
}
.enroll__btn:hover .cta-circle {
  background-color: rgba(255,255,255,0.4);
  transform: translateX(2px);
}

/* All CTAs are green — no navy variant */
.enroll__btn--navy {
  background-color: var(--green);
  border-color: var(--green);
  animation: ctaPulse 2.4s ease-in-out 1.2s infinite;
}
.enroll__btn--navy:hover {
  background-color: var(--green-active);
  border-color: var(--green-active);
  box-shadow: 0 4px 20px rgba(44,187,127,0.4);
}
.enroll__btn--navy p { color: var(--white); }
.cta-circle--navy {
  background-color: rgba(255,255,255,0.25);
}
.enroll__btn--navy:hover .cta-circle--navy {
  background-color: rgba(255,255,255,0.4);
}


/* =============================================
   COURSE OVERVIEW
   ============================================= */

.course__overview {
  width: 100%;
  padding: 40px 0 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.overview__container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.overview__subtitles {
  font-family: var(--font-light);
  font-size: 1.75rem;
  line-height: 1.2;
  color: var(--navy);
  padding-bottom: 16px;
  gap: 0;
}

.overview__things {
  list-style: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px; /* tighter — was 12px */
}

.course__texts {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--grey);
  font-size: 0.9rem;
  line-height: 1.45;
  padding: 7px 8px;
  border-radius: 6px;
  background: transparent;
  transition: background 0.2s;
}
.course__texts:hover { background: var(--white-grey); }
.course__texts div {
  display: flex;
  align-items: flex-start;
  flex-shrink: 0;
}
.icon {
  width: 20px;
  height: 20px;
  margin-top: 1px;
}

.key__benefits { margin-top: 0; }
.benefits { gap: 4px; }
.benefits .course__texts { line-height: 1.45; }

.overview__tagline {
  display: block;
  padding-top: 24px;
  font-family: var(--font-light);
  font-size: 1rem;
  color: var(--navy);
  font-style: italic;
  opacity: 0.65;
}

.course__overview .enroll__btn { margin-top: 20px; }

@media (min-width: 744px) {
  .course__overview { padding: 56px 0 48px; }
  /* side-by-side columns, wider max-width means each col is wider */
  .overview__container { flex-direction: row; gap: 40px; }
  .highlights, .key__benefits { flex: 1; min-width: 0; }
  .overview__subtitles { font-size: 1.9rem; }
  /* tighter rows on desktop so less vertical scroll */
  .overview__things { gap: 2px; }
  .course__texts { padding: 6px 8px; font-size: 0.88rem; }
}
@media (min-width: 1248px) {
  .course__overview { padding: 72px 0 64px; }
  .overview__container { gap: 64px; }
  .overview__subtitles { font-size: 2.1rem; }
}


/* =============================================
   CERTIFICATE SECTION
   ============================================= */

.certificate {
  background-color: var(--navy);
  width: 100%;
  padding: 40px 24px;
  box-sizing: border-box;
}

.certificate__container { width: 100%; }

/* Title must be white — on dark bg */
.certificate__section__title {
  font-family: var(--font-light);
  font-size: 1.75rem;
  line-height: 1.2;
  color: var(--white) !important;
  margin-bottom: 28px;
}
/* Override .blue__titles colour for cert section */
.certificate .blue__titles { color: var(--white) !important; }

.certificate__flex {
  width: 100%;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.certificate__image__container {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,218,48,0.2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.certificate__image__container img { border-radius: 12px; }

.certificate__list { list-style: none; width: 100%; }

.certificate__title__name {
  display: block;
  color: var(--white);
  font-size: 1rem;
  line-height: 1.35;
  /* Allow text to use full width — no forced line breaks */
  white-space: normal;
  word-break: normal;
  margin-right: 44px;
  cursor: pointer;
}

.certificate__parraf {
  color: rgba(255,255,255,0.62);
  overflow: hidden;
  margin-top: 14px;
  font-size: 0.92rem;
  line-height: 1.6;
  position: relative;
  z-index: 2;
  opacity: 1;
  transform: none;
}

/* Dark-bg overrides for list items inside certificate */
.certificate .list__item {
  border-bottom-color: rgba(255,255,255,0.1);
  padding-bottom: 18px;
  margin-top: 18px;
}
.certificate .list__item:last-of-type { border-bottom: none; padding-bottom: 0; }
.certificate .circle { border-color: rgba(255,255,255,0.35); }
.certificate .list__item i::before,
.certificate .list__item i::after { background: rgba(255,255,255,0.65); }

@media (min-width: 744px) {
  .certificate { padding: 56px 24px; }
  .certificate__flex { flex-direction: row; gap: 48px; align-items: flex-start; }
  .certificate__image__container { width: 260px; flex-shrink: 0; }
  .certificate__list { flex: 1; }
  .certificate__section__title { font-size: 2.1rem; }
}
@media (min-width: 1248px) {
  .certificate { padding: 72px 24px; }
  .certificate__image__container { width: 340px; }
  .certificate__section__title { font-size: 2.5rem; }
}


/* =============================================
   ENROLL / WHY SECTION
   ============================================= */

.enroll {
  background: var(--white);
  width: 100%;
  padding: 40px 24px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.enroll__container { width: 100%; }
.list__container   { width: 100%; }

.blue__titles {
  font-family: var(--font-light);
  font-size: 1.75rem;
  line-height: 1.2;
  color: var(--navy);
}

.enroll__title { margin-bottom: 24px; }
.enroll__title__desktop { display: none; }

.enroll__flex {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.enroll__image__container { width: 100%; }

/* VIDEO — no box, no border, clean */
.video {
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  position: relative;
  /* No border, no box-shadow on mobile */
}
.video iframe {
  width: 100%;
  display: block;
  border-radius: 16px;
  /* Maintain 9:16 aspect for portrait video */
  aspect-ratio: 9 / 16;
  height: auto;
  border: none;
}

.enroll__list { width: 100%; }

@media (min-width: 744px) {
  .enroll { padding: 56px 24px; }
  .enroll__flex { flex-direction: row-reverse; align-items: flex-start; gap: 48px; }
  .enroll__image__container { width: 200px; flex-shrink: 0; margin: 0; }
  .video iframe { aspect-ratio: 9 / 16; }
  .blue__titles { font-size: 2.1rem; }
}
@media (min-width: 1248px) {
  .enroll { padding: 72px 24px; }
  .enroll__title { display: none; }
  .enroll__title__desktop { display: flex; margin-bottom: 32px; }
  .enroll__flex { gap: 80px; justify-content: flex-end; align-items: center; }
  .enroll__image__container { width: 260px; }
  .enroll__list { width: 400px; }
  .blue__titles { font-size: 2.4rem; }
}


/* =============================================
   INVEST SECTION
   ============================================= */

.invest {
  background: var(--invest-gradient);
  width: 100%;
  padding: 40px 24px;
  box-sizing: border-box;
}

.invest__container { width: 100%; position: relative; }
.invest__card { width: 100%; }

.invest__course {
  font-family: var(--font-bold);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.invest__title {
  font-family: var(--font-light);
  color: var(--white);
  font-size: 2rem;
  line-height: 1.2;
  padding-bottom: 24px;
  margin-top: 8px;
}

.invest__info__text { width: 100%; }

.invest__text {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  line-height: 1.7;
  font-style: italic;
  border-left: 3px solid var(--gold);
  padding-left: 16px;
  margin-bottom: 20px;
}

.invest__info__img__container {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  position: relative;
}

.invest__signature {
  width: 180px;
  height: 35px;
  margin-top: 16px;
  margin-bottom: 12px;
  margin-left: -5px;
}
.invest__signature img { width: 180px; height: auto; }

.invest__position {
  font-family: var(--font-light);
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.65);
}

.invest__name {
  font-family: var(--font-bold);
  color: var(--white);
  margin-top: 2px;
}

.invest__card__img {
  position: relative;
  right: 60px;
  height: 180px;
  min-width: 170px;
  width: 45%;
  overflow: hidden;
}
.invest__card__img img {
  position: absolute;
  height: 190px;
  right: -50px;
  top: -4px;
  width: auto;
}

@media (min-width: 360px) {
  .invest__card__img { right: 55px; }
  .invest__signature { width: 210px; height: 44px; }
  .invest__title { font-size: 2.5rem; }
}
@media (min-width: 744px) {
  .invest { padding: 56px 24px; }
  .invest__text { width: 340px; }
  .invest__info__img__container { max-height: 200px; }
  .invest__card__img,
  .invest__card__img img { height: 260px; width: 280px; top: -30px; right: -20px; overflow: visible; }
  .invest__signature { margin-top: 24px; margin-bottom: 8px; }
}
@media (min-width: 1248px) {
  .invest { padding: 72px 24px; }
  .invest__text { width: 340px; }
  .invest__card__img,
  .invest__card__img img { height: 370px; width: 400px; top: -85px; right: -70px; }
  .invest__signature { width: 240px; }
}


/* =============================================
   FAQ SECTION
   ============================================= */

.faq {
  background: var(--white-grey);
  width: 100%;
  padding: 40px 24px;
  box-sizing: border-box;
}

.faq__title__text { margin-bottom: 28px; font-size: 1.75rem; }

@media (min-width: 744px) {
  .faq { padding: 56px 24px; }
  .faq__title__text { font-size: 2.1rem; margin-bottom: 36px; }
}
@media (min-width: 1248px) {
  .faq { padding: 72px 24px; }
  .faq__title__text { font-size: 2.4rem; margin-bottom: 48px; }
}


/* =============================================
   ACCORDION / LIST ITEMS
   ============================================= */

.list__column { list-style: none; width: 100%; }

.list__item {
  position: relative;
  margin-top: 20px;
  padding-bottom: 20px;
  border-bottom: 0.5px solid rgba(0,24,72,0.12);
  animation: 0.5s both flipdown;
}

.list__item:first-of-type  { animation-delay: 0.5s;   margin-top: 0; }
.list__item:nth-of-type(2) { animation-delay: 0.75s; }
.list__item:nth-of-type(3) { animation-delay: 1s; }
.list__item:nth-of-type(4) { animation-delay: 1.25s; }
.list__item:nth-of-type(5) { animation-delay: 1.5s; }
.list__item:last-of-type   { padding-bottom: 0; border: none; }

.list__item__title {
  display: block;
  margin-right: 40px;
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.4;
  cursor: pointer;
  transition: color 0.2s;
}
.list__item:hover .list__item__title { color: var(--navy-mid); }

.list__item__paragraph {
  color: var(--grey);
  overflow: hidden;
  margin-top: 14px;
  font-size: 0.93rem;
  line-height: 1.65;
  position: relative;
  z-index: 2;
  transition: 0.25s ease-in-out;
}

.list__item input[type="checkbox"] {
  position: absolute;
  cursor: pointer;
  width: 100%;
  height: 26px;
  z-index: 1;
  opacity: 0;
}
.list__item input[type="checkbox"]:checked ~ .list__item__content {
  margin-top: 0;
  max-height: 0;
  opacity: 0;
  transform: translateY(50%);
}

.circle {
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--navy);
  box-sizing: border-box;
  border-radius: 50%;
  position: absolute;
  right: 0;
  top: 0;
  transition: border-color 0.2s, background 0.2s;
}
.list__item:hover .circle {
  border-color: var(--navy-mid);
  background: rgba(47,125,250,0.05);
}

.list__item i {
  position: absolute;
  transform: translate(-6px, -1px);
  right: 8px;
  top: 12px;
  transition: 0.25s ease-in-out;
}
.list__item i::after,
.list__item i::before {
  content: "";
  position: absolute;
  background: var(--navy);
  width: 1.5px;
  height: 5px;
  transition: 0.25s ease-in-out;
}
.list__item i::before { transform: translate(-2px, 0) rotate(45deg); }
.list__item i::after  { transform: translate(1px, 0) rotate(-45deg); }

.list__item input[type="checkbox"]:checked ~ i::before { transform: translate(1px, 0) rotate(45deg); }
.list__item input[type="checkbox"]:checked ~ i::after  { transform: translate(-2px, 0) rotate(-45deg); }
.list__item input[type="checkbox"]:checked ~ i         { transform: translate(-5.8px, 0); }

.list__item__content { transition: 0.25s ease-in-out; }


/* =============================================
   FOOTER
   ============================================= */

.footer {
  background: var(--footer-gradient);
  padding: 40px 24px;
  box-sizing: border-box;
}

.invest__another__info { width: 100%; }

.invest__another__text {
  color: rgba(255,255,255,0.72);
  font-size: 0.88rem;
  line-height: 1.65;
  width: 100%;
}
.invest__another__text a {
  text-decoration: none;
  color: var(--gold);
  cursor: pointer;
  transition: opacity 0.2s;
}
.invest__another__text a:hover { opacity: 0.8; }

.invest__socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}
.invest__socials a { display: flex; align-items: center; justify-content: center; }
.invest__socials div {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; justify-content: center; align-items: center;
  background-color: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  transition: background 0.2s, border-color 0.2s;
}
.invest__socials div:hover {
  background-color: rgba(255,218,48,0.15);
  border-color: rgba(255,218,48,0.4);
}
.invest__socials div img { width: 17px; height: 14px; }

.terms {
  display: block;
  text-decoration: none;
  font-size: 0.75rem;
  line-height: 1.2;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}
.terms:hover { color: var(--gold); }
.terms:first-of-type { margin-top: 20px; margin-bottom: 6px; }

@media (min-width: 744px) {
  .invest__another__info {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
  }
  .invest__another__text { flex: 1; }
  .invest__socials { margin-top: 0; flex-wrap: wrap; }
  .footer { padding: 56px 24px; }
}
@media (min-width: 1248px) { .footer { padding: 64px 24px; } }


/* =============================================
   UTILITY
   ============================================= */

main {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: var(--white);
}

.certificate, .enroll, .invest, .faq, .footer { box-sizing: border-box; }