:root {
  --orange: #f47a2a;
  --dark: #2f3136;
  --text: #4a4d52;
  --light: #fffaf6;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--dark);
  background: var(--white);
}

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

button,
a {
  font: inherit;
}

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

/* Шапка */

.header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.96);
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-icon {
  display: block;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  color: var(--orange);
}

.logo-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.logo-ring,
.logo-head,
.logo-body,
.logo-dot {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.logo-head {
  fill: var(--white);
}

.logo-dot {
  fill: var(--orange);
  stroke: none;
}

.logo-text {
  font-size: 20px;
  letter-spacing: 0.14em;
  font-weight: 500;
}

.menu-button {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 42px;
  padding: 6px 0;
  border: 0;
  background: transparent;
}

.menu-button span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--dark);
}

.mobile-menu {
  position: absolute;
  top: 100%;
  right: 18px;
  z-index: 30;
  display: grid;
  width: min(330px, calc(100vw - 36px));
  padding: 14px;
  border: 1px solid rgba(47, 49, 54, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 50px rgba(47, 49, 54, 0.14);

  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu a {
  padding: 16px 14px;
  color: var(--dark);
  font-size: 17px;
}

.mobile-menu a:not(.mobile-menu-contact) {
  border-bottom: 1px solid rgba(47, 49, 54, 0.1);
}

.mobile-menu .mobile-menu-contact {
  margin-top: 8px;
  border: 1px solid var(--orange);
  border-radius: 999px;
  color: var(--orange) !important;
  text-align: center;
}

/* Первый экран */

.hero {
  position: relative;
  min-height: calc(100vh - 86px);
  overflow: hidden;
  background: var(--light);
}

.slider,
.slide {
  position: absolute;
  inset: 0;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 20% center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(255, 250, 246, 0.98) 0%,
      rgba(255, 250, 246, 0.88) 30%,
      rgba(255, 250, 246, 0.36) 58%,
      rgba(255, 250, 246, 0.08) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: calc(100vh - 86px);
  max-width: 580px;
  padding: 48px 24px 120px;
}

.hero h1 {
  max-width: 520px;
  font-size: clamp(46px, 11vw, 84px);
  line-height: 0.94;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.hero-name {
  margin-top: 20px;
  color: var(--orange);
  font-size: clamp(19px, 5vw, 30px);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.accent-line {
  width: 74px;
  height: 2px;
  margin: 26px 0;
  background: var(--orange);
}

.hero-description {
  max-width: 430px;
  color: var(--text);
  font-size: clamp(18px, 4.6vw, 26px);
  line-height: 1.55;
}

.main-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  margin-top: 34px;
  padding: 0 28px;
  border: 2px solid var(--orange);
  border-radius: 999px;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.slider-dots {
  position: absolute;
  z-index: 6;
  bottom: 36px;
  left: 50%;
  display: flex;
  gap: 16px;
  transform: translateX(-50%);
}

.dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
}

.dot.active {
  background: var(--orange);
}

/* Блок о преподавателе */

.about {
  padding: 96px 24px;
  background: #ffffff;
}

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

.about-heading {
  max-width: 760px;
  margin-bottom: 54px;
}

.about-symbol {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--orange);
  font-size: 32px;
}

.section-label {
  margin-bottom: 18px;
  color: var(--orange);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.about h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 7vw, 82px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
}

.about h2 span {
  display: block;
  color: var(--orange);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: start;
}

.about-photo {
  position: sticky;
  top: 24px;
  overflow: hidden;
  min-height: 680px;
  border-radius: 28px;
  background: var(--light);
}

.about-photo img {
  width: 100%;
  height: 100%;
  min-height: 680px;
  object-fit: cover;
  object-position: center;
}

.about-content {
  padding-top: 16px;
}

.about-content > p {
  max-width: 680px;
  margin-bottom: 24px;
  color: var(--text);
  font-size: 20px;
  line-height: 1.65;
}

.about-content .about-lead {
  color: var(--dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.25;
}

.about-features {
  margin-top: 48px;
  border-top: 1px solid rgba(47, 49, 54, 0.16);
}

.about-feature {
  display: grid;
  grid-template-columns: 48px minmax(0, 180px) 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(47, 49, 54, 0.16);
}

.about-feature > span {
  color: var(--orange);
  font-size: 14px;
  font-weight: 600;
}

.about-feature h3 {
  font-size: 18px;
  font-weight: 600;
}

.about-feature p {
  color: var(--text);
  font-size: 17px;
  line-height: 1.55;
}

.about-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  margin-top: 42px;
  padding: 0 30px;
  border: 2px solid var(--orange);
  border-radius: 999px;
  color: var(--orange);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
/* Финальный призыв */

.contact {
  padding: 120px 24px;
  color: var(--white);
  background: var(--dark);
}

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

.contact .section-label {
  color: var(--orange);
}

.contact h2 {
  max-width: 980px;
  margin-top: 26px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 8vw, 104px);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.contact h2 span {
  display: block;
  color: var(--orange);
}

.contact-text {
  max-width: 700px;
  margin-top: 38px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 20px;
  line-height: 1.65;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-width: 360px;
  min-height: 70px;
  margin-top: 48px;
  padding: 0 28px;
  border: 2px solid var(--orange);
  border-radius: 999px;
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-button span {
  color: var(--orange);
  font-size: 26px;
}

/* Футер */

.footer {
  padding: 64px 24px 30px;
  color: var(--white);
  background: #222429;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

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

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 19px;
  letter-spacing: 0.14em;
}

.footer-logo {
  display: block;
  width: 48px;
  height: 48px;
  color: var(--orange);
}

.footer-logo svg {
  display: block;
  width: 100%;
  height: 100%;
}

.footer-logo .logo-head {
  fill: #222429;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 38px;
  margin-top: 50px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.48);
  font-size: 14px;
}

/* Мобильная версия */

/* Форматы и стоимость */

.pricing {
  padding: 104px 24px;
  background: var(--white);
}

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

.pricing-heading {
  max-width: 880px;
  margin-bottom: 64px;
}

.pricing h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 6.5vw, 80px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.035em;
}

.pricing h2 span {
  display: block;
  color: var(--orange);
}

.pricing-online {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  color: var(--dark);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
}

.pricing-online::before {
  content: "";
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  border-radius: 50%;
  background: var(--orange);
}

.pricing-intro {
  max-width: 650px;
  margin-top: 18px;
  color: var(--text);
  font-size: 19px;
  line-height: 1.65;
}

.pricing-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.pricing-group {
  overflow: hidden;
  border: 1px solid rgba(47, 49, 54, 0.16);
  border-radius: 28px;
  background: var(--light);
}

.pricing-group-heading {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  min-height: 230px;
  padding: 34px;
  border-bottom: 1px solid rgba(47, 49, 54, 0.16);
}

.pricing-group-heading > span {
  color: var(--orange);
  font-size: 14px;
  font-weight: 700;
}

.pricing-group-heading h3 {
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3.3vw, 46px);
  font-weight: 400;
  line-height: 1.05;
}

.pricing-group-heading p {
  max-width: 430px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.6;
}

.pricing-list {
  padding: 0 34px;
}

.pricing-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 130px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(47, 49, 54, 0.16);
}

