/* ============================================================
   BAClass · Landing page
   Pure CSS — mobile-first, responsive
   ============================================================ */

:root {
  --navy: #16213a;
  --navy-deep: #0f1b30;
  --navy-2: #1f2d4d;
  --orange: #f7941d;
  --orange-dark: #e07e08;
  --cream: #fff7ef;
  --ink: #1c2433;
  --muted: #5b6577;
  --white: #ffffff;
  --line: #e3ddd3;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 18px 44px rgba(22, 33, 58, 0.14);
  --shadow-sm: 0 8px 22px rgba(22, 33, 58, 0.08);

  --container: 1180px;
  --gap: clamp(1rem, 3vw, 2rem);
  --ff: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--ff);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4 {
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 700;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: clamp(3rem, 8vw, 6rem) 0;
}

#testimoniale > .container {
  width: min(100% - 2rem, 1560px);
}

.section--cream {
  background: var(--cream);
}

.section--dark {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.9);
}

.section--profs {
  position: relative;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.94)),
    url("../images/section7_bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.section--profs::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 85% 12%, rgba(247, 148, 29, 0.16), transparent 70%),
    radial-gradient(55% 50% at 12% 90%, rgba(22, 33, 58, 0.12), transparent 70%);
  pointer-events: none;
}

.section--profs > .container {
  position: relative;
  z-index: 1;
}

.section__title {
  font-size: clamp(1.7rem, 4.5vw, 2.7rem);
  font-weight: 700;
  color: var(--navy);
}

.section__title--center {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3.2rem);
}

.section__title--light {
  color: var(--white);
}

.section__lead {
  color: var(--muted);
  font-size: 1.05rem;
}

.accent {
  color: var(--orange);
}

/* ---------- SVG icons ---------- */
.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.6rem;
  height: 1.6rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: inline-block;
  vertical-align: middle;
  flex: 0 0 auto;
}

.icon--lg {
  width: 2.4rem;
  height: 2.4rem;
}

.icon--xl {
  width: clamp(3.2rem, 9vw, 5rem);
  height: clamp(3.2rem, 9vw, 5rem);
  stroke-width: 1.4;
}

.icon--solid {
  fill: currentColor;
  stroke: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 10px 22px rgba(247, 148, 29, 0.35);
}

.btn--primary:hover {
  background: var(--orange-dark);
}

.btn--white {
  background: #fff;
  color: var(--orange);
  box-shadow: var(--shadow-sm);
  font-weight: 700;
}

.btn--white:hover {
  background: var(--orange);
  color: #fff;
}

.btn--lg {
  padding: 0.95rem 2.4rem;
  font-size: 1.35rem;
  font-weight: 800;
  border-radius: 1rem;
}

/* ---------- Pills ---------- */
.pill-white {
  display: inline-block;
  background: #fff;
  color: var(--orange);
  padding: 0.05em 0.5em;
  border-radius: 16px;
  font-weight: 800;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.pill-white.is-swapping {
  opacity: 0;
  transform: translateY(-0.25em);
}

.logo {
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.logo--light {
  color: #fff;
}

.logo__img {
  display: block;
  height: 34px;
  width: auto;
}

/* ============================================================
   HEADER (transparent overlay → solid on scroll)
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.site-header.is-scrolled {
  background: var(--navy);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.site-header.is-solid {
  background: var(--navy);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* ---------- Ghost button (Login) ---------- */
.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  font-weight: 700;
}

.btn--ghost:hover {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

/* ---------- Primary navigation ---------- */
.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.2rem);
}

.nav__list {
  display: none;
  align-items: center;
  gap: clamp(0.8rem, 1.8vw, 1.6rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  position: relative;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.35rem 0.1rem;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav__link:hover {
  color: #fff;
}

.nav__link:hover::after {
  transform: scaleX(1);
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

/* ---------- Account dropdown (când ești conectat) ---------- */
.account-menu {
  position: relative;
}

.account-menu__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.account-menu__toggle .icon {
  width: 18px;
  height: 18px;
}

.account-menu__caret {
  width: 15px;
  height: 15px;
  transition: transform 0.25s ease;
}

.account-menu.is-open .account-menu__caret {
  transform: rotate(180deg);
}

.account-menu__panel {
  position: absolute;
  top: calc(100% + 0.6rem);
  right: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 120;
}

.account-menu.is-open .account-menu__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.account-menu__item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.account-menu__item .icon {
  width: 18px;
  height: 18px;
  color: var(--muted);
  transition: color 0.2s ease;
}

.account-menu__item:hover {
  background: #fef4e6;
  color: var(--navy);
}

.account-menu__item:hover .icon {
  color: var(--orange);
}

.account-menu__divider {
  height: 1px;
  background: var(--line);
  margin: 0.3rem 0.4rem;
}

.account-menu__item--danger {
  color: #c0392b;
}

.account-menu__item--danger .icon {
  color: #c0392b;
}

.account-menu__item--danger:hover {
  background: #fdecea;
  color: #c0392b;
}

.account-menu__item--danger:hover .icon {
  color: #c0392b;
}

/* ---------- Mobile menu toggle (burger) ---------- */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 9px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2.5px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.site-header.is-menu-open .nav-toggle span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.site-header.is-menu-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-menu-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(15, 27, 48, 0.5);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.nav-backdrop[hidden] {
  display: none;
}

@media (min-width: 1200px) {
  .nav__list {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }
}

/* ---------- Mobile slide-down menu (below 1200px) ---------- */
@media (max-width: 1199.98px) {
  .nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    z-index: 95;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.6rem 1.1rem 1.4rem;
    background: var(--navy);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
  }

  .site-header.is-menu-open .nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav__list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav__list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav__link {
    display: block;
    padding: 0.95rem 0.4rem;
    font-size: 1.05rem;
  }

  .nav__link::after {
    display: none;
  }

  .nav__cta {
    margin-top: 1.1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.7rem;
  }

  .nav__cta .btn {
    width: 100%;
    justify-content: center;
  }

  .account-menu {
    width: 100%;
  }

  .account-menu__toggle {
    display: none;
  }

  .account-menu__panel {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
    padding: 0;
    gap: 0.7rem;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .account-menu__item {
    justify-content: center;
    padding: 0.85rem;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    color: #fff;
  }

  .account-menu__item .icon {
    color: rgba(255, 255, 255, 0.85);
  }

  .account-menu__item:hover {
    background: #fff;
    color: var(--navy);
  }

  .account-menu__item:hover .icon {
    color: var(--orange);
  }

  .account-menu__divider {
    display: none;
  }

  .account-menu__item--danger {
    color: #fff;
  }

  .account-menu__item--danger .icon {
    color: rgba(255, 255, 255, 0.85);
  }

  .account-menu__item--danger:hover {
    background: #fff;
    color: #c0392b;
  }

  .account-menu__item--danger:hover .icon {
    color: #c0392b;
  }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: clamp(440px, 70vh, 640px);
  display: flex;
  align-items: center;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(36, 58, 99, 0.6), rgba(15, 27, 48, 0.8)),
    url("../images/hero.jpg") center / cover no-repeat;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 27, 48, 0.4), rgba(15, 27, 48, 0.72));
}

