:root {
  --ink: #171a24;
  --muted: #687083;
  --line: rgba(27, 31, 43, 0.12);
  --paper: #fffaf4;
  --white: #ffffff;
  --blue: #284fd6;
  --violet: #7a39ff;
  --orange: #ff7a1a;
  --soft-blue: #eaf0ff;
  --soft-peach: #fff0e5;
  --max: 1160px;
}

* {
  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.68;
}

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

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

[hidden] {
  display: none !important;
}

.shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 122, 26, 0.18), transparent 28%),
    radial-gradient(circle at 16% 18%, rgba(122, 57, 255, 0.16), transparent 26%),
    linear-gradient(135deg, #fffaf4 0%, #eef3ff 45%, #fff2e8 100%);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.68);
  background: rgba(255, 250, 244, 0.78);
  backdrop-filter: blur(18px);
}

.nav-inner,
.wrap {
  width: min(var(--max), calc(100% - 42px));
  margin: 0 auto;
}

.nav-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.brand-word {
  display: grid;
  gap: 0;
}

.brand-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.brand-line {
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: #485061;
  font-size: 14px;
  font-weight: 650;
}

.nav-links a {
  border-bottom: 1px solid transparent;
  padding: 4px 0;
}

.nav-links a:hover {
  border-bottom-color: currentColor;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.82fr);
  align-items: center;
  gap: 72px;
  padding: 72px 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: #4959b8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(54px, 8vw, 108px);
}

h2 {
  font-size: clamp(38px, 5vw, 66px);
}

h3 {
  font-size: 30px;
}

p {
  color: #465066;
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  font-size: 20px;
  color: #3f485a;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid var(--ink);
  font-weight: 800;
}

.btn.primary {
  color: var(--white);
  background: var(--ink);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.38);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(32, 40, 58, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  color: #40506d;
  font-size: 13px;
  font-weight: 850;
}

.hero-system {
  position: relative;
  display: grid;
  gap: 18px;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.78), rgba(238,243,255,0.54)),
    rgba(255, 255, 255, 0.36);
  box-shadow: 0 34px 100px rgba(40, 79, 214, 0.13);
  overflow: hidden;
}

.hero-system::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(40, 79, 214, 0.08);
  border-radius: 26px;
  pointer-events: none;
}

.system-card,
.system-grid > div {
  position: relative;
  border: 1px solid rgba(32, 40, 58, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 46px rgba(31, 45, 70, 0.08);
}

.system-card.main {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  background:
    linear-gradient(135deg, rgba(40,79,214,0.12), rgba(255,122,26,0.12)),
    rgba(255,255,255,0.88);
}

.system-card span,
.system-grid span {
  color: #5f74a8;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.system-card strong {
  max-width: 430px;
  margin-top: 14px;
  color: #171a24;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 0.98;
}

.system-card p,
.system-grid p {
  margin: 10px 0 0;
  color: #566177;
  line-height: 1.48;
}

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

.system-grid > div {
  min-height: 150px;
  padding: 20px;
}

.system-grid strong {
  display: block;
  margin-top: 14px;
  color: #171a24;
  font-size: 22px;
  line-height: 1.1;
}

.logic-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  padding: clamp(22px, 3.4vw, 34px);
  border: 1px solid rgba(32, 40, 58, 0.1);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.92), rgba(239,246,255,0.86)),
    #fff;
  box-shadow: 0 24px 70px rgba(31, 45, 70, 0.12);
}

.logic-panel::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(95, 162, 207, 0.16);
  border-radius: 22px;
  pointer-events: none;
}

.panel-head,
.level-card,
.signal-card,
.insight-card,
.panel-metrics {
  position: relative;
}

.panel-head {
  display: grid;
  gap: 10px;
  padding: 22px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(95,162,207,0.14), rgba(255,122,26,0.1)),
    rgba(255,255,255,0.7);
}

.panel-head span,
.level-card span,
.insight-card span {
  color: #5f74a8;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.panel-head strong {
  max-width: 420px;
  color: #171a24;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(40px, 4vw, 58px);
  line-height: 0.96;
}

.level-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid rgba(32, 40, 58, 0.08);
  border-radius: 20px;
  background: #fff;
}

.level-card strong {
  display: block;
  margin-top: 6px;
  color: #20283a;
  font-size: 22px;
  line-height: 1.1;
}

.level-card b {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 16px;
  background: #20283a;
  color: #fff;
  font-size: 18px;
}

.signal-card {
  display: grid;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid rgba(95, 162, 207, 0.14);
  border-radius: 20px;
  background: #f8fbff;
}

.signal-card div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.signal-card span {
  color: #5f74a8;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.signal-card strong {
  color: #20283a;
  font-size: 15px;
}

.signal-card i {
  position: relative;
  display: block;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #e1edf7;
}

.signal-card i::before {
  content: "";
  position: absolute;
  inset: 0 28% 0 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #5fa2cf, #198c7d);
}

.path-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.path-flow div {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(95, 162, 207, 0.16);
  border-radius: 18px;
  background: #f6fbff;
}

.path-flow span {
  color: #2b668d;
  font-size: 12px;
  font-weight: 950;
}

.insight-card {
  padding: 18px 20px;
  border: 1px solid rgba(25, 140, 125, 0.16);
  border-radius: 20px;
  background: #f1fbf8;
}

.insight-card p {
  margin: 8px 0 0;
  color: #435067;
  line-height: 1.55;
}

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

.panel-metrics div {
  padding: 14px;
  border: 1px solid rgba(32, 40, 58, 0.08);
  border-radius: 18px;
  background: rgba(255,255,255,0.74);
}

.panel-metrics strong,
.panel-metrics span {
  display: block;
}

.panel-metrics strong {
  color: #20283a;
  font-size: 16px;
}

.panel-metrics span {
  margin-top: 4px;
  color: #60708e;
  font-size: 12px;
  line-height: 1.35;
}

.section {
  padding: 88px 0;
  border-top: 1px solid var(--line);
  background: rgba(255, 250, 244, 0.58);
}

.section.alt {
  background:
    radial-gradient(circle at 88% 0%, rgba(122, 57, 255, 0.08), transparent 32%),
    rgba(255, 255, 255, 0.56);
}

.split {
  display: grid;
  grid-template-columns: 0.36fr 0.64fr;
  gap: 68px;
  align-items: start;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
  gap: 64px;
  align-items: center;
}

.about-photo {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  border: 1px solid rgba(32, 40, 58, 0.1);
  border-radius: 34px;
  background: #dfe8f4;
  box-shadow: 0 30px 80px rgba(31, 45, 70, 0.12);
}

.about-photo img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  object-position: center 22%;
}

.about-photo div {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  padding: 18px 20px 17px;
  border: 1px solid rgba(255,255,255,0.62);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
}

.about-photo span {
  display: block;
  color: #171a24;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 0.98;
}

.about-photo strong {
  display: block;
  margin-top: 7px;
  color: #5b6477;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.35;
}

.about-photo p {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(32, 40, 58, 0.1);
  color: #354058;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.about-copy .eyebrow {
  margin-bottom: 16px;
}

.about-copy h2 {
  margin-bottom: 24px;
}

.about-copy p:first-of-type {
  margin-top: 0;
}

.credential-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.credential-row span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(32, 40, 58, 0.1);
  border-radius: 999px;
  background: #fff;
  color: #354058;
  font-size: 13px;
  font-weight: 850;
}

.logo-panel {
  width: min(250px, 100%);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
  padding: 28px;
}

.course-group {
  border-top: 1px solid var(--line);
}

.course-row {
  position: relative;
  display: grid;
  grid-template-columns: 0.34fr 0.66fr;
  gap: 42px;
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
}

.course-row::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 38px;
  width: 4px;
  height: 54px;
  background: var(--cat);
}

.course-row:last-child {
  border-bottom: 0;
}

.course-row h3 {
  margin-bottom: 12px;
  font-size: clamp(32px, 3.4vw, 44px);
  color: var(--cat-dark);
}

.course-row p {
  margin-top: 0;
}

.course-row ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 9px;
}

.course-row li {
  position: relative;
  padding-left: 18px;
  color: #465066;
}

.course-row li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 12px;
  background: var(--cat);
}

.price {
  width: fit-content;
  margin-top: 6px;
  padding: 9px 12px 10px;
  border: 1px solid rgba(27, 31, 43, 0.18);
  background:
    linear-gradient(135deg, var(--cat-soft), rgba(255, 255, 255, 0.36)),
    rgba(255, 255, 255, 0.74);
  color: var(--ink);
  font-weight: 900;
}

