 /* =========================
   Base & Variables
========================= */
:root{
  --brand:        #d6b7ae;
  --bg-page:      #ebebeb;
  --ink:          #030303;
  --ink-muted:    #4b5563;
  --ink-accent:   #6A8793;
  --rose:         #7a555b;
  --rose-200:     #FFEBEC;
  --amber-50:     #fef6db;
  --sand-50:      rgba(255,244,231,0.82);
  --card-bg:      #e5d0ed;
  --primary:      #7a555b;
  --primary-weak: #d28e70;
  --footer-bg:    #d6e2eb;

  --radius:       8px;
  --radius-lg:    12px;
  --shadow-sm:    0 0 10px rgba(0,0,0,0.1);
  --shadow-md:    0 10px 15px rgba(0,0,0,0.1);
}

html, body{
  font-family: "Montserrat", sans-serif !important;
  background-color: var(--bg-page);
  scroll-behavior: smooth;
}

/* =========================
   Scroll reveal animations
========================= */
[data-scroll]{
  opacity: 1;
  transform: none;
  --reveal-translate-x: 0px;
  --reveal-translate-y: 40px;
  --reveal-scale: 1;
  --reveal-duration: .6s;
  --reveal-easing: cubic-bezier(0.4, 0, 0.2, 1);
}

section[data-scroll]{
  --reveal-translate-y: 120px;
  --reveal-duration: .9s;
  --reveal-easing: cubic-bezier(0.22, 1, 0.36, 1);
}

#main-left-block[data-scroll]{
  --reveal-translate-y: 0px;
  --reveal-translate-x: 0px;
}

#main-photo[data-scroll]{
  --reveal-translate-x: 80px;
  --reveal-translate-y: 0px;
  --reveal-duration: .85s;
}

html.js-ready [data-scroll]{
  opacity: 0;
  transform: translate3d(var(--reveal-translate-x), var(--reveal-translate-y), 0) scale(var(--reveal-scale));
  transition: opacity var(--reveal-duration) var(--reveal-easing), transform var(--reveal-duration) var(--reveal-easing);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

/* keep fixed backgrounds working on sections that need parallax */
html.js-ready #main-left-block[data-scroll]{
  transform: translate3d(var(--reveal-translate-x), var(--reveal-translate-y), 0) scale(var(--reveal-scale));
  will-change: opacity, transform;
}

html.js-ready [data-scroll].is-visible{
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

[data-scroll-child]{
  opacity: 1;
  transform: none;
  --child-translate-x: 0px;
  --child-translate-y: 24px;
  --child-scale: .94;
  --child-duration: .65s;
  --child-easing: cubic-bezier(0.33, 1, 0.68, 1);
}

[data-scroll-child].reveal-child-left{
  --child-translate-x: -45px;
  --child-translate-y: 0px;
}

[data-scroll-child].reveal-child-right{
  --child-translate-x: 45px;
  --child-translate-y: 0px;
}

[data-scroll-child].reveal-child-zoom{
  --child-scale: .9;
  --child-translate-y: 30px;
  --child-duration: .7s;
}

html.js-ready [data-scroll-child]{
  opacity: 0;
  transform: translate3d(var(--child-translate-x), var(--child-translate-y), 0) scale(var(--child-scale));
  transition: opacity var(--child-duration) var(--child-easing), transform var(--child-duration) var(--child-easing);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

html.js-ready [data-scroll-child].is-visible{
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.social-link{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
}

.social-link__icon{
  width: 40px;
  height: 40px;
  display: inline-block;
}

@media (prefers-reduced-motion: reduce){
  html.js-ready [data-scroll],
  html.js-ready [data-scroll-child]{
    opacity: 1 !important;
    transform: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .faq__content{
    transition-duration: 0.01ms !important;
  }
  .faq__icon,
  .faq__icon::before,
  .faq__icon::after{
    transition-duration: 0.01ms !important;
  }
}

/* опціональні класи */
.font-display, .font-sans{ font-family: "Montserrat", sans-serif; }

/* =========================
   Header / Nav
========================= */
header, #mnav{
  background-color: var(--sand-50);
  box-shadow: 2px -2px 10px rgba(3,3,3,0.1);
  color: #7a555b;
  font-size: clamp(18px, 4vw, 24px);
  line-height: clamp(24px, 4.8vw, 31px);
  margin: auto !important;
}

#mnav{
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
}
#mnav.open{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

nav{
  color: var(--ink);
  font-size: clamp(16px, 3vw, 24px);
  line-height: 1.4;
}

/* =========================
   Hero
========================= */
#main-photo{
  position: absolute;
  top: -85px;
  left: 50%;
  width: 50%;
  height: 900px;
  background: url(img/main.jpg) -20px center / cover no-repeat;
}

h1.main{
  color: #AF6B38;
  font-size: clamp(32px, 7vw, 52px);
  font-weight: 500;
  line-height: clamp(40px, 8vw, 68px);
}
h1.main span{ color: var(--ink-accent); }
h1.main strong{ font-weight: 600; }

.text-block{
  margin-top: 50px;
  color: #7a555b;
  font-size: clamp(16px, 4.5vw, 24px);
  line-height: 1.5;
}

/* кнопка у хедері */
.order-lesson{
  cursor: pointer;
  position: relative; /* зберігаємо положення, якщо залежало від top/left */
  width: 206px;
  height: 52px;
  border: 0;
  box-sizing: border-box;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  background-color: var(--primary-weak);
  color: rgba(250,250,248,0.83);
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: clamp(16px, 3.5vw, 18px);
  line-height: 1.4;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  outline: none;
}

.order-lesson__icon{ display: none; }
.order-lesson__text{ display: inline; }
.order-lesson__icon svg{ display: block; }

/* CTA в геро */
#try-first-leson{
  display: inline-block;
  cursor: pointer;
  text-align: center;
  width: 571px;
  height: 65px;
  margin-top: 60px;
  padding: 14px 8px;
  border: 0;
  box-sizing: border-box;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  background-color: var(--primary);
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: clamp(18px, 5vw, 24px);
  line-height: 1.4;
  outline: none;
}


