/* Новая цветовая схема для мужского самочувствия */
:root {
  --primary-color: #8B4513; /* Коричневый */
  --secondary-color: #CD853F; /* Песочный */
  --accent-color: #D2691E; /* Оранжево-коричневый */
  --text-primary: #2F1B14; /* Темно-коричневый */
  --text-secondary: #5D4E37; /* Коричнево-серый */
  --background-light: #FFF8DC; /* Кремовый */
  --background-white: #FFFEF7; /* Молочно-белый */
  --success-color: #228B22; /* Лесной зеленый */
  --warning-color: #FF8C00; /* Темно-оранжевый */
}

/* Сброс и базовые стили */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.male-wellness-body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background-white);
}

/* Хедер */
.wellness-header {
  background: var(--background-white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}



.site-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.main-navigation .nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 25px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
  background: var(--background-light);
}

/* Мобильное меню */
.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  transition: 0.3s;
}

/* Hero секция контактов */
.contacts-hero-section {
  padding: 120px 2rem 60px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  color: white;
  text-align: center;
}

.contacts-hero-container {
  max-width: 800px;
  margin: 0 auto;
}

.contacts-hero-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.contacts-hero-subtitle {
  font-size: 1.3rem;
  opacity: 0.9;
}

/* Основная секция контактов */
.contacts-main-section {
  padding: 80px 2rem;
  background: var(--background-white);
}

.contacts-main-container {
  max-width: 1200px;
  margin: 0 auto;
}

.contacts-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.contact-info-block {
  background: var(--background-light);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--background-white);
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.contact-icon {
  font-size: 2rem;
  min-width: 50px;
}

.contact-details h3 {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-details p {
  color: var(--text-secondary);
  margin: 0;
}

.contact-details a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
}

.contact-details a:hover {
  text-decoration: underline;
}

.specialist-info-card {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  color: white;
  padding: 2rem;
  border-radius: 15px;
  margin-top: 2rem;
}

.specialist-info-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.specialist-role {
  color: var(--warning-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.specialist-experience {
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.specialist-languages {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.language-tag {
  background: rgba(255,255,255,0.2);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Форма контактов */
.contact-form-block {
  background: var(--background-white);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-title {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
  font-weight: 700;
}

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

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--background-light);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
  background: var(--background-white);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

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

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkbox-mark {
  width: 20px;
  height: 20px;
  border: 2px solid var(--background-light);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-mark {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-mark::after {
  content: '✓';
  color: white;
  font-weight: bold;
}

.checkbox-label a {
  color: var(--accent-color);
  text-decoration: none;
}

.checkbox-label a:hover {
  text-decoration: underline;
}

.form-submit {
  width: 100%;
  padding: 1.2rem 2rem;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-submit:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(139, 69, 19, 0.3);
}

/* Карта */
.map-section {
  background: var(--background-light);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.map-title {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.map-container {
  margin-bottom: 2rem;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.map-info {
  background: var(--background-white);
  padding: 1.5rem;
  border-radius: 12px;
}

.map-info ul {
  list-style: none;
  padding: 0;
}

.map-info li {
  margin-bottom: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Секция преимуществ */
.consultation-benefits-section {
  padding: 80px 2rem;
  background: var(--background-light);
}

.consultation-benefits-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 3rem;
  font-weight: 700;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.benefit-item {
  background: var(--background-white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-5px);
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.benefit-item h3 {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.benefit-item p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Футер */
.wellness-footer {
  background: var(--text-primary);
  color: var(--background-white);
  padding: 3rem 2rem 1rem;
}

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

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

.footer-title {
  color: var(--secondary-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.footer-description {
  opacity: 0.8;
  margin-bottom: 1rem;
}

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

.footer-heading {
  color: var(--secondary-color);
  margin-bottom: 1rem;
  font-weight: 600;
}

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

.footer-list li {
  margin-bottom: 0.5rem;
}

.footer-link {
  color: var(--background-white);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-link:hover {
  opacity: 1;
  color: var(--secondary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 1rem;
  text-align: center;
}

.footer-copyright {
  opacity: 0.7;
}

/* Адаптивность */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--background-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }
  
  .nav-menu.active {
    display: block;
  }
  
  .nav-list {
    flex-direction: column;
    padding: 1rem;
  }
  
  .contacts-hero-title {
    font-size: 2rem;
  }
  
  .contacts-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-item {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .specialist-languages {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .contact-info-block,
  .contact-form-block,
  .map-section {
    padding: 1.5rem;
  }
  
  .contacts-hero-title {
    font-size: 1.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
}