.course-row li.price::before {
  display: none;
}

.course-row li.price {
  padding-left: 12px;
}

.category {
  --cat: #7a39ff;
  --cat-dark: #3f2a86;
  --cat-soft: rgba(122, 57, 255, 0.1);
  margin-bottom: 30px;
}

.category.diagnostic {
  --cat: #5fa2cf;
  --cat-dark: #2b668d;
  --cat-soft: rgba(95, 162, 207, 0.1);
}

.category.daily {
  --cat: #2563eb;
  --cat-dark: #173f91;
  --cat-soft: rgba(37, 99, 235, 0.1);
}

.category.business {
  --cat: #f97316;
  --cat-dark: #95420b;
  --cat-soft: rgba(249, 115, 22, 0.12);
}

.category.hsk {
  --cat: #0f766e;
  --cat-dark: #0b4f4a;
  --cat-soft: rgba(15, 118, 110, 0.1);
}

.category + .category {
  margin-top: 74px;
}

.course-intro {
  margin-bottom: 46px;
}

.category-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
  padding: 18px 20px 20px;
  border-left: 6px solid var(--cat);
  border-top: 1px solid rgba(27, 31, 43, 0.1);
  border-bottom: 1px solid rgba(27, 31, 43, 0.1);
  background:
    linear-gradient(90deg, var(--cat-soft), rgba(255,255,255,0.16)),
    rgba(255, 255, 255, 0.34);
}

.category-head span {
  color: var(--cat-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.category-head h3 {
  flex: 1;
  font-size: clamp(36px, 4.6vw, 58px);
  color: var(--cat-dark);
}

.contact {
  text-align: center;
}

.contact h2 {
  max-width: 820px;
  margin: 0 auto;
}

.contact .lead {
  margin-left: auto;
  margin-right: auto;
}

.footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

.booking-form {
  display: grid;
  gap: 16px;
}

.booking-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
  outline: none;
}

.booking-form textarea {
  min-height: 108px;
  resize: vertical;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  border-color: rgba(122, 57, 255, 0.52);
  box-shadow: 0 0 0 3px rgba(122, 57, 255, 0.08);
}

.booking-output {
  margin-top: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.amount-preview {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 18px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid rgba(27, 31, 43, 0.16);
  background:
    linear-gradient(135deg, rgba(122, 57, 255, 0.08), rgba(255, 122, 26, 0.1)),
    rgba(255, 255, 255, 0.72);
}

.amount-preview span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.amount-preview strong {
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 42px;
  line-height: 1;
}

.amount-preview small {
  grid-column: 1 / -1;
  color: var(--muted);
}

.payment-button {
  width: fit-content;
  margin: 8px 0 4px;
}

.payment-note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.booking-output textarea {
  min-height: 260px;
}

.admin-page {
  background:
    radial-gradient(circle at 90% 0%, rgba(122, 57, 255, 0.09), transparent 30%),
    linear-gradient(135deg, #fffaf4 0%, #eef3ff 52%, #fff2e8 100%);
}

.admin-header,
.admin-main {
  width: min(var(--max), calc(100% - 42px));
  margin: 0 auto;
}

.admin-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 44px 0 28px;
  border-bottom: 1px solid var(--line);
}

.admin-header h1 {
  font-size: clamp(44px, 6vw, 76px);
}

.admin-main {
  padding: 26px 0 70px;
}

.admin-login {
  display: grid;
  place-items: center;
  min-height: 42vh;
}

.admin-login form {
  width: min(520px, 100%);
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.admin-login h2 {
  text-align: left;
  font-size: 34px;
}

.admin-login p:not(.eyebrow) {
  margin: 0;
  color: #60708e;
}

.admin-login label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.admin-login input {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
}

.admin-toolbar {
  display: grid;
  grid-template-columns: minmax(180px, 240px) 1fr minmax(170px, 220px) minmax(150px, 190px);
  gap: 16px;
  margin-bottom: 20px;
}

.admin-toolbar label,
.booking-edit label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.admin-toolbar input,
.admin-toolbar select,
.booking-edit input,
.booking-edit select,
.booking-edit textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  font: inherit;
  padding: 11px 12px;
}

.admin-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.admin-summary div,
.booking-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
}

.admin-summary div {
  padding: 18px;
}

.admin-summary strong {
  display: block;
  color: var(--ink);
  font-size: 30px;
  line-height: 1;
}

.admin-summary span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.booking-list {
  display: grid;
  gap: 18px;
}

.admin-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin: 26px 0 16px;
}

.admin-section-head h2 {
  text-align: left;
  font-size: 42px;
}

.admin-section-head p:last-child {
  max-width: 440px;
  margin: 0;
  color: #60708e;
}

