:root {
  --blue-900: #15436a;
  --blue-700: #236fb0;
  --blue-100: #e9f4ff;
  --teal-600: #19aaa7;
  --teal-100: #e7f8f5;
  --yellow-500: #ffc62a;
  --green-500: #83bd31;
  --red-500: #f46a60;
  --pink-500: #ef4aa0;
  --orange-500: #ff922b;
  --cream: #fff8dc;
  --ink: #17212b;
  --muted: #607080;
  --line: #d9e5ee;
  --surface: #ffffff;
  --soft: #f7fbfd;
  --shadow: 0 14px 40px rgba(21, 67, 106, 0.1);
  --shadow-strong: 0 24px 70px rgba(21, 67, 106, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fbfdff;
  font-family: Arial, "Helvetica Neue", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(21, 67, 106, 0.12);
  box-shadow: 0 10px 32px rgba(21, 67, 106, 0.07);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  min-height: 108px;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 6px 0;
  line-height: 0;
}

.brand img {
  width: 430px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 12px rgba(21, 67, 106, 0.12));
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1 1 auto;
  font-size: 15px;
  font-weight: 700;
  color: var(--blue-900);
}

.nav a,
.header-phone,
.footer-inner a,
.contact-method {
  text-decoration: none;
}

.nav a {
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 8px;
}

.nav a:hover {
  background: var(--blue-100);
  border-color: #c8e6fb;
}

.header-phone {
  flex: 0 0 auto;
  padding: 13px 18px;
  background: #ffffff;
  border: 2px solid var(--blue-700);
  border-radius: 8px;
  color: var(--blue-900);
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(35, 111, 176, 0.12);
}

.intro-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(233, 244, 255, 0.96) 0%, rgba(255, 248, 220, 0.9) 52%, rgba(231, 248, 245, 0.96) 100%);
  border-bottom: 1px solid rgba(21, 67, 106, 0.1);
}

.intro-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 450px);
  align-items: center;
  gap: 64px;
  min-height: min(720px, calc(100vh - 108px));
  padding: 66px 0 88px;
}

#about,
#programs,
#teacher,
#contact {
  scroll-margin-top: 140px;
}

.intro-copy {
  max-width: 720px;
}

.eyebrow,
.section-kicker,
.fact-label,
.program-grade {
  margin: 0 0 12px;
  color: var(--teal-600);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  background: #ffffff;
  border: 1px solid rgba(25, 170, 167, 0.22);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(21, 67, 106, 0.08);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  color: var(--blue-900);
  font-size: 90px;
  line-height: 0.98;
}

h2 {
  margin-bottom: 18px;
  color: var(--blue-900);
  font-size: 48px;
  line-height: 1.08;
}

h3 {
  margin-bottom: 12px;
  color: var(--blue-900);
  font-size: 24px;
  line-height: 1.2;
}

.lead {
  max-width: 680px;
  margin-bottom: 22px;
  color: #314253;
  font-size: 25px;
  line-height: 1.35;
}

.intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 20px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.icon-button {
  gap: 9px;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
}

.service-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.whatsapp-icon {
  background: #25d366;
  color: #ffffff;
}

.button .whatsapp-icon {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.max-icon {
  width: 28px;
  height: 28px;
  overflow: hidden;
  background: none;
  border-radius: 8px;
  box-shadow: 0 5px 12px rgba(59, 73, 223, 0.24);
}

.max-icon svg {
  width: 100%;
  height: 100%;
}

.phone-icon {
  background: var(--blue-100);
  color: var(--blue-700);
}

.button.primary {
  background: linear-gradient(135deg, var(--red-500), var(--orange-500));
  color: #ffffff;
  box-shadow: 0 14px 26px rgba(244, 106, 96, 0.26);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--blue-900);
  border: 1px solid rgba(21, 67, 106, 0.16);
}

.button:hover,
.header-phone:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(21, 67, 106, 0.14);
}

.intro-visual {
  position: relative;
  justify-self: end;
  width: min(450px, 100%);
  padding: 18px;
  background: #ffffff;
  border: 1px solid rgba(21, 67, 106, 0.1);
  border-radius: 8px;
  box-shadow: var(--shadow-strong);
}

.intro-visual::before {
  content: "";
  position: absolute;
  inset: 10px -12px -12px 18px;
  z-index: -1;
  border: 3px solid rgba(255, 198, 42, 0.55);
  border-radius: 8px;
}

.intro-visual img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 8px;
}

.visual-ribbon {
  position: absolute;
  top: -18px;
  left: 24px;
  z-index: 2;
  padding: 9px 14px;
  background: var(--yellow-500);
  border: 2px solid #ffffff;
  border-radius: 8px;
  color: var(--blue-900);
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(21, 67, 106, 0.16);
}

