:root {
  --ink: #071822;
  --ink-2: #0B2029;
  --paper: #F6F4ED;
  --mist: #F5F5EF;
  --line: rgba(255, 255, 255, .12);
  --text-soft: #BCC8CC;
  --cyan: #49E6D1;
  --gold: #f4c95d;
  --blue: #2a63ff;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(7, 16, 24, .14);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

.scroll-progress {
  position: fixed;
  z-index: 90;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
}

.site-header {
  position: sticky;
  z-index: 80;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  background: rgba(7, 24, 34, .84);
  color: white;
  backdrop-filter: blur(18px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 156px;
  padding: 12px 0;
  gap: 28px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 auto;
  width: clamp(240px, 24vw, 310px);
  height: 132px;
}

.brand-mark::before {
  display: none;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: auto;
}

.brand-mark span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 700;
}

.site-nav a {
  opacity: .82;
  outline-offset: 5px;
  transition: color .22s var(--ease), opacity .22s var(--ease), border-color .22s var(--ease), background .22s var(--ease);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  opacity: 1;
  color: var(--cyan);
}

.nav-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid rgba(73, 230, 209, .55);
  border-radius: var(--radius);
  background: rgba(73, 230, 209, .12);
  color: white;
  opacity: 1 !important;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--cyan);
  color: var(--ink) !important;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius);
  background: transparent;
  color: white;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  content: "";
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: white;
  font-weight: 800;
  transition: transform .24s var(--ease), background .24s var(--ease);
}

.button.primary-cyan {
  border-color: var(--cyan);
  background: var(--cyan);
  color: var(--ink);
}

.button.primary-cyan:hover {
  background: #7ff4e7;
}

.button.ghost-light {
  border-color: rgba(246, 244, 237, .38);
  background: transparent;
  color: var(--paper);
}

.button.ghost-light:hover {
  border-color: rgba(246, 244, 237, .72);
  background: rgba(246, 244, 237, .08);
}

.button-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

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

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.button.paypal {
  border-color: #179bd7;
  background: #f7fbff;
  color: #12346b;
}

.button.paypal:hover {
  background: #e7f4ff;
}

.button.light {
  border-color: rgba(255, 255, 255, .32);
  background: white;
  color: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 72px);
  padding: 88px 0 34px;
  background:
    radial-gradient(circle at 12% 15%, rgba(70, 240, 208, .42), transparent 34%),
    radial-gradient(circle at 82% 18%, rgba(244, 201, 93, .32), transparent 30%),
    linear-gradient(135deg, #071018 0%, #132433 58%, #071018 100%);
  color: white;
}

.hero-grid,
.section-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  align-items: center;
  gap: 48px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero-logo {
  width: min(620px, 100%);
  max-height: 260px;
  object-fit: contain;
  object-position: left center;
  margin: 0 0 24px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.page-logo {
  width: min(420px, 82vw);
  max-height: 180px;
  object-fit: contain;
  object-position: left center;
  margin: 0 0 28px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

h1,
.page-title {
  margin: 0;
  max-width: 950px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(48px, 8vw, 112px);
  line-height: .92;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(34px, 5vw, 68px);
  line-height: .98;
}

h3 {
  margin: 0 0 10px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 24px;
  line-height: 1.08;
}

.lead {
  max-width: 720px;
  margin: 24px 0 0;
  font-size: clamp(18px, 2vw, 23px);
  color: rgba(255, 255, 255, .78);
}

.page-lead {
  max-width: 760px;
  margin: 22px 0 0;
  font-size: 21px;
  color: rgba(255, 255, 255, .76);
}

.hero-actions,
.split-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-media {
  position: relative;
  min-height: 560px;
}

.hero-card {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .35);
}

.hero-card img,
.feature-image img,
.feature-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-focus-top {
  object-position: center top;
}

.portrait-frame {
  background:
    radial-gradient(circle at 50% 18%, rgba(70, 240, 208, .22), transparent 38%),
    linear-gradient(145deg, #101820, #2a3036);
}

.portrait-frame .photo-contain {
  object-fit: contain;
  object-position: center center;
  padding: 14px;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1180px, calc(100% - 32px));
  margin: 46px auto 0;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .08);
}

