/* Герой-баннер для страницы "Контакты" */
#contacts-hero-banner {
  position: relative;
  margin-top: 0;
  height: 90vh;
  min-height: 600px;
  max-height: 1000px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#contacts-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.7);
  transition: all 0.5s ease;
  position: absolute;
  z-index: 1;
}

#contacts-content-block {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  padding: 0 2rem;
  text-align: center;
  color: white;
}

/* Стили для заголовка */
#contacts-hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: white;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s 0.3s forwards;
}

/* Стили для подзаголовка */
#contacts-hero-subtitle {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  max-width: 800px;
  margin: 0 auto 2rem;
  color: white;
  text-shadow: 0 2px 5px rgba(0,0,0,0.3);
  opacity: 0;
  animation: fadeIn 0.8s 0.5s forwards;
}

/* Затемнение фона */
#contacts-hero-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 1;
}

/* Эффекты при наведении */
#contacts-hero-banner:hover #contacts-hero-image {
  filter: brightness(0.5);
  transform: scale(1.02);
}

/* Адаптивность */
@media (max-width: 768px) {
  #contacts-hero-banner {
    height: 70vh;
    min-height: 500px;
  }
  
  #contacts-content-block {
    padding: 0 1.5rem;
  }
}

@media (max-width: 480px) {
  #contacts-hero-banner {
    height: 60vh;
    min-height: 400px;
  }
  
  #contacts-hero-title {
    margin-bottom: 1rem;
  }
  
  #contacts-hero-subtitle {
    margin-bottom: 1.5rem;
  }
}

/* Общие анимации */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Стили для блока контактов */
.contact-info-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.company-header {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0f0f0;
}

.company-header h2 {
  color: #2c3e50;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.company-header .activity {
  color: #7f8c8d;
  font-size: 0.95rem;
}

.contact-section h3 {
  color: #3498db;
  font-size: 1.3rem;
  margin: 25px 0 15px;
  display: flex;
  align-items: center;
}

.contact-section h3 i {
  margin-right: 12px;
  color: #3498db;
}

.contact-section p {
  color: #34495e;
  line-height: 1.6;
  margin-left: 28px;
}

.phone-list {
  list-style: none;
  padding: 0;
  margin-left: 28px;
}

.phone-list li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.phone-list i {
  color: #3498db;
  margin-right: 10px;
  width: 20px;
  text-align: center;
}

.phone-list a, 
.contact-section a {
  color: #2c3e50;
  text-decoration: none;
  transition: color 0.2s;
}

.phone-list a:hover, 
.contact-section a:hover {
  color: #3498db;
}

.legal-info {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #f0f0f0;
  font-size: 0.9rem;
}

.legal-info p {
  margin: 8px 0;
  color: #7f8c8d;
}

.legal-info strong {
  color: #2c3e50;
}

.map-container {
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.map-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.map-container iframe {
  min-height: 400px;
}

/* Адаптивность */
@media (max-width: 992px) {
  .map-container {
    margin-top: 30px;
  }
  
  .company-header h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .contact-info-card {
    padding: 20px;
  }
  
  .company-header h2 {
    font-size: 1.3rem;
  }
  
  .contact-section h3 {
    font-size: 1.1rem;
  }
}

/* Footer Styles */
#main-footer {
  background: var(--dark-color);
  color: var(--text-light);
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
}

#main-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjAyKSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==');
  opacity: 0.03;
  z-index: 0;
}

#main-footer .container {
  position: relative;
  z-index: 1;
}

#main-footer h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: white;
  position: relative;
  display: inline-block;
}

#main-footer h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary-color);
}

#main-footer a {
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
  opacity: 0.8;
}

#main-footer a:hover {
  color: var(--accent-blue);
  opacity: 1;
  text-decoration: none;
}

#main-footer .d-flex {
  margin-bottom: 1.25rem;
}

#main-footer .d-flex i {
  color: var(--primary-color);
  font-size: 1.1rem;
  width: 20px;
}

#main-footer p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

#main-footer ul li {
  margin-bottom: 0.75rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Decorative Elements */