/* =========================
   About
========================= */
section.about{
  background-color: #fff;
  min-height: 450px;
  padding-top: 60px;
}

.title{
  color: var(--ink);
  font-size: clamp(28px, 6vw, 42px);
  font-weight: 500;
  line-height: clamp(36px, 7vw, 52px);
  text-align: center;
  margin: 0 auto 60px;
}

.text{
  color: var(--ink-muted);
  font-size: clamp(16px, 4.5vw, 24px);
  line-height: 1.55;
  text-align: center;
  max-width: 950px;
  margin: 0 auto 40px;
}

.section-heading{
  color: var(--ink);
  font-size: clamp(28px, 6vw, 42px);
  font-weight: 500;
  line-height: clamp(36px, 7vw, 52px);
}
.section-heading--left{ text-align: left; }
.section-heading--center{ text-align: center; margin-left: auto; margin-right: auto; }
.section-heading--xl{
  font-size: clamp(32px, 7vw, 60px);
  line-height: clamp(40px, 8vw, 70px);
}

.section-body{
  color: var(--ink-muted);
  font-size: clamp(16px, 4.5vw, 24px);
  line-height: 1.55;
}
.section-body--left{ text-align: left; }
.section-body--center{ text-align: center; }
.section-body--narrow{ max-width: 46ch; margin-left: auto; margin-right: auto; }
.section-body--accent{
  color: var(--ink-accent);
  line-height: 1.5;
}
.section-body__highlight{
  color: var(--ink);
  font-weight: 600;
}

.section-card{
  font-family: "Roboto", sans-serif;
}
.section-card__title{
  color: var(--ink);
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  font-size: clamp(18px, 3.5vw, 22px);
  line-height: 1.4;
}
.section-card__text{
  margin-top: 12px;
  color: var(--ink-muted);
  font-family: "Roboto", sans-serif;
  font-size: clamp(16px, 4vw, 20px);
  line-height: 1.5;
}

.section-list{
  color: var(--ink-muted);
}
.section-list__icon{
  color: var(--rose);
}
.section-list__text{
  color: var(--ink-muted);
  font-size: clamp(16px, 4vw, 20px);
  line-height: 1.5;
}

