:root {
  --bg: #fff8ef;
  --surface: #ffffff;
  --surface-2: #e6fbff;
  --surface-3: #fff2cf;
  --surface-4: #e7ffef;
  --surface-5: #fff1e6;
  --text: #21314d;
  --muted: #5a6d8a;
  --primary: #156dff;
  --primary-dark: #0c4fc4;
  --accent: #ff7a45;
  --accent-2: #21c39d;
  --accent-3: #ffd94d;
  --accent-4: #f86db2;
  --line: #dbe8ff;
  --radius: 22px;
  --shadow: 0 18px 36px rgba(34, 73, 134, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.55;
}

body::before {
  width: 210px;
  height: 210px;
  left: -70px;
  top: 140px;
  background: var(--accent-3);
  box-shadow:
    72vw 6vh 0 0 var(--surface-4),
    78vw 68vh 0 0 var(--accent-4),
    18vw 78vh 0 0 var(--surface-2);
}

body::after {
  width: 170px;
  height: 170px;
  right: -50px;
  top: 42vh;
  background: var(--accent-2);
  box-shadow:
    -24vw 24vh 0 0 var(--surface-3),
    -60vw 62vh 0 0 var(--accent);
}

img {
  max-width: 100%;
  display: block;
  border-radius: 14px;
}

h1,
h2,
h3 {
  font-family: "Archivo Black", sans-serif;
  line-height: 1.15;
  letter-spacing: 0.3px;
  margin-top: 0;
}

h1 {
  font-size: clamp(1.75rem, 3.2vw, 2.9rem);
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.6rem);
}

p {
  margin-top: 0;
}

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

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.main-header {
  background: var(--accent-4);
  color: #ffffff;
  border-bottom: 4px solid var(--accent-3);
}

.main-header-content {
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 0.6rem;
  padding: 0.2rem 0;
}

.main-header-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 0.75rem;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.main-header-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.74rem;
  line-height: 1.2;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.main-header-link:hover {
  opacity: 0.88;
}

.main-header-icon {
  width: 0.95rem;
  height: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 0.95rem;
}

.main-header-icon svg {
  width: 0.82rem;
  height: 0.82rem;
  fill: currentColor;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: white;
  backdrop-filter: blur(8px);
  border-bottom: 4px solid var(--primary);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
}

.brand-logo {
  height: 46px;
  width: auto;
  display: block;
}

.brand {
  padding: 0.25rem 0;
}

.menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  gap: 1.2rem;
}

.menu a {
  font-weight: 600;
  color: var(--muted);
}

.menu a:hover,
.menu a:focus-visible {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 0;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section {
  position: relative;
  isolation: isolate;
  padding: 5.4rem 0;
  overflow: clip;
}

.section > .container,
.section > .split {
  position: relative;
  z-index: 2;
}

.section-separator {
  margin-top: 0;
  padding-top: 5.4rem;
}

.section-separator::before {
  content: none;
  display: none;
}

.section-separator--wave {
  --divider-fill: none;
}

.section-separator--wave::before {
  content: none;
}

.section-separator--arch {
  --divider-fill: none;
}

.section-separator--arch::before {
  content: none;
}

/* Visible SVG separators (fallbacks to ensure curves are visible) */
.separator {
  display: block;
  width: 100%;
  line-height: 0;
  color: var(--surface);
}

.separator svg {
  display: block;
  width: 100%;
  height: 96px;
}

/* Solid colors per separator to match next section background */
.separator--wave {
  color: var(--surface-2);
}

.separator--arch {
  color: var(--surface);
}

.separator--wave-2 {
  color: var(--surface-4);
}

.separator--arch-2 {
  color: var(--surface-4);
}

.separator--arch-3 {
  color: var(--surface-3);
}

/* For inverted separators (when the following section has a different tone) */
.separator--arch.separator--invert {
  color: var(--surface-2);
}

/* Ensure separators render above section backgrounds (gradients) */
.separator {
  position: relative;
  z-index: 40;
  pointer-events: none;
}

.section {
  position: relative;
  z-index: 1;
}

.separator--invert svg {
  transform: rotate(180deg);
}

@media (max-width: 980px) {
  .separator svg {
    height: 72px;
  }
}

.section-light {
  /* background: var(--surface-2); */
}

#especialidades {
  /* background: var(--surface-2); */
}

