:root {
  --navy-950: #071a2c;
  --navy-900: #102a43;
  --navy-800: #173f5f;
  --blue-700: #1d5d85;
  --blue-600: #2878a6;
  --blue-100: #e9f4fb;
  --teal-600: #0f897a;
  --teal-100: #e6f6f3;
  --gold-500: #f2a93b;
  --gold-100: #fff5df;
  --ink: #183047;
  --muted: #5c6f7f;
  --line: #d9e5ec;
  --surface: #ffffff;
  --surface-soft: #f5f9fc;
  --danger: #b42318;
  --shadow-sm: 0 8px 24px rgba(10, 42, 67, 0.08);
  --shadow-lg: 0 24px 70px rgba(10, 42, 67, 0.16);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--surface);
  font-family: Tahoma, "Noto Sans Arabic", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
  font-family: Tahoma, "Noto Sans Arabic", Arial, sans-serif;
}

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

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

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(242, 169, 59, 0.9);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  inset: 12px auto auto 12px;
  z-index: 9999;
  padding: 10px 16px;
  border-radius: 10px;
  color: #fff;
  background: var(--navy-950);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

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

.section-pad {
  padding-block: 72px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid rgba(217, 229, 236, 0.85);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(145deg, var(--blue-700), var(--navy-950));
  font-size: 23px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(16, 42, 67, 0.2);
}

.brand-copy {
  display: grid;
  line-height: 1.35;
}

.brand-copy strong {
  color: var(--navy-950);
  font-size: 14px;
}

.brand-copy small {
  color: var(--muted);
  font-size: 11px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.button:active {
  transform: translateY(0);
}

.button-primary {
  color: #13263a;
  background: var(--gold-500);
  box-shadow: 0 12px 30px rgba(242, 169, 59, 0.28);
}

.button-primary:hover {
  background: #ffb84f;
  box-shadow: 0 16px 34px rgba(242, 169, 59, 0.38);
}

.button-outline {
  color: var(--navy-900);
  border-color: var(--navy-900);
  background: #fff;
}

.button-outline:hover {
  color: #fff;
  background: var(--navy-900);
}

.button-dark-outline {
  color: var(--navy-900);
  border-color: var(--line);
  background: var(--surface-soft);
}

.button-dark-outline:hover {
  color: #fff;
  border-color: var(--navy-900);
  background: var(--navy-900);
}

.button-small {
  min-height: 42px;
  padding: 9px 15px;
  border-radius: 11px;
  font-size: 13px;
}

.button-large {
  min-height: 58px;
  padding: 15px 26px;
  font-size: 17px;
}

.button-full {
  width: 100%;
}

.button-arrow {
  font-size: 22px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.button:hover .button-arrow {
  transform: translateX(-4px);
}

.button.is-transitioning {
  pointer-events: none;
  opacity: 0.82;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 15% 15%, rgba(40, 120, 166, 0.3), transparent 28%),
    linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 58%, #113a52 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(6px);
  pointer-events: none;
}

.hero-glow-one {
  width: 300px;
  height: 300px;
  inset: -140px -100px auto auto;
  background: rgba(242, 169, 59, 0.13);
}

.hero-glow-two {
  width: 220px;
  height: 220px;
  inset: auto auto -100px 10%;
  background: rgba(40, 120, 166, 0.18);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 46px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--teal-600);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #bfe9e3;
}

.hero .eyebrow > span {
  width: 25px;
  height: 2px;
  border-radius: 99px;
  background: var(--gold-500);
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-size: clamp(36px, 9.6vw, 62px);
  line-height: 1.28;
  letter-spacing: -0.035em;
}

.hero h1 em {
  color: #ffd17b;
  font-style: normal;
}

.hero-lead {
  max-width: 680px;
  margin: 20px 0 0;
  color: #d8e6ef;
  font-size: 17px;
  line-height: 1.9;
}

.hero-benefits {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.hero-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #eff7fb;
  font-weight: 700;
}

.check {
  display: grid;
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid rgba(191, 233, 227, 0.4);
  border-radius: 50%;
  color: #c6f3eb;
  background: rgba(15, 137, 122, 0.22);
  font-size: 13px;
}

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

.reassurance {
  display: flex;
  max-width: 570px;
  align-items: flex-start;
  gap: 8px;
  margin: 15px 0 0;
  color: #c9d9e3;
  font-size: 13px;
}

.reassurance span {
  color: var(--gold-500);
}