.hero__inner {
  position: relative;
  padding-top: 70px;
}

.hero__title {
  font-size: clamp(2.1rem, 6.5vw, 4rem);
  font-weight: 600;
  margin: 0 auto 1rem;
  max-width: 18ch;
}

.hero__title strong {
  font-weight: 800;
}

.hero__subtitle {
  color: var(--orange);
  font-size: clamp(1rem, 2.4vw, 1.4rem);
  font-weight: 500;
  margin: 0;
}

.hero__subtitle strong {
  font-weight: 800;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-wrap {
  background: #fff;
  padding: clamp(1.5rem, 4vw, 2.5rem) 0;
}

.stats {
  background: var(--orange);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.4rem clamp(1.2rem, 5vw, 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 4vw, 1.6rem);
  box-shadow: 0 16px 34px rgba(247, 148, 29, 0.3);
}

.stats__item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.stats__icon {
  line-height: 0;
  color: #fff;
}

.stats__icon--elevi,
.stats__icon--calendar {
  display: inline-block;
  width: 2.6rem;
  height: 2.6rem;
  background-color: #fff;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.stats__icon--elevi {
  -webkit-mask-image: url("../images/icons/elevi.svg");
  mask-image: url("../images/icons/elevi.svg");
}

.stats__icon--calendar {
  -webkit-mask-image: url("../images/icons/calendar.svg");
  mask-image: url("../images/icons/calendar.svg");
}

.stats__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.stats__num {
  font-size: clamp(1.4rem, 3.4vw, 1.7rem);
  font-weight: 800;
}

.stats__label {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 600;
  opacity: 0.95;
}

.stats__divider {
  align-self: stretch;
  height: 2px;
  background: rgba(255, 255, 255, 0.45);
}

@media (min-width: 640px) {
  .stats {
    flex-direction: row;
    gap: clamp(1.5rem, 5vw, 3rem);
  }

  .stats__divider {
    width: 2px;
    height: auto;
    align-self: stretch;
  }

  /* tablet: număr sus, label mai mic dedesubt */
  .stats__label {
    font-size: 0.95rem;
    font-weight: 500;
  }
}

@media (min-width: 1024px) {
  /* desktop: totul inline, dimensiuni apropiate */
  .stats__text {
    flex-direction: row;
    align-items: baseline;
    gap: 0.5rem;
  }

  .stats__label {
    font-size: 1.5rem;
    font-weight: 600;
  }
}

/* ============================================================
   STEPS
   ============================================================ */
.steps {
  display: grid;
  gap: var(--gap);
}

.step-card {
  background: #fff;
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
}

.step-card__num {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--orange);
  color: var(--navy);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.step-card h3 {
  font-size: 1.25rem;
  color: var(--navy);
}

.step-card p {
  color: var(--muted);
  margin: 0 0 1.2rem;
  flex: 1;
}

.step-card__media {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  color: var(--navy);
}

.step-card__media--yellow {
  background: linear-gradient(135deg, #ffe2a8, #ffd17a);
}

.step-card__media--green {
  background: linear-gradient(135deg, #cfe9cf, #a9d8b0);
}

.step-card__img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.step-card--photo {
  position: relative;
  overflow: hidden;
}

.step-card--photo p {
  flex: 0 0 auto;
}

.step-card__photo {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 62%;
  max-width: 230px;
  height: auto;
  pointer-events: none;
  z-index: 1;
}

/* Subject picker (vertical) */
.subject-picker {
  display: grid;
  gap: 0.6rem;
  margin-top: auto;
}

.subject-picker__opt {
  border: 2px solid var(--navy);
  background: #fff;
  color: var(--navy);
  padding: 0.7rem 1rem;
  border-radius: 12px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.subject-picker__opt--dark {
  background: var(--navy);
  color: #fff;
}

.subject-picker__opt.is-active {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

/* ============================================================
   BENEFITS / shared media boxes
   ============================================================ */
.benefits {
  display: grid;
  gap: clamp(1.5rem, 5vw, 3rem);
  align-items: center;
}

.section--benefits {
  /* padding-top: clamp(2rem, 5vw, 3.5rem); */
  padding-top: 0 !important;
  padding-bottom: 0;
  position: relative;
  background-image:
    linear-gradient(
      to bottom,
      #ffffff 0%,
      rgba(255, 255, 255, 0.9) 14%,
      rgba(255, 247, 239, 0.66) 48%,
      rgba(255, 247, 239, 0.58) 100%
    ),
    url("../images/section7_bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.section--benefits::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.35) 0%,
    transparent 30%
  );
  pointer-events: none;
}

.section--benefits > .container {
  position: relative;
  z-index: 1;
}

.section--benefits .benefits {
  align-items: end;
}

.section--benefits .benefits__content {
  align-self: center;
}

.benefits__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.section--benefits .benefits__img {
  border-radius: 0;
  margin-bottom: -1px;
}

.photo-box {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  gap: 0.4rem;
  grid-auto-flow: column;
  color: rgba(255, 255, 255, 0.95);
  background: linear-gradient(135deg, var(--orange), #ffce8a);
}

.photo-box--pink {
  background: linear-gradient(135deg, #f7c6cf, #f4a9b6);
}

.photo-box--navy {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--navy-2), #324168);
}

.photo-box--piggy {
  aspect-ratio: 1;
  background: linear-gradient(135deg, #f7b5c4, #f48aa0);
}

.photo-box--device {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #ffe2a8, var(--orange));
  color: var(--navy);
}

.benefit-pills {
  display: grid;
  gap: 1rem;
}

.benefit-pill {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--orange);
  color: #fff;
  border-radius: 1.5rem;
  padding: 1rem 1.5rem;
  box-shadow: 0 10px 24px rgba(247, 148, 29, 0.25);
  font-size: 0.98rem;
}

.benefit-pill__icon {
  line-height: 0;
  flex: 0 0 auto;
  color: #fff;
}

.benefit-pill__icon--cf1,
.benefit-pill__icon--cf2,
.benefit-pill__icon--cf3,
.benefit-pill__icon--cf4 {
  display: inline-block;
  width: 1.75rem;
  height: 1.75rem;
  background-color: #fff;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.benefit-pill__icon--cf1 {
  -webkit-mask-image: url("../images/icons/cf_1.svg");
  mask-image: url("../images/icons/cf_1.svg");
}

.benefit-pill__icon--cf2 {
  -webkit-mask-image: url("../images/icons/cf_2.svg");
  mask-image: url("../images/icons/cf_2.svg");
}

.benefit-pill__icon--cf3 {
  -webkit-mask-image: url("../images/icons/cf_3.svg");
  mask-image: url("../images/icons/cf_3.svg");
}

.benefit-pill__icon--cf4 {
  -webkit-mask-image: url("../images/icons/cf_4.svg");
  mask-image: url("../images/icons/cf_4.svg");
}

/* Check list (green ticks) */
.check-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}

.check-list li {
  position: relative;
  padding-left: 2.2rem;
  color: var(--muted);
}

.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.5rem;
  height: 1.5rem;
  display: grid;
  place-items: center;
  background: #34c759;
  color: #fff;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
}

/* Simple bullet list */
.bullet-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.bullet-list li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--ink);
}

.bullet-list li::before {
  content: "\2022";
  position: absolute;
  left: 0.2rem;
  top: -0.05rem;
  color: var(--navy);
  font-weight: 700;
  font-size: 1.1rem;
}

/* ============================================================
   ENROLL (dark)
   ============================================================ */
.enroll {
  position: relative;
  padding-block: clamp(1.2rem, 3.2vw, 2.4rem);
  background-image: linear-gradient(rgba(10, 18, 34, 0.92), rgba(7, 13, 26, 0.96)),
    url("../images/section9_bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.enroll::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(55% 50% at 80% 18%, rgba(247, 148, 29, 0.14), transparent 70%),
    radial-gradient(50% 45% at 15% 85%, rgba(36, 58, 99, 0.45), transparent 70%);
  pointer-events: none;
}

.enroll__inner {
  position: relative;
  z-index: 1;
}

@media (max-width: 639px) {
  .enroll {
    padding-block: 2.75rem;
  }
}

.enroll__inner {
  display: grid;
  gap: clamp(1.5rem, 5vw, 3rem);
  align-items: center;
}

.enroll__text {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.8rem;
  max-width: 46ch;
  font-size: 1.05rem;
}

.enroll__img {
  display: block;
  width: 100%;
  height: auto;
}

/* ============================================================
   PROFESSORS CAROUSEL
   ============================================================ */
.carousel {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.carousel__viewport {
  overflow: hidden;
  flex: 1;
}

.carousel__track {
  display: flex;
  gap: var(--gap);
  transition: transform 0.4s ease;
  will-change: transform;
}

.teacher-card {
  flex: 0 0 100%;
  text-align: center;
}

.teacher-card__avatar {
  width: clamp(150px, 24vw, 220px);
  height: clamp(150px, 24vw, 220px);
  border-radius: 50%;
  margin: 0 auto 1.1rem;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: linear-gradient(135deg, #f0ece4, #e4ddd0);
  border: 4px solid var(--orange);
}

.teacher-card__avatar--photo {
  overflow: hidden;
  background: #f0ece4;
}

.teacher-card__avatar--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.teacher-card h3 {
  color: var(--navy);
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.teacher-card p {
  color: var(--muted);
  margin: 0 auto;
  max-width: 30ch;
  font-size: 0.96rem;
}

.carousel__arrow {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border: 0;
  background: none;
  background-color: #9b9b9b;
  color: transparent;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  transition: background-color 0.2s, transform 0.2s;
}

.carousel__arrow--prev {
  -webkit-mask-image: url("../images/go-left.png");
  mask-image: url("../images/go-left.png");
}

.carousel__arrow--next {
  -webkit-mask-image: url("../images/go-right.png");
  mask-image: url("../images/go-right.png");
}

.carousel__arrow:hover {
  background-color: var(--orange);
  transform: scale(1.05);
}

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.8rem;
}

.carousel__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  background: #cfc8bb;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.carousel__dot.is-active {
  background: var(--orange);
  transform: scale(1.25);
}

/* ---------- Profesori: mesaj de mentenanță ---------- */
.profs-maint {
  max-width: 760px;
  margin: 0 auto;
  grid-column: 1 / -1;
  text-align: center;
  background: linear-gradient(160deg, var(--navy-2), var(--navy-deep));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(2rem, 5vw, 3.2rem);
}

.profs-maint__icon {
  display: inline-grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin-bottom: 1.2rem;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
}

.profs-maint__icon .icon {
  width: 38px;
  height: 38px;
}

.profs-maint__title {
  color: #fff;
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  font-weight: 800;
  margin: 0 0 0.8rem;
}

.profs-maint__text {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.02rem;
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   TESTIMONIALS (masonry-ish)
   ============================================================ */
.testimonials {
  display: grid;
  gap: var(--gap);
}

/* ---------- Marquee (auto-scroll) ---------- */
.marquee {
  --t-card-w: clamp(290px, 80vw, 380px);
  position: relative;
  overflow: hidden;
  margin-top: clamp(1.8rem, 5vw, 3rem);
  display: grid;
  gap: clamp(0.8rem, 2vw, 1.4rem);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  list-style: none;
  margin: 0;
  padding: 0.4rem 0;
  animation: marquee-scroll 55s linear infinite;
}

.marquee__track--offset {
  margin-left: calc(var(--t-card-w) * -0.4);
  animation-duration: 68s;
}

.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
  }
}

.t-card {
  flex: 0 0 auto;
  width: var(--t-card-w);
  margin-right: var(--gap);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #fff;
  border: 8px solid #fff;
  border-radius: 20px;
  padding: 1.1rem;
  box-shadow: 0 10px 24px rgba(28, 36, 51, 0.1);
}

.t-card--green {
  background: #eef6ee;
}

.t-card--green .t-card__tag {
  color: #3f8a4a;
}

.t-card--peach {
  background: #fdeee1;
}

.t-card--peach .t-card__tag {
  color: var(--orange);
}

.t-card--blue {
  background: #e9f1fb;
}

.t-card--blue .t-card__tag {
  color: #2f6bd6;
}

.t-card--lav {
  background: #efeafb;
}

.t-card--lav .t-card__tag {
  color: #6b46c1;
}

.t-card--white {
  background: #f4f1ec;
}

.t-card--white .t-card__tag {
  color: var(--orange);
}

.t-card__avatar {
  width: 76px;
  height: 76px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: linear-gradient(135deg, #f0ece4, #e4ddd0);
  border: 3px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.t-card__content {
  min-width: 0;
}

.t-card__head {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.45rem;
  font-weight: 700;
  color: var(--navy);
}

.t-card__quote {
  color: var(--orange);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
}

.t-card__text {
  margin: 0 0 0.55rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--ink);
}

.t-card__author {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
}

.t-card__tag {
  display: inline-block;
  margin-top: 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
}

/* ============================================================
   PLANS
   ============================================================ */
.section--plans {
  position: relative;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.94)),
    url("../images/section6_bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.section--plans::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 85% 12%, rgba(247, 148, 29, 0.16), transparent 70%),
    radial-gradient(55% 50% at 12% 90%, rgba(22, 33, 58, 0.12), transparent 70%);
  pointer-events: none;
}

.section--plans > .container {
  position: relative;
  z-index: 1;
}

.plans {
  display: grid;
  gap: var(--gap);
  align-items: stretch;
}

.plan-card {
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
}

.plan-card--outline {
  background: #fff;
  border: 2px solid var(--navy);
  color: var(--ink);
}

.plan-card--orange {
  background: var(--orange);
  color: #fff;
}

.plan-card--navy {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.9);
}

.plan-card__title {
  font-size: 1.5rem;
  font-weight: 800;
  color: inherit;
  padding-bottom: 0.6rem;
  margin: 0 0 0.8rem;
  position: relative;
}

.plan-card--outline .plan-card__title {
  color: var(--navy);
}

.plan-card__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  border-radius: 3px;
  background: var(--orange);
}

.plan-card--orange .plan-card__title::after,
.plan-card--navy .plan-card__title::after {
  background: rgba(255, 255, 255, 0.85);
}

.plan-card__price {
  font-size: 2.3rem;
  font-weight: 800;
  margin: 0 0 0.4rem;
  color: inherit;
}

.plan-card--outline .plan-card__price {
  color: var(--navy);
}

.plan-card__price span {
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.8;
}

.plan-card__period {
  margin: 0 0 1.2rem;
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0.75;
}

.plan-card__features {
  display: grid;
  gap: 0.7rem;
  margin: 0 0 1.6rem;
  flex: 1;
}

.plan-card__features li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.93rem;
}

