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

body {
  font-family: 'Arial', sans-serif;
  background: linear-gradient(135deg, #0a1428 0%, #1a2744 100%);
  color: #e8e8e8;
  line-height: 1.6;
  overflow-x: hidden;
  font-size: 16px; /* База для rem */
}

/* Курсор эффекты */
.clickable {
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.clickable:hover {
  transform: translateY(-2px);
  filter: brightness(1.2);
}

.clickable:hover::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: -1;
  animation: pulse 0.6s ease-out;
}

@keyframes pulse {
  0% { transform: translate(-50%, -50%) scale(0); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

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

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(30px, -30px) rotate(120deg); }
  66% { transform: translate(-20px, 20px) rotate(240deg); }
}

/* Шапка */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(10, 20, 40, 0.95);
  backdrop-filter: blur(10px);
  padding: clamp(0.625rem, 2vw, 1.25rem) 0; /* 10px → 20px */
  z-index: 1000;
  transition: transform 0.3s ease;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.header.hidden {
  transform: translateY(-100%);
}

.header-content {
  max-width: 75rem; /* 1200px */
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(0.9375rem, 2.5vw, 1.25rem); /* 20px → 40px */
}

.profile-photo {
  width: clamp(4.375rem, 6vw, 6.25rem); /* 70px → 100px */
  height: clamp(4.375rem, 6vw, 6.25rem); /* 70px → 100px */
  border-radius: 50%;
  border: 4px solid #ffd700;
  background: linear-gradient(45deg, #1a2744, #2a3a5a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.625rem, 2.25vw, 2.25rem); /* 26px → 36px */
  color: #ffd700;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
  margin: clamp(0.375rem, 0.625vw, 0.625rem) 0; /* 6px → 10px */
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Убедимся, что логотип заполняет круг без искажений */
    border-radius: 50%; /* Сохраняем круглую форму */
}

.contact-icons {
  display: flex;
  gap: clamp(1.875rem, 4vw, 2.8125rem); /* 30px → 45px */
}

.contact-icons a {
  color: #d4af37;
  font-size: clamp(1.125rem, 1.5vw, 1.5rem); /* 18px → 24px */
  width: clamp(2.8125rem, 3.75vw, 3.75rem); /* 45px → 60px */
  height: clamp(2.8125rem, 3.75vw, 3.75rem); /* 45px → 60px */
  border-radius: 50%;
  background: rgba(255, 215, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.contact-icons a:hover {
  color: #ffd700;
  background: rgba(255, 215, 0, 0.2);
  transform: scale(1.1);
}

.header-right {
  display: flex;
  align-items: center;
  gap: clamp(1.875rem, 2.5vw, 2.5rem); /* 30px → 40px */
}

.lang-toggle {
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid #ffd700;
  color: #ffd700;
  padding: clamp(0.375rem, 0.625vw, 0.625rem) clamp(0.75rem, 1.125vw, 1.125rem); /* 6px 12px → 10px 18px */
  border-radius: 1.875rem; /* 30px */
  font-size: clamp(0.8125rem, 1vw, 1rem); /* 13px → 16px */
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.lang-toggle:hover {
  background: rgba(255, 215, 0, 0.2);
}

.hamburger {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  padding: clamp(0.375rem, 0.5vw, 0.5rem); /* 6px → 8px */
}

.hamburger span {
  width: clamp(1.875rem, 2.5vw, 2.5rem); /* 30px → 40px */
  height: clamp(0.1875rem, 0.25vw, 0.25rem); /* 3px → 4px */
  background: #ffd700;
  margin: clamp(0.1875rem, 0.25vw, 0.25rem) 0; /* 3px → 4px */
  transition: 0.3s;
  border-radius: 0.25rem; /* 4px */
}

.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-8px, 10px);
}

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

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

.mobile-menu {
  position: fixed;
  top: clamp(5.625rem, 7.5vw, 7.5rem); /* 90px → 120px */
  right: -21.875rem; /* -350px */
  width: clamp(15rem, 17.5vw, 17.5rem); /* 240px → 280px */
  height: calc(100vh - clamp(5.625rem, 7.5vw, 7.5rem)); /* 90px → 120px */
  background: rgba(10, 20, 40, 0.98);
  backdrop-filter: blur(15px);
  padding: clamp(0.9375rem, 1.875vw, 1.875rem); /* 15px → 30px */
  transition: right 0.3s ease;
  border-left: 1px solid rgba(255, 215, 0, 0.2);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu a {
  display: block;
  color: #d4af37;
  text-decoration: none;
  padding: clamp(0.75rem, 0.9375vw, 0.9375rem) 0; /* 12px → 15px */
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
  font-size: clamp(1.1rem, 1.3vw, 1.3rem); /* 1.4rem */
  transition: color 0.3s ease;
}

.mobile-menu a:hover {
  color: #ffd700;
}

/* Языковое меню (восстановление стилей как с JSON) */
.lang-select {
  position: relative;
}

.lang-toggle {
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid #ffd700;
  color: #ffd700;
  padding: clamp(0.375rem, 0.625vw, 0.625rem) clamp(0.75rem, 1.125vw, 1.125rem); /* 6px 12px → 10px 18px */
  border-radius: 1.875rem; /* 30px */
  font-size: clamp(0.8125rem, 1vw, 1rem); /* 13px → 16px */
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.lang-toggle:hover {
  background: rgba(255, 215, 0, 0.2);
}

.lang-menu {
  position: absolute;
  top: 100%;
  left: 0; /* Выравнивание по правому краю кнопки, как было раньше */
  background: rgba(10, 20, 40, 0.95);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 0.625rem; /* 10px */
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  z-index: 1000;
  min-width: clamp(8.75rem, 10vw, 10rem); /* 140px → 160px */
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.lang-menu.show {
  display: block;
}

.lang-menu li {
  padding: clamp(0.5rem, 0.625vw, 0.625rem) clamp(0.75rem, 1vw, 1rem); /* 8px 12px → 10px 16px */
  color: #ffd700;
  cursor: pointer;
  transition: background 0.3s ease;
}

.lang-menu li a {
  text-decoration: none;
  color: #ffd700;
  display: block;
}

.lang-menu li:hover,
.lang-menu li a:hover {
  background: rgba(255, 215, 0, 0.2);
}

/* Основной контент */
.main-content {
  margin-top: clamp(5.625rem, 7.5vw, 7.5rem); /* 90px → 120px */
}

/* Секция героя */
.hero {
  min-height: clamp(50vh, 70vw, 70vh); /* 50vh → 70vh */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 clamp(0.9375rem, 2.5vw, 1.25rem); /* 15px → 20px */
  background: linear-gradient(135deg, rgba(10, 20, 40, 0.9), rgba(26, 39, 68, 0.9));
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 40%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(42, 58, 90, 0.3) 0%, transparent 50%);
  animation: float 20s ease-in-out infinite;
}

.hero-content {
  max-width: clamp(43.75rem, 50vw, 43.75rem); /* 700px */
  z-index: 1;
  position: relative;
  animation: fadeInUp 1s ease-out;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem); /* 2.2rem → 3.5rem */
  margin-bottom: clamp(0.9375rem, 1.25vw, 1.25rem); /* 15px → 20px */
  background: linear-gradient(45deg, #ffd700, #d4af37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: clamp(1rem, 1.8vw, 1.3rem); /* 1rem → 1.3rem */
  margin-bottom: clamp(1.5625rem, 2vw, 1.875rem); /* 25px → 30px */
  color: #b8b8b8;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(45deg, #ffd700, #d4af37);
  color: #0a1428;
  padding: clamp(0.9375rem, 1.875vw, 0.9375rem) clamp(1.875rem, 2.5vw, 1.875rem); /* 15px 30px */
  text-decoration: none;
  border-radius: 1.875rem; /* 30px */
  font-weight: bold;
  font-size: clamp(1.1rem, 1.5vw, 1.2rem); /* 1.1rem */
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

/* Секция "Обо мне" */
.about {
  padding: clamp(3.75rem, 5vw, 5rem) 0; /* 60px → 80px */
  background: rgba(26, 39, 68, 0.3);
}

.container {
  width: 90%; /* Резиновая ширина */
  max-width: 75rem; /* 1200px */
  margin: 0 auto;
  padding: 0 clamp(0.9375rem, 2.5vw, 1.25rem); /* 20px */
}

.section-title {
  text-align: center;
  font-size: clamp(1.8rem, 3vw, 2.5rem); /* 1.8rem → 2.5rem */
  margin-bottom: clamp(2.5rem, 3.125vw, 3.125rem); /* 40px → 50px */
  color: #ffd700;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -0.625rem; /* -10px */
  left: 50%;
  transform: translateX(-50%);
  width: 5rem; /* 80px */
  height: 0.1875rem; /* 3px */
  background: linear-gradient(45deg, #ffd700, #d4af37);
  border-radius: 0.125rem; /* 2px */
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(1.875rem, 3.125vw, 3.125rem); /* 30px → 50px */
  align-items: center;
}

.about-photo {
  width: 100%;
  max-width: clamp(12.5rem, 21.875vw, 21.875rem); /* 200px → 350px */
  height: clamp(15.625rem, 25vw, 25rem); /* 250px → 400px */
  border-radius: 1.25rem; /* 20px */
  background: linear-gradient(45deg, #1a2744, #2a3a5a);
  border: 3px solid #ffd700;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.5rem, 1.5vw, 1.5rem); /* 24px */
  color: #ffd700;
  animation: slideInLeft 1s ease-out;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.25rem; /* такой же, как у контейнера, если хочешь скругление */
  display: block;
}

.about-text {
  animation: slideInRight 1s ease-out;
}

.about-text h3 {
  font-size: clamp(1.4rem, 2vw, 1.8rem); /* 1.6rem → 1.8rem */
  margin-bottom: clamp(0.9375rem, 1.25vw, 1.25rem); /* 15px → 20px */
  color: #ffd700;
}

.about-text p {
  font-size: clamp(1rem, 1.2vw, 1.1rem); /* 1rem → 1.1rem */
  line-height: 1.8;
  color: #c8c8c8;
  margin-bottom: clamp(0.9375rem, 0.9375vw, 0.9375rem); /* 15px */
}

/* Услуги */
.services {
  padding: clamp(3.75rem, 5vw, 5rem) 0; /* 60px → 80px */
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18.75rem, 1fr)); /* 300px */
  gap: clamp(1.25rem, 1.5625vw, 1.5625rem); /* 20px → 25px */
  margin-bottom: clamp(3.125rem, 3.125vw, 3.125rem); /* 50px */
}

.service-card {
  background: rgba(26, 39, 68, 0.6);
  padding: clamp(1.25rem, 1.5625vw, 1.5625rem); /* 20px → 25px */
  border-radius: 1.25rem; /* 20px */
  border: 1px solid rgba(255, 215, 0, 0.2);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
  transition: left 0.5s ease;
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: #ffd700;
  box-shadow: 0 20px 40px rgba(255, 215, 0, 0.1);
}

.service-card h3 {
  font-size: clamp(1.2rem, 1.5vw, 1.5rem); /* 1.4rem → 1.5rem */
  margin-bottom: clamp(0.9375rem, 0.9375vw, 0.9375rem); /* 15px */
  color: #ffd700;
}

.service-card p {
  color: #b8b8b8;
  margin-bottom: clamp(1.25rem, 1.25vw, 1.25rem); /* 20px */
  line-height: 1.6;
}

.service-button {
  background: transparent;
  border: 2px solid #ffd700;
  color: #ffd700;
  padding: clamp(0.625rem, 0.75vw, 0.75rem) clamp(1.25rem, 1.25vw, 1.25rem); /* 10px 20px */
  border-radius: 1.5625rem; /* 25px */
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.service-button:hover {
  background: #ffd700;
  color: #0a1428;
}

/* Основные стили для отзывов */
.testimonials {
    padding: clamp(3.75rem, 5vw, 5rem) 0; /* 60px → 80px, соответствует другим секциям */
    background: rgba(26, 39, 68, 0.3); /* Темный фон с прозрачностью, как в .about */
    backdrop-filter: blur(10px); /* Эффект размытия, как в других секциях */
}

.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 3vw, 2.5rem); /* 1.8rem → 2.5rem, как в других заголовках */
    margin-bottom: clamp(2.5rem, 3.125vw, 3.125rem); /* 40px → 50px */
    color: #ffd700; /* Золотой цвет, как в других заголовках */
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -0.625rem; /* -10px */
    left: 50%;
    transform: translateX(-50%);
    width: 5rem; /* 80px */
    height: 0.1875rem; /* 3px */
    background: linear-gradient(45deg, #ffd700, #d4af37); /* Градиент, как в других секциях */
    border-radius: 0.125rem; /* 2px */
}

.testimonials-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: clamp(43.75rem, 50vw, 50rem); /* 700px → 800px, адаптировано под .container */
    margin: 0 auto; /* Центрируем слайдер */
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}

.testimonial-card {
    flex: 0 0 100%;
    background: rgba(26, 39, 68, 0.6); /* Темный фон, как в .service-card */
    border-radius: 1.25rem; /* 20px, как в .service-card */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* Тень, как в других секциях */
    padding: clamp(1.25rem, 1.5625vw, 1.5625rem); /* 20px → 25px, как в .service-card */
    margin: 0 10px; /* Отступы по бокам для видимости */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: auto; /* Карточка растягивается по содержимому */
    min-height: 200px; /* Минимальная высота для коротких отзывов */
    box-sizing: border-box;
    border: 1px solid rgba(255, 215, 0, 0.2); /* Граница, как в .service-card */
    backdrop-filter: blur(10px); /* Эффект размытия, как в других секциях */
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent); /* Эффект блика, как в .service-card */
    transition: left 0.5s ease;
}

.testimonial-card:hover::before {
    left: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px); /* Эффект подъема, как в .service-card */
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.1); /* Тень при наведении */
    border-color: #ffd700; /* Золотая граница при наведении */
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(45deg, #1a2744, #2a3a5a); /* фон за картинкой */
    border: 3px solid #ffd700; /* золотая граница */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
    overflow: hidden; /* чтобы картинка не вылазила за круг */
}

.testimonial-avatar img.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* картинка полностью заполняет круг */
    border-radius: 50%; /* чтобы было идеально круглое */
}



.testimonial-author {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffd700; /* Золотой цвет, как в заголовках */
}

.testimonial-company {
    font-size: 0.9rem;
    color: #b8b8b8; /* Серый цвет, как в .about-text p */
    margin-top: 0.2rem;
}

.testimonial-text {
    color: #c8c8c8; /* Серый цвет, как в .about-text p */
    font-size: 1rem;
    line-height: 1.6;
    flex-grow: 1;
}

.testimonial-excerpt {
    margin-bottom: 1rem;
}

.read-more-btn {
    display: inline-block;
    color: #ffd700; /* Золотой цвет, как в .service-button */
    text-decoration: none;
    font-weight: bold;
    margin-top: 1rem;
    transition: all 0.3s ease;
    padding: clamp(0.625rem, 0.75vw, 0.75rem) clamp(1.25rem, 1.25vw, 1.25rem); /* 10px 20px, как в .service-button */
    border: 2px solid #ffd700; /* Граница, как в .service-button */
    border-radius: 1.5625rem; /* 25px, как в .service-button */
}

.read-more-btn:hover {
    background: #ffd700; /* Золотой фон при наведении, как в .service-button */
    color: #0a1428; /* Темный цвет текста, как в .service-button */
}

.slider-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.buttons-wrapper {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.slider-btn {
    background: linear-gradient(45deg, #ffd700, #d4af37); /* Градиент, как в .cta-button */
    border: none;
    border-radius: 1.5625rem; /* 25px, как в .service-button */
    font-size: 1rem;
    color: #0a1428; /* Темный цвет, как в .cta-button */
    cursor: pointer;
    padding: 10px 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3); /* Тень, как в .cta-button */
}

.slider-btn:hover {
    background: linear-gradient(45deg, #d4af37, #ffd700); /* Инвертированный градиент для эффекта */
    transform: translateY(-3px); /* Эффект подъема, как в .cta-button */
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4); /* Тень при наведении, как в .cta-button */
}

.dots {
    display: flex;
    gap: 10px;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.3); /* Прозрачный золотой, как в других элементах */
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #ffd700; /* Золотой цвет, как в других активных элементах */
    transform: scale(1.2);
}

/* Адаптивность */
@media (max-width: 768px) {
    .testimonials {
        padding: clamp(3.75rem, 3.75vw, 3.75rem) 0; /* 60px, как в других секциях */
    }

    .testimonials-slider {
        max-width: 90%; /* Уменьшаем ширину слайдера на планшетах */
    }

    .testimonial-card {
        padding: clamp(1.2rem, 1.2vw, 1.2rem); /* 19.2px */
        margin: 0 5px;
    }

    .testimonial-header {
        flex-direction: column;
        text-align: center;
    }

    .testimonial-avatar {
        width: 60px;
        height: 60px;
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .avatar-placeholder {
        font-size: 1.5rem;
    }

    .slider-btn {
        font-size: 0.9rem;
        padding: 8px 16px;
    }

    .dots {
        gap: 8px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .testimonials {
        padding: clamp(3.125rem, 3.125vw, 3.125rem) 0; /* 50px, как в других секциях */
    }

    .testimonials-slider {
        max-width: 95%; /* Еще больше уменьшаем ширину на маленьких экранах */
    }

    .testimonial-card {
        padding: clamp(1rem, 1vw, 1rem); /* 16px */
        margin: 0 5px;
    }

    .testimonial-avatar {
        width: 50px;
        height: 50px;
    }

    .avatar-placeholder {
        font-size: 1.2rem;
    }

    .testimonial-author {
        font-size: 1.1rem;
    }

    .slider-btn {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .dots {
        gap: 8px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }
}







/* CTA секция */
.cta-section {
  padding: clamp(3.75rem, 5vw, 5rem) 0; /* 60px → 80px */
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(10, 20, 40, 0.9));
}

.cta-section h2 {
  font-size: clamp(1.8rem, 2.5vw, 2.5rem); /* 2rem → 2.5rem */
  margin-bottom: clamp(1.875rem, 1.875vw, 1.875rem); /* 30px */
  color: #ffd700;
}

.cta-section p {
  font-size: clamp(1.1rem, 1.3vw, 1.3rem); /* 1.1rem → 1.3rem */
  margin-bottom: clamp(2.5rem, 2.5vw, 2.5rem); /* 40px */
  color: #c8c8c8;
}

/* Футер */
.footer {
  background: rgba(10, 20, 40, 0.95);
  padding: clamp(1.875rem, 2.5vw, 2.5rem) 0 clamp(0.9375rem, 1.25vw, 1.25rem); /* 30px 0 15px → 40px 0 20px */
  border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15.625rem, 1fr)); /* 250px */
  gap: clamp(1.25rem, 1.875vw, 1.875rem); /* 20px → 30px */
  margin-bottom: clamp(1.875rem, 1.875vw, 1.875rem); /* 30px */
}

.footer-section h3 {
  color: #ffd700;
  margin-bottom: clamp(1.25rem, 1.25vw, 1.25rem); /* 20px */
}

.footer-section p,
.footer-section a {
  color: #b8b8b8;
  text-decoration: none;
  margin-bottom: clamp(0.625rem, 0.625vw, 0.625rem); /* 10px */
  display: block;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #ffd700;
}

.footer-bottom {
  text-align: center;
  padding-top: clamp(1.25rem, 1.25vw, 1.25rem); /* 20px */
  border-top: 1px solid rgba(255, 215, 0, 0.1);
  color: #888;
}

/* Плавающие виджеты */
.floating-widgets {
  position: fixed;
  bottom: clamp(0.9375rem, 1.25vw, 1.25rem);
  right: clamp(0.9375rem, 1.25vw, 1.25rem);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: clamp(0.9375rem, 0.9375vw, 0.9375rem);
}

/* Добавляем смещение конкретно для иконки WhatsApp */
.whatsapp-widget {
  transform: translate(-11px, -75px); /* Влево на 3мм (~11px), вверх на 2см (~75px) */
}

.floating-widget {
  width: clamp(3.75rem, 5.625vw, 5.625rem); /* 60px → 90px */
  height: clamp(3.75rem, 5.625vw, 5.625rem); /* 60px → 90px */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.5rem, 2vw, 1.8rem); /* 24px → 36px, максимум 1.8rem */
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.whatsapp-widget {
  background: #25D366;
}

.chat-widget {
  background: linear-gradient(45deg, #ffd700, #d4af37);
  color: #0a1428;
}

.floating-widget:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.chat-popup {
  position: fixed;
  bottom: clamp(3.75rem, 6.25vw, 6.25rem); /* 60px → 100px */
  right: clamp(0.9375rem, 1.25vw, 1.25rem); /* 15px → 20px */
  width: clamp(15rem, 18.75vw, 18.75rem); /* 240px → 300px */
  height: clamp(21.875rem, 25rem, 25rem); /* 350px → 400px */
  background: rgba(10, 20, 40, 0.95);
  border-radius: 1.25rem; /* 20px */
  border: 1px solid rgba(255, 215, 0, 0.3);
  padding: clamp(1.25rem, 1.25vw, 1.25rem); /* 20px */
  transform: translateY(100%);
  opacity: 0;
  transition: all 0.3s ease;
  backdrop-filter: blur(15px);
}

.chat-popup.active {
  transform: translateY(0);
  opacity: 1;
}

.chat-popup h3 {
  color: #ffd700;
  margin-bottom: clamp(0.9375rem, 0.9375vw, 0.9375rem); /* 15px */
  text-align: center;
}

.chat-popup p {
  color: #c8c8c8;
  text-align: center;
  font-size: clamp(0.875rem, 0.875vw, 0.875rem); /* 14px */
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
  .header {
    padding: clamp(0.5rem, 0.5vw, 0.5rem) 0; /* 6px → 8px */
  }

  .header-content {
    padding: 0 clamp(0.625rem, 0.9375vw, 0.9375rem); /* 10px → 15px */
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .profile-photo {
    width: clamp(3.125rem, 5vw, 5rem); /* 50px → 80px */
    height: clamp(3.125rem, 5vw, 5rem); /* 50px → 80px */
    font-size: clamp(1.875rem, 1.875vw, 1.875rem); /* 30px */
    margin: clamp(0.5rem, 0.5vw, 0.5rem) 0; /* 8px */
  }

  .contact-icons {
    gap: clamp(1.875rem, 3vw, 1.875rem); /* 30px */
  }

  .contact-icons a {
    width: clamp(2.1875rem, 3.125vw, 3.125rem); /* 35px → 50px */
    height: clamp(2.1875rem, 3.125vw, 3.125rem); /* 35px → 50px */
    font-size: clamp(1.25rem, 1.25vw, 1.25rem); /* 20px */
  }

  .header-right {
    gap: clamp(1.875rem, 1.875vw, 1.875rem); /* 30px */
  }

  .lang-toggle {
    padding: clamp(0.5rem, 0.5vw, 0.5rem) clamp(0.9375rem, 0.9375vw, 0.9375rem); /* 8px 15px */
    font-size: clamp(0.875rem, 0.875vw, 0.875rem); /* 14px */
  }

  .hamburger {
    padding: clamp(0.375rem, 0.375vw, 0.375rem); /* 6px */
    z-index: 1001; /* Выше, чем у mobile-menu */
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-8px, 8px); /* Левее и выше */
  }

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

  .hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-7px, -6px); /* Левее и выше */
  }

  .mobile-menu {
    top: clamp(6.25rem, 6.25vw, 6.25rem); /* 100px */
    right: -21.875rem; /* -350px */
    width: clamp(16.25rem, 16.25vw, 16.25rem); /* 260px */
    height: calc(100vh - clamp(6.25rem, 6.25vw, 6.25rem)); /* 100px */
    background: rgba(10, 20, 40, 0.98);
    backdrop-filter: blur(15px);
    padding: clamp(1.25rem, 1.25vw, 1.25rem); /* 20px */
    transition: right 0.3s ease;
    border-left: 1px solid rgba(255, 215, 0, 0.2);
    z-index: 1000; /* Ниже, чем у hamburger */
  }

  .mobile-menu.active {
    right: 0;
  }

  .main-content {
    margin-top: clamp(6.25rem, 6.25vw, 6.25rem); /* 100px */
  }

  .hero {
    min-height: clamp(50vh, 60vw, 60vh); /* 60vh */
    padding: 0 clamp(0.9375rem, 0.9375vw, 0.9375rem); /* 15px */
  }

  .hero h1 {
    font-size: clamp(2.2rem, 4vw, 2.8rem); /* 2.8rem */
  }

  .hero p {
    font-size: clamp(1.1rem, 1.5vw, 1.2rem); /* 1.2rem */
  }

  .cta-button {
    padding: clamp(1.125rem, 1.125vw, 1.125rem) clamp(2.1875rem, 2.1875vw, 2.1875rem); /* 18px 35px */
    font-size: clamp(1.1rem, 1.2vw, 1.2rem); /* 1.2rem */
  }

  .about {
    padding: clamp(3.75rem, 3.75vw, 3.75rem) 0; /* 60px */
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: clamp(1.875rem, 1.875vw, 1.875rem); /* 30px */
  }

  .about-photo {
    max-width: clamp(12.5rem, 15.625vw, 15.625rem); /* 200px → 250px */
    height: clamp(18.75rem, 18.75vw, 18.75rem); /* 300px */
  }

  .services {
    padding: clamp(3.75rem, 3.75vw, 3.75rem) 0; /* 60px */
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: clamp(1.25rem, 1.25vw, 1.25rem); /* 20px */
  }

  .service-card {
    padding: clamp(1.25rem, 1.25vw, 1.25rem); /* 20px */
  }

  .testimonials {
    padding: clamp(3.75rem, 3.75vw, 3.75rem) 0; /* 60px */
  }

  .testimonial-card {
    padding: clamp(1.5625rem, 1.5625vw, 1.5625rem) clamp(0.9375rem, 0.9375vw, 0.9375rem); /* 25px 15px */
  }

  .cta-section {
    padding: clamp(3.75rem, 3.75vw, 3.75rem) 0; /* 60px */
  }

  .footer {
    padding: clamp(1.5625rem, 1.5625vw, 1.5625rem) 0 clamp(0.625rem, 0.625vw, 0.625rem); /* 25px 0 10px */
  }

  .floating-widget {
    width: clamp(3.75rem, 5.625vw, 3.75rem); /* 60px → 90px, ограничено 60px */
    height: clamp(3.75rem, 5.625vw, 3.75rem); /* 60px → 90px, ограничено 60px */
    font-size: clamp(1.5rem, 1.875vw, 1.5rem); /* 24px → 30px, ограничено 24px */
  }
}

@media (max-width: 480px) {
  .header {
    padding: clamp(0.375rem, 0.375vw, 0.375rem) 0; /* 6px */
  }

  .header-content {
    padding: 0 clamp(0.625rem, 0.625vw, 0.625rem); /* 10px */
  }

  .profile-photo {
    width: clamp(4.375rem, 4.375vw, 4.375rem); /* 70px */
    height: clamp(4.375rem, 4.375vw, 4.375rem); /* 70px */
    font-size: clamp(1.625rem, 1.625vw, 1.625rem); /* 26px */
    margin: clamp(0.375rem, 0.375vw, 0.375rem) 0; /* 6px */
  }

  .contact-icons a {
    width: clamp(2.8125rem, 2.8125vw, 2.8125rem); /* 45px */
    height: clamp(2.8125rem, 2.8125vw, 2.8125rem); /* 45px */
    font-size: clamp(1.125rem, 1.125vw, 1.125rem); /* 18px */
  }

  .lang-toggle {
    padding: clamp(0.375rem, 0.375vw, 0.375rem) clamp(0.75rem, 0.75vw, 0.75rem); /* 6px 12px */
    font-size: clamp(0.8125rem, 0.8125vw, 0.8125rem); /* 13px */
  }

  .hamburger {
    padding: clamp(0.375rem, 0.375vw, 0.375rem); /* 6px */
    z-index: 1001; /* Выше, чем у mobile-menu */
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-8px, 8px); /* Левее и выше */
  }

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

  .hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-7px, -6px); /* Левее и выше */
  }

  .mobile-menu {
    top: clamp(5.625rem, 5.625vw, 5.625rem); /* 90px */
    width: clamp(15rem, 15rem, 15rem); /* 240px */
    padding: clamp(0.9375rem, 0.9375vw, 0.9375rem); /* 15px */
  }

  .hero {
    padding: 0 clamp(0.75rem, 0.75vw, 0.75rem); /* 12px */
    min-height: clamp(50vh, 50vw, 50vh); /* 50vh */
  }

  .hero h1 {
    font-size: clamp(1.8rem, 3vw, 2.2rem); /* 2.2rem */
  }

  .hero p {
    font-size: clamp(0.875rem, 1vw, 1rem); /* 1rem */
  }

  .cta-button {
    padding: clamp(0.9375rem, 0.9375vw, 0.9375rem) clamp(1.875rem, 1.875vw, 1.875rem); /* 15px 30px */
    font-size: clamp(1rem, 1.1vw, 1.1rem); /* 1.1rem */
  }

  .about {
    padding: clamp(3.125rem, 3.125vw, 3.125rem) 0; /* 50px */
  }

  .services {
    padding: clamp(3.125rem, 3.125vw, 3.125rem) 0; /* 50px */
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: clamp(1.25rem, 1.25vw, 1.25rem); /* 20px */
  }

  .service-card {
    padding: clamp(1.25rem, 1.25vw, 1.25rem); /* 20px */
  }

  .testimonials {
    padding: clamp(3.125rem, 3.125vw, 3.125rem) 0; /* 50px */
  }

  .testimonial-card {
    padding: clamp(1.5625rem, 1.5625vw, 1.5625rem) clamp(0.9375rem, 0.9375vw, 0.9375rem); /* 25px 15px */
  }

  .cta-section {
    padding: clamp(3.125rem, 3.125vw, 3.125rem) 0; /* 50px */
  }

  .footer {
    padding: clamp(1.5625rem, 1.5625vw, 1.5625rem) 0 clamp(0.625rem, 0.625vw, 0.625rem); /* 25px 0 10px */
  }

  .floating-widget {
    width: clamp(3.75rem, 3.75vw, 3.75rem); /* 60px */
    height: clamp(3.75rem, 3.75vw, 3.75rem); /* 60px */
    font-size: clamp(1.5rem, 1.5vw, 1.5rem); /* 24px */
  }

  iframe[title="chat widget"] {
    position: fixed !important;
    bottom: calc(clamp(0.9375rem, 1.25vw, 1.25rem) + 3.125rem) !important; /* 15px + ~50px */
    right: clamp(0.9375rem, 1.25vw, 1.25rem) !important;
    z-index: 1001 !important;
    transform: none !important;
  }
}

.dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 1;
}

.dot {
  width: 10px;
  height: 10px;
  background: #666;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
}

.dot.active {
  background: #ffd700;
}