.facts-section,
.programs-section,
.results-section {
  padding: 54px 0;
}

.facts-section {
  position: relative;
  z-index: 2;
  margin-top: -36px;
  padding-top: 0;
}

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

.fact-card,
.program-card {
  background: #ffffff;
  border: 1px solid rgba(21, 67, 106, 0.11);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(21, 67, 106, 0.08);
}

.fact-card {
  position: relative;
  overflow: hidden;
  min-height: 166px;
  padding: 22px;
}

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

.fact-card:nth-child(1) {
  --accent: var(--red-500);
}

.fact-card:nth-child(2) {
  --accent: var(--yellow-500);
}

.fact-card:nth-child(3) {
  --accent: var(--teal-600);
}

.fact-card:nth-child(4) {
  --accent: var(--green-500);
}

.fact-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--blue-900);
  font-size: 23px;
  line-height: 1.18;
}

.fact-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.about-section {
  padding: 64px 0;
  background: linear-gradient(135deg, #e7f8f5, #f7fcff 58%, #fff8dc);
  border-top: 1px solid rgba(25, 170, 167, 0.18);
  border-bottom: 1px solid rgba(25, 170, 167, 0.18);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: 50px;
  align-items: start;
}

.rich-text {
  color: #2f4050;
  font-size: 19px;
}

.about-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.about-highlights span {
  padding: 9px 12px;
  background: #ffffff;
  border: 1px solid rgba(21, 67, 106, 0.12);
  border-radius: 8px;
  color: var(--blue-900);
  font-size: 15px;
  font-weight: 900;
}

.rich-text p:last-child,
.teacher-text,
.contact-copy p {
  margin-bottom: 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

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

.program-card {
  position: relative;
  overflow: hidden;
  min-height: 324px;
  padding: 24px;
}

.program-card:hover,
.fact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 46px rgba(21, 67, 106, 0.12);
}

.program-card:nth-child(1) {
  border-top: 5px solid var(--yellow-500);
}

.program-card:nth-child(2) {
  border-top: 5px solid var(--green-500);
}

.program-card:nth-child(3) {
  border-top: 5px solid var(--blue-700);
}

.program-card:nth-child(4) {
  border-top: 5px solid var(--teal-600);
}

.program-card:nth-child(5) {
  border-top: 5px solid var(--red-500);
}

.program-card:nth-child(6) {
  border-top: 5px solid var(--pink-500);
}

.program-price {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 0 0 14px;
  padding: 7px 11px;
  background: var(--blue-100);
  border: 1px solid rgba(35, 111, 176, 0.16);
  border-radius: 8px;
  color: var(--blue-900);
  font-size: 16px;
  line-height: 1.2;
}

.program-card p {
  margin-bottom: 0;
  color: #405265;
}

.method-strip {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  padding: 18px 20px;
  background: linear-gradient(135deg, var(--blue-100), #fff8dc);
  border: 1px solid rgba(21, 67, 106, 0.12);
  border-radius: 8px;
  color: var(--blue-900);
}

.method-strip span {
  color: #314253;
}

.teacher-section {
  padding: 64px 0;
  background: linear-gradient(135deg, #fff8dc, #ffffff 46%, #e9f4ff);
  border-top: 1px solid rgba(255, 198, 42, 0.28);
  border-bottom: 1px solid rgba(255, 198, 42, 0.28);
}

.teacher-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.teacher-photo {
  width: 180px;
  height: 180px;
  padding: 7px;
  background: #ffffff;
  border: 4px solid var(--yellow-500);
  border-radius: 50%;
  box-shadow: 0 18px 42px rgba(133, 97, 0, 0.18);
}

.teacher-photo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 42%;
}

.teacher-text {
  max-width: 780px;
  color: #37485a;
  font-size: 19px;
}

.results-section {
  background: #f7fbfd;
  border-top: 1px solid rgba(21, 67, 106, 0.08);
  border-bottom: 1px solid rgba(21, 67, 106, 0.08);
}

.approach-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1fr);
  gap: 46px;
  align-items: center;
}

.approach-copy {
  max-width: 580px;
}

.approach-copy h2 {
  margin-bottom: 16px;
}

.approach-copy p:not(.section-kicker) {
  margin-bottom: 0;
  color: #314253;
  font-size: 20px;
  line-height: 1.45;
}

.approach-panel {
  display: grid;
  gap: 12px;
}

.approach-item {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px 20px;
  background: #ffffff;
  border: 1px solid rgba(21, 67, 106, 0.11);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(21, 67, 106, 0.06);
}

