:root {
  --color-primary: #2c2c2c;
  --color-accent: #8a5a44;
  --color-light: #f5f4f0;
  --color-dark: #1a1a1a;
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.7;
  color: var(--color-dark);
  background-color: var(--color-light);
  scroll-behavior: smooth;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}


.btn {
  display: inline-block;
  background: var(--color-accent);
  color: white;
  padding: 14px 36px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(138, 90, 68, 0.3);
  transition: all 0.3s ease;
  text-align: center;
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(138, 90, 68, 0.4);
}


/* Header */
.hero {
  position: relative;
  height: auto;
 
 display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(245,244, 240, 0.2)), url('https://www.vasilyevstilist.ru/1758307342.png') center/cover;
  padding: 4rem 0;
  min-height: 80vh;
}
header {
  background-color: #fff;
  color: var(--color-dark);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  border-bottom: 1px solid #eee;
  transition: var(--transition);
}
max-width: 1200px;
width: 100%;
padding: 0 20px; /* как в .container */
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-primary);
  z-index: 1001;
}

.logo span {
  color: var(--color-accent);
}

/* Мобильное меню */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--color-dark);
  margin: 3px 0;
  transition: var(--transition);
}

/* Навигация */
nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
}

nav a {
  color: var(--color-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05rem;
  transition: var(--transition);
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

nav a:hover {
  color: var(--color-accent);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

/* Выпадающее меню */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  border-radius: 5px;
  min-width: 200px;
  z-index: 1000;
  padding: 10px 0;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  padding: 10px 20px;
  display: block;
  color: var(--color-dark);
  font-size: 0.95rem;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: var(--color-light);
}

/* Hero Section — ЕДИНСТВЕННЫЙ БЛОК */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(245, 244, 240, 0.2)), url('https://www.vasilyevstilist.ru/1758307342.png') center/cover;
  padding: 3rem 0;
  min-height: 80vh;
}

.hero-certificate-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--color-accent);
  color: white;
  padding: 10px 15px;
  border-radius: 5px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  width: 100%;
  padding: 0 20px;
  gap: 2.5rem;
}

.hero-text {
  flex: 1;
  max-width: 600px;
  background: rgba(255, 255, 255, 0.65);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 1s ease-out;
}

.hero-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 1.2rem;
  color: var(--color-dark);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  margin-bottom: 1.8rem;
  color: var(--color-accent);
  font-weight: 500;
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin: 1.5rem 0;
}

.hero-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-weight: 500;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.hero-feature i {
  color: var(--color-accent);
  margin-top: 0.2rem;
}

.hero-buttons {
  margin-top: 1.5rem;
}

.hero-image {
  flex: 1;
  max-width: 420px;
  display: flex;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
  object-fit: cover;
}

/* Мобильная версия: фото сверху, текст снизу */
@media (max-width: 992px) {
  .hero {
    min-height: auto;
    padding: 2rem 0;
  }

  .hero-container {
    flex-direction: column-reverse;
    text-align: center;
    gap: 2rem;
    padding: 0 15px;
  }

  .hero-text {
    max-width: 100%;
    background: rgba(255, 255, 255, 0.75);
    padding: 1.5rem;
    margin: 0 10px;
  }

  .hero-features {
    align-items: center;
  }

  .hero-feature {
    justify-content: center;
    text-align: center;
  }

  .hero-buttons .btn {
    margin: 0 auto;
  }

  .hero-image img {
    max-height: 300px;
    width: auto;
    height: auto;
  }

  .hero-certificate-badge {
    position: relative;
    top: 0;
    right: 0;
    margin: 10px auto;
  }
}

@media (max-width: 480px) {
  .hero-text {
    padding: 1.2rem;
  }

  .hero-buttons .btn {
    padding: 12px 25px;
    font-size: 0.95rem;
  }

  .hero-image img {
    max-height: 250px;
  }
}

/* Laboratory Video Section */
.lab-showcase {
  padding: 4rem 0;
  background: white;
}

.lab-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.lab-video-wrapper {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  margin-bottom: 2rem;
  position: relative;
}

.lab-video-wrapper video {
  width: 100%;
  display: block;
}

.lab-caption {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.lab-caption h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--color-dark);
}

.lab-caption p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 1rem;
}

