/* =========================
   NALS FOR NAILS - MINIMALISTA
   ========================= */

/* HERO */

.nails-hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  place-items: center;
  padding-top: 130px;
  padding-bottom: 70px;
  overflow: hidden;
  background: #fff;
}

.nails-hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(236,241,239,.80), rgba(147, 207, 186,.66)),
    url("../images/stock/formando-nals.png") center/cover no-repeat;
}

.nails-hero__content {
  position: relative;
  z-index: 2;
}

.nails-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--azul-nals);
  font-family: "Satoshi-Black", sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .7px;
  text-transform: uppercase;
}

.nails-hero__title {
  max-width: 850px;
  margin: 0 0 22px 0;
  color: var(--text-dark);
  font-size: clamp(38px, 4.6vw, 66px);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.8px;
}

.nails-hero__text {
  max-width: 1020px;
}

.nails-hero__text p {
  color: var(--gris-texto);
  font-size: 17px;
  line-height: 1.72;
  margin-bottom: 16px;
}

.nails-hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.hero-btn {
  display: inline-block;
  font-size: 20px;
  padding: 13px 28px;
  border-radius: 6px;
  background: var(--azul-nals);
  color: #fff;
  text-decoration: none;
  font-family: "Satoshi-Bold", sans-serif;
  font-weight: 800;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}

.hero-btn:hover,
.hero-btn:focus,
.hero-btn:active {
  background: var(--azul-nals-dark);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}

.hero-btn-outline {
  background: transparent;
  color: var(--azul-nals);
  border: 2px solid var(--azul-nals);
}

.hero-btn-outline:hover {
  background:transparent;
  color: var(--azul-nals-dark);
  border-color: var(--azul-nals-dark);
}

.nails-hero__image-frame {
  width: min(100%, 360px);
  aspect-ratio: 3 / 4;
  margin-left: auto;
  margin-right: auto;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  border: 1px solid var(--border-soft);
}

.nails-hero__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* INTRO NIVELES */

.section-subtitle {
  margin-top: -16px;
  margin-bottom: 18px;
  color: var(--azul-nals);
  font-family: "Satoshi-Bold", sans-serif;
  font-size: 30px;
  font-weight: 800;
}

.levels-intro {
  max-width: 860px;
  margin: 0 auto;
  color: var(--gris-texto);
  font-size: 18px;
  line-height: 1.75;
}

/* TARJETAS NIVELES */

.level-card {
  position: relative;
  height: 100%;
  min-height: 370px;
  padding: 36px 30px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.level-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(29,175,150,.28);
}

.level-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.level-card--white::before {
    background: #ffffff;
}

