.trust-badge {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-color);
}

.section-title {
  text-align: center;
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.description {
  margin-bottom: 1rem;
  padding-bottom: 0;
  position: relative;
}

.description .section-description {
  max-width: 560px;
  font-size: 1.05rem;
  line-height: 1.6;
  opacity: 0.85;
}

.tutoring-subnav {
  width: 100%;
  max-width: 720px;
  margin: 0 auto 2.5rem;
  padding: 0 2rem;
}

.tutoring-subnav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tutoring-subnav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--secondary-color);
  text-decoration: none;
  opacity: 0.9;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.tutoring-subnav a:hover {
  color: var(--primary-color);
}

.tutoring-subnav a[aria-current="page"] {
  color: var(--primary-color);
  font-weight: 600;
}

.tutoring-price-section {
  width: 100%;
  max-width: 560px;
  margin: 0 auto 3rem;
  padding: 0 2rem 2rem;
  text-align: center;
  color: var(--secondary-color);
}

.tutoring-price-heading {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.tutoring-price-lead {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.88;
  margin: 0 0 1.75rem;
}

.tutoring-price-card {
  border-radius: 16px;
  padding: 2rem 1.5rem;
  border: 1px solid rgba(232, 232, 233, 0.15);
  background: rgba(8, 9, 11, 0.35);
}

.tutoring-price-amount {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  color: var(--primary-color);
}

.tutoring-price-currency {
  font-size: 1.5rem;
  vertical-align: super;
}

.tutoring-price-unit {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--secondary-color);
  opacity: 0.85;
}

.tutoring-price-note {
  font-size: 0.85rem;
  opacity: 0.65;
  margin: 0 0 1.5rem;
  line-height: 1.5;
}

.tutoring-booking-cta {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  padding: 1rem 1.75rem;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-radius: 20px;
  border: 2px solid var(--primary-color);
  background-color: var(--primary-color);
  color: var(--secondary-color);
  font-family: inherit;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.15s ease;
}

.tutoring-booking-cta:hover {
  background-color: transparent;
  color: var(--primary-color);
}

.tutoring-booking-cta:active {
  transform: scale(0.98);
}

/* Roadmap program section - content-sized, no fixed height */
.roadmap-section {
  width: 100%;
  margin: 0;
  padding: 3.25rem 2rem 4rem;
  color: var(--secondary-color);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-sizing: border-box;
  position: relative;
}

.roadmap-section::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 2px;
  bottom: 0;
  background: linear-gradient(
    90deg,
    rgba(33, 39, 47, 1) 0%,
    rgba(0, 0, 1, 1) 100%
  );
}

.roadmap-heading {
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-align: center;
  margin: 0 0 2.5rem;
  color: var(--secondary-color);
  flex-shrink: 0;
}

.roadmap-inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3rem;
  flex: 0 1 auto;
  min-height: 0;
}

.roadmap-media {
  flex: 0 1 55%;
  min-width: 0;
  min-height: 0;
}

.roadmap-image {
  width: 100%;
  height: auto;
  max-height: min(70vh, 600px);
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  border: 1px solid rgba(16, 172, 132, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.roadmap-content {
  flex: 0 1 45%;
  min-width: 0;
  min-height: 0;
}

.roadmap-lead {
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary-color);
  margin: 0 0 1rem;
}

.roadmap-body {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 1rem;
  opacity: 0.9;
}

.roadmap-body:last-child {
  margin-bottom: 0;
}

.roadmap-link-wrap {
  margin: 1.25rem 0 0;
}

.roadmap-link {
  color: var(--primary-color);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.roadmap-link:hover {
  border-bottom-color: var(--primary-color);
  opacity: 0.9;
}

/* Short viewport: stack roadmap when height is limited */
@media (max-height: 700px) {
  .roadmap-inner {
    flex-direction: column;
    gap: 1.5rem;
  }

  .roadmap-media,
  .roadmap-content {
    flex: none;
    width: 100%;
  }

  .roadmap-image {
    max-height: min(50vh, 400px);
  }

  .roadmap-heading {
    margin-bottom: 1.5rem;
  }
}

/* Tutoring style section - between roadmap and CTA */
.tutoring-style-section {
  width: 100%;
  margin: 0;
  padding: 3.25rem 2rem 4rem;
  color: var(--secondary-color);
  position: relative;
  box-sizing: border-box;
}

.tutoring-style-section::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 2px;
  bottom: 0;
  background: linear-gradient(
    90deg,
    rgba(33, 39, 47, 1) 0%,
    rgba(0, 0, 1, 1) 100%
  );
}

.tutoring-style-heading {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-align: center;
  margin: 0 0 1rem;
  color: var(--secondary-color);
}

.tutoring-style-intro {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--secondary-color);
  margin: 0 auto 2.5rem;
  text-align: center;
  opacity: 0.95;
}