.stat {
  padding: 18px;
  border-right: 1px solid rgba(255, 255, 255, .14);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  color: var(--cyan);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 28px;
}

.section {
  padding: 92px 0;
}

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

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

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.section-head p {
  max-width: 520px;
  margin: 0;
  color: rgba(7, 16, 24, .68);
}

.dark .section-head p,
.dark .text-soft {
  color: rgba(255, 255, 255, .68);
}

.grid-3,
.grid-2,
.grid-1 {
  display: grid;
  gap: 18px;
}

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

.courses-list-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

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

.panel,
.service-card,
.resource-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .68);
  padding: 26px;
  box-shadow: 0 10px 34px rgba(7, 16, 24, .05);
}

.dark .panel,
.dark .service-card {
  border-color: rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .07);
}

.service-card,
.tilt-card {
  transform-style: preserve-3d;
  transition: transform .24s var(--ease), border-color .24s var(--ease);
}

.service-card:hover,
.resource-card:hover {
  border-color: rgba(42, 99, 255, .45);
}

.review-card {
  display: flex;
  min-height: 285px;
  flex-direction: column;
  gap: 12px;
}

.review-card p {
  margin-bottom: auto;
}

.review-person {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.review-person img {
  width: 62px;
  height: 62px;
  border: 2px solid rgba(255, 255, 255, .82);
  border-radius: 50%;
  background: #071018;
  box-shadow: 0 12px 26px rgba(7, 16, 24, .12);
}

.review-person div {
  min-width: 0;
}

.review-person strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
}

.review-person span {
  display: block;
  margin-top: 3px;
  color: rgba(7, 16, 24, .62);
  font-size: 13px;
}

.review-stars {
  color: #f4c95d;
  font-size: 18px;
  letter-spacing: 2px;
}

.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--cyan);
  color: var(--ink);
  font-weight: 900;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.course-catalog {
  display: grid;
  gap: 18px;
}

.course-catalog-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  padding: 34px;
}