#metodo {
  background: var(--surface-4);
}

#testimonios {
  /* background: var(--surface-4); */
}

#contacto,
.cta-band {
  background: var(--surface-3);
}

.slider-section {
  position: relative;
  overflow: clip;
}

.slider-shell {
  width: 100%;
}

.slider {
  position: relative;
  width: 100%;
  min-height: 520px;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.slide img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  border-radius: 0;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  color: #ffffff;
  pointer-events: none;
}

.slide-overlay-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0 2.2rem;
}

.lego-piece {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.15rem;
  border: 4px solid rgba(16, 46, 112, 0.12);
  border-radius: 22px;
  box-shadow:
    0 14px 0 rgba(16, 46, 112, 0.14),
    0 18px 28px rgba(18, 61, 118, 0.22);
  transform: rotate(-1deg);
  pointer-events: auto;
}

.lego-piece::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: -0.68rem;
  width: 62px;
  height: 16px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 10px 8px, rgba(255, 255, 255, 0.75) 0 4px, transparent 5px),
    radial-gradient(circle at 28px 8px, rgba(255, 255, 255, 0.75) 0 4px, transparent 5px),
    radial-gradient(circle at 46px 8px, rgba(255, 255, 255, 0.75) 0 4px, transparent 5px),
    var(--primary);
  border: 2px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 5px 0 rgba(16, 46, 112, 0.18);
}

.lego-title {
  max-width: min(92%, 560px);
  background: var(--accent-4);
}

.lego-copy {
  max-width: min(84%, 470px);
  margin-left: 1.1rem;
  background: var(--surface);
  color: var(--text);
  transform: rotate(1.5deg);
}

.lego-title h1,
.lego-title h2,
.lego-copy p {
  margin: 0;
  line-height: 1.08;
}

.lego-title h1,
.lego-title h2 {
  font-size: clamp(1.55rem, 3vw, 2.55rem);
  letter-spacing: -0.03em;
}

.lego-copy p {
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 700;
}

.slide.is-active .lego-title {
  animation: bounceIn 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.slide.is-active .lego-copy {
  animation: bounceIn 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  animation-delay: 0.08s;
}

.slide-overlay p {
  margin-bottom: 0.8rem;
}

.slider-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 0.8rem 1.15rem;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: var(--accent-4);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(248, 109, 178, 0.28);
  overflow: hidden;
}

.slider-control.prev {
  left: 1rem;
}

.slider-control.next {
  right: 1rem;
}

.slider-control::before {
  background-color: rgba(255, 255, 255, 0.12);
}

.slider-dots {
  position: absolute;
  right: 1.1rem;
  bottom: 1rem;
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.12);
}

.dot.is-active {
  background: var(--accent-3);
}

.slider-dots .dot {
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.12);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.77rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.86rem 1.24rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 4px 0 rgba(255, 255, 255, 0.18);
}

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

/* .btn::before,
.card::before,
.help-toggle::before,
.whatsapp-float::before,
.slider-control::before {
  content: "";
  position: absolute;
  left: 0.9rem;
  top: 0.38rem;
  width: 58px;
  height: 14px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 10px 7px, rgba(255, 255, 255, 0.7) 0 3px, transparent 4px),
    radial-gradient(circle at 29px 7px, rgba(255, 255, 255, 0.7) 0 3px, transparent 4px),
    radial-gradient(circle at 48px 7px, rgba(255, 255, 255, 0.7) 0 3px, transparent 4px);
  pointer-events: none;
  opacity: 0.92;
} */

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 20px rgba(21, 109, 255, 0.24);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--accent);
}

.btn-ghost {
  border-color: var(--accent-3);
  background: #fffdf4;
  cursor: pointer;
}

.btn-primary::before {
  background-color: rgba(255, 255, 255, 0.12);
}

.btn-ghost::before {
  background-color: rgba(21, 109, 255, 0.08);
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}

.course-details-box {
  background: #fff;
  border-radius: 34px;
  overflow: hidden;
  border: 2px solid var(--line);
  box-shadow: 0 10px 26px rgba(29, 22, 13, 0.09);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
  position: relative;
}