.pricing-item:last-child {
  border-bottom: 0;
}

.pricing-item h4 {
  margin-bottom: 7px;
  font-size: 20px;
}

.pricing-item p {
  color: var(--text);
  font-size: 15px;
  line-height: 1.45;
}

.pricing-item strong {
  color: var(--orange);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  white-space: nowrap;
}

.pricing-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 48px;
  padding: 34px 0;
  border-top: 1px solid rgba(47, 49, 54, 0.16);
  border-bottom: 1px solid rgba(47, 49, 54, 0.16);
}

.pricing-action p {
  max-width: 650px;
  color: var(--text);
  font-size: 19px;
  line-height: 1.55;
}

.pricing-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 30px;
  border: 2px solid var(--orange);
  border-radius: 999px;
  color: var(--orange);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Кому подойдут занятия */

.audience {
  padding: 104px 24px;
  background: var(--light);
}

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

.audience-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 64px;
}

.audience-heading .section-label {
  grid-column: 1 / -1;
  margin-bottom: -22px;
}

.audience h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 6.5vw, 80px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.035em;
}

.audience h2 span {
  display: block;
  color: var(--orange);
}

.audience-intro {
  max-width: 460px;
  color: var(--text);
  font-size: 19px;
  line-height: 1.65;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(47, 49, 54, 0.15);
  border-left: 1px solid rgba(47, 49, 54, 0.15);
}