/* Expertise Section */
.expertise {
  background: white;
  padding: 6rem 0;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.expertise-card {
  text-align: center;
  padding: 2rem;
  transition: var(--transition);
}

.expertise-card:hover {
  transform: translateY(-5px);
}

.expertise-icon {
  width: 80px;
  height: 80px;
  background: var(--color-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--color-accent);
}

.expertise-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--color-dark);
}

/* Section Styles */
section {
  padding: 6rem 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-title {
  text-align: center;
  margin-bottom: 3.5rem;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--color-dark);
  font-weight: 700;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--color-accent);
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  position: relative;
}

.about-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--color-accent);
  color: white;
  padding: 10px 15px;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 2;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--color-dark);
}

.methodology-list {
  list-style: none;
  margin: 2rem 0;
}

.methodology-list li {
  margin-bottom: 1rem;
  padding-left: 2rem;
  position: relative;
}

.methodology-list li:before {
  content: "•";
  color: var(--color-accent);
  font-weight: bold;
  position: absolute;
  left: 0;
  font-size: 1.5rem;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.service-card {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: var(--transition);
  border: 1px solid #eee;
  position: relative;
  overflow: hidden;
}

.service-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--color-accent);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}

.service-card:hover:before {
  width: 100%;
  opacity: 0.1;
}

.service-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
  color: var(--color-dark);
  position: relative;
  padding-bottom: 10px;
}

.service-card h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--color-accent);
}

/* Methodology Section */
.methodology-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.methodology-item {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: var(--transition);
}

.methodology-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.methodology-item h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
  color: var(--color-dark);
  position: relative;
  padding-bottom: 10px;
}

.methodology-item h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--color-accent);
}

/* Portfolio Section */
.portfolio {
  background: var(--color-light);
  padding: 6rem 0;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.portfolio-item {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: var(--transition);
  aspect-ratio: 1 / 1;
}

.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition);
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

/* App Download Section */
.app-download {
  background: white;
  padding: 6rem 0;
  text-align: center;
}

.app-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.app-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--color-dark);
}

.app-content p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  color: var(--color-dark);
  line-height: 1.8;
}

.app-badges {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.app-badge {
  display: inline-block;
  transition: var(--transition);
}

.app-badge:hover {
  transform: translateY(-5px);
}

.app-badge img {
  height: 60px;
  border-radius: 10px;
}

.app-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  text-align: left;
}

.app-feature {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.app-feature i {
  font-size: 2rem;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.app-feature h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--color-dark);
}

/* Masterclasses Section */
.masterclasses {
  background: white;
  padding: 6rem 0;
}

.intro-text {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 3rem;
  color: var(--color-dark);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.masterclass-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.highlight-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  background: var(--color-light);
  transition: var(--transition);
}

.highlight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.highlight-card i {
  font-size: 2.5rem;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.highlight-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--color-dark);
}

.masterclass-info {
  background: rgba(138, 90, 68, 0.05);
  padding: 2.5rem;
  border-radius: 12px;
  margin-bottom: 3rem;
  border-left: 4px solid var(--color-accent);
}

.masterclass-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  color: var(--color-dark);
}

.masterclass-info ul {
  list-style-type: none;
  padding-left: 0;
}

.masterclass-info li {
  margin-bottom: 0.8rem;
  padding-left: 1.8rem;
  position: relative;
}

.masterclass-info li::before {
  content: "•";
  color: var(--color-accent);
  font-size: 1.5rem;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: -3px;
}

.cta-box {
  text-align: center;
  padding: 2.5rem;
  background: var(--color-light);
  border-radius: 12px;
}

.cta-box h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--color-dark);
}

.cta-box p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

/* Models Section */
.models {
  background: var(--color-light);
  padding: 6rem 0;
}

.model-card {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  text-align: center;
}

.model-icon {
  width: 80px;
  height: 80px;
  background: var(--color-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--color-accent);
}

.models-services {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  margin-bottom: 3rem;
}

/* Diagnostics Section */
.diagnostics {
  background: white;
  padding: 6rem 0;
}

.diagnostics-card {
  background: var(--color-light);
  padding: 2.5rem;
  border-radius: 12px;
  text-align: center;
}