#main-footer::after {
  content: '';
  position: absolute;
  bottom: -200px;
  right: -200px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, rgba(37, 99, 235, 0) 70%);
  z-index: 0;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  #main-footer {
    padding: 3rem 0 0;
  }
  
  #main-footer .col-lg-4 {
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  #main-footer h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }
  
  #main-footer .d-flex {
    margin-bottom: 1rem;
  }
  
  #main-footer p {
    font-size: 0.95rem;
  }
}

@media (max-width: 576px) {
  #main-footer {
    padding: 2.5rem 0 0;
  }
  
  .footer-bottom {
    padding-top: 1.5rem !important;
  }
}

/* Улучшенные стили для блока обратной связи */
#feedback-section {
    max-width: 640px;
    margin: 3rem auto;
    padding: 3rem;
    background-color: var(--light-color);
    border-radius: 20px;
	background: linear-gradient(135deg, var(--light-color) 0%, #f0f4f9 100%);
    box-shadow: var(--shadow-lg);
    font-family: 'Inter', system-ui, sans-serif;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#feedback-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--gradient-accent);
    z-index: 2;
}

#feedback-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(251, 251, 253, 0.8) 0%, rgba(247, 248, 252, 0.9) 100%);
    z-index: -1;
}

#feedback-section h2 {
    color: var(--dark-color);
    margin-bottom: 2.5rem;
    font-size: 2.25rem;
    text-align: center;
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
    background: linear-gradient(to right, var(--primary-color), var(--accent-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

#feedback-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: var(--gradient);
    border-radius: 3px;
    opacity: 0.8;
}

#feedback-form .form-group {
    margin-bottom: 2rem;
    position: relative;
}

#feedback-form label {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--dark-medium);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

#feedback-form input,
#feedback-form textarea {
    width: 100%;
    padding: 1.1rem 1.5rem;
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    font-size: 1.05rem;
    transition: var(--transition);
    background-color: white;
    box-shadow: var(--shadow-sm);
    font-family: 'Roboto', sans-serif;
}

#feedback-form input::placeholder,
#feedback-form textarea::placeholder {
    color: var(--light-gray);
    opacity: 0.8;
}

#feedback-form input:focus,
#feedback-form textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.2);
    background-color: white;
}

#feedback-form textarea {
    min-height: 180px;
    resize: vertical;
    line-height: 1.6;
}

#feedback-submit {
    background: var(--gradient);
    color: var(--text-light);
    border: none;
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    letter-spacing: 1px;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    text-transform: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

#feedback-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

#feedback-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(37, 99, 235, 0.35);
}

#feedback-submit:hover::before {
    opacity: 1;
}

#feedback-submit:active {
    transform: translateY(1px);
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.4);
}

#feedback-submit i {
    margin-left: 10px;
    transition: var(--transition);
}

#feedback-submit:hover i {
    transform: translateX(5px);
}

/* Валидация с анимацией */
#feedback-form input:invalid,
#feedback-form textarea:invalid {
    border-color: var(--accent-pink);
    animation: shake 0.5s ease-in-out;
}

#feedback-form input:valid,
#feedback-form textarea:valid {
    border-color: var(--accent-teal);
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}

/* Анимация фокуса */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.4); }
    70% { box-shadow: 0 0 0 12px rgba(56, 189, 248, 0); }
    100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

#feedback-form input:focus,
#feedback-form textarea:focus {
    animation: pulse 1.5s infinite;
}

/* Адаптивность */
@media (max-width: 768px) {
    #feedback-section {
        padding: 2rem;
        margin: 1.5rem;
        border-radius: 16px;
    }
    
    #feedback-section h2 {
        font-size: 1.8rem;
        margin-bottom: 1.8rem;
    }
    
    #feedback-form input,
    #feedback-form textarea {
        padding: 1rem 1.25rem;
    }
    
    #feedback-submit {
        padding: 1.1rem;
    }
}

@media (max-width: 480px) {
    #feedback-section {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    #feedback-section h2 {
        font-size: 1.5rem;
    }
    
    #feedback-form label {
        font-size: 0.95rem;
    }
}

/* Дополнительные эффекты */
.form-group {
    position: relative;
}

.form-group:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--light-gray), transparent);
    opacity: 0.5;
}

/* Кастомные элементы формы */
.checkbox-group {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 500;
    color: var(--dark-medium);
}