:root {
  --ink: #17212b;
  --muted: #667085;
  --line: #dfe5e2;
  --paper: #ffffff;
  --soft: #f6f8f3;
  --mist: #edf7f0;
  --teal: #0e8b82;
  --teal-dark: #086862;
  --red: #c94336;
  --gold: #f1b84b;
  --blue: #274c77;
  --shadow: 0 18px 55px rgba(23, 33, 43, 0.11);
  --shadow-strong: 0 28px 90px rgba(23, 33, 43, 0.18);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: Inter, "Segoe UI", Arial, "Noto Sans", "Noto Sans SC", sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

body.assistant-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-140%);
  background: var(--ink);
  color: var(--paper);
  padding: 0.7rem 1rem;
  border-radius: var(--radius);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(223, 229, 226, 0.9);
  backdrop-filter: blur(14px);
}

.top-strip {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.45rem 1.25rem;
  color: #314255;
  font-size: 0.88rem;
}

.navbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.8rem 1.25rem;
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  flex: 0 0 auto;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  font-weight: 800;
  box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.11);
  animation: markFloat 5.5s ease-in-out infinite;
}

.brand strong {
  display: block;
  font-size: 1rem;
  line-height: 1.15;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.nav-menu a {
  padding: 0.62rem 0.8rem;
  color: #344054;
  border-radius: var(--radius);
  font-weight: 650;
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.nav-menu a[aria-current="page"] {
  background: var(--mist);
  color: var(--teal-dark);
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.language-switch {
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(42px, auto));
  gap: 0.25rem;
  padding: 0.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.language-switch button {
  min-width: 42px;
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #475467;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 750;
}

.language-switch button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.78rem 1.05rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 750;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 12px 25px rgba(201, 67, 54, 0.22);
}

.btn-primary:hover {
  background: #b6382d;
}

.btn-secondary {
  background: #fff;
  border-color: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.section {
  padding: 5rem 1.25rem;
}

.section-alt {
  background: #fff;
}

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

.narrow {
  width: min(780px, 100%);
}

.kicker {
  margin: 0 0 0.65rem;
  color: var(--teal-dark);
  font-weight: 800;
}

.section-title {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2rem, 3.4rem, 3.4rem);
  line-height: 1.06;
}

.lead {
  margin: 1rem 0 0;
  max-width: 760px;
  color: #4b5b6c;
  font-size: 1.1rem;
}

.hero {
  position: relative;
  min-height: min(720px, 78svh);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background-image:
    linear-gradient(90deg, rgba(11, 22, 32, 0.82), rgba(11, 22, 32, 0.56) 42%, rgba(11, 22, 32, 0.06) 72%),
    url("hero-classroom.png");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 9% auto auto 7%;
  width: 128px;
  height: 128px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  opacity: 0.72;
  animation: slowOrbit 18s linear infinite;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(0deg, rgba(246, 248, 243, 0.96), rgba(246, 248, 243, 0));
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 4rem 1.25rem 6rem;
}

.hero-copy {
  max-width: 660px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.7rem, 5.8rem, 5.8rem);
  line-height: 0.98;
}

.hero p {
  margin: 1.2rem 0 0;
  max-width: 610px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  animation: softRise 700ms ease both;
}

.hero-badges span:nth-child(2) {
  animation-delay: 120ms;
}

.hero-badges span:nth-child(3) {
  animation-delay: 240ms;
}

.language-world {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  isolation: isolate;
  background: #101820;
  color: #fff;
}

.language-world-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.language-world-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(16, 24, 32, 0.94), rgba(16, 24, 32, 0.7) 34%, rgba(16, 24, 32, 0.12) 72%),
    linear-gradient(0deg, rgba(16, 24, 32, 0.85), transparent 28%, transparent 70%, rgba(16, 24, 32, 0.58));
  pointer-events: none;
}

.language-world-content {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  min-height: 680px;
  padding: 5.5rem 1.25rem;
}

.language-world-content .kicker {
  color: var(--gold);
}

.language-world h2 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(2.4rem, 4.8rem, 4.8rem);
  line-height: 0.98;
}