.plan-card__features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--orange);
}

.plan-card--orange .plan-card__features li::before,
.plan-card--navy .plan-card__features li::before {
  color: #fff;
}

.plan-card__cta {
  margin-top: auto;
  align-self: stretch;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 800;
  font-size: 1.02rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

.plan-card__cta:hover {
  background: var(--orange-dark);
}

.plan-card__cta:active {
  transform: scale(0.98);
}

/* Card portocaliu: buton alb cu text portocaliu */
.plan-card--orange .plan-card__cta {
  background: #fff;
  color: var(--orange-dark);
}

.plan-card--orange .plan-card__cta:hover {
  background: var(--cream);
}

/* Card navy: buton portocaliu (rămâne default) */
.plan-card--navy .plan-card__cta {
  background: var(--orange);
  color: #fff;
}

.plan-card--navy .plan-card__cta:hover {
  background: var(--orange-dark);
}

.plans__note {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 1.5rem;
}

/* ============================================================
   COMPARE (dark) + panel
   ============================================================ */
.compare {
  background-image: linear-gradient(rgba(15, 27, 48, 0.6), rgba(15, 27, 48, 0.6)),
    url("../images/section3_bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (min-width: 640px) {
  .compare {
    padding-block: clamp(2rem, 4vw, 3rem);
  }
}

.compare__inner {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: center;
}

.compare__img {
  display: block;
  width: 100%;
  height: auto;
}

.compare__panel {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  box-shadow: var(--shadow);
}

.compare__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
}

.compare__head-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.compare__head-icon {
  line-height: 0;
  color: var(--orange);
}

.compare__head-icon .icon {
  width: 1.9rem;
  height: 1.9rem;
}

.compare__head h2 {
  font-size: 1.4rem;
  color: var(--navy);
  margin: 0 0 0.2rem;
}

.compare__head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.compare__vs {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.8rem;
  align-items: center;
  background: linear-gradient(
    100deg,
    #efeef7 0%,
    #efeef7 47%,
    #fff3e6 53%,
    #fff3e6 100%
  );
  border-radius: var(--radius-sm);
  padding: clamp(0.7rem, 1.6vw, 1rem) clamp(1rem, 2.5vw, 1.5rem);
  margin-bottom: 1.4rem;
}

.compare__opt {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-align: left;
}

.compare__opt--accent {
  justify-content: flex-end;
}

.compare__opt-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: #e3e1f0;
  color: var(--navy);
}