.hero-visual {
  position: relative;
  width: min(100%, 520px);
  margin-inline: auto;
  padding: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.32);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-lg);
}

.visual-window {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  color: var(--navy-900);
  background: #e7f0f5;
}

.window-bar {
  display: flex;
  gap: 6px;
  padding: 11px 13px;
  background: #fff;
}

.window-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cddbe4;
}

.class-preview {
  display: grid;
  height: calc(100% - 30px);
  grid-template-rows: 1fr auto;
  gap: 12px;
  padding: 15px;
}

.teacher-frame {
  position: relative;
  display: flex;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(145deg, #c9dde8, #f3f7f9);
}

.avatar-outline {
  width: 82px;
  height: 82px;
  border: 3px solid rgba(16, 42, 67, 0.42);
  border-radius: 50% 50% 45% 45%;
}

.avatar-outline::before {
  content: "";
  display: block;
  width: 34px;
  height: 34px;
  margin: 12px auto 4px;
  border: 3px solid rgba(16, 42, 67, 0.42);
  border-radius: 50%;
}

.avatar-outline::after {
  content: "";
  display: block;
  width: 54px;
  height: 25px;
  margin-inline: auto;
  border: 3px solid rgba(16, 42, 67, 0.42);
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
}

.board-lines {
  position: absolute;
  inset: 20px auto auto 22px;
  display: grid;
  width: 26%;
  gap: 10px;
}

.board-lines i {
  height: 3px;
  border-radius: 99px;
  background: rgba(16, 42, 67, 0.22);
}

.board-lines i:nth-child(2) {
  width: 70%;
}

.student-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.student-row i {
  height: 48px;
  border: 1px solid #c8d9e3;
  border-radius: 10px;
  background: #fff;
}

.student-row i::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  margin: 7px auto 4px;
  border-radius: 50%;
  background: #d7e5ed;
}

.student-row i::after {
  content: "";
  display: block;
  width: 34px;
  height: 10px;
  margin-inline: auto;
  border-radius: 10px 10px 3px 3px;
  background: #d7e5ed;
}

.image-spec {
  display: grid;
  gap: 3px;
  padding: 14px 6px 4px;
  color: #e5f0f5;
  font-size: 12px;
  line-height: 1.65;
}

.image-spec strong {
  color: #fff0cb;
  font-size: 13px;
}

.floating-note {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  color: var(--navy-900);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
  font-size: 11px;
  font-weight: 800;
}

.note-live {
  inset: 34px auto auto -9px;
}

.note-weekly {
  inset: auto -9px 74px auto;
}

.note-weekly strong {
  color: var(--teal-600);
  font-size: 22px;
  line-height: 1;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e34c4c;
  box-shadow: 0 0 0 5px rgba(227, 76, 76, 0.12);
}

