:root {
  --ink: #121b18;
  --muted: #65726e;
  --paper: #fbfaf4;
  --soft: #f0ede2;
  --line: rgba(18, 27, 24, 0.13);
  --green: #116a58;
  --green-dark: #072f28;
  --gold: #b98a47;
  --gold-soft: #e4cfaa;
  --white: #ffffff;
  --shadow: 0 28px 90px rgba(16, 26, 23, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(18, 27, 24, 0.035) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(180deg, rgba(18, 27, 24, 0.026) 1px, transparent 1px) 0 0 / 72px 72px,
    var(--paper);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.55;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 250, 244, 0.86);
  border-bottom: 1px solid rgba(185, 138, 71, 0.22);
  box-shadow: 0 12px 35px rgba(13, 23, 20, 0.04);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--green-dark);
}

.brand img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  padding: 4px;
  border: 1px solid rgba(185, 138, 71, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.58);
}

.brand span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #364741;
  font-size: 13px;
  font-weight: 750;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  padding: 10px 0;
  border-bottom: 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--green);
}

.nav-links a.active::after,
.nav-links a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.phone {
  font-weight: 800;
  color: var(--green-dark);
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font-size: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid rgba(185, 138, 71, 0.34);
  border-radius: 6px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: var(--white);
  font-weight: 850;
  letter-spacing: 0;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #147763, #062821);
  box-shadow: 0 18px 44px rgba(8, 55, 46, 0.25);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(228, 207, 170, 0.62);
  color: var(--white);
}

.btn.light {
  background: var(--white);
  color: var(--green-dark);
  border-color: var(--line);
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 24, 20, 0.9), rgba(7, 34, 29, 0.56) 48%, rgba(7, 34, 29, 0.18)),
    linear-gradient(180deg, rgba(4, 24, 20, 0.08), rgba(4, 24, 20, 0.42));
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 28px;
  z-index: 1;
  border: 1px solid rgba(228, 207, 170, 0.24);
  pointer-events: none;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.018);
}

.hero .container {
  position: relative;
  z-index: 2;
  padding: 118px 0 86px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

h1 {
  max-width: 880px;
  font-size: 96px;
}

h2 {
  font-size: 60px;
}

h3 {
  font-size: 26px;
}

.lead {
  max-width: 720px;
  margin: 24px 0 0;
  font-size: 23px;
  color: rgba(255, 255, 255, 0.9);
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(760px, 100%);
  margin-top: 58px;
  background: rgba(251, 250, 244, 0.13);
  border: 1px solid rgba(228, 207, 170, 0.34);
  border-radius: 8px;
  overflow: hidden;
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
}

.hero-stats div {
  padding: 22px;
  background: rgba(251, 250, 244, 0.08);
}

.hero-stats strong {
  display: block;
  color: var(--gold-soft);
  font-size: 30px;
  font-family: Georgia, "Times New Roman", serif;
}

.hero-stats span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.section {
  position: relative;
  padding: 104px 0;
}

.section.soft {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), transparent 42%),
    var(--soft);
}

.section.dark {
  background:
    linear-gradient(135deg, rgba(185, 138, 71, 0.16), transparent 34%),
    var(--green-dark);
  color: var(--white);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 50px;
}

.section-head h2 {
  text-wrap: balance;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.dark .section-head p {
  color: rgba(255, 255, 255, 0.78);
}

.grid {
  display: grid;
  gap: 20px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  position: relative;
  min-height: 100%;
  padding: 30px;
  border: 1px solid rgba(18, 27, 24, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.68)),
    var(--white);
  box-shadow: 0 18px 50px rgba(20, 30, 26, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card::before {
  content: "";
  position: absolute;
  left: 30px;
  right: 30px;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0.62;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(185, 138, 71, 0.24);
  box-shadow: 0 28px 70px rgba(20, 30, 26, 0.11);
}

.card h3 {
  margin-bottom: 12px;
}

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

.icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
  margin-bottom: 20px;
  padding: 8px;
  border: 1px solid rgba(185, 138, 71, 0.22);
  border-radius: 50%;
  background: #faf6ed;
}

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

.split p {
  color: var(--muted);
  font-size: 18px;
}

.image-stack {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 14px;
  align-items: end;
}

.image-stack img {
  width: 100%;
  object-fit: cover;
  border: 1px solid rgba(185, 138, 71, 0.2);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-stack img:first-child {
  aspect-ratio: 4 / 5;
}

.image-stack img:last-child {
  aspect-ratio: 1 / 1.25;
  margin-bottom: 36px;
}

.page-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: end;
  padding: 118px 0 78px;
  background: var(--green-dark);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(4, 24, 20, 0.9), rgba(7, 34, 29, 0.62) 48%, rgba(7, 34, 29, 0.24)),
    linear-gradient(180deg, rgba(4, 24, 20, 0.16), rgba(4, 24, 20, 0.5));
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 26px;
  z-index: 2;
  border: 1px solid rgba(228, 207, 170, 0.24);
  pointer-events: none;
}

