/* ============================================
   ЛОКАЛЬНЫЕ ШРИФТЫ MONTSERRAT
   ============================================ */
@font-face {
    font-family: 'Montserrat';
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: url('./fonts/montserrat-regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Montserrat';
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    src: url('./fonts/montserrat-medium.woff2') format('woff2');
}

@font-face {
    font-family: 'Montserrat';
    font-weight: 600;
    font-style: normal;
    font-display: swap;
    src: url('./fonts/montserrat-semibold.woff2') format('woff2');
}

@font-face {
    font-family: 'Montserrat';
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    src: url('./fonts/montserrat-bold.woff2') format('woff2');
}

/* ============================================
   CSS ПЕРЕМЕННЫЕ
   ============================================ */
:root {
    --construction-yellow: #FDB913;
    --construction-orange: #FF6B35;
    --dark-concrete: #1a1a1a;
    --light-concrete: #2a2a2a;
    --steel-gray: #4a4a4a;
    --warning-red: #E63946;
    --safety-green: #06FFA5;
    --white: #FAFAFA;
}

/* ============================================
   БАЗОВЫЕ СТИЛИ
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--dark-concrete);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ============================================
   ДЕКОРАТИВНЫЕ ЭЛЕМЕНТЫ ФОНА
   ============================================ */
.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    pointer-events: none;
    z-index: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 35px, var(--construction-yellow) 35px, var(--construction-yellow) 36px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, var(--construction-yellow) 35px, var(--construction-yellow) 36px);
}

/* ============================================
   АНИМИРОВАННЫЙ ГРАДИЕНТНЫЙ ФОН (отключен)
   ============================================ */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
    filter: blur(80px);
    opacity: 0.7;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    opacity: 0.7;
    mix-blend-mode: screen;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle at center, rgba(253, 185, 19, 0.8) 0%, rgba(253, 185, 19, 0) 70%);
    top: 10%;
    left: 20%;
    animation: moveVertical 30s ease infinite;
}

.orb-2 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle at center, rgba(255, 152, 0, 0.7) 0%, rgba(255, 152, 0, 0) 70%);
    top: 60%;
    left: 70%;
    animation: moveInCircle 20s reverse infinite;
}

.orb-3 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle at center, rgba(76, 175, 80, 0.6) 0%, rgba(76, 175, 80, 0) 70%);
    top: 40%;
    left: 50%;
    animation: moveInCircle 40s linear infinite;
}

.orb-4 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle at center, rgba(255, 193, 7, 0.7) 0%, rgba(255, 193, 7, 0) 70%);
    top: 70%;
    left: 30%;
    animation: moveHorizontal 40s ease infinite;
}

.orb-5 {
    width: 480px;
    height: 480px;
    background: radial-gradient(circle at center, rgba(46, 125, 50, 0.5) 0%, rgba(46, 125, 50, 0) 70%);
    top: 20%;
    left: 80%;
    animation: moveInCircle 25s ease infinite;
}

/* ============================================
   HEADER
   ============================================ */
header {
    position: relative;
    padding: 2rem 5%;
    background: var(--dark-concrete);
    border-bottom: 4px solid var(--construction-yellow);
    z-index: 10;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    animation: slideDown 0.8s ease-out;
}


.logo-text {
    text-align: left;
}