.course-details-box::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 12px;
  width: 72px;
  height: 18px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 10px 9px, rgba(255, 255, 255, 0.74) 0 4px, transparent 5px),
    radial-gradient(circle at 30px 9px, rgba(255, 255, 255, 0.74) 0 4px, transparent 5px),
    radial-gradient(circle at 50px 9px, rgba(255, 255, 255, 0.74) 0 4px, transparent 5px),
    var(--accent-3);
  transform: rotate(4deg);
  box-shadow: 0 5px 0 rgba(29, 22, 13, 0.1);
}

.course-details-box::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 14px;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-4), var(--accent));
  box-shadow: 0 5px 0 rgba(29, 22, 13, 0.1);
  transform: rotate(-6deg);
}

.course-details-box:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 16px 28px rgba(29, 22, 13, 0.12);
}

.course-details-box img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 0;
}

.course-details-box:nth-child(3n + 1) .course-content {
  background: #eef7ff;
}

.course-details-box:nth-child(3n + 2) .course-content {
  background: #eefdf6;
}

.course-details-box:nth-child(3n) .course-content {
  background: #fff7dc;
}

.course-content {
  padding: 1rem;
  position: relative;
}

.course-content h3 {
  margin-bottom: 0.45rem;
  font-size: 1.1rem;
}

.course-content h3::after {
  content: "";
  display: block;
  width: 54px;
  height: 8px;
  margin-top: 0.45rem;
  border-radius: 999px;
  background: var(--accent);
}

.course-content p {
  margin-bottom: 0.95rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: 0 6px 18px rgba(29, 22, 13, 0.06);
  transition: transform 0.24s ease, border-color 0.24s ease;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px);
  border-color: #8eb1ff;
}

.card::before {
  top: 0.7rem;
  background-color: rgba(21, 109, 255, 0.12);
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.45rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
}

.check-list li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: 0.65rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  left: 0;
  top: 0.4rem;
  background: var(--accent-2);
  box-shadow: 14px 0 0 0 var(--accent-3);
}

.gallery-box {
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

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

blockquote {
  margin: 0;
  padding: 1.2rem;
  border: 2px solid var(--line);
  border-radius: 28px;
  background: #fff;
  font-weight: 600;
}

cite {
  display: block;
  margin-top: 0.8rem;
  font-style: normal;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.86rem;
}

.cta-band {
  text-align: center;
  /* background: var(--surface-3); */
}

.contact-grid {
  margin: 1.8rem auto;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-items: center;
}

.contact-grid article {
  width: 100%;
  background: #fffaf0;
  border: 2px solid var(--line);
  /* border-radius: 24px; */
  padding: 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-grid h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.course-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
}

.course-modal.is-open {
  display: block;
}

.course-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 11, 8, 0.72);
}

.course-modal-content {
  position: relative;
  width: min(760px, 92%);
  max-height: 86vh;
  overflow-y: auto;
  margin: 6vh auto;
  background: #fffef9;
  border-radius: 28px;
  border: 2px solid var(--line);
  padding: 1rem 1rem 1.3rem;
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  border: 2px solid var(--accent);
  background: var(--accent-3);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  cursor: pointer;
  font-weight: 700;
}

.course-modal-content img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  margin-bottom: 1rem;
}

.modal-list {
  margin-top: 0;
  margin-bottom: 1rem;
}

body.modal-open {
  overflow: hidden;
}

.help-widget {
  position: fixed;
  right: 1rem;
  bottom: 4.9rem;
  z-index: 72;
  display: grid;
  justify-items: end;
  gap: 0.5rem;
}

.help-toggle {
  border: 0;
  border-radius: 18px;
  padding: 0.62rem 0.92rem;
  background: var(--surface-3);
  color: #1f2a44;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(49, 86, 160, 0.22);
  cursor: pointer;
  border: 2px solid var(--accent);
  position: relative;
  overflow: hidden;
}

.help-toggle::before {
  background-color: rgba(31, 42, 68, 0.1);
}

.help-panel {
  width: min(290px, 78vw);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fffdf3;
  box-shadow: var(--shadow);
  padding: 0.8rem;
  display: none;
}

.help-panel.is-open {
  display: block;
}

.help-title {
  margin: 0 0 0.5rem;
  font-weight: 800;
}

.help-link {
  display: block;
  border: 2px solid #cad9ff;
  border-radius: 18px;
  padding: 0.52rem 0.58rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
  background: #fdf8e9;
}