.faq__summary{
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  font-size: clamp(18px, 4vw, 22px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.faq__summary-text{
  flex: 1 1 auto;
}
.faq__icon{
  position: relative;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 50%;
  background-color: rgba(122, 85, 91, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .35s ease, background-color .35s ease, box-shadow .35s ease;
}
.faq__icon::before,
.faq__icon::after{
  content: "";
  position: absolute;
  border-radius: 999px;
  background-color: var(--primary);
  transition: transform .35s ease, opacity .35s ease, background-color .35s ease;
}
.faq__icon::before{
  width: 14px;
  height: 2px;
}
.faq__icon::after{
  width: 2px;
  height: 14px;
}
.faq__content{
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height .35s ease, opacity .35s ease;
  will-change: max-height, opacity;
}
details[open] .faq__content{
  opacity: 1;
  max-height: none;
}
.faq__summary::-webkit-details-marker{ display: none; }
details[open] .faq__icon{
  background-color: var(--primary);
  box-shadow: 0 10px 20px rgba(122, 85, 91, 0.25);
  transform: rotate(180deg);
}
details[open] .faq__icon::before{
  background-color: #fff;
}
details[open] .faq__icon::after{
  opacity: 0;
  transform: scaleY(0);
  background-color: #fff;
}
details[open] .faq__summary{ color: var(--primary); }
.faq__answer{
  margin-top: 12px;
  color: var(--ink-muted);
  font-size: clamp(16px, 4.5vw, 24px);
  line-height: 1.55;
}

.contact-links{
  color: var(--ink-muted);
  font-size: clamp(16px, 4vw, 20px);
}

@media (max-width: 767px){
  .section-heading--left{ text-align: center; }
  .section-body--left{ text-align: center; }
}

/* =========================
   Features
========================= */
.features{
  background-color: var(--rose-200);
  min-height: 450px;
  padding-top: 60px;
}
.features .title{ color: #7A555B; }
.features .text{ color: var(--ink-accent); }

.blocks{
  padding: 0 0 62px 62px;
}

.card{
  display: inline-block;
  width: 30%;
  height: 156px;
  margin-top: 32px;
  margin-right: 32px;
  background-color: var(--card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;

}
.blocks div.card svg{
  position: absolute;
  top:20px;
  left:12px;
}
.card h3{
  
  margin: 14px 0 0 62px;
  color: var(--ink);
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: clamp(18px, 4.5vw, 22px);
  line-height: 1.4;
}
.card p{
  width: 70%;
  margin: 8px 0 0 62px;
  color: var(--ink-muted);
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: clamp(14px, 4.2vw, 19px);
  line-height: 1.5;
}

/* слайдер на мобі */
.slider-arrow, .slider-dots{ display: none; }

/* =========================
   Result
========================= */
.result{
  display: flex;
  align-items: center;
  min-height: 450px;
  background-color: #fff;
}
.result .first{ width: 39%; justify-content: center; }
.result .second{ width: 60%; margin-left: 4%; vertical-align: middle; }
.result h3, .trevel h3{
  color: #000;
  font-size: clamp(28px, 6vw, 52px);
  font-weight: 500;
  line-height: clamp(36px, 7vw, 68px);
}
.result .second p:first-of-type{ margin-top: 0; }
.result .second p{
  margin-top: 4%;
  margin-right: 10%;
  color: var(--ink-accent);
  font-size: clamp(18px, 4.5vw, 24px);
  line-height: 1.5;
}
.result .second p span{ color: #000; }

/* =========================
   Travel
========================= */
.trevel{
  padding: 126px 0 98px;
  background-color: var(--amber-50);
}
.trevel .first, .trevel .second{ display: flex; }
.trevel img{
  width: 570px;
  height: auto;
  margin: 0 74px 0 91px;
}
.trevel div h3{
  margin-left: 0;
  color: #595236;
  font-size: clamp(26px, 6vw, 42px);
  font-weight: 500;
  line-height: clamp(32px, 7vw, 52px);
}
.trevel div{ margin-right: 60px; }
.trevel div p{
  margin-top: 40px;
  color: var(--ink-muted);
  font-size: clamp(16px, 4.5vw, 24px);
  line-height: 1.55;
}
.trevel .second{ margin-top: -200px; }
.trevel .second div{
  margin-left: 91px;
  padding-top: 250px;
}

/* =========================
   Footer
========================= */
footer{
  display: grid;
  grid-template-columns: auto 1fr auto; /* ліво-центр-право */
  align-items: center;
  min-height: 240px;
  padding: 24px 100px;                  /* 100px зліва/справа на десктопі */
  background-color: var(--footer-bg);
  gap: 16px;
}
footer img{
  width: 250px;
  height: 50px;
  margin-left: 0;                        /* забираємо старий margin */
}
footer p, footer h5{
  color: #212225;
  font-size: clamp(14px, 3.3vw, 18px);
  line-height: 1.5;
  margin: 0;
}
footer p{
  text-align: center;
}
footer h5{ font-weight: 500; margin-bottom: 8px; text-align: right; }
footer div p{ margin-top: 6px; width: 250px; text-align: right; }

/* =========================
   Contact Form
========================= */
section.form{
  background-color: #fff;
  padding-top: 132px;
  text-align: center;
}
.form{ padding-bottom: 120px; }

.form h3{
  color: var(--ink);
  font-size: clamp(32px, 7vw, 60px);
  font-weight: 500;
  line-height: clamp(38px, 8vw, 70px);
  text-align: center;
  margin-bottom: 20px;
}
.form p{
  max-width: 700px;
  margin: 0 auto;
  color: var(--ink-muted);
  font-size: clamp(16px, 4.5vw, 24px);
  line-height: 1.6;
  text-align: center;
}
.form form{ margin-top: 50px; }

.form form input,
.form textarea{
  box-sizing: border-box;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  background-color: #fff;
  color: #000;
  outline: none;
  display: block;
  margin: 0px auto;
  border: 1px solid #d3d3d3;
  padding: 8px 8px;
  font-family: "Roboto", sans-serif;
}

.form form input{
  height: 52px;
  font-size: 18px;
  line-height: 20px;
}
.form textarea{
  height: 108px;
  font-size: 18px;
  line-height: 24px;
  margin-bottom: 20px;
}

#contact-form{
  position: relative;
  transition: transform .35s ease, opacity .35s ease;
  will-change: transform, opacity;
}

#contact-form.contact-form--submitting{
  pointer-events: none;
  animation: contactFormPulse 1.1s ease-in-out infinite alternate;
}

#contact-form.contact-form--submitting::after{
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: calc(var(--radius-lg) + 12px);
  background: linear-gradient(135deg, rgba(255,255,255,0.85), rgba(255,255,255,0.55));
  box-shadow: 0 25px 55px -35px rgba(122,85,91,0.65);
  opacity: .95;
  pointer-events: none;
}

#contact-form.contact-form--submitting::before{
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  margin: -21px;
  border-radius: 50%;
  border: 3px solid rgba(122,85,91,0.22);
  border-top-color: rgba(122,85,91,0.8);
  animation: contactFormSpinner .75s linear infinite;
  z-index: 1;
}

#contact-form.contact-form--sent{
  opacity: 0;
  transform: translateY(-14px) scale(.98);
}

@keyframes contactFormPulse{
  from{ transform: scale(1); }
  to{ transform: scale(.995); }
}

@keyframes contactFormSpinner{
  from{ transform: rotate(0deg); }
  to{ transform: rotate(360deg); }
}

.form-error{
  min-height: 24px;
  max-width: min(600px, 90%);
  margin: 6px auto 0;
  font-size: 16px;
  line-height: 1.5;
  color: #b91c1c;
  text-align: center;
  font-weight: 500;
}

.contact-status{
  min-height: 24px;
  margin: 10px auto 0;
  max-width: min(600px, 90%);
  color: var(--ink-muted);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
  text-align: center;
  transition: color .2s ease;
}

.contact-status--error{ color: #b91c1c; }
.contact-status--success{ color: #166534; }

#contact-status{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(122,85,91,0.15);
  background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.72));
  box-shadow: 0 25px 40px -32px rgba(122,85,91,0.65);
  font-size: clamp(16px, 3.2vw, 18px);
  line-height: 1.65;
  color: #5b4146;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity .35s ease, transform .35s ease, box-shadow .35s ease;
}

