:root {
  --hero-c1: #0ea5e9;
  --hero-c2: #14b8a6;
  --hero-c3: #22c55e;
  --text: #0f172a;
  --bg: #ffffff;
  --accent: #22c55e;
  --accent-dark: #178b46;
  --muted: #475569;
  --surface: #f8fafc;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

body {
  margin: 0;
  color: var(--text);
  font-family: inherit;
  background-color: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  color: var(--accent);
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  width: min(1120px, 90vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.04);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  width: min(952px, 76.5vw);
}

.logo img {
  height: 64.8px;
  width: auto;
  transform: scale(1.44);
  transform-origin: left center;
}

.site-nav ul {
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 600;
  font-size: 15px;
}

.site-nav a {
  opacity: 0.8;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  opacity: 1;
  color: var(--accent);
}

.header__actions {
  display: flex;
  gap: 14px;
  align-items: center;
}

.header__phone {
  font-weight: 600;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 10px;
  margin-left: 12px;
  cursor: pointer;
  border-radius: 12px;
  transition: background 0.2s ease;
}

.menu-toggle:focus-visible,
.menu-toggle:hover {
  background: rgba(34, 197, 94, 0.12);
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

.menu-toggle span + span {
  margin-top: 5px;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  display: none;
  background: rgba(15, 23, 42, 0.55);
  z-index: 30;
  padding: 24px;
  transition: opacity 0.3s ease;
}

.mobile-menu.is-open {
  display: grid;
}

.mobile-menu__inner {
  margin: auto;
  width: min(480px, 85vw);
  background: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(32px, 8vw, 48px);
  box-shadow: 0 32px 80px rgba(15, 23, 42, 0.18);
  display: grid;
  gap: 32px;
  text-align: center;
  transform: translateY(-20px);
  animation: mobileMenuIn 0.35s ease forwards;
}

.mobile-menu__close {
  justify-self: flex-end;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(226, 232, 240, 0.8);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.mobile-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
  font-size: 20px;
  font-weight: 600;
}

.mobile-menu__list a {
  color: var(--text);
  transition: color 0.2s ease;
}

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

.mobile-menu__cta {
  width: 100%;
}

body.mobile-menu-open {
  overflow: hidden;
}

@keyframes mobileMenuIn {
  from {
    transform: translateY(-24px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: var(--radius-sm);
  border: none;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 22px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 18px 40px rgba(34, 197, 94, 0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 52px rgba(34, 197, 94, 0.45);
}

.btn--secondary {
  background: #fff;
  color: var(--text);
  border: 1.5px solid var(--accent);
}

.btn--secondary:hover {
  background: rgba(34, 197, 94, 0.12);
  color: var(--accent);
}

.btn--secondary--outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
}

.btn--secondary--outline:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

main {
  display: block;
}

.hero {
  position: relative;
  min-height: min(92vh, 960px);
  padding: clamp(40px, 12vw, 110px) 0 110px;
  background: linear-gradient(135deg, var(--hero-c1), var(--hero-c2) 45%, var(--hero-c3));
  color: #fff;
  overflow: hidden;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(40px, 5vw, 90px);
}

.hero__content {
  flex: 1 1 50%;
  min-width: 0;
  max-width: 50%;
  display: grid;
  gap: 20px;
  align-items: flex-start;
  justify-items: flex-start;
  text-align: left;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 14px;
  letter-spacing: 0.3px;
}

.hero__content h1 {
  font-size: clamp(40px, 6vw, 66px);
  line-height: 1.05;
  margin: 0;
}

.hero__lead {
  font-size: 18px;
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero__features {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
}

.hero__features li {
  position: relative;
  padding-left: 18px;
}

.hero__features li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}

.hero__media {
  position: relative;
  flex: 1 1 50%;
  min-width: 0;
  max-width: 50%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero__figure {
  width: 100%;
  max-width: 100%;
  margin-left: clamp(0px, 2vw, 32px);
}

.hero__figure img {
  width: 135%;
  max-width: none;
  height: auto;
  margin-left: -17%;
  filter: drop-shadow(0 28px 36px rgba(0, 33, 66, 0.3));
  animation: heroImageFloat 10s ease-in-out infinite;
}

.hero__clouds {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  transform-origin: center;
}

.hero__clouds .cloud {
  position: absolute;
  display: block;
  width: 120px;
  opacity: 0.85;
  animation: cloudDrift var(--drift-duration, 20000ms) ease-in-out infinite alternate;
}

.cloud--one { width: 72px; top: 12%; left: 8%; }
.cloud--two { width: 88px; top: 24%; right: 12%; }
.cloud--three { width: 104px; bottom: 20%; left: 24%; }
.cloud--four { width: 120px; top: 38%; right: 28%; }
.cloud--five { width: 136px; bottom: 12%; right: 18%; }
.cloud--six { width: 156px; top: 8%; right: 42%; }

h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin: 0 0 32px;
  text-align: center;
}

section {
  padding: 100px 0;
}

.page-intro {
  padding: 120px 0 80px;
  background: var(--surface);
}

.page-intro h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 5vw, 48px);
}

.page-intro p {
  max-width: 640px;
  margin: 0 0 24px;
  color: var(--muted);
}

.page-content {
  padding: 80px 0;
}

.page-content p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  text-align: center;
}

.courses {
  background-color: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(48px, 6vw, 64px);
}

.course-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.course-tab {
  padding: 12px 24px;
  border-radius: 999px;
  border: 1.5px solid rgba(148, 163, 184, 0.35);
  background: #fff;
  font-weight: 600;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.course-tab:hover,
.course-tab:focus-visible {
  color: var(--accent);
  transform: translateY(-1px);
}

.course-tab.active {
  background: linear-gradient(135deg, var(--hero-c1), var(--hero-c3));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 16px 32px rgba(14, 165, 233, 0.25);
}

.course-summary {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 40px);
  background: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 40px);
  box-shadow: var(--shadow);
}

