/* ==========================================
   БАЗОВЫЕ СТИЛИ И ПЕРЕМЕННЫЕ
   ========================================== */

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

:root {
  --primary: #0f172a;
  --secondary: #1e293b;
  --accent: #334155;
  --text: #1e293b;
  --text-light: #64748b;
  --border: #e2e8f0;
  --white: #ffffff;
  --bg-light: #f8fafc;
  --gold: #d4af37;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  background: var(--white);
}

/* ==========================================
   HEADER И НАВИГАЦИЯ
   ========================================== */

header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  background: #94A2B2;
  border-bottom: none;
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 6%;
  max-width: 1400px;
  margin: 0 auto;
  gap: 2rem;
}

/* Лого */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 50px;
  width: auto;
  display: block;
}

.logo a {
  display: flex;
  align-items: center;
}

/* Навигационное меню */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
  flex-grow: 1;
  justify-content: center;
}

.nav-menu li {
  margin: 0;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

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

.nav-cta {
  padding: 0.7rem 1.5rem;
  background: var(--primary);
  color: var(--white) !important;
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.2s;
}

.nav-cta:hover {
  background: var(--secondary);
  color: var(--white) !important;
}

/* Кнопка мобильного меню */
.menu-btn {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  padding: 0.5rem;
}

/* Мобильная кнопка связаться (скрыта на десктопе) */
/* Мобильная кнопка связаться (скрыта на десктопе) */
/* Анимация пульсации */
@keyframes pulse-glow {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 3px 12px rgba(212, 175, 55, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 6px 24px rgba(212, 175, 55, 0.7);
  }
}

.mobile-contact-btn {
  display: none;
  background: var(--gold);
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.mobile-contact-btn:hover {
  background: #f4d03f;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.5);
}

.mobile-contact-btn:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
}

/* Переключатель языков */
.lang-switcher {
  position: relative;
  flex-shrink: 0;
}

.lang-current {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: all 0.2s ease;
  font-family: inherit;
  min-width: 85px;
}

.lang-current:hover {
  border-color: var(--accent);
  background: var(--bg-light);
}

.lang-current:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.1);
}

.lang-code {
  font-weight: 600;
  letter-spacing: 0.05em;
}

.lang-arrow {
  font-size: 0.7rem;
  margin-left: auto;
  transition: transform 0.2s ease;
}

.lang-switcher:hover .lang-arrow {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  min-width: 160px;
}

.lang-switcher:hover .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Исправление для мобильного: закрываем dropdown после выбора */
.lang-switcher.dropdown-closed .lang-dropdown,
.lang-switcher.dropdown-closed:hover .lang-dropdown {
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(-10px) !important;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text);
  transition: all 0.2s ease;
  font-family: inherit;
  text-align: left;
}

.lang-option:last-child {
  border-bottom: none;
}

.lang-option:hover {
  background: var(--bg-light);
}

.lang-option.active {
  background: var(--primary);
  color: var(--white);
}

.lang-option.active .lang-name {
  font-weight: 600;
}