.lesson-list {
  margin-bottom: 28px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.availability-board {
  min-width: 1380px;
  display: grid;
  gap: 8px;
}

.availability-head,
.availability-row {
  display: grid;
  grid-template-columns: 150px repeat(11, minmax(108px, 1fr));
  gap: 8px;
}

.availability-head span {
  display: grid;
  min-height: 42px;
  place-items: center;
  padding: 8px;
  border: 1px solid rgba(32, 40, 58, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.74);
  color: #43506a;
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}

.availability-date,
.slot-cell {
  min-height: 86px;
  border: 1px solid rgba(32, 40, 58, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
}

.availability-date {
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 12px;
}

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

.availability-date strong {
  color: #171a24;
  font-size: 16px;
}

.availability-date span {
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}

.slot-cell {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 10px;
  font-size: 12px;
}

.slot-cell.available {
  border-color: rgba(20, 132, 99, 0.18);
  background: #f0fbf6;
  color: #167451;
}

.slot-cell.booked {
  border-color: rgba(191, 83, 61, 0.2);
  background: #fff5f0;
  color: #8f3f28;
}

.slot-cell span {
  font-weight: 950;
}

.slot-cell strong {
  color: #171a24;
  font-size: 12px;
}

.slot-cell small {
  color: #667085;
  line-height: 1.35;
}

.slot-cell em {
  color: #8f3f28;
  font-style: normal;
  font-weight: 850;
}

.booking-card {
  padding: 22px;
}

.booking-card-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.booking-card-head h2 {
  font-size: 36px;
}

.booking-time {
  min-width: 190px;
  display: grid;
  align-content: start;
  justify-items: end;
  gap: 4px;
  color: var(--ink);
}

.booking-time strong {
  font-size: 24px;
}

.booking-time span {
  color: var(--muted);
  font-weight: 850;
}

.booking-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.booking-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.booking-schedule {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f8fbff;
}

.booking-schedule strong {
  display: block;
  color: #171a24;
}

.booking-schedule ol {
  max-height: 180px;
  overflow: auto;
  display: grid;
  gap: 5px;
  margin: 10px 0 0;
  padding-left: 20px;
  color: #60708e;
  font-size: 13px;
}

.booking-grid p,
.booking-notes p {
  margin: 0;
}

.booking-edit {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.booking-edit textarea {
  min-height: 82px;
}

@media (max-width: 800px) {
  .admin-header,
  .booking-card-head {
    display: block;
  }

  .admin-toolbar,
  .admin-summary,
  .booking-grid,
  .booking-notes,
  .booking-edit,
  .admin-section-head {
    grid-template-columns: 1fr;
    display: grid;
  }

  .booking-time {
    justify-items: start;
    margin-top: 14px;
  }

  .availability-board {
    min-width: 1180px;
  }
}

@media (max-width: 900px) {
  .nav-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .nav-links {
    justify-content: flex-start;
    gap: 12px 16px;
  }

  .hero,
  .split,
  .course-row {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 42px;
  }

  .hero-card {
    min-height: 520px;
  }
}

@media (max-width: 560px) {
  .nav-inner,
  .wrap {
    width: min(100% - 28px, var(--max));
  }

  h1 {
    font-size: 46px;
  }

  .lead {
    font-size: 18px;
  }

  .section {
    padding: 62px 0;
  }

  .hero-card {
    min-height: 430px;
  }
}

/* Replit-inspired visual refresh */
:root {
  --ink: #231f2d;
  --muted: #746f7c;
  --line: rgba(72, 57, 95, 0.13);
  --paper: #fff8f1;
  --violet: #7c3cff;
  --orange: #ff7a1a;
  --rose: #f45da5;
  --primary: #6d38f5;
  --accent: #ff7a1a;
  --card: rgba(255, 255, 255, 0.78);
  --shadow: 0 22px 60px rgba(50, 36, 82, 0.12);
  --shadow-soft: 0 14px 36px rgba(50, 36, 82, 0.09);
}

body {
  background:
    radial-gradient(circle at 12% 8%, rgba(124, 60, 255, 0.12), transparent 28%),
    radial-gradient(circle at 88% 10%, rgba(255, 122, 26, 0.15), transparent 30%),
    linear-gradient(135deg, #fff8f1 0%, #f3f0ff 48%, #fff0e2 100%);
}

.shell {
  background:
    radial-gradient(circle at 78% 10%, rgba(255, 122, 26, 0.24), transparent 28%),
    radial-gradient(circle at 18% 16%, rgba(124, 60, 255, 0.22), transparent 30%),
    linear-gradient(135deg, #fff8f1 0%, #efeefe 45%, #fff0e5 100%);
}

.nav {
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 248, 241, 0.74);
  box-shadow: 0 12px 34px rgba(65, 48, 94, 0.06);
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(124, 60, 255, 0.16);
}

.brand-name {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 22px;
  font-weight: 900;
}

.nav-links a {
  padding: 8px 12px;
  border-radius: 999px;
  border-bottom: 0;
}

.nav-links a:hover {
  color: var(--primary);
  background: rgba(124, 60, 255, 0.08);
}

.hero {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 58px;
  padding: 86px 0;
}

h1,
h2,
h3 {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.98;
}

h2 {
  font-size: clamp(34px, 4.6vw, 62px);
}

h3 {
  font-size: 28px;
}

.eyebrow {
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(124, 60, 255, 0.1);
  color: var(--primary);
  letter-spacing: 0.12em;
}

.lead {
  color: #5b5666;
}

.btn {
  border-radius: 999px;
  border: 0;
  box-shadow: var(--shadow-soft);
}

.btn.primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.btn.secondary {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(124, 60, 255, 0.18);
}

.hero-card {
  min-height: 560px;
  border: 10px solid rgba(255, 255, 255, 0.56);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(124, 60, 255, 0.13), rgba(255, 122, 26, 0.16)),
    rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow);
}

.hero-card img {
  border-radius: 22px;
}

.section {
  border-top: 0;
  background: transparent;
}

.section.alt {
  background:
    radial-gradient(circle at 85% 6%, rgba(255, 122, 26, 0.1), transparent 24%),
    rgba(255, 255, 255, 0.34);
}

.split {
  gap: 44px;
}

.about-copy,
.booking-form,
.booking-output,
.booking-card,
.admin-summary div {
  border: 1px solid rgba(124, 60, 255, 0.12);
  border-radius: 28px;
  background: var(--card);
  box-shadow: var(--shadow-soft);
}

.about-copy {
  padding: 28px;
}

.category-head {
  border: 0;
  border-radius: 28px;
  padding: 24px 28px;
  box-shadow: var(--shadow-soft);
  background:
    linear-gradient(135deg, var(--cat-soft), rgba(255,255,255,0.72)),
    rgba(255, 255, 255, 0.62);
}

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

.category.diagnostic .course-group {
  grid-template-columns: 1fr;
}

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

.course-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(124, 60, 255, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.course-row::before {
  left: 24px;
  top: 0;
  width: 58px;
  height: 5px;
  border-radius: 0 0 999px 999px;
}

.course-row h3 {
  font-size: 24px;
}

.course-row ul {
  gap: 8px;
}

.price {
  border: 0;
  border-radius: 16px;
  box-shadow: none;
}

.booking-form {
  padding: 26px;
}

.booking-form input,
.booking-form select,
.booking-form textarea,
.admin-toolbar input,
.admin-toolbar select,
.booking-edit input,
.booking-edit select,
.booking-edit textarea {
  border-radius: 16px;
  border-color: rgba(124, 60, 255, 0.16);
}

.amount-preview {
  border: 0;
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

.booking-output {
  padding: 22px;
}

.admin-header {
  border-bottom: 0;
}

.admin-toolbar {
  padding: 20px;
  border-radius: 24px;
  background: var(--card);
  box-shadow: var(--shadow-soft);
}

.booking-card {
  border-radius: 28px;
}

@media (max-width: 980px) {
  .course-group,
  .category.hsk .course-group {
    grid-template-columns: 1fr;
  }
}

/* Mandrix Replit-match polish */
:root {
  --ink: #20283a;
  --muted: #60708e;
  --line: #d9e2ec;
  --paper: #fbfaf8;
  --primary: #5fa2cf;
  --primary-dark: #2b668d;
  --card: #ffffff;
  --shadow: 0 16px 34px rgba(32, 40, 58, 0.11);
  --shadow-soft: 0 8px 20px rgba(32, 40, 58, 0.08);
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at 50% -18%, rgba(95, 162, 207, 0.17), transparent 34%),
    linear-gradient(180deg, #fbfaf8 0%, #f7fbff 46%, #fbfaf8 100%);
}

.shell {
  min-height: auto;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(95, 162, 207, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(95, 162, 207, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(251, 250, 248, 0.96) 0%, rgba(247, 251, 255, 0.96) 100%);
  background-size: 52px 52px, 52px 52px, auto;
}

.shell::before,
.shell::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  filter: blur(70px);
  pointer-events: none;
}

.shell::before {
  right: -120px;
  top: 120px;
  background: rgba(95, 162, 207, 0.18);
}

.shell::after {
  left: -150px;
  bottom: -160px;
  background: rgba(124, 60, 255, 0.1);
}

.nav {
  background: rgba(251, 250, 248, 0.94);
  border-bottom: 1px solid #dfe5eb;
  box-shadow: none;
}

.nav-inner {
  width: min(1224px, calc(100% - 48px));
  min-height: 80px;
}

.brand {
  gap: 10px;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  box-shadow: none;
}

.brand-name {
  color: #5c9ccd;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-line {
  color: #5e6f8b;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  gap: 22px;
  color: #1f2937;
  font-size: 14px;
  font-weight: 600;
}

.nav-links a {
  padding: 9px 10px;
  border-radius: 8px;
}

.nav-links a.nav-cta,
.nav-links a.lang-switch {
  padding: 11px 17px;
  border: 1px solid #21405d;
  border-radius: 6px;
  background: #dcebf7;
  font-weight: 800;
}

.nav-links a:hover {
  color: #1f5f8d;
  background: #eef6fb;
}

.wrap {
  width: min(1120px, calc(100% - 42px));
}

.hero {
  min-height: calc(100vh - 80px);
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(310px, 0.58fr);
  align-items: center;
  gap: 58px;
  text-align: center;
  padding: 98px 0 112px;
}

.hero > div:first-child {
  max-width: 760px;
  position: relative;
  z-index: 1;
  text-align: left;
}

.hero .eyebrow {
  margin: 0 0 26px;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  color: #232b3b;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(54px, 7vw, 82px);
  line-height: 0.88;
  letter-spacing: -0.02em;
}

html[lang^="zh"] .hero h1 {
  max-width: 680px;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(44px, 5vw, 62px);
  line-height: 1.13;
  letter-spacing: 0;
  font-weight: 850;
}

html[lang^="zh"] h2,
html[lang^="zh"] h3 {
  font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

.hero .lead {
  max-width: 640px;
  margin: 30px 0 0;
  color: #667594;
  font-size: clamp(20px, 2.3vw, 26px);
  line-height: 1.45;
}

.hero .actions {
  justify-content: flex-start;
  margin-top: 42px;
}

.hero-card {
  position: relative;
  min-height: 560px;
  display: block;
  align-self: stretch;
  border: 1px solid #d9e2ec;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 0;
}

.teacher-card {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 20px;
  border: 1px solid rgba(217, 226, 236, 0.86);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 32px rgba(32, 40, 58, 0.15);
  backdrop-filter: blur(14px);
  text-align: left;
}

.teacher-card .eyebrow {
  margin-bottom: 10px;
}

.teacher-card h2 {
  text-align: left;
  font-size: 42px;
}

.teacher-card p {
  margin: 8px 0 12px;
  color: #60708e;
  line-height: 1.55;
}

.teacher-card span {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  background: #edf7fd;
  color: #2b668d;
  font-size: 13px;
  font-weight: 800;
}

h2,
h3 {
  color: #232b3b;
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: 0;
}

h2 {
  text-align: center;
  font-size: clamp(42px, 5vw, 58px);
}

.section {
  padding: 88px 0;
  border-top: 0;
  background: var(--paper);
}

.section.alt {
  background: var(--paper);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  padding: 6px 14px;
  border: 1px solid #c9dceb;
  border-radius: 999px;
  background: #edf7fd;
  color: #5a9ecb;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #5fa2cf;
}

.section > .wrap > .eyebrow {
  margin-left: auto;
  margin-right: auto;
}

.lead {
  color: #667594;
}

.btn {
  min-width: 218px;
  min-height: 56px;
  border: 1px solid #d7dee5;
  border-radius: 6px;
  box-shadow: none;
  font-size: 18px;
  font-weight: 700;
}

.btn.primary {
  color: #fff;
  background: #68a7d1;
}

.btn.secondary {
  color: #1f2937;
  background: #fff;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.split {
  grid-template-columns: 0.34fr 0.66fr;
  gap: 48px;
}

.split h2 {
  text-align: left;
}

.about-copy,
.booking-form,
.booking-output,
.booking-card,
.admin-summary div {
  border: 1px solid #d9e2ec;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.about-copy {
  padding: 30px;
}

.course-intro {
  max-width: 720px;
  margin: 12px auto 58px;
  text-align: center;
}

.course-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: -18px 0 48px;
}

.course-tabs a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border: 1px solid #d9e2ec;
  border-radius: 999px;
  background: #fff;
  color: #1f2937;
  font-weight: 600;
  line-height: 1;
}

.course-tabs a:first-child {
  color: #fff;
  background: #5fa2cf;
  border-color: #5fa2cf;
  box-shadow: 0 7px 14px rgba(95, 162, 207, 0.26);
}

.category {
  margin-bottom: 70px;
}

.category + .category {
  margin-top: 54px;
}

.category-head {
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.58fr);
  grid-template-rows: auto auto 1fr;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 22px;
  padding: 22px;
  border: 1px solid #d9e2ec;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.88), var(--cat-soft)),
    #fff;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.category-head span {
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 11px;
  border-radius: 999px;
  background: #fff;
  color: var(--cat-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.category-head h3 {
  grid-column: 1 !important;
  grid-row: 2 !important;
  flex: initial;
  margin-top: 18px;
  color: #5fa2cf;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 0.95;
  background: transparent;
}

.category-head > p {
  grid-column: 1 !important;
  grid-row: 3 !important;
  max-width: 620px;
  margin: 16px 0 0;
  color: #60708e;
  font-size: 18px;
  line-height: 1.55;
}

.category-visual {
  grid-column: 2 !important;
  grid-row: 1 / 4 !important;
  min-height: 250px;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 34px rgba(32, 40, 58, 0.12);
}

.category-visual img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
}

.category-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(18, 25, 38, 0.68));
}

.category-visual div {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  color: #fff;
}

.category-visual strong {
  display: block;
  font-size: 22px;
  line-height: 1.1;
}

.category-visual span {
  width: fit-content;
  display: inline-flex;
  margin-top: 10px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #20283a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.course-group,
.category.diagnostic .course-group,
.category.hsk .course-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  border: 0;
}

.category.diagnostic .course-group {
  grid-template-columns: minmax(0, 1fr);
}

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

.course-row {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border: 1px solid #d9e2ec;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.course-row::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  width: 100%;
  height: 5px;
  background: var(--cat);
}

.course-row::before {
  display: none;
}

.course-row > div:first-child {
  min-width: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid #edf2f7;
}

.course-row h3 {
  margin-bottom: 8px;
  color: #20283a;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.05;
}

.course-row > div:first-child > p {
  margin: 0;
  color: #60708e;
  font-size: 15px;
  font-weight: 500;
}

.course-row > div:nth-child(2) > p {
  margin-bottom: 15px;
  color: #1f2937;
  font-size: 15px;
  line-height: 1.55;
}

.course-row ul {
  gap: 8px;
  margin-top: 0;
}

.course-row li {
  position: relative;
  padding-left: 16px;
  color: #60708e;
  font-size: 14px;
  line-height: 1.5;
}

.course-row li::before {
  content: "";
  width: 5px;
  height: 5px;
  display: block;
  position: absolute;
  left: 0;
  top: 0.72em;
  border-radius: 999px;
  background: var(--cat);
}

.course-row li strong,
.course-row li b {
  color: #20283a;
}

.price,
.course-row li.price {
  width: 100%;
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid #d9e2ec;
  border-radius: 12px;
  background: #f5fafe;
  color: #20283a;
  text-align: left;
  font-size: 14px;
  font-weight: 800;
}

.course-row li.price {
  padding-left: 14px;
}

.course-row li.price::before {
  display: none;
}

.course-row li.price span {
  display: block;
}

.category.daily .category-head h3,
.category.daily .price,
.category.daily .course-row li.price {
  color: #5fa2cf;
}

.category.daily .price,
.category.daily .course-row li.price {
  color: #20283a;
  background: #f5fafe;
}

.category.business .category-head h3 {
  color: #e18b42;
}

.category.business .price,
.category.business .course-row li.price {
  background: #fff8f1;
}

.category.hsk .category-head h3 {
  color: #5f7ecb;
}

.category.hsk .price,
.category.hsk .course-row li.price {
  background: #f6f8ff;
}

.category.diagnostic .price,
.category.diagnostic .course-row li.price {
  background: #f5fafe;
}

.course-cta {
  width: 100%;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  padding: 10px 16px;
  border-radius: 12px;
  background: #68a7d1;
  color: #fff;
  font-weight: 800;
}

.course-cta:hover {
  background: #4d93c0;
  box-shadow: var(--shadow-soft);
}

#booking .wrap.split {
  grid-template-columns: minmax(320px, 0.46fr) minmax(420px, 0.54fr);
  gap: 28px;
  align-items: start;
}