.audience-card {
  position: relative;
  min-height: 330px;
  padding: 34px;
  border-right: 1px solid rgba(47, 49, 54, 0.15);
  border-bottom: 1px solid rgba(47, 49, 54, 0.15);
  background: rgba(255, 255, 255, 0.42);
}

.audience-number {
  display: block;
  margin-bottom: 70px;
  color: var(--orange);
  font-size: 14px;
  font-weight: 700;
}

.audience-card h3 {
  margin-bottom: 18px;
  font-size: 25px;
  line-height: 1.15;
}

.audience-card p {
  color: var(--text);
  font-size: 17px;
  line-height: 1.6;
}

.audience-card-accent {
  background: var(--orange);
}

.audience-card-accent .audience-number,
.audience-card-accent h3,
.audience-card-accent p {
  color: var(--white);
}

@media (max-width: 700px) {
  .header {
    min-height: 78px;
    padding: 15px 18px;
  }

  .logo-icon {
  width: 46px;
  height: 46px;
  flex-basis: 46px;
}

  .logo-text {
    font-size: 17px;
  }

  .hero {
    min-height: calc(100vh - 78px);
  }

  .hero-content {
    justify-content: flex-end;
    min-height: calc(100vh - 78px);
    padding: 40px 20px 130px;
  }

  .slide img {
    object-position: 58% center;
  }

  .hero-overlay {
    background:
      linear-gradient(
        0deg,
        rgba(255, 250, 246, 0.98) 0%,
        rgba(255, 250, 246, 0.88) 34%,
        rgba(255, 250, 246, 0.24) 68%,
        rgba(255, 250, 246, 0.02) 100%
      );
  }

  .hero h1 {
    font-size: clamp(44px, 13vw, 64px);
  }

  .hero-name {
    font-size: 18px;
  }

  .hero-description {
    font-size: 18px;
  }

  .main-button {
    min-height: 56px;
    width: 100%;
  }

  .slider-dots {
    bottom: 28px;
    gap: 12px;
  }

  .dot {
    width: 10px;
    height: 10px;
  }
  
  .about {
    padding: 72px 20px;
  }

  .about-heading {
    margin-bottom: 36px;
  }

  .about h2 {
  font-size: clamp(38px, 10vw, 54px);
  line-height: 1.02;
}
    

  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-photo {
    position: relative;
    top: auto;
    min-height: 470px;
    border-radius: 22px;
  }

  .about-photo img {
    min-height: 470px;
object-position: 57% center;
  }

  .about-content {
    padding-top: 0;
  }

  .about-content > p {
    font-size: 18px;
  }

 .about-content .about-lead {
  font-size: 26px;
  line-height: 1.35;
}

  .about-feature {
    grid-template-columns: 34px 1fr;
    gap: 10px 14px;
  }

  .about-feature h3 {
    font-size: 18px;
  }

  .about-feature p {
    grid-column: 2;
    font-size: 16px;
  }

  .about-button {
    width: 100%;
  }

  .audience {
    padding: 76px 20px;
  }

  .audience-heading {
    display: block;
    margin-bottom: 40px;
  }

  .audience-heading .section-label {
    margin-bottom: 18px;
  }

  .audience h2 {
    font-size: clamp(38px, 10vw, 54px);
    line-height: 1.02;
  }

  .audience-intro {
    margin-top: 26px;
    font-size: 18px;
  }

  .audience-grid {
    grid-template-columns: 1fr;
  }

  .audience-card {
    min-height: auto;
    padding: 28px 26px 32px;
  }

  .audience-number {
    margin-bottom: 42px;
  }

  .audience-card h3 {
    font-size: 23px;
  }

  .audience-card p {
    font-size: 16px;
  }

  .pricing {
    padding: 76px 20px;
  }

  .pricing-heading {
    margin-bottom: 42px;
  }

  .pricing h2 {
    font-size: clamp(38px, 10vw, 54px);
    line-height: 1.02;
  }

  .pricing-online {
    margin-top: 26px;
    font-size: 22px;
    line-height: 1.25;
  }

  .pricing-intro {
    font-size: 17px;
  }

  .pricing-groups {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pricing-group {
    border-radius: 22px;
  }

  .pricing-group-heading {
  grid-template-columns: 24px 1fr;
  gap: 10px;
  min-height: auto;
  padding: 28px 20px 30px;
}

  .pricing-group-heading h3 {
    font-size: 32px;
  }

  .pricing-group-heading p {
    font-size: 16px;
  }

  .pricing-list {
    padding: 0 24px;
  }

  .pricing-item {
    grid-template-columns: 1fr;
    gap: 16px;
    min-height: auto;
    padding: 24px 0;
  }

  .pricing-item strong {
    font-size: 28px;
  }

  .pricing-action {
    display: block;
    margin-top: 36px;
    padding: 30px 0;
  }

  .pricing-action p {
    font-size: 17px;
  }

  .pricing-button {
    width: 100%;
    margin-top: 24px;
  }

  .contact {
    padding: 82px 20px;
  }

  .contact h2 {
    margin-top: 20px;
    font-size: clamp(42px, 11vw, 60px);
    line-height: 1;
  }

  .contact-text {
    margin-top: 30px;
    font-size: 18px;
  }

  .contact-button {
    width: 100%;
    min-width: 0;
    min-height: 62px;
    margin-top: 36px;
    padding: 0 24px;
  }

  .footer {
    padding: 52px 20px 26px;
  }

  .footer-brand {
    gap: 13px;
    font-size: 17px;
  }

  .footer-logo {
    width: 44px;
    height: 44px;
  }

  .footer-links {
    display: grid;
    gap: 16px;
    margin-top: 40px;
  }

  .footer-bottom {
    display: block;
    margin-top: 44px;
  }

  .footer-bottom p + p {
    margin-top: 10px;
  }
} 

.slide {
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
}

.slide:nth-child(2) img {
  object-position: 52% center;
}

.slide:nth-child(3) img {
  object-position: 52% center;
}

.slide:nth-child(4) img {
  object-position: 60% center;
}

.slide:nth-child(9) img {
  object-position: 48% center;
}

.slide:nth-child(6) img {
  object-position: 49% center;
}

.slide:nth-child(7) img {
  object-position: 52% center;
}

.slide:nth-child(8) img {
  object-position: 53% center;
}

@keyframes logo-coin-spin {
  0% {
    transform: rotateY(0deg);
  }

  40% {
    transform: rotateY(360deg);
  }

  100% {
    transform: rotateY(360deg);
  }
}

.header .logo-icon {
  perspective: 600px;
}


.header .logo-icon svg {
  transform-origin: center;
  transform-style: preserve-3d;
  backface-visibility: visible;
  animation: logo-coin-spin 7s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

/* Как проходит занятие */

.lesson-section {
  padding: 104px 24px 0;
  background: var(--white);
}

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

.lesson-heading {
  max-width: 880px;
  margin-bottom: 64px;
}

.lesson-heading .section-label {
  margin-bottom: 18px;
}

.lesson-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 6.5vw, 80px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.035em;
}

.lesson-intro {
  max-width: 650px;
  margin-top: 26px;
  color: var(--text);
  font-size: 19px;
  line-height: 1.65;
}

.lesson-steps {
  display: grid;
  gap: 14px;
}

.lesson-step {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 28px 26px 32px;
  border: 1px solid rgba(47, 49, 54, 0.1);
  border-radius: 22px;
  background: var(--white);
}

.lesson-number {
  color: var(--orange);
  font-size: 14px;
  font-weight: 700;
}

.lesson-step h3 {
  margin: 0 0 12px;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.15;
}

.lesson-step p {
  margin: 0;
  color: var(--text);
  font-size: 17px;
  line-height: 1.6;
}

.lesson-note {
  margin-top: 24px;
  padding: 22px 20px;
  border-left: 3px solid var(--orange);
  border-radius: 0 18px 18px 0;
  background: rgba(244, 122, 42, 0.06);
}

.lesson-note p {
  margin: 0;
  color: var(--text);
  font-size: 17px;
  line-height: 1.65;
}

@media (max-width: 700px) {
  .lesson-section {
    padding: 76px 20px 0;
  }

  .lesson-heading {
    margin-bottom: 40px;
  }

  .lesson-heading .section-label {
    margin-bottom: 18px;
  }

  .lesson-heading h2 {
    font-size: clamp(38px, 10vw, 54px);
    line-height: 1.02;
  }

  .lesson-intro {
    margin-top: 26px;
    font-size: 18px;
  }

  .lesson-step {
    grid-template-columns: 44px 1fr;
    gap: 18px;
    padding: 28px 26px 32px;
  }

  .lesson-step h3 {
    font-size: 23px;
  }

  .lesson-step p,
  .lesson-note p {
    font-size: 16px;
  }
}


/* Отзывы */

.reviews {
  padding: 104px 24px;
  overflow: hidden;
  background: var(--light);
}

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

.reviews-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 54px;
}