#contact-status::before{
  content: "";
  width: 34px;
  height: 34px;
  min-height: 34px;
  min-width: 34px;
  border-radius: 50%;
  background: rgba(122,85,91,0.12);
  border: 1px solid rgba(122,85,91,0.18);
  display: none;
}

#contact-status.contact-status--visible{
  opacity: 1;
  transform: translateY(0);
}

#contact-status.contact-status--pending::before{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  content: "…";
  font-size: 20px;
  color: rgba(122,85,91,0.8);
}

#contact-status.contact-status--pending{
  border-color: rgba(122,85,91,0.25);
  background: linear-gradient(135deg, rgba(122,85,91,0.12), rgba(122,85,91,0.04));
  color: #604549;
}

#contact-status.contact-status--success{
  border-color: rgba(22,101,52,0.35);
  background: linear-gradient(135deg, rgba(86,168,139,0.22), rgba(203,246,220,0.55));
  color: #14532d;
  box-shadow: 0 28px 48px -30px rgba(20,83,45,0.6);
}

#contact-status.contact-status--success::before{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(22,101,52,0.14);
  border-color: rgba(22,101,52,0.35);
  color: #166534;
  content: "✓";
  font-size: 20px;
  font-weight: 600;
}

#contact-status.contact-status--error{
  border-color: rgba(185,28,28,0.35);
  background: linear-gradient(135deg, rgba(248,113,113,0.16), rgba(254,226,226,0.48));
  color: #991b1b;
  box-shadow: 0 28px 48px -30px rgba(185,28,28,0.45);
}