.compare__opt-icon--accent {
  background: rgba(247, 148, 29, 0.18);
  color: var(--orange);
}

.compare__opt-icon .icon {
  width: 1.7rem;
  height: 1.7rem;
}

.compare__opt-text {
  display: grid;
  gap: 0.1rem;
}

.compare__opt-title {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
}

.compare__opt-price {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
}

.compare__opt-price small {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
}

.compare__opt--accent .compare__opt-title,
.compare__opt--accent .compare__opt-price {
  color: var(--orange);
}

.compare__opt-note {
  display: block;
  font-size: 0.76rem;
  color: var(--muted);
}

.compare__badge {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: 0 6px 16px rgba(28, 36, 51, 0.15);
}

.compare__slider {
  margin-bottom: 1.4rem;
}

.compare__slider label {
  display: block;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  text-align: center;
}

.compare__range {
  position: relative;
  padding-top: 2.8rem;
}

.compare__bubble {
  position: absolute;
  top: 0;
  left: var(--pos, 50%);
  transform: translateX(-50%);
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.35rem 0.85rem;
  border-radius: 10px;
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(247, 148, 29, 0.3);
}

.compare__bubble::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: var(--orange);
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background:
    linear-gradient(var(--orange), var(--orange)) 0 / var(--fill, 50%) 100% no-repeat,
    #e6e3dd;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--orange);
  box-shadow: 0 2px 8px rgba(28, 36, 51, 0.25);
  cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--orange);
  box-shadow: 0 2px 8px rgba(28, 36, 51, 0.25);
  cursor: pointer;
}

input[type="range"]::-moz-range-track {
  height: 8px;
  border-radius: 999px;
  background: #e6e3dd;
}

input[type="range"]::-moz-range-progress {
  height: 8px;
  border-radius: 999px;
  background: var(--orange);
}

.compare__ticks {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--navy);
  margin-top: 0.7rem;
}

.compare__result {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(0.6rem, 2vw, 1.4rem);
  background: #faf9f6;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: clamp(0.4rem, 1vw, 0.6rem) clamp(1.2rem, 3vw, 2rem);
  max-width: 720px;
  margin: 0 auto 1.4rem;
}

.compare__result-col {
  text-align: center;
  display: grid;
  gap: 0.05rem;
}

.compare__result-col span {
  font-size: 0.82rem;
  color: var(--muted);
}

.compare__result-col strong {
  font-size: clamp(1.1rem, 2.6vw, 1.4rem);
  font-weight: 500;
  color: var(--navy);
}

.compare__result-col--accent strong {
  color: var(--orange);
}

.compare__result-vs {
  display: grid;
  place-items: center;
  width: 54px;
  height: 38px;
  padding-right: 10px;
  background: #ebe8e1;
  color: var(--navy);
  font-weight: 800;
  font-size: 0.78rem;
  clip-path: polygon(0 0, 68% 0, 100% 50%, 68% 100%, 0 100%);
}