.language-world p {
  max-width: 620px;
  margin: 1.2rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
}

.world-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.world-metrics span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.42rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 780;
  backdrop-filter: blur(10px);
}

.stats-grid,
.feature-grid,
.program-grid,
.course-grid,
.price-grid,
.contact-grid,
.method-grid,
.faq-grid {
  display: grid;
  gap: 1rem;
}

.stats-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: -3.2rem;
  position: relative;
  z-index: 2;
}

.stat-card,
.feature-card,
.program-card,
.course-card,
.price-card,
.method-card,
.faq-card,
.contact-panel,
.tone-lab,
.schedule-band,
.quote-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat-card {
  padding: 1.15rem;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.stat-card:hover,
.feature-card:hover,
.program-card:hover,
.course-card:hover,
.price-card:hover,
.quote-card:hover,
.method-card:hover,
.faq-card:hover {
  transform: translateY(-5px);
  border-color: rgba(14, 139, 130, 0.28);
  box-shadow: var(--shadow-strong);
}

.stat-value {
  display: block;
  color: var(--red);
  font-size: 2rem;
  line-height: 1;
  font-weight: 850;
}

.stat-card p,
.feature-card p,
.program-card p,
.course-card p,
.price-card p,
.method-card p,
.faq-card p,
.quote-card p {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2rem;
}

.feature-card,
.method-card,
.faq-card {
  padding: 1.4rem;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.feature-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  background: var(--mist);
  color: var(--teal-dark);
  font-size: 1.35rem;
  font-weight: 900;
}

.feature-card:nth-child(2) .feature-icon {
  background: #fff3d2;
  color: #8b5a00;
}

.feature-card:nth-child(3) .feature-icon {
  background: #e8effa;
  color: var(--blue);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 2.2rem;
  align-items: start;
}

.split .feature-grid {
  grid-template-columns: 1fr;
  margin-top: 0;
}

.program-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2rem;
}

.program-card,
.course-card,
.price-card {
  position: relative;
  padding: 1.35rem;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.program-card::after,
.course-card::after,
.price-card::after,
.video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.34), transparent 58%);
  transform: translateX(-130%);
  transition: transform 650ms ease;
  pointer-events: none;
}

.program-card:hover::after,
.course-card:hover::after,
.price-card:hover::after,
.video-card:hover::after {
  transform: translateX(130%);
}

.program-card::before,
.course-card::before,
.price-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--teal);
}

.program-card:nth-child(2)::before,
.course-card:nth-child(2)::before,
.price-card:nth-child(2)::before {
  background: var(--red);
}

.program-card:nth-child(3)::before,
.course-card:nth-child(3)::before,
.price-card:nth-child(3)::before {
  background: var(--gold);
}

.program-card:nth-child(4)::before,
.course-card:nth-child(4)::before,
.price-card:nth-child(4)::before {
  background: var(--blue);
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: #f0f4f7;
  color: #475467;
  font-size: 0.86rem;
  font-weight: 700;
}

.card-link {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--teal-dark);
  font-weight: 800;
}

.ink-band {
  background: var(--ink);
  color: #fff;
}

.ink-band .kicker,
.ink-band .lead {
  color: rgba(255, 255, 255, 0.78);
}

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.process-step {
  padding-top: 1rem;
  border-top: 3px solid rgba(255, 255, 255, 0.22);
}

.process-step strong {
  display: block;
  color: var(--gold);
  font-size: 1.8rem;
}