#booking .wrap.split > div:first-child {
  position: sticky;
  top: 104px;
  padding: 28px;
  border: 1px solid #d9e2ec;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(245, 250, 254, 0.95), rgba(255,255,255,0.92)),
    #fff;
  box-shadow: var(--shadow-soft);
}

#booking .wrap.split > div:first-child::after {
  display: none;
}

html[lang^="zh"] #booking .wrap.split > div:first-child::after {
  display: none;
}

.booking-guide {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.booking-guide article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  padding: 16px;
  border: 1px solid #d9e2ec;
  border-radius: 16px;
  background: #fff;
}

.booking-guide span {
  grid-row: span 2;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #edf7fd;
  color: #2b668d;
  font-size: 12px;
  font-weight: 900;
}

.booking-guide strong {
  color: #20283a;
}

.booking-guide p {
  margin: 0;
  color: #60708e;
  font-size: 14px;
  line-height: 1.45;
}

.booking-form {
  padding: 32px;
  border-radius: 14px;
}

.booking-form input,
.booking-form select,
.booking-form textarea,
.admin-toolbar input,
.admin-toolbar select,
.booking-edit input,
.booking-edit select,
.booking-edit textarea {
  border-radius: 7px;
  border-color: #d9e2ec;
  background: #fff;
  box-shadow: inset 0 1px 2px rgba(32, 40, 58, 0.04);
}

.amount-preview {
  border: 1px solid #d9e2ec;
  border-radius: 10px;
  background: #f5fafe;
  box-shadow: none;
}

.booking-output {
  border-radius: 10px;
}

.contact {
  background: #f6fbff;
}

.footer {
  background: #fbfaf8;
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    padding: 92px 0 106px;
  }

  .hero h1 {
    font-size: clamp(48px, 10vw, 72px);
  }

  .course-row,
  .split,
  .hero,
  #booking .wrap.split {
    grid-template-columns: 1fr;
  }

  .nav-links {
    gap: 8px;
  }

  .hero > div:first-child,
  .hero .eyebrow,
  .hero h1,
  .hero .lead,
  .hero .actions {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }

  .hero-card {
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .nav-inner {
    width: min(100% - 28px, 1224px);
  }

  .nav-links a.nav-cta,
  .nav-links a.lang-switch {
    padding: 8px 11px;
  }

  .hero {
    padding: 72px 0 84px;
  }

  .hero h1 {
    font-size: 48px;
    line-height: 0.94;
  }

  .hero .lead {
    font-size: 20px;
  }

  h2 {
    font-size: 42px;
  }

  .btn {
    width: 100%;
    min-width: 0;
  }

  .course-row,
  .booking-form {
    padding: 22px 18px;
  }

  #booking .wrap.split > div:first-child::after {
    width: 100%;
    border-radius: 12px;
    line-height: 1.8;
    word-spacing: 4px;
  }
}

/* Final product-style course and booking layout */
.programs-section {
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.82), rgba(246, 251, 255, 0.96)),
    #f8fbff;
}

.section-kicker {
  max-width: 760px;
}

.programs-section .course-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 34px 0 44px;
  padding: 12px;
  border: 1px solid rgba(32, 40, 58, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 54px rgba(43, 62, 91, 0.08);
}

