/* ==================================================
   RESPONSIVE.CSS
   Strategy:
   - mobile / tablet
   - FHD: compact vertical composition
   - 2K / scaled 4K
   - native 4K+
================================================== */


/* --------------------------------------------------
   TABLET / SMALL DESKTOP
-------------------------------------------------- */

@media (max-width: 1199px) {

  .site-logo img {
    width: 240px;
  }

  .site-nav {
    gap: 32px;
  }

  .course-hero {
    gap: 24px;
  }

  .course-features-grid {
    grid-template-columns:
      repeat(3, minmax(0, 1fr));
  }
}


/* --------------------------------------------------
   MOBILE
-------------------------------------------------- */

@media (max-width: 767px) {

  :root {
    --header-height: 72px;
  }

  .container {
    width: min(calc(100% - 28px), 100%);
  }

  .site-header__inner {
    justify-content: center;
  }

  .site-logo {
    margin: 0;
  }

  .site-logo img {
    width: 230px;
  }

  .site-nav,
  .site-header__cta {
    display: none;
  }

  .mobile-menu-button {
    display: flex;

    position: absolute;
    left: 14px;

    width: 34px;
    height: 26px;

    flex-direction: column;
    justify-content: space-between;
  }

  .mobile-menu-button span {
    height: 2px;

    background: var(--color-text);

    border-radius: 2px;
  }

  .section {
    padding:
      calc(var(--header-height) + 32px)
      0
      56px;
  }

  .course-hero {
    display: block;
  }

  .course-hero__content {
    text-align: center;
    align-items: center;
  }

  .course-label {
    align-self: center;
  }

  .course-title {
    font-size: clamp(44px, 12vw, 72px);
  }

  .course-description {
    margin-inline: auto;
  }

  .course-benefits {
    max-width: none;

    grid-template-columns: 1fr;

    gap: 10px;
  }

  .course-benefit {
    justify-content: center;
  }

  .course-benefit:not(:last-child)::after {
    display: none;
  }

  .course-hero__visual {
    display: none;
  }

  .course-carousel {
    display: block;

    margin: 40px -14px 0;
  }

  .course-features-grid {
    grid-template-columns:
      repeat(3, minmax(0, 1fr));

    gap: 10px;
  }

  .course-feature-card {
    min-height: 190px;
  }
.results-gallery {
    display: none;
  }

  .results-carousel {
    display: block;
  }

  .faq-list {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 480px) {

  .course-features-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }
}


/* --------------------------------------------------
   FHD / NORMAL DESKTOP
   Tuned for 1920×1080 and similar viewport heights.
-------------------------------------------------- */

@media (min-width: 1400px) and (max-width: 2199px) {

  :root {
    --header-height: 66px;
  }

  .container {
    width: 90%;
    max-width: 1760px;
  }

  /* HEADER */

  .site-header__inner {
    min-height: var(--header-height);

    grid-template-columns:
      minmax(220px, 0.9fr)
      auto
      minmax(340px, 1.15fr);

    gap: 20px;
  }

  .site-logo img {
    width: 228px;
    max-height: 46px;
  }

  .site-nav {
    gap: 36px;
  }

  .site-nav a {
    font-size: 14px;
  }

  .site-header__cta {
    width: clamp(330px, 30vw, 520px);
    min-height: 40px;
    padding: 0 24px;
    font-size: 14px;
  }

  /* COURSE SECTION — restored larger FHD composition */

  .course-section {
    padding-top: calc(var(--header-height) + 6px);
    padding-bottom: 6px;
  }

  .course-section .container {
    height: calc(100vh - var(--header-height) - 12px);

    grid-template-rows:
      minmax(0, 1fr)
      138px;

    gap: 10px;
  }

  .course-hero {
    grid-template-columns:
      minmax(34rem, 0.88fr)
      minmax(0, 1.12fr);

    gap: clamp(1.25rem, 1.6vw, 2rem);
    align-items: center;
  }

  .course-hero__content {
    width: 100%;
    max-width: 40.5vw;
    min-height: 0;
    justify-content: center;
    transform: translateY(-1.5vh);
  }

  .course-label {
    align-self: flex-start;
    margin: 0 0 7px;
    padding: 7px 17px;
    border-width: 3px;
    font-size: clamp(0.84rem, 0.80vw, 0.98rem);
  }

  .course-title {
    max-width: 40.5vw;
    margin-bottom: 2px;
    font-size: clamp(4.10rem, 4.30vw, 5.05rem);
    line-height: 1.08;
    padding-bottom: 0.08em;
  }

  .course-description {
    max-width: 39.5vw;
    margin: 6px 0 6px;
    font-size: clamp(0.98rem, 0.96vw, 1.12rem);
    line-height: 1.26;
  }

  .course-cta,
  .course-benefits {
    max-width: 39.5vw;
  }

  .course-cta {
    margin: 4px auto 10px;
    position: relative;
    top: 2.4vh;
  }

  .course-cta .button {
    width: clamp(20rem, 20.5vw, 24rem);
    min-width: 0;
    min-height: clamp(3.5rem, 5.4vh, 4.1rem);
    padding-inline: 2rem;
    font-size: clamp(1.02rem, 1.02vw, 1.18rem);
  }

  .course-benefits {
    margin: 10px auto 8px;
    min-height: 36px;
    font-size: clamp(0.78rem, 0.75vw, 0.9rem);
  }

  .course-benefit {
    min-height: 32px;
    gap: 8px;
  }

  .course-benefit svg {
    width: 22px;
    height: 22px;
  }

  .course-benefit:not(:last-child)::after {
    height: 24px;
  }

  .course-hero__visual {
    align-items: center;
  }

  .hero-collage {
    width: 100%;
    max-width: 1100px;
    height: auto;
    aspect-ratio: 1.72 / 1;
  }

  /* FEATURE ROW */

  .course-features-grid {
    height: 138px;
    align-items: stretch;
    gap: clamp(0.5rem, 0.6vw, 0.7rem);
    margin-top: 0;
    transform: none;
  }

  .course-feature-card {
    min-height: 138px;
    height: 138px;
    padding: 10px 12px;
  }

  .course-feature-card h3 {
    margin-bottom: 7px;
    font-size: clamp(0.72rem, 0.72vw, 0.86rem);
    line-height: 1.12;
  }

  .course-feature-card strong {
    margin-bottom: 4px;
    font-size: clamp(0.67rem, 0.66vw, 0.80rem);
  }

  .course-feature-card p {
    margin-top: 0.28rem;
    font-size: clamp(0.61rem, 0.58vw, 0.70rem);
    line-height: 1.2;
  }
}



/* --------------------------------------------------
   SHORT FHD VIEWPORTS
-------------------------------------------------- */