.process-step p {
  margin: 0.45rem 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.quote-card {
  padding: 1.35rem;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.quote-card strong {
  display: block;
  margin-top: 1rem;
}

.sub-hero {
  padding: 5rem 1.25rem 3.2rem;
  background: linear-gradient(135deg, #ffffff 0%, #eef7f0 48%, #f8f1df 100%);
  border-bottom: 1px solid var(--line);
}

.sub-hero .container {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(280px, 0.5fr);
  gap: 2rem;
  align-items: end;
}

.sub-hero h1 {
  margin: 0;
  max-width: 840px;
  font-size: clamp(2.4rem, 4.5rem, 4.5rem);
  line-height: 1;
}

.sub-hero p {
  margin: 1rem 0 0;
  color: #4b5b6c;
  font-size: 1.12rem;
}

.sub-hero-aside {
  padding: 1.25rem;
  border-left: 4px solid var(--red);
  background: rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
}

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

.course-card ul,
.price-card ul,
.contact-panel ul,
.method-card ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: #4b5b6c;
}

.course-card li + li,
.price-card li + li,
.contact-panel li + li,
.method-card li + li {
  margin-top: 0.38rem;
}

.schedule-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) repeat(3, minmax(150px, 1fr));
  gap: 1rem;
  align-items: center;
  margin-top: 2rem;
  padding: 1.3rem;
  box-shadow: none;
}

.schedule-cell {
  padding: 0.9rem;
  border-radius: var(--radius);
  background: var(--soft);
}

.schedule-cell strong {
  display: block;
  color: var(--teal-dark);
}

.method-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 2rem;
}

.method-card strong {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 0.8rem;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
}

.tone-lab {
  margin-top: 2rem;
  padding: 1.35rem;
  box-shadow: none;
}

.tone-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.tone-actions button {
  min-height: 42px;
  padding: 0.62rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-weight: 750;
}

.tone-actions button[aria-pressed="true"] {
  border-color: var(--teal);
  background: var(--mist);
  color: var(--teal-dark);
}

.tone-output {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--soft);
  color: #334155;
}

.premium-section {
  background:
    linear-gradient(135deg, rgba(14, 139, 130, 0.08), transparent 34%),
    linear-gradient(180deg, #f6f8f3 0%, #ffffff 100%);
}

.premium-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 1rem;
  margin-top: 2rem;
}

.premium-card {
  position: relative;
  min-height: 230px;
  padding: 1.45rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.premium-card::before {
  content: "";
  position: absolute;
  right: -42px;
  top: -42px;
  width: 118px;
  height: 118px;
  border: 18px solid rgba(241, 184, 75, 0.24);
  border-radius: 50%;
}

.premium-card:hover {
  transform: translateY(-7px);
  border-color: rgba(201, 67, 54, 0.25);
  box-shadow: var(--shadow-strong);
}

.premium-card-strong {
  background: linear-gradient(135deg, #10202a, #0e615d);
  color: #fff;
}

.premium-card-strong p {
  color: rgba(255, 255, 255, 0.78);
}

.premium-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 34px;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: var(--mist);
  color: var(--teal-dark);
  font-weight: 850;
}

.premium-card-strong .premium-number {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.premium-card p {
  margin: 0.6rem 0 0;
  color: var(--muted);
}

.video-section {
  overflow: hidden;
}

.video-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: 2rem;
  align-items: end;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.video-card {
  position: relative;
  display: grid;
  min-height: 410px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.video-card:hover {
  transform: translateY(-8px) rotate(-0.35deg);
  border-color: rgba(201, 67, 54, 0.28);
  box-shadow: var(--shadow-strong);
}

.video-thumb {
  position: relative;
  display: grid;
  min-height: 190px;
  place-items: center;
  overflow: hidden;
  color: #fff;
}

.video-thumb::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    linear-gradient(90deg, transparent 0 42%, rgba(255, 255, 255, 0.18) 50%, transparent 58%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0 2px, transparent 2px 18px);
  animation: thumbDrift 8s linear infinite;
}

.video-thumb-1 {
  background: linear-gradient(135deg, #0e8b82, #274c77);
}

.video-thumb-2 {
  background: linear-gradient(135deg, #c94336, #f1b84b);
}

.video-thumb-3 {
  background: linear-gradient(135deg, #274c77, #17212b);
}

.video-thumb-4 {
  background: linear-gradient(135deg, #10202a, #0e8b82);
}

.video-tag {
  position: absolute;
  left: 0.9rem;
  top: 0.9rem;
  z-index: 1;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.play-mark {
  position: relative;
  z-index: 1;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--red);
  font-size: 1.2rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  animation: playPulse 1.8s ease-in-out infinite;
}

.video-symbol {
  position: absolute;
  right: 0.95rem;
  bottom: 0.75rem;
  z-index: 1;
  color: rgba(255, 255, 255, 0.72);
  font-size: 3rem;
  font-weight: 900;
}

.video-content {
  display: grid;
  gap: 0.75rem;
  align-content: start;
  padding: 1.1rem;
}

.video-content strong {
  font-size: 1.12rem;
  line-height: 1.2;
}

.video-content span:not(.chip) {
  color: var(--muted);
}

.video-content em {
  align-self: end;
  color: var(--teal-dark);
  font-style: normal;
  font-weight: 850;
}

.price-grid {
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
}

.price-card.highlight {
  border-color: rgba(201, 67, 54, 0.45);
  box-shadow: 0 20px 60px rgba(201, 67, 54, 0.16);
}

.price {
  margin: 1rem 0 0;
  color: var(--ink);
  font-size: 2rem;
  line-height: 1;
  font-weight: 850;
}

.price small {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
}

.table-wrap {
  overflow-x: auto;
  margin-top: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

th,
td {
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--mist);
  color: var(--teal-dark);
}

tr:last-child td {
  border-bottom: 0;
}

.contact-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
  align-items: start;
}

.contact-panel {
  padding: 1.4rem;
  box-shadow: none;
}

.contact-form {
  display: grid;
  gap: 0.9rem;
}

.form-row {
  display: grid;
  gap: 0.4rem;
}

.form-row label {
  color: #344054;
  font-weight: 750;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 0.8rem 0.9rem;
  color: var(--ink);
}

.form-row textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  min-height: 1.4rem;
  margin: 0;
  color: var(--teal-dark);
  font-weight: 750;
}

.faq-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 2rem;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--teal-dark), var(--blue));
  color: #fff;
}

.cta-band p {
  margin: 0.45rem 0 0;
  color: rgba(255, 255, 255, 0.8);
}

.site-footer {
  background: #101820;
  color: #fff;
  padding: 3rem 1.25rem 1.4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(150px, 0.6fr));
  gap: 2rem;
}