#contact-status.contact-status--error::before{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(185,28,28,0.12);
  border-color: rgba(185,28,28,0.35);
  color: #991b1b;
  content: "!";
  font-size: 20px;
  font-weight: 700;
}

.contact-form--hidden{
  display: none !important;
}

/* глобальна кнопка (залишаю як у вас, щоб не ламати інші місця) */
button.form-btn{
  cursor: pointer;
  width: 35%;
  height: 59px;
  margin-left: auto;
  margin-right: auto;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  background-color: var(--primary);
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: clamp(16px, 3.8vw, 20px);
  line-height: 1.4;
  padding: 0 8px;
  outline: none;
  box-sizing: border-box;
}

/* =========================
   Media Queries
========================= */
@media (max-width: 1280px){
  header{ width: 100%; }
  #main-photo{ left: 52%; width: 48%; }
  #main-block-text{ margin-left: 30px; }
  .card{ width: 45%; }
}

#main-block-text div.inner_text_block{ padding-right: 20px; }

@media (max-width: 1200px){
  h1.main{ font-size: clamp(32px, 6vw, 42px); line-height: clamp(40px, 7vw, 52px); }
  #main-block-text{ width: 530px; }
  #main-photo{ left: 54%; width: 46%; }
  #try-first-leson{
    width: 471px; height: 65px;
    font-size: clamp(18px, 4.8vw, 22px); font-weight: 500; line-height: 1.4;
    margin-top: 60px;
  }
  .text-block{ margin-top: 35px; font-size: clamp(16px, 4vw, 22px); line-height: 1.5; }
}

@media (max-width: 1100px){
  #main-block-text div.inner_text_block{ max-width: 500px; }
}

@media (max-width: 1024px){
  #main-block-text{
    position: absolute;
    top: 30px;
    right: 0;
    width: 70%;
    height: 100%;
    margin-left: 0;
    background-color: rgba(255,255,255,0.6);
  }
  #main-block-text div.inner_text_block{
    max-width: 90%;
    margin: 170px 0 0 10%;
    text-align: center;
  }
  #main-left-block{
    --hero-bg-offset: 0px;
    --hero-bg-base-y: 0px;
    background-image: url(img/main.jpg);
    background-repeat: no-repeat;
    background-size: 108%;
    background-position-x: -40px;
    background-position-y: calc(var(--hero-bg-base-y) + var(--hero-bg-offset));
  }
  #social_block{
    margin-left: auto;
    margin-right: auto;
  }
  /*
  #main-left-block.hero-fixed-background{
    will-change: background-position;
  }
  body {
    background-color: transparent !important;
    background: url(img/main.jpg) -40px 10px / 108% no-repeat;
    background-attachment: fixed;
  }
  section#about{
    opacity: 0.7;
  }*/
  .about-text{ padding: 5%; }
  #main-photo{ display: none; }
  footer h5{ font-weight: 500; margin-bottom: 8px; text-align: center; }
footer div p{ margin-top: 6px; width: 250px; text-align: center; }
}
@media (max-width: 1024px){
  /* prevent horizontal reveal offsets from causing page overflow on tablets and below */
  [data-scroll]{
    --reveal-translate-x: 0px !important;
  }

  [data-scroll-child]{
    --child-translate-x: 0px !important;
  }

  [data-scroll-child].reveal-child-left,
  [data-scroll-child].reveal-child-right{
    --child-translate-x: 0px !important;
  }

  .text-block{
    color: #41393aff;
  }

  h1.main span{
    color: #41393aff;
  }

  h1.main strong{
    color: #976f00;
  }

  footer{
    grid-template-columns: 1fr;          /* колона на планшет/мобілку */
    justify-items: center;
    text-align: center;
    padding: 24px 20px;                  /* менші бокові відступи */
    row-gap: 12px;
  }

  footer img{
    width: 220px;
    height: auto;
  }
}