.programs-section .course-tabs a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 15px;
  border: 1px solid rgba(32, 40, 58, 0.12);
  border-radius: 999px;
  background: #fff;
  color: #2d3546;
  font-size: 13px;
  font-weight: 850;
}

.programs-section .course-tabs a:hover {
  border-color: rgba(32, 40, 58, 0.34);
  transform: translateY(-1px);
}

.program-block {
  --accent: #5d7be8;
  --accent-2: #8a5cf6;
  scroll-margin-top: 154px;
  margin-top: 34px;
  padding: 18px;
  border: 1px solid rgba(32, 40, 58, 0.1);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 30px 90px rgba(31, 45, 70, 0.1);
}

.program-diagnostic {
  --accent: #406fd6;
  --accent-2: #62a8d7;
}

.program-daily {
  --accent: #198c7d;
  --accent-2: #7fbf6a;
}

.program-business {
  --accent: #b85f24;
  --accent-2: #e6a15d;
}

.program-hsk {
  --accent: #5a55c8;
  --accent-2: #b06bd8;
}

.program-hero {
  min-height: 300px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 18px;
  overflow: hidden;
  border-radius: 24px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 12%, #fff), #fff 58%),
    #fff;
}

.program-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(26px, 5vw, 54px);
}

.program-number {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 16px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 950;
  box-shadow: 0 14px 32px color-mix(in srgb, var(--accent) 24%, transparent);
}

.program-copy .eyebrow {
  margin-bottom: 10px;
  color: var(--accent);
}

.program-copy h3 {
  max-width: 620px;
  color: #171a24;
  font-size: clamp(42px, 5.2vw, 74px);
  line-height: 0.98;
}

.program-copy p:not(.eyebrow) {
  max-width: 610px;
  margin: 18px 0 0;
  color: #465066;
  font-size: 18px;
  line-height: 1.65;
}

.program-hero img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.02);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.program-grid.single {
  grid-template-columns: minmax(0, 1fr);
}

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

.program-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid rgba(32, 40, 58, 0.1);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(31, 45, 70, 0.08);
}

.program-card.featured {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  column-gap: 26px;
  align-items: start;
}

.program-card.featured .card-topline {
  grid-column: 1 / -1;
}

.program-card.featured .program-cta {
  grid-column: 1 / -1;
}

.diagnostic-entry {
  display: grid;
  grid-template-columns: minmax(320px, 0.42fr) minmax(0, 0.58fr);
  gap: 0;
  align-items: stretch;
  overflow: hidden;
  border-radius: 24px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 10%, #fff), #fff 54%),
    #fff;
}

.diagnostic-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 4.5vw, 58px);
}

.diagnostic-main .eyebrow {
  margin: 0;
  color: var(--accent);
}

.diagnostic-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.diagnostic-head .program-number {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  margin: 0;
  border-radius: 13px;
}

.diagnostic-main h3 {
  max-width: 620px;
  margin: 0;
  color: #171a24;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.02;
}

.diagnostic-price-line {
  width: fit-content;
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 18px;
  padding: 12px 16px;
  border: 1px solid color-mix(in srgb, var(--accent) 18%, #d9e2ec);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(31, 45, 70, 0.07);
}

.diagnostic-price-line strong {
  color: var(--accent);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 950;
  line-height: 0.9;
}

.diagnostic-price-line span {
  color: #5c6578;
  font-size: 14px;
  font-weight: 850;
}

.diagnostic-main > p:not(.eyebrow):not(.price-help) {
  max-width: 620px;
  margin: 20px 0 0;
  color: #465066;
  font-size: 16px;
  line-height: 1.62;
}

.diagnostic-main ul {
  display: grid;
  gap: 8px;
  margin: 20px 0 18px;
  padding: 0;
  list-style: none;
}

.diagnostic-main li {
  position: relative;
  padding-left: 20px;
  color: #4f596d;
  font-size: 15px;
  line-height: 1.5;
}

.diagnostic-main li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent-2);
}

.diagnostic-main .price-help {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  border: 0;
  background: transparent;
}

.diagnostic-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.diagnostic-actions .program-cta {
  width: auto;
  min-width: 170px;
  margin-top: 0;
}

.diagnostic-media {
  min-height: 100%;
  padding: 18px 0 18px 18px;
  display: flex;
  align-items: stretch;
  background: color-mix(in srgb, var(--accent) 5%, #fff);
}

.diagnostic-scene {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: 43% center;
  border-radius: 20px;
}

.card-topline {
  display: grid;
  gap: 12px;
  align-items: start;
  justify-content: stretch;
  margin-bottom: 20px;
}

.card-topline span {
  width: fit-content;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 11%, #fff);
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.card-topline strong {
  width: 100%;
  display: block;
  padding: 14px 16px;
  border: 1px solid color-mix(in srgb, var(--accent) 16%, #d9e2ec);
  border-radius: 16px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 8%, #fff), #fff),
    #fff;
  color: var(--accent);
  font-size: 25px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

.program-card h4 {
  margin: 0;
  color: #171a24;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(28px, 2.7vw, 38px);
  line-height: 1.02;
  letter-spacing: 0;
}

.program-card p {
  margin: 14px 0 0;
  color: #455066;
  font-size: 15px;
  line-height: 1.58;
}

.program-card ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 22px;
  padding: 0;
  list-style: none;
}

.program-card li {
  position: relative;
  padding-left: 18px;
  color: #5b6477;
  font-size: 14px;
  line-height: 1.48;
}

.program-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.63em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent-2);
}

.program-card .price-help {
  order: 2;
  display: grid;
  gap: 6px;
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid rgba(32, 40, 58, 0.08);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  background: #f8fbff;
  color: #687083;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.38;
}

.program-card .price-help span {
  display: block;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #687083;
}

.program-card .price-help span:first-child {
  color: var(--accent);
  font-weight: 750;
}

.testimonials-section {
  background:
    radial-gradient(circle at 16% 0%, rgba(95, 162, 207, 0.13), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #fffaf4 100%);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin-top: 38px;
}

.testimonial-card {
  grid-column: span 2;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid rgba(32, 40, 58, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 50px rgba(31, 45, 70, 0.08);
}

.testimonial-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.testimonial-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.testimonial-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-head > span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #f5fafe;
  font-size: 24px;
}

.testimonial-head strong,
.testimonial-head small {
  display: block;
}

.testimonial-head strong {
  color: #171a24;
  font-size: 16px;
  line-height: 1.2;
}

.testimonial-head small {
  margin-top: 2px;
  color: #60708e;
  font-size: 12px;
  font-weight: 750;
}

.stars {
  margin-top: 18px;
  color: #f5a524;
  font-size: 15px;
  letter-spacing: 0.08em;
}

.testimonial-card p {
  margin: 14px 0 22px;
  color: #3f485a;
  font-size: 15px;
  line-height: 1.62;
}

.goal-tag {
  width: fit-content;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #edf7fd;
  color: #2b668d;
  font-size: 12px;
  font-weight: 900;
}

.choice-actions {
  order: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
}

.program-cta {
  order: 3;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 11px 14px;
  border: 1px solid var(--accent);
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  text-align: center;
  font-size: 14px;
  font-weight: 900;
}

.program-cta.secondary {
  border-color: color-mix(in srgb, var(--accent) 24%, #d9e2ec);
  background: #fff;
  color: var(--accent);
}

.program-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px color-mix(in srgb, var(--accent) 20%, transparent);
}

#booking {
  background: linear-gradient(180deg, #fffaf4 0%, #f6fbff 100%);
}

#booking .wrap.split {
  grid-template-columns: minmax(300px, 0.42fr) minmax(460px, 0.58fr);
  gap: 30px;
  align-items: start;
}

#booking .wrap.split > div:first-child {
  position: sticky;
  top: 104px;
  padding: 30px;
  border: 1px solid rgba(32, 40, 58, 0.1);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.94), rgba(244,248,255,0.92)),
    #fff;
  box-shadow: 0 24px 70px rgba(31, 45, 70, 0.1);
}

#booking .wrap.split > div:first-child h2 {
  font-size: clamp(38px, 4.4vw, 58px);
}

#booking .wrap.split > div:first-child > p:not(.eyebrow) {
  color: #525b70;
  font-size: 16px;
  line-height: 1.62;
}

.booking-guide {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.booking-guide article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 12px;
  padding: 16px;
  border: 1px solid rgba(32, 40, 58, 0.09);
  border-radius: 18px;
  background: #fff;
}

.booking-guide span {
  grid-row: span 2;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #171a24;
  color: #fff;
  font-size: 12px;
  font-weight: 950;
}

