:root {
  --page-bg: #f3f7f8;
  --surface: #ffffff;
  --surface-soft: #f8fbfc;
  --navy: #0d2145;
  --navy-2: #17355f;
  --text: #435168;
  --muted: #728096;
  --teal: #047f83;
  --teal-dark: #006d72;
  --teal-soft: #eef8f7;
  --blue: #0755bd;
  --blue-dark: #06449b;
  --blue-soft: #f0f5ff;
  --violet: #785da8;
  --violet-soft: #f6f1fb;
  --orange: #b9623b;
  --orange-soft: #fff2ea;
  --green: #527735;
  --green-soft: #f1f8eb;
  --gold: #a37a16;
  --gold-soft: #fff8df;
  --danger: #a74646;
  --danger-soft: #fff1f1;
  --line: rgba(13, 33, 69, 0.09);
  --line-strong: rgba(13, 33, 69, 0.14);
  --shadow: 0 22px 66px rgba(18, 42, 66, 0.09);
  --shadow-sm: 0 12px 34px rgba(18, 42, 66, 0.075);
  --shadow-teal: 0 15px 34px rgba(4, 127, 131, 0.2);
  --radius-xl: 34px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --container: 1280px;
}











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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 4% 7%, rgba(4, 127, 131, 0.075), transparent 30rem),
    radial-gradient(circle at 97% 88%, rgba(7, 85, 189, 0.055), transparent 32rem),
    var(--page-bg);
  font-family: "Vazirmatn", Vazirmatn, Tahoma, Arial, sans-serif;
  line-height: 1.95;
  direction: rtl;
  text-align: right;
}

body.is-locked {
  overflow: hidden;
}

button,
input,
textarea {
  font: inherit;
}

button:disabled {
  opacity: 0.46;
  cursor: not-allowed;
  transform: none !important;
}

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

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

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

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid rgba(4, 127, 131, 0.3);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 10px;
  right: 10px;
  padding: 9px 14px;
  border-radius: 10px;
  color: #fff;
  background: var(--navy);
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

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

.site-shell {
  width: min(1500px, calc(100% - 30px));
  margin: 15px auto;
  overflow: hidden;
  border: 1px solid rgba(13, 33, 69, 0.055);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.965);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

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

.site-header {
  position: relative;
  z-index: 50;
  min-height: 82px;
  padding: 15px clamp(20px, 4vw, 58px);
  border-bottom: 1px solid rgba(13, 33, 69, 0.06);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.header-row {
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  color: var(--navy);
}

.brand-mark {
  position: relative;
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(145deg, #08a0a4, #006c72);
  box-shadow: 0 10px 24px rgba(4, 127, 131, 0.22);
  place-items: center;
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  width: 7px;
  height: 7px;
  content: "";
  border: 2px solid currentColor;
  border-radius: 50%;
}

.brand-mark::before {
  top: 9px;
  right: 8px;
}

.brand-mark::after {
  bottom: 9px;
  left: 8px;
}

.brand-mark span {
  width: 14px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(-42deg);
}

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

.brand-name {
  color: var(--teal-dark);
  font-size: 1.08rem;
  font-weight: 800;
}

.brand-tagline {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-inline: auto;
}

.desktop-nav a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 8px 11px;
  border-radius: 11px;
  color: #536176;
  font-size: 0.88rem;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  color: var(--teal-dark);
  background: var(--teal-soft);
  transform: translateY(-1px);
}

.header-action {
  display: inline-flex;
  min-height: 44px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 9px 15px;
  border: 1px solid rgba(4, 127, 131, 0.22);
  border-radius: 13px;
  color: var(--teal-dark);
  background: var(--teal-soft);
  font-size: 0.82rem;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease;
}

.header-action:hover {
  color: #fff;
  background: var(--teal);
  transform: translateY(-1px);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-right: auto;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--navy);
  background: #fff;
  cursor: pointer;
}

.menu-button span,
.menu-button::before,
.menu-button::after {
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.menu-button {
  flex-direction: column;
  gap: 4px;
}

.mobile-overlay {
  position: fixed;
  z-index: 900;
  inset: 0;
  background: rgba(4, 18, 37, 0.46);
  backdrop-filter: blur(4px);
}

.mobile-menu {
  position: fixed;
  z-index: 950;
  top: 0;
  right: 0;
  width: min(390px, 90vw);
  height: 100dvh;
  overflow-y: auto;
  padding: 20px;
  border-left: 1px solid var(--line);
  background: #fff;
  box-shadow: -20px 0 60px rgba(13, 33, 69, 0.18);
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.mobile-menu-title {
  color: var(--teal-dark);
  font-weight: 800;
}

.mobile-menu-close {
  display: grid;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--navy);
  background: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  place-items: center;
}

.mobile-links {
  display: grid;
  gap: 4px;
  margin-top: 16px;
}

.mobile-links a {
  padding: 10px 12px;
  border-radius: 11px;
  color: #4e5c70;
  font-size: 0.9rem;
  font-weight: 700;
}

.mobile-links a:hover,
.mobile-links a[aria-current="page"] {
  color: var(--teal-dark);
  background: var(--teal-soft);
}

.mobile-menu-cta {
  width: 100%;
  margin-top: 18px;
}

.view {
  animation: view-in 0.38s ease both;
}

@keyframes view-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-hero {
  position: relative;
  overflow: hidden;
  margin: 18px;
  padding: clamp(44px, 7vw, 92px) clamp(24px, 6vw, 84px);
  border-radius: 30px;
  color: #fff;
  background:
    radial-gradient(circle at 12% 20%, rgba(83, 211, 203, 0.13), transparent 25rem),
    linear-gradient(135deg, #0b2748 0%, #0c3657 50%, #075f66 100%);
  isolation: isolate;
}

.service-hero::before,
.service-hero::after {
  position: absolute;
  z-index: -1;
  content: "";
  border-radius: 50%;
}

.service-hero::before {
  top: -180px;
  left: -120px;
  width: 420px;
  height: 420px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
}

.service-hero::after {
  right: -130px;
  bottom: -230px;
  width: 470px;
  height: 470px;
  background: radial-gradient(circle, rgba(73, 198, 192, 0.16), transparent 68%);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(310px, 0.65fr);
  align-items: center;
  gap: clamp(34px, 6vw, 84px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 17px;
  padding: 7px 12px;
  border: 1px solid rgba(148, 226, 220, 0.2);
  border-radius: 999px;
  color: #91dbd7;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.77rem;
  font-weight: 800;
}

.eyebrow::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 5px rgba(145, 219, 215, 0.1);
  content: "";
}

.hero-title {
  max-width: 860px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.3rem, 5.3vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.33;
}

.hero-title span {
  color: #85d7d2;
}

.hero-lead {
  max-width: 820px;
  margin: 24px 0 0;
  color: #d5e5e7;
  font-size: clamp(0.98rem, 1.5vw, 1.11rem);
  line-height: 2.15;
}

.hero-lead strong {
  color: #fff;
}

.hero-cta-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 31px;
}

.selection-note {
  width: 100%;
  margin: 0;
  color: #a9c7cc;
  font-size: 0.76rem;
}

.primary-cta,
.secondary-cta,
.ghost-cta {
  position: relative;
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 10px 12px 10px 18px;
  border: 0;
  border-radius: 15px;
  cursor: pointer;
  font-size: 0.91rem;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-cta {
  color: var(--navy);
  background: #fff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.13);
}

.primary-cta:hover {
  color: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.17);
}

.primary-cta.is-teal {
  color: #fff;
  background: var(--teal);
  box-shadow: var(--shadow-teal);
}

.primary-cta.is-teal:hover {
  color: #fff;
  background: var(--teal-dark);
}

.secondary-cta {
  border: 1px solid rgba(255, 255, 255, 0.17);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.secondary-cta:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-2px);
}