.level-card--silver::before {
    background: linear-gradient(135deg, #ffffff, #9b9b9b);
}

.level-card--gold::before {
    background: linear-gradient(135deg, #FFF7E3, #D1B984);
}

.level-number {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  text-align: center;
  margin-bottom: 24px;
  background: var(--azul-nals);
  color: var(--azul-cielo);
  font-family: "Satoshi-Black", sans-serif;
  font-size: 26px;
  font-weight: 800;
}

.level-title {
  position: relative;
  z-index: 1;
  color: var(--text-dark);
  font-size: 31px;
  font-weight: 800;
  margin-bottom: 16px;
}

.level-text {
  position: relative;
  z-index: 1;
  color: var(--gris-texto);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 30px;
}

.level-btn {
  position: relative;
  z-index: 1;
  margin-top: auto;
  display: inline-block;
  width: fit-content;
  padding: 12px 24px;
  border-radius: 6px;
  background: var(--azul-nals);
  color: #fff;
  font-family: "Satoshi-Bold", sans-serif;
  font-size: 19px;
  font-weight: 700;
  text-decoration: none;
  transition: background .25s ease, transform .25s ease;
}

.level-btn:hover {
  background: var(--azul-nals-dark);
  color: #fff;
  transform: translateY(-2px);
}

/* BLOQUE FORMACIÓN */

.training-img-frame {
  width: min(100%, 380px);
  aspect-ratio: 4 / 5;
  margin-inline: auto;
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
}

.training-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.training-content {
  max-width: 760px;
}

.training-content .nails-eyebrow {
  color: var(--azul-nals);
}

.training-title {
  margin-bottom: 24px;
  color: var(--text-dark);
  font-size: clamp(34px, 3.4vw, 52px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.5px;
}

.training-content p {
  color: var(--gris-texto);
  font-size: 17px;
  line-height: 1.78;
  margin-bottom: 18px;
}

/* PREMATRÍCULA */

.prematricula-section {
  background: var(--gris-claro);
}

.prematricula-card {
  padding: 42px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.prematricula-card .nails-eyebrow {
  color: var(--azul-nals);
}

.prematricula-title {
  color: var(--text-dark);
  font-size: clamp(34px, 3.6vw, 54px);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 18px;
  letter-spacing: -.5px;
}

.prematricula-card p {
  color: var(--gris-texto);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 0;
}

.prematricula-actions {
  display: grid;
  gap: 18px;
  justify-items: start;
}

.prematricula-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 6px;
  background: var(--azul-nals);
  color: #fff;
  text-decoration: none;
  font-family: "Satoshi-Bold", sans-serif;
  font-size: 21px;
  font-weight: 800;
  transition: background .25s ease, transform .25s ease;
}

.prematricula-btn:hover {
  background: var(--azul-nals-dark);
  color: #fff;
  transform: translateY(-2px);
}

.prematricula-link {
  color: var(--gris-texto);
  font-size: 17px;
  text-decoration: none;
}

.prematricula-link:hover {
  color: var(--azul-nals);
  text-decoration: underline;
}

/* FAQ */

.nails-faq {
  max-width: 920px;
  margin-inline: auto;
  background:  var(--gris-claro);
}

.nails-faq .accordion-item {
  border: 1px solid var(--azul-claro);
  margin-bottom: 14px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: none;
  background: #fff;
}

.nails-faq .accordion-button {
  background: #fff;
  color: var(--text-dark);
  font-family: "Satoshi-Bold", sans-serif;
  font-size: 22px;
  font-weight: 800;
  padding: 20px 24px;
  box-shadow: none;
}

.nails-faq .accordion-button:not(.collapsed) {
  background: var(--azul-nals);
  color: var(--azul-cielo);
}

.nails-faq .accordion-button:focus {
  box-shadow: none;
}

.nails-faq .accordion-body {
  color: var(--gris-texto);
  font-size: 17px;
  line-height: 1.7;
  padding: 22px 24px 26px 24px;
}

.nails-faq .accordion-body a {
  color: var(--azul-nals);
  font-weight: 700;
}

/* RESPONSIVE */

@media (max-width: 992px) {

  .nails-hero {
    text-align: center;
    padding-top: 120px;
  }

  .nails-hero__bg {
    background:
      linear-gradient(90deg, rgba(236,241,239,.86), rgba(147, 207, 186,.66)),
      url("../images/stock/formando-nals.png") center/cover no-repeat;
  }

  .nails-hero__text {
    margin-inline: auto;
  }

  .nails-hero__buttons {
    justify-content: center;
  }

  .nails-hero__image-frame {
    width: min(100%, 300px);
  }

  .training-content {
    text-align: center;
    margin-inline: auto;
  }

  .prematricula-actions {
    justify-items: center;
  }

  .prematricula-card {
    text-align: center;
  }
}

@media (max-width: 575px) {

  .nails-hero {
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 54px;
  }

  .nails-hero__text p {
    font-size: 16px;
    line-height: 1.65;
  }

  .nails-hero__buttons {
    gap: 12px;
  }

  .hero-btn {
    width: 100%;
    font-size: 18px;
    padding: 12px 20px;
  }

  .section-title {
    font-size: 38px;
  }

  .section-subtitle {
    font-size: 25px;
  }

  .levels-intro {
    font-size: 16px;
    line-height: 1.65;
  }

  .level-card {
    min-height: auto;
    padding: 32px 24px;
    border-radius: 24px;
  }

  .prematricula-card {
    padding: 30px 22px;
    border-radius: 24px;
  }

  .prematricula-btn {
    width: 100%;
    justify-content: center;
    font-size: 19px;
    padding: 13px 20px;
  }

  .nails-faq .accordion-button {
    font-size: 19px;
    padding: 18px 20px;
  }
}