.booking-guide strong {
  color: #171a24;
  line-height: 1.2;
}

.booking-guide p {
  margin: 0;
  color: #647087;
  font-size: 14px;
  line-height: 1.45;
}

#booking .booking-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 28px;
  border: 1px solid rgba(32, 40, 58, 0.1);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 70px rgba(31, 45, 70, 0.1);
}

#booking .booking-form label {
  gap: 8px;
  color: #343b4e;
  font-size: 12.5px;
  font-weight: 850;
  line-height: 1.35;
}

#booking .booking-form label:has(textarea),
#booking .booking-form label:nth-of-type(7),
#booking .booking-form label:nth-of-type(8),
#booking .booking-form label:nth-of-type(9),
#booking .booking-form label:nth-of-type(10),
#booking .booking-form .amount-preview,
#booking .booking-form > button,
#booking .booking-output {
  grid-column: 1 / -1;
}

#booking .booking-form input,
#booking .booking-form select,
#booking .booking-form textarea {
  min-height: 46px;
  border: 1px solid rgba(32, 40, 58, 0.14);
  border-radius: 13px;
  background: #fff;
  color: #171a24;
}

#booking .booking-form textarea {
  min-height: 112px;
}

#booking .amount-preview {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid color-mix(in srgb, var(--blue) 20%, #d9e2ec);
  border-radius: 18px;
  background: #f5f8ff;
}

#booking .amount-preview strong {
  color: #284fd6;
  font-size: 30px;
  line-height: 1;
}

#booking .amount-preview small {
  color: #687083;
  line-height: 1.45;
}

#booking .time-preview {
  grid-column: 1 / -1;
  display: grid;
  gap: 5px;
  padding: 16px 18px;
  border: 1px solid rgba(25, 140, 125, 0.2);
  border-radius: 18px;
  background: #f1fbf8;
}

#booking .time-preview span {
  color: #5d6a7f;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#booking .time-preview strong {
  color: #198c7d;
  font-size: 20px;
  line-height: 1.25;
}

#booking .time-preview small {
  color: #687083;
  line-height: 1.45;
}

#booking .schedule-preview,
#booking .availability-preview {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border: 1px solid rgba(32, 40, 58, 0.1);
  border-radius: 18px;
  background: #f8fbff;
}

#booking .schedule-preview span,
#booking .availability-preview span {
  color: #5d6a7f;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#booking .schedule-preview strong,
#booking .availability-preview strong {
  color: #171a24;
  font-size: 18px;
  line-height: 1.25;
}

#booking .schedule-preview ol {
  max-height: 210px;
  overflow: auto;
  display: grid;
  gap: 6px;
  margin: 4px 0;
  padding-left: 20px;
}

#booking .schedule-preview li,
#booking .schedule-preview small,
#booking .availability-preview p {
  color: #60708e;
  font-size: 13px;
  line-height: 1.45;
}

#booking .availability-preview.ok {
  border-color: rgba(25, 140, 125, 0.2);
  background: #f1fbf8;
}

#booking .availability-preview.ok strong,
#booking .availability-preview.ok span {
  color: #198c7d;
}

#booking .availability-preview.blocked {
  border-color: rgba(184, 95, 36, 0.24);
  background: #fff8f1;
}

#booking .availability-preview.blocked strong,
#booking .availability-preview.blocked span {
  color: #b85f24;
}

.auto-schedule-panel {
  display: grid;
  gap: 14px;
}

.auto-schedule-panel article {
  padding: 18px;
  border: 1px solid rgba(32, 40, 58, 0.1);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(31, 45, 70, 0.06);
}

.auto-schedule-panel span {
  color: #5fa2cf;
  font-size: 12px;
  font-weight: 900;
}

.auto-schedule-panel strong {
  display: block;
  margin-top: 8px;
  color: #171a24;
}

.auto-schedule-panel p {
  margin: 7px 0 0;
  color: #60708e;
  font-size: 14px;
  line-height: 1.5;
}

#booking .booking-output {
  padding: 20px;
  border: 1px solid rgba(32, 40, 58, 0.1);
  border-radius: 20px;
  background: #f8fbff;
}

#booking .booking-output .price {
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #171a24;
  font-size: 18px;
  font-weight: 900;
}

#booking .booking-output textarea {
  width: 100%;
  min-height: 220px;
  margin-top: 14px;
}

.faq-section {
  background:
    linear-gradient(180deg, #f6fbff 0%, #fffaf4 100%);
}

.section-kicker.centered {
  margin: 0 auto;
  text-align: center;
}

.section-kicker.centered .eyebrow {
  margin-left: auto;
  margin-right: auto;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 36px;
}

.faq-grid details {
  border: 1px solid rgba(32, 40, 58, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 42px rgba(31, 45, 70, 0.07);
  overflow: hidden;
}

.faq-grid summary {
  cursor: pointer;
  padding: 18px 20px;
  color: #171a24;
  font-size: 16px;
  font-weight: 900;
  list-style: none;
}

.faq-grid summary::-webkit-details-marker {
  display: none;
}

.faq-grid summary::after {
  content: "+";
  float: right;
  color: #5fa2cf;
  font-size: 20px;
  line-height: 1;
}

.faq-grid details[open] summary::after {
  content: "-";
}

.faq-grid details p {
  margin: 0;
  padding: 0 20px 20px;
  color: #60708e;
  line-height: 1.62;
}

.cal-wrap {
  margin-top: 34px;
}

.cal-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.36fr) minmax(0, 0.64fr);
  gap: 22px;
  padding: 26px;
  border: 1px solid rgba(32, 40, 58, 0.1);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 70px rgba(31, 45, 70, 0.1);
}

.cal-panel h2 {
  text-align: left;
  font-size: clamp(34px, 4vw, 52px);
}

.cal-panel p:not(.eyebrow) {
  color: #60708e;
}

.cal-embed {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid rgba(32, 40, 58, 0.1);
  border-radius: 20px;
  background: #f8fbff;
}

.cal-embed iframe {
  width: 100%;
  height: 620px;
  border: 0;
  background: #fff;
}

.cal-placeholder {
  display: none;
}

.contact-note {
  max-width: 760px;
  margin: 18px auto 0;
  color: #60708e;
  font-size: 14px;
  font-weight: 650;
}

.floating-contact {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  display: flex;
  gap: 8px;
}

.floating-contact a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid rgba(32, 40, 58, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #20283a;
  box-shadow: 0 12px 32px rgba(31, 45, 70, 0.14);
  backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 900;
}

.floating-contact a:first-child {
  color: #fff;
  background: #198c7d;
}

@media (max-width: 1080px) {
  .program-grid,
  .program-grid.hsk-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .diagnostic-media {
    grid-row: 1;
    padding: 18px 18px 0;
  }

  .diagnostic-scene {
    height: 320px;
    min-height: 0;
    object-position: center 42%;
  }

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

@media (max-width: 900px) {
  .programs-section .course-tabs {
    position: static;
  }

  .program-hero,
  .diagnostic-entry,
  .about-layout,
  #booking .wrap.split,
  #booking .booking-form,
  .cal-panel,
  .faq-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card,
  .testimonial-card:nth-child(4),
  .testimonial-card:nth-child(5) {
    grid-column: auto;
  }

  #booking .wrap.split > div:first-child {
    position: static;
  }
}

@media (max-width: 640px) {
  .program-block {
    padding: 12px;
    border-radius: 22px;
  }

  .program-hero {
    border-radius: 18px;
  }

  .program-copy {
    padding: 26px 20px;
  }

  .diagnostic-main {
    padding: 24px 20px;
  }

  .diagnostic-entry {
    gap: 12px;
    border-radius: 18px;
  }

  .diagnostic-media {
    padding: 12px 12px 0;
  }

  .diagnostic-actions {
    display: grid;
  }

  .diagnostic-actions .program-cta {
    width: 100%;
    min-width: 0;
  }

  .program-hero img {
    min-height: 220px;
  }

  .diagnostic-scene {
    height: 250px;
    border-radius: 16px;
  }

  .program-grid,
  .program-grid.hsk-grid {
    grid-template-columns: 1fr;
  }

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

  .path-flow,
  .panel-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .about-photo,
  .about-photo img {
    min-height: 520px;
  }

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

  .card-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .cal-embed,
  .cal-embed iframe {
    min-height: 560px;
    height: 560px;
  }

  #booking .booking-form,
  #booking .wrap.split > div:first-child {
    padding: 20px;
    border-radius: 20px;
  }

  .floating-contact {
    left: 14px;
    right: 14px;
  }

  .floating-contact a {
    flex: 1;
  }
}