.logo-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 3px;
    background: linear-gradient(135deg, var(--construction-yellow), var(--construction-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    line-height: 1;
}

.subtitle {
    font-family: 'Montserrat', sans-serif;
    color: var(--safety-green);
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 0.5rem;
    letter-spacing: 2px;
    animation: fadeIn 1s ease-out 0.3s backwards;
}

/* ============================================
   СЧЕТЧИК ОНЛАЙН МАСТЕРОВ
   ============================================ */
.online-counter {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    border: 2px solid var(--safety-green);
    backdrop-filter: blur(10px);
    animation: slideDown 0.8s ease-out 0.5s backwards;
    box-shadow: 0 4px 15px rgba(6, 255, 165, 0.3);
}

.online-indicator {
    width: 10px;
    height: 10px;
    background: var(--safety-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--safety-green), 0 0 20px var(--safety-green);
    animation: pulse-online 1.5s ease-in-out infinite;
    transition: opacity 0.6s ease, box-shadow 0.6s ease;
    position: relative;
}

.online-indicator::before,
.online-indicator::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 1px solid var(--safety-green);
    opacity: 0;
    animation: ripple 3.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.online-indicator::after {
    animation-delay: 1.75s;
}

.online-text {
    font-family: 'Montserrat', sans-serif;
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.online-count {
    color: var(--safety-green);
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.online-count.updating {
    transform: scale(1.15);
}

@keyframes pulse-online {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 15px var(--safety-green), 0 0 30px var(--safety-green), 0 0 45px var(--safety-green);
    }
    50% {
        opacity: 0.6;
        transform: scale(1);
        box-shadow: 0 0 8px var(--safety-green), 0 0 15px var(--safety-green);
    }
}

@keyframes ripple {
    0% {
        opacity: 0.6;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(3.5);
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    padding: 3rem 5% 8rem;
    text-align: center;
    z-index: 1;
}

.hero h1,
.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 4.1vw, 6rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: slideUp 0.8s ease-out 0.2s backwards;
    font-weight: 800;
    color: #d0d0d0;
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1rem, 2vw, 4rem);
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: #ccc;
    animation: fadeIn 1s ease-out 0.5s backwards;
    line-height: 1.8;
}

.hero-subtitle .highlight {
    color: var(--construction-yellow);
    font-weight: 700;
    display: block;
    margin-top: 1rem;
}

/* ============================================
   МОДАЛЬНОЕ ОКНО БЛАГОДАРНОСТИ
   ============================================ */

.thank-you-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

.thank-you-modal.show {
  display: flex;
}

.thank-you-content {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border: 2px solid rgba(253, 185, 19, 0.3);
  border-radius: 24px;
  padding: 50px 40px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(253, 185, 19, 0.1);
  animation: slideUp 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: relative;
}

.thank-you-icon {
  margin: 0 auto 30px;
  width: 120px;
  height: 120px;
}

.thank-you-icon svg {
  width: 100%;
  height: 100%;
}

.success-circle {
  stroke-dasharray: 226;
  stroke-dashoffset: 226;
  animation: drawCircle 0.6s ease-out 0.2s forwards;
}

.success-check {
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: drawCheck 0.4s ease-out 0.8s forwards;
}

@keyframes drawCircle {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes drawCheck {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.thank-you-title {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #FDB913 0%, #FF9800 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.thank-you-message {
  font-size: 1.1rem;
  color: #e0e0e0;
  line-height: 1.6;
  margin-bottom: 30px;
}


.thank-you-close {
  background: linear-gradient(135deg, #FDB913 0%, #FF9800 100%);
  color: #1a1a1a;
  border: none;
  padding: 15px 40px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(253, 185, 19, 0.4);
}

.thank-you-close:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(253, 185, 19, 0.6);
  background: linear-gradient(135deg, #FF9800 0%, #FDB913 100%);
}

.thank-you-close:active {
  transform: translateY(0);
}

/* ============================================
   СТАТИСТИКА
   ============================================ */
.stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    animation: fadeIn 1s ease-out 0.7s backwards;
}

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

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    color: var(--safety-green);
    line-height: 1;
    font-weight: 700;
}

.stat-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   СЕКЦИИ (ДЛЯ МАСТЕРОВ / ДЛЯ КЛИЕНТОВ)
   ============================================ */
.sections-container {
    position: relative;
    z-index: 1;
    padding: 0 5% 4rem;
}

.split-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
    margin-bottom: 4rem;
}

.section-card {
    background: var(--light-concrete);
    padding: 3rem;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
    animation: scaleIn 0.6s ease-out backwards;
    display: flex;
    flex-direction: column;
    min-height: 700px;
    border: 2px solid transparent;
}

.section-card:nth-child(1) {
    animation-delay: 0.8s;
}

.section-card:nth-child(2) {
    animation-delay: 1s;
}

.section-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--construction-yellow), var(--construction-orange));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.section-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(253, 185, 19, 0.2);
}

.section-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.section-icon svg {
    width: 60px;
    height: 60px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Круглая рамка для иконки клиентов (зеленая) */
.icon-clients {
    background: radial-gradient(circle at 30% 30%, rgba(6, 255, 165, 0.15), rgba(6, 255, 165, 0.05));
    border: 3px solid var(--safety-green);
    box-shadow: 
        0 0 30px rgba(6, 255, 165, 0.3),
        inset 0 0 20px rgba(6, 255, 165, 0.1);
}

.icon-clients:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 0 50px rgba(6, 255, 165, 0.6),
        inset 0 0 30px rgba(6, 255, 165, 0.2);
    border-color: rgba(6, 255, 165, 1);
}