.site-footer p,
.site-footer a,
.site-footer li {
  color: rgba(255, 255, 255, 0.74);
}

.site-footer ul {
  margin: 0.8rem 0 0;
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 0.45rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.92rem;
}

.whatsapp-float,
.assistant-toggle {
  position: fixed;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 18px 45px rgba(23, 33, 43, 0.24);
}

.whatsapp-float {
  left: 1.1rem;
  bottom: 1.15rem;
  width: 54px;
  height: 54px;
  background: #18a85f;
  font-weight: 900;
  animation: contactPulse 2.4s ease-in-out infinite;
}

.whatsapp-float::after,
.assistant-toggle::after {
  content: attr(aria-label);
  position: absolute;
  bottom: calc(100% + 0.65rem);
  left: 0;
  width: max-content;
  max-width: 210px;
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 750;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.assistant-toggle::after {
  left: auto;
  right: 0;
}

.whatsapp-float:hover::after,
.assistant-toggle:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.assistant-toggle {
  right: 1.1rem;
  bottom: 1.15rem;
  width: 58px;
  height: 58px;
  background: var(--red);
  font-size: 1.15rem;
  animation: assistantBreathe 3s ease-in-out infinite;
}

.assistant-panel {
  position: fixed;
  right: 1.1rem;
  bottom: 5.4rem;
  z-index: 29;
  width: min(380px, calc(100vw - 2rem));
  overflow: hidden;
  border: 1px solid rgba(223, 229, 226, 0.95);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-strong);
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(0.96);
  transform-origin: bottom right;
  transition: opacity 190ms ease, transform 190ms ease;
}

body.assistant-open .assistant-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.assistant-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  background: linear-gradient(135deg, var(--ink), var(--teal-dark));
  color: #fff;
}

.assistant-head strong,
.assistant-head small {
  display: block;
}

.assistant-head small {
  color: rgba(255, 255, 255, 0.72);
}

.assistant-close {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
}

.assistant-body {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
}