.contact .actions,
.footer .wrap,
.footer-links {
  justify-content: center;
  text-align: center;
}

.footer .wrap {
  display: grid;
  gap: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid rgba(32, 40, 58, 0.12);
  border-radius: 999px;
  background: rgba(255,255,255,0.58);
  color: #354058;
  font-size: 13px;
  font-weight: 850;
}

/* Final hero spacing: text-only hero with a separate method strip */
.hero {
  min-height: calc(88vh - 76px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 0 70px;
}

.hero-copy {
  max-width: 920px;
  margin: 0 auto;
}

.hero .lead {
  margin-left: auto;
  margin-right: auto;
}

.hero .actions,
.hero-points {
  justify-content: center;
}

.method-strip {
  padding: 0;
}

.method-section {
  padding: 72px 0;
  background: #fbfaf8;
  border-top: 1px solid #d9e2ec;
}

.method-strip .hero-system {
  max-width: 1080px;
  margin: 0 auto;
  padding: 18px;
}

.method-strip .logic-panel {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(220px, 0.8fr) minmax(260px, 1fr);
  align-items: stretch;
  gap: 16px;
}

.method-strip .panel-head,
.method-strip .insight-card {
  display: grid;
  align-content: center;
}

.method-strip .path-flow {
  grid-column: 1 / 3;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.method-strip .path-flow div {
  min-height: 64px;
}

.method-strip .insight-card {
  grid-column: 3;
  grid-row: 2 / 4;
}

.method-strip .panel-metrics {
  grid-column: 1 / -1;
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    padding: 84px 0 58px;
  }

  .method-strip .logic-panel {
    grid-template-columns: 1fr;
  }

  .method-strip .path-flow,
  .method-strip .insight-card,
  .method-strip .panel-metrics {
    grid-column: auto;
    grid-row: auto;
  }

  .method-strip .path-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Commercial brand upgrade: clearer positioning, warmer proof, cleaner conversion path */
.hero {
  min-height: calc(92vh - 76px);
  padding: clamp(96px, 13vh, 148px) 0 clamp(70px, 9vh, 108px);
  background:
    radial-gradient(circle at 50% 0%, rgba(95, 162, 207, 0.16), transparent 32%),
    linear-gradient(180deg, #fbfaf8 0%, #f6fbff 100%);
}

.hero-copy {
  max-width: 980px;
}

.hero h1 {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(72px, 10vw, 132px);
  line-height: 0.88;
  letter-spacing: 0;
}

.hero .lead {
  max-width: 680px;
  margin-top: 26px;
  color: #293142;
  font-size: clamp(20px, 2.3vw, 30px);
  line-height: 1.48;
  font-weight: 760;
}

.hero-support {
  max-width: 620px;
  margin: 18px auto 0;
  color: #687083;
  font-size: 17px;
  line-height: 1.78;
}

.hero .actions {
  margin-top: 34px;
}

.hero-positioning {
  max-width: 720px;
  margin: 34px auto 0;
  padding: 22px 24px;
  border: 1px solid rgba(32,40,58,0.1);
  border-radius: 10px;
  background: rgba(255,255,255,0.78);
  color: #293142;
  font-size: clamp(16px, 1.55vw, 20px);
  font-weight: 760;
  line-height: 1.78;
  box-shadow: 0 18px 46px rgba(31,45,70,0.07);
}

.audience-section,
.learning-section {
  background: #fff;
}

.commercial-grid,
.difference-layout,
.learning-layout,
.no-list-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}

.commercial-grid h2,
.difference-layout h2,
.learning-layout h2,
.no-list-layout h2 {
  max-width: 620px;
  font-size: clamp(36px, 4.8vw, 64px);
  line-height: 1.08;
}

.commercial-grid .lead {
  margin-top: 20px;
  color: #687083;
  font-size: 17px;
  line-height: 1.9;
}

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

.audience-grid article {
  min-height: 126px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border: 1px solid rgba(32, 40, 58, 0.1);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.96), rgba(248,251,255,0.9)),
    #fff;
  box-shadow: 0 18px 46px rgba(31,45,70,0.07);
}

.audience-grid article:last-child {
  grid-column: 1 / -1;
  min-height: 108px;
}

.audience-grid span,
.method-timeline span,
.learning-steps span {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #171a24;
  color: #fff;
  font-size: 11px;
  font-weight: 950;
}

.audience-grid strong {
  color: #20283a;
  font-size: 16px;
  line-height: 1.35;
}

.difference-section {
  background:
    radial-gradient(circle at 88% 10%, rgba(111, 166, 213, 0.12), transparent 30%),
    linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.difference-statement {
  align-self: center;
  display: grid;
  align-content: start;
  justify-items: start;
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid rgba(32, 40, 58, 0.1);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.96), rgba(248,251,255,0.92)),
    #fff;
  color: #171a24;
  box-shadow: 0 24px 70px rgba(31,45,70,0.08);
}

.difference-statement .eyebrow {
  color: #5e95c8;
}

.difference-statement h2 {
  max-width: 560px;
  color: #171a24;
  text-align: left;
  font-size: clamp(34px, 3.8vw, 52px);
  line-height: 1.08;
}

.difference-statement p:not(.eyebrow) {
  max-width: 500px;
  margin: 18px 0 0;
  text-align: left;
  color: #647087;
  font-size: 16px;
  line-height: 1.9;
}

.comparison-stack {
  display: grid;
  gap: 14px;
  border-top: 0;
}

.comparison-stack article {
  display: grid;
  gap: 8px;
  padding: 22px 24px;
  border: 1px solid rgba(32, 40, 58, 0.1);
  border-radius: 10px;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 18px 46px rgba(31,45,70,0.07);
}

.comparison-stack span {
  color: #5e95c8;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.comparison-stack strong {
  color: #171a24;
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.22;
  font-weight: 900;
}

.comparison-stack p {
  margin: 4px 0 0;
  color: #647087;
  font-size: 15px;
  line-height: 1.76;
}

.proof-section {
  background: #fff;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 40px;
}

.proof-grid article {
  display: grid;
  align-content: space-between;
  min-height: 190px;
  padding: 22px;
  border: 1px solid rgba(32,40,58,0.1);
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 18px 46px rgba(31,45,70,0.07);
}

.proof-grid span {
  color: #60708e;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.proof-grid strong {
  margin-top: 24px;
  color: #171a24;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(42px, 5vw, 62px);
  line-height: 0.9;
}

.proof-bar {
  height: 8px;
  overflow: hidden;
  margin-top: 22px;
  border-radius: 999px;
  background: #e8eef5;
}

.proof-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #5e95c8, #c7984f);
}

.method-section {
  padding: clamp(86px, 10vw, 132px) 0;
  background:
    linear-gradient(180deg, #fbfaf8 0%, #f6fbff 100%);
  border-top: 1px solid rgba(32,40,58,0.08);
}

.method-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 44px;
}

.method-timeline::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(32,40,58,0.2), transparent);
}

.method-timeline article {
  position: relative;
  min-height: 260px;
  padding: 26px;
  border: 1px solid rgba(32, 40, 58, 0.1);
  border-radius: 10px;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 22px 60px rgba(31,45,70,0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.method-timeline article:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 74px rgba(31,45,70,0.11);
}

.method-timeline h3,
.learning-steps h3 {
  margin: 52px 0 0;
  color: #171a24;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1;
}

.method-timeline p,
.learning-steps p {
  margin: 16px 0 0;
  color: #60708e;
  line-height: 1.78;
}

.signature-section {
  background:
    linear-gradient(180deg, #fff 0%, #fbfaf8 100%);
}

.signature-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: center;
}

.signature-layout h2 {
  max-width: 560px;
  font-size: clamp(42px, 5.4vw, 78px);
  line-height: 0.98;
}

.signature-layout p:not(.eyebrow) {
  max-width: 360px;
  color: #687083;
  font-size: 18px;
  line-height: 1.75;
}

.sentence-board {
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(32,40,58,0.1);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(31,45,70,0.08);
}

.hanzi {
  margin: 0;
  color: #171a24 !important;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(48px, 6vw, 86px) !important;
  line-height: 1 !important;
}

.sentence-parts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
}

.sentence-parts span {
  display: grid;
  gap: 8px;
  padding: 16px 12px;
  border: 1px solid rgba(32,40,58,0.1);
  border-radius: 10px;
  background: #f8fbff;
}

.sentence-parts b {
  color: #171a24;
  font-size: 22px;
}