/* Круглая рамка для иконки мастеров (желтая) */
.icon-masters {
    background: radial-gradient(circle at 30% 30%, rgba(253, 185, 19, 0.15), rgba(253, 185, 19, 0.05));
    border: 3px solid var(--construction-yellow);
    box-shadow: 
        0 0 30px rgba(253, 185, 19, 0.3),
        inset 0 0 20px rgba(253, 185, 19, 0.1);
}

.icon-masters:hover {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 
        0 0 50px rgba(253, 185, 19, 0.6),
        inset 0 0 30px rgba(253, 185, 19, 0.2);
    border-color: rgba(253, 185, 19, 1);
}

/* Анимация пульсации */
@keyframes icon-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.section-icon {
    animation: icon-pulse 3s ease-in-out infinite;
}

.section-card:nth-child(2) .section-icon {
    animation-delay: 1.5s;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--construction-yellow);
    flex-shrink: 0;
}

.section-tagline {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--safety-green);
}

/* ============================================
   СПИСКИ ПРЕИМУЩЕСТВ
   ============================================ */
.benefits-list {
    list-style: none;
    margin-bottom: 2rem;
}

.benefits-list li {
    font-family: 'Montserrat', sans-serif;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--steel-gray);
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    padding-left: 2rem;
}

.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--construction-orange);
    font-size: 1.5rem;
    line-height: 1;
}

.benefits-list li strong {
    font-weight: 600;
    color: var(--construction-yellow);
}

/* ============================================
   CTA КНОПКИ - GLASSMORPHISM СТИЛЬ
   ============================================ */

.cta-button {
    display: block;
    margin: 0 auto;
    width: fit-content;
    padding: 1.2rem 2.5rem;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    
    /* Glassmorphism эффект */
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    
    /* Тени и переходы */
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: var(--white);
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.03);
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(0, 0, 0, 0.4);
}

/* Вариант для клиентов - зеленый */
.cta-clients {
    border: 3px solid var(--safety-green);
    box-shadow: 
        0 8px 32px rgba(6, 255, 165, 0.3),
        0 0 40px rgba(6, 255, 165, 0.2),
        inset 0 1px 0 rgba(6, 255, 165, 0.2);
}

.cta-clients:hover {
    box-shadow: 
        0 12px 40px rgba(6, 255, 165, 0.5),
        0 0 60px rgba(6, 255, 165, 0.4),
        inset 0 1px 0 rgba(6, 255, 165, 0.3);
    border-color: var(--safety-green);
    background: rgba(6, 255, 165, 0.15);
}

/* Вариант для мастеров - желтый */
.cta-masters {
    border: 3px solid var(--construction-yellow);
    box-shadow: 
        0 8px 32px rgba(253, 185, 19, 0.3),
        0 0 40px rgba(253, 185, 19, 0.2),
        inset 0 1px 0 rgba(253, 185, 19, 0.2);
}

.cta-masters:hover {
    box-shadow: 
        0 12px 40px rgba(253, 185, 19, 0.5),
        0 0 60px rgba(253, 185, 19, 0.4),
        inset 0 1px 0 rgba(253, 185, 19, 0.3);
    border-color: var(--construction-yellow);
    background: rgba(253, 185, 19, 0.15);
}

/* Вариант для footer - оранжевый */
.cta-footer {
    border: 3px solid var(--construction-orange);
    box-shadow: 
        0 8px 32px rgba(255, 107, 53, 0.3),
        0 0 40px rgba(255, 107, 53, 0.2),
        inset 0 1px 0 rgba(255, 107, 53, 0.2);
}

.cta-footer:hover {
    box-shadow: 
        0 12px 40px rgba(255, 107, 53, 0.5),
        0 0 60px rgba(255, 107, 53, 0.4),
        inset 0 1px 0 rgba(255, 107, 53, 0.3);
    border-color: var(--construction-orange);
    background: rgba(255, 107, 53, 0.15);
}

.cta-button span {
    position: relative;
    z-index: 1;
    display: block;
    text-align: center;
}

.cta-main {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
}

