/* =========================================================
   MATHZEM — 1-TO-1 IB MATH SESSIONS
   File: assets/css/one-to-one.css
   Reference direction: compact premium tutoring landing page
   ========================================================= */

.mz-oto-page {
  --mz-navy: #10162f;
  --mz-ink: #202744;
  --mz-muted: #66708a;
  --mz-soft: #f7f9ff;
  --mz-line: #dfe5f3;
  --mz-blue: #4058f5;
  --mz-blue-dark: #2e45e8;
  --mz-purple: #6b57f3;
  --mz-cyan: #33bbb3;
  --mz-green: #0f9c70;
  --mz-white: #ffffff;
  --mz-max: 1180px;
  --mz-shadow: 0 16px 38px rgba(31, 43, 94, 0.08);
  --mz-shadow-lg: 0 28px 70px rgba(31, 43, 94, 0.13);

  width: 100%;
  overflow: clip;
  color: var(--mz-ink);
  background: #fff;
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.mz-oto-page,
.mz-oto-page *,
.mz-oto-page *::before,
.mz-oto-page *::after {
  box-sizing: border-box;
}

.mz-oto-page h1,
.mz-oto-page h2,
.mz-oto-page h3,
.mz-oto-page p {
  margin: 0;
}

.mz-oto-page h1,
.mz-oto-page h2,
.mz-oto-page h3,
.mz-oto-page .mz-oto-btn,
.mz-oto-page .mz-oto-kicker,
.mz-oto-page .mz-oto-eyebrow {
  font-family: "Poppins", "Inter", Arial, sans-serif;
}

.mz-oto-page img {
  display: block;
  width: 100%;
  max-width: 100%;
}

.mz-oto-page svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mz-oto-page a {
  color: inherit;
}

.mz-oto-container {
  width: min(calc(100% - 42px), var(--mz-max));
  margin-inline: auto;
}

/* ---------- Buttons ---------- */

.mz-oto-btn,
.mz-oto-mobile-cta-btn,
.mz-oto-text-link {
  text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

.mz-oto-btn {
  min-height: 47px;
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.mz-oto-btn svg {
  width: 15px;
  height: 15px;
}

.mz-oto-btn:hover {
  transform: translateY(-2px);
}

.mz-oto-btn-primary {
  color: #fff !important;
  background: linear-gradient(135deg, var(--mz-blue), var(--mz-purple));
  box-shadow: 0 12px 26px rgba(64, 88, 245, .20);
}

.mz-oto-btn-primary:hover {
  box-shadow: 0 16px 32px rgba(64, 88, 245, .27);
}

.mz-oto-btn-secondary,
.mz-oto-btn-outline {
  color: var(--mz-blue-dark) !important;
  border-color: rgba(64, 88, 245, .48);
  background: #fff;
}

.mz-oto-btn-secondary:hover,
.mz-oto-btn-outline:hover {
  border-color: var(--mz-blue);
  box-shadow: 0 10px 22px rgba(64, 88, 245, .10);
}

/* ---------- Hero ---------- */

.mz-oto-hero {
  position: relative;
  background:
    radial-gradient(circle at 18% 20%, rgba(80, 103, 255, .07), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(51, 187, 179, .08), transparent 31%),
    linear-gradient(180deg, #f9fbff 0%, #f6f9ff 100%);
  border-bottom: 1px solid #edf0f7;
}

.mz-oto-hero-grid {
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(500px, 1.05fr);
  align-items: stretch;
  gap: 22px;
}

.mz-oto-hero-copy {
  padding: 42px 0 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mz-oto-eyebrow {
  color: #40517e;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.mz-oto-hero h1 {
  margin-top: 12px;
  color: #0e1228;
  font-size: clamp(39px, 4.2vw, 56px);
  line-height: 1.06;
  letter-spacing: -.035em;
  white-space: nowrap;
}

.mz-oto-hero h1 span {
  color: var(--mz-blue);
}

.mz-oto-hero-copy > h2 {
  margin-top: 11px;
  color: #11162b;
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: -.02em;
}

.mz-oto-hero-lead {
  max-width: 535px;
  margin-top: 14px !important;
  color: #39445f;
  font-size: 12.5px;
  line-height: 1.75;
}

.mz-oto-hero-actions {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.mz-oto-hero-benefits {
  margin-top: 25px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 10px;
}

.mz-oto-hero-benefits > div {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mz-oto-hero-benefits > div > span {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  color: var(--mz-blue);
}

.mz-oto-hero-benefits > div > span svg {
  width: 22px;
  height: 22px;
}

.mz-oto-hero-benefits p {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.mz-oto-hero-benefits b {
  color: #18203a;
  font-size: 8.5px;
  line-height: 1.25;
}

.mz-oto-hero-benefits small {
  color: #59657f;
  font-size: 7.3px;
  line-height: 1.35;
}

.mz-oto-hero-media {
  position: relative;
  min-height: 430px;
  overflow: hidden;
}

.mz-oto-hero-media::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: -1px;
  top: 0;
  bottom: 0;
  width: 92px;
  pointer-events: none;
  background: linear-gradient(90deg, #f7f9ff 0%, rgba(247,249,255,.86) 24%, rgba(247,249,255,0) 100%);
}

.mz-oto-hero-media img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  object-position: 50% 52%;
}

.mz-oto-hero-image-fallback {
  height: 100%;
  min-height: 430px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  border-left: 1px dashed var(--mz-line);
  color: var(--mz-muted);
  background: #f5f8ff;
  text-align: center;
}

.mz-oto-hero-image-fallback > span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: var(--mz-blue);
  background: #fff;
  box-shadow: var(--mz-shadow);
}

.mz-oto-hero-image-fallback b {
  color: var(--mz-navy);
  font-size: 12px;
}

.mz-oto-hero-image-fallback small {
  font-size: 10px;
}

/* ---------- Section heading ---------- */

.mz-oto-section-heading {
  max-width: 760px;
}

.mz-oto-section-heading-center {
  margin-inline: auto;
  text-align: center;
}

.mz-oto-section-heading h2 {
  color: #11162b;
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: -.03em;
}

.mz-oto-section-heading p {
  margin-top: 4px;
  color: #53607a;
  font-size: 11px;
}

/* ---------- Pricing ---------- */

.mz-oto-pricing {
  padding: 26px 0 20px;
  background: #fff;
}

.mz-oto-plan-grid {
  margin-top: 17px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
  align-items: stretch;
}

.mz-oto-plan-card {
  position: relative;
  min-height: 210px;
  padding: 20px 17px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #dfe4f1;
  border-radius: 11px;
  background: #fff;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.mz-oto-plan-card:hover {
  transform: translateY(-4px);
  border-color: rgba(64,88,245,.38);
  box-shadow: var(--mz-shadow);
}

.mz-oto-plan-card.is-featured {
  border: 1.5px solid var(--mz-blue);
  background: linear-gradient(180deg, #f9faff, #f4f6ff);
  box-shadow: 0 12px 28px rgba(64,88,245,.10);
}

.mz-oto-plan-badge {
  position: absolute;
  left: 50%;
  top: -12px;
  transform: translateX(-50%);
  min-width: 100px;
  padding: 5px 11px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--mz-blue), var(--mz-purple));
  box-shadow: 0 7px 16px rgba(64,88,245,.18);
  font-family: "Poppins", sans-serif;
  font-size: 8px;
  font-weight: 600;
}

.mz-oto-plan-card h3 {
  color: #11162b;
  font-size: 18px;
  line-height: 1.25;
}

.mz-oto-plan-description {
  max-width: 180px;
  min-height: 42px;
  margin-top: 8px !important;
  color: #56627c !important;
  font-size: 9.5px;
  line-height: 1.55;
}

.mz-oto-price {
  margin: 11px 0 14px;
  display: grid;
  gap: 1px;
}

.mz-oto-price strong {
  color: #101429;
  font-family: "Poppins", sans-serif;
  font-size: 29px;
  line-height: 1;
  letter-spacing: -.04em;
}

.mz-oto-plan-card.is-featured .mz-oto-price strong {
  color: var(--mz-blue-dark);
}

.mz-oto-price span {
  color: #222a43;
  font-size: 8px;
  font-weight: 700;
}

.mz-oto-plan-card .mz-oto-btn {
  width: 100%;
  min-height: 39px;
  margin-top: auto;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 9px;
}

.mz-oto-plan-trust {
  margin-top: 18px;
  padding: 13px 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
  border: 1px solid #e7ebf4;
  border-radius: 13px;
  background: linear-gradient(180deg, #fbfcff, #f8faff);
}

.mz-oto-plan-trust > div {
  min-width: 0;
  padding: 2px 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mz-oto-plan-trust > div + div {
  border-left: 1px solid #e5e9f2;
}

.mz-oto-plan-trust > div > span {
  width: 39px;
  height: 39px;
  flex: 0 0 39px;
  display: grid;
  place-items: center;
  color: var(--mz-blue);
}

.mz-oto-plan-trust > div > span svg {
  width: 28px;
  height: 28px;
}

.mz-oto-plan-trust p {
  display: grid;
  gap: 1px;
}

.mz-oto-plan-trust b {
  color: #1b2340;
  font-size: 9px;
}

.mz-oto-plan-trust small {
  color: #66728a;
  font-size: 8px;
}

/* ---------- How it works + IA (V5 clean block) ---------- */

.mz-oto-flow-v5 {
  padding: 20px 0 38px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

.mz-oto-flow-v5-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.35fr) minmax(320px, .95fr);
  gap: 16px;
  align-items: start;
}

.mz-oto-flow-v5-main {
  min-width: 0;
  padding: 17px;
  border: 1px solid #e4e8f2;
  border-radius: 15px;
  background: linear-gradient(145deg, #f7f9ff 0%, #f4f7fd 100%);
  box-shadow: 0 10px 28px rgba(31, 43, 94, 0.065);
}

.mz-oto-flow-v5-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
}

.mz-oto-flow-v5-head > div {
  display: grid;
  gap: 2px;
}

.mz-oto-flow-v5-kicker {
  color: var(--mz-blue);
  font-family: "Poppins", "Inter", Arial, sans-serif;
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.mz-oto-flow-v5-head h2 {
  color: #151a31;
  font-family: "Poppins", "Inter", Arial, sans-serif;
  font-size: 20px;
  line-height: 1.15;
}

.mz-oto-flow-v5-pill {
  padding: 6px 9px;
  border: 1px solid rgba(64,88,245,.12);
  border-radius: 999px;
  color: var(--mz-blue-dark);
  background: rgba(255,255,255,.86);
  font-family: "Poppins", "Inter", Arial, sans-serif;
  font-size: 7.5px;
  font-weight: 600;
  white-space: nowrap;
}

.mz-oto-flow-v5-steps {
  margin-top: 11px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.mz-oto-flow-v5-step {
  position: relative;
  min-width: 0;
  min-height: 128px;
  padding: 17px 10px 12px;
  border: 1px solid #e2e7f1;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 5px 15px rgba(31,43,94,.035);
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.mz-oto-flow-v5-step:hover {
  z-index: 5;
  transform: translateY(-3px);
  border-color: rgba(64,88,245,.23);
  box-shadow: 0 11px 26px rgba(31,43,94,.08);
}

.mz-oto-flow-v5-step:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 3;
  right: -10px;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%) rotate(45deg);
  border-top: 1px solid #e2e7f1;
  border-right: 1px solid #e2e7f1;
  background: #ffffff;
}

.mz-oto-flow-v5-number {
  position: absolute;
  left: 10px;
  top: 8px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--mz-blue), var(--mz-purple));
  font-family: "Poppins", "Inter", Arial, sans-serif;
  font-size: 8px;
  font-weight: 700;
}

.mz-oto-flow-v5-icon {
  width: 38px;
  height: 38px;
  margin-inline: auto;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: var(--mz-blue);
  background: linear-gradient(145deg, #f0f3ff, #ffffff);
  box-shadow: inset 0 0 0 1px rgba(64,88,245,.07);
}

.mz-oto-flow-v5-icon svg {
  width: 22px;
  height: 22px;
}

.mz-oto-flow-v5-step h3 {
  margin-top: 6px;
  color: #161b31;
  font-family: "Poppins", "Inter", Arial, sans-serif;
  font-size: 10.5px;
  line-height: 1.25;
}

.mz-oto-flow-v5-step p {
  max-width: 155px;
  margin: 4px auto 0;
  color: #647089;
  font-size: 8px;
  line-height: 1.45;
}

.mz-oto-ia-support-v5 {
  min-width: 0;
  min-height: 196px;
  padding: 17px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid #e4e8f2;
  border-radius: 15px;
  background:
    radial-gradient(circle at 100% 0%, rgba(64,88,245,.08), transparent 34%),
    linear-gradient(145deg, #f5f7ff, #f8faff);
  box-shadow: 0 10px 28px rgba(31, 43, 94, 0.065);
}

.mz-oto-ia-support-v5-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.mz-oto-ia-support-v5-head > div {
  min-width: 0;
  flex: 1;
}

.mz-oto-ia-support-v5-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--mz-blue);
  background: linear-gradient(145deg, #e5eaff, #ffffff);
  box-shadow: inset 0 0 0 1px rgba(64,88,245,.08);
}

.mz-oto-ia-support-v5-icon svg {
  width: 24px;
  height: 24px;
}

.mz-oto-ia-support-v5 h2 {
  margin-top: 2px;
  color: #14192f;
  font-family: "Poppins", "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.25;
}

.mz-oto-ia-support-v5-copy {
  max-width: 100%;
  color: #48536c !important;
  font-size: 9px;
  line-height: 1.55;
}

.mz-oto-ia-support-v5-note {
  padding: 8px 9px;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(64,88,245,.10);
  border-radius: 9px;
  color: #4d5872;
  background: rgba(255,255,255,.74);
  font-size: 8px;
  line-height: 1.45;
}

.mz-oto-ia-support-v5-note svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  color: var(--mz-blue);
}

.mz-oto-ia-support-v5 .mz-oto-btn {
  width: 100%;
  min-height: 38px;
  margin-top: auto;
  padding: 8px 10px;
  font-size: 8.3px;
}

/* ---------- Tutor ---------- */



.mz-oto-tutor-section {
  padding: 66px 0;
  border-top: 1px solid #edf0f7;
  border-bottom: 1px solid #edf0f7;
  background:
    radial-gradient(circle at 10% 10%, rgba(64,88,245,.06), transparent 28%),
    #f9fbff;
}

.mz-oto-tutor-grid {
  display: grid;
  grid-template-columns: minmax(320px, .82fr) minmax(0, 1.18fr);
  gap: 55px;
  align-items: center;
}

.mz-oto-tutor-media {
  min-height: 365px;
  overflow: hidden;
  border-radius: 23px;
  background: linear-gradient(145deg, #e7ecff, #dcf7f3);
  box-shadow: var(--mz-shadow-lg);
}

.mz-oto-tutor-media img {
  height: 365px;
  object-fit: cover;
  object-position: center top;
}

.mz-oto-tutor-fallback {
  min-height: 365px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  text-align: center;
}

.mz-oto-tutor-fallback > span {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 25px;
  color: #fff;
  background: linear-gradient(135deg, var(--mz-blue), var(--mz-purple));
  font-family: "Poppins", sans-serif;
  font-size: 31px;
  font-weight: 700;
}

.mz-oto-tutor-fallback > div {
  display: grid;
  gap: 2px;
}

.mz-oto-tutor-fallback b {
  color: var(--mz-navy);
  font-family: "Poppins", sans-serif;
  font-size: 15px;
}

.mz-oto-tutor-fallback small {
  color: var(--mz-muted);
  font-size: 9px;
}

.mz-oto-kicker {
  color: var(--mz-blue);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.mz-oto-tutor-copy h2,
.mz-oto-faq-intro h2,
.mz-oto-booking-copy h2 {
  margin-top: 8px;
  color: #11162d;
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.13;
  letter-spacing: -.035em;
}

.mz-oto-tutor-copy > p,
.mz-oto-faq-intro > p,
.mz-oto-booking-copy > p {
  margin-top: 13px;
  color: #56627c;
  font-size: 13px;
  line-height: 1.72;
}

.mz-oto-tutor-points {
  margin: 23px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
}

.mz-oto-tutor-points > div {
  padding: 12px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  border: 1px solid #e4e8f2;
  border-radius: 12px;
  background: #fff;
}

.mz-oto-tutor-points > div > svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  color: var(--mz-blue);
}

.mz-oto-tutor-points > div > span {
  display: grid;
  gap: 1px;
}

.mz-oto-tutor-points b {
  color: #1c2441;
  font-size: 9.5px;
}

.mz-oto-tutor-points small {
  color: #6a748b;
  font-size: 8px;
}

/* ---------- FAQ ---------- */

.mz-oto-faq-section {
  padding: 66px 0;
  background: #fff;
}

.mz-oto-faq-grid {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
  gap: 58px;
  align-items: start;
}

.mz-oto-faq-intro {
  position: sticky;
  top: 100px;
}

.mz-oto-text-link {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--mz-blue-dark) !important;
  font-size: 11px;
  font-weight: 700;
}

.mz-oto-faq-list {
  display: grid;
  gap: 8px;
}

.mz-oto-faq-item {
  overflow: hidden;
  border: 1px solid #e3e7f0;
  border-radius: 11px;
  background: #fff;
}

.mz-oto-faq-item[open] {
  border-color: rgba(64,88,245,.30);
  box-shadow: 0 8px 22px rgba(64,88,245,.06);
}

.mz-oto-faq-item summary {
  padding: 15px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  list-style: none;
  cursor: pointer;
  color: #1a213b;
  font-family: "Poppins", sans-serif;
  font-size: 10.5px;
  font-weight: 600;
}

.mz-oto-faq-item summary::-webkit-details-marker {
  display: none;
}

.mz-oto-faq-item summary span {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--mz-blue);
  background: #f0f3ff;
  font-size: 17px;
  transition: transform .2s ease;
}

.mz-oto-faq-item[open] summary span {
  transform: rotate(45deg);
}

.mz-oto-faq-item > div {
  padding: 0 16px 15px;
  color: #626d83;
  font-size: 10px;
  line-height: 1.65;
}

/* ---------- Booking ---------- */

.mz-oto-booking-section {
  padding: 10px 0 76px;
  background: #fff;
}

.mz-oto-booking-shell {
  padding: 35px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(390px, 1.1fr);
  gap: 38px;
  align-items: center;
  border: 1px solid #dfe4f0;
  border-radius: 20px;
  background:
    radial-gradient(circle at 0% 0%, rgba(64,88,245,.06), transparent 29%),
    radial-gradient(circle at 100% 100%, rgba(51,187,179,.07), transparent 30%),
    #fff;
  box-shadow: var(--mz-shadow);
}

.mz-oto-booking-summary {
  margin-top: 20px;
  padding: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #dde3f1;
  border-radius: 11px;
  background: #f6f8ff;
}

.mz-oto-booking-summary > span {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--mz-blue), var(--mz-purple));
}

.mz-oto-booking-summary > div {
  display: grid;
  gap: 1px;
}

.mz-oto-booking-summary small {
  color: #7c879c;
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.mz-oto-booking-summary b {
  color: #1d2540;
  font-size: 10.5px;
}

.mz-oto-booking-summary em {
  color: #6f7a90;
  font-size: 8.5px;
  font-style: normal;
}

.mz-oto-calendly-mount {
  min-height: 330px;
  padding: 24px;
  display: grid;
  place-items: center;
  align-content: center;
  border: 1px dashed rgba(64,88,245,.30);
  border-radius: 16px;
  background: #f8faff;
  text-align: center;
}

.mz-oto-calendly-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: var(--mz-blue);
  background: #fff;
  box-shadow: var(--mz-shadow);
}

.mz-oto-calendly-icon svg {
  width: 25px;
  height: 25px;
}

.mz-oto-calendly-mount h3 {
  margin-top: 15px;
  color: #171e37;
  font-size: 17px;
}

.mz-oto-calendly-mount p {
  max-width: 360px;
  margin-top: 7px;
  color: #657089;
  font-size: 9.5px;
}

.mz-oto-calendly-mount .mz-oto-btn {
  margin-top: 15px;
}

/* ---------- Mobile CTA ---------- */

.mz-oto-mobile-cta {
  display: none;
}

/* ---------- State + JS support ---------- */

.mz-oto-page .is-selected-plan {
  border-color: var(--mz-blue) !important;
  box-shadow: 0 18px 40px rgba(64,88,245,.12) !important;
}

.mz-oto-page .mz-oto-is-loading {
  opacity: .72;
  pointer-events: none;
}

.mz-oto-page .mz-oto-is-hidden {
  display: none !important;
}

.mz-oto-page a:focus-visible,
.mz-oto-page button:focus-visible,
.mz-oto-page summary:focus-visible {
  outline: 3px solid rgba(64,88,245,.24);
  outline-offset: 3px;
}

/* ---------- Tablet ---------- */

@media (max-width: 1050px) {
  .mz-oto-container {
    width: min(calc(100% - 32px), var(--mz-max));
  }

  .mz-oto-hero-grid {
    grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  }

  .mz-oto-hero h1 {
    font-size: clamp(34px, 4.4vw, 47px);
  }

  .mz-oto-hero-benefits {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .mz-oto-plan-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .mz-oto-flow-v5-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .mz-oto-hero-grid,
  .mz-oto-tutor-grid,
  .mz-oto-faq-grid,
  .mz-oto-booking-shell {
    grid-template-columns: 1fr;
  }

  .mz-oto-hero-copy {
    padding: 34px 0 24px;
    text-align: center;
  }

  .mz-oto-hero h1 {
    white-space: normal;
    font-size: clamp(38px, 7vw, 52px);
  }

  .mz-oto-hero-lead {
    margin-inline: auto;
  }

  .mz-oto-hero-actions {
    justify-content: center;
  }

  .mz-oto-hero-benefits {
    max-width: 620px;
    margin-inline: auto;
    margin-top: 23px;
    grid-template-columns: repeat(4, minmax(0,1fr));
    text-align: left;
  }

  .mz-oto-hero-media {
    min-height: 360px;
  }

  .mz-oto-hero-media::before {
    left: 0;
    right: 0;
    top: 0;
    bottom: auto;
    width: auto;
    height: 60px;
    background: linear-gradient(180deg, #f7f9ff 0%, rgba(247,249,255,0) 100%);
  }

  .mz-oto-hero-media img {
    object-position: center 52%;
  }

  .mz-oto-plan-trust {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .mz-oto-plan-trust > div + div {
    border-left: 0;
    border-top: 1px solid #e5e9f2;
    padding-top: 10px;
  }

  .mz-oto-flow-v5-steps {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .mz-oto-flow-v5-step::after {
    display: none;
  }

  .mz-oto-tutor-media {
    width: min(100%, 520px);
    margin-inline: auto;
  }

  .mz-oto-faq-intro {
    position: static;
  }

  .mz-oto-booking-copy {
    text-align: center;
  }

  .mz-oto-booking-summary {
    max-width: 520px;
    margin-inline: auto;
    text-align: left;
  }
}

/* ---------- Mobile ---------- */

@media (max-width: 640px) {
  .mz-oto-page {
    padding-bottom: 78px;
  }

  .mz-oto-container {
    width: min(calc(100% - 20px), var(--mz-max));
  }

  .mz-oto-hero-grid {
    min-height: 0;
    gap: 0;
  }

  .mz-oto-hero-copy {
    padding: 27px 0 20px;
  }

  .mz-oto-eyebrow {
    font-size: 8px;
  }

  .mz-oto-hero h1 {
    margin-top: 10px;
    font-size: clamp(34px, 10vw, 43px);
  }

  .mz-oto-hero-copy > h2 {
    margin-top: 9px;
    font-size: 14px;
  }

  .mz-oto-hero-lead {
    margin-top: 11px !important;
    font-size: 11.5px;
    line-height: 1.65;
  }

  .mz-oto-hero-actions {
    margin-top: 17px;
    display: grid;
    grid-template-columns: 1fr;
  }

  .mz-oto-hero-actions .mz-oto-btn {
    width: 100%;
  }

  .mz-oto-hero-benefits {
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 8px 10px;
  }

  .mz-oto-hero-benefits > div {
    padding: 7px 6px;
    border: 1px solid #e8ebf4;
    border-radius: 9px;
    background: rgba(255,255,255,.66);
  }

  .mz-oto-hero-media {
    min-height: 285px;
  }

  .mz-oto-hero-media img {
    object-position: 54% 52%;
  }

  .mz-oto-pricing {
    padding: 24px 0 14px;
  }

  .mz-oto-section-heading h2 {
    font-size: 22px;
  }

  .mz-oto-section-heading p {
    font-size: 9.5px;
  }

  .mz-oto-plan-grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .mz-oto-plan-card {
    min-height: 0;
    padding: 18px 15px 15px;
  }

  .mz-oto-plan-description {
    min-height: 0;
  }

  .mz-oto-plan-card.is-featured {
    margin-top: 10px;
  }

  .mz-oto-plan-trust {
    margin-top: 16px;
  }

  .mz-oto-flow-v5 {
    padding: 16px 0 27px;
  }

  .mz-oto-flow-v5-head {
    align-items: flex-end;
  }

  .mz-oto-flow-v5-pill {
    font-size: 6.8px;
  }

  .mz-oto-flow-v5-steps {
    grid-template-columns: 1fr;
  }

  .mz-oto-flow-v5-step {
    min-height: 108px;
  }

  .mz-oto-tutor-section,
  .mz-oto-faq-section {
    padding: 54px 0;
  }

  .mz-oto-tutor-grid {
    gap: 30px;
  }

  .mz-oto-tutor-media,
  .mz-oto-tutor-media img,
  .mz-oto-tutor-fallback {
    min-height: 330px;
    height: 330px;
  }

  .mz-oto-tutor-copy h2,
  .mz-oto-faq-intro h2,
  .mz-oto-booking-copy h2 {
    font-size: 29px;
  }

  .mz-oto-tutor-copy > p,
  .mz-oto-faq-intro > p,
  .mz-oto-booking-copy > p {
    font-size: 12px;
  }

  .mz-oto-tutor-points {
    grid-template-columns: 1fr;
  }

  .mz-oto-faq-grid {
    gap: 28px;
  }

  .mz-oto-booking-section {
    padding-bottom: 24px;
  }

  .mz-oto-booking-shell {
    padding: 20px 14px;
    border-radius: 15px;
  }

  .mz-oto-calendly-mount {
    min-height: 300px;
    padding: 20px 13px;
  }

  .mz-oto-mobile-cta {
    position: fixed;
    z-index: 9998;
    left: 9px;
    right: 9px;
    bottom: max(9px, env(safe-area-inset-bottom));
    min-height: 62px;
    padding: 9px 9px 9px 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 17px;
    background: rgba(15, 21, 47, .96);
    box-shadow: 0 18px 44px rgba(15,21,47,.26);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .mz-oto-mobile-cta > div {
    display: grid;
    gap: 1px;
  }

  .mz-oto-mobile-cta small {
    color: rgba(255,255,255,.62);
    font-size: 7px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
  }

  .mz-oto-mobile-cta b {
    color: #fff;
    font-size: 13px;
  }

  .mz-oto-mobile-cta-btn {
    min-height: 41px;
    padding: 10px 13px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 11px;
    color: #fff !important;
    background: linear-gradient(135deg, var(--mz-blue), var(--mz-purple));
    font-size: 9px;
    font-weight: 700;
  }
}

@media (max-width: 390px) {
  .mz-oto-hero-benefits {
    grid-template-columns: 1fr;
  }

  .mz-oto-hero-media {
    min-height: 255px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mz-oto-page *,
  .mz-oto-page *::before,
  .mz-oto-page *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Elementor containment */
.elementor .mz-oto-page .mz-oto-container,
.elementor-section .mz-oto-page .mz-oto-container,
.elementor-widget .mz-oto-page .mz-oto-container {
  max-width: var(--mz-max);
}