.assistant-message {
  margin: 0;
  padding: 0.85rem;
  border-radius: var(--radius);
  background: var(--soft);
  color: #344054;
}

.assistant-reply {
  border-left: 4px solid var(--teal);
}

.assistant-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.assistant-quick button {
  min-height: 36px;
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-weight: 750;
}

.assistant-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
}

.assistant-form input {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.72rem 0.8rem;
}

.assistant-form button {
  border: 0;
  border-radius: var(--radius);
  background: var(--teal-dark);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  padding: 0 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 620ms ease;
}

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

@keyframes markFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

@keyframes slowOrbit {
  from {
    transform: rotate(0deg) translateX(8px) rotate(0deg);
  }
  to {
    transform: rotate(360deg) translateX(8px) rotate(-360deg);
  }
}

@keyframes softRise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes thumbDrift {
  from {
    transform: translateX(-12%) rotate(0deg);
  }
  to {
    transform: translateX(12%) rotate(4deg);
  }
}

@keyframes playPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

@keyframes contactPulse {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 18px 45px rgba(24, 168, 95, 0.26);
  }
  50% {
    transform: translateY(-4px);
    box-shadow: 0 22px 56px rgba(24, 168, 95, 0.36);
  }
}

@keyframes assistantBreathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
}

@media (max-width: 980px) {
  .top-strip {
    display: none;
  }

  .navbar {
    grid-template-columns: auto auto auto;
  }

  .nav-toggle {
    display: block;
    order: 3;
  }

  .nav-tools {
    justify-self: end;
  }

  .nav-menu {
    position: fixed;
    inset: 72px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.3rem;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  body.nav-open .nav-menu {
    display: flex;
  }

  .nav-menu a {
    padding: 0.85rem;
  }

  .stats-grid,
  .feature-grid,
  .program-grid,
  .premium-grid,
  .video-grid,
  .quote-grid,
  .course-grid,
  .method-grid,
  .price-grid,
  .footer-grid,
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split,
  .sub-hero .container,
  .video-heading,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 700px) {
  .section {
    padding: 3.5rem 1rem;
  }

  .navbar {
    gap: 0.6rem;
    padding: 0.65rem 1rem;
  }

  .brand small {
    display: none;
  }

  .language-switch {
    grid-template-columns: repeat(3, 36px);
  }

  .language-switch button {
    min-width: 34px;
    font-size: 0.78rem;
  }

  .hero {
    min-height: 80svh;
    background-position: 58% center;
  }

  .language-world,
  .language-world-content {
    min-height: 780px;
  }

  .language-world-content {
    align-content: start;
    padding: 3.2rem 1rem;
  }

  .language-world h2 {
    font-size: clamp(2.1rem, 2.75rem, 2.75rem);
  }

  .language-world p {
    font-size: 1rem;
  }

  .language-world-shade {
    background:
      linear-gradient(180deg, rgba(16, 24, 32, 0.96), rgba(16, 24, 32, 0.68) 44%, rgba(16, 24, 32, 0.16) 74%),
      linear-gradient(0deg, rgba(16, 24, 32, 0.9), transparent 44%);
  }

  .hero-content {
    padding: 3.5rem 1rem 5.2rem;
  }

  .hero h1,
  .sub-hero h1 {
    font-size: clamp(2.25rem, 2.9rem, 2.9rem);
  }

  .section-title {
    font-size: clamp(1.9rem, 2.45rem, 2.45rem);
  }

  .stats-grid {
    margin-top: 1rem;
  }

  .stats-grid,
  .feature-grid,
  .program-grid,
  .premium-grid,
  .video-grid,
  .quote-grid,
  .course-grid,
  .method-grid,
  .price-grid,
  .process,
  .schedule-band,
  .footer-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

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

  .sub-hero {
    padding-top: 3.7rem;
  }

  .video-card {
    min-height: 360px;
  }

  .assistant-panel {
    right: 0.75rem;
    bottom: 5rem;
    width: calc(100vw - 1.5rem);
  }

  .assistant-toggle {
    right: 0.85rem;
  }

  .whatsapp-float {
    left: 0.85rem;
  }
}

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