/* =============================================
   RESET & BASE
============================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: #1a1a1a;
  background: #f8f8fc;
  line-height: 1.7;
}

/* =============================================
   LAYOUT UTILITIES
============================================= */

.container {
  width: 80%;
  max-width: 1200px;
  margin: auto;
}

.narrow {
  max-width: 750px;
}

.center {
  text-align: center;
}

.label {
  letter-spacing: 3px;
  font-size: 14px;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 15px;
  margin-top: 60px;
}

/* =============================================
   NAVBAR
============================================= */

.navbar {
  background: #6b6fae;
  color: white;
  padding: 20px 0;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 20px;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  font-weight: 800;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links a {
  margin-left: 20px;
  color: white;
  text-decoration: none;
}

/* Language switcher */

.lang-switch {
  display: flex;
  gap: 10px;
  margin-left: 20px;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  text-decoration: none;
  font-size: 12px;
  transition: background 0.2s ease;
}

.lang-btn svg {
  width: 18px;
  height: 12px;
  border-radius: 2px;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lang-btn.active {
  background: #EEC151;
  color: #111;
}

/* Mobile hamburger */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

/* =============================================
   HERO
============================================= */

.hero {
  background: #6b6fae;
  color: white;
  padding: 20px 0;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  font-size: 50px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.pill {
  background: #EEC151;
  color: #000;
  display: inline-block;
  padding: 8px 16px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.hero-meta {
  margin-bottom: 10px;
  opacity: 0.9;
}

.hero-desc {
  margin: 20px 0;
}

.trial {
  color: #9ff5b0;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-image img {
  width: 100%;
  border-radius: 20px;
}

/* =============================================
   BUTTON
============================================= */

.btn-primary {
  background: #EEC151;
  padding: 14px 28px;
  border-radius: 12px;
  color: black;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 50px rgba(238, 193, 81, 0.35);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.25), transparent 70%);
  opacity: 0;
  transition: 0.4s;
}

.btn-primary:hover::after {
  opacity: 1;
}

/* =============================================
   SECTIONS
============================================= */

.section {
  padding: 100px 0;
  position: relative;
}

.section-accent {
  background: linear-gradient(180deg, #ffffff, #f3f4fb);
}

.subjects {
  margin-bottom: 20px;
}

/* =============================================
   ABOUT
============================================= */

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-text h2 {
  margin: 15px 0 20px;
}

.about-text p {
  margin-bottom: 16px;
  text-align: justify;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 19px;
  padding-top: 120px;
  align-self: stretch;
}

.highlight-card {
  background: linear-gradient(135deg, #5a5ea0, #8d91d8);
  padding: 22px;
  border-radius: 14px;
  color: white;
  font-size: 15px;
  line-height: 1.4;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: 0.3s;
}

.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

/* =============================================
   CARDS (subjects & reviews)
============================================= */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.card {
  padding: 28px;
  border-radius: 18px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

/* Column colours */

.cards .card:nth-child(3n+1) {
  background: #EEC151;
  color: #111;
}

.cards .card:nth-child(3n+2) {
  background: #6b6fae;
  color: white;
}

.cards .card:nth-child(3n+3) {
  background: #fdac72;
  color: #111;
}

/* Card inner typography */

.card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.card-subtitle {
  font-size: 13px;
  font-weight: 400;
  opacity: 0.7;
  margin-bottom: 14px;
  font-style: italic;
}

.card-body {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 16px;
}

.card-levels {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.6;
  letter-spacing: 0.03em;
}

/* Hover */

.card:hover {
  transform: translateY(-6px) scale(1.02);
}

.cards .card:nth-child(3n+1):hover {
  box-shadow: 0 20px 50px rgba(238, 193, 81, 0.35);
}

.cards .card:nth-child(3n+2):hover {
  box-shadow: 0 20px 50px rgba(69, 108, 198, 0.35);
}

.cards .card:nth-child(3n+3):hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

/* Light sweep */

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.25), transparent 70%);
  opacity: 0;
  transition: 0.4s;
}

.card:hover::after {
  opacity: 1;
}

/* =============================================
   CASES
============================================= */

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: start;
  margin-top: 80px;
}

.case-card {
  background: linear-gradient(135deg, #62669e, #a7aaec);
  color: white;
  padding: 30px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  font-size: 17px;
  line-height: 1.6;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  transition: 0.3s;
}

.case-card:nth-child(1) { margin-top: 0; }
.case-card:nth-child(2) { margin-top: 40px; }
.case-card:nth-child(3) { margin-top: 80px; }

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

.case-meta {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.75;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.case-card p {
  font-size: 15px;
  line-height: 1.65;
}

/* =============================================
   LESSONS
============================================= */

.lesson-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

/* .lesson-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
} */

.contact-photo img {
  width: 50%;
  border-radius: 20px;
  object-fit: cover;
  height: 100%;
  max-height: 500px;
  margin-top: 20px;
}

.lesson-card {
  background: linear-gradient(135deg, #EEC151, #ebd8a9);
  color: #111;
  padding: 20px;
  border-radius: 24px;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.lesson-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.lesson-pricing {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-left: 1.5px solid rgba(0, 0, 0, 0.12);
  padding-left: 40px;
}

.lesson-price-item {
  text-align: center;
  width: 100%;
}

.lesson-duration {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 4px;
}

.lesson-amount {
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
}

.lesson-divider {
  width: 40px;
  height: 1.5px;
  background: rgba(0, 0, 0, 0.15);
  margin: 20px auto;
}

.lesson-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lesson-list li {
  margin-bottom: 16px;
  font-size: 16px;
  opacity: 0.95;
  position: relative;
  padding-left: 20px;
}

.lesson-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #111;
  opacity: 0.7;
}

/* Decorative wave lines */

.lesson-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: url("data:image/svg+xml;utf8,<svg viewBox='0 0 1440 120' xmlns='http://www.w3.org/2000/svg'><path d='M0,60 C240,0 480,120 720,60 C960,0 1200,120 1440,60' stroke='%236b6fae' stroke-width='2' fill='none' opacity='0.5'/></svg>") no-repeat;
  background-size: cover;
}

.lesson-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: url("data:image/svg+xml;utf8,<svg viewBox='0 0 1440 120' xmlns='http://www.w3.org/2000/svg'><path d='M0,60 C240,120 480,0 720,60 C960,120 1200,0 1440,60' stroke='%23fdac72' stroke-width='3' fill='none' opacity='0.5'/></svg>") no-repeat;
  background-size: cover;
}

/* =============================================
   CONTACT
============================================= */

.contact-section {
  padding-top: 100px;
  background: linear-gradient(to bottom, #6f6fa8 0%, #8a8dc9 35%, #f5f5f7 100%);
  text-align: center;
}

.contact-subtitle {
  margin-top: 10px;
}

.contact-buttons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.contact-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 500;
  color: white;
  transition: all 0.25s ease;
}

.contact-btn svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-btn.email    { background: #6b6fae; }
.contact-btn.telegram { background: #0088CC; }
.contact-btn.whatsapp { background: #25d366; }

.contact-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Copyright line */

.copyright {
  color: #111;
  text-align: center;
  padding: 30px;
  margin-top: 100px;
}

/* =============================================
   HERO DECORATIVE LINES
============================================= */

.hero-lines,
.section-lines,
.cta-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.4;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
}

.hero-lines path,
.section-lines path {
  stroke: #A2E3C4;
  stroke-width: 2;
  fill: none;
}

/* =============================================
   WAVES (has-waves system)
============================================= */

.has-waves {
  position: relative;
  overflow: hidden;
}

.wave-top::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 140px;
  background: url("data:image/svg+xml;utf8,<svg viewBox='0 0 1440 140' xmlns='http://www.w3.org/2000/svg'><path d='M0,70 C240,0 480,140 720,70 C960,0 1200,140 1440,70' stroke='%23fdac72' stroke-width='2' fill='none' opacity='0.7'/></svg>") no-repeat;
  background-size: cover;
}

.wave-bottom::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 140px;
  background: url("data:image/svg+xml;utf8,<svg viewBox='0 0 1440 140' xmlns='http://www.w3.org/2000/svg'><path d='M0,70 C240,140 480,0 720,70 C960,140 1200,0 1440,70' stroke='%23fdac72' stroke-width='2' fill='none' opacity='0.5'/></svg>") no-repeat;
  background-size: cover;
}

.wave-light::before,
.wave-light::after {
  opacity: 0.3;
}

.wave-strong::before,
.wave-strong::after {
  opacity: 0.6;
}

/* =============================================
   RESPONSIVE
============================================= */

@media (max-width: 900px) {

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 40px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-highlights {
    padding-top: 0;
  }

  .cards {
    grid-template-columns: 1fr;
  }
.cards .card:nth-child(3n+1) {
  background: #EEC151;
  color: #111;
}

.cards .card:nth-child(3n+2) {
  background: #6b6fae;
  color: white;
}

.cards .card:nth-child(3n+3) {
  background: #fdac72;
  color: #111;
}

  .cards .card:nth-child(3n+1) { background: #EEC151; color: #111; }
  .cards .card:nth-child(3n+2) { background: #6b6fae; color: white; }
  .cards .card:nth-child(3n+3) { background: #fdac72; color: #111; }

  .cases-grid {
    grid-template-columns: 1fr;
  }

  .case-card {
    height: auto !important;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    background: #6b6fae;
    padding: 16px 20px;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    z-index: 100;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    margin-left: 0;
  }

  .lang-switch {
    margin-left: 0;
    margin-top: 8px;
  }

  .nav-toggle {
    display: block;
  }

  .about-highlights {
    display: none;
  }

  .lesson-layout {
    grid-template-columns: 1fr;
  }


  .lesson-grid {
    grid-template-columns: 1fr;
  }

  .lesson-pricing {
    border-left: none;
    border-top: 1.5px solid rgba(0, 0, 0, 0.12);
    padding-left: 0;
    padding-top: 30px;
  }

  .contact-buttons {
    flex-direction: column;
    align-items: center;
  }
  .contact-photo img {
    width: 100%;
  }

  .contact-btn {
    width: 80%;
    justify-content: center;
  }

}