.course-level {
  display: inline-flex;
  margin-bottom: 14px;
  border-radius: var(--radius);
  background: rgba(73, 230, 209, .18);
  color: var(--ink);
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.course-catalog-card h3 {
  font-size: clamp(30px, 4vw, 48px);
}

.course-catalog-card p {
  max-width: 680px;
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 18px 0 0;
  padding: 0;
  color: rgba(7, 24, 34, .68);
  font-weight: 800;
  list-style: none;
}

.course-meta li::before {
  margin-right: 8px;
  color: #179bd7;
  content: "•";
}

.course-catalog-actions {
  max-width: 265px;
  margin-top: 0;
}

.course-catalog-actions .button {
  width: 100%;
}

.button.is-disabled {
  cursor: not-allowed;
  opacity: .58;
  pointer-events: none;
}

.service-price {
  margin: 18px 0 0;
  color: rgba(7, 24, 34, .72);
  font-weight: 800;
}

.service-price strong {
  color: var(--ink);
}

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

.feature-image {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-image.workshop-poster {
  aspect-ratio: 941 / 1672;
  background: #020722;
}

.feature-image.workshop-poster.taller-2-poster {
  aspect-ratio: 864 / 1821;
}

.feature-image.workshop-poster.taller-1-poster {
  aspect-ratio: 864 / 1821;
}

.feature-image.workshop-poster img {
  object-fit: contain;
  object-position: center top;
}

.video-frame {
  background: #071018;
}

.video-frame video {
  display: block;
}

.list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.dark .list li {
  border-color: rgba(255, 255, 255, .16);
}

.page-hero {
  padding: 92px 0 76px;
  background:
    radial-gradient(circle at 15% 25%, rgba(70, 240, 208, .28), transparent 34%),
    linear-gradient(145deg, #071018, #132433);
  color: white;
}

.courses-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: center;
  gap: clamp(28px, 5vw, 60px);
}

.courses-hero-copy {
  min-width: 0;
}

.courses-avatar-video {
  position: relative;
  overflow: hidden;
  width: min(100%, 420px);
  max-height: 620px;
  aspect-ratio: 9 / 16;
  justify-self: end;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background: #020722;
  box-shadow: 0 26px 72px rgba(0, 0, 0, .32);
}

.courses-avatar-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-page {
  background: var(--ink);
  color: var(--paper);
}

.about-hero {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  padding: 116px 0 88px;
  background:
    radial-gradient(circle at 16% 12%, rgba(73, 230, 209, .2), transparent 32%),
    radial-gradient(circle at 86% 26%, rgba(73, 230, 209, .12), transparent 28%),
    linear-gradient(135deg, #071822 0%, #0B2029 62%, #071822 100%);
}

.about-hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  content: "";
}

.about-hero-inner,
.about-approach-inner {
  position: relative;
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.about-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(330px, .84fr);
  align-items: center;
  gap: 56px;
}

.about-title {
  max-width: 850px;
  margin: 0;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(54px, 6vw, 84px);
  line-height: 1.01;
  letter-spacing: 0;
}

.about-lead {
  max-width: 720px;
  margin: 26px 0 0;
  color: var(--text-soft);
  font-size: clamp(18px, 1.55vw, 22px);
}

.about-visual {
  position: relative;
  min-height: 500px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(73, 230, 209, .24), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
  box-shadow: 0 28px 90px rgba(0, 0, 0, .28);
}

.about-visual.video-visual {
  background: #061018;
}

.about-visual::before {
  position: absolute;
  inset: 24px;
  border-radius: 12px;
  background:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: .72;
  content: "";
}

.about-visual.video-visual::before {
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 24, 34, .12), rgba(7, 24, 34, .38)),
    radial-gradient(circle at 80% 18%, rgba(73, 230, 209, .18), transparent 34%);
  opacity: 1;
}

.about-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-orbit {
  position: absolute;
  inset: 80px 66px;
  border: 1px solid rgba(73, 230, 209, .32);
  border-radius: 50%;
  box-shadow: inset 0 0 42px rgba(73, 230, 209, .1), 0 0 38px rgba(73, 230, 209, .1);
}

.about-orbit::before,
.about-orbit::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.about-orbit::before {
  width: 102px;
  height: 102px;
  left: calc(50% - 51px);
  top: calc(50% - 51px);
  border: 1px solid rgba(246, 244, 237, .18);
  background: rgba(7, 24, 34, .68);
}

.about-orbit::after {
  width: 12px;
  height: 12px;
  right: 18%;
  top: 10%;
  background: var(--cyan);
  box-shadow: 0 0 22px rgba(73, 230, 209, .8);
}

.tech-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(73, 230, 209, .75), transparent);
}

.line-a {
  top: 32%;
  left: 12%;
  width: 76%;
}

.line-b {
  right: 11%;
  bottom: 30%;
  width: 62%;
  transform: rotate(-24deg);
}

.tech-node {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 22px rgba(73, 230, 209, .75);
}

.node-a {
  left: 18%;
  top: 34%;
}

.node-b {
  right: 21%;
  bottom: 25%;
}

.tech-card {
  position: absolute;
  min-width: 128px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  background: rgba(7, 24, 34, .74);
  color: var(--paper);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 16px 50px rgba(0, 0, 0, .24);
  backdrop-filter: blur(12px);
}

.card-a {
  top: 20%;
  left: 10%;
}

.card-b {
  top: 17%;
  right: 10%;
}

.card-c {
  left: 14%;
  bottom: 18%;
}

.card-d {
  right: 11%;
  bottom: 22%;
}

.about-approach {
  padding: 104px 0;
  background: #F5F5EF;
  color: var(--ink);
}

.about-approach-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 460px);
  align-items: center;
  gap: 64px;
}