.page-hero .container {
  display: block;
}

.page-hero .container > div {
  position: relative;
  z-index: 3;
  width: min(760px, 100%);
  padding-left: 28px;
  border-left: 2px solid rgba(228, 207, 170, 0.58);
}

.page-hero h1 {
  max-width: 760px;
  text-wrap: balance;
}

.page-hero p {
  margin: 22px 0 0;
  max-width: 680px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 21px;
}

.page-hero img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: scale(1.018);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.gallery img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
  border: 1px solid rgba(185, 138, 71, 0.18);
  border-radius: 8px;
  box-shadow: 0 14px 42px rgba(20, 30, 26, 0.08);
}

.gallery img:nth-child(1) {
  grid-column: span 7;
  min-height: 440px;
}

.gallery img:nth-child(2) {
  grid-column: span 5;
  min-height: 440px;
}

.gallery img:nth-child(n + 3) {
  grid-column: span 4;
}

.teacher {
  overflow: hidden;
  padding: 0;
  background: #fffdf8;
}

.teacher img {
  width: 100%;
  aspect-ratio: 4 / 4.5;
  object-fit: cover;
}

.teacher .teacher-body {
  padding: 24px;
}

.teacher .role {
  margin: 4px 0 12px;
  color: var(--gold);
  font-weight: 800;
}

.price-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: start;
  padding: 38px 0;
  border-top: 1px solid var(--line);
}

.price {
  white-space: nowrap;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 700;
  color: var(--green-dark);
}

.note {
  color: var(--muted);
  font-size: 14px;
}

.quote {
  padding: 28px;
  border-left: 3px solid var(--gold);
  background: #fffdf8;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 14px 42px rgba(20, 30, 26, 0.06);
}

.quote p {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
}

.video-grid iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 8px;
  background: #101614;
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(185, 138, 71, 0.18), transparent 42%),
    var(--green-dark);
  color: var(--white);
  box-shadow: var(--shadow);
}

.contact-panel > div {
  padding: 42px;
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.8);
}

.contact-panel .note {
  color: rgba(255, 255, 255, 0.72);
}

.map-frame {
  min-height: 460px;
  border: 0;
  width: 100%;
  height: 100%;
  filter: grayscale(0.25);
}

.form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.form input,
.form textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(228, 207, 170, 0.28);
  border-radius: 6px;
  padding: 13px 15px;
  background: rgba(255, 255, 255, 0.09);
  color: var(--white);
  font: inherit;
}

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

.form input::placeholder,
.form textarea::placeholder {
  color: rgba(255, 255, 255, 0.58);
}

.site-footer {
  padding: 46px 0;
  border-top: 1px solid var(--line);
  background: #f6f2e8;
  color: var(--muted);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-grid strong {
  color: var(--ink);
}

@media (max-width: 980px) {
  h1 {
    font-size: 64px;
  }

  h2 {
    font-size: 44px;
  }

  .lead {
    font-size: 21px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .nav-links.open {
    display: flex;
  }

  .phone {
    display: none;
  }

  .section-head,
  .split,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .grid.three,
  .grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 36px;
  }

  .lead {
    font-size: 18px;
  }

  .container {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    min-height: auto;
  }

  .hero .container {
    padding: 90px 0 38px;
  }

  .hero-stats,
  .grid.two,
  .grid.three,
  .grid.four,
  .price-card {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 62px 0;
  }

  .page-hero {
    min-height: 560px;
    padding: 92px 0 56px;
  }

  .page-hero::after {
    inset: 14px;
  }

  .page-hero .container > div {
    padding-left: 18px;
  }

  .page-hero p {
    font-size: 18px;
  }

  .gallery img,
  .gallery img:nth-child(1),
  .gallery img:nth-child(2),
  .gallery img:nth-child(n + 3) {
    grid-column: span 12;
    min-height: 250px;
  }

  .header-actions .btn {
    display: none;
  }

  .price {
    white-space: normal;
  }
}
