@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Nunito+Sans:wght@400;600&display=swap');

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

:root {
  --primary-bg: #F3E5F5;
  --primary-color: #7B1FA2;
  --dark-primary: #4A148C;
  --accent-light: #AB47BC;
  --accent-very-light: #E1BEE7;
  --text-dark: #333333;
  --text-light: #666666;
  --white: #FFFFFF;
  --border-light: #D4B5DB;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.85;
  color: var(--text-dark);
  background-color: var(--white);
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: capitalize;
  margin-bottom: 1.5rem;
}

h1 {
  font-size: 92px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

h2 {
  font-size: 54px;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 1rem;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--accent-light);
}

h3 {
  font-size: 28px;
  color: var(--dark-primary);
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--dark-primary);
}

.container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
}

section {
  padding: 140px 0;
}

section:nth-child(odd) {
  background: linear-gradient(180deg, var(--white) 0%, rgba(243, 229, 245, 0.4) 100%);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 20px 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  cursor: pointer;
  transition: all 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

nav {
  display: flex;
  gap: 40px;
  list-style: none;
}

nav a {
  font-weight: 600;
  font-size: 16px;
  color: var(--text-dark);
  transition: all 0.3s ease;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

.hero {
  margin-top: 70px;
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(123, 31, 162, 0.05) 0%, rgba(171, 71, 188, 0.05) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('images/hero-essences.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.4;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  animation: fadeInDown 1s ease;
}

.hero h1 {
  margin-bottom: 1rem;
  font-size: 92px;
}

.hero p {
  font-size: 20px;
  color: var(--text-light);
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.intro-block {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

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

.value-item {
  padding: 30px;
  background: var(--white);
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.value-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(123, 31, 162, 0.1);
}

.value-item h3 {
  color: var(--dark-primary);
  margin-bottom: 1rem;
}

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

.two-column img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.two-column img:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 32px rgba(123, 31, 162, 0.15);
}

.two-column.reverse {
  direction: rtl;
}

.two-column.reverse > * {
  direction: ltr;
}

.table-wrapper {
  overflow-x: auto;
  background: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

table thead {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-light) 100%);
  color: var(--white);
}

table th {
  padding: 15px;
  text-align: left;
  font-weight: 600;
}

table td {
  padding: 15px;
  border-bottom: 1px solid var(--border-light);
}

table tbody tr:hover {
  background-color: rgba(243, 229, 245, 0.5);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 3rem;
}

.product-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid var(--accent-very-light);
}

.product-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 12px 32px rgba(123, 31, 162, 0.15);
  border-color: var(--accent-light);
}

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

.product-card-content {
  padding: 25px;
}

.product-card h3 {
  margin-bottom: 1rem;
  color: var(--dark-primary);
}

.product-card p {
  font-size: 15px;
  margin-bottom: 1rem;
}

.criteria-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-top: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.criteria-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  background: rgba(243, 229, 245, 0.3);
  border-radius: 8px;
  border-left: 4px solid var(--accent-light);
}

.criteria-item::before {
  content: '✓';
  font-size: 24px;
  color: var(--primary-color);
  font-weight: 900;
  flex-shrink: 0;
  margin-top: -3px;
}

.criteria-item p {
  margin: 0;
  font-size: 16px;
}

.research-list {
  max-width: 900px;
  margin: 3rem auto 0;
  list-style: none;
}

.research-item {
  padding: 25px;
  margin-bottom: 20px;
  background: var(--white);
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.research-item:hover {
  box-shadow: 0 6px 16px rgba(123, 31, 162, 0.1);
  transform: translateX(5px);
}

.faq-container {
  max-width: 900px;
  margin: 3rem auto 0;
}

.faq-item {
  margin-bottom: 20px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
}

.faq-question {
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, rgba(243, 229, 245, 0.3) 0%, rgba(225, 190, 231, 0.2) 100%);
  transition: all 0.3s ease;
  font-weight: 600;
  color: var(--dark-primary);
}

.faq-question:hover {
  background: linear-gradient(135deg, rgba(243, 229, 245, 0.5) 0%, rgba(225, 190, 231, 0.4) 100%);
}

.faq-toggle {
  font-size: 20px;
  transition: transform 0.3s ease;
  color: var(--primary-color);
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 25px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 20px 25px;
  border-top: 1px solid var(--border-light);
}

.faq-answer p {
  margin-bottom: 0;
  color: var(--text-light);
}

.experts-section {
  text-align: center;
}

.experts-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 3rem;
}

.experts-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.expert-quotes {
  text-align: left;
}

.expert-quote {
  padding: 30px;
  margin-bottom: 25px;
  background: var(--white);
  border-left: 4px solid var(--accent-light);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  font-style: italic;
  color: var(--text-light);
  position: relative;
}

.expert-quote::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 15px;
  font-size: 60px;
  color: var(--accent-very-light);
  opacity: 0.5;
}

.disclaimer-section {
  background: linear-gradient(135deg, rgba(225, 190, 231, 0.15) 0%, rgba(243, 229, 245, 0.3) 100%);
  padding: 50px;
  border-radius: 12px;
  border: 2px solid var(--border-light);
  border-left: 6px solid var(--primary-color);
  max-width: 900px;
  margin: 3rem auto 0;
}