.dark-eyebrow {
  color: #168d82;
}

.about-approach h2 {
  max-width: 690px;
  color: var(--ink);
  font-size: clamp(40px, 4.8vw, 72px);
}

.approach-intro {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(7, 24, 34, .72);
  font-size: 18px;
}

.approach-list {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.approach-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 20px;
  border: 1px solid rgba(7, 24, 34, .1);
  border-radius: 14px;
  background: rgba(255, 255, 255, .58);
  box-shadow: 0 12px 36px rgba(7, 24, 34, .06);
}

.approach-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--cyan);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 800;
}

.approach-item h3 {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 22px;
}

.approach-item p {
  margin: 0;
  color: rgba(7, 24, 34, .66);
}

.about-portrait {
  margin: 0;
}

.portrait-crop {
  height: min(520px, 72vw);
  overflow: hidden;
  border: 1px solid rgba(7, 24, 34, .1);
  border-radius: 16px;
  background: #101820;
  box-shadow: 0 24px 70px rgba(7, 24, 34, .18);
}

.portrait-crop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 8%;
}

.about-portrait figcaption {
  margin-top: 18px;
  color: var(--ink);
}

.about-portrait figcaption strong,
.about-portrait figcaption span {
  display: block;
}

.about-portrait figcaption strong {
  font-size: 20px;
  font-weight: 900;
}

.about-portrait figcaption span {
  margin-top: 4px;
  color: rgba(7, 24, 34, .62);
  font-size: 15px;
}

.course-band {
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(70, 240, 208, .16), rgba(244, 201, 93, .12));
  padding: 34px;
}

.course-requirements {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  margin-bottom: 38px;
  border: 1px solid rgba(23, 155, 215, .26);
  border-radius: var(--radius);
  background: #eef8ff;
  padding: 24px;
}

.requirement-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #179bd7;
  color: white;
  font-family: Georgia, serif;
  font-size: 24px;
  font-weight: 800;
}

.course-requirements h2 {
  margin-bottom: 8px;
  font-size: 24px;
}

.course-requirements p {
  max-width: 940px;
  margin: 0;
  color: rgba(7, 24, 34, .72);
}

.course-content-split {
  align-items: start;
}

.timeline {
  display: grid;
  gap: 14px;
  counter-reset: step;
}

.timeline-item {
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.timeline-item::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  color: var(--blue);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 28px;
  font-weight: 800;
}

.contact-box {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  border-radius: var(--radius);
  background: var(--ink);
  color: white;
  padding: 36px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
  align-items: start;
  gap: 22px;
}

.lead-form-card h3 {
  margin-bottom: 8px;
}

.lead-form-card > p {
  margin: 0 0 22px;
  color: rgba(7, 24, 34, .68);
}

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

.form-row {
  display: grid;
  gap: 8px;
}

.form-row-full,
.lead-form button,
.form-status {
  grid-column: 1 / -1;
}

.form-row label {
  color: rgba(7, 24, 34, .76);
  font-size: 14px;
  font-weight: 800;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(7, 24, 34, .16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .82);
  color: var(--ink);
  font: inherit;
  padding: 12px 14px;
  outline: none;
  transition: border-color .22s var(--ease), box-shadow .22s var(--ease), background .22s var(--ease);
}

.form-row textarea {
  min-height: 126px;
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: rgba(73, 230, 209, .95);
  background: white;
  box-shadow: 0 0 0 4px rgba(73, 230, 209, .16);
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: rgba(7, 24, 34, .68);
  font-size: 14px;
  font-weight: 700;
}

.form-status[data-tone="success"] {
  color: #137a43;
}

.form-status[data-tone="error"] {
  color: #a32a2a;
}

.registration-section {
  background: white;
}

.registration-layout {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: 28px;
}

.registration-copy {
  position: sticky;
  top: 190px;
}

.registration-copy p {
  color: rgba(7, 24, 34, .68);
}