.sentence-parts small {
  color: #60708e;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sentence-note {
  margin: 34px 0 0 !important;
  color: #293142 !important;
  font-size: clamp(22px, 2.4vw, 32px) !important;
  line-height: 1.22 !important;
  font-family: "Cormorant Garamond", Georgia, serif;
}

.about-layout {
  align-items: center;
  gap: clamp(36px, 6vw, 80px);
}

.about-copy h2 {
  max-width: 680px;
}

.about-copy p {
  max-width: 720px;
}

.about-photo {
  box-shadow: 0 30px 90px rgba(31,45,70,0.14);
}

.programs-section {
  background:
    radial-gradient(circle at 12% 0%, rgba(95, 162, 207, 0.14), transparent 28%),
    linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.course-tabs {
  position: sticky;
  top: 86px;
  z-index: 8;
}

.program-copy h3 {
  max-width: 700px;
}

.program-card {
  padding: 24px;
  border-radius: 10px;
}

.card-topline {
  gap: 14px;
  margin-bottom: 24px;
}

.card-topline span {
  background: transparent;
  padding: 0;
  color: #7a8498;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-topline strong {
  width: fit-content;
  min-width: min(100%, 210px);
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff;
  color: var(--accent);
  font-size: 26px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.7);
}

.program-card .price-help {
  order: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.program-card .price-help span,
.program-card .price-help span:first-child,
.diagnostic-main .price-help span,
.diagnostic-main .price-help span:first-child {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid rgba(32,40,58,0.1);
  border-radius: 10px;
  background: #f8fbff;
  color: #687083;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.2;
}

.program-card .program-cta,
.choice-actions {
  order: 4;
}

.learning-layout {
  align-items: start;
}

.learning-steps {
  display: grid;
  gap: 16px;
}

.learning-steps article {
  position: relative;
  padding: 28px;
  border: 1px solid rgba(32,40,58,0.1);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(31,45,70,0.07);
}

.learning-steps h3 {
  margin-top: 28px;
  font-size: clamp(30px, 3.3vw, 42px);
}

.no-list-section {
  background:
    linear-gradient(135deg, rgba(23,26,36,0.97), rgba(35,44,62,0.96)),
    #171a24;
  color: #fff;
}

.no-list-layout h2,
.no-list-layout .eyebrow {
  color: #ffffff !important;
}

.no-list-section .eyebrow {
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.1);
  color: #d8efff !important;
}

.no-list-layout h2 {
  text-shadow: 0 18px 48px rgba(0,0,0,0.22);
}

.no-list-card {
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  background: rgba(11, 16, 26, 0.42);
  box-shadow: 0 24px 70px rgba(0,0,0,0.18);
  backdrop-filter: blur(14px);
}

.no-list-card ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.no-list-card li {
  position: relative;
  padding-left: 28px;
  color: rgba(255,255,255,0.9);
  font-size: 18px;
  line-height: 1.45;
  font-weight: 720;
}

.no-list-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #aad7f2;
}

.no-list-card p {
  margin: 28px 0 0;
  color: #ffffff;
  font-size: clamp(26px, 3vw, 38px);
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 1.1;
}

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

.contact-actions {
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.contact-text-link {
  color: #3d6f94;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact {
  background:
    radial-gradient(circle at 50% 0%, rgba(95,162,207,0.16), transparent 32%),
    linear-gradient(180deg, #fffaf4 0%, #fff 100%);
}

.footer {
  background: #fbfaf8;
  border-top: 1px solid rgba(32,40,58,0.1);
}

.footer-brand {
  max-width: 560px;
  margin: 0 auto;
  display: grid;
  gap: 6px;
}

.footer-brand strong {
  color: #171a24;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 42px;
  line-height: 1;
}

.footer-brand span {
  color: #20283a;
  font-weight: 900;
}

.footer-brand p {
  margin: 4px 0 0;
  color: #687083;
  line-height: 1.55;
}

@media (max-width: 1080px) {
  .commercial-grid,
  .difference-layout,
  .learning-layout,
  .no-list-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .hero h1 {
    font-size: clamp(58px, 18vw, 88px);
  }

  .hero .lead {
    font-size: 20px;
  }

  .audience-grid,
  .method-timeline,
  .proof-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding-top: clamp(72px, 16vw, 104px);
    padding-bottom: clamp(72px, 16vw, 104px);
  }

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

  .hero-positioning {
    padding: 18px;
    text-align: left;
  }

  .commercial-grid,
  .difference-layout,
  .learning-layout,
  .no-list-layout {
    gap: 28px;
  }

  .commercial-grid h2,
  .difference-layout h2,
  .learning-layout h2,
  .no-list-layout h2 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .audience-grid article:last-child {
    grid-column: auto;
  }

  .method-timeline::before {
    display: none;
  }

  .course-tabs {
    position: static;
  }

  body {
    padding-bottom: 72px;
  }

  .floating-contact {
    bottom: 10px;
  }

  .floating-contact a {
    min-height: 36px;
    font-size: 11px;
  }
}

/* Final Mandrix refinement layer: fixed CTA language, tighter cards, calmer mobile reading */
.btn,
.program-cta,
.nav-cta {
  border-radius: 10px;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.btn:hover,
.program-cta:hover,
.nav-cta:hover {
  transform: translateY(-2px);
}

.program-block,
.program-hero,
.program-card,
.testimonial-card,
.faq-grid details,
.booking-guide article,
#booking .wrap.split > div:first-child,
#booking .booking-form,
#booking .booking-output,
.auto-schedule-panel article,
.amount-preview,
.time-preview,
.schedule-preview,
.availability-preview,
.cal-panel {
  border-radius: 10px !important;
}

.program-hero {
  gap: 22px;
}

.program-copy p:not(.eyebrow),
.program-card p,
.program-card li,
.testimonial-card p,
.faq-grid p,
.about-copy p,
.booking-guide p,
#booking .wrap.split > div:first-child > p:not(.eyebrow) {
  line-height: 1.78;
}

.section-kicker .lead,
.course-intro {
  line-height: 1.82;
}

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

.choice-actions .program-cta.secondary {
  display: none;
}

.program-card .price-help {
  border-radius: 10px;
  background: #f8fbff;
}

.program-details {
  margin-top: 18px;
}

.program-details summary {
  width: fit-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(32,40,58,0.12);
  border-radius: 10px;
  background: #fff;
  color: #20283a;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(31,45,70,0.06);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.program-details summary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(31,45,70,0.09);
}

.program-details summary::marker {
  color: var(--accent);
}

.program-details:not([open]) {
  padding-bottom: 2px;
}

.program-details[open] summary {
  margin-bottom: 18px;
}

.program-details .program-grid {
  margin-top: 0;
}

.program-block {
  margin-top: clamp(42px, 6vw, 72px);
}

.program-card ul {
  margin-top: 14px;
}

.program-card li:nth-child(n + 4) {
  display: none;
}

.testimonial-card p {
  font-size: clamp(18px, 1.8vw, 23px);
  line-height: 1.45;
  font-family: "Cormorant Garamond", Georgia, serif;
  color: #20283a;
}

.floating-contact a {
  border-radius: 10px;
}

@media (max-width: 760px) {
  .wrap {
    width: min(100% - 34px, var(--max));
  }

  .hero-copy,
  .section-kicker,
  .section-kicker.centered,
  .commercial-grid > div:first-child,
  .difference-statement,
  .learning-layout > div:first-child,
  .no-list-layout > div:first-child {
    text-align: left;
  }

  .hero h1,
  .hero .lead,
  .hero-support {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
  }

  .hero h1 {
    line-height: 0.96;
  }

  .hero .actions,
  .contact-actions {
    justify-content: flex-start;
  }

  .btn,
  .program-cta {
    width: 100%;
  }

  .audience-grid article,
  .comparison-stack article,
  .proof-grid article,
  .method-timeline article,
  .learning-steps article,
  .signature-layout,
  .testimonial-card,
  .program-card,
  .faq-grid details {
    min-height: auto;
  }

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

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

  .program-hero img {
    min-height: 0;
    height: 220px;
  }

  .diagnostic-scene {
    min-height: 0;
    height: 230px;
  }

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

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

  .program-card.featured {
    display: flex;
  }

  .program-details summary {
    width: 100%;
    justify-content: center;
  }

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

  .testimonial-card,
  .testimonial-card:nth-child(4),
  .testimonial-card:nth-child(5) {
    grid-column: auto;
  }

  #booking .wrap.split > div:first-child {
    position: static;
  }

  .contact-actions {
    display: grid;
    justify-items: start;
  }
}