@media (min-width: 1400px) and (max-width: 2199px) and (max-height: 950px) {

  :root {
    --header-height: 62px;
  }

  .site-logo img {
    width: 214px;
    max-height: 42px;
  }

  .site-header__cta {
    min-height: 36px;
  }

  .course-section .container {
    grid-template-rows:
      minmax(0, 1fr)
      128px;

    gap: 8px;
  }

  .course-hero__content {
    transform: translateY(-1.1vh);
  }

  .course-label {
    margin-bottom: 6px;
    padding: 6px 15px;
    font-size: clamp(0.80rem, 0.76vw, 0.92rem);
  }

  .course-title {
    font-size: clamp(3.95rem, 4.08vw, 4.85rem);
    line-height: 1.08;
    padding-bottom: 0.08em;
  }

  .course-description {
    margin: 5px 0 5px;
    font-size: clamp(0.94rem, 0.92vw, 1.06rem);
    line-height: 1.24;
  }

  .course-cta {
    top: 2.8vh;
  }

  .course-cta .button {
    min-height: clamp(3.35rem, 5.2vh, 3.9rem);
  }

  .course-benefits {
    margin: 7px auto 6px;
    min-height: 30px;
  }

  .course-benefit {
    min-height: 26px;
  }

  .course-benefit svg {
    width: 18px;
    height: 18px;
  }

  .hero-collage {
    max-width: 1020px;
  }

  .course-features-grid,
  .course-feature-card {
    height: 128px;
    min-height: 128px;
  }
}



/* --------------------------------------------------
   2K / 4K WITH OS SCALING
-------------------------------------------------- */