.secondary-cta.is-light {
  border-color: var(--line-strong);
  color: var(--navy);
  background: #fff;
}

.secondary-cta.is-light:hover {
  color: var(--teal-dark);
  border-color: rgba(4, 127, 131, 0.25);
  background: var(--teal-soft);
}

.ghost-cta {
  min-height: 50px;
  padding-inline: 16px;
  color: var(--teal-dark);
  background: transparent;
}

.ghost-cta:hover {
  background: var(--teal-soft);
}

.cta-arrow {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: #fff;
  background: var(--teal);
  font-family: Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1;
  transition: transform 0.2s ease;
  place-items: center;
}

.primary-cta:hover .cta-arrow,
.secondary-cta:hover .cta-arrow {
  transform: translateX(-3px);
}

.primary-cta.is-teal .cta-arrow {
  background: rgba(255, 255, 255, 0.16);
}

.eligibility-card {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(164, 228, 224, 0.17);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(12px);
}

.eligibility-label {
  display: inline-block;
  margin-bottom: 13px;
  color: #8edbd6;
  font-size: 0.72rem;
  font-weight: 800;
}

.eligibility-card h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  font-weight: 800;
  line-height: 1.6;
}

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

.eligibility-list li {
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: #d7e8e9;
  font-size: 0.84rem;
  line-height: 1.8;
}

.eligibility-list li::before {
  display: grid;
  width: 27px;
  height: 27px;
  border-radius: 9px;
  color: #a9e7e3;
  background: rgba(115, 217, 210, 0.12);
  content: "✓";
  font-size: 0.78rem;
  font-weight: 800;
  place-items: center;
}

.hero-exclusion {
  margin: 20px 0 0;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  color: #9db9bf;
  font-size: 0.74rem;
  line-height: 1.85;
}

.section-block {
  padding: clamp(58px, 7vw, 94px) clamp(14px, 4vw, 62px);
}

.section-block.is-soft {
  background: var(--surface-soft);
}

.section-head {
  max-width: 790px;
  margin-bottom: 34px;
}

.section-head.is-centered {
  margin-inline: auto;
  text-align: center;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 800;
}

.section-kicker::before {
  width: 23px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.section-title {
  margin: 8px 0 11px;
  color: var(--navy);
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.55;
}

.section-intro {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 2;
}

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

.self-path-card {
  position: relative;
  min-height: 235px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 23px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.self-path-index {
  display: grid;
  width: 45px;
  height: 45px;
  margin-bottom: 20px;
  border-radius: 14px;
  color: var(--teal-dark);
  background: var(--teal-soft);
  font-size: 0.86rem;
  font-weight: 800;
  place-items: center;
}

.self-path-card:nth-child(2) .self-path-index {
  color: var(--blue-dark);
  background: var(--blue-soft);
}

.self-path-card:nth-child(3) .self-path-index {
  color: var(--violet);
  background: var(--violet-soft);
}

.self-path-card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1.12rem;
  font-weight: 800;
}

.self-path-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.95;
}

.self-service-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  padding: 20px 23px;
  border: 1px solid rgba(4, 127, 131, 0.1);
  border-radius: 18px;
  color: var(--text);
  background: var(--teal-soft);
}

.self-service-note strong {
  color: var(--navy);
}

.self-service-note p {
  margin: 0;
  font-size: 0.86rem;
}

.selective-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 60px);
  border: 1px solid rgba(13, 33, 69, 0.08);
  border-radius: 30px;
  background:
    radial-gradient(circle at 92% 8%, rgba(4, 127, 131, 0.075), transparent 21rem),
    #fff;
  box-shadow: var(--shadow-sm);
}

.selective-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(30px, 6vw, 74px);
  align-items: start;
}

.selective-copy h2 {
  margin: 7px 0 15px;
  color: var(--navy);
  font-size: clamp(1.9rem, 3.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.5;
}

.selective-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.selective-warning {
  margin-top: 22px;
  padding: 17px 18px;
  border-right: 4px solid var(--gold);
  border-radius: 14px;
  color: #655124;
  background: var(--gold-soft);
  font-size: 0.82rem;
}

.criteria-list {
  display: grid;
  gap: 13px;
}

.criterion {
  display: grid;
  grid-template-columns: 49px minmax(0, 1fr);
  gap: 15px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fbfcfd;
}

.criterion-icon {
  display: grid;
  width: 49px;
  height: 49px;
  border-radius: 15px;
  color: var(--teal-dark);
  background: var(--teal-soft);
  font-size: 1.05rem;
  font-weight: 800;
  place-items: center;
}

.criterion:nth-child(2) .criterion-icon {
  color: var(--blue-dark);
  background: var(--blue-soft);
}

.criterion:nth-child(3) .criterion-icon {
  color: var(--orange);
  background: var(--orange-soft);
}

.criterion h3 {
  margin: 0 0 3px;
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 800;
}

.criterion p {
  margin: 0;
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.75;
}

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

.meaning-card {
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 23px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.meaning-card.is-positive {
  border-top: 4px solid var(--teal);
}

.meaning-card.is-negative {
  border-top: 4px solid var(--navy-2);
}

.meaning-card h3 {
  margin: 0 0 15px;
  color: var(--navy);
  font-size: 1.18rem;
  font-weight: 800;
}

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

.meaning-list li {
  position: relative;
  padding-right: 24px;
  color: var(--text);
  font-size: 0.86rem;
}

.meaning-list li::before {
  position: absolute;
  top: 0.64rem;
  right: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  content: "";
}

.meaning-card.is-negative .meaning-list li::before {
  background: var(--navy-2);
}

.responsibility-note {
  margin-top: 19px;
  padding: 18px 20px;
  border-radius: 17px;
  color: #345354;
  background: var(--teal-soft);
  font-size: 0.83rem;
}

.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.process-grid::before {
  position: absolute;
  z-index: 0;
  top: 31px;
  right: 10%;
  left: 10%;
  height: 1px;
  background: linear-gradient(90deg, rgba(4, 127, 131, 0.14), rgba(4, 127, 131, 0.5), rgba(4, 127, 131, 0.14));
  content: "";
}

.process-card {
  position: relative;
  z-index: 1;
  min-height: 225px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: #fff;
}

.process-number {
  display: grid;
  width: 62px;
  height: 62px;
  margin-bottom: 18px;
  border: 8px solid #fff;
  border-radius: 20px;
  color: #fff;
  background: var(--teal);
  box-shadow: 0 8px 22px rgba(4, 127, 131, 0.17);
  font-size: 0.92rem;
  font-weight: 800;
  place-items: center;
}

.process-card h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 800;
}

.process-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.8;
}