.compare__savings {
  background: #fdf7f0;
  border: 1px solid #f1e7da;
  border-radius: var(--radius-sm);
  padding: clamp(0.7rem, 1.6vw, 1rem) clamp(1rem, 2.2vw, 1.4rem);
  display: grid;
  gap: clamp(0.8rem, 2.5vw, 1.8rem);
  align-items: center;
}

@media (min-width: 768px) {
  .compare__savings {
    grid-template-columns: auto 1fr auto;
  }

  .compare__perks {
    border-left: 1px solid #ece1d3;
    padding-left: clamp(1rem, 2.5vw, 1.6rem);
    align-content: center;
  }
}

.compare__savings-main {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.compare__savings-text {
  display: grid;
  gap: 0.1rem;
}

.compare__savings-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
}

.compare__savings-main strong {
  color: var(--orange);
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
}

.compare__savings-main strong small {
  font-size: 0.55em;
  font-weight: 500;
  color: var(--muted);
}

.compare__savings-year {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--navy);
}

.compare__savings-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #faeede;
  color: var(--orange);
}

.compare__savings-icon .icon {
  width: 1.8rem;
  height: 1.8rem;
}

.compare__savings-art {
  display: none;
  line-height: 0;
}

.compare__savings-art svg {
  width: 100%;
  max-width: 150px;
  height: auto;
}

@media (min-width: 768px) {
  .compare__savings-art {
    display: block;
  }
}

.compare__perks {
  display: grid;
  gap: 0.55rem;
}

.compare__perks li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--navy);
  white-space: nowrap;
}

.compare__perk-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: rgba(247, 148, 29, 0.15);
  color: var(--orange);
}

.compare__perk-icon .icon {
  width: 1.05rem;
  height: 1.05rem;
}

.compare__foot {
  margin: 1.2rem 0 0;
  font-size: 0.76rem;
  color: var(--muted);
  text-align: center;
}

.compare__upsell {
  margin: 1rem 0 0;
  padding: 0.7rem 1rem;
  border-radius: 12px;
  background: rgba(247, 148, 29, 0.1);
  border: 1px dashed rgba(247, 148, 29, 0.45);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  text-align: center;
  margin-bottom: 15px;
  margin-top: -10px;
}

/* ============================================================
   PROGRESS / dashboard
   ============================================================ */
.section--progress {
  position: relative;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.94)),
    url("../images/section5_bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.section--progress::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 80% 20%, rgba(247, 148, 29, 0.12), transparent 60%),
    radial-gradient(90% 70% at 10% 90%, rgba(22, 33, 58, 0.08), transparent 60%);
  pointer-events: none;
}

.section--progress > .container {
  position: relative;
  z-index: 1;
}

.progress {
  display: grid;
  gap: clamp(1.5rem, 5vw, 3rem);
  align-items: center;
}

.progress-stack {
  display: flex;
  flex-direction: column;
}

