* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f8f9fa;
}

.main {
  margin: 0;
  padding: 0;
}

.fon_foto {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
}

.fon_foto img {
  width: 100%;
  height: auto;
  display: block;
}

.contacts-section {
  padding: 80px 10% 60px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  position: relative;
  overflow: hidden;
}

.contacts-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(52, 152, 219, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(46, 204, 113, 0.05) 0%, transparent 50%);
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.section-title {
  font-size: 3rem;
  color: #2c3e50;
  margin-bottom: 15px;
  font-weight: 800;
  position: relative;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background: linear-gradient(90deg, #3498db, #2ecc71);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.section-subtitle {
  font-size: 1.2rem;
  color: #7f8c8d;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
  font-weight: 300;
  position: relative;
  padding-top: 15px;
}

.section-subtitle::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #3498db, #2ecc71);
  border-radius: 2px;
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
  position: relative;
  z-index: 2;
}

.contact-card {
  background: white;
  border-radius: 24px;
  padding: 5px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  border: none;
  z-index: 2;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(46, 204, 113, 0.1));
  border-radius: 24px;
  z-index: 1;
}

.contact-card::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, #3498db, #2ecc71, #3498db);
  border-radius: 26px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.contact-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.contact-card:hover::after {
  opacity: 1;
}

.contact-card-inner {
  background: white;
  border-radius: 20px;
  padding: 35px 25px;
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.contact-icon {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #3498db, #2ecc71);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: white;
  font-size: 2.2rem;
  box-shadow: 0 10px 20px rgba(52, 152, 219, 0.3);
  transition: transform 0.3s ease;
}

.contact-card:hover .contact-icon {
  transform: rotate(360deg) scale(1.1);
}

.contact-content {
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.contact-badge {
  display: inline-block;
  background: linear-gradient(90deg, #3498db, #2ecc71);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.contact-name {
  font-size: 1.7rem;
  color: #2c3e50;
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.contact-description {
  font-size: 1.05rem;
  color: #7f8c8d;
  margin-bottom: 25px;
  line-height: 1.6;
  flex: 1;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: auto;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  text-align: left;
}

.contact-detail i {
  color: #3498db;
  font-size: 1.2rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.detail-label {
  display: block;
  font-size: 0.85rem;
  color: #7f8c8d;
  margin-bottom: 5px;
  font-weight: 500;
}

.contact-link {
  color: #2c3e50;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
  transition: all 0.3s ease;
  display: block;
}

.contact-link:hover {
  color: #3498db;
  transform: translateX(5px);
}

/* ОСНОВНЫЕ ИЗМЕНЕНИЯ ДЛЯ РЕКВИЗИТОВ */
.requisites-section {
  padding: 20px 10% 80px;
  background: #f8f9fa;
  position: relative;
  z-index: 1;
}

.requisites-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* КАРТОЧКА С РЕКВИЗИТАМИ - ИСПРАВЛЕНА */
.requisites-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
}

.requisites-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

/* ЗАГОЛОВОК КАРТОЧКИ - СКРУГЛЕННЫЙ СВЕРХУ */
.requisites-header {
  background: linear-gradient(135deg, #2c3e50, #34495e);
  color: white;
  padding: 30px 40px;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
}

.requisites-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.requisites-header i {
  font-size: 2.5rem;
  color: #3498db;
  z-index: 1;
  flex-shrink: 0;
}

.requisites-header h3 {
  font-size: 2rem;
  font-weight: 800;
  margin: 0;
  z-index: 1;
  letter-spacing: 0.5px;
}

/* КОНТЕНТ КАРТОЧКИ - УБРАНЫ ВНУТРЕННИЕ ОТСТУПЫ */
.requisites-text {
  padding: 0; /* УБРАНЫ ВСЕ ВНУТРЕННИЕ ОТСТУПЫ */
  display: flex;
  flex-direction: column;
}

.requisites-group {
  display: flex;
  flex-direction: column;
  gap: 0; /* УБРАНЫ ПРОМЕЖУТКИ МЕЖДУ ЭЛЕМЕНТАМИ */
}

/* КАЖДЫЙ ЭЛЕМЕНТ РЕКВИЗИТОВ */
.requisites-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 25px 40px; /* ОТСТУПЫ ТОЛЬКО ВНУТРИ КАЖДОГО ЭЛЕМЕНТА */
  border-bottom: 1px solid #f1f2f6;
  position: relative;
  transition: background-color 0.3s ease;
}

.requisites-item:hover {
  background-color: #f8fafc;
}

.requisites-item:last-child {
  border-bottom: none;
}

.requisites-label {
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 700;
  color: #2c3e50;
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.requisites-label i {
  color: #3498db;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.requisites-value {
  color: #555;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-left: 39px;
  padding-left: 12px;
  border-left: 3px solid #3498db;
  transition: all 0.3s ease;
}

.requisites-item:hover .requisites-value {
  border-left-color: #2ecc71;
  color: #2c3e50;
}

.requisites-link {
  color: #3498db;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.requisites-link:hover {
  color: #2980b9;
  padding-left: 8px;
}

.requisites-link::after {
  content: '→';
  position: absolute;
  right: -20px;
  opacity: 0;
  transition: all 0.3s ease;
}

.requisites-link:hover::after {
  right: -25px;
  opacity: 1;
}

/* КАРТА */
.requisites-map {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.map-header {
  background: linear-gradient(135deg, #2c3e50, #34495e);
  color: white;
  padding: 30px 40px;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
}

.map-header i {
  font-size: 2.5rem;
  color: #3498db;
  z-index: 1;
  flex-shrink: 0;
}

.map-header h3 {
  font-size: 2rem;
  font-weight: 800;
  margin: 0;
  z-index: 1;
  letter-spacing: 0.5px;
}

.requisites-map iframe {
  flex: 1;
  width: 100%;
  min-height: 500px;
  border: none;
  display: block;
}

/* АДАПТИВНОСТЬ */
@media (max-width: 1200px) {
  .contacts-section,
  .requisites-section {
    padding-left: 5%;
    padding-right: 5%;
  }
  
  .section-title {
    font-size: 2.6rem;
  }
  
  .requisites-header,
  .map-header {
    padding: 25px 30px;
  }
  
  .requisites-item {
    padding: 20px 30px;
  }
}

@media (max-width: 1100px) {
  .requisites-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .requisites-map iframe {
    min-height: 450px;
  }
}

@media (max-width: 900px) {
  .contacts-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
  }
  
  .contact-name {
    font-size: 1.5rem;
  }
  
  .requisites-header h3,
  .map-header h3 {
    font-size: 1.7rem;
  }
  
  .requisites-header,
  .map-header {
    padding: 20px 25px;
  }
  
  .requisites-item {
    padding: 18px 25px;
  }
}

@media (max-width: 768px) {
  .contacts-section {
    padding: 60px 5% 40px;
  }
  
  .requisites-section {
    padding: 10px 5% 60px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .contact-card-inner {
    padding: 25px 20px;
  }
  
  .contact-icon {
    width: 80px;
    height: 80px;
    font-size: 2rem;
  }
  
  .requisites-header h3,
  .map-header h3 {
    font-size: 1.5rem;
  }
  
  .requisites-header i,
  .map-header i {
    font-size: 2rem;
  }
  
  .requisites-item {
    padding: 15px 20px;
  }
  
  .requisites-map iframe {
    min-height: 400px;
  }
}

@media (max-width: 480px) {
  .contacts-grid {
    grid-template-columns: 1fr;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .contact-name {
    font-size: 1.4rem;
  }
  
  .contact-description {
    font-size: 1rem;
  }
  
  .requisites-value {
    margin-left: 30px;
    font-size: 1rem;
  }
  
  .requisites-header,
  .map-header {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    padding: 20px;
  }
  
  .requisites-header h3,
  .map-header h3 {
    font-size: 1.4rem;
  }
  
  .requisites-item {
    padding: 12px 20px;
  }
  
  .requisites-label {
    font-size: 1rem;
  }
  
  .requisites-value {
    font-size: 0.95rem;
  }
  
  .requisites-map iframe {
    min-height: 350px;
  }
}