
:root {
  --bg: #fff;
  --text: #2f261d;
  --accent: #b57a3c;
  --accent2: #8f5a2b;
  --gap: 12px;
  --header-bg: #f7fafa;
  --header-border: rgba(0, 0, 0, 0.06);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  color: #fff;
  font-family: Arial, sans-serif;
}

html {
  scroll-padding-top: 100px;
}

body {
  background-image:
    linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.75)),
    url("../images/fon.jpg");
  background-repeat: no-repeat, no-repeat;
  background-position: center center, center center;
  background-size: cover, cover;
  background-attachment: fixed, fixed;
}
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(180deg, #f3e8d8 0%, var(--header-bg) 100%);
  border-bottom: 1px solid var(--header-border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.content {
  background: transparent;
}

    img, video {
      max-width: 100%;
      height: auto;
      display: block;
    }

    .container {
      width: 100%;
      max-width: 1180px;
      margin: 0 auto;
      padding: 0 20px;
    }


    .nav {
      min-height: 88px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      padding: 14px 0;
    }

    .menu {
      display: flex;
      align-items: center;
      gap: 18px;
      flex-wrap: wrap;
      line-height: 1.2;
    }

    .menu a {
      color: var(--text);
      text-decoration: none;
      font-weight: 700;
      padding: 10px 0;
      white-space: nowrap;
      transition: color 0.2s ease;
    }

    .menu a:hover {
      color: var(--accent);
    }

    .nav-actions {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-shrink: 0;
    }

    .btn {
      border: 0;
      border-radius: 14px;
      padding: 12px 18px;
      font-weight: 700;
      cursor: pointer;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      white-space: nowrap;
    }

    .btn-primary {
      color: #fff;
      background: linear-gradient(135deg, var(--accent), var(--accent2));
    }

    .btn-secondary {
      color: #fff;
      background: rgba(143, 90, 43, 0.9);
    }

    .burger {
      display: none;
      border: 0;
      background: transparent;
      font-size: 24px;
      cursor: pointer;
      color: var(--text);
    }

  section[id] {
  scroll-margin-top: 100px;
}
	 

    #services {
      scroll-margin-top: 10px;
    }
	


    .section {
      padding: 40px 0;
    }

    .section-head {
      margin-bottom: 14px;
    }

    .section-head span {
      color: var(--accent);
      font-weight: 700;
      font-size: 18px;
    }

   

    section#offer-block {
      margin-top: 30px;
    }

    .offer-block {
      padding-top: 20px;
    }

    .offer-grid {
      display: grid;
      grid-template-columns: 1.4fr 1fr;
      gap: 28px;
      align-items: stretch;
    }

    .offer-text,
    .offer-cards {
      background: rgba(255, 255, 255, 0.96);
      border: 1px solid rgba(181, 122, 60, 0.12);
      border-radius: 28px;
      box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
      padding: 28px;
      min-width: 0;
    }

    .offer-label {
      display: inline-block;
      margin-bottom: 14px;
      color: #b57a3c;
      font-weight: 800;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      font-size: 12px;
    }

    .offer-text h2 {
      margin: 0 0 18px;
      font-size: clamp(28px, 3vw, 42px);
      line-height: 1.15;
      color: #2f261d;
    }

    .offer-text p {
      margin: 0 0 14px;
      font-size: 19px;
      line-height: 1.75;
      font-weight: 700;
      color: #4d4032;
    }

    .offer-highlight {
      margin-top: 18px;
      padding: 16px 18px;
      border-left: 4px solid #b57a3c;
      background: rgba(181, 122, 60, 0.08);
      border-radius: 16px;
      font-weight: 700;
      line-height: 1.6;
      color: #660033;
    }

    .offer-cards {
      display: grid;
      gap: 16px;
    }

    .offer-card {
      background: rgba(181, 122, 60, 0.08);
      border-radius: 20px;
      padding: 18px;
      border: 1px solid rgba(0, 0, 0, 0.05);
      transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .offer-card:hover {
      transform: translateY(-3px);
      box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    }

    .offer-card h3 {
      margin: 0 0 8px;
      font-size: 20px;
      color: #2f261d;
    }

    .offer-card p {
      margin: 0;
      font-size: 19px;
      line-height: 1.6;
      font-weight: 700;
      color: #660033;
    }

    .reels-wrapper-horizontal {
      position: relative;
      width: 100%;
      padding: 0 56px;
    }

    .reels-row {
  display: grid;
  gap: var(--gap);
  overflow: hidden;
  scroll-behavior: smooth;
  align-items: start;
  min-width: 0;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 5 * var(--gap)) / 6);
}
	

    .reel {
      width: 100%;
      aspect-ratio: 9 / 16;
      border-radius: 18px;
      border: 8px solid #222;
      overflow: hidden;
      background: #000;
      position: relative;
      cursor: pointer;
    }

    .reel video,
    .reel-video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .reels-arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 44px;
      height: 44px;
      border: 0;
      border-radius: 10px;
      background: rgba(80, 80, 80, 0.75);
      color: #fff;
      z-index: 20;
      cursor: pointer;
      font-size: 18px;
    }

    .reels-prev { left: 8px; }
    .reels-next { right: 8px; }

    .reels-footer {
      display: flex;
      justify-content: center;
      margin-top: 14px;
    }

    .reels-list-container {
      display: none;
      position: fixed;
      inset: 0;
      background: var(--bg);
      z-index: 3000;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }

    .reels-list-container.active {
      display: flex;
    }

    .reels-list {
      width: 100%;
      height: 100%;
      overflow-y: auto;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      scroll-behavior: smooth;
      gap: 4px;
      padding: 4px 0 80px;
    }

    .reels-list-item {
      width: 100%;
      height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      flex: 0 0 auto;
      margin: 0;
    }

    .reel.reel-full {
      width: auto;
      height: 100vh;
      aspect-ratio: 9 / 16;
      background: #000;
      overflow: hidden;
      border: 0;
      border-radius: 18px;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    }

    .reel-video.reel-video-full {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .reels-list-footer {
      position: fixed;
      left: 0;
      right: 0;
      bottom: 18px;
      display: flex;
      justify-content: center;
      z-index: 3005;
      pointer-events: none;
    }

    .reels-list-footer .btn {
      min-width: 170px;
      position: relative;
      z-index: 3006;
      pointer-events: auto;
    }
	

    .reveal {
      opacity: 1;
      transform: none;
      transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .reveal.visible {
      opacity: 1;
      transform: none;
    }

    .grid-3 {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 18px;
    }

    .card {
      background: linear-gradient(180deg, #fff 0%, #f9f4ed 100%);
      border: 1px solid rgba(181, 122, 60, 0.12);
      border-radius: 18px;
      padding: 18px;
      box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
      text-decoration: none;
      color: inherit;
      min-width: 0;
    }

    .card h3 {
      margin: 0 0 8px;
      font-size: 18px;
      color: #2f261d;
    }

    .card p {
      margin: 0;
      font-size: 15px;
      line-height: 1.6;
      color: #4d4032;
    }

    .zagjkjvok h1 {
      margin: 0;
      font-size: clamp(28px, 4vw, 50px);
      line-height: 1.2;
      background: #fff;
      text-align: center;
      color: #660033;
      padding: 14px 10px;
    }

    @media (max-width: 1200px) {
      .offer-grid {
        grid-template-columns: 1.2fr 1fr;
      }

      .reels-row {
        grid-auto-columns: calc((100% - 2 * var(--gap)) / 3);
      }
    }

    @media (max-width: 900px) {
      .nav {
        min-height: 76px;
        flex-wrap: wrap;
      }

      .menu {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 10px 0 14px;
      }

      .menu.open {
        display: flex;
      }

      .burger {
        display: block;
      }

      .nav-actions {
        margin-left: auto;
      }

      .offer-grid {
        grid-template-columns: 1fr;
      }

      .reels-wrapper-horizontal {
        padding: 0 12px;
      }

      .grid-3 {
        grid-template-columns: 1fr 1fr;
      }
    }

    @media (max-width: 768px) {
      .container {
        padding: 0 14px;
      }

      .nav {
        min-height: 72px;
      }

      .offer-text,
      .offer-cards {
        padding: 20px;
        border-radius: 22px;
      }

      .offer-text h2 {
        font-size: 30px;
      }

      .offer-text p,
      .offer-card p {
        font-size: 16px;
      }

      .reels-row {
        grid-auto-columns: calc((100% - var(--gap)) / 2);
      }

      .grid-3 {
        grid-template-columns: 1fr;
      }

      .reel.reel-full {
        height: 88vh;
      }
	  .offer-card .teacher-photo {
  display: block;
  margin: 0 auto 12px;
  max-width: 100%;
  height: auto;
}

@media (max-width: 480px) {
  .offer-card .teacher-photo {
    width: 100%;
    max-width: 260px;
  }
}
    }
@media (max-width: 900px) {
  body { padding-top: 76px; }
}


@media (max-width: 480px) {
  body { padding-top: 64px; }
}
    @media (max-width: 480px) {
      .container {
        padding: 0 10px;
      }

      .nav {
        min-height: 64px;
        padding: 10px 0;
      }

      .menu a {
        padding: 8px 0;
      }

      .btn {
        padding: 10px 14px;
        border-radius: 12px;
        font-size: 14px;
      }

      .offer-text,
      .offer-cards {
        padding: 16px;
        border-radius: 18px;
      }

      .offer-text h2 {
        font-size: 24px;
      }

      .offer-text p,
      .offer-card p {
        font-size: 15px;
        line-height: 1.55;
      }

      .offer-card h3 {
        font-size: 17px;
      }

      .reels-wrapper-horizontal {
        padding: 0 6px;
      }

      .reels-row {
        grid-auto-columns: 100%;
      }

      .reels-arrow {
        width: 38px;
        height: 38px;
      }

      .reel {
        border-width: 5px;
      }

      .reel.reel-full {
        width: 94vw;
        height: 88vh;
      }

      .reels-list-footer .btn {
        min-width: 140px;
      }

      .grid-3 {
        grid-template-columns: 1fr;
      }

      .zagjkjvok h1 {
        font-size: 24px;
        padding: 10px 8px;
      }

      .section {
        padding: 28px 0;
      }
    }

    @media (max-width: 360px) {
      .container {
        padding: 0 8px;
      }

      .offer-text,
      .offer-cards {
        padding: 14px;
      }

      .offer-text h2 {
        font-size: 22px;
      }

      .offer-text p,
      .offer-card p {
        font-size: 14px;
      }

      .reel.reel-full {
        width: 96vw;
        height: 84vh;
      }

      .btn {
        padding: 9px 12px;
        font-size: 13px;
      }

      .zagjkjvok h1 {
        font-size: 21px;
      }
	  @media (min-width: 1200px) {
  .reels-row {
    grid-auto-columns: calc((100% - 4 * var(--gap)) / 5);
  }
}

@media (min-width: 1400px) {
  .reels-row {
    grid-auto-columns: calc((100% - 5 * var(--gap)) / 6);
  }
}

@media (min-width: 1700px) {
  .reels-row {
    grid-auto-columns: calc((100% - 6 * var(--gap)) / 7);
  }
}

@media (min-width: 2000px) {
  .reels-row {
    grid-auto-columns: calc((100% - 7 * var(--gap)) / 8);
  }
}

@media (min-width: 2400px) {
  .reels-row {
    grid-auto-columns: calc((100% - 8 * var(--gap)) / 9);
  }
}
    }
 

.review-card-main {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.review-carousel {
  width: 100%;
  max-height: clamp(480px, 60vh, 860px);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scrollbar-width: none;
  border-radius: 18px;
  background: #eee;
}

.review-carousel::-webkit-scrollbar {
  display: none;
}

.review-slide {
  width: 100%;
  aspect-ratio: 9 / 16;
  flex: 0 0 auto;
  margin-bottom: 12px;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.review-slide:last-child {
  margin-bottom: 0;
}

.review-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

@media (max-width: 1600px) {
  .review-carousel {
    max-height: clamp(460px, 58vh, 760px);
  }
}

@media (max-width: 1366px) {
  .review-carousel {
    max-height: clamp(430px, 56vh, 700px);
  }
}

@media (max-width: 1200px) {
  .review-carousel {
    max-height: clamp(400px, 54vh, 640px);
  }
}

@media (max-width: 900px) {
  .review-carousel {
    max-height: none;
  }

  .review-slide {
    aspect-ratio: 9 / 16;
  }
}

@media (max-width: 480px) {
  .review-carousel {
    border-radius: 14px;
  }

  .review-slide {
    margin-bottom: 10px;
  }
}
 
  .videos-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 18px;
  align-items: start;
}

.video-main {
  background: #fff;
  border: 1px solid rgba(181, 122, 60, 0.12);
  border-radius: 20px;
  padding: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.video-main video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  background: #000;
  display: block;
}

.video-main-info {
  margin-top: 12px;
}

.video-main-info h3 {
  margin: 0 0 8px;
  font-size: 20px;
  color: #2f261d;
}

.video-main-info p {
  margin: 0;
  color: #4d4032;
  line-height: 1.6;
}
.video-sidebar {
  height: 60vh;
  overflow: hidden;
  display: grid;
  gap: 10px;
  min-height: 0;
  padding-right: 0;
}



.video-thumb {
  width: 100%;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
  align-items: start;
  border: 0;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(181, 122, 60, 0.12);
  border-radius: 16px;
  padding: 10px;
  text-align: left;
  cursor: pointer;
}

.video-thumb img {
  width: 120px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
}

.video-thumb h4 {
  margin: 0 0 6px;
  font-size: 15px;
  color: #2f261d;
}

.video-thumb p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #4d4032;
}

.video-thumb.active {
  outline: 2px solid var(--accent);
  background: rgba(255, 255, 255, 0.98);
}

@media (max-width: 900px) {
  .videos-layout {
    grid-template-columns: 1fr;
  }

  .video-sidebar {
    max-height: none;
  }
}

@media (max-width: 480px) {
  .video-thumb {
    grid-template-columns: 96px 1fr;
  }

  .video-thumb img {
    width: 96px;
  }
}

.faq-section {
  padding: 60px 0;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(181, 122, 60, 0.14);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  background: linear-gradient(180deg, #fff 0%, #f9f4ed 100%);
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 24px;
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-answer {
  padding: 0 20px 18px;
  color: #4d4032;
  line-height: 1.7;
  font-size: 16px;
}

@media (max-width: 480px) {
  .faq-item summary {
    font-size: 16px;
    padding: 16px;
  }

  .faq-answer {
    padding: 0 16px 16px;
    font-size: 15px;
  }
}


#contact {
  padding: 60px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 24px;
  align-items: start;
}

.contact-info {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(181, 122, 60, 0.12);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}

.contact-info span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 12px;
}

.contact-info h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.2;
  color: var(--text);
}

.contact-info p {
  margin: 0 0 12px;
  line-height: 1.7;
  color: #4d4032;
  font-size: 16px;
}

.contact-details {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.contact-details p {
  margin: 0 0 8px;
}

.form {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(181, 122, 60, 0.12);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}

.form-row {
  margin-bottom: 14px;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid rgba(47, 38, 29, 0.15);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  font-size: 16px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
}

.form textarea {
  resize: vertical;
  min-height: 120px;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(181, 122, 60, 0.12);
}

.form .counter {
  margin-top: 8px;
  font-size: 13px;
  color: #7b6757;
}

.form .btn {
  width: 100%;
  min-height: 48px;
}

.g-recaptcha {
  max-width: 100%;
  overflow-x: auto;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .contact-info,
  .form {
    padding: 18px;
    border-radius: 18px;
  }

  .form input,
  .form select,
  .form textarea {
    font-size: 15px;
    padding: 12px 14px;
  }
}

.price-section {
  padding: 60px 0;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(181, 122, 60, 0.14);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
  min-width: 0;
}

.price-card h3 {
  margin: 0;
  font-size: 22px;
  color: var(--text);
}

.price-value {
  font-size: 34px;
  line-height: 1.1;
  font-weight: 800;
  color: var(--accent2);
}

.price-list {
  margin: 0;
  padding-left: 18px;
  color: #4d4032;
  line-height: 1.7;
}

.price-list li {
  margin-bottom: 6px;
}

.price-btn {
  width: 100%;
  margin-top: auto;
}

.price-card--featured {
  border: 2px solid var(--accent);
  background: linear-gradient(180deg, #fff 0%, #f9f4ed 100%);
  transform: translateY(-4px);
}

.price-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 1200px) {
  .price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .price-grid {
    grid-template-columns: 1fr;
  }

  .price-card--featured {
    transform: none;
  }
}

@media (max-width: 480px) {
  .price-card {
    padding: 20px;
    border-radius: 18px;
  }

  .price-value {
    font-size: 28px;
  }
}