.progress-stack__img {
  display: block;
  width: 70%;
  height: auto;
  border-radius: 16px;
  border: 3px solid var(--orange);
  box-shadow: 0 18px 40px rgba(28, 36, 51, 0.22);
  cursor: zoom-in;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.progress-stack__img--back {
  align-self: flex-start;
  position: relative;
  z-index: 1;
}

.progress-stack__img--front {
  align-self: flex-end;
  margin-top: -18%;
  position: relative;
  z-index: 2;
}

.progress-stack__img:hover {
  z-index: 3;
  transform: scale(1.03);
  box-shadow: 0 24px 50px rgba(28, 36, 51, 0.3);
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 5vw, 4rem);
  background: rgba(15, 27, 48, 0.85);
  backdrop-filter: blur(4px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox__img {
  max-width: 100%;
  max-height: 88vh;
  border-radius: 14px;
  border: 3px solid var(--orange);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
}

.lightbox__close {
  position: absolute;
  top: clamp(1rem, 3vw, 1.6rem);
  right: clamp(1rem, 3vw, 1.8rem);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: var(--navy);
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.lightbox__close:hover {
  background: var(--orange);
  color: #fff;
}

/* ============================================================
   AUTH MODAL (login / register / reset — tranziție lină)
   ============================================================ */
.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 2.5rem);
}

.auth-modal[hidden] {
  display: none;
}

.auth-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 27, 48, 0.62);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.auth-modal__dialog {
  position: relative;
  width: min(100%, 440px);
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 36px 90px rgba(15, 27, 48, 0.4);
  padding: clamp(1.6rem, 4vw, 2.6rem);
  opacity: 0;
  transform: translateY(18px) scale(0.97);
  transition: opacity 0.32s ease, transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.auth-modal.is-open .auth-modal__backdrop {
  opacity: 1;
}

.auth-modal.is-open .auth-modal__dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.auth-modal__close {
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  z-index: 3;
  width: 38px;
  height: 38px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 1.7rem;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.auth-modal__close:hover {
  background: rgba(15, 27, 48, 0.07);
  color: var(--navy);
}

/* Panes wrapper — animă înălțimea între ecrane */
.auth__panes {
  position: relative;
  transition: height 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.auth-pane {
  position: absolute;
  inset: 0 0 auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
}

.auth-pane.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.auth__title {
  text-align: center;
  color: var(--navy);
  font-size: clamp(1.5rem, 4vw, 1.85rem);
  font-weight: 800;
  margin: 0.2rem 0 0;
}

.auth__subtitle {
  text-align: center;
  color: var(--muted);
  margin: 0 0 1rem;
  font-size: 0.96rem;
}

.auth__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.55rem;
}

.auth__field > span {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.92rem;
}

.auth__field input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #f6f7f9;
  font: inherit;
  color: var(--ink);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.auth__field input::placeholder {
  color: #9aa3b0;
}

.auth__field input:focus {
  outline: none;
  background: #fff;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(247, 148, 29, 0.18);
}

.auth__check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0.2rem 0 0.4rem;
  font-size: 0.9rem;
  color: var(--ink);
  line-height: 1.4;
}

.auth__check input {
  margin-top: 0.15rem;
  width: 17px;
  height: 17px;
  accent-color: var(--orange);
  flex: 0 0 auto;
}

.auth__check a {
  color: var(--orange);
  font-weight: 600;
}

.auth__submit {
  width: 100%;
  justify-content: center;
  margin-top: 0.7rem;
  padding-block: 0.9rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.auth__link {
  border: none;
  background: none;
  color: var(--orange);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.auth__link:hover {
  text-decoration: underline;
}

.auth__link--center {
  display: block;
  text-align: center;
  margin: 0.9rem auto 0;
}

.auth__switch {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0.7rem 0 0;
}

.dashboard-mock {
  border-radius: var(--radius);
  background: #fff;
  border: 2px solid var(--orange);
  box-shadow: var(--shadow);
  padding: 1.4rem;
}

.dashboard-mock__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.dashboard-mock__header strong {
  font-size: 1.6rem;
  color: var(--navy);
}

.dashboard-mock__chart {
  display: flex;
  align-items: flex-end;
  gap: 0.7rem;
  height: 180px;
}

.dashboard-mock__bar {
  flex: 1;
  height: var(--h, 50%);
  background: linear-gradient(180deg, var(--orange), #ffce8a);
  border-radius: 8px 8px 0 0;
}

.dashboard-mock__bar--40 { --h: 40%; }
.dashboard-mock__bar--50 { --h: 50%; }
.dashboard-mock__bar--65 { --h: 65%; }
.dashboard-mock__bar--70 { --h: 70%; }
.dashboard-mock__bar--85 { --h: 85%; }
.dashboard-mock__bar--90 { --h: 90%; }

.dashboard-mock__caption {
  display: block;
  margin-top: 0.8rem;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}

/* ============================================================
   BONUS frame
   ============================================================ */
.bonus-frame {
  padding: 1rem;
  border: 3px dashed var(--orange);
  border-radius: 28px;
}

/* ============================================================
   ECOSYSTEM
   ============================================================ */
.section--ecosystem {
  position: relative;
  background-image:
    linear-gradient(rgba(8, 14, 27, 0.95), rgba(5, 10, 20, 0.97)),
    url("../images/section6_bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.section--ecosystem::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(55% 45% at 82% 18%, rgba(247, 148, 29, 0.12), transparent 70%),
    radial-gradient(50% 45% at 15% 88%, rgba(36, 58, 99, 0.45), transparent 70%);
  pointer-events: none;
}

.section--ecosystem > .container {
  position: relative;
  z-index: 1;
}

.ecosystem__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
  color: #fff;
  font-size: clamp(1.7rem, 4.5vw, 2.7rem);
  font-weight: 700;
}

.ecosystem__brand {
  height: clamp(1.6rem, 4vw, 2.6rem);
  width: auto;
}

.ecosystem {
  display: grid;
  gap: clamp(1.8rem, 4vw, 3rem) clamp(1.5rem, 5vw, 4rem);
}

.ecosystem__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.9rem;
}

.ecosystem__logo {
  height: clamp(1.7rem, 3.5vw, 2.4rem);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.ecosystem__item p {
  color: #fff;
  margin: 0 auto;
  max-width: 28ch;
  font-size: 0.95rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
  padding-block: clamp(2.5rem, 6vw, 4rem);
}

.footer-col {
  min-width: 0;
}

.footer-logo img {
  display: block;
  height: 36px;
  width: auto;
}

.footer-tagline {
  margin: 1.1rem 0 1.4rem;
  font-style: italic;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 30ch;
}

.footer-contact {
  display: grid;
  gap: 0.7rem;
  margin: 0 0 1.4rem;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  font-size: 0.98rem;
}

.footer-contact .icon {
  width: 1.2rem;
  height: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
}

.footer-social {
  display: flex;
  gap: 0.7rem;
}

.social-link {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.social-link .icon {
  width: 1.25rem;
  height: 1.25rem;
}

.social-link:hover {
  background: var(--orange);
  border-color: var(--orange);
  transform: translateY(-2px);
}

.footer-heading {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 1.2rem;
}

.footer-links {
  display: grid;
  gap: 0.85rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-legal {
  display: grid;
  gap: 0.9rem;
  justify-items: start;
}

.footer-pay {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.pay-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  height: 38px;
  padding: 0 0.7rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.pay-visa {
  color: #1a1f71;
  font-weight: 800;
  font-style: italic;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.pay-stripe {
  color: #635bff;
  font-weight: 700;
  font-size: 1rem;
}

.pay-mc {
  gap: 0;
}

.mc-c {
  width: 22px;
  height: 22px;
  border-radius: 50%;
}

.mc-c1 {
  background: #eb001b;
}

.mc-c2 {
  background: #f79e1b;
  margin-left: -9px;
  mix-blend-mode: multiply;
}

.footer-anpc {
  display: block;
}

.footer-anpc img {
  display: block;
  height: 52px;
  width: auto;
  border-radius: 6px;
}

.footer-anpc-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  letter-spacing: 0.03em;
}

.footer-anpc-link:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 1.3rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom strong {
  color: #fff;
}

/* ============================================================
   NAV — pagina activă
   ============================================================ */
.nav__link.is-current {
  color: #fff;
}

.nav__link.is-current::after {
  transform: scaleX(1);
}

/* ============================================================
   BREADCRUMB HERO (pagini interioare)
   ============================================================ */
.breadcrumb-hero {
  position: relative;
  display: flex;
  align-items: center;
  text-align: center;
  color: #fff;
  min-height: clamp(300px, 42vh, 420px);
  padding-top: 70px;
  background:
    linear-gradient(135deg, rgba(22, 33, 58, 0.82), rgba(15, 27, 48, 0.9)),
    url("../images/section7_bg.jpg") center / cover no-repeat;
  overflow: hidden;
}

.breadcrumb-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 27, 48, 0.35), rgba(15, 27, 48, 0.72));
}

.breadcrumb-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding-block: clamp(1.5rem, 4vw, 2.5rem);
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb__sep {
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb [aria-current="page"] {
  color: #fff;
}

.breadcrumb-hero__title {
  font-size: clamp(2rem, 5.5vw, 3.2rem);
  font-weight: 800;
  margin: 0;
  line-height: 1.1;
}

.breadcrumb-hero__subtitle {
  max-width: 46ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.98rem, 2vw, 1.12rem);
}

/* ============================================================
   CONTACT — layout
   ============================================================ */
.contact-section {
  background: var(--cream);
}

.contact-grid {
  display: grid;
  gap: clamp(1.2rem, 3vw, 2rem);
  align-items: start;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.4rem, 3.5vw, 2.2rem);
}

.contact-card__title {
  margin: 0 0 0.4rem;
  color: var(--navy);
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  font-weight: 800;
}

.contact-card__lead {
  margin: 0 0 1.4rem;
  color: var(--muted);
  font-size: 0.96rem;
}

/* ---------- Formular ---------- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form__row {
  display: grid;
  gap: 1rem;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-field > span {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.9rem;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #f6f7f9;
  font: inherit;
  color: var(--ink);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.contact-field textarea {
  resize: vertical;
  min-height: 130px;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #9aa3b0;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(247, 148, 29, 0.18);
}

.contact-select {
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23556' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.6rem;
}

.contact-form__submit {
  width: 100%;
  justify-content: center;
  margin-top: 0.4rem;
  padding-block: 0.95rem;
  font-size: 1.05rem;
  font-weight: 700;
}

/* ---------- Feedback formular (succes / eroare) ---------- */
.contact-alert {
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 1.1rem;
  line-height: 1.45;
}

.contact-alert--error {
  background: rgba(192, 57, 43, 0.08);
  border: 1px solid rgba(192, 57, 43, 0.25);
  color: #c0392b;
}

.contact-sent {
  text-align: center;
  padding: 2.4rem 0.5rem;
}

.contact-sent__icon {
  width: 66px;
  height: 66px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  background: var(--orange);
  box-shadow: 0 10px 24px rgba(247, 148, 29, 0.35);
}

.contact-sent__title {
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.contact-sent__text {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------- Carduri info ---------- */
.contact-info {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.4rem);
}

.contact-info__item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact-info__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(247, 148, 29, 0.12);
  color: var(--orange);
  margin-bottom: 0.7rem;
}

.contact-info__icon .icon {
  width: 1.4rem;
  height: 1.4rem;
}

.contact-info__label {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.contact-info__value {
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 700;
}

a.contact-info__value:hover {
  color: var(--orange);
}

.contact-info__note {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.contact-social {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.contact-social__row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  background: #f6f7f9;
  color: var(--navy);
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.contact-social__row .icon {
  width: 1.2rem;
  height: 1.2rem;
}

.contact-social__row:hover {
  background: var(--orange);
  color: #fff;
  transform: translateX(2px);
}

@media (min-width: 560px) {
  .contact-form__row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .contact-grid {
    grid-template-columns: 1.25fr 1fr;
  }
}

/* ============================================================
   PAGINI LEGALE (termeni, politici)
   ============================================================ */
.legal-section {
  background: var(--cream);
}

.legal-wrap {
  width: min(100% - 2rem, 820px);
}

.legal-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.6rem, 4vw, 3rem);
}

.legal-updated {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  background: rgba(22, 33, 58, 0.06);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 1.8rem;
}

.legal-updated .icon {
  width: 1.05rem;
  height: 1.05rem;
  color: var(--navy);
}

.legal-block {
  margin: 0;
}

.legal-block h2 {
  color: var(--navy);
  font-size: clamp(1.15rem, 2.6vw, 1.4rem);
  font-weight: 800;
  margin: 0 0 0.7rem;
}

.legal-block p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 0.6rem;
}

.legal-block p strong {
  color: var(--ink);
}

.legal-block a {
  color: var(--orange);
  font-weight: 600;
}

.legal-block a:hover {
  text-decoration: underline;
}

.legal-list {
  margin: 0.4rem 0 0;
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.legal-list li {
  color: var(--muted);
  line-height: 1.6;
}

.legal-list li::marker {
  color: var(--orange);
}

.legal-list strong {
  color: var(--navy);
}

.legal-divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 1.7rem 0;
}

/* ============================================================
   PAGINA PROFESORI
   ============================================================ */
/* ---------- Hero ---------- */
.profs-hero {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding-top: 70px;
}

.profs-hero__inner {
  display: grid;
  align-items: center;
  gap: 1rem;
  padding-top: clamp(1.5rem, 4vw, 2.5rem);
  padding-bottom: 0;
}

.profs-hero__title {
  color: var(--navy);
  font-size: clamp(2.2rem, 7vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  margin: 0;
}

.profs-hero__img {
  justify-self: end;
  width: clamp(280px, 92vw, 480px);
  max-width: none;
  height: auto;
  margin-right: -1.25rem;
  pointer-events: none;
}

@media (min-width: 768px) {
  .profs-hero__inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: clamp(340px, 38vw, 460px);
  }

  .profs-hero__img {
    position: absolute;
    right: 0;
    bottom: 0;
    width: clamp(420px, 46vw, 680px);
    max-width: none;
    height: auto;
    margin-right: 0;
    justify-self: auto;
  }
}

/* ---------- Profesori featured (orange) ---------- */
.profs-feature {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.2rem, 5vw, 3.6rem);
  color: #fff;
  background:
    linear-gradient(rgba(247, 148, 29, 0.92), rgba(238, 138, 18, 0.95)),
    url("../images/section7_bg.jpg") center / cover no-repeat;
}

.profs-feature__inner {
  position: relative;
  z-index: 1;
}

.profs-feature__title {
  text-align: center;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  margin: 0 0 1.4rem;
}

.prof-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.prof-tab {
  border: none;
  cursor: pointer;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  background: rgba(28, 36, 51, 0.85);
  color: #fff;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.prof-tab:hover {
  transform: translateY(-1px);
}

.prof-tab.is-active {
  background: #fff;
  color: var(--ink);
}

.prof-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.5rem, 2vw, 1.5rem);
}