.trust-strip {
  position: relative;
  z-index: 3;
  border-bottom: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

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

.trust-item {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  padding: 18px 6px;
}

.trust-item:nth-child(odd) {
  padding-inline-end: 12px;
  border-inline-end: 1px solid var(--line);
}

.icon-box {
  display: grid;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 11px;
  color: var(--teal-600);
  background: var(--teal-100);
  font-size: 16px;
  font-weight: 900;
}

.trust-item p {
  display: grid;
  min-width: 0;
  margin: 0;
  line-height: 1.45;
}

.trust-item strong {
  color: var(--navy-900);
  font-size: 12px;
}

.trust-item small {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.booking {
  background: var(--surface-soft);
}

.booking-grid {
  display: grid;
  gap: 34px;
}

.booking-copy h2,
.section-heading h2,
.teacher-copy h2,
.faq-heading h2,
.final-cta h2 {
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(29px, 7vw, 44px);
  line-height: 1.38;
  letter-spacing: -0.025em;
}

.booking-copy > p:not(.section-kicker),
.section-heading > p:not(.section-kicker),
.teacher-copy > p,
.faq-heading > p:not(.section-kicker) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.booking-points {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.booking-points > div {
  display: flex;
  align-items: center;
  gap: 13px;
}

.booking-points > div > span {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #c8dedb;
  border-radius: 50%;
  color: var(--teal-600);
  background: var(--teal-100);
  font-weight: 900;
}

.booking-points p {
  display: grid;
  margin: 0;
  line-height: 1.45;
}

.booking-points strong {
  font-size: 14px;
}

.booking-points small {
  color: var(--muted);
  font-size: 12px;
}

.form-card {
  padding: 22px;
  border: 1px solid #dbe8ef;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.form-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.form-heading h3,
.form-heading p {
  margin: 0;
}

.form-heading h3 {
  color: var(--navy-950);
  font-size: 20px;
}

.form-heading p {
  color: var(--muted);
  font-size: 12px;
}

.form-icon {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: var(--teal-600);
  font-weight: 900;
}

.booking-form,
.form-slot form {
  display: grid;
  gap: 15px;
}

.field-group,
.form-slot .ff-el-group {
  display: grid;
  gap: 7px;
  margin: 0;
}

.field-group label,
.form-slot .ff-el-input--label label {
  color: var(--navy-900);
  font-size: 13px;
  font-weight: 800;
}

.field-group label span,
.form-slot .ff-el-input--label.ff-el-is-required label::after {
  color: var(--danger);
}

.field-group input,
.field-group select,
.form-slot input:not([type="checkbox"]):not([type="radio"]),
.form-slot select,
.form-slot textarea {
  width: 100%;
  min-height: 50px;
  padding: 11px 13px;
  border: 1px solid #cbdbe5;
  border-radius: 11px;
  color: var(--ink);
  background: #fbfdfe;
  font-size: 16px;
  outline: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field-group input::placeholder,
.form-slot input::placeholder,
.form-slot textarea::placeholder {
  color: #8a9aa7;
}

.field-group input:focus,
.field-group select:focus,
.form-slot input:focus,
.form-slot select:focus,
.form-slot textarea:focus {
  border-color: var(--blue-600);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(40, 120, 166, 0.11);
}

.field-group input.is-invalid,
.field-group select.is-invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.08);
}

.spam-field {
  position: absolute !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.form-note,
.form-status {
  margin: 0;
  text-align: center;
  font-size: 12px;
}

.booking-form .button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.form-note {
  color: var(--muted);
}

.form-status {
  min-height: 0;
  color: var(--blue-700);
  font-weight: 700;
}

.problems {
  background: #fff;
}

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

.centered {
  text-align: center;
}

.narrow {
  max-width: 760px;
  margin-inline: auto;
}

.problem-grid {
  display: grid;
  gap: 12px;
}

.problem-card {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 76px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: 0 8px 20px rgba(16, 42, 67, 0.04);
}

.problem-card span {
  flex: 0 0 auto;
  color: #cbd7df;
  font-size: 22px;
  font-weight: 900;
}

.problem-card p {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.method-card {
  display: grid;
  gap: 28px;
  margin-top: 24px;
  padding: 24px;
  border-radius: var(--radius-md);
  color: #fff;
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
  box-shadow: var(--shadow-lg);
}

.method-copy h3,
.method-copy p {
  margin: 0;
}

.method-copy .section-kicker {
  margin-bottom: 9px;
  color: #9fe0d6;
}

.method-copy h3 {
  font-size: 25px;
}

.method-copy > p:last-child {
  margin-top: 10px;
  color: #d2e1ea;
  font-size: 14px;
}

.method-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.method-steps li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
  font-weight: 800;
}

.method-steps span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  color: var(--navy-950);
  background: var(--gold-500);
  font-size: 11px;
}

.method-steps li:last-child {
  grid-column: 1 / -1;
}

.benefits {
  background: var(--surface-soft);
}

.benefit-grid {
  display: grid;
  gap: 14px;
}

.benefit-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 42, 67, 0.05);
}

.benefit-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 14px;
  color: var(--teal-600);
  background: var(--teal-100);
  font-size: 22px;
  font-weight: 900;
}

.benefit-card h3 {
  margin: 16px 0 7px;
  color: var(--navy-950);
  font-size: 18px;
}

