/* =========================================================
   ABBAS BHOJANI COACHING
   Premium monochrome landing page
   ========================================================= */

:root {
  --bg: #f7f7f5;
  --surface: #fbfbf9;
  --ink: #111111;
  --black: #000000;
  --muted: #666666;
  --border: #dededa;
  --border-strong: #c9c9c4;
  --soft: #eeeeea;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --container: 1200px;
  --section-space: clamp(88px, 10vw, 156px);

  --shadow-soft: 0 18px 55px rgba(0, 0, 0, 0.06);
  --shadow-nav: 0 14px 45px rgba(0, 0, 0, 0.07);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* =========================================================
   RESET
   ========================================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-loading {
  overflow: hidden;
}

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

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

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

button {
  border: 0;
}

::selection {
  background: var(--ink);
  color: var(--bg);
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  padding-block: var(--section-space);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: white;
  transform: translateY(-180%);
  transition: transform 0.25s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

/* =========================================================
   TYPOGRAPHY / SHARED
   ========================================================= */

.eyebrow {
  margin: 0 0 18px;
  color: #3f3f3d;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow--light {
  color: #cfcfca;
}

.section-heading {
  max-width: 820px;
  margin-bottom: clamp(42px, 6vw, 78px);
}

.section-heading h2 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(2rem, 3.8vw, 3.7rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.98;
}

.section-heading--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
  gap: 56px;
  align-items: end;
}

.section-heading--split > p {
  margin: 0 0 3px;
  max-width: 420px;
  color: var(--muted);
  font-size: 1rem;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  transition:
    transform 0.3s var(--ease),
    background-color 0.3s var(--ease),
    border-color 0.3s var(--ease),
    color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.button:hover {
  transform: translateY(-2px);
}

.button__arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}

.button:hover .button__arrow {
  transform: translate(3px, -2px);
}

.button--dark {
  background: var(--ink);
  color: white;
}

.button--dark:hover {
  background: var(--black);
  box-shadow: 0 11px 24px rgba(0, 0, 0, 0.14);
}

.button--light {
  border-color: var(--border-strong);
  background: transparent;
  color: var(--ink);
}

.button--light:hover {
  border-color: var(--ink);
  background: var(--surface);
}

.button--white {
  background: white;
  color: var(--black);
}

.button--white:hover {
  box-shadow: 0 13px 30px rgba(255, 255, 255, 0.12);
}

.button--full {
  width: 100%;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   LOADER
   ========================================================= */

.loader {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: grid;
  place-items: center;
  background: var(--bg);
  transition:
    opacity 0.65s var(--ease),
    visibility 0.65s var(--ease);
}

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

.loader__inner {
  position: relative;
  width: min(500px, calc(100vw - 56px));
  display: grid;
  justify-items: center;
}

.loader__curve {
  width: 260px;
  margin-bottom: 26px;
}

.loader__curve svg {
  overflow: visible;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.5;
}

.loader__curve svg line {
  opacity: 0.18;
}

.loader__curve-path {
  stroke-width: 2.2;
  stroke-dasharray: 430;
  stroke-dashoffset: 430;
  animation: loaderDraw 0.9s var(--ease) 0.1s forwards;
}

.loader__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.loader__logo-mask {
  width: 54px;
  height: 54px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  transform: scale(0.86);
  opacity: 0;
  animation: loaderLogo 0.45s var(--ease) 0.55s forwards;
}

.loader__logo-mask img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.loader__wordmark {
  display: grid;
  opacity: 0;
  transform: translateY(8px);
  animation: loaderText 0.45s var(--ease) 0.66s forwards;
}

.loader__wordmark strong {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.loader__wordmark span {
  margin-top: 1px;
  color: var(--muted);
  font-size: 0.69rem;
}

.loader__notation {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-top: 26px;
  color: #777773;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  opacity: 0;
  animation: loaderText 0.4s var(--ease) 0.78s forwards;
}

@keyframes loaderDraw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes loaderLogo {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

/* =========================================================
   NAVIGATION
   ========================================================= */

.site-header {
  position: fixed;
  top: 18px;
  left: 0;
  z-index: 1000;
  width: 100%;
  pointer-events: none;
}

.nav-shell {
  position: relative;
  min-height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 9px 10px 9px 14px;
  border: 1px solid rgba(17, 17, 17, 0.16);
  border-radius: 22px;
  background: rgba(247, 247, 245, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  pointer-events: auto;
  transition:
    min-height 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease),
    background-color 0.35s var(--ease);
}

.site-header.is-scrolled .nav-shell {
  min-height: 64px;
  border-color: rgba(17, 17, 17, 0.2);
  background: rgba(247, 247, 245, 0.96);
  box-shadow: var(--shadow-nav);
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  justify-self: start;
  overflow: hidden;
  border-radius: 13px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 42px;
  justify-self: center;
}

.nav-links a {
  position: relative;
  padding: 10px 2px;
  color: #4e4e4b;
  font-size: 0.9rem;
  font-weight: 800;
  transition: color 0.25s var(--ease);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 3px;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--ink);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-contact {
  min-height: 50px;
  min-width: 120px;
  justify-self: end;
}

.menu-toggle,
.mobile-menu {
  display: none;
}

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

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 160px;
  padding-bottom: 42px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(17, 17, 17, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.032) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, transparent 4%, black 24%, black 78%, transparent 100%);
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  gap: clamp(48px, 7vw, 100px);
  align-items: center;
  flex: 1;
}

.hero__content {
  max-width: 690px;
}

.hero__title {
  margin: 0;
  font-size: clamp(2.8rem, 4.7vw, 5.4rem);
  line-height: 0.94;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.hero__title-muted {
  color: #7c7c79;
}

.hero__intro {
  max-width: 620px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.7;
}

.hero__subjects {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.hero__subjects span {
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.38);
  color: #474744;
  font-size: 0.73rem;
  font-weight: 800;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero__visual {
  position: relative;
}

.academic-canvas {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 78% 20%, rgba(0, 0, 0, 0.035), transparent 28%),
    var(--surface);
  box-shadow: var(--shadow-soft);
}

.academic-canvas::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(17, 17, 17, 0.08);
  border-radius: 18px;
  pointer-events: none;
}

.academic-canvas__label {
  position: absolute;
  z-index: 3;
  color: rgba(17, 17, 17, 0.16);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.academic-canvas__label--one {
  top: 48px;
  left: 38px;
  font-size: 2.7rem;
}

.academic-canvas__label--two {
  top: 94px;
  right: 38px;
  font-size: 1rem;
}

.academic-canvas__label--three {
  bottom: 58px;
  right: 56px;
  font-size: 4.2rem;
}

.academic-canvas__label--four {
  bottom: 148px;
  left: 34px;
  font-size: 0.83rem;
  letter-spacing: 0.12em;
}

.hero-graph {
  position: absolute;
  overflow: visible;
  fill: none;
  stroke: rgba(17, 17, 17, 0.28);
  stroke-width: 1.3;
}

.hero-graph text {
  fill: rgba(17, 17, 17, 0.5);
  stroke: none;
  font: 700 12px "Nunito", sans-serif;
}

.hero-graph circle {
  fill: var(--ink);
  stroke: none;
}

.hero-graph--math {
  top: 94px;
  left: 50%;
  width: 88%;
  transform: translateX(-50%);
}

.hero-graph--econ {
  right: -56px;
  bottom: 74px;
  width: 73%;
  opacity: 0.72;
}

.draw-line {
  stroke: var(--ink);
  stroke-width: 2.2;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
}

body.is-ready .draw-line {
  animation: graphDraw 1.8s var(--ease) 0.5s forwards;
}

.draw-line--delay {
  animation-delay: 0.8s !important;
}

.dashed {
  stroke-dasharray: 5 6;
}

@keyframes graphDraw {
  to {
    stroke-dashoffset: 0;
  }
}

.formula-card {
  position: absolute;
  z-index: 5;
  min-width: 220px;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 0 12px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  background: rgba(247, 247, 245, 0.93);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.formula-card strong {
  font-size: 0.92rem;
}

.formula-card > span:last-child {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.68rem;
}

.formula-card__index {
  grid-row: 1 / span 2;
  font-size: 0.7rem;
  font-weight: 900;
}

.formula-card--top {
  top: 168px;
  right: 28px;
}

.formula-card--bottom {
  left: 28px;
  bottom: 54px;
}

.hero__meta {
  position: relative;
  z-index: 2;
  display: flex;
  gap: clamp(34px, 7vw, 100px);
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.hero__meta > div {
  display: grid;
  gap: 3px;
}

.hero__meta-label {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero__meta strong {
  font-size: 0.88rem;
}

.hero-reveal {
  opacity: 0;
  transform: translateY(22px);
}

body.is-ready .hero-reveal {
  animation: heroReveal 0.8s var(--ease) forwards;
}

body.is-ready .hero-reveal:nth-child(1) { animation-delay: 0.08s; }
body.is-ready .hero-reveal:nth-child(2) { animation-delay: 0.16s; }
body.is-ready .hero-reveal:nth-child(3) { animation-delay: 0.24s; }
body.is-ready .hero-reveal:nth-child(4) { animation-delay: 0.32s; }
body.is-ready .hero-reveal:nth-child(5) { animation-delay: 0.40s; }

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

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

.about {
  border-top: 1px solid var(--border);
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(50px, 8vw, 110px);
}

.about__statement {
  position: sticky;
  top: 132px;
  align-self: start;
  max-width: 480px;
}

.about__statement p {
  margin: 0;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.35;
}

.about__principles {
  border-top: 1px solid var(--border);
}

.principle {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 26px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.principle__number {
  padding-top: 2px;
  color: #888883;
  font-size: 0.72rem;
  font-weight: 900;
}

.principle h3 {
  margin: 0 0 7px;
  font-size: 1.16rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.principle p {
  margin: 0;
  max-width: 560px;
  color: var(--muted);
}

/* =========================================================
   COURSE CARDS
   ========================================================= */

.courses {
  background: #f1f1ee;
  border-block: 1px solid var(--border);
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.course-card {
  position: relative;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition:
    transform 0.35s var(--ease),
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.course-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.07);
}

.course-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.course-card__level,
.course-card__code {
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.course-card__code {
  color: #91918d;
}

.course-card__graphic {
  position: relative;
  height: 210px;
  display: grid;
  place-items: center;
  margin-top: 20px;
  overflow: hidden;
  border-block: 1px solid var(--border);
}

.course-card__graphic svg {
  width: 92%;
  fill: none;
  stroke: rgba(17, 17, 17, 0.19);
  stroke-width: 1.2;
}

.course-card__graphic > span {
  position: absolute;
  top: 26px;
  right: 28px;
  color: rgba(17, 17, 17, 0.21);
  font-size: 1.8rem;
  font-weight: 900;
}

.course-line {
  stroke: var(--ink);
  stroke-width: 2.4;
  transition: transform 0.45s var(--ease);
  transform-origin: center;
}

.course-card:hover .course-line {
  transform: scaleY(1.04);
}

.course-line--secondary {
  stroke: #777773;
}

.course-card__body {
  padding-top: 28px;
}

.course-card__body h3 {
  margin: 0;
  font-size: clamp(1.8rem, 2.7vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.0125em;
  line-height: 1.02;
}

.course-card__body p {
  max-width: 500px;
  margin: 18px 0 0;
  color: var(--muted);
}

.course-card__footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-top: auto;
  padding-top: 30px;
}

.price {
  display: grid;
  gap: 2px;
}

.price span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.price strong {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 0 7px;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 900;
}

.card-link span {
  transition: transform 0.3s var(--ease);
}

.card-link:hover span {
  transform: translate(3px, -2px);
}

.calculus-mark {
  position: absolute;
  left: 28px;
  top: 8px;
  color: rgba(17, 17, 17, 0.12);
  font-size: 6rem;
  font-weight: 700;
  line-height: 1;
}

.calculus-copy {
  position: absolute;
  right: 34px;
  bottom: 20px;
  color: rgba(17, 17, 17, 0.17);
  font-size: 1.35rem;
  font-weight: 900;
}

.econ-equation {
  top: auto !important;
  right: 24px !important;
  bottom: 20px !important;
  font-size: 0.92rem !important;
}

.notation-cloud {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.notation-cloud span {
  position: absolute;
  color: rgba(17, 17, 17, 0.12);
  font-weight: 900;
}

.notation-cloud span:nth-child(1) {
  top: 18px;
  left: 22px;
  font-size: 2.2rem;
}

.notation-cloud span:nth-child(2) {
  right: 28px;
  top: 22px;
  font-size: 1.6rem;
}

.notation-cloud span:nth-child(3) {
  left: 42%;
  bottom: 18px;
  font-size: 1rem;
}

.notation-cloud span:nth-child(4) {
  right: 14%;
  bottom: 14px;
  font-size: 2.6rem;
}

/* =========================================================
   BUNDLES
   ========================================================= */

.bundle-grid {
  display: grid;
  gap: 18px;
}

.bundle-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: #181818;
  color: white;
}

.bundle-card--featured {
  background: #050505;
}

.bundle-card__main {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 5vw, 54px);
  background-image:
    linear-gradient(rgba(255,255,255,0.036) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.036) 1px, transparent 1px);
  background-size: 42px 42px;
}

.bundle-card__top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #b8b8b3;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bundle-card h3 {
  max-width: 720px;
  margin: 40px 0 16px;
  font-size: clamp(2rem, 3.8vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 0.98;
}

.bundle-card__main p {
  max-width: 650px;
  margin: 0;
  color: #b8b8b4;
}

.bundle-card__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}

.bundle-card__list li {
  padding: 8px 10px;
  border: 1px solid #3d3d3a;
  border-radius: 8px;
  color: #d5d5d0;
  font-size: 0.74rem;
  font-weight: 800;
}

.bundle-card__aside {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(26px, 4vw, 44px);
  border-left: 1px solid #343431;
  background: rgba(255, 255, 255, 0.025);
}

.bundle-price {
  display: grid;
  gap: 6px;
}

.bundle-price span {
  color: #9e9e9a;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.bundle-price strong {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.05em;
}

.bundle-card .button--light {
  border-color: #5a5a56;
  background: transparent;
  color: #ffffff;
}

.bundle-card .button--light:hover {
  border-color: #ffffff;
  background: #ffffff;
  color: #111111;
}

/* =========================================================
   CONTACT
   ========================================================= */

.contact {
  padding-top: 0;
}

.contact-panel {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(390px, 0.9fr);
  overflow: hidden;
  border: 1px solid #d7d7d2;
  border-radius: var(--radius-lg);
  background: #efefec;
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.07);
}

.contact-panel__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(42px, 7vw, 86px);
}

.contact-panel__content h2 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(2.5rem, 4.6vw, 4.8rem);
  font-weight: 900;
  letter-spacing: -0.015em;
  line-height: 0.96;
}

.contact-panel__content h2 span {
  display: block;
  color: #777773;
}

.contact-panel__content > p:not(.eyebrow) {
  max-width: 620px;
  margin: 28px 0 32px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.contact-panel .eyebrow {
  color: #5f5f5b;
}

.contact-panel__note {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 32px;
}

.contact-panel__note span {
  padding: 7px 9px;
  border: 1px solid #cfcfca;
  border-radius: 7px;
  color: #666662;
  font-size: 0.69rem;
  font-weight: 800;
}

.contact-panel__visual {
  position: relative;
  overflow: hidden;
  border-left: 1px solid #d7d7d2;
  background:
    linear-gradient(rgba(17, 17, 17, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.045) 1px, transparent 1px),
    #e7e7e3;
  background-size: 38px 38px;
}

.contact-panel__image-wrap {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 0;
  width: min(118%, 690px);
  transform: translateX(-50%);
}

.contact-panel__illustration {
  width: 100%;
  max-height: 590px;
  object-fit: contain;
  object-position: center bottom;
  filter: grayscale(1) contrast(1.02);
}

.contact-panel__formula {
  position: absolute;
  z-index: 2;
  color: rgba(17, 17, 17, 0.12);
  font-weight: 900;
}

.contact-panel__formula--one {
  top: 42px;
  left: 34px;
  font-size: 2.5rem;
}

.contact-panel__formula--two {
  top: 88px;
  right: 28px;
}

.contact-panel__formula--three {
  right: 34px;
  bottom: 36px;
  font-size: 4rem;
}

.contact-panel__graph {
  position: absolute;
  z-index: 1;
  right: -80px;
  bottom: 42px;
  width: 92%;
  fill: none;
  stroke: rgba(17, 17, 17, 0.14);
  stroke-width: 1.4;
}

.contact-panel__graph path {
  stroke: rgba(17, 17, 17, 0.4);
  stroke-width: 2;
}

/* Contact CTA on the new light background */
.contact-panel .button--white {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}

.contact-panel .button--white:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

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

.footer {
  padding: 34px 0 24px;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 44px;
  align-items: center;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.footer__brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 10px;
}

.footer__brand div {
  display: grid;
}

.footer__brand strong {
  font-size: 0.9rem;
  font-weight: 900;
}

.footer__brand span {
  color: var(--muted);
  font-size: 0.7rem;
}

.footer__links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer__links a,
.footer__whatsapp {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  transition: color 0.25s var(--ease);
}

.footer__links a:hover,
.footer__whatsapp:hover {
  color: var(--ink);
}

.footer__whatsapp {
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: #8a8a86;
  font-size: 0.68rem;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1050px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero__content {
    max-width: 720px;
  }

  .hero__visual {
    width: 100%;
    max-width: 760px;
  }

  .academic-canvas {
    min-height: 500px;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .about__statement {
    position: static;
    max-width: 720px;
  }

  .bundle-card {
    grid-template-columns: 1fr;
  }

  .bundle-card__aside {
    flex-direction: row;
    align-items: center;
    border-top: 1px solid #343431;
    border-left: 0;
  }

  .bundle-card__aside .button {
    width: auto;
    min-width: 220px;
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }

  .contact-panel__visual {
    min-height: 460px;
    border-top: 1px solid #d7d7d2;
    border-left: 0;
  }

  .contact-panel__image-wrap {
    width: min(92%, 620px);
  }
}


@media (max-width: 820px) {
  :root {
    --section-space: 76px;
  }

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

  .site-header {
    top: 10px;
  }

  .nav-shell {
    grid-template-columns: 1fr auto;
    min-height: 60px;
    padding: 7px 8px 7px 10px;
    border-radius: 16px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .nav-links,
  .nav-contact {
    display: none;
  }

  .menu-toggle {
    position: relative;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border-strong);
    border-radius: 11px;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span {
    position: absolute;
    width: 18px;
    height: 1.5px;
    background: var(--ink);
    transition:
      transform 0.3s var(--ease),
      top 0.3s var(--ease);
  }

  .menu-toggle span:first-child {
    top: 18px;
  }

  .menu-toggle span:last-child {
    top: 24px;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    top: 21px;
    transform: rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    top: 21px;
    transform: rotate(-45deg);
  }

  .mobile-menu {
    display: block;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 0.3s var(--ease),
      transform 0.3s var(--ease),
      visibility 0.3s var(--ease);
  }

  .mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(8px);
  }

  .mobile-menu__inner {
    display: grid;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(247, 247, 245, 0.98);
    box-shadow: var(--shadow-nav);
  }

  .mobile-menu__inner a {
    padding: 14px 6px;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
    font-weight: 900;
  }

  .mobile-menu__inner a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: auto;
    padding-top: 112px;
    padding-bottom: 56px;
  }

  .hero__grid {
    gap: 42px;
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__title {
    font-size: clamp(2.45rem, 8vw, 4rem);
    line-height: 0.98;
    letter-spacing: -0.025em;
  }

  .hero__intro {
    max-width: 100%;
    margin-top: 22px;
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero__subjects {
    margin-top: 22px;
  }

  .hero__actions {
    margin-top: 28px;
  }

  .hero__visual {
    width: 100%;
    max-width: none;
  }

  .academic-canvas {
    min-height: 430px;
  }

  .hero__meta {
    margin-top: 40px;
  }

  .section-heading {
    margin-bottom: 46px;
  }

  .section-heading h2 {
    font-size: clamp(2rem, 6.4vw, 3rem);
    line-height: 1.02;
    letter-spacing: -0.02em;
  }

  .section-heading--split {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-heading--split > p {
    max-width: 100%;
  }

  .about__grid {
    gap: 42px;
  }

  .about__statement p {
    font-size: 1.28rem;
    line-height: 1.42;
  }

  .principle {
    gap: 16px;
    padding: 24px 0;
  }

  .course-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .course-card {
    min-height: auto;
    padding: 24px;
  }

  .course-card__graphic {
    height: 180px;
    margin-top: 18px;
  }

  .course-card__body {
    padding-top: 24px;
  }

  .course-card__body h3 {
    font-size: clamp(1.75rem, 6vw, 2.4rem);
    line-height: 1.02;
    letter-spacing: -0.015em;
  }

  .course-card__footer {
    margin-top: 28px;
    padding-top: 24px;
  }

  .bundle-card__main {
    min-height: auto;
    padding: 30px;
  }

  .bundle-card h3 {
    margin-top: 34px;
    font-size: clamp(2rem, 7vw, 3rem);
    line-height: 1;
    letter-spacing: -0.02em;
  }

  .bundle-card__main p {
    font-size: 0.95rem;
  }

  .bundle-card__aside {
    padding: 26px 30px;
  }

  .contact-panel {
    min-height: auto;
  }

  .contact-panel__content {
    padding: 48px 34px;
  }

  .contact-panel__content h2 {
    font-size: clamp(2.25rem, 7vw, 3.4rem);
    line-height: 1;
    letter-spacing: -0.015em;
  }

  .contact-panel__content > p:not(.eyebrow) {
    margin: 22px 0 28px;
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .contact-panel__visual {
    min-height: 430px;
  }

  .contact-panel__image-wrap {
    width: min(88%, 560px);
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
  }

  .footer__links {
    flex-wrap: wrap;
    gap: 18px;
  }
}


@media (max-width: 560px) {
  :root {
    --section-space: 68px;
  }

  .container {
    width: calc(100% - 32px);
  }

  .hero {
    padding-top: 102px;
    padding-bottom: 50px;
  }

  .hero__grid {
    gap: 34px;
  }

  .hero__title {
    font-size: clamp(2.2rem, 10vw, 3.1rem);
    line-height: 1;
    letter-spacing: -0.015em;
  }

  .hero__intro {
    margin-top: 20px;
    font-size: 0.96rem;
  }

  .hero__actions {
    display: grid;
    gap: 10px;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__subjects {
    gap: 6px;
  }

  .hero__subjects span {
    padding: 6px 8px;
    font-size: 0.65rem;
  }

  .academic-canvas {
    min-height: 340px;
    border-radius: 20px;
  }

  .academic-canvas__label--one {
    top: 24px;
    left: 20px;
    font-size: 1.65rem;
  }

  .formula-card {
    min-width: 165px;
    padding: 10px 12px;
  }

  .formula-card strong {
    font-size: 0.82rem;
  }

  .formula-card > span:last-child {
    font-size: 0.6rem;
  }

  .formula-card--top {
    top: 102px;
    right: 12px;
  }

  .formula-card--bottom {
    left: 12px;
    bottom: 18px;
  }

  .hero-graph--econ {
    display: none;
  }

  .hero__meta {
    display: grid;
    gap: 16px;
    margin-top: 32px;
    padding-top: 20px;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .section-heading h2 {
    font-size: clamp(1.9rem, 8vw, 2.65rem);
    line-height: 1.03;
    letter-spacing: -0.015em;
  }

  .about__grid {
    gap: 34px;
  }

  .about__statement p {
    font-size: 1.18rem;
    line-height: 1.45;
  }

  .principle {
    grid-template-columns: 32px 1fr;
    gap: 12px;
    padding: 22px 0;
  }

  .principle h3 {
    font-size: 1.05rem;
  }

  .principle p {
    font-size: 0.92rem;
  }

  .course-card {
    min-height: auto;
    padding: 20px;
  }

  .course-card__graphic {
    height: 160px;
  }

  .course-card__body h3 {
    font-size: clamp(1.65rem, 7vw, 2.15rem);
    line-height: 1.04;
  }

  .course-card__body p {
    font-size: 0.92rem;
  }

  .course-card__footer {
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    padding-top: 22px;
  }

  .price strong {
    font-size: 1.2rem;
  }

  .bundle-card__main {
    min-height: auto;
    padding: 26px 20px;
  }

  .bundle-card h3 {
    margin-top: 30px;
    font-size: clamp(1.9rem, 8vw, 2.6rem);
    line-height: 1.02;
    letter-spacing: -0.015em;
  }

  .bundle-card__list {
    margin-top: 30px;
  }

  .bundle-card__aside {
    flex-direction: column;
    align-items: stretch;
    padding: 22px 20px;
  }

  .bundle-card__aside .button {
    width: 100%;
    min-width: 0;
  }

  .contact-panel__content {
    padding: 40px 22px;
  }

  .contact-panel__content h2 {
    font-size: clamp(2rem, 9vw, 2.85rem);
    line-height: 1.02;
  }

  .contact-panel__content > p:not(.eyebrow) {
    font-size: 0.92rem;
  }

  .contact-panel__note {
    margin-top: 26px;
  }

  .contact-panel__visual {
    min-height: 360px;
  }

  .contact-panel__image-wrap {
    left: 50%;
    width: min(82%, 420px);
    bottom: 0;
    transform: translateX(-50%);
  }

  .contact-panel__illustration {
    width: 100%;
    max-height: 350px;
    object-fit: contain;
    object-position: center bottom;
  }

  .contact-panel__formula--one {
    top: 26px;
    left: 20px;
    font-size: 1.8rem;
  }

  .contact-panel__formula--two {
    top: 64px;
    right: 20px;
  }

  .contact-panel__formula--three {
    right: 20px;
    bottom: 20px;
    font-size: 3rem;
  }

  .footer__inner {
  grid-template-columns: 1fr;
  gap: 26px;
  justify-items: center;
  text-align: center;
}

.footer__brand {
  justify-content: center;
  flex-direction: column;
  gap: 10px;
}

.footer__brand div {
  justify-items: center;
}

.footer__links {
  justify-content: center;
  gap: 20px;
}

.footer__whatsapp {
  justify-self: center;
}

.footer__bottom {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
}

  .loader__brand {
    align-items: flex-start;
  }

  .loader__wordmark strong {
    font-size: 0.85rem;
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal,
  .hero-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}