.price-panel {
  display: grid;
  grid-template-columns: minmax(240px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  padding: clamp(29px, 5vw, 55px);
  border-radius: 29px;
  color: #fff;
  background: linear-gradient(135deg, #0b2748, #075f66);
  box-shadow: var(--shadow);
}

.price-label {
  color: #91dbd7;
  font-size: 0.76rem;
  font-weight: 800;
}

.price-value {
  margin: 3px 0 0;
  color: #fff;
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.25;
}

.price-value small {
  font-size: 0.37em;
  font-weight: 700;
}

.price-copy h2 {
  margin: 0 0 11px;
  color: #fff;
  font-size: clamp(1.45rem, 2.6vw, 2.25rem);
  font-weight: 800;
}

.price-copy p {
  margin: 0;
  color: #d2e4e5;
  font-size: 0.9rem;
}

.price-footnote {
  margin-top: 15px !important;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #a8c4c8 !important;
  font-size: 0.76rem !important;
}

.final-cta-wrap {
  padding: clamp(54px, 7vw, 88px) clamp(14px, 4vw, 62px);
}

.final-cta-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: clamp(29px, 5vw, 53px);
  border-radius: 29px;
  color: #fff;
  background: linear-gradient(135deg, #0b2748, #075f66);
}

.final-cta-copy {
  position: relative;
  z-index: 1;
  max-width: 790px;
}

.final-cta-panel h2 {
  margin: 6px 0 10px;
  color: #fff;
  font-size: clamp(1.75rem, 3vw, 2.85rem);
  font-weight: 800;
  line-height: 1.5;
}

.final-cta-panel p {
  margin: 0;
  color: #d5e5e7;
  font-size: 0.91rem;
}

.final-cta-action {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
}

.assessment-view,
.result-view {
  min-height: 70vh;
  padding: clamp(32px, 5vw, 68px) clamp(14px, 4vw, 62px) clamp(60px, 7vw, 94px);
  background:
    radial-gradient(circle at 95% 4%, rgba(4, 127, 131, 0.06), transparent 24rem),
    var(--surface-soft);
}

.assessment-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto 24px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
}

.back-link:hover {
  color: var(--teal-dark);
}

.assessment-meta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.assessment-meta::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(4, 127, 131, 0.08);
  content: "";
}

.assessment-intro {
  max-width: 1120px;
  margin: 0 auto 24px;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(4, 127, 131, 0.1);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.assessment-intro h1 {
  margin: 7px 0 12px;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.45;
}

.assessment-intro p {
  max-width: 890px;
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
}

.assessment-output-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.assessment-output-preview span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--navy);
  background: var(--surface-soft);
  font-size: 0.76rem;
  font-weight: 700;
}

.assessment-output-preview span::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  content: "";
}