@media (min-width: 2200px) and (max-width: 2999px) {

  :root {
    --header-height: 96px;
  }

  .container {
    width: 92%;
    max-width: 2400px;
  }

  .site-logo img {
    width: 340px;
    max-height: 72px;
  }

  .site-nav {
    gap: 60px;
  }

  .site-nav a {
    font-size: 19px;
  }

  .site-header__cta {
    width: clamp(500px, 29vw, 740px);

    min-height: 54px;

    padding: 0 38px;

    font-size: 17px;
  }

  .course-section .container {
    grid-template-rows:
      minmax(0, 1fr)
      clamp(10.5rem, 17vh, 12.5rem);

    gap: clamp(0.7rem, 1vh, 0.95rem);
  }

  .course-hero {
    grid-template-columns:
      minmax(42rem, 0.90fr)
      minmax(0, 1.10fr);

    gap: clamp(1.4rem, 1.8vw, 2.3rem);
  }

  .course-hero__content {
    width: 100%;
    max-width: 38vw;

    min-height: 0;

    justify-content: center;

    transform: none;
  }

  .course-label {
    align-self: flex-start;

    margin: 0 0 14px;

    padding: 10px 28px;

    font-size: clamp(1rem, 0.82vw, 1.16rem);
  }

  .course-title {
    max-width: 38vw;

    margin-bottom: 6px;

    font-size: clamp(4.5rem, 3.8vw, 5.5rem);
    line-height: 0.9;
  }

  .course-description {
    max-width: 37vw;

    margin: 6px 0 8px;

    font-size: clamp(1.05rem, 0.9vw, 1.28rem);
    line-height: 1.32;
  }

  .course-cta,
  .course-benefits {
    max-width: 50vw;
  }

  .course-cta {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .course-cta .button {
    width: clamp(18rem, 16.5vw, 22rem);

    min-width: 0;
    min-height: clamp(3.7rem, 5vh, 4.7rem);

    padding-inline: 1.4rem;

    font-size: clamp(1.05rem, 0.92vw, 1.24rem);
  }

  .course-benefits {
    margin: clamp(0.75rem, 1.2vh, 1rem) auto
            clamp(0.75rem, 1.2vh, 1rem);

    font-size: clamp(0.86rem, 0.72vw, 1rem);
  }

  .course-benefit {
    min-height: 38px;

    gap: 9px;
  }

  .course-benefit svg {
    width: 25px;
    height: 25px;
  }

  /*
   * Keep collage geometry proportional.
   * It grows by width only; height follows aspect-ratio.
   */
  .hero-collage {
    width: 100%;
    max-width: 1580px;

    height: auto;

    aspect-ratio: 1.72 / 1;
  }

  .course-features-grid {
    height: 100%;

    align-items: stretch;

    gap: clamp(0.7rem, 0.78vw, 0.95rem);

    transform: none;
  }

  .course-feature-card {
    min-height: 0;
    height: 100%;
  }

  .course-feature-card {
    padding: clamp(0.95rem, 0.95vw, 1.3rem);
  }

  .course-feature-card h3 {
    font-size: clamp(0.94rem, 0.82vw, 1.12rem);
  }

  .course-feature-card p {
    font-size: clamp(0.84rem, 0.76vw, 0.98rem);
  }
}


/* --------------------------------------------------
   NATIVE 4K+
-------------------------------------------------- */

@media (min-width: 3000px) {

  :root {
    --header-height: 112px;
  }

  .container {
    width: 90%;
    max-width: 3000px;
  }

  .site-logo img {
    width: 420px;
    max-height: 86px;
  }

  .site-nav {
    gap: 76px;
  }

  .site-nav a {
    font-size: 23px;
  }

  .site-header__cta {
    width: clamp(700px, 30vw, 1040px);

    min-height: 66px;

    padding: 0 46px;

    font-size: 22px;
  }

  .course-section .container {
    grid-template-rows:
      minmax(0, 1fr)
      176px;

    gap: 18px;
  }

  .course-hero {
    grid-template-columns:
      minmax(920px, 0.95fr)
      minmax(0, 1.05fr);

    gap: 42px;
  }

  .course-hero__content {
    min-height: 0;

    justify-content: center;

    transform: none;
  }

  .course-label {
    align-self: flex-start;

    margin-bottom: 12px;

    padding: 10px 28px;

    font-size: 22px;
  }

  .course-title {
    max-width: 1180px;

    margin-bottom: 8px;

    font-size: 104px;
  }

  .course-description {
    max-width: 1040px;

    margin: 8px 0 10px;

    font-size: 22px;
  }

  .course-cta,
  .course-benefits {
    max-width: 1040px;
  }

  .course-cta .button {
    min-width: 520px;
    min-height: 68px;

    font-size: 20px;
  }

  .course-benefits {
    margin: 16px auto;

    font-size: 18px;
  }

  .course-benefit {
    min-height: 44px;
  }

  .course-benefit svg {
    width: 30px;
    height: 30px;
  }

  /*
   * Native 4K: do not stretch by viewport height.
   * Scale the whole collage proportionally by width.
   */
  .hero-collage {
    width: 100%;
    max-width: 1950px;

    height: auto;

    aspect-ratio: 1.72 / 1;
  }

  .course-features-grid {
    height: 100%;

    align-items: stretch;

    transform: none;
  }

  .course-feature-card {
    min-height: 0;
    height: 100%;
  }

  .course-feature-card h3 {
    font-size: 20px;
  }

  .course-feature-card p {
    font-size: 15px;
  }
}


/* --------------------------------------------------
   STATIC FEATURE CARD / ADVANTAGES FINAL TUNING
-------------------------------------------------- */





@media (min-width: 2200px) and (max-width: 2999px) {
  .course-section .container {
    grid-template-rows:
      minmax(0, 1fr)
      clamp(11.5rem, 18vh, 13.5rem);
  }

  .course-advantages {
    max-width: 50vw;
  }

  .course-advantages__title {
    font-size: clamp(0.9rem, 0.75vw, 1.06rem);
  }

  .course-feature-card h3 {
    font-size: clamp(0.94rem, 0.82vw, 1.12rem);
  }

  .course-feature-card strong {
    font-size: clamp(0.88rem, 0.76vw, 1.02rem);
  }

  .course-feature-card p {
    font-size: clamp(0.76rem, 0.66vw, 0.89rem);
  }
}

@media (min-width: 3000px) {
  .course-section .container {
    grid-template-rows:
      minmax(0, 1fr)
      200px;
  }

  .course-advantages {
    max-width: 900px;
  }

  .course-advantages__title {
    font-size: 18px;
  }

  .course-feature-card {
    min-height: 200px;
    height: 200px;
    padding: 22px 24px;
  }

  .course-feature-card h3 {
    font-size: 19px;
  }

  .course-feature-card strong {
    font-size: 18px;
  }

  .course-feature-card p {
    font-size: 16px;
  }
}

@media (max-width: 1199px) {
  .course-features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .course-feature-card {
    min-height: 150px;
  }
}

@media (max-width: 767px) {
  .course-features-grid {
    grid-template-columns: 1fr;
  }

  .course-feature-card {
    min-height: 132px;
  }
}


/* --------------------------------------------------
   SIX STATIC FEATURE CARDS
-------------------------------------------------- */

@media (min-width: 1200px) {
  .course-features-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.course-feature-card h3,
.course-feature-card strong,
.course-feature-card p {
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  background: none;
}

.course-feature-card h3 {
  font-weight: 800;
}

.course-feature-card--advantages p + p {
  margin-top: 4px;
}

@media (max-width: 1199px) {
  .course-features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .course-features-grid {
    grid-template-columns: 1fr;
  }
}


/* --------------------------------------------------
   STATIC CARD TEXT ALIGNMENT / BORDER FINAL
-------------------------------------------------- */

.course-feature-card {
  border-width: 2px;
  text-align: left;
  align-items: stretch;
}

.course-feature-card h3 {
  text-align: center;
}

.course-feature-card strong,
.course-feature-card p {
  text-align: left;
}

.course-feature-card p {
  max-width: 100%;
}


/* --------------------------------------------------
   FINAL 4K HERO DENSITY OVERRIDES
   Keeps FHD unchanged; only 2200px+ is affected.
-------------------------------------------------- */

@media (min-width: 2200px) and (max-width: 2999px) {
  .course-hero {
    grid-template-columns:
      minmax(42rem, 0.90fr)
      minmax(0, 1.10fr);
    gap: clamp(1.4rem, 1.8vw, 2.3rem);
  }

  .course-hero__content {
    max-width: 38vw;
  }

  .course-label {
    margin-bottom: 14px;
  }

  .course-title {
    max-width: 38vw;
    font-size: clamp(4.5rem, 3.8vw, 5.5rem);
  }

  .course-description {
    max-width: 37vw;
    font-size: clamp(1.05rem, 0.9vw, 1.28rem);
  }

  .course-cta {
    max-width: 38vw;
    margin: 10px auto 10px;
  }

  .course-cta .button {
    width: clamp(18rem, 16.5vw, 22rem);
    min-height: clamp(3.7rem, 5vh, 4.7rem);
  }

  .hero-collage {
    max-width: 1580px;
  }
}

@media (min-width: 3000px) {
  .course-hero {
    grid-template-columns:
      minmax(920px, 0.95fr)
      minmax(0, 1.05fr);
    gap: 42px;
  }

  .course-title {
    max-width: 1180px;
    font-size: 104px;
  }

  .course-description,
  .course-cta {
    max-width: 1040px;
  }

  .course-cta .button {
    min-width: 520px;
    min-height: 68px;
    font-size: 20px;
  }

  .hero-collage {
    max-width: 1950px;
  }
}


/* --------------------------------------------------
   FINAL 4K LEFT HERO POSITIONING V2
   Requested:
   - AI IMAGE CREATION COURSE higher + ~1.5x larger
   - main title stays in its current vertical zone, centered
   - CTA lower, centered in the remaining space, ~1.5x larger
   - FHD unchanged
-------------------------------------------------- */

@media (min-width: 2200px) and (max-width: 2999px) {

  .course-hero__content {
    position: relative;
    align-items: stretch;
  }

  .course-label {
    align-self: flex-start;

    /* pull the label upward without shifting the title block */
    transform: translateY(-3.2vh);

    margin-bottom: calc(14px - 3.2vh);

    padding: 12px 34px;

    font-size: clamp(1.45rem, 1.22vw, 1.72rem);
    line-height: 1;
  }

  .course-title {
    /* keep the title in the same vertical area */
    margin-left: auto;
    margin-right: auto;

    text-align: center;
  }

  .course-description {
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }

  .course-cta {
    /* move CTA lower into the free zone */
    margin-top: clamp(3.6rem, 6.2vh, 5.8rem);
    margin-bottom: 0;

    display: flex;
    justify-content: center;
  }

  .course-cta .button {
    width: clamp(27rem, 24vw, 33rem);
    min-height: clamp(5.3rem, 7.4vh, 6.7rem);

    padding-inline: clamp(2.4rem, 3.2vw, 4rem);

    font-size: clamp(1.5rem, 1.35vw, 1.85rem);
  }
}

@media (min-width: 3000px) {

  .course-hero__content {
    position: relative;
    align-items: stretch;
  }

  .course-label {
    align-self: flex-start;

    transform: translateY(-3.5vh);
    margin-bottom: calc(12px - 3.5vh);

    padding: 14px 40px;

    font-size: 33px;
    line-height: 1;
  }

  .course-title {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .course-description {
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }

  .course-cta {
    margin-top: clamp(5rem, 7vh, 7rem);
    margin-bottom: 0;

    display: flex;
    justify-content: center;
  }

  .course-cta .button {
    min-width: 780px;
    min-height: 102px;

    padding-inline: 64px;

    font-size: 30px;
  }
}


/* --------------------------------------------------
   FINAL 4K POSITION NUDGE V3
   - AI IMAGE CREATION COURSE higher
   - Get the Course 80px lower
   - FHD unchanged
-------------------------------------------------- */

@media (min-width: 2200px) and (max-width: 2999px) {
  .course-label {
    transform: translateY(calc(-3.2vh - 50px));
    margin-bottom: calc(14px - 3.2vh - 50px);
  }

  .course-cta {
    transform: translateY(80px);
  }
}

@media (min-width: 3000px) {
  .course-label {
    transform: translateY(calc(-3.5vh - 50px));
    margin-bottom: calc(12px - 3.5vh - 50px);
  }

  .course-cta {
    transform: translateY(80px);
  }
}


/* --------------------------------------------------
   FINAL 4K POSITION NUDGE V4
   - AI IMAGE CREATION COURSE 150px higher than V3
   - Get the Course position unchanged from V3
-------------------------------------------------- */

@media (min-width: 2200px) and (max-width: 2999px) {
  .course-label {
    transform: translateY(calc(-3.2vh - 200px));
    margin-bottom: calc(14px - 3.2vh - 200px);
  }
}

@media (min-width: 3000px) {
  .course-label {
    transform: translateY(calc(-3.5vh - 200px));
    margin-bottom: calc(12px - 3.5vh - 200px);
  }
}

/* ==================================================
   PORTRAIT PHONE — FINAL SIMPLE TWO-SCREEN LAYOUT
   Results first, Course second.
   Applies only to vertical phones.
================================================== */

.phone-course-cta,
.phone-contact {
  display: none;
}

@media (max-width: 767px) and (orientation: portrait) {

  :root {
    --header-height: 70px;
  }

  body::before {
    display: none;
  }

  main {
    display: flex;
    flex-direction: column;
  }

  #results {
    order: 1;
  }

  #course {
    order: 2;
  }

  .site-footer {
    order: 3;
  }

  .container,
  .results-section .container {
    width: min(calc(100% - 24px), 100%);
  }

  /* HEADER — logo only */
  .site-header {
    min-height: var(--header-height);
    background: rgba(3, 2, 7, 0.98);
    border-bottom: 1px solid rgba(255,255,255,.14);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .site-header__inner {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .site-logo {
    margin: 0;
  }

  .site-logo img {
    width: clamp(205px, 60vw, 265px);
    max-height: 54px;
  }

  .site-nav,
  .site-header__cta,
  .mobile-menu-button {
    display: none !important;
  }

  /* --------------------------------------------------
     PAGE 1 — RESULTS
  -------------------------------------------------- */

  .results-section {
    min-height: 100svh;
    overflow: hidden;
    padding:
      calc(var(--header-height) + 28px)
      0
      28px;

    background:
      linear-gradient(180deg, rgba(2,1,6,.88), rgba(2,1,6,.72) 50%, rgba(2,1,6,.86)),
      url("../assets/images/results/14.png") center / cover no-repeat;
  }

  .results-section .container {
    min-height: calc(100svh - var(--header-height) - 56px);
    padding-inline: 0;
    display: flex;
    flex-direction: column;
  }

  .results-section .section-heading {
    position: static;
    width: 100%;
    margin: 0;
    pointer-events: auto;
  }

  .results-section .section-heading > span {
    margin-bottom: 8px;
    font-size: 11px;
    letter-spacing: .15em;
  }

  .results-section .section-heading h2 {
    max-width: 100%;
    margin: 0;
    white-space: normal;
    font-size: clamp(43px, 13vw, 60px);
    line-height: .92;
  }

  .results-section .section-heading h2 strong {
    display: block;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .results-section .section-heading p {
    max-width: 100%;
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.35;
  }

  .results-stage {
    position: relative;
    inset: auto;
    min-height: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .results-gallery {
    display: none;
  }

  .results-carousel {
    position: relative;
    z-index: 5;
    display: block;
    margin: 24px -12px 0;
    width: calc(100% + 24px);
  }

  .results-contact {
    display: none !important;
  }

  .results-cta {
    position: static;
    transform: none;
    margin: auto auto 0;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .results-cta .button {
    width: min(90%, 390px);
    min-height: 62px;
    border-width: 3px;
    border-radius: 18px;
    font-size: clamp(18px, 5.4vw, 23px);
  }

  /* --------------------------------------------------
     PAGE 2 — COURSE
  -------------------------------------------------- */

  .course-section {
    min-height: auto;
    overflow: visible;
    padding:
      calc(var(--header-height) + 22px)
      0
      34px;

    background:
      linear-gradient(180deg, rgba(2,1,6,.90), rgba(2,1,6,.70) 50%, rgba(2,1,6,.88)),
      url("../assets/images/results/14.png") center / cover no-repeat;
  }

  .course-section .container {
    height: auto;
    display: block;
  }

  .course-hero {
    display: block;
  }

  .course-hero__content {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .course-label {
    align-self: center;
    margin: 0 0 12px;
    padding: 6px 15px;
    border-width: 2px;
    font-size: clamp(11px, 3vw, 13px);
  }

  .course-title {
    max-width: 100%;
    margin: 0 auto;
    font-size: clamp(38px, 11vw, 52px);
    line-height: .95;
  }

  .course-description {
    max-width: 100%;
    margin: 12px auto 0;
    font-size: clamp(14px, 4vw, 17px);
    line-height: 1.35;
    text-align: center;
  }

  .course-hero .course-cta {
    display: none;
  }

  .course-hero__visual {
    display: none;
  }

  /* no Instant Access / Ready Workflows strip here */
  .course-benefits,
  .course-mobile-benefits {
    display: none !important;
  }

  .course-carousel {
    display: block;
    margin: 26px -12px 0;
    width: calc(100% + 24px);
  }

  .phone-course-cta {
    display: flex;
    justify-content: center;
    margin: 24px auto 28px;
  }

  .phone-course-cta .button {
    width: min(90%, 390px);
    min-height: 62px;
    padding-inline: 24px;
    gap: 12px;
    border-width: 3px;
    border-radius: 18px;
    font-size: clamp(18px, 5.4vw, 23px);
  }

  .phone-course-cta .button span {
    font-size: 1.25em;
    font-weight: 400;
  }

  /* all six cards — including Our Advantages */
  .course-features-grid {
    width: 100%;
    height: auto;
    margin: 0 auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    transform: none;
  }

  .course-feature-card {
    height: auto;
    min-height: 170px;
    padding: 15px 12px;
    justify-content: center;
    border-width: 2px;
    border-radius: 16px;
    text-align: center;
  }

  .course-feature-card h3 {
    margin-bottom: 8px;
    font-size: clamp(13px, 3.7vw, 16px);
    line-height: 1.12;
    text-align: center;
  }

  .course-feature-card strong {
    margin-bottom: 7px;
    font-size: clamp(12px, 3.4vw, 15px);
    line-height: 1.15;
    text-align: center;
  }

  .course-feature-card p {
    max-width: 100%;
    margin: 0;
    font-size: clamp(10px, 3vw, 13px);
    line-height: 1.25;
    text-align: center;
  }

  .course-feature-card--advantages p + p {
    margin-top: 5px;
  }

  /* Have Questions form only on page 2 */
  .phone-contact {
    display: grid;
    gap: 12px;
    margin-top: 18px;
    padding: 15px;
    border: 2px solid rgba(255,44,215,.9);
    border-radius: 18px;
    background:
      linear-gradient(145deg, rgba(17,8,31,.96), rgba(5,3,12,.98));
    box-shadow:
      0 0 16px rgba(255,29,187,.22),
      inset 0 0 18px rgba(131,56,255,.06);
  }

  .phone-contact__title {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .phone-contact__icon {
    font-size: 32px;
    color: #ff1dbb;
  }

  .phone-contact__title strong,
  .phone-contact__title span {
    display: block;
  }

  .phone-contact__title strong {
    font-size: 18px;
  }

  .phone-contact__title span {
    font-size: 14px;
    color: var(--color-text-muted);
  }

  .phone-contact__email {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 14px;
    border: 1px solid rgba(171,49,255,.8);
    border-radius: 12px;
    background: rgba(8,5,16,.62);
    color: #ff65df;
  }

  /* --------------------------------------------------
     SHARED PHONE CAROUSEL
  -------------------------------------------------- */

  .phone-carousel {
    position: relative;
  }

  .phone-carousel__viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overscroll-behavior-inline: contain;
  }

  .phone-carousel__viewport::-webkit-scrollbar {
    display: none;
  }

  .phone-carousel__track {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-inline: 13%;
  }

  .phone-carousel__slide {
    flex: 0 0 74%;
    margin: 0;
    scroll-snap-align: center;
    overflow: hidden;
    aspect-ratio: 1.72 / 1;
    border: 2px solid rgba(255,44,215,.96);
    border-radius: 15px;
    background: #06030d;
    box-shadow:
      0 0 10px rgba(255,29,187,.64),
      0 0 26px rgba(131,56,255,.18);
    opacity: .58;
    transform: scale(.92);
    transition: opacity .22s ease, transform .22s ease;
  }

  .results-carousel .phone-carousel__slide {
    aspect-ratio: .76 / 1;
    flex-basis: 68%;
  }

  .results-carousel .phone-carousel__track {
    padding-inline: 16%;
  }

  .phone-carousel__slide.is-active {
    opacity: 1;
    transform: scale(1);
  }

  .phone-carousel__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .phone-carousel__arrow {
    position: absolute;
    z-index: 10;
    top: 50%;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 2px solid #ff25cf;
    border-radius: 999px;
    background: rgba(5,3,12,.90);
    color: #fff;
    font-size: 29px;
    line-height: 1;
    transform: translateY(-72%);
    cursor: pointer;
  }

  .phone-carousel__arrow--prev {
    left: 3%;
  }

  .phone-carousel__arrow--next {
    right: 3%;
  }

  .phone-carousel__dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
  }

  .phone-carousel__dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.28);
  }

  .phone-carousel__dot.is-active {
    background: #ff10d4;
    box-shadow: 0 0 10px rgba(255,16,212,.55);
    transform: scale(1.12);
  }

  .site-footer {
    display: none;
  }
}

@media (max-width: 390px) and (orientation: portrait) {
  .course-title {
    font-size: clamp(35px, 10.6vw, 44px);
  }

  .course-feature-card {
    min-height: 160px;
  }
}

/* ==================================================
   MOBILE TOUCH POLISH V3
================================================== */
@media (max-width: 767px) and (orientation: portrait) {
  .phone-carousel__viewport {
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    scroll-behavior: smooth;
    scroll-snap-stop: always;
  }

  .phone-carousel__track {
    user-select: none;
    -webkit-user-select: none;
  }

  .phone-carousel__slide img {
    pointer-events: none;
    -webkit-user-drag: none;
    user-select: none;
  }

  .phone-carousel__arrow {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .phone-contact__email {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
}


/* ==================================================
   FINAL 2K / 4K COURSE HERO
   Matches the approved FHD composition proportionally.
   This block intentionally overrides older 4K tuning
   above without changing FHD or mobile layouts.
================================================== */

/* 2K / 4K with OS scaling */
@media (min-width: 2200px) and (max-width: 2999px) {

  .course-section {
    padding-top: calc(var(--header-height) + 8px);
    padding-bottom: 8px;
  }

  .course-section .container {
    height: calc(100vh - var(--header-height) - 16px);

    grid-template-rows:
      minmax(0, 1fr)
      clamp(11rem, 13vh, 12.5rem);

    gap: clamp(0.75rem, 0.9vh, 1rem);
  }

  .course-hero {
    grid-template-columns:
      minmax(45rem, 0.88fr)
      minmax(0, 1.12fr);

    gap: clamp(1.8rem, 1.6vw, 2.7rem);
    align-items: center;
  }

  .course-hero__content {
    width: 100%;
    max-width: 40.5vw;
    min-height: 0;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    transform: translateY(-1.5vh);
  }

  .course-label {
    align-self: flex-start;

    transform: none;

    margin: 0 0 10px;

    padding: 9px 23px;

    border-width: 4px;

    font-size: clamp(1.1rem, 0.8vw, 1.3rem);
    line-height: 1.05;
  }

  .course-title {
    max-width: 40.5vw;

    margin: 0 0 3px;

    font-size: clamp(5.5rem, 4.3vw, 6.75rem);
    line-height: 1.2;

    padding-bottom: 0.08em;

    text-align: left;
  }

  .course-description {
    max-width: 39.5vw;

    margin: 8px 0 8px;

    font-size: clamp(1.25rem, 0.96vw, 1.5rem);
    line-height: 1.26;

    text-align: left;
  }

  .course-cta,
  .course-benefits {
    max-width: 39.5vw;
  }

  .course-cta {
    position: relative;

    top: 2.4vh;

    margin: 6px auto 12px;

    display: flex;
    justify-content: center;

    transform: none;
  }

  .course-cta .button {
    width: clamp(27rem, 20.5vw, 32rem);

    min-width: 0;
    min-height: clamp(4.6rem, 5.4vh, 5.5rem);

    padding-inline: 2.7rem;

    font-size: clamp(1.35rem, 1.02vw, 1.58rem);
  }

  .course-benefits {
    margin: 13px auto 10px;

    min-height: 48px;

    font-size: clamp(1rem, 0.75vw, 1.2rem);
  }

  .course-benefit {
    min-height: 42px;
    gap: 10px;
  }

  .course-benefit svg {
    width: 29px;
    height: 29px;
  }

  .course-benefit:not(:last-child)::after {
    height: 32px;
  }

  .course-hero__visual {
    align-items: center;
  }

  .hero-collage {
    width: 100%;
    max-width: 1480px;

    height: auto;

    aspect-ratio: 1.72 / 1;
  }

  .course-features-grid {
    height: 100%;
    min-height: 0;

    align-items: stretch;

    gap: clamp(0.7rem, 0.6vw, 0.95rem);

    margin-top: 0;

    transform: none;
  }

  .course-feature-card {
    height: 100%;
    min-height: 0;

    padding: 14px 16px;
  }

  .course-feature-card h3 {
    margin-bottom: 9px;

    font-size: clamp(0.96rem, 0.72vw, 1.15rem);
    line-height: 1.12;
  }

  .course-feature-card strong {
    margin-bottom: 5px;

    font-size: clamp(0.9rem, 0.66vw, 1.05rem);
  }

  .course-feature-card p {
    margin-top: 0.35rem;

    font-size: clamp(0.82rem, 0.58vw, 0.95rem);
    line-height: 1.2;
  }
}


/* Native 4K+ */
@media (min-width: 3000px) {

  .course-section {
    padding-top: calc(var(--header-height) + 12px);
    padding-bottom: 12px;
  }

  .course-section .container {
    height: calc(100vh - var(--header-height) - 24px);

    grid-template-rows:
      minmax(0, 1fr)
      clamp(16rem, 13vh, 18rem);

    gap: clamp(1rem, 0.9vh, 1.4rem);
  }

  .course-hero {
    grid-template-columns:
      minmax(68rem, 0.88fr)
      minmax(0, 1.12fr);

    gap: clamp(2.5rem, 1.6vw, 4rem);
    align-items: center;
  }

  .course-hero__content {
    width: 100%;
    max-width: 40.5vw;
    min-height: 0;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    transform: translateY(-1.5vh);
  }

  .course-label {
    align-self: flex-start;

    transform: none;

    margin: 0 0 14px;

    padding: 14px 34px;

    border-width: 5px;

    font-size: clamp(1.65rem, 0.8vw, 2rem);
    line-height: 1.05;
  }

  .course-title {
    max-width: 40.5vw;

    margin: 0 0 5px;

    font-size: clamp(8.2rem, 4.3vw, 10.1rem);
    line-height: 1.08;

    padding-bottom: 0.08em;

    text-align: left;
  }

  .course-description {
    max-width: 39.5vw;

    margin: 12px 0 12px;

    font-size: clamp(1.9rem, 0.96vw, 2.25rem);
    line-height: 1.26;

    text-align: left;
  }

  .course-cta,
  .course-benefits {
    max-width: 39.5vw;
  }

  .course-cta {
    position: relative;

    top: 2.4vh;

    margin: 8px auto 16px;

    display: flex;
    justify-content: center;

    transform: none;
  }

  .course-cta .button {
    width: clamp(40rem, 20.5vw, 48rem);

    min-width: 0;
    min-height: clamp(6.8rem, 5.4vh, 8rem);

    padding-inline: 4rem;

    font-size: clamp(2rem, 1.02vw, 2.35rem);
  }

  .course-benefits {
    margin: 18px auto 14px;

    min-height: 68px;

    font-size: clamp(1.5rem, 0.75vw, 1.8rem);
  }

  .course-benefit {
    min-height: 60px;
    gap: 16px;
  }

  .course-benefit svg {
    width: 42px;
    height: 42px;
  }

  .course-benefit:not(:last-child)::after {
    height: 48px;
  }

  .course-hero__visual {
    align-items: center;
  }

  .hero-collage {
    width: 100%;
    max-width: 2200px;

    height: auto;

    aspect-ratio: 1.72 / 1;
  }

  .course-features-grid {
    height: 100%;
    min-height: 0;

    align-items: stretch;

    gap: clamp(1rem, 0.6vw, 1.4rem);

    margin-top: 0;

    transform: none;
  }

  .course-feature-card {
    height: 100%;
    min-height: 0;

    padding: 20px 24px;
  }

  .course-feature-card h3 {
    margin-bottom: 12px;

    font-size: clamp(1.45rem, 0.72vw, 1.72rem);
    line-height: 1.12;
  }

  .course-feature-card strong {
    margin-bottom: 8px;

    font-size: clamp(1.35rem, 0.66vw, 1.58rem);
  }

  .course-feature-card p {
    margin-top: 0.5rem;

    font-size: clamp(1.2rem, 0.58vw, 1.42rem);
    line-height: 1.2;
  }
}


/* ==================================================
   FINAL FHD FEATURE CARDS
   Make the bottom row taller and improve readability.
   Because the course container keeps a fixed viewport height,
   the taller row grows upward rather than extending the page.
================================================== */

@media (min-width: 1400px) and (max-width: 2199px) {

  .course-section .container {
    grid-template-rows:
      minmax(0, 1fr)
      158px;
  }

  .course-features-grid {
    height: 158px;
    min-height: 158px;

    gap: clamp(0.6rem, 0.68vw, 0.8rem);
  }

  .course-feature-card {
    height: 158px;
    min-height: 158px;

    padding: 14px 16px;
  }

  .course-feature-card h3 {
    margin-bottom: 8px;

    font-size: clamp(0.88rem, 0.82vw, 1rem);
    line-height: 1.14;
  }

  .course-feature-card strong {
    margin-bottom: 5px;

    font-size: clamp(0.79rem, 0.75vw, 0.92rem);
    line-height: 1.16;
  }

  .course-feature-card p {
    margin-top: 0.25rem;

    font-size: clamp(0.72rem, 0.68vw, 0.84rem);
    line-height: 1.25;
  }
}


/* Short FHD: keep the same readable typography,
   but use a slightly shorter card row. */
@media (min-width: 1400px) and (max-width: 2199px) and (max-height: 950px) {

  .course-section .container {
    grid-template-rows:
      minmax(0, 1fr)
      146px;
  }

  .course-features-grid,
  .course-feature-card {
    height: 146px;
    min-height: 146px;
  }

  .course-feature-card {
    padding: 12px 14px;
  }

  .course-feature-card h3 {
    font-size: clamp(0.84rem, 0.80vw, 0.96rem);
  }

  .course-feature-card strong {
    font-size: clamp(0.76rem, 0.72vw, 0.88rem);
  }

  .course-feature-card p {
    font-size: clamp(0.70rem, 0.65vw, 0.80rem);
    line-height: 1.23;
  }
}


/* ==================================================
   FINAL FHD FEATURE CARDS — VISUAL ACCENT
   - slightly larger typography
   - thicker neon border with additional white rim
   - branded purple headings
================================================== */

@media (min-width: 1400px) and (max-width: 2199px) {

  .course-feature-card {
    border: 3px solid var(--border-neon);

    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.88),
      0 0 22px rgba(255, 29, 187, 0.24),
      inset 0 0 20px rgba(131, 56, 255, 0.08);
  }

  .course-feature-card h3 {
    color: var(--color-purple);

    font-size: clamp(
      calc(0.88rem + 1px),
      calc(0.82vw + 1px),
      calc(1rem + 1px)
    );
  }

  .course-feature-card strong {
    font-size: clamp(
      calc(0.79rem + 1px),
      calc(0.75vw + 1px),
      calc(0.92rem + 1px)
    );
  }

  .course-feature-card p {
    font-size: clamp(
      calc(0.72rem + 1px),
      calc(0.68vw + 1px),
      calc(0.84rem + 1px)
    );
  }
}


/* Short FHD override */
@media (min-width: 1400px) and (max-width: 2199px) and (max-height: 950px) {

  .course-feature-card h3 {
    color: var(--color-purple);

    font-size: clamp(
      calc(0.84rem + 1px),
      calc(0.80vw + 1px),
      calc(0.96rem + 1px)
    );
  }

  .course-feature-card strong {
    font-size: clamp(
      calc(0.76rem + 1px),
      calc(0.72vw + 1px),
      calc(0.88rem + 1px)
    );
  }

  .course-feature-card p {
    font-size: clamp(
      calc(0.70rem + 1px),
      calc(0.65vw + 1px),
      calc(0.80rem + 1px)
    );
  }
}


/* ==================================================
   FINAL 2K / 4K FEATURE CARDS — MATCH FHD STYLE
   - same thicker neon border + white rim
   - larger cards
   - larger typography
   - branded purple headings
================================================== */

/* 2K / scaled 4K */
@media (min-width: 2200px) and (max-width: 2999px) {

  .course-section .container {
    grid-template-rows:
      minmax(0, 1fr)
      230px;
  }

  .course-features-grid {
    height: 230px;
    min-height: 230px;

    gap: clamp(0.8rem, 0.72vw, 1.05rem);
  }

  .course-feature-card {
    height: 230px;
    min-height: 230px;

    padding: 22px 24px;

    border: 4px solid var(--border-neon);

    box-shadow:
      0 0 0 2px rgba(255, 255, 255, 0.88),
      0 0 30px rgba(255, 29, 187, 0.28),
      inset 0 0 28px rgba(131, 56, 255, 0.10);
  }

  .course-feature-card h3 {
    margin-bottom: 11px;

    color: var(--color-purple);

    font-size: clamp(1.18rem, 0.88vw, 1.38rem);
    line-height: 1.14;
  }

  .course-feature-card strong {
    margin-bottom: 7px;

    font-size: clamp(1.04rem, 0.80vw, 1.22rem);
    line-height: 1.16;
  }

  .course-feature-card p {
    margin-top: 0.35rem;

    font-size: clamp(0.96rem, 0.72vw, 1.10rem);
    line-height: 1.26;
  }
}


/* Native 4K+ */
@media (min-width: 3000px) {

  .course-section .container {
    grid-template-rows:
      minmax(0, 1fr)
      320px;
  }

  .course-features-grid {
    height: 320px;
    min-height: 320px;

    gap: clamp(1.1rem, 0.72vw, 1.5rem);
  }

  .course-feature-card {
    height: 320px;
    min-height: 320px;

    padding: 30px 34px;

    border: 5px solid var(--border-neon);

    box-shadow:
      0 0 0 3px rgba(255, 255, 255, 0.90),
      0 0 42px rgba(255, 29, 187, 0.32),
      inset 0 0 36px rgba(131, 56, 255, 0.12);
  }

  .course-feature-card h3 {
    margin-bottom: 16px;

    color: var(--color-purple);

    font-size: clamp(1.75rem, 0.88vw, 2.05rem);
    line-height: 1.14;
  }

  .course-feature-card strong {
    margin-bottom: 10px;

    font-size: clamp(1.55rem, 0.80vw, 1.82rem);
    line-height: 1.16;
  }

  .course-feature-card p {
    margin-top: 0.5rem;

    font-size: clamp(1.38rem, 0.72vw, 1.60rem);
    line-height: 1.26;
  }
}


/* ==================================================
   SCALED FHD / HIGH WINDOWS SCALING
   Typical case: 1920px display at ~125–150% scaling,
   where the CSS viewport drops below the normal FHD breakpoint.
   Keep the desktop composition, but allow the section to grow
   vertically instead of making hero and cards overlap.
================================================== */

@media (min-width: 1200px) and (max-width: 1399px) {

  .course-section {
    min-height: 100vh;
    height: auto;

    padding-top: calc(var(--header-height) + 8px);
    padding-bottom: 24px;

    overflow-x: hidden;
    overflow-y: visible;
  }

  .course-section .container {
    height: auto;
    min-height: calc(100vh - var(--header-height) - 32px);

    /* Give the feature-card row guaranteed room and let the hero
       use the remaining space. This is much more stable at 125–150%
       Windows/browser scaling than negative margins. */
    grid-template-rows:
      minmax(0, 0.80fr)
      minmax(175px, 0.20fr);

    gap: 16px;
  }

  .course-hero {
    grid-template-columns:
      minmax(430px, 0.90fr)
      minmax(0, 1.10fr);

    gap: 22px;

    align-items: center;
  }

  .course-hero__content {
    width: 100%;
    max-width: 41vw;

    justify-content: center;

    transform: none;
  }

  .course-label {
    margin-bottom: 8px;

    padding: 6px 14px;

    font-size: 0.78rem;
  }

  .course-title {
    max-width: 41vw;

    margin-bottom: 3px;

    font-size: clamp(3.15rem, 4.35vw, 3.75rem);
    line-height: 1.08;

    padding-bottom: 0.06em;
  }

  .course-description {
    max-width: 40vw;

    margin: 7px 0 8px;

    font-size: clamp(0.88rem, 1.15vw, 1rem);
    line-height: 1.28;
  }

  .course-cta {
    position: relative;

    top: 1.2vh;

    max-width: 40vw;

    margin: 6px auto 8px;
  }

  .course-cta .button {
    width: clamp(18rem, 29vw, 23rem);

    min-width: 0;
    min-height: 3.35rem;

    font-size: 1rem;
  }

  .hero-collage {
    width: 100%;
    max-width: 720px;

    height: auto;

    aspect-ratio: 1.72 / 1;
  }

  .course-features-grid {
    height: 175px;
    min-height: 175px;

    gap: 10px;

    margin-top: 0;
  }

  .course-feature-card {
    height: 175px;
    min-height: 175px;

    padding: 13px 14px;

    border: 3px solid var(--border-neon);

    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.88),
      0 0 22px rgba(255, 29, 187, 0.24),
      inset 0 0 20px rgba(131, 56, 255, 0.08);
  }

  .course-feature-card h3 {
    margin-bottom: 7px;

    color: var(--color-purple);

    font-size: clamp(0.84rem, 1.05vw, 0.95rem);
    line-height: 1.14;
  }

  .course-feature-card strong {
    margin-bottom: 4px;

    font-size: clamp(0.76rem, 0.95vw, 0.88rem);
    line-height: 1.16;
  }

  .course-feature-card p {
    margin-top: 0.2rem;

    font-size: clamp(0.69rem, 0.85vw, 0.80rem);
    line-height: 1.24;
  }
}


/* ==================================================
   SCALED FHD — FLOW FIX
   Use normal document flow instead of squeezing hero + cards
   into a fixed-height grid. This prevents overlap at 125–150%
   Windows/browser scaling.
================================================== */

@media (min-width: 1200px) and (max-width: 1399px) {

  .course-section {
    min-height: 100vh;
    height: auto;
    padding-top: calc(var(--header-height) + 8px);
    padding-bottom: 28px;
    overflow-x: hidden;
    overflow-y: visible;
  }

  .course-section .container {
    display: flex;
    flex-direction: column;

    height: auto;
    min-height: 0;

    gap: 18px;
  }

  .course-hero {
    display: grid;

    grid-template-columns:
      minmax(430px, 0.90fr)
      minmax(0, 1.10fr);

    gap: 22px;

    align-items: center;

    min-height: 0;
    height: auto;
  }

  .course-hero__content {
    max-width: 41vw;
    width: 100%;

    transform: none;
  }

  .course-title {
    max-width: 41vw;
  }

  .course-description {
    max-width: 40vw;
  }

  .course-cta {
    position: static;
    top: auto;

    max-width: 40vw;

    margin: 12px auto 0;
    transform: none;
  }

  .course-cta .button {
    width: clamp(18rem, 29vw, 23rem);
  }

  .course-hero__visual {
    height: auto;
    min-height: 0;
  }

  .hero-collage {
    width: 100%;
    max-width: 690px;

    height: auto;
    aspect-ratio: 1.72 / 1;
  }

  .course-features-grid {
    width: 100%;

    height: auto;
    min-height: 175px;

    margin-top: 8px;

    gap: 10px;

    flex: 0 0 auto;
  }

  .course-feature-card {
    height: auto;
    min-height: 175px;
  }
}


/* ==================================================
   SCALED FHD — COMPACT FEATURE CARDS
   Reduce inner padding/border/font sizes so the cards fit
   comfortably at 125–150% Windows/browser scaling.
================================================== */

@media (min-width: 1200px) and (max-width: 1399px) {

  .course-features-grid {
    gap: 8px;
    margin-top: 4px;

    min-height: 145px;
  }

  .course-feature-card {
    min-height: 145px;
    height: auto;

    padding: 9px 11px;

    border-width: 2px;
    border-radius: 16px;

    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.75),
      0 0 16px rgba(255, 29, 187, 0.20),
      inset 0 0 14px rgba(131, 56, 255, 0.06);
  }

  .course-feature-card h3 {
    margin-bottom: 5px;

    color: var(--color-purple);

    font-size: clamp(0.78rem, 0.95vw, 0.90rem);
    line-height: 1.08;
  }

  .course-feature-card strong {
    margin-bottom: 3px;

    font-size: clamp(0.70rem, 0.86vw, 0.82rem);
    line-height: 1.10;
  }

  .course-feature-card p {
    margin-top: 2px;

    font-size: clamp(0.64rem, 0.78vw, 0.75rem);
    line-height: 1.15;
  }
}


/* ==================================================
   SCALED FHD — TIGHTER + HIGHER FEATURE CARDS
   Final tuning:
   - move the feature row upward
   - reduce card height and inner spacing
   - keep readable typography and the same visual style
================================================== */

@media (min-width: 1200px) and (max-width: 1399px) {

  .course-features-grid {
    min-height: 132px;

    gap: 7px;

    /* Bring the whole row closer to the hero. */
    margin-top: -10px;
  }

  .course-feature-card {
    min-height: 132px;
    height: auto;

    padding: 7px 9px;

    border-width: 2px;
    border-radius: 15px;

    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.72),
      0 0 14px rgba(255, 29, 187, 0.18),
      inset 0 0 12px rgba(131, 56, 255, 0.05);
  }

  .course-feature-card h3 {
    margin-bottom: 4px;

    color: var(--color-purple);

    font-size: clamp(0.74rem, 0.90vw, 0.86rem);
    line-height: 1.04;
  }

  .course-feature-card strong {
    margin-bottom: 2px;

    font-size: clamp(0.67rem, 0.82vw, 0.78rem);
    line-height: 1.06;
  }

  .course-feature-card p {
    margin-top: 1px;

    font-size: clamp(0.61rem, 0.73vw, 0.72rem);
    line-height: 1.10;
  }
}


/* ==================================================
   SCALED FHD — FIT ENTIRE COURSE INTO VIEWPORT
   Target: effective CSS width 1200–1399px (often 1920px at
   125–150% scaling). Reserve a fixed compact row for cards
   and make the hero consume only the remaining viewport height.
================================================== */

@media (min-width: 1200px) and (max-width: 1399px) {

  .course-section {
    height: 100dvh;
    min-height: 100dvh;

    padding-top: calc(var(--header-height) + 6px);
    padding-bottom: 8px;

    overflow: hidden;
  }

  .course-section .container {
    display: grid;

    height: calc(100dvh - var(--header-height) - 14px);
    min-height: 0;

    grid-template-rows:
      minmax(0, 1fr)
      120px;

    gap: 10px;
  }

  .course-hero {
    height: 100%;
    min-height: 0;

    grid-template-columns:
      minmax(410px, 0.88fr)
      minmax(0, 1.12fr);

    gap: 18px;

    align-items: center;
  }

  .course-hero__content {
    width: 100%;
    max-width: 42vw;

    min-height: 0;

    justify-content: center;

    transform: none;
  }

  .course-label {
    margin: 0 0 5px;

    padding: 5px 12px;

    font-size: clamp(0.68rem, 1.35vh, 0.78rem);
    line-height: 1;
  }

  .course-title {
    max-width: 42vw;

    margin: 0 0 2px;

    padding-bottom: 0.04em;

    font-size: clamp(2.65rem, 6.6vh, 3.45rem);
    line-height: 1.2;
  }

  .course-description {
    max-width: 41vw;

    margin: 5px 0 5px;

    font-size: clamp(0.75rem, 1.75vh, 0.92rem);
    line-height: 1.18;
  }

  .course-cta {
    position: static;

    max-width: 41vw;

    margin: 8px auto 0;

    transform: none;
  }

  .course-cta .button {
    width: clamp(17rem, 28vw, 21rem);

    min-width: 0;
    min-height: clamp(2.75rem, 5.2vh, 3.25rem);

    padding-inline: 1.4rem;

    font-size: clamp(0.88rem, 1.8vh, 1rem);
  }

  .course-hero__visual {
    height: 100%;
    min-height: 0;

    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-collage {
    width: auto;
    max-width: 100%;

    height: auto;
    max-height: 100%;

    aspect-ratio: 1.72 / 1;
  }

  .course-features-grid {
    width: 100%;

    height: 120px;
    min-height: 120px;

    margin-top: 0;

    gap: 7px;

    align-items: stretch;
  }

  .course-feature-card {
    height: 120px;
    min-height: 120px;

    padding: 6px 8px;

    border-width: 2px;
    border-radius: 14px;

    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.70),
      0 0 12px rgba(255, 29, 187, 0.16),
      inset 0 0 10px rgba(131, 56, 255, 0.05);
  }

  .course-feature-card h3 {
    margin-bottom: 0px;

    color: var(--color-purple);

    font-size: clamp(0.70rem, 3vh, 0.82rem);
    line-height: 1.02;
  }

  .course-feature-card strong {
    margin-bottom: 0px;

    font-size: clamp(0.64rem, 2.5vh, 0.74rem);
    line-height: 1.04;
  }

  .course-feature-card p {
    margin-top: 1px;

    font-size: clamp(0.58rem, 3vh, 0.68rem);
    line-height: 1.08;
  }
}


/* ==================================================
   SCALED FHD — FINAL CARD COMPACTION
   - reduce card row from 120px to 110px
   - reduce internal vertical whitespace
   - make the first supporting sentence (strong) purple
================================================== */

@media (min-width: 1200px) and (max-width: 1399px) {

  .course-section .container {
    grid-template-rows:
      minmax(0, 1fr)
      110px;
  }

  .course-features-grid {
    height: 110px;
    min-height: 110px;
  }

  .course-feature-card {
    height: 110px;
    min-height: 110px;

    padding: 3px 7px;
  }

  .course-feature-card h3 {
    margin-bottom: 2px;
  }

  .course-feature-card strong {
    margin-bottom: 0;

    color: var(--color-purple);
  }

  .course-feature-card p {
    margin-top: 0;
  }
}


/* ==================================================
   FINAL FEATURE CARD COLOR HIERARCHY
   Keep this block at the very end of responsive.css.

   h3     -> brand purple
   strong -> white
   p      -> brand pink

   Both `color` and `-webkit-text-fill-color` are set because
   an earlier global rule forces the card text to white.
================================================== */

.course-feature-card h3 {
  color: var(--color-purple);
  -webkit-text-fill-color: var(--color-purple);
}

.course-feature-card strong {
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
}

.course-feature-card p {
  color: var(--color-pink);
  -webkit-text-fill-color: var(--color-pink);
}

/* --------------------------------------------------
   CUSTOM UPDATE — feature cards text cleanup v2
   - Keep headings purple
   - Hide the middle white <strong> line
   - Make the paragraph text white
-------------------------------------------------- */
.course-feature-card h3 {
  color: var(--color-purple) !important;
  -webkit-text-fill-color: var(--color-purple) !important;
}

.course-feature-card strong {
  display: none !important;
}

.course-feature-card p {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