.registration-form {
  display: grid;
  gap: 22px;
  border: 1px solid rgba(7, 24, 34, .1);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 92% 8%, rgba(73, 230, 209, .18), transparent 26%),
    var(--mist);
  padding: 28px;
  box-shadow: 0 22px 60px rgba(7, 16, 24, .08);
}

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

.registration-form label {
  display: grid;
  gap: 8px;
  color: rgba(7, 24, 34, .76);
  font-size: 14px;
  font-weight: 800;
}

.registration-form input,
.registration-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(7, 24, 34, .16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .88);
  color: var(--ink);
  font: inherit;
  padding: 12px 14px;
  outline: none;
  transition: border-color .22s var(--ease), box-shadow .22s var(--ease), background .22s var(--ease);
}

.registration-form input:focus,
.registration-form select:focus {
  border-color: rgba(73, 230, 209, .95);
  background: white;
  box-shadow: 0 0 0 4px rgba(73, 230, 209, .16);
}

.calendar-panel,
.checkout-panel {
  border: 1px solid rgba(7, 24, 34, .1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .78);
  padding: 20px;
}

.calendar-panel h3 {
  margin-bottom: 14px;
}

.date-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.date-option {
  min-height: 96px;
  border: 1px solid rgba(7, 24, 34, .14);
  border-radius: var(--radius);
  background: white;
  color: var(--ink);
  font: inherit;
  padding: 14px;
  text-align: left;
  cursor: pointer;
  transition: border-color .22s var(--ease), box-shadow .22s var(--ease), transform .22s var(--ease);
}

.date-option span,
.date-option strong {
  display: block;
}

.date-option span {
  color: rgba(7, 24, 34, .7);
  font-size: 14px;
  font-weight: 800;
}

.date-option strong {
  margin-top: 8px;
  font-size: 18px;
}

.date-option:hover,
.date-option.is-selected {
  border-color: rgba(23, 155, 215, .9);
  box-shadow: 0 10px 24px rgba(23, 155, 215, .12);
  transform: translateY(-2px);
}

.checkout-summary {
  display: grid;
  gap: 12px;
}

.checkout-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(7, 24, 34, .1);
  padding-bottom: 12px;
}

.checkout-summary span {
  color: rgba(7, 24, 34, .62);
  font-weight: 800;
}

.checkout-summary strong {
  text-align: right;
}

.checkout-summary .checkout-total {
  align-items: center;
  border-bottom: 0;
  padding-bottom: 0;
}

.checkout-total strong {
  color: var(--ink);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 34px;
}

.coupon-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px;
  margin-top: 20px;
}

.checkout-button {
  width: 100%;
  margin-top: 10px;
}

.payment-note {
  margin: 8px 0 0;
  color: rgba(7, 24, 34, .64);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

body.modal-open {
  overflow: hidden;
}

.modal-backdrop {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(3, 10, 14, .72);
  padding: 24px;
  backdrop-filter: blur(10px);
}

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

.advisory-modal {
  position: relative;
  width: min(820px, 100%);
  max-height: min(86vh, 860px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  background: #F5F5EF;
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .36);
  padding: 34px;
}

.advisory-modal h2 {
  max-width: 680px;
  color: var(--ink);
  font-size: clamp(32px, 5vw, 54px);
}

.modal-lead {
  max-width: 660px;
  margin: 18px 0 24px;
  color: rgba(7, 24, 34, .7);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(7, 24, 34, .14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .68);
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover {
  background: white;
}

.advisory-form {
  margin-top: 8px;
}

.site-footer {
  padding: 56px 0 28px;
  background: #05080c;
  color: rgba(255, 255, 255, .72);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.15fr .9fr auto;
  align-items: start;
  gap: 34px;
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  font-size: 14px;
}

.footer-brand p {
  max-width: 360px;
  margin: 18px 0 0;
  color: rgba(246, 244, 237, .7);
}

.footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: auto;
}

.footer-logo {
  display: inline-flex;
  width: clamp(280px, 30vw, 380px);
  height: 198px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(110px, 1fr));
  gap: 12px 24px;
}