.disclaimer-section h3 {
  color: var(--dark-primary);
  margin-bottom: 1.5rem;
}

.disclaimer-section p {
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-size: 16px;
  line-height: 1.8;
}

.cta-block {
  text-align: center;
  max-width: 600px;
  margin: 3rem auto 0;
}

.btn {
  display: inline-block;
  padding: 15px 40px;
  margin: 10px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-light) 100%);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(123, 31, 162, 0.3);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.3s ease;
  z-index: 0;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(123, 31, 162, 0.4);
}

.btn:hover::before {
  left: 100%;
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

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

.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

.contact-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-info {
  padding: 25px;
  background: rgba(243, 229, 245, 0.3);
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
}

.contact-info h3 {
  color: var(--dark-primary);
  margin-bottom: 1rem;
}

.contact-info p {
  margin: 0.5rem 0;
  font-size: 16px;
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--accent-very-light);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--dark-primary);
  font-size: 15px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 15px;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(123, 31, 162, 0.1);
  background-color: rgba(243, 229, 245, 0.3);
}

.form-disclaimer {
  font-size: 13px;
  color: var(--text-light);
  margin: 15px 0;
  padding: 12px;
  background: rgba(225, 190, 231, 0.2);
  border-radius: 6px;
  border-left: 3px solid var(--accent-light);
}

footer {
  background: var(--dark-primary);
  color: var(--white);
  padding: 60px 0 20px;
  margin-top: 140px;
}

.footer-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  color: var(--accent-light);
  margin-bottom: 1.5rem;
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.8rem;
  font-size: 15px;
}

.footer-section a:hover {
  color: var(--accent-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  animation: fadeIn 0.3s ease;
}

.modal.show {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 60px;
}

.modal-content {
  background-color: var(--white);
  padding: 40px;
  border-radius: 12px;
  width: 90%;
  max-width: 700px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.15);
  animation: slideUp 0.3s ease;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--border-light);
}

.modal-header h2 {
  margin: 0;
  color: var(--dark-primary);
}

.modal-close {
  font-size: 28px;
  font-weight: bold;
  color: var(--text-light);
  cursor: pointer;
  background: none;
  border: none;
  transition: all 0.3s ease;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: var(--primary-color);
  transform: scale(1.2);
}

.modal-body {
  color: var(--text-dark);
  line-height: 1.8;
}

.modal-body h3 {
  color: var(--dark-primary);
  margin-top: 1.5rem;
}

.modal-body h3:first-child {
  margin-top: 0;
}

.modal-body ul {
  margin-left: 20px;
  margin-bottom: 1rem;
}

.modal-body li {
  margin-bottom: 0.5rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark-primary);
  color: var(--white);
  padding: 20px 40px;
  z-index: 999;
  display: none;
  animation: slideUp 0.4s ease;
  box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.15);
}

.cookie-banner.show {
  display: block;
}

.cookie-content {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.cookie-text {
  flex: 1;
  font-size: 15px;
  line-height: 1.6;
}

.cookie-buttons {
  display: flex;
  gap: 15px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 10px 25px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cookie-accept {
  background: var(--accent-light);
  color: var(--white);
}

.cookie-accept:hover {
  background: var(--primary-color);
}

.cookie-reject {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.cookie-reject:hover {
  background: rgba(255, 255, 255, 0.1);
}

.cookie-more {
  background: transparent;
  color: var(--accent-light);
  border: none;
  padding: 10px 0;
}

.cookie-more:hover {
  text-decoration: underline;
}

.success-message {
  display: none;
  position: fixed;
  top: 100px;
  right: 40px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-light) 100%);
  color: var(--white);
  padding: 20px 30px;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(123, 31, 162, 0.3);
  z-index: 2001;
  animation: slideIn 0.4s ease;
  font-weight: 600;
}

.success-message.show {
  display: block;
}

@keyframes slideIn {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 24px;
  }

  .container {
    padding: 0 20px;
  }

  section {
    padding: 80px 0;
  }

  nav {
    display: none;
  }

  header {
    padding: 15px 0;
  }

  .header-container {
    padding: 0 20px;
  }

  .hero {
    height: 400px;
    margin-top: 60px;
  }

  .two-column,
  .two-column.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .two-column.reverse > * {
    direction: ltr;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .criteria-grid {
    grid-template-columns: 1fr;
  }

  .contact-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
    justify-content: center;
  }

  .experts-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .success-message {
    top: auto;
    bottom: 20px;
    right: 20px;
    left: 20px;
    max-width: 100%;
  }

  .modal-content {
    width: 95%;
    padding: 30px 20px;
  }

  .table-wrapper {
    font-size: 14px;
    padding: 15px;
  }

  table th,
  table td {
    padding: 10px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 20px;
  }

  body {
    font-size: 16px;
  }

  .container {
    padding: 0 15px;
  }

  section {
    padding: 60px 0;
  }

  .hero h1 {
    font-size: 36px;
  }

  .cookie-content {
    padding: 0;
  }

  .cookie-text {
    font-size: 14px;
  }

  .value-list {
    grid-template-columns: 1fr;
  }
}