.tutoring-style-intro strong {
  color: var(--primary-color);
  font-weight: 600;
}

.tutoring-style-inner {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  max-width: 980px;
  margin: 0 auto;
}

.tutoring-style-media {
  flex: 0 0 260px;
  min-width: 0;
  border-radius: 12px;
  overflow: hidden;
  padding-bottom: 1rem;
}

.tutoring-style-caption {
  margin: 1rem 0.75rem 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary-color);
  text-align: center;
  opacity: 0.95;
}

.tutoring-style-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  vertical-align: middle;
  border-radius: 12px;
}

.tutoring-style-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Card-style blocks for clear visual grouping */
.tutoring-style-block {
  border-radius: 12px;
  padding: 1.5rem 1.5rem 1.25rem;
}

.tutoring-style-content > .tutoring-style-block:first-child {
  padding-top: 0;
}

.tutoring-style-subhead {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--primary-color);
  margin: 0 0 1rem;
  line-height: 1.3;
  text-transform: uppercase;
}

.tutoring-style-list {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  padding: 0 0 0 1.25rem;
  color: var(--secondary-color);
  font-weight: 400;
  list-style: disc;
}

.tutoring-style-list li {
  margin-bottom: 0.75rem;
  padding-left: 0.25rem;
}

.tutoring-style-list li:last-child {
  margin-bottom: 0;
}

.tutoring-style-list strong {
  font-weight: 600;
  color: var(--secondary-color);
}

.cta-section {
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 1.25rem;
  padding: 2.5rem 2rem 4rem;
  max-width: 560px;
  margin: 0 auto;
}

.cta-label {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary-color);
}

.cta-slots {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  text-align: center;
  margin: -0.5rem 0 0;
  padding: 0.6rem 1.25rem;
  border: 2px solid var(--primary-color);
  border-radius: 10px;
  background: rgba(16, 172, 132, 0.25);
  box-shadow: 0 0 20px rgba(16, 172, 132, 0.2);
  letter-spacing: 0.02em;
  animation: cta-slots-pulse 2.5s ease-in-out infinite;
}

.cta-slots-number {
  font-weight: 800;
  font-size: 1.15em;
  letter-spacing: -0.02em;
}

@keyframes cta-slots-pulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(16, 172, 132, 0.2);
    border-color: var(--primary-color);
  }
  50% {
    box-shadow: 0 0 28px rgba(16, 172, 132, 0.35);
    border-color: rgba(16, 172, 132, 0.9);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-slots {
    animation: none;
    box-shadow: 0 0 20px rgba(16, 172, 132, 0.2);
  }
}

/* Floating CTA: bottom-right button, FOMO animation, hides when CTA section in view */
.cta-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1000;
  text-decoration: none;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.cta-float-hidden {
  transform: translateY(120%) scale(0.8);
  opacity: 0;
  pointer-events: none;
}