.assessment-layout {
  display: grid;
  max-width: 1120px;
  margin-inline: auto;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.progress-card {
  position: sticky;
  top: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.progress-kicker {
  display: block;
  margin-bottom: 5px;
  color: var(--teal-dark);
  font-size: 0.7rem;
  font-weight: 800;
}

.progress-title {
  margin: 0;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 800;
}

.progress-track {
  height: 8px;
  margin: 17px 0 20px;
  overflow: hidden;
  border-radius: 999px;
  background: #e9eff1;
}

.progress-value {
  width: 16.666%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), #2ea8a2);
  transition: width 0.3s ease;
}

.progress-steps {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.progress-steps li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 8px;
  border-radius: 10px;
  color: #8a95a5;
  font-size: 0.73rem;
  font-weight: 700;
}

.progress-steps li::before {
  display: grid;
  width: 23px;
  height: 23px;
  border-radius: 8px;
  color: #8a95a5;
  background: #f1f4f6;
  content: attr(data-number);
  font-size: 0.65rem;
  place-items: center;
}

.progress-steps li.is-current {
  color: var(--teal-dark);
  background: var(--teal-soft);
}

.progress-steps li.is-current::before {
  color: #fff;
  background: var(--teal);
}

.progress-steps li.is-complete {
  color: #526576;
}

.progress-steps li.is-complete::before {
  color: var(--teal-dark);
  background: #dff3ef;
  content: "✓";
}

.form-card {
  min-height: 590px;
  padding: clamp(25px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 25px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.question-step {
  animation: question-in 0.28s ease both;
}

@keyframes question-in {
  from {
    opacity: 0;
    transform: translateX(-8px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.question-number {
  display: inline-flex;
  min-height: 31px;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--teal-dark);
  background: var(--teal-soft);
  font-size: 0.7rem;
  font-weight: 800;
}

.question-title {
  max-width: 820px;
  margin: 14px 0 8px;
  color: var(--navy);
  font-size: clamp(1.25rem, 2.5vw, 1.78rem);
  font-weight: 800;
  line-height: 1.65;
}

.question-help {
  max-width: 810px;
  margin: 0 0 23px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.85;
}

.text-field-wrap {
  position: relative;
}

.decision-input {
  width: 100%;
  min-height: 126px;
  resize: vertical;
  padding: 16px 17px 34px;
  border: 1px solid rgba(13, 33, 69, 0.14);
  border-radius: 16px;
  color: var(--navy);
  background: #fcfdfd;
  font-size: 0.91rem;
  line-height: 1.85;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.decision-input:focus {
  border-color: rgba(4, 127, 131, 0.52);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(4, 127, 131, 0.08);
}

.char-count {
  position: absolute;
  right: 14px;
  bottom: 8px;
  color: #929cab;
  font-size: 0.69rem;
  direction: ltr;
}

.option-list {
  display: grid;
  gap: 11px;
}

.option-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.option-label {
  position: relative;
  display: grid;
  min-height: 61px;
  grid-template-columns: 25px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid rgba(13, 33, 69, 0.11);
  border-radius: 15px;
  color: var(--text);
  background: #fbfcfd;
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 650;
  line-height: 1.7;
  transition: border 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.option-label:hover {
  border-color: rgba(4, 127, 131, 0.28);
  background: #f8fcfb;
  transform: translateY(-1px);
}

.option-label::before {
  width: 21px;
  height: 21px;
  border: 2px solid #b8c2cd;
  border-radius: 50%;
  background: #fff;
  content: "";
  transition: border 0.18s ease, box-shadow 0.18s ease;
}

.option-input:checked + .option-label {
  border-color: rgba(4, 127, 131, 0.45);
  color: var(--navy);
  background: var(--teal-soft);
}

.option-input:checked + .option-label::before {
  border-color: var(--teal);
  box-shadow: inset 0 0 0 5px #fff;
  background: var(--teal);
}

.option-input:focus-visible + .option-label {
  outline: 3px solid rgba(4, 127, 131, 0.25);
  outline-offset: 2px;
}

.strategic-option .option-label {
  border-style: dashed;
  color: #4c4670;
  background: #faf8ff;
}

.strategic-option .option-input:checked + .option-label {
  border-color: rgba(120, 93, 168, 0.45);
  background: var(--violet-soft);
}

.strategic-option .option-input:checked + .option-label::before {
  border-color: var(--violet);
  background: var(--violet);
}

.conditional-card {
  margin-top: 17px;
  padding: 21px;
  border: 1px solid rgba(120, 93, 168, 0.18);
  border-radius: 18px;
  background: var(--violet-soft);
}

.conditional-card h3 {
  margin: 0 0 4px;
  color: #493e72;
  font-size: 0.95rem;
  font-weight: 800;
}

.conditional-card p {
  margin: 0 0 13px;
  color: #766e94;
  font-size: 0.74rem;
}

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

.checkbox-item {
  position: relative;
}

.checkbox-input {
  position: absolute;
  opacity: 0;
}

.checkbox-label {
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(120, 93, 168, 0.15);
  border-radius: 13px;
  color: #5b527d;
  background: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.6;
}

.checkbox-label::before {
  display: grid;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  border: 1px solid #b9afd2;
  border-radius: 6px;
  color: #fff;
  background: #fff;
  content: "";
  font-size: 0.7rem;
  place-items: center;
}

.checkbox-input:checked + .checkbox-label {
  border-color: rgba(120, 93, 168, 0.4);
  color: #45386f;
  background: #fff;
}

.checkbox-input:checked + .checkbox-label::before {
  border-color: var(--violet);
  background: var(--violet);
  content: "✓";
}

.checkbox-input:focus-visible + .checkbox-label {
  outline: 3px solid rgba(120, 93, 168, 0.22);
  outline-offset: 2px;
}

.form-error {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 15px;
  padding: 10px 12px;
  border-radius: 11px;
  color: var(--danger);
  background: var(--danger-soft);
  font-size: 0.75rem;
  font-weight: 700;
}

.form-error::before {
  content: "!";
  font-weight: 800;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.form-actions .primary-cta,
.form-actions .secondary-cta {
  min-width: 144px;
}

.form-actions .secondary-cta {
  color: var(--muted);
  border-color: var(--line);
  background: #fff;
}

.form-actions .secondary-cta:hover {
  color: var(--navy);
  background: var(--surface-soft);
}

.privacy-note {
  max-width: 1120px;
  margin: 16px auto 0;
  color: #8a95a5;
  text-align: center;
  font-size: 0.7rem;
}

.result-container {
  max-width: 1120px;
  margin-inline: auto;
}

.result-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(29px, 5vw, 54px);
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(135deg, #0b2748, #075f66);
  box-shadow: var(--shadow);
}

.result-hero::after {
  position: absolute;
  left: -100px;
  bottom: -170px;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 222, 214, 0.14), transparent 70%);
  content: "";
}

.result-kicker {
  position: relative;
  z-index: 1;
  color: #91dbd7;
  font-size: 0.75rem;
  font-weight: 800;
}

.result-hero h1 {
  position: relative;
  z-index: 1;
  margin: 7px 0 13px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.45;
}

.decision-summary {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0;
  color: #d3e4e6;
  font-size: 0.9rem;
}

.decision-summary strong {
  color: #fff;
}

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

.result-card {
  position: relative;
  min-height: 265px;
  padding: clamp(23px, 3vw, 31px);
  border: 1px solid var(--line);
  border-radius: 23px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.result-card-label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.result-level {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.level-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 7px rgba(4, 127, 131, 0.09);
}

.result-card[data-level="low"] .level-dot {
  background: var(--green);
  box-shadow: 0 0 0 7px rgba(82, 119, 53, 0.09);
}

.result-card[data-level="medium"] .level-dot {
  background: var(--gold);
  box-shadow: 0 0 0 7px rgba(163, 122, 22, 0.1);
}

.result-card[data-level="high"] .level-dot {
  background: var(--orange);
  box-shadow: 0 0 0 7px rgba(185, 98, 59, 0.1);
}

.result-level h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 800;
}

.result-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.9;
}

.result-detail-list {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.result-detail-list li {
  position: relative;
  padding-right: 18px;
  color: #596a7b;
  font-size: 0.76rem;
}

.result-detail-list li::before {
  position: absolute;
  top: 0.7rem;
  right: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  content: "";
}

.result-explanation {
  margin-top: 18px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--text);
  background: #fff;
  font-size: 0.82rem;
}

.result-explanation strong {
  color: var(--navy);
}

.result-notices {
  display: grid;
  gap: 11px;
  margin-top: 18px;
}

.result-notice {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 17px 18px;
  border: 1px solid rgba(163, 122, 22, 0.15);
  border-radius: 16px;
  color: #655124;
  background: var(--gold-soft);
  font-size: 0.79rem;
}

.result-notice.is-info {
  border-color: rgba(7, 85, 189, 0.13);
  color: #315582;
  background: var(--blue-soft);
}

.notice-icon {
  display: grid;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(163, 122, 22, 0.11);
  font-weight: 800;
  place-items: center;
}

.result-notice.is-info .notice-icon {
  background: rgba(7, 85, 189, 0.09);
}

.session-panel {
  margin-top: 22px;
  padding: clamp(25px, 4vw, 42px);
  border: 1px solid rgba(4, 127, 131, 0.14);
  border-radius: 25px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.session-panel.is-direct,
.session-panel.is-explicit {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #0b2748, #075f66);
  box-shadow: var(--shadow);
}

.session-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.session-badge {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--teal-dark);
  background: var(--teal-soft);
  font-size: 0.68rem;
  font-weight: 800;
}

.session-panel.is-direct .session-badge,
.session-panel.is-explicit .session-badge {
  color: #9ae0dc;
  background: rgba(255, 255, 255, 0.09);
}

.session-copy h2 {
  margin: 10px 0 7px;
  color: var(--navy);
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  font-weight: 800;
  line-height: 1.55;
}

.session-panel.is-direct .session-copy h2,
.session-panel.is-explicit .session-copy h2 {
  color: #fff;
}

.session-copy p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.session-panel.is-direct .session-copy p,
.session-panel.is-explicit .session-copy p {
  color: #cfdee1;
}

.session-price {
  min-width: 198px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  text-align: center;
  background: var(--surface-soft);
}

.session-panel.is-direct .session-price,
.session-panel.is-explicit .session-price {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
}

.session-price small {
  display: block;
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 700;
}

.session-panel.is-direct .session-price small,
.session-panel.is-explicit .session-price small {
  color: #abc3c7;
}

.session-price strong {
  display: block;
  margin-top: 1px;
  color: var(--navy);
  font-size: 1.45rem;
  font-weight: 800;
}

.session-panel.is-direct .session-price strong,
.session-panel.is-explicit .session-price strong {
  color: #fff;
}

.session-action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 21px;
}

.session-footnote {
  width: 100%;
  margin: 0;
  color: #8a95a5;
  font-size: 0.7rem;
}

.session-panel.is-direct .session-footnote,
.session-panel.is-explicit .session-footnote {
  color: #9db9bf;
}

.low-optin {
  margin-top: 20px;
  text-align: center;
}

.low-optin-button {
  border: 0;
  border-bottom: 1px dashed currentColor;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 700;
}

.low-optin-button:hover {
  color: var(--teal-dark);
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin-top: 26px;
}

.site-footer {
  padding: clamp(42px, 5vw, 64px) clamp(22px, 4.5vw, 68px) 22px;
  border-top: 1px solid rgba(13, 33, 69, 0.07);
  background: #f8fbfc;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}

.footer-title {
  margin: 0 0 13px;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 800;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  width: fit-content;
  color: #637085;
  font-size: 0.82rem;
  font-weight: 600;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover {
  color: var(--teal-dark);
  transform: translateX(-3px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(13, 33, 69, 0.07);
  color: #8490a1;
  font-size: 0.75rem;
}

.footer-heart {
  color: #d33a42;
}

.demo-switcher {
  max-width: 1120px;
  margin: 18px auto 0;
  padding: 12px;
  border: 1px dashed rgba(13, 33, 69, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.68);
}

.demo-switcher summary {
  color: var(--muted);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 700;
}

.demo-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.demo-buttons button {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--muted);
  background: #fff;
  cursor: pointer;
  font-size: 0.67rem;
}

@media (max-width: 1199.98px) {
  .brand-tagline {
    display: none;
  }

  .desktop-nav a {
    padding-inline: 8px;
    font-size: 0.82rem;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(290px, 0.85fr);
  }
}

@media (max-width: 991.98px) {
  .site-shell {
    width: min(100% - 16px, 900px);
    margin-block: 8px;
    border-radius: 27px;
  }

  .site-header {
    min-height: 72px;
    padding: 12px 18px;
  }

  .desktop-nav,
  .header-action {
    display: none;
  }

  .menu-button {
    display: flex;
  }

  .hero-layout,
  .selective-layout,
  .price-panel {
    grid-template-columns: 1fr;
  }

  .service-hero {
    padding-block: 55px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-title,
  .hero-lead {
    margin-inline: auto;
  }

  .hero-cta-block {
    justify-content: center;
  }

  .eligibility-card {
    max-width: 620px;
    margin-inline: auto;
    text-align: right;
  }

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

  .self-path-card {
    min-height: 0;
  }

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

  .process-grid::before {
    display: none;
  }

  .price-panel {
    text-align: center;
  }

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

  .progress-card {
    position: static;
  }

  .progress-steps {
    display: none;
  }

  .progress-track {
    margin-bottom: 0;
  }

  .form-card {
    min-height: 0;
  }

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

@media (max-width: 767.98px) {
  .content-container {
    width: min(100% - 28px, var(--container));
  }

  .section-block {
    padding-inline: 16px;
  }

  .meaning-grid,
  .result-grid,
  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .meaning-card,
  .result-card {
    min-height: 0;
  }

  .final-cta-panel,
  .self-service-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .final-cta-action,
  .final-cta-action .primary-cta {
    width: 100%;
  }

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

  .session-price {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  body {
    line-height: 1.85;
  }

  .site-shell {
    width: calc(100% - 10px);
    border-radius: 22px;
  }

  .site-header {
    padding: 10px 13px;
  }

  .brand-mark {
    flex-basis: 35px;
    width: 35px;
    height: 35px;
    border-radius: 12px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .menu-button {
    width: 43px;
    height: 43px;
  }

  .service-hero {
    margin: 5px;
    padding: 38px 17px 44px;
    border-radius: 23px;
  }

  .hero-title {
    font-size: clamp(2rem, 10.4vw, 3rem);
    line-height: 1.42;
  }

  .hero-lead {
    font-size: 0.92rem;
  }

  .hero-cta-block {
    display: grid;
    grid-template-columns: 1fr;
  }

  .primary-cta,
  .secondary-cta {
    width: 100%;
  }

  .selection-note {
    text-align: center;
  }

  .eligibility-card {
    padding: 21px 17px;
    border-radius: 20px;
  }

  .section-block {
    padding-block: 50px;
    padding-inline: 10px;
  }

  .section-title {
    font-size: 1.72rem;
  }

  .section-intro {
    font-size: 0.88rem;
  }

  .self-path-card,
  .meaning-card {
    padding: 20px 17px;
    border-radius: 20px;
  }

  .selective-panel {
    padding: 25px 17px;
    border-radius: 22px;
  }

  .criterion {
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 14px;
  }

  .criterion-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

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

  .process-card {
    min-height: 0;
  }

  .price-panel,
  .final-cta-panel {
    padding: 26px 18px;
    border-radius: 22px;
  }

  .assessment-view,
  .result-view {
    padding-inline: 10px;
  }

  .assessment-topbar {
    padding-inline: 5px;
  }

  .assessment-meta {
    display: none;
  }

  .assessment-intro {
    padding: 25px 18px;
    border-radius: 22px;
  }

  .assessment-intro h1 {
    font-size: 2rem;
  }

  .progress-card {
    padding: 17px;
    border-radius: 17px;
  }

  .form-card {
    padding: 22px 16px;
    border-radius: 21px;
  }

  .question-title {
    font-size: 1.2rem;
  }

  .option-label {
    min-height: 58px;
    padding: 12px;
    font-size: 0.78rem;
  }

  .conditional-card {
    padding: 17px 13px;
  }

  .form-actions {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
  }

  .form-actions .primary-cta,
  .form-actions .secondary-cta {
    min-width: 0;
    padding-inline: 11px;
  }

  .form-actions .cta-arrow {
    display: none;
  }

  .result-hero {
    padding: 26px 18px;
    border-radius: 22px;
  }

  .result-card,
  .session-panel {
    padding: 21px 17px;
    border-radius: 20px;
  }

  .session-action-row .primary-cta,
  .session-action-row .secondary-cta {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 26px 18px;
  }

  .site-footer {
    padding: 37px 17px 18px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

@media print {
  body {
    background: #fff;
  }

  .site-shell {
    width: 100%;
    margin: 0;
    border: 0;
    box-shadow: none;
  }

  .site-header,
  .site-footer,
  .result-actions,
  .demo-switcher,
  .low-optin {
    display: none !important;
  }

  .result-view {
    padding: 0;
    background: #fff;
  }
}

/* Homepage-aligned navigation and footer */
.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.site-header .navbar {
  min-height: 52px;
}

.desktop-nav .nav-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 6px;
  padding: 8px 10px !important;
  border-radius: 11px;
  color: #536176;
  font-size: 0.84rem;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.desktop-nav .nav-link:hover,
.desktop-nav .nav-link:focus-visible,
.desktop-nav .nav-link.active,
.desktop-nav .show > .nav-link {
  color: var(--teal-dark);
  background: var(--teal-soft);
  transform: translateY(-1px);
}

.desktop-nav .dropdown-toggle::after {
  display: none;
}

.nav-chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.show > .nav-link .nav-chevron {
  transform: rotate(180deg);
}

.mega-dropdown {
  position: static;
}

.mega-menu {
  width: min(1000px, calc(100vw - 52px));
  margin-top: 13px !important;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.985);
  box-shadow: 0 24px 60px rgba(18, 42, 66, 0.16);
  inset-inline: auto !important;
  right: 50% !important;
  left: auto !important;
  transform: translateX(50%) !important;
}

.mega-group {
  height: 100%;
  padding: 15px;
  border: 1px solid rgba(13, 33, 69, 0.065);
  border-radius: 17px;
  background: #fbfcfd;
}

.mega-group--personal {
  --group-accent: var(--teal);
  --group-soft: var(--teal-soft);
}

.mega-group--work {
  --group-accent: var(--blue);
  --group-soft: var(--blue-soft);
}

.mega-group--knowledge {
  --group-accent: var(--violet);
  --group-soft: var(--violet-soft);
}

.mega-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 0.96rem;
  font-weight: 800;
}

.mega-heading::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--group-accent);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--group-accent) 11%, transparent);
  content: "";
}

.mega-list {
  display: grid;
  gap: 3px;
}

.desktop-nav .mega-list a {
  display: flex;
  min-height: 0;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 9px;
  border-radius: 9px;
  color: #5c697d;
  background: transparent;
  font-size: 0.82rem;
  font-weight: 600;
  transform: none;
  transition: 0.2s ease;
}

.desktop-nav .mega-list a:hover {
  color: var(--group-accent);
  background: var(--group-soft);
  transform: translateX(-2px);
}

.desktop-nav .mega-all {
  display: inline-flex;
  min-height: 0;
  align-items: center;
  gap: 7px;
  margin-top: 9px;
  padding: 0;
  color: var(--group-accent);
  background: transparent;
  font-size: 0.8rem;
  font-weight: 800;
}

.mega-all svg {
  width: 16px;
  height: 16px;
}

.menu-button,
.menu-button.d-md-none {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  color: var(--teal-dark);
  background: var(--teal-soft);
  place-items: center;
  transition: 0.2s ease;
}

.menu-button::before,
.menu-button::after {
  content: none;
}

.menu-button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.menu-button svg {
  width: 25px;
  height: 25px;
}

.offcanvas {
  --tfc-offcanvas-width: min(390px, 90vw);
  color: var(--navy);
}

.offcanvas-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--teal-dark);
  font-weight: 800;
}

.offcanvas-brand::before {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(4, 127, 131, 0.08);
  content: "";
}

.offcanvas .nav-link {
  padding: 10px 12px;
  border-radius: 11px;
  color: #4e5c70;
  font-size: 0.9rem;
  font-weight: 700;
}

.offcanvas .nav-link:hover,
.offcanvas .nav-link.active {
  color: var(--teal-dark);
  background: var(--teal-soft);
}

.mobile-accordion .accordion-item {
  border: 0;
  border-bottom: 1px solid rgba(13, 33, 69, 0.07);
}

.mobile-accordion .accordion-button {
  padding: 13px 12px;
  color: var(--navy);
  background: transparent;
  box-shadow: none;
  font-size: 0.9rem;
  font-weight: 800;
}

.mobile-accordion .accordion-button:not(.collapsed) {
  color: var(--teal-dark);
  background: var(--teal-soft);
}

.mobile-subgroup {
  margin-bottom: 15px;
}

.mobile-subgroup strong {
  display: block;
  margin-bottom: 5px;
  color: var(--navy);
  font-size: 0.82rem;
}

.mobile-subgroup a {
  display: block;
  padding: 5px 7px;
  color: #6a7688;
  font-size: 0.78rem;
}

/* Landing refinements */
.hero-title {
  font-size: clamp(1.95rem, 3.5vw, 3.3rem);
}

#landingView .section-block.is-compact {
  padding-block: clamp(40px, 4.5vw, 62px);
}

#landingView .final-cta-wrap {
  padding-top: clamp(18px, 3vw, 34px);
}

.self-service-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}

/* Result guidance */
.result-recommendation {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 0 12px;
  color: #d5e5e7;
  font-size: 0.9rem;
  line-height: 1.9;
}

.guidance-panel {
  margin-top: 22px;
  padding: clamp(25px, 4vw, 38px);
  border: 1px solid rgba(4, 127, 131, 0.15);
  border-radius: 25px;
  background:
    radial-gradient(circle at 96% 0, rgba(4, 127, 131, 0.08), transparent 20rem),
    #fff;
  box-shadow: var(--shadow-sm);
}

.guidance-panel[data-mode="DIRECT_RECOMMENDATION"],
.guidance-panel[data-mode="EXPLICIT_PATH"] {
  border-color: rgba(7, 85, 189, 0.15);
  background:
    radial-gradient(circle at 96% 0, rgba(7, 85, 189, 0.09), transparent 22rem),
    #fff;
}

.guidance-head {
  max-width: 880px;
}

.guidance-badge {
  display: inline-flex;
  min-height: 31px;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  color: var(--teal-dark);
  background: var(--teal-soft);
  font-size: 0.7rem;
  font-weight: 800;
}

.guidance-panel[data-mode="DIRECT_RECOMMENDATION"] .guidance-badge,
.guidance-panel[data-mode="EXPLICIT_PATH"] .guidance-badge {
  color: var(--blue-dark);
  background: var(--blue-soft);
}

.guidance-head h2 {
  margin: 11px 0 8px;
  color: var(--navy);
  font-size: clamp(1.4rem, 2.5vw, 2.1rem);
  font-weight: 800;
  line-height: 1.55;
}

.guidance-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.95;
}