.cta-sub {
    display: block;
    font-size: 0.8rem;
    margin-top: 0.3rem;
    opacity: 0.9;
    font-weight: 500;
    letter-spacing: 1px;
    text-align: center;
}

/* ============================================
   КАК ЭТО РАБОТАЕТ
   ============================================ */
.how-it-works {
    padding: 6rem 5% 4rem;
    position: relative;
    z-index: 1;
}

.section-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--construction-yellow), var(--construction-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    font-weight: 500;
    text-align: center;
    color: var(--safety-green);
    margin-bottom: 4rem;
    letter-spacing: 0.5px;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.step-card {
    background: var(--light-concrete);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    animation: slideUp 0.6s ease-out backwards;
}

.step-card[data-step="1"] { animation-delay: 0.1s; }
.step-card[data-step="2"] { animation-delay: 0.2s; }
.step-card[data-step="3"] { animation-delay: 0.3s; }
.step-card[data-step="4"] { animation-delay: 0.4s; }

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--construction-yellow), var(--construction-orange));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.step-card:hover {
    transform: translateY(-10px);
    border-color: var(--construction-yellow);
    box-shadow: 0 20px 60px rgba(253, 185, 19, 0.3);
}

.step-card:hover::before {
    transform: scaleX(1);
}

.step-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(253, 185, 19, 0.1);
    line-height: 1;
    margin-bottom: -1rem;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(253, 185, 19, 0.2), rgba(253, 185, 19, 0.05));
    border: 3px solid var(--construction-yellow);
    box-shadow: 0 0 30px rgba(253, 185, 19, 0.3);
    transition: all 0.4s ease;
}

.step-card:hover .step-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 50px rgba(253, 185, 19, 0.5);
}

.step-icon svg {
    width: 40px;
    height: 40px;
    color: var(--construction-yellow);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.step-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--construction-yellow);
    margin-bottom: 0.8rem;
    text-align: center;
}

.step-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #ccc;
    line-height: 1.6;
    text-align: center;
}

/* ============================================
   ОТЗЫВЫ МАСТЕРОВ
   ============================================ */
.testimonials {
    padding: 6rem 5% 4rem;
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, transparent 0%, rgba(253, 185, 19, 0.03) 100%);
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--light-concrete);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    animation: scaleIn 0.6s ease-out backwards;
    display: flex;
    flex-direction: column;
}

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 120px;
    font-weight: 900;
    color: rgba(253, 185, 19, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--safety-green);
    box-shadow: 0 15px 40px rgba(6, 255, 165, 0.2);
}

.testimonial-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    min-height: 60px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--construction-yellow), var(--construction-orange));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--dark-concrete);
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(253, 185, 19, 0.4);
}

.testimonial-info {
    flex: 1;
}

.testimonial-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.3rem;
}

.testimonial-profession {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--safety-green);
}

.testimonial-rating {
    display: flex;
    gap: 0.2rem;
    align-items: center;
    margin-top: 0.5rem;
}

.star {
    color: var(--construction-yellow);
    font-size: 1.2rem;
}

.testimonial-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #ddd;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    flex-grow: 1;
}

.testimonial-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.stat-badge {
    flex: 1;
    min-width: 140px;
    padding: 1rem;
    background: rgba(253, 185, 19, 0.1);
    border: 1px solid rgba(253, 185, 19, 0.3);
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 80px;
}

.stat-badge:hover {
    background: rgba(253, 185, 19, 0.15);
    border-color: var(--construction-yellow);
}

.stat-value {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--construction-yellow);
    margin-bottom: 0.3rem;
    line-height: 1.2;
}

.stat-label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: #999;
    line-height: 1.2;
    text-transform: uppercase;
}

/* ============================================
   FAQ
   ============================================ */
.faq {
    padding: 6rem 5% 4rem;
    position: relative;
    z-index: 1;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--light-concrete);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    animation: slideUp 0.5s ease-out backwards;
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.15s; }
.faq-item:nth-child(3) { animation-delay: 0.2s; }
.faq-item:nth-child(4) { animation-delay: 0.25s; }
.faq-item:nth-child(5) { animation-delay: 0.3s; }
.faq-item:nth-child(6) { animation-delay: 0.35s; }
.faq-item:nth-child(7) { animation-delay: 0.4s; }

.faq-item:hover {
    border-color: var(--construction-yellow);
}