.footer-links a {
  color: rgba(246, 244, 237, .72);
  font-weight: 700;
}

.footer-links a:hover,
.footer-links a[aria-current="page"] {
  color: var(--cyan);
}

.footer-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-copy {
  grid-column: 1 / -1;
  margin: 18px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: rgba(246, 244, 237, .54);
}

.whatsapp-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.whatsapp-line img {
  width: 20px;
  height: 20px;
}

.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  background: rgba(37, 211, 102, .12);
  color: white;
  font-weight: 700;
}

.footer-whatsapp:hover {
  background: rgba(37, 211, 102, .2);
}

.footer-whatsapp strong {
  font-weight: 800;
}

.social-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.social-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .08);
}

.social-button img {
  width: 22px;
  height: 22px;
}

.social-button:hover {
  background: rgba(255, 255, 255, .16);
}

.inline-heading {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.inline-heading img {
  width: 28px;
  height: 28px;
}

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

.reveal[data-split] {
  opacity: 1;
  transform: none;
}

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

@media (max-width: 1160px) {
  .courses-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 880px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 156px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: var(--radius);
    background: #071018;
    padding: 12px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 10px;
  }

  .nav-cta {
    justify-content: center;
    margin-top: 8px;
  }

  .hero-grid,
  .courses-hero-grid,
  .feature-split,
  .grid-2,
  .grid-3,
  .grid-1,
  .contact-grid,
  .contact-box,
  .registration-layout,
  .form-grid,
  .course-catalog-card {
    grid-template-columns: 1fr;
  }

  .course-catalog-actions {
    max-width: none;
  }

  .courses-avatar-video {
    width: min(100%, 390px);
    justify-self: start;
  }

  .registration-copy {
    position: static;
  }

  .date-options {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-media {
    min-height: auto;
  }

  .stat-strip {
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 16px;
  }

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

  .footer-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .nav-wrap {
    width: min(100% - 40px, 1200px);
    min-height: 116px;
    padding: 10px 0;
  }

  .site-nav {
    top: 116px;
  }

  .brand-mark {
    width: min(190px, 58vw);
    height: 96px;
  }

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

  .about-hero-inner,
  .about-approach-inner {
    width: min(100% - 40px, 1200px);
  }

  .about-hero {
    min-height: auto;
    padding: 72px 0 58px;
  }

  .about-hero-inner,
  .about-approach-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .about-title {
    font-size: clamp(40px, 13vw, 58px);
    line-height: 1.02;
  }

  .about-visual {
    min-height: 360px;
  }

  .tech-card {
    min-width: auto;
    padding: 11px 12px;
    font-size: 13px;
  }

  .about-approach {
    padding: 70px 0;
  }

  .approach-item {
    grid-template-columns: 1fr;
  }

  .portrait-crop {
    height: 520px;
  }

  .footer-logo {
    width: min(250px, 78vw);
    height: 132px;
  }

  .footer-logo img {
    width: 100%;
    height: 100%;
  }

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

  .hero-logo {
    max-height: 180px;
  }

  .page-logo {
    max-height: 130px;
  }

  .section {
    padding: 64px 0;
  }

  .hero-actions,
  .split-actions {
    flex-direction: column;
  }

  .registration-form {
    padding: 20px;
  }

  .coupon-row,
  .checkout-summary > div {
    grid-template-columns: 1fr;
  }

  .coupon-row {
    display: grid;
  }

  .coupon-row .button {
    width: 100%;
  }

  .checkout-summary > div {
    display: grid;
  }

  .checkout-summary strong {
    text-align: left;
  }

  .button {
    width: 100%;
  }

  .lead-form {
    grid-template-columns: 1fr;
  }

  .advisory-modal {
    padding: 26px 20px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 561px) and (max-width: 880px) {
  .about-hero-inner,
  .about-approach-inner {
    grid-template-columns: 1fr;
  }

  .about-title {
    font-size: clamp(48px, 8vw, 72px);
  }

  .about-visual {
    min-height: 440px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

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