/* Змінні та базові стилі */
:root {
  --text-dark: #2a2c35;
  --text-light: #797b85;
  --bg-main: #fdfcfa;
  --bg-white: #ffffff;
  --color-primary: #3a5f5c;
  --color-secondary: #d4924f;
  --border-light: #f0ede8;
  --shadow-soft: 0 8px 24px rgba(0,0,0,0.06);
  --shadow-hover: 0 12px 32px rgba(0,0,0,0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background: var(--bg-main);
  line-height: 1.6;
}

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

/* Навігація */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  z-index: 100;
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-image {
  width: 42px;
  height: 42px;
}

.logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 500;
}

.logo-text span {
  color: var(--color-primary);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--color-secondary);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 28px;
  height: 2px;
  background: var(--text-dark);
  transition: 0.3s;
}

/* Головна секція */
.main-header {
  margin-top: 74px;
  padding: 80px 0 60px;
  background: linear-gradient(to bottom, #fff, var(--bg-main));
}

.header-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.tag-line {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
  margin-bottom: 16px;
}

.main-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 20px;
}

.main-title em {
  font-style: italic;
  color: var(--color-primary);
}

.subtitle {
  font-size: 17px;
  color: var(--text-light);
  margin-bottom: 32px;
}

.cta-group {
  display: flex;
  gap: 16px;
}

.primary-btn, .secondary-btn {
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  border: 2px solid var(--color-primary);
}

.primary-btn {
  background: var(--color-primary);
  color: white;
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.secondary-btn {
  background: transparent;
  color: var(--color-primary);
}

.secondary-btn:hover {
  background: var(--color-primary);
  color: white;
}

.trust-marks {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  opacity: 0.6;
}

.trust-marks img {
  width: 100%;
  height: 50px;
  object-fit: contain;
  filter: grayscale(1);
  transition: 0.3s;
}

.trust-marks img:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* Секція продуктів */
.products-section {
  padding: 60px 0 40px;
}

.section-intro {
  text-align: center;
  margin-bottom: 32px;
}

.section-intro h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  margin-bottom: 8px;
}

.section-intro p {
  color: var(--text-light);
}

.product-categories {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.category-btn {
  padding: 12px 20px;
  background: white;
  border: 1px dashed var(--border-light);
  border-radius: 50px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s;
}

.category-btn:hover {
  border-style: solid;
  border-color: var(--color-secondary);
  color: var(--color-secondary);
}

/* Популярні товари */
.popular-section {
  padding: 60px 0 80px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.product-item {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: 0.3s;
}

.product-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.product-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.product-info {
  padding: 24px;
}

.product-info h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.product-info p {
  color: var(--text-light);
  font-size: 15px;
}

/* Філософія */
.philosophy-section {
  background: white;
  padding: 80px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.philosophy-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.philosophy-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  margin-bottom: 16px;
}

.philosophy-text > p {
  color: var(--text-light);
  margin-bottom: 28px;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.checkmark {
  color: var(--color-primary);
  font-weight: bold;
  font-size: 20px;
}

.team-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-member {
  text-align: center;
}

.team-member img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
  box-shadow: var(--shadow-soft);
}

.team-member p {
  font-weight: 500;
  font-size: 14px;
}

/* Промо блок */
.promo-section {
  background: linear-gradient(135deg, var(--color-secondary), #e8a968);
  padding: 70px 0;
  text-align: center;
}

.promo-content h2 {
  color: white;
  font-size: 32px;
  margin-bottom: 24px;
}

.promo-btn {
  padding: 14px 32px;
  background: white;
  color: var(--color-secondary);
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.promo-btn:hover {
  transform: scale(1.05);
}

/* Блог */
.blog-section {
  padding: 80px 0;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.article-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: 0.3s;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.article-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.article-content {
  padding: 24px;
}

.article-content h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.article-content p {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 12px;
}

.article-content time {
  color: var(--color-secondary);
  font-size: 13px;
  font-weight: 600;
}

/* Питання */
.questions-section {
  background: white;
  padding: 60px 0;
}

.questions-list {
  max-width: 800px;
  margin: 0 auto;
}

.question-item {
  border: 1px solid var(--border-light);
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
}

.question-toggle {
  width: 100%;
  padding: 20px 24px;
  background: white;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.question-toggle h3 {
  font-size: 17px;
  text-align: left;
}

.arrow {
  transition: 0.3s;
}

.question-item.active .arrow {
  transform: rotate(180deg);
}

.answer {
  display: none;
  padding: 0 24px 20px;
  color: var(--text-light);
}

.question-item.active .answer {
  display: block;
}

/* Футер */
.footer {
  background: var(--color-primary);
  color: white;
  padding: 60px 0 24px;
}

.footer-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3 {
  font-size: 18px;
  margin-bottom: 16px;
  color: #e8f4f2;
}

.footer-column a {
  display: block;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  margin-bottom: 10px;
  transition: 0.3s;
}

.footer-column a:hover {
  color: white;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social-links a {
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.social-links a:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.social-links svg {
  fill: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom a {
  color: #e8f4f2;
  text-decoration: none;
}

/* Адаптив */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 74px;
    left: -100%;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 24px;
    box-shadow: var(--shadow-soft);
    transition: 0.3s;
  }

  .nav-links.active {
    left: 0;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .header-layout,
  .philosophy-layout {
    grid-template-columns: 1fr;
  }

  .trust-marks {
    grid-template-columns: repeat(3, 1fr);
  }

  .team-showcase {
    justify-content: center;
  }
}