/* Основные стили для страницы "О нас" */
.about-main {
  padding-top: 120px;
  min-height: 100vh;
}

/* Активная ссылка в навигации */
.nav-links a.active {
  color: #d4a574;
  border-bottom: 2px solid #d4a574;
}

/* Hero секция */
.about-hero {
  background: linear-gradient(135deg, rgba(252, 239, 230, 0.9), rgba(255, 248, 240, 0.9)),
              url('background.png') center/cover;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 4rem;
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  color: #8b5e3c;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: #b9825a;
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto;
}

/* Контейнер для контента */
.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Секция истории */
.about-story {
  margin-bottom: 5rem;
}

.story-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.story-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: #8b5e3c;
  margin-bottom: 1.5rem;
}

.story-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #6d4c35;
  margin-bottom: 1.5rem;
}

.story-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(139, 94, 60, 0.2);
}

/* Секция ценностей */
.about-values {
  margin-bottom: 5rem;
  text-align: center;
}

.about-values h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: #8b5e3c;
  margin-bottom: 3rem;
}

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

.value-card {
  background: rgba(255, 255, 255, 0.8);
  padding: 2.5rem 1.5rem;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(139, 94, 60, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(139, 94, 60, 0.2);
}

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

.value-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #8b5e3c;
  margin-bottom: 1rem;
}

.value-card p {
  color: #6d4c35;
  line-height: 1.6;
}

/* Секция миссии */
.about-mission {
  background: rgba(255, 255, 255, 0.6);
  padding: 4rem 3rem;
  border-radius: 25px;
  margin-bottom: 5rem;
  text-align: center;
}

.mission-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: #8b5e3c;
  margin-bottom: 2rem;
}

.mission-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #6d4c35;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.mission-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: #d4a574;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  color: #8b5e3c;
  font-weight: 600;
}

/* Секция команды */
.about-team {
  margin-bottom: 5rem;
  text-align: center;
}

.about-team h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: #8b5e3c;
  margin-bottom: 1rem;
}

.team-intro {
  font-size: 1.2rem;
  color: #b9825a;
  margin-bottom: 3rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.team-member {
  background: rgba(255, 255, 255, 0.8);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(139, 94, 60, 0.1);
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.member-photo {
  width: 150px;
  height: 150px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #d4a574;
}

/* === Site-wide visual consistency with the main page === */
.floating-header .header-inner {
  max-width: none !important;
  padding: 0 !important;
}

.floating-header .search-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(106, 75, 60, 0.25);
  background: transparent;
  color: #6a4b3c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.floating-header .search-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.about-hero,
.about-mission {
  background: linear-gradient(120deg, rgba(242, 140, 61, 0.12), rgba(255, 255, 255, 0.28));
  border: 1px solid rgba(242, 140, 61, 0.15);
  border-radius: 32px;
}

.value-card,
.team-member {
  border: 1px solid rgba(242, 140, 61, 0.12);
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(42, 24, 18, 0.08);
}

.cta-button.primary {
  background: #f28c3d;
  color: #fff;
  border-color: #f28c3d;
}

.cta-button.secondary {
  background: transparent;
  color: #6a4b3c;
  border-color: rgba(106, 75, 60, 0.35);
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #8b5e3c;
  margin-bottom: 0.5rem;
}

.member-role {
  color: #d4a574;
  font-weight: 600;
  margin-bottom: 1rem;
}

.member-description {
  color: #6d4c35;
  line-height: 1.6;
}

/* Call to Action секция */
.about-cta {
  background: linear-gradient(135deg, #d4a574, #b9825a);
  padding: 4rem 3rem;
  border-radius: 25px;
  text-align: center;
  margin-bottom: 3rem;
}

.cta-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: white;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button {
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.cta-button.primary {
  background: white;
  color: #8b5e3c;
}

.cta-button.primary:hover {
  background: #f8f8f8;
  transform: translateY(-2px);
}

.cta-button.secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.cta-button.secondary:hover {
  background: white;
  color: #8b5e3c;
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #8b5e3c, #6d4c35);
  color: white;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

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

.footer-section h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #d4a574;
}

.footer-logo {
  height: 80px;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

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

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #d4a574;
}

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

/* Адаптивность */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .story-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .story-image {
    order: -1;
  }
  
  .about-container {
    padding: 0 1rem;
  }
  
  .about-mission,
  .about-cta {
    padding: 2rem 1.5rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  
  .cta-button {
    width: 100%;
    max-width: 420px;
    box-sizing: border-box; /* prevent overflow with padding */
    padding: 0.9rem 1.4rem; /* slightly tighter to fit small screens */
  }
  
  .mission-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .header-inner { padding: 6px 10px; gap: 8px; }
  .logo { height: 72px; width: auto; }
  /* Mobile header behavior: match homepage — hide desktop menu button inside nav */
  .nav-links > .menu-button { display: none !important; }
  .nav-links a { display: none !important; }
  .bonus-counter { display: none !important; }
  .mobile-stars { display: inline-flex; }
}

@media (max-width: 480px) {
  .about-hero {
    height: 40vh;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .story-text h2,
  .about-values h2,
  .mission-content h2,
  .about-team h2,
  .cta-content h2 {
    font-size: 2rem;
  }
  
  .value-card {
    padding: 2rem 1rem;
  }
}

/* === Final consistency overrides === */
.floating-header .header-inner {
  max-width: none !important;
  padding: 0 !important;
}

.about-hero,
.about-mission {
  background: linear-gradient(120deg, rgba(242, 140, 61, 0.12), rgba(255, 255, 255, 0.28)) !important;
  border: 1px solid rgba(242, 140, 61, 0.15);
  border-radius: 32px;
}

.floating-header .search-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(106, 75, 60, 0.25);
  background: transparent;
  color: #6a4b3c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.value-card,
.team-member {
  border: 1px solid rgba(242, 140, 61, 0.12);
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(42, 24, 18, 0.08);
}

.cta-button.primary {
  background: #f28c3d !important;
  color: #fff !important;
  border-color: #f28c3d !important;
}

.cta-button.secondary {
  background: transparent !important;
  color: #6a4b3c !important;
  border-color: rgba(106, 75, 60, 0.35) !important;
}