.lang-name {
  font-weight: 500;
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 6%;
  margin: 0;
  background-image: url('../img/img_3.png');
  background-size: cover;
  background-position: 98% center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Для мобильных устройств используем старое фото img_2.png с оригинальными настройками */
@media (max-width: 768px) {
  .hero {
    background-image: url('../img/img_2.webp');
    background-size: cover;
    background-position: right -170% top;
  }
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to right,
    rgba(15, 23, 42, 0.95) 0%,
    rgba(15, 23, 42, 0.85) 40%,
    rgba(15, 23, 42, 0.65) 70%,
    rgba(15, 23, 42, 0.50) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 500px;
  margin-right: auto;
}

.hero-label {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero h1 {
  font-size: 3.2rem;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

/* Кнопки */
.cta-group {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, #f4d03f 100%);
  color: #1e293b;
  border: 2px solid var(--gold);
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #f4d03f 0%, var(--gold) 100%);
  color: #0f172a;
  border-color: #f4d03f;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.hero .btn-primary,
.hero .btn-secondary {
  min-width: 200px;
}

/* ==========================================
   STATS SECTION (закомментирован)
   ========================================== */

/*
.stats {
  padding: 80px 6%;
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

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

.stat-number {
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-light);
  font-weight: 500;
}
*/

/* ==========================================
   SERVICES SECTION
   ========================================== */

.services {
  padding: 64px 6%;
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  max-width: 640px;
  margin-bottom: 4rem;
}

.section-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.section-title {
  font-size: 2.5rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-text {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.7;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.service-item {
  text-decoration: none;
  color: inherit;
  display: block;
  padding: 3rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-light);
  transition: all 0.3s ease;
  position: relative;
}

.service-item:nth-child(2n) {
  border-right: none;
}

.service-item:nth-last-child(-n+2) {
  border-bottom: none;
}

.service-item:hover {
  background: var(--bg-light);
  border: 3px solid var(--gold) !important;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
  z-index: 10;
}

.service-number {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 1rem;
}

.service-item h3 {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 0.8rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.service-item p {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ==========================================
   EXPERTISE SECTION (О НАС)
   ========================================== */

.expertise {
  padding: 64px 6%;
  background: var(--primary);
  color: var(--white);
}

.expertise-container {
  max-width: 1400px;
  margin: 0 auto;
}

.expertise .section-title {
  font-size: 2.5rem;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 4rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.expertise-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.expertise-column p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--white);
  opacity: 0.9;
  margin: 0;
}

/* ==========================================
   PROCESS SECTION
   ========================================== */

.process {
  padding: 64px 6%;
  max-width: 1400px;
  margin: 0 auto;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.step {
  position: relative;
}

.step-number {
  width: 48px;
  height: 48px;
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.step h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 0.8rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.step p {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ==========================================
   TESTIMONIALS SECTION (ОТЗЫВЫ)
   ========================================== */

.testimonials {
  padding: 64px 6%;
  background: var(--primary);
  color: var(--white);
}

.testimonials-container {
  max-width: 1400px;
  margin: 0 auto;
}

.testimonials .section-header {
  max-width: 640px;
  margin-bottom: 4rem;
  text-align: left;
}

.testimonials .section-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.testimonials .section-title {
  font-size: 2.5rem;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 12px;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  height: 100%;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
}

.testimonial-author {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-light);
  margin: 0;
  flex-grow: 1;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */

.contact {
  padding: 64px 6%;
  max-width: 1400px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  margin-top: 4rem;
}

.contact-info h3 {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 2rem;
  font-weight: 600;
}

.info-list {
  display: grid;
  gap: 2rem;
}

.info-block h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.info-block p {
  color: var(--text);
  line-height: 1.7;
}

.info-block a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}

.info-block a:hover {
  color: var(--accent);
}

.contact-form {
  background: var(--bg-light);
  padding: 3rem;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text);
  font-weight: 500;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.9rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.95rem;
  transition: all 0.2s;
  font-family: inherit;
  background: var(--white);
  color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.map-container {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 1.5rem;
}

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

.success-message {
  margin-top: 20px;
  padding: 15px;
  text-align: center;
  background: #e6f5e6;
  color: #2d7a2d;
  border-radius: 8px;
  font-size: 16px;
  border: 1px solid #a5d6a7;
}

.social-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  align-items: center;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.08);
  border: 2px solid var(--gold);
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.2);
}

.social-btn:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold);
  border-width: 3px;
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.4);
}

.social-btn img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.contact-form button[type="submit"] {
  width: 100%;
  padding: 1rem 2rem;
  background: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.contact-form button[type="submit"]:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.3);
}

.contact-form button[type="submit"]:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.2);
}

/* ==========================================
   FOOTER
   ========================================== */

footer {
  background: var(--primary);
  color: var(--white);
  padding: 4rem 6% 2rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-about h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-about p {
  opacity: 0.8;
  line-height: 1.7;
  font-size: 0.95rem;
}

.footer-links h4 {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.6;
}

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

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

.footer-links a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s;
  font-size: 0.95rem;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 2rem;
  text-align: center;
  opacity: 0.6;
  font-size: 0.9rem;
}