.help-link:last-child {
  margin-bottom: 0;
}

.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.68rem 0.95rem;
  border-radius: 20px;
  background: #14a853;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(8, 79, 42, 0.36);
  transition: opacity 0.2s ease, transform 0.2s ease;
  overflow: hidden;
}

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

.whatsapp-float::before {
  background-color: rgba(255, 255, 255, 0.14);
}

.whatsapp-icon {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.2);
}

.whatsapp-icon svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

body.modal-open .whatsapp-float {
  opacity: 0;
  pointer-events: none;
}

body.modal-open .help-widget {
  opacity: 0;
  pointer-events: none;
}

.site-footer {
  padding: 1.4rem 0;
  border-top: 4px solid var(--accent-4);
  background: var(--surface-2);
}

.site-footer p {
  margin: 0;
  color: #355786;
  text-align: center;
  font-weight: 600;
  font-size: 0.94rem;
}

@media (min-width: 981px) {
  .section::after {
    content: "";
    position: absolute;
    right: 1.2rem;
    top: 1.2rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent-3);
    box-shadow: -26px 18px 0 0 var(--accent-4), -54px -8px 0 0 var(--accent-2);
    opacity: 0.85;
    z-index: 1;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .split,
  .course-grid,
  .testimonial-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .main-header-content {
    min-height: auto;
    padding: 0.18rem 0;
    flex-direction: row;
    align-items: center;
  }

  .main-header-links {
    gap: 0.3rem 0.55rem;
    justify-content: flex-end;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .main-header-links::-webkit-scrollbar {
    display: none;
  }

  .main-header-link {
    font-size: 0.68rem;
    padding: 0;
  }

  .section-separator {
    margin-top: -40px;
    padding-top: calc(5rem + 40px);
  }

  .section-separator::before {
    height: 72px;
    transform: translateY(-72px);
  }

  .brand-logo {
    height: 38px;
  }

  .slider {
    min-height: 440px;
    /* border-radius: 24px; */
  }

  .slide img {
    min-height: 440px;
  }

  .slide-overlay {
    align-items: flex-end;
  }

  .slide-overlay-inner {
    padding: 0 0.75rem 1.1rem;
    gap: 0.45rem;
  }

  .lego-piece {
    padding: 0.7rem 0.85rem;
    border-width: 3px;
    border-radius: 18px;
  }

  .lego-piece::before {
    left: 0.72rem;
    top: -0.52rem;
    width: 46px;
    height: 12px;
  }

  .lego-title,
  .lego-copy {
    font-size: clamp(1.05rem, 5vw, 1.45rem);
    margin-left: 0;
    transform: none;
  }

    font-size: 0.86rem;
    line-height: 1.3;
    font-size: clamp(1.15rem, 5.4vw, 1.55rem);
    line-height: 1.05;
  }

  .lego-copy p {
    font-size: 0.92rem;
    line-height: 1.35;
  }

  .slider-control {
    padding: 0.65rem 0.9rem;
    font-size: 0.84rem;
  }

  .slider-control.prev {
    left: 0.6rem;
  }

  .slider-control.next {
    right: 0.6rem;
  }

  .slider-dots {
    right: 0.75rem;
    bottom: 0.75rem;
    gap: 0.35rem;
  }

  .course-grid {
    gap: 0.85rem;
  }

  .course-details-box {
    border-radius: 24px;
  }

  .course-details-box::before {
    left: 10px;
    top: 10px;
    width: 54px;
    height: 14px;
  }

  .course-details-box::after {
    right: 10px;
    top: 12px;
    width: 24px;
    height: 24px;
  }

  .course-details-box img {
    height: 150px;
  }

  .course-content {
    padding: 0.85rem;
  }

  .course-content h3 {
    font-size: 1rem;
  }

  .course-content p {
    font-size: 0.94rem;
    line-height: 1.42;
  }

  .btn {
    padding: 0.7rem 1rem;
    font-size: 0.92rem;
  }

  .help-widget {
    right: 0.6rem;
    bottom: 4rem;
  }

  .help-toggle,
  .whatsapp-float {
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
  }

  .help-panel {
    width: min(260px, 84vw);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .menu {
    position: absolute;
    inset: 77px 4% auto;
    padding: 0.9rem;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    gap: 0.7rem;
  }

  .menu.open {
    display: flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