.diagnostics-process {
  background: rgba(138, 90, 68, 0.05);
  padding: 2.5rem;
  border-radius: 12px;
  margin-bottom: 3rem;
}

/* Tools Section */
.tools-section {
  background: white;
  padding: 6rem 0;
}

.tools-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.tools-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  position: relative;
  max-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--color-light);
  padding: 20px;
}

.tools-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--color-accent);
  color: white;
  padding: 10px 15px;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 2;
}

.tools-image img {
  max-width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
  max-height: 400px;
  object-fit: contain;
}

.tools-image:hover img {
  transform: scale(1.03);
}

.tools-features {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.tools-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.tools-feature i {
  color: var(--color-accent);
  font-size: 1.2rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.tools-highlight {
  background: rgba(138, 90, 68, 0.05);
  padding: 2rem;
  border-radius: 12px;
  margin: 2.5rem 0;
  border-left: 4px solid var(--color-accent);
}

.text-center {
  text-align: center;
}

/* Contact Section */
.contact {
  background: white;
  padding: 6rem 0;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.map-container {
  height: 450px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.map-container iframe,
.map-container video {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.contact-info h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  color: var(--color-dark);
}

.contact-info p {
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
  color: var(--color-dark);
  display: flex;
  align-items: center;
}

.contact-info i {
  margin-right: 12px;
  color: var(--color-accent);
  width: 20px;
}

.social-links {
  display: flex;
  gap: 1.2rem;
  margin-top: 2.5rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--color-accent);
  color: white;
  border-radius: 50%;
  text-decoration: none;
  font-size: 1.2rem;
  transition: var(--transition);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.social-links a:hover {
  transform: translateY(-5px);
  box-shadow: 0 7px 15px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
  background: var(--color-dark);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-section h4 {
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  position: relative;
  padding-bottom: 10px;
}

.footer-section h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--color-accent);
}

.footer-section p {
  color: #bbb;
  line-height: 1.7;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.8rem;
}

.footer-section a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
}

.footer-section a:hover {
  color: white;
}

.copyright {
  border-top: 1px solid #444;
  padding-top: 2rem;
  margin-top: 2rem;
  text-align: center;
  color: #aaa;
  font-size: 0.95rem;
}

/* Анимации */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Адаптивность */
@media (max-width: 968px) {
  .menu-toggle {
    display: flex;
  }

  nav ul {
    flex-direction: column;
    position: fixed;
    top: 0;
    left: -100%;
    width: 70%;
    height: 100vh;
    background: white;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    padding: 100px 20px 20px;
    transition: all 0.4s ease;
    z-index: 999;
    overflow-y: auto;
    gap: 0;
  }

  nav ul.active {
    left: 0;
  }

  nav ul li {
    width: 100%;
    margin-bottom: 1rem;
  }

  nav a {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    display: none;
    padding-left: 20px;
    width: 100%;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }

  .dropdown > a::after {
    content: '+';
    margin-left: 5px;
    border: none !important;
  }

  .dropdown.active > a::after {
    content: '-';
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .header-content {
    flex-direction: row;
    gap: 1.5rem;
  }

  .about-content,
  .contact-content,
  .tools-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  section {
    padding: 4rem 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .map-container {
    height: 350px;
  }

  .app-badges {
    flex-direction: column;
    align-items: center;
  }

  .hero-features {
    flex-direction: column;
    gap: 1rem;
  }

  .tools-features {
    grid-template-columns: 1fr;
  }

  .tools-image {
    order: -1;
  }

  .tools-image img {
    max-height: 300px;
  }

  .masterclass-highlights {
    grid-template-columns: 1fr;
  }

  .masterclass-info {
    padding: 1.5rem;
  }

  .cta-box {
    padding: 1.5rem;
  }

  .hero-review {
    position: relative;
    top: 0;
    left: 0;
    max-width: 100%;
    margin: 20px;
  }
}

@media (max-width: 480px) {
  .tools-image img {
    max-height: 250px;
  }

  .hero-content {
    padding: 1.5rem;
    margin: 1rem;
  }

  .btn {
    padding: 12px 25px;
    font-size: 0.9rem;
  }

  .yandex-rating {
    flex-direction: column;
    text-align: center;
  }

  .review-card {
    padding: 15px;
  }
}