.approach-item:nth-child(1) {
  --accent: var(--red-500);
}

.approach-item:nth-child(2) {
  --accent: var(--teal-600);
}

.approach-item:nth-child(3) {
  --accent: var(--blue-700);
}

.approach-mark {
  width: 12px;
  height: 12px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px #e7f8f5;
}

.approach-item h3 {
  margin-bottom: 6px;
  font-size: 22px;
}

.approach-item p {
  margin-bottom: 0;
  color: #405265;
  font-size: 16px;
  line-height: 1.45;
}

.contact-section {
  padding: 66px 0;
  background:
    linear-gradient(135deg, rgba(21, 67, 106, 0.98), rgba(25, 170, 167, 0.92)),
    var(--blue-900);
  color: #ffffff;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 440px);
  gap: 44px;
  align-items: start;
}

.contact-section h2,
.contact-section .section-kicker {
  color: #ffffff;
}

.contact-copy p {
  max-width: 620px;
  color: #d7e6f4;
  font-size: 19px;
}

.contact-panel {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(4, 22, 36, 0.2);
}

.contact-method {
  display: grid;
  gap: 4px;
  padding: 16px;
  background: #f7fbfd;
  border: 1px solid rgba(21, 67, 106, 0.12);
  border-radius: 8px;
  color: var(--blue-900);
}

.contact-method-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-600);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.contact-method strong {
  font-size: 22px;
  line-height: 1.2;
}

.contact-method small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.contact-method-accent {
  background: linear-gradient(135deg, #e8fbf6, #fff8dc);
  border-color: rgba(25, 170, 167, 0.28);
}

.contact-method:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(21, 67, 106, 0.12);
}

.location-section {
  padding: 54px 0;
  background: #f7fbfd;
  border-top: 1px solid rgba(21, 67, 106, 0.1);
}

.location-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: 34px;
  align-items: center;
}

.location-copy h2 {
  margin-bottom: 14px;
}

.location-address {
  margin-bottom: 20px;
  color: #314253;
  font-size: 21px;
  font-weight: 800;
}

.map-frame {
  overflow: hidden;
  min-height: 320px;
  border: 1px solid rgba(21, 67, 106, 0.13);
  border-radius: 8px;
  background: #e9f4ff;
  box-shadow: 0 16px 36px rgba(21, 67, 106, 0.09);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

.site-footer {
  padding: 22px 0;
  background: #0f304c;
  color: #d7e6f4;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
}

.footer-inner a {
  color: #ffffff;
  font-weight: 900;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .brand img {
    width: 330px;
  }
}

@media (max-width: 900px) {
  .header-inner {
    min-height: 78px;
    gap: 14px;
  }

  .brand img {
    width: 230px;
  }

  #about,
  #programs,
  #teacher,
  #contact {
    scroll-margin-top: 78px;
  }

  .nav {
    display: none;
  }

  .header-phone {
    display: none;
  }

  .intro-grid,
  .two-column,
  .teacher-layout,
  .contact-grid,
  .location-grid,
  .approach-layout {
    grid-template-columns: 1fr;
  }

  .intro-grid {
    gap: 28px;
    min-height: auto;
    padding: 42px 0 64px;
  }

  .intro-visual {
    justify-self: start;
    width: min(360px, 82vw);
  }

  .facts-grid,
  .program-grid {
    grid-template-columns: 1fr 1fr;
  }

  .method-strip {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .site-header {
    position: static;
  }

  .header-inner {
    justify-content: center;
    min-height: 74px;
  }

  .brand img {
    width: 230px;
  }

  #about,
  #programs,
  #teacher,
  #contact {
    scroll-margin-top: 0;
  }

  .header-phone {
    font-size: 13px;
  }

  h1 {
    font-size: 42px;
    overflow-wrap: break-word;
  }

  h2 {
    font-size: 32px;
  }

  .eyebrow {
    font-size: 12px;
    line-height: 1.35;
  }

  .lead {
    font-size: 20px;
  }

  .intro-actions {
    flex-direction: column;
  }

  .button,
  .contact-method {
    width: 100%;
  }

  .facts-section,
  .programs-section,
  .results-section,
  .about-section,
  .teacher-section,
  .contact-section,
  .location-section {
    padding: 42px 0;
  }

  .facts-grid,
  .program-grid {
    grid-template-columns: 1fr;
  }

  .fact-card,
  .program-card {
    min-height: auto;
  }

  .teacher-photo {
    width: 138px;
    height: 138px;
  }

  .contact-grid {
    gap: 28px;
  }

  .map-frame {
    min-height: 280px;
  }

  .map-frame iframe {
    height: 280px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 24px, 366px);
  }
}