.guidance-paths {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px 20px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.guidance-paths p {
  flex: 1 1 340px;
  margin: 0;
  color: #596a7b;
  font-size: 0.79rem;
}

.guidance-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.guidance-links a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid rgba(4, 127, 131, 0.14);
  border-radius: 12px;
  color: var(--teal-dark);
  background: var(--teal-soft);
  font-size: 0.76rem;
  font-weight: 800;
}

.guidance-panel .low-optin-button {
  min-height: 42px;
  margin-inline-start: auto;
  padding: 7px 3px;
}

.guidance-panel .session-panel {
  margin-top: 24px;
  box-shadow: none;
}

/* Proposed-time, checkout, and verification flow */
.booking-view {
  padding: 18px clamp(14px, 4vw, 62px) clamp(52px, 7vw, 92px);
  background: linear-gradient(180deg, #f8fbfc 0%, #fff 100%);
}

.booking-hero,
.booking-container {
  width: min(1120px, 100%);
  margin-inline: auto;
}

.booking-hero {
  padding: clamp(27px, 4.5vw, 48px);
  border: 1px solid rgba(13, 33, 69, 0.08);
  border-radius: 27px;
  background:
    radial-gradient(circle at 8% 12%, rgba(4, 127, 131, 0.09), transparent 21rem),
    #fff;
  box-shadow: var(--shadow-sm);
}

.booking-hero h1 {
  margin: 8px 0 10px;
  color: var(--navy);
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  font-weight: 800;
  line-height: 1.5;
}

.booking-hero > p {
  max-width: 860px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.booking-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.booking-facts span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  color: #315b5d;
  background: var(--teal-soft);
  font-size: 0.72rem;
  font-weight: 750;
}

.booking-container {
  margin-top: 20px;
}

.checkout-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 15px;
  padding: 0;
  list-style: none;
}