.benefit-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.center-cta {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.pricing {
  color: #fff;
  background:
    radial-gradient(circle at 80% 10%, rgba(40, 120, 166, 0.28), transparent 25%),
    var(--navy-950);
}

.light-heading h2,
.light-heading > p:not(.section-kicker) {
  color: #fff;
}

.light-heading > p:not(.section-kicker) {
  color: #cfdee8;
}

.light-heading .section-kicker {
  color: #9fe0d6;
}

.pricing-grid {
  display: grid;
  gap: 16px;
}

.price-card {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 310px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  color: var(--ink);
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.price-card-featured {
  border: 2px solid var(--gold-500);
}

.best-value {
  position: absolute;
  inset: -13px 20px auto auto;
  padding: 5px 12px;
  border-radius: 99px;
  color: var(--navy-950);
  background: var(--gold-500);
  font-size: 12px;
  font-weight: 900;
}

.plan-name {
  margin: 0;
  color: var(--teal-600);
  font-size: 13px;
  font-weight: 900;
}

.price-card h3 {
  min-height: 54px;
  margin: 6px 0 14px;
  color: var(--navy-950);
  font-size: 22px;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  direction: rtl;
}

.price strong {
  color: var(--navy-950);
  font-size: 48px;
  line-height: 1;
}

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

.saving {
  min-height: 48px;
  margin: 13px 0 20px;
  color: var(--muted);
  font-size: 13px;
}

.price-card .button {
  margin-top: auto;
}

.all-plans {
  max-width: 920px;
  margin: 24px auto 0;
  padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  color: #d3e2eb;
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
  text-align: center;
}

.all-plans span {
  color: #9fe0d6;
  font-weight: 900;
}

.teacher-grid {
  display: grid;
  gap: 34px;
  align-items: center;
}

.media-placeholder {
  border: 1px dashed #a9bfcc;
  background: repeating-linear-gradient(-45deg, #f6f9fb, #f6f9fb 12px, #f0f5f8 12px, #f0f5f8 24px);
}

.teacher-visual {
  overflow: hidden;
  width: min(100%, 500px);
  min-height: 420px;
  margin-inline: auto;
  padding: 28px;
  border-radius: var(--radius-lg);
}

.portrait-outline {
  position: relative;
  height: 290px;
  border-radius: 22px;
  background: rgba(222, 233, 240, 0.75);
}

.portrait-outline span {
  position: absolute;
  inset: 55px 50% auto auto;
  width: 95px;
  height: 95px;
  border: 4px solid #9eb4c1;
  border-radius: 50%;
  transform: translateX(50%);
}

.portrait-outline i {
  position: absolute;
  inset: 165px 50% auto auto;
  width: 190px;
  height: 105px;
  border: 4px solid #9eb4c1;
  border-bottom: 0;
  border-radius: 110px 110px 0 0;
  transform: translateX(50%);
}

.teacher-visual .image-spec {
  color: var(--muted);
}

.teacher-visual .image-spec strong {
  color: var(--navy-900);
}

.teacher-copy > p {
  line-height: 1.9;
}

.teacher-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.teacher-tags span {
  padding: 7px 11px;
  border: 1px solid #cfe2e0;
  border-radius: 99px;
  color: var(--teal-600);
  background: var(--teal-100);
  font-size: 12px;
  font-weight: 800;
}

.testimonials {
  background: var(--surface-soft);
}

.testimonial-grid {
  display: grid;
  gap: 14px;
}

.testimonial-placeholder {
  min-height: 225px;
  padding: 24px;
  border-radius: var(--radius-md);
  text-align: center;
}

.testimonial-placeholder > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin: 15px auto 14px;
  border-radius: 14px;
  color: var(--blue-700);
  background: #dceaf2;
  font-size: 23px;
}

.testimonial-placeholder strong {
  color: var(--navy-900);
}

.testimonial-placeholder p {
  max-width: 260px;
  margin: 8px auto 0;
  color: var(--muted);
  font-size: 13px;
}

.faq {
  background: #fff;
}

.faq-grid {
  display: grid;
  gap: 30px;
}

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

.faq-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.faq-item h3 {
  margin: 0;
}

.faq-item button {
  display: flex;
  width: 100%;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 17px;
  border: 0;
  color: var(--navy-950);
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  text-align: right;
}

.faq-item button span {
  position: relative;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--blue-100);
}

.faq-item button span::before,
.faq-item button span::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 10px;
  height: 2px;
  border-radius: 99px;
  background: var(--blue-700);
  transform: translate(-50%, -50%);
}

.faq-item button span::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.2s ease;
}

.faq-item button[aria-expanded="true"] span::after {
  transform: translate(-50%, -50%) rotate(0);
}

.faq-answer {
  padding: 0 17px 17px;
}