.faq-item.active {
    border-color: var(--safety-green);
    box-shadow: 0 8px 30px rgba(6, 255, 165, 0.2);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(253, 185, 19, 0.05);
}

.faq-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--construction-yellow), var(--construction-orange));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--dark-concrete);
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(253, 185, 19, 0.3);
}

.faq-text {
    flex: 1;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
}

.faq-arrow {
    font-size: 2rem;
    color: var(--construction-yellow);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-arrow {
    transform: rotate(90deg);
    color: var(--safety-green);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 2rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 2rem 1.5rem 5rem;
}

.faq-answer p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #ccc;
    line-height: 1.7;
    margin: 0;
}

.faq-answer strong {
    color: var(--safety-green);
    font-weight: 700;
}

/* ============================================
   FOOTER CTA
   ============================================ */
.footer-cta {
    text-align: center;
    padding: 5rem 5%;
    position: relative;
    z-index: 1;
}

.footer-cta-title {
    font-family: 'Montserrat', sans-serif;
    font-size:4rem;
    font-weight: 900;
    margin-bottom: 2.5rem;
    color: var(--white);
    line-height: 1.3;
    /* animation: pulse 2s ease-in-out infinite; */
}

.footer-cta-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 500;
    color: #e0e0e0;
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 2;
    letter-spacing: 0.5px;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: var(--light-concrete);
    padding: 2rem 5%;
    text-align: center;
    border-top: 4px solid var(--construction-yellow);
    position: relative;
    z-index: 1;
}

.footer-text {
    font-family: 'Montserrat', sans-serif;
    color: var(--safety-green);
    font-size: 1.1rem;
    font-weight: 400;
}

.footer-link {
    color: var(--construction-yellow);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--construction-orange);
}

.footer-privacy {
    font-family: 'Montserrat', sans-serif;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-weight: 400;
    margin-top: 1rem;
    line-height: 1.5;
}

/* ============================================
   JS-АНИМАЦИИ
   ============================================ */