/* ==========================================
   СТРАНИЦЫ УСЛУГ
   ========================================== */

.service-page-section {
  padding: 140px 6% 80px;
  min-height: calc(100vh - 400px);
  background: var(--bg-light);
}

.service-page-container {
  max-width: 1200px;
  margin: 0 auto;
}

.service-page-container h1 {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.service-description {
  font-size: 1.2rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 4rem;
  max-width: 800px;
}

.service-points-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.service-point-item {
  background: var(--white);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: all 0.3s ease;
}

.service-point-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--accent);
}

.service-point-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 600;
  flex-shrink: 0;
}

.service-point-item p {
  flex: 1;
  color: var(--text);
  line-height: 1.7;
  font-size: 1rem;
  margin: 0;
}

.service-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.service-actions .btn {
  min-width: 220px;
}

/* ==========================================
   АНИМАЦИИ
   ========================================== */

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s, transform 0.6s;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-transition {
  animation: fadeIn 0.3s ease;
}

/* ==========================================
   АДАПТАЦИЯ ДЛЯ ПЛАНШЕТОВ (≤1024px)
   ========================================== */

@media (max-width: 1024px) {
  .nav-menu {
    gap: 1.5rem;
  }

  .nav-menu a {
    font-size: 0.9rem;
  }

  .hero {
    min-height: 80vh;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

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

  .services,
  .expertise,
  .process,
  .testimonials,
  .contact {
    padding: 40px 5%;
  }

  .services-list {
    grid-template-columns: 1fr;
  }

  .service-item {
    border-right: none;
    padding: 2.5rem;
  }

  .service-item:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--border);
  }

  .service-item:last-child {
    border-bottom: none;
  }

  .expertise .section-title {
    font-size: 2rem;
    margin-bottom: 3rem;
  }

  .expertise-columns {
    gap: 3rem;
  }

  .expertise-column p {
    font-size: 1rem;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .service-page-container h1 {
    font-size: 2.5rem;
  }

  .service-points-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   АДАПТАЦИЯ ДЛЯ МОБИЛЬНЫХ (≤768px)
   ========================================== */

@media (max-width: 768px) {
  .nav-container {
    gap: 0.75rem;
  }

  .menu-btn {
    display: block;
    order: 2;
  }

  .mobile-contact-btn {
    display: flex;
    order: 3;
    /* Полные стили кнопки для мобильного */
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 12px rgba(212, 175, 55, 0.4);
    animation: pulse-glow 2s ease-in-out infinite;
  }

  .mobile-contact-btn svg {
    width: 22px;
    height: 22px;
    stroke-width: 2.5;
    flex-shrink: 0;
  }

  .mobile-contact-btn span {
    font-weight: 700;
    white-space: nowrap;
  }

  .logo {
    order: 1;
  }

  .lang-switcher {
    order: 4;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: #94A2B2;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 3rem 0;
    transition: left 0.3s ease;
    gap: 1.5rem;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    width: 90%;
    text-align: center;
  }

  .nav-menu a {
    display: block;
    padding: 1rem;
    font-size: 1.1rem;
  }

  .lang-current {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    min-width: 75px;
  }

  .lang-dropdown {
    min-width: 140px;
  }

  .lang-option {
    padding: 0.8rem 1rem;
    font-size: 0.85rem;
  }

  /* ГЛАВНОЕ ИЗМЕНЕНИЕ: Hero section на мобильных устройствах */
  .hero {
    position: relative;
    padding: 120px 5% 30px;
    background-position: center center;
    background-size: cover;
    min-height: 85vh;
    overflow: hidden;
    background-attachment: scroll;
    display: flex;
    align-items: stretch;
  }

  .hero::before {
    background: linear-gradient(
      to bottom,
      rgba(15, 23, 42, 0.65) 0%,
      rgba(15, 23, 42, 0.55) 40%,
      rgba(15, 23, 42, 0.4) 100%
    );
  }

  .hero-content {
    text-align: center;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
  }

  .hero h1 {
    font-size: 1.75rem;
    line-height: 1.3;
    margin-bottom: 1rem;
    margin-top: 15vh;
  }

  .hero p {
    display: none; /* Скрываем описание на мобильных */
  }

  .cta-group {
    flex-direction: column;
    gap: 0.75rem;
    margin-top: auto;
    padding-bottom: 0;
  }

  .hero .btn-primary,
  .hero .btn-secondary {
    width: 100%;
    padding: 0.9rem 1.5rem;
    font-size: 0.95rem;
  }

  .section-title {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .services,
  .expertise,
  .process,
  .testimonials,
  .contact {
    padding: 48px 5%;
  }

  .service-item {
    padding: 2rem;
  }

  .service-item h3 {
    font-size: 1.25rem;
  }

  .service-item p {
    font-size: 0.9rem;
  }

  .expertise {
    padding: 48px 6%;
  }

  .expertise .section-title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
  }

  .expertise-columns {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .expertise-column p {
    font-size: 1rem;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .testimonials {
    padding: 48px 6%;
  }

  .testimonials .section-header {
    margin-bottom: 3rem;
  }

  .testimonials .section-title {
    font-size: 1.75rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .testimonial-card {
    padding: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 2rem;
  }

  .social-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
  }

  .social-btn {
    width: 54px;
    height: 54px;
  }

  .social-btn img {
    width: 30px;
    height: 30px;
  }

  .map-container iframe {
    height: 220px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-page-section {
    padding: 120px 6% 60px;
  }

  .service-page-container h1 {
    font-size: 2rem;
  }

  .service-description {
    font-size: 1rem;
    margin-bottom: 3rem;
  }

  .service-point-item {
    padding: 1.5rem;
    flex-direction: column;
    gap: 1rem;
  }

  .service-point-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .service-actions {
    flex-direction: column;
  }

  .service-actions .btn {
    width: 100%;
  }
}

/* ==========================================
   АДАПТАЦИЯ ДЛЯ МАЛЕНЬКИХ ЭКРАНОВ (≤480px)
   ========================================== */

@media (max-width: 480px) {
  .nav-container {
    padding: 1rem 4%;
    gap: 0.5rem;
  }

  .logo img {
    height: 40px;
  }

  .mobile-contact-btn {
    padding: 0.7rem 1.3rem;
    font-size: 14px;
    gap: 0.5rem;
  }

  .mobile-contact-btn svg {
    width: 20px;
    height: 20px;
  }

  .lang-current {
    padding: 0.5rem 0.8rem;
    font-size: 0.8rem;
    min-width: 65px;
  }

  .hero {
    min-height: 80vh;
    padding: 100px 4% 30px;
  }

  .hero h1 {
    font-size: 1.5rem;
    line-height: 1.25;
  }

  .hero p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .hero .btn-primary,
  .hero .btn-secondary {
    padding: 0.85rem 1.25rem;
    font-size: 0.9rem;
  }

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

  .section-text {
    font-size: 0.95rem;
  }

  .services,
  .expertise,
  .process,
  .testimonials,
  .contact {
    padding: 32px 4%;
  }

  .service-item {
    padding: 1.5rem;
  }

  .service-item h3 {
    font-size: 1.1rem;
  }

  .service-item p {
    font-size: 0.85rem;
  }

  .testimonial-card {
    padding: 1.5rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 0.9rem;
    padding: 0.8rem;
  }

  .social-buttons {
    gap: 0.75rem;
  }

  .social-btn {
    width: 50px;
    height: 50px;
  }

  .social-btn img {
    width: 28px;
    height: 28px;
  }

  .map-container iframe {
    height: 200px;
  }

  .service-page-container h1 {
    font-size: 1.75rem;
  }

  .service-point-item {
    padding: 1.25rem;
  }

  .footer-content {
    padding-bottom: 2rem;
  }
}

/* Фикс для iOS Safari */
@supports (-webkit-touch-callout: none) {
  .hero {
    background-attachment: scroll !important;
  }
}