.cta-float-text {
  display: inline-block;
  padding: 0.9rem 1.5rem;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  font-family: "Rubik", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 16px;
  border: 2px solid var(--primary-color);
  box-shadow:
    0 4px 20px rgba(16, 172, 132, 0.4),
    0 0 0 0 rgba(16, 172, 132, 0.5);
  animation: cta-float-pulse 2s ease-in-out infinite;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

@keyframes cta-float-pulse {
  0%, 100% {
    box-shadow:
      0 4px 20px rgba(16, 172, 132, 0.4),
      0 0 0 0 rgba(16, 172, 132, 0.5);
    transform: scale(1);
  }
  50% {
    box-shadow:
      0 6px 28px rgba(16, 172, 132, 0.55),
      0 0 0 8px rgba(16, 172, 132, 0);
    transform: scale(1.02);
  }
}

.cta-float:hover .cta-float-text {
  background-color: transparent;
  border-color: var(--primary-color);
  color: var(--primary-color);
  animation: none;
  box-shadow: 0 4px 20px rgba(16, 172, 132, 0.35);
}

.cta-float:active .cta-float-text {
  transform: scale(0.97);
}

@media (max-width: 480px) {
  .cta-float {
    bottom: 1rem;
    right: 1rem;
  }

  .cta-float-text {
    padding: 0.75rem 1.15rem;
    font-size: 0.88rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-float-text {
    animation: none;
  }
}

@media print {
  .cta-float {
    display: none !important;
  }
}

/* Subpages (how it works, what we cover, about) */
.tutoring-subpage {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  color: var(--secondary-color);
}

.tutoring-subpage h1 {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 1.25rem;
}

.tutoring-subpage .tutoring-subpage-lead {
  font-size: 1.05rem;
  line-height: 1.6;
  opacity: 0.9;
  margin: 0 0 1.5rem;
}

.tutoring-subpage p {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 1rem;
  opacity: 0.92;
}

.tutoring-subpage h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
  color: var(--primary-color);
}

.tutoring-subpage ul {
  margin: 0 0 1.25rem;
  padding-left: 1.35rem;
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.92;
}

.tutoring-subpage li {
  margin-bottom: 0.5rem;
}

.tutoring-subpage-prose a {
  color: var(--primary-color);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.tutoring-subpage-prose a:hover {
  opacity: 0.9;
}

.cta-heading {
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-align: center;
  margin: 0;
}

.cta-body {
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.6;
  text-align: center;
  opacity: 0.9;
  max-width: 480px;
  margin: 0;
}

.cta-button-link {
  margin-top: 0.25rem;
}

.cta-button {
  display: inline-block;
  text-decoration: none;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 1.25rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  border: 2px solid var(--primary-color);
  border-radius: 20px;
  font-family: inherit;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.15s ease;
}

.cta-button:hover {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.cta-button:active {
  transform: scale(0.98);
}

.cta-button:disabled,
.cta-button.tutoring-cta-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

/* Mobile */

@media (max-width: 992px) {
  .tutoring-subnav {
    padding: 0 1.5rem;
  }

  .tutoring-price-section {
    padding: 0 1.5rem 1.5rem;
  }

  .roadmap-section {
    padding: 3.5rem 1.5rem 4rem;
  }

  .roadmap-inner {
    flex-direction: column;
    gap: 2rem;
  }

  .roadmap-media,
  .roadmap-content {
    flex: 1 1 auto;
    width: 100%;
  }

  .roadmap-heading {
    font-size: 1.75rem;
    margin-bottom: 2rem;
  }

  .tutoring-style-section {
    padding: 3.5rem 1.5rem 4rem;
  }

  .tutoring-style-inner {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .tutoring-style-content {
    width: 100%;
    max-width: 100%;
  }

  .tutoring-style-block {
    padding: 1.25rem 1.25rem 1rem;
  }

  .tutoring-style-media {
    flex: none;
    width: 100%;
    max-width: 260px;
  }

  .tutoring-style-heading {
    font-size: 1.75rem;
  }

  .tutoring-style-intro {
    font-size: 0.98rem;
    margin-bottom: 2rem;
    max-width: 100%;
  }

  .cta-heading {
    font-size: 1.75rem;
  }

  .cta-section {
    padding: 3rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.75rem;
  }

  .trust-badge {
    font-size: 0.7rem;
  }

  .description {
    padding: 0 1rem;
  }

  .description .section-description {
    font-size: 0.95rem;
  }

  .free-call-hint {
    font-size: 0.8rem;
  }

  .cta-slots {
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    font-weight: 600;
  }

  .roadmap-section {
    padding: 3rem 1rem 3.5rem;
  }

  .roadmap-heading {
    font-size: 1.45rem;
    margin-bottom: 1.5rem;
  }

  .tutoring-style-section {
    padding: 3rem 1rem 3.5rem;
  }

  .tutoring-style-inner {
    gap: 1.5rem;
  }

  .tutoring-style-block {
    padding: 1.25rem 1rem 1rem;
  }

  .tutoring-style-subhead {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
  }

  .tutoring-style-media {
    max-width: 220px;
  }

  .tutoring-style-heading {
    font-size: 1.6rem;
  }

  .tutoring-style-intro {
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
  }

  .tutoring-style-list {
    font-size: 0.92rem;
  }

  .roadmap-body {
    font-size: 0.95rem;
  }

  .cta-heading {
    font-size: 1.75rem;
  }

  .cta-body {
    font-size: 0.95rem;
  }

  .cta-button {
    padding: 1rem 1.75rem;
    font-size: 0.95rem;
  }

  .tutoring-subnav {
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.45rem;
  }

  .cta-slots {
    font-size: 0.88rem;
    padding: 0.45rem 0.85rem;
    font-weight: 600;
  }

  .roadmap-heading {
    font-size: 1.45rem;
  }

  .tutoring-style-section {
    padding: 2.75rem 1rem 3rem;
  }

  .tutoring-style-content {
    gap: 1.25rem;
  }

  .tutoring-style-block {
    padding: 1rem 1rem 0.875rem;
  }

  .tutoring-style-media {
    max-width: 200px;
  }

  .tutoring-style-heading {
    font-size: 1.45rem;
  }

  .tutoring-style-intro {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .tutoring-style-list li {
    margin-bottom: 0.6rem;
  }

  .cta-heading {
    font-size: 1.45rem;
  }

  .cta-section {
    padding: 2.5rem 1rem;
  }

  .cta-button {
    width: 100%;
    text-align: center;
  }
}