.faq-answer p {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.final-cta {
  padding-top: 0;
}

.final-cta-card {
  display: grid;
  gap: 24px;
  align-items: center;
  padding: 30px;
  border-radius: var(--radius-lg);
  color: #fff;
  background:
    linear-gradient(125deg, rgba(40, 120, 166, 0.22), transparent 45%),
    var(--navy-900);
  box-shadow: var(--shadow-lg);
}

.final-cta .section-kicker {
  color: #9fe0d6;
}

.final-cta h2 {
  color: #fff;
  font-size: clamp(27px, 6vw, 40px);
}

.final-cta p:not(.section-kicker) {
  margin: 12px 0 0;
  color: #d5e3eb;
}

.site-footer {
  padding: 28px 0 96px;
  color: #b9cbd6;
  background: var(--navy-950);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner p {
  display: grid;
  margin: 0;
  line-height: 1.5;
}

.footer-inner strong {
  color: #fff;
  font-size: 13px;
}

.footer-inner span,
.footer-inner a {
  font-size: 11px;
}

.footer-inner a {
  color: #d8e6ee;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.mobile-sticky-cta {
  position: fixed;
  inset: auto 12px calc(12px + env(safe-area-inset-bottom)) 12px;
  z-index: 90;
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 17px;
  color: var(--navy-950);
  background: var(--gold-500);
  box-shadow: 0 16px 38px rgba(7, 26, 44, 0.32);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.mobile-sticky-cta.is-hidden {
  pointer-events: none;
  opacity: 0;
  transform: translateY(130%);
}

.mobile-sticky-cta > span {
  display: grid;
  line-height: 1.35;
}

.mobile-sticky-cta small {
  font-size: 11px;
  font-weight: 700;
}

.mobile-sticky-cta strong {
  font-size: 14px;
}

.mobile-sticky-cta i {
  font-size: 24px;
  font-style: normal;
}

@media (min-width: 560px) {
  .container {
    width: min(100% - 48px, var(--container));
  }

  .section-pad {
    padding-block: 88px;
  }

  .brand-copy strong {
    font-size: 15px;
  }

  .brand-copy small {
    font-size: 12px;
  }

  .hero-benefits {
    grid-template-columns: repeat(3, auto);
    justify-content: start;
    gap: 14px 24px;
  }

  .trust-item {
    padding-inline: 18px;
  }

  .trust-item strong {
    font-size: 13px;
  }

  .trust-item small {
    font-size: 11px;
  }

  .form-card {
    padding: 30px;
  }

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

  .booking-form .button,
  .booking-form .form-note,
  .booking-form .form-status {
    grid-column: 1 / -1;
  }

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

  .method-steps {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .method-steps li:last-child {
    grid-column: auto;
  }

  .pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }

  .price-card {
    padding: 20px;
  }

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

  .price strong {
    font-size: 42px;
  }
}

@media (min-width: 768px) {
  .header-inner {
    min-height: 76px;
  }

  .header-cta {
    min-height: 46px;
    padding-inline: 20px;
    font-size: 14px;
  }

  .hero {
    min-height: 710px;
    display: grid;
    align-items: center;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(300px, 0.96fr);
    align-items: center;
    gap: 42px;
  }

  .hero h1 {
    font-size: clamp(45px, 6vw, 64px);
  }

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

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

  .trust-item {
    padding-block: 21px;
    border-inline-end: 1px solid var(--line);
  }

  .trust-item:last-child {
    border-inline-end: 0;
  }

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

  .problem-card {
    grid-column: span 2;
  }

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

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

  .method-card {
    padding: 32px;
  }

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

  .benefit-card {
    grid-column: span 2;
  }

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

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

  .teacher-grid {
    grid-template-columns: minmax(300px, 0.86fr) minmax(0, 1.14fr);
    gap: 56px;
  }

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

  .faq-grid {
    grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
    align-items: start;
    gap: 60px;
  }

  .faq-heading {
    position: sticky;
    top: 110px;
  }

  .final-cta-card {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 46px;
  }

  .site-footer {
    padding-bottom: 30px;
  }

  .mobile-sticky-cta {
    display: none;
  }
}

@media (min-width: 980px) {
  .section-pad {
    padding-block: 104px;
  }

  .booking-grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(460px, 1.18fr);
    align-items: center;
    gap: 72px;
  }

  .form-card {
    padding: 34px;
  }

  .method-card {
    grid-template-columns: minmax(0, 0.85fr) minmax(520px, 1.15fr);
    align-items: center;
  }

  .price-card {
    padding: 28px;
  }

  .price-card-featured {
    transform: translateY(-12px);
  }

  .price-card h3 {
    font-size: 22px;
  }

  .price strong {
    font-size: 48px;
  }
}

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

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

@media print {
  .site-header,
  .mobile-sticky-cta,
  .button {
    display: none !important;
  }

  .section-pad {
    padding-block: 30px;
  }
}