.prof-arrow {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.prof-arrow .icon {
  width: 1.3rem;
  height: 1.3rem;
}

.prof-arrow:hover {
  background: #fff;
  color: var(--orange);
  transform: scale(1.05);
}

.prof-card {
  flex: 1 1 auto;
  max-width: 900px;
  display: grid;
  gap: clamp(1.2rem, 3vw, 2.4rem);
  align-items: center;
}

.prof-card__photo {
  display: grid;
  place-items: center;
  width: clamp(180px, 40vw, 280px);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 4px solid #fff;
  overflow: hidden;
}

.prof-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prof-card__photo .icon {
  width: 45%;
  height: 45%;
  color: #fff;
}

.prof-card__name {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 800;
  margin: 0;
}

.prof-card__subject {
  font-style: italic;
  font-weight: 600;
  margin: 0.1rem 0 1rem;
  color: rgba(255, 255, 255, 0.92);
}

.prof-card__bio p {
  margin: 0 0 0.8rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.6;
}

@media (min-width: 768px) {
  .prof-card {
    grid-template-columns: auto 1fr;
    text-align: left;
  }
}

/* ---------- Mentori (teal) ---------- */
.mentors {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.2rem, 5vw, 3.4rem);
  color: #fff;
  background-color: var(--navy);
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.05) 0,
    rgba(255, 255, 255, 0.05) 2px,
    transparent 2px,
    transparent 22px
  );
}

.mentors__title {
  text-align: center;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  margin: 0 0 clamp(1.5rem, 4vw, 2.4rem);
}

.mentors__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.2rem, 3vw, 2rem);
}

.mentor-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.3rem;
}