.reviews-heading .section-label {
  grid-column: 1 / -1;
  margin-bottom: -22px;
}

.reviews h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 6.5vw, 80px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.035em;
}

.reviews h2 span {
  display: block;
  color: var(--orange);
}

.reviews-heading-side {
  max-width: 470px;
}

.reviews-intro {
  color: var(--text);
  font-size: 19px;
  line-height: 1.65;
}

.reviews-swipe {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: var(--orange);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reviews-swipe span {
  font-size: 20px;
  line-height: 1;
}

.reviews-track {
  display: flex;
  gap: 18px;
  align-items: stretch;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 4px 2px 18px;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 2px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.reviews-track::-webkit-scrollbar {
  display: none;
}

.review-card {
  flex: 0 0 clamp(330px, 34vw, 430px);
  scroll-snap-align: start;
}

.review-number {
  display: block;
  margin: 0 0 12px 4px;
  color: var(--orange);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.review-open {
  display: block;
}

.review-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 570px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid rgba(47, 49, 54, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 55px rgba(47, 49, 54, 0.08);
}

.review-frame::before {
  content: "“";
  position: absolute;
  top: 18px;
  left: 24px;
  z-index: 0;
  color: rgba(244, 122, 42, 0.1);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 110px;
  line-height: 0.8;
}

.review-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  max-height: 536px;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 8px 26px rgba(47, 49, 54, 0.1);
}

.review-card-compact .review-frame img {
  box-shadow: 0 8px 24px rgba(47, 49, 54, 0.12);
}

.review-card-dark .review-frame {
  background: #f1eee9;
}

.reviews-note {
  margin-top: 14px;
  color: rgba(74, 77, 82, 0.7);
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 700px) {
  .reviews {
    padding: 76px 20px;
  }

  .reviews-heading {
    display: block;
    margin-bottom: 36px;
  }

  .reviews-heading .section-label {
    margin-bottom: 18px;
  }

  .reviews h2 {
    font-size: clamp(38px, 10vw, 54px);
    line-height: 1.02;
  }

  .reviews-heading-side {
    max-width: none;
  }

  .reviews-intro {
    margin-top: 26px;
    font-size: 18px;
  }

  .reviews-swipe {
    margin-top: 18px;
    font-size: 12px;
  }

  .reviews-track {
    gap: 14px;
    margin-right: -20px;
    padding-right: 20px;
  }

  .review-card {
    flex-basis: min(82vw, 360px);
  }

  .review-frame {
    min-height: 500px;
    padding: 14px;
    border-radius: 24px;
  }

  .review-frame img {
    max-height: 470px;
    border-radius: 16px;
  }

  .review-frame::before {
    top: 18px;
    left: 20px;
    font-size: 90px;
  }

  .reviews-note {
    margin-top: 10px;
    font-size: 13px;
  }
}


/* Финальная полировка мобильного меню */
@media (max-width: 700px) {
  .mobile-menu {
    padding: 14px 14px 18px;
  }

  .mobile-menu .mobile-menu-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    margin: 8px 0 0;
    padding: 0 14px !important;
    box-sizing: border-box;
    line-height: 1.2;
  }
}