.checkout-progress li {
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: #8490a1;
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.75rem;
  font-weight: 750;
}

.checkout-progress li span {
  display: grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: #eef1f4;
  place-items: center;
}

.checkout-progress li.is-active {
  color: var(--teal-dark);
  border-color: rgba(4, 127, 131, 0.2);
  background: var(--teal-soft);
}

.checkout-progress li.is-active span {
  color: #fff;
  background: var(--teal);
}

.checkout-progress li.is-complete span {
  color: var(--teal-dark);
  background: #dff3ef;
}

.booking-card {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 25px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.booking-card-head {
  max-width: 820px;
  margin-bottom: 25px;
}

.booking-step-label {
  display: inline-flex;
  color: var(--teal-dark);
  font-size: 0.7rem;
  font-weight: 800;
}

.booking-card-head h2 {
  margin: 5px 0 6px;
  color: var(--navy);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
}

.booking-card-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.time-proposals {
  display: grid;
  gap: 14px;
}

.time-proposal {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fbfcfd;
}

.time-proposal legend {
  float: none;
  width: auto;
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
}

.time-proposal legend span,
.booking-extras label span {
  color: #8a95a5;
  font-size: 0.67rem;
  font-weight: 650;
}

.time-proposal label,
.booking-extras label,
.phone-modal label {
  display: block;
  margin-bottom: 6px;
  color: #4e5c70;
  font-size: 0.76rem;
  font-weight: 750;
}

.booking-input {
  min-height: 50px;
  border-color: rgba(13, 33, 69, 0.13);
  border-radius: 13px;
  color: var(--navy);
  background-color: #fff;
  font-size: 0.84rem;
}

.booking-input:focus {
  border-color: rgba(4, 127, 131, 0.45);
  box-shadow: 0 0 0 4px rgba(4, 127, 131, 0.08);
}

.jalali-date-picker {
  position: relative;
}

.jalali-selects {
  display: grid;
  grid-template-columns: repeat(3, minmax(78px, 1fr)) auto;
  gap: 8px;
  direction: rtl;
}

.jalali-selects .booking-input {
  min-width: 0;
  padding-inline: 12px 30px;
}

.calendar-toggle {
  min-height: 50px;
  padding: 8px 13px;
  border: 1px solid rgba(4, 127, 131, 0.2);
  border-radius: 13px;
  color: var(--teal-dark);
  background: var(--teal-soft);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.calendar-toggle:hover,
.calendar-toggle:focus-visible {
  border-color: rgba(4, 127, 131, 0.42);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(4, 127, 131, 0.08);
}

.date-range-hint {
  display: block;
  margin-top: 7px;
  color: #8490a1;
  font-size: 0.66rem;
  line-height: 1.7;
}

.jalali-calendar {
  position: absolute;
  z-index: 40;
  top: calc(100% - 20px);
  right: 0;
  width: min(370px, 100%);
  padding: 14px;
  border: 1px solid rgba(13, 33, 69, 0.12);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 20px 48px rgba(13, 33, 69, 0.17);
}

.calendar-header {
  display: grid;
  grid-template-columns: 38px 1fr 38px;
  align-items: center;
  gap: 8px;
  margin-bottom: 11px;
}

.calendar-header strong {
  color: var(--navy);
  font-size: 0.82rem;
  text-align: center;
}

.calendar-header button {
  display: grid;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--teal-dark);
  background: #fff;
  cursor: pointer;
  place-items: center;
}

.calendar-header button:disabled {
  opacity: 0.35;
  cursor: default;
}

.calendar-weekdays,
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
}