.mentor-card__avatar {
  display: grid;
  place-items: center;
  width: clamp(80px, 18vw, 110px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 3px solid #fff;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.mentor-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mentor-card__avatar .icon {
  width: 48%;
  height: 48%;
  color: #fff;
}

.mentor-card__name {
  font-size: 1.02rem;
  font-weight: 700;
  margin: 0;
}

.mentor-card__subject {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
}

@media (min-width: 768px) {
  .mentors__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- Cum funcționează mentoratul ---------- */
.mentoring {
  background: #fff;
  overflow: hidden;
  padding-block: clamp(2rem, 5vw, 3.5rem);
}

.mentoring__inner {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: center;
}

.mentoring__title {
  color: var(--navy);
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 800;
  margin: 0 0 1.6rem;
}

.mentor-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.mentor-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.mentor-step__num {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
}

.mentor-step__text {
  margin: 0;
  color: var(--ink);
  line-height: 1.55;
  padding-top: 0.4rem;
}

.mentoring__divider {
  display: block;
  width: 120px;
  height: 4px;
  border-radius: 4px;
  background: var(--orange);
  margin-top: 1.8rem;
}

.mentoring__media {
  display: flex;
  justify-content: center;
}

.mentoring__photo {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
}

@media (min-width: 768px) {
  .mentoring {
    padding-bottom: 0;
  }
  .mentoring__inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  .mentoring__media {
    align-self: end;
  }
  .mentoring__photo {
    max-width: 520px;
  }
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--orange);
  color: #fff;
  text-align: center;
  padding-block: clamp(2.2rem, 5vw, 3.4rem);
}

.cta-band__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
}

.cta-band__title {
  font-size: clamp(1.3rem, 3.5vw, 2rem);
  font-weight: 800;
  margin: 0;
  max-width: 24ch;
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (min-width: 640px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .ecosystem {
    grid-template-columns: repeat(2, 1fr);
  }

  .teacher-card {
    flex-basis: calc((100% - var(--gap)) / 2);
  }

  .compare__savings {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr;
  }

  .footer-legal {
    grid-column: 1 / -1;
    grid-auto-flow: column;
    justify-content: start;
    align-items: center;
    gap: 1.2rem;
  }
}

/* ============================================================
   RESPONSIVE — DESKTOP
   ============================================================ */
@media (min-width: 1024px) {
  .benefits {
    grid-template-columns: 1fr 0.8fr;
  }

  .benefits--bonus {
    grid-template-columns: 2fr 3fr;
  }

  .section--bonus {
    padding-block: clamp(1.5rem, 4vw, 3rem);
  }

  .enroll__inner {
    grid-template-columns: 0.8fr 1fr;
  }

  .plans {
    grid-template-columns: repeat(3, 1fr);
  }

  .compare__inner {
    grid-template-columns: 1fr 3fr;
  }

  .compare__savings {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }

  .progress {
    grid-template-columns: 1fr 1fr;
  }

  .ecosystem {
    grid-template-columns: repeat(2, 1fr);
  }

  .teacher-card {
    flex-basis: calc((100% - 2 * var(--gap)) / 3);
  }

  .footer-grid {
    grid-template-columns: 1.7fr 1fr 1fr 1.2fr;
  }

  .footer-legal {
    grid-column: auto;
    grid-auto-flow: row;
    align-items: start;
    justify-content: start;
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   ALIAS: continut legal din private/data (clase vechi -> stil legal)
   ============================================================ */
.legal-card .termeni-block { margin: 0; }
.legal-card .termeni-block h2 {
  color: var(--navy);
  font-size: clamp(1.15rem, 2.6vw, 1.4rem);
  font-weight: 800;
  margin: 0 0 0.7rem;
}
.legal-card .termeni-block p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 0.6rem;
}
.legal-card .termeni-block p strong,
.legal-card .termeni-block li strong { color: var(--ink); }
.legal-card .termeni-block a { color: var(--orange); font-weight: 600; }
.legal-card .termeni-block a:hover { text-decoration: underline; }
.legal-card .termeni-block ul,
.legal-card .termeni-block ol {
  margin: 0.4rem 0 0;
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.legal-card .termeni-block li { color: var(--muted); line-height: 1.6; }
.legal-card .termeni-block li::marker { color: var(--orange); }
.legal-card .termeni-divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 1.7rem 0;
}

/* ============================================================
   PLAN MODAL (alegere materii + checkout)
   ============================================================ */
.pm {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 2.5rem);
}

.pm[hidden] {
  display: none;
}

.pm__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 27, 48, 0.62);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pm.is-open .pm__backdrop {
  opacity: 1;
}

.pm__dialog {
  position: relative;
  width: min(100%, 520px);
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 36px 90px rgba(15, 27, 48, 0.4);
  padding: clamp(1.6rem, 4vw, 2.4rem);
  opacity: 0;
  transform: translateY(18px) scale(0.97);
  transition: opacity 0.32s ease, transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.pm.is-open .pm__dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.pm__close {
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  z-index: 3;
  width: 38px;
  height: 38px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 1.7rem;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.pm__close:hover {
  background: rgba(15, 27, 48, 0.07);
  color: var(--navy);
}

.pm__head {
  text-align: center;
  margin-bottom: 1.4rem;
  padding: 0 1.4rem;
}

.pm__title {
  color: var(--navy);
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  font-weight: 800;
  margin: 0 0 0.35rem;
}

.pm__subtitle {
  color: var(--muted);
  margin: 0;
  font-size: 0.96rem;
}

.pm__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-bottom: 1.3rem;
}

@media (max-width: 420px) {
  .pm__grid {
    grid-template-columns: 1fr;
  }
}

.pm-opt {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
  padding: 0.9rem 1rem;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

.pm-opt:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-sm);
}

.pm-opt:active {
  transform: scale(0.98);
}

.pm-opt__check {
  flex: none;
  width: 22px;
  height: 22px;
  border: 2px solid var(--line);
  border-radius: 7px;
  position: relative;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.pm-opt__check::after {
  content: "\2713";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.pm-opt__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.pm-opt__name {
  font-weight: 700;
  color: var(--ink);
  font-size: 0.98rem;
}

.pm-opt__note {
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 2px;
}

.pm-opt.is-selected {
  border-color: var(--orange);
  background: rgba(247, 148, 29, 0.08);
}

.pm-opt.is-selected .pm-opt__check {
  border-color: var(--orange);
  background: var(--orange);
}

.pm-opt.is-selected .pm-opt__check::after {
  opacity: 1;
}

.pm-opt.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.pm__summary {
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  margin-bottom: 1.2rem;
}

.pm__summary-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.pm__summary-label {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
}

.pm__total {
  color: var(--navy);
  font-weight: 800;
  font-size: 1.4rem;
}

.pm__installments {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.pm__installments:empty {
  display: none;
  margin-top: 0;
}

.pm__inst {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pm__inst-label {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.pm__inst-val {
  font-weight: 800;
  color: var(--navy);
  font-size: 1rem;
}

.pm__foot {
  text-align: center;
}

.pm__hint {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 0.8rem;
  min-height: 1.2em;
}

.pm__cta {
  width: 100%;
  border: none;
  cursor: pointer;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s ease, transform 0.1s ease, opacity 0.2s ease;
}

.pm__cta:hover:not(:disabled) {
  background: var(--orange-dark);
}

.pm__cta:active:not(:disabled) {
  transform: scale(0.99);
}

.pm__cta:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
  .pm__backdrop,
  .pm__dialog {
    transition: none;
  }
}