@media (max-width: 930px){
  #try-first-leson{
    width: auto; height: auto;
    padding: 3% 5%;
    font-size: clamp(16px, 4.5vw, 18px); font-weight: 500; line-height: 1.4;
    margin-top: 60px;
  }
 
  nav{ display: none !important; }
}

/* мобільний слайдер для .features */
@media (max-width: 888px){



  .slider-container{ position: relative; }
  .slider-container .slider-track{
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    padding: 0 16px 60px;
    margin: 0;
    scroll-padding-left: 16px;
    scroll-padding-right: 16px;
    gap: 16px;
  }

#english-tutor .slider-container .slider-track{
    padding: 0 0px 60px;
  }

  .slider-container .slider-track::-webkit-scrollbar{ display: none; }
  .slider-container .slider-track > *{
    flex: 0 0 100%;
    display: block;
    width: 100%;
    scroll-snap-align: start;
  }
  .slider-arrow{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    border: none; border-radius: 9999px;
    background: rgba(255,255,255,0.8);
    color: var(--primary);
    font-size: 20px;
  }
  .slider-arrow.left{ left: 4px; }
  .slider-arrow.right{ right: 4px; }
  .slider-dots{
    position: absolute;
    left: 50%; bottom: 8px;
    transform: translateX(-50%);
    display: flex; gap: 6px;
    margin-bottom: 30px;
  }
  .slider-dots button{
    width: 8px; height: 8px; padding: 0;
    border: none; border-radius: 50%;
    background: #d1d5db;
  }
  .slider-dots button.active{ background: var(--primary); }
}

@media (max-width: 888px){
  .section-list-slider .slider-track{
    list-style: none;
    margin: 0;
    margin-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 768px){
  #main-left-block{
    --hero-bg-base-y: 0px;
   
  }

  .order-lesson{
    width: 52px;
    height: 52px;
    padding: 0;
  }
  .order-lesson__icon{
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .order-lesson__text{ display: none; }
  section.form {
 
      padding-top: 60px;
   
  }
}

@media (max-width: 703px){
  ul.section-list li{
    padding-left: 40px;

  }
  section.about{
    background-color: #fff;
    min-height: 370px;
    padding: 30px;
  }
    #main-block-text div.inner_text_block{
 
    margin: 120px 0 0 10%;

  }
    .title {
      
      margin: 20px auto 30px;
  }
  #try-first-leson{
   
    margin-top: 40px;
  }
  .text, .text-block{ font-size: clamp(16px, 4.5vw, 18px); line-height: 1.5; }
  h1.main{ font-size: clamp(28px, 8vw, 36px); line-height: clamp(34px, 9vw, 46px); }
  #main-left-block{ height: 675px; }
}

@media (max-width: 609px){
  #try-first-leson{ margin-top: 30px; }
}

@media (max-width: 590px){
  #main-block-text{ width: 100%; background-color: rgba(255, 255, 255, 0.1); }
  #main-block-text div.inner_text_block{
   
    margin-left: auto;
    margin-right: auto;
    margin-top:100px;
    background-color: rgba(255, 255, 255, 0.5);
    padding-bottom:20px;
    padding-top:20px;
    padding-left: 13px;
    padding-right: 13px;
    border-radius:8px;
  }
 
  h1.main{ font-size: clamp(26px, 9vw, 28px); line-height: clamp(34px, 10vw, 44px); }
  #try-first-leson{ margin-top: 60px; font-size:16px;}

  .section-body, .text {
    font-size:20px !important;
  }
}
@media (max-width: 575px){
	  #main-left-block {
        height: 590px;
    }
}
@media (max-width: 530px){
  #main-left-block{ background-size: 138%; }
    

}
@media (max-width: 452px){
	  #main-left-block {
        height: 570px;
    }
	    #try-first-leson {
        margin-top: 30px;
    }
	  /*  #main-block-text div.inner_text_block {
        max-width: 98%;
        margin-left: 5%;
    }
	#main-block-text div.inner_text_block{ padding-right: 20px; }*/
}

@media (max-width: 412px){
    #main-block-text div.inner_text_block {
      padding-top: 0px;
    }
  }