.fade-init {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* ============================================
   АНИМАЦИИ
   ============================================ */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

@keyframes moveVertical {
    0% {
        transform: translateY(-50%);
    }
    50% {
        transform: translateY(50%);
    }
    100% {
        transform: translateY(-50%);
    }
}

@keyframes moveHorizontal {
    0% {
        transform: translateX(-50%) translateY(-10%);
    }
    50% {
        transform: translateX(50%) translateY(10%);
    }
    100% {
        transform: translateX(-50%) translateY(-10%);
    }
}

@keyframes moveInCircle {
    0% {
        transform: rotate(0deg) translateX(100px) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translateX(100px) rotate(-360deg);
    }
}

/* ============================================
   RESPONSIVE — ПЛАНШЕТЫ (769px – 1024px)
   ============================================ */
@media (max-width: 1024px) and (min-width: 769px) {
    header {
        padding: 1.5rem 4%;
    }

    .hero {
        padding: 4rem 4% 5rem;
    }

    .hero h1,
    .hero-title {
        font-size: 3.5rem;
    }

    .sections-container {
        padding: 0 4% 3rem;
    }

    .split-sections {
        gap: 1.5rem;
    }

    .section-card {
        padding: 2.5rem;
    }
    
    .section-icon {
        width: 100px;
        height: 100px;
    }
    
    .section-icon svg {
        width: 50px;
        height: 50px;
    }

    .footer-cta {
        padding: 4rem 4%;
    }
}

/* ============================================
   RESPONSIVE — ПЛАНШЕТЫ ВЕРТИКАЛЬНЫЕ (до 968px)
   ============================================ */
@media (max-width: 968px) {
    .split-sections {
        grid-template-columns: 1fr;
    }

    .hero h1,
    .hero-title {
        font-size: 3rem;
    }

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

    .stats {
        gap: 2rem;
    }

    .section-card {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1.2rem 4%;
        justify-content: center;
    }

    .logo {
        gap: 0.8rem;
        flex: 1 1 100%;
        justify-content: center;
    }
    
    .online-counter {
        flex: 1 1 100%;
        justify-content: center;
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .online-text {
        font-size: 0.85rem;
    }
    
    .online-count {
        font-size: 1rem;
    }
    
    .online-indicator {
        width: 8px;
        height: 8px;
    }
    
    .online-indicator::before,
    .online-indicator::after {
        border-width: 1px;
    }
    
    /* Постоянная подсветка карточек на мобильных */
    .section-card:first-child {
        border: 0.5px solid var(--safety-green);
        box-shadow:
            0 10px 30px rgba(0, 0, 0, 0.5),
            0 0 40px rgba(6, 255, 165, 0.3),
            inset 0 1px 0 rgba(6, 255, 165, 0.2);
    }
    
    .section-card:last-child {
        border: 0.5px solid var(--construction-yellow);
        box-shadow:
            0 10px 30px rgba(0, 0, 0, 0.5),
            0 0 40px rgba(253, 185, 19, 0.3),
            inset 0 1px 0 rgba(253, 185, 19, 0.2);
    }
    
    
    .logo-title {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }

    .subtitle {
        font-size: 0.75rem;
        letter-spacing: 1px;
    }

    .hero {
        padding: 2.5rem 4% 3rem;
    }

    .hero h1,
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .stats {
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .stat-item {
        min-width: 80px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .split-sections {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 600px;
        margin: 0 auto 2rem;
    }

    .section-card {
        padding: 2rem;
    }
    
    .section-icon {
        width: 90px;
        height: 90px;
        margin-bottom: 1rem;
    }
    
    .section-icon svg {
        width: 45px;
        height: 45px;
    }

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

    .section-tagline {
        font-size: 0.9rem;
    }

    .benefits-list li {
        font-size: 0.9rem;
        padding: 0.6rem 0;
        padding-left: 1.5rem;
    }

    .cta-button {
        padding: 1rem 2rem;
    }

    .cta-main {
        font-size: 1rem;
    }

    .cta-sub {
        font-size: 0.75rem;
    }

    .footer-cta {
        padding: 3rem 4%;
    }

    .footer-cta-title {
        font-size: 2rem;
        line-height: 1.4;
    }

    .footer-cta-text {
        font-size: 1.2rem;
        line-height: 1.8;
        margin-bottom: 2rem;
    }

    footer {
        padding: 1.5rem 4%;
    }
}

/* ============================================
   RESPONSIVE — МОБИЛЬНЫЕ УСТРОЙСТВА (< 640px)
   ============================================ */
@media (max-width: 640px) {
    .hero h1,
    .hero-title {
        font-size: clamp(1.5rem, 1.2rem + 3vw, 4rem);
        font-weight: 900;
    }

    .logo {
        font-size: clamp(1.4rem, 3vw, 5rem);
        font-weight: 900;
    }

    .subtitle {
        font-size: clamp(1rem, 1.4vw, 1.8rem);
        font-weight: 500;
    }

    .hero-subtitle {
        font-size: clamp(1.1rem, 2.2vw, 3rem);
        font-weight: 500;
        color: whitesmoke;
    }

    .hero-subtitle .highlight {
        font-size: clamp(1rem, 2.2vw, 3rem);
        font-weight: 500;
    }

    .stat-number {
        font-size: 2rem;
    }

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

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

    .section-card::after {
        opacity: 1;
        height: 5px;
    }

    .cta-main {
        font-size: 1rem;
    }

    .footer-cta-title {
        font-size: 1.8rem;
        line-height: 1.4;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .footer-cta-text {
        font-size: 1rem;
        line-height: 1.7;
    }

    .footer-text {
        font-size: 0.9rem;
    }
    
    /* Адаптив для новых секций */
    .section-heading {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }
    
    .section-subtitle {
        font-size: clamp(1rem, 2vw, 1.1rem);
    }
    
    .steps-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .step-card {
        padding: 2rem 1.5rem;
    }
    
    .step-icon {
        width: 70px;
        height: 70px;
    }
    
    .step-icon svg {
        width: 35px;
        height: 35px;
    }
    
    .testimonials-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-avatar {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .faq-question {
        padding: 1.2rem 1.5rem;
    }
    
    .faq-icon {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    
    .faq-text {
        font-size: 1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 1.5rem 1.2rem 4rem;
    }
}

/* ============================================
   ПЕРЕКЛЮЧАТЕЛЬ ЯЗЫКОВ
   ============================================ */
.language-switcher {
    display: flex;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.4rem;
    border-radius: 25px;
    border: 2px solid var(--safety-green);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(6, 255, 165, 0.3);
}

.lang-btn {
    background: transparent;
    border: 2px solid var(--construction-orange);
    color: rgba(255, 255, 255, 0.6);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    min-width: 60px;
    text-align: center;
}

.lang-btn:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
}

.lang-btn.active {
    background: linear-gradient(135deg, var(--construction-yellow), var(--construction-orange));
    color: var(--dark-concrete);
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(253, 185, 19, 0.4);
}

/* ============================================
   МОДАЛЬНЫЕ ОКНА
   ============================================ */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: linear-gradient(135deg, rgba(20, 20, 30, 0.95), rgba(30, 30, 40, 0.95));
    padding: 2.5rem;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    border: 2px solid rgba(253, 185, 19, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    color: var(--construction-yellow);
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.modal-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--construction-yellow);
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    resize: none;
    box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--construction-yellow);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 20px rgba(253, 185, 19, 0.3);
}

.contact-form input:valid,
.contact-form textarea:valid,
.contact-form select:valid {
    border-color: rgba(6, 255, 165, 0.5);
}

.contact-form input:invalid:not(:placeholder-shown),
.contact-form textarea:invalid:not(:placeholder-shown),
.contact-form select:invalid:not(:placeholder-shown) {
    border-color: rgba(255, 100, 100, 0.5);
}

.contact-form input[type="number"]::-webkit-inner-spin-button,
.contact-form input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.contact-form input[type="number"] {
    -moz-appearance: textfield;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form select {
    cursor: pointer;
}

.contact-form select option {
    background: var(--dark-concrete);
    color: #fff;
}

.consent-wrapper {
    margin: 1.5rem 0 1rem;
}

.consent-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.consent-checkbox {
    width: 20px;
    height: 20px;
    margin-left: 10px;
    cursor: pointer;
    accent-color: var(--construction-orange);
}

.consent-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

.submit-btn {
    background: linear-gradient(135deg, var(--construction-yellow), var(--construction-orange));
    color: var(--dark-concrete);
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(253, 185, 19, 0.5);
}

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.submit-btn:active {
    transform: translateY(0);
}

/* Скроллбар для модального окна */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--construction-yellow);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--construction-orange);
}

/* ============================================
   КНОПКА "ВВЕРХ"
   ============================================ */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--construction-yellow), var(--construction-orange));
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 999;
    box-shadow: 0 0 20px rgba(253, 185, 19, 0.5), 0 0 40px rgba(253, 185, 19, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
    color: var(--dark-concrete);
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(253, 185, 19, 0.7), 0 0 50px rgba(253, 185, 19, 0.4);
    background: linear-gradient(135deg, var(--construction-orange), var(--construction-yellow));
}