.calendar-weekdays {
  margin-bottom: 5px;
  color: #8793a2;
  font-size: 0.65rem;
  font-weight: 750;
  text-align: center;
}

.calendar-days button,
.calendar-empty {
  display: grid;
  min-height: 36px;
  border-radius: 10px;
  place-items: center;
}

.calendar-days button {
  border: 0;
  color: var(--navy);
  background: #f7f9fa;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 750;
}

.calendar-days button:hover:not(:disabled),
.calendar-days button:focus-visible:not(:disabled) {
  outline: 0;
  color: var(--teal-dark);
  background: var(--teal-soft);
  box-shadow: inset 0 0 0 1px rgba(4, 127, 131, 0.2);
}

.calendar-days button.is-selected {
  color: #fff;
  background: var(--teal);
  box-shadow: var(--shadow-teal);
}

.calendar-days button:disabled {
  color: #b8c0ca;
  background: transparent;
  cursor: default;
}

.remove-time-button {
  position: absolute;
  top: 14px;
  left: 15px;
  border: 0;
  color: var(--danger);
  background: transparent;
  font-size: 0.7rem;
  font-weight: 750;
}

.add-time-button {
  min-height: 45px;
  margin-top: 13px;
  padding: 7px 13px;
  border: 1px dashed rgba(4, 127, 131, 0.3);
  border-radius: 13px;
  color: var(--teal-dark);
  background: var(--teal-soft);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 800;
}

.booking-extras {
  margin-top: 13px;
}

.booking-policy-note,
.checkout-warning {
  margin-top: 20px;
  padding: 17px 18px;
  border-right: 4px solid var(--gold);
  border-radius: 15px;
  color: #655124;
  background: var(--gold-soft);
}

.booking-policy-note strong,
.checkout-warning strong {
  display: block;
  margin-bottom: 3px;
  font-size: 0.8rem;
}

.booking-policy-note p,
.checkout-warning p {
  margin: 0;
  font-size: 0.76rem;
}

.field-error,
.booking-form-error {
  margin-top: 9px;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--danger);
  background: var(--danger-soft);
  font-size: 0.7rem;
  font-weight: 750;
}