.course-summary__body {
  flex: 1 1 60%;
  min-width: 260px;
  display: grid;
  gap: 16px;
}

.course-summary__title {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
}

.course-summary__lead {
  margin: 0;
  color: var(--muted);
}

.course-summary__list {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  color: var(--muted);
}

.course-summary__list li {
  position: relative;
  padding-left: 18px;
}

.course-summary__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.6);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.35);
}

.course-summary__aside {
  flex: 1 1 220px;
  min-width: 200px;
  display: grid;
  gap: 16px;
  align-content: flex-start;
  justify-items: flex-start;
}

.course-summary__price {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
}

.course-levels {
  margin-top: 28px;
  display: grid;
  gap: 24px;
}

.level-btn {
  padding: 18px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(148, 163, 184, 0.35);
  background: #fff;
  font-weight: 600;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--text);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}


.level-group {
  display: grid;
  gap: 16px;
}

.level-group + .level-group {
  margin-top: 24px;
}

.level-group__header {
  display: grid;
  gap: 6px;
}

.level-group__header h4 {
  margin: 0;
  font-size: 18px;
  color: var(--text);
}

.level-group__header p {
  margin: 0;
  font-size: 13px;
  color: rgba(15, 23, 42, 0.6);
}

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

.level-grid .level-btn {
  width: 100%;
}
.level-btn:hover,
.level-btn:focus-visible {
  background: rgba(34, 197, 94, 0.12);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(34, 197, 94, 0.2);
}

.level-btn--active {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--hero-c2), var(--hero-c3));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 20px 40px rgba(34, 197, 94, 0.25);
}

.btn--secondary,
.btn.btn--secondary {
  background: #fff;
  color: var(--text);
  border: 1.5px solid var(--accent);
}

.btn--secondary:hover,
.btn.btn--secondary:hover {
  background: rgba(34, 197, 94, 0.12);
  color: var(--accent);
}

.about__inner {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.about__text,
.about__benefits {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}

.about__benefits ul {
  padding-left: 18px;
  margin: 0;
  display: grid;
  gap: 12px;
}

.process {
  background: var(--surface);
}

.process__steps {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 16px;
  font-size: 16px;
  color: var(--muted);
}

.process__steps strong {
  color: var(--text);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.16);
  display: grid;
  gap: 12px;
  color: var(--muted);
}

.testimonial-card strong {
  color: var(--text);
}

.stars {
  color: #fbbf24;
  letter-spacing: 4px;
  font-weight: 600;
}

.faq details {
  margin-bottom: 16px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(248, 250, 252, 0.9);
}

.faq summary {
  font-weight: 600;
  cursor: pointer;
}

.faq details[open] {
  background: rgba(34, 197, 94, 0.1);
}

.contact__inner {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.contact__info {
  display: grid;
  gap: 12px;
}

.contact__form {
  display: grid;
  gap: 16px;
  background: #fff;
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.contact__form input,
.contact__form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(148, 163, 184, 0.4);
  font-size: 15px;
  font-family: inherit;
}

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

.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.socials {
  display: flex;
  gap: 12px;
}

.socials a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(14, 165, 233, 0.18);
  display: grid;
  place-items: center;
  font-weight: 600;
  color: var(--hero-c1);
}

.site-footer {
  background: linear-gradient(135deg, var(--hero-c1), var(--hero-c3));
  color: #e2e8f0;
  padding: 36px 0;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal[hidden] {
  display: none;
}

.modal__dialog {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 32px;
  max-width: 520px;
  width: min(520px, 90vw);
  display: grid;
  gap: 18px;
  position: relative;
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  border: none;
  background: rgba(226, 232, 240, 0.7);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
}

.modal__form {
  display: grid;
  gap: 14px;
}

.modal__form input,
.modal__form textarea {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(148, 163, 184, 0.4);
  font-family: inherit;
}


.modal--level .modal__dialog--level {
  max-width: 420px;
  width: min(420px, 90vw);
  gap: 18px;
}

.level-modal__track {
  margin: 0;
  font-weight: 600;
  color: var(--muted);
}

.level-modal__format {
  margin: 0;
  color: var(--text);
  font-weight: 500;
}

.level-modal__topics {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
  color: var(--muted);
  list-style: disc;
}

.level-modal__topics li {
  line-height: 1.5;
}

.level-modal__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.level-modal__price {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
}

@keyframes heroImageFloat {
  0%, 100% { transform: translate(-7%, 0); }
  50% { transform: translate(-7%, -12px); }
}

@keyframes cloudDrift {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-12px, -10px, 0); }
  100% { transform: translate3d(-20px, -6px, 0); }
}

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