.scroll-to-top:active {
    transform: translateY(-2px) scale(0.95);
}

/* Анимация пульсации при появлении */
.scroll-to-top.visible {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(253, 185, 19, 0.5), 0 0 40px rgba(253, 185, 19, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(253, 185, 19, 0.8), 0 0 60px rgba(253, 185, 19, 0.5);
    }
}

.scroll-to-top:hover {
    animation: none;
}

/* ============================================
   АДАПТИВ ДЛЯ НОВЫХ ЭЛЕМЕНТОВ
   ============================================ */
@media (max-width: 768px) {
    .language-switcher {
        order: 3;
        width: 100%;
        justify-content: center;
    }
    
    .modal-content {
        padding: 2rem 1.5rem;
        width: 95%;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
    
    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        padding: 0.9rem;
        font-size: 0.95rem;
    }
    
    /* Адаптация кнопки "Вверх" для мобильных */
    .scroll-to-top {
        bottom: 25px;
        right: 25px;
        width: 50px;
        height: 50px;
        box-shadow: 0 0 20px rgba(253, 185, 19, 0.6), 0 0 40px rgba(253, 185, 19, 0.4);
    }
    
    .scroll-to-top:hover {
        box-shadow: 0 0 30px rgba(253, 185, 19, 0.8), 0 0 50px rgba(253, 185, 19, 0.5);
    }
    
    .scroll-to-top svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        box-shadow: 0 0 18px rgba(253, 185, 19, 0.6), 0 0 35px rgba(253, 185, 19, 0.4);
    }
    
    .scroll-to-top:hover {
        box-shadow: 0 0 28px rgba(253, 185, 19, 0.8), 0 0 45px rgba(253, 185, 19, 0.5);
    }
    
    .scroll-to-top svg {
        width: 18px;
        height: 18px;
    }
}