.booking-actions,
.invoice-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 23px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.invoice-status {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 13px;
  color: #315b5d;
  background: var(--teal-soft);
  font-size: 0.76rem;
  font-weight: 800;
}

.invoice-status span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(4, 127, 131, 0.09);
}

.invoice-list {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.invoice-list > div {
  display: grid;
  grid-template-columns: minmax(150px, 0.32fr) minmax(0, 0.68fr);
  gap: 18px;
  padding: 14px 17px;
  border-bottom: 1px solid var(--line);
}

.invoice-list > div:last-child {
  border-bottom: 0;
}

.invoice-list dt {
  color: #7d899a;
  font-size: 0.75rem;
  font-weight: 700;
}

.invoice-list dd {
  margin: 0;
  color: var(--navy);
  font-size: 0.81rem;
  font-weight: 700;
}

.invoice-times {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.invoice-times li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
}

.invoice-times span {
  color: #7d899a;
  font-size: 0.71rem;
  font-weight: 650;
}

.invoice-total {
  color: #fff;
  background: linear-gradient(135deg, #0b2748, #075f66);
}

.invoice-total dt,
.invoice-total dd {
  color: #fff;
  font-size: 0.94rem;
  font-weight: 800;
}

.checkout-consent {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin-top: 18px;
  color: #526576;
  font-size: 0.77rem;
  font-weight: 700;
}

.checkout-consent input {
  width: 20px;
  height: 20px;
  margin-top: 4px;
  accent-color: var(--teal);
}

.checkout-consent label {
  display: block;
  color: #526576;
  cursor: pointer;
  line-height: 1.85;
}

.terms-link {
  margin-top: 4px;
  padding: 0;
  border: 0;
  color: var(--teal-dark);
  background: transparent;
  cursor: pointer;
  font-size: 0.73rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.phone-modal .modal-content {
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  box-shadow: 0 28px 80px rgba(13, 33, 69, 0.24);
}

.terms-modal .modal-content {
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  box-shadow: 0 28px 80px rgba(13, 33, 69, 0.24);
}

.terms-modal .modal-header {
  align-items: flex-start;
  padding: 21px 22px;
  border-bottom-color: var(--line);
  background: #fbfcfd;
}

.terms-modal .modal-title {
  margin-top: 3px;
  color: var(--navy);
  font-size: 1.32rem;
  font-weight: 800;
}

.terms-content {
  padding: 22px;
}

.terms-intro {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.95;
}

.terms-content section {
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfcfd;
}

.terms-content section + section {
  margin-top: 9px;
}

.terms-content h3 {
  margin: 0 0 5px;
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 800;
}

.terms-content section p {
  margin: 0;
  color: #5c6c7e;
  font-size: 0.75rem;
  line-height: 1.95;
}

.terms-actions {
  gap: 8px;
  padding: 15px 22px;
  border-top-color: var(--line);
  background: #fff;
}

.phone-modal .modal-header {
  align-items: flex-start;
  padding: 21px 22px;
  border-bottom-color: var(--line);
  background: #fbfcfd;
}

.phone-modal .modal-title {
  margin-top: 3px;
  color: var(--navy);
  font-size: 1.32rem;
  font-weight: 800;
}

.phone-modal .modal-body {
  padding: 23px;
}

.phone-modal .modal-body > div > p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.81rem;
}

.modal-main-action {
  width: 100%;
  margin-top: 15px;
}

.otp-input {
  direction: ltr;
  text-align: center;
  letter-spacing: 0.42em;
  font-size: 1.25rem;
  font-weight: 800;
}

.otp-demo-note {
  margin-top: 9px;
  color: #735b19;
  font-size: 0.67rem;
}

.otp-secondary-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 13px;
}

.otp-secondary-actions button {
  border: 0;
  color: var(--teal-dark);
  background: transparent;
  font-size: 0.7rem;
  font-weight: 750;
}

.payment-handoff {
  text-align: center;
}

.handoff-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 12px;
  border-radius: 18px;
  color: #fff;
  background: var(--teal);
  box-shadow: var(--shadow-teal);
  font-size: 1.2rem;
  place-items: center;
}

.payment-handoff h3 {
  margin: 0 0 5px;
  color: var(--navy);
  font-size: 1.25rem;
  font-weight: 800;
}

.phone-privacy {
  margin: 18px 0 0 !important;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: #8a95a5 !important;
  font-size: 0.66rem !important;
  text-align: center;
}

@media (max-width: 1199.98px) {
  .desktop-nav .nav-link {
    padding-inline: 7px !important;
    font-size: 0.77rem;
  }
}

@media (max-width: 991.98px) {
  .menu-button,
  .menu-button.d-md-none {
    display: grid !important;
  }

  .hero-title {
    font-size: clamp(1.95rem, 6.4vw, 2.9rem);
  }
}

@media (max-width: 767.98px) {
  .guidance-paths,
  .invoice-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .guidance-links,
  .guidance-links a,
  .guidance-panel .low-optin-button,
  .invoice-actions .primary-cta,
  .invoice-actions .secondary-cta {
    width: 100%;
  }

  .guidance-links a {
    justify-content: center;
  }

  .booking-view {
    padding-inline: 10px;
  }

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

  .checkout-progress li:not(.is-active):not(.is-complete) {
    display: none;
  }

  .invoice-list > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: clamp(1.8rem, 8.5vw, 2.4rem);
  }

  #landingView .section-block.is-compact {
    padding-block: 38px;
  }

  .self-service-actions,
  .self-service-actions .ghost-cta {
    width: 100%;
  }

  .booking-hero,
  .booking-card {
    padding: 22px 16px;
    border-radius: 21px;
  }

  .time-proposal {
    padding: 17px 13px;
  }

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

  .jalali-selects .booking-input {
    padding-inline: 9px 25px;
    font-size: 0.76rem;
  }

  .calendar-toggle {
    grid-column: 1 / -1;
    width: 100%;
  }

  .jalali-calendar {
    position: relative;
    top: auto;
    width: 100%;
    margin-top: 8px;
    box-shadow: 0 12px 30px rgba(13, 33, 69, 0.12);
  }

  .booking-actions {
    position: sticky;
    z-index: 12;
    bottom: 0;
    margin-inline: -16px;
    padding: 13px 16px max(13px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -10px 26px rgba(18, 42, 66, 0.08);
    backdrop-filter: blur(10px);
  }

  .booking-actions .primary-cta {
    width: 100%;
  }

  .phone-modal .modal-dialog,
  .terms-modal .modal-dialog {
    min-height: 100%;
    align-items: flex-end;
    margin: 0;
  }

  .phone-modal .modal-content,
  .terms-modal .modal-content {
    max-height: 92dvh;
    border-radius: 24px 24px 0 0;
  }

  .terms-actions .primary-cta,
  .terms-actions .secondary-cta {
    width: 100%;
  }
}
