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

:root {
  --primary: #A8DADC;
  --secondary: #457B9D;
  --accent: #E63946;
  --light: #F1FAEE;
  --dark: #1d3557;
  --text: #333;
  --border: #ddd;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--dark);
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

p {
  font-size: 1rem;
  margin-bottom: 1rem;
  line-height: 1.8;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  z-index: 1000;
  padding: 1rem 0;
}

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

.logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--secondary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

nav a {
  margin-left: 2rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover,
nav a.active {
  color: var(--accent);
}

main {
  margin-top: 70px;
}

.section {
  padding: 4rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.hero {
  margin-top: 0;
  padding: 0;
  min-height: 70vh;
  background: linear-gradient(135deg, rgba(168, 218, 220, 0.9) 0%, rgba(69, 123, 157, 0.9) 100%), 
              url('images/hero-bg.jpg') center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.hero-content h1 {
  color: white;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-content p {
  color: rgba(255,255,255,0.95);
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto;
}

.intro, .nutrition, .metabolism, .latest {
  background-color: var(--light);
}

.intro .content,
.nutrition .content,
.metabolism .content,
.latest .content {
  max-width: 800px;
}

.vitamins-section {
  background-color: white;
}

.vitamins-section .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.vitamins-section img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.herbs-section {
  background-color: white;
}

.herbs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.herb-card {
  background: var(--light);
  padding: 2rem;
  border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.herb-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.herb-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.herb-card h3 {
  margin-bottom: 0.5rem;
  color: var(--secondary);
}

.herb-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 8px;
  overflow: hidden;
}

.herb-table thead {
  background: var(--primary);
}

.herb-table th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--dark);
}

.herb-table td {
  padding: 1rem;
  border-top: 1px solid var(--border);
}

.herb-table tbody tr:hover {
  background-color: var(--light);
}

.products-section {
  background-color: white;
}

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

.product-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s;
}

.product-card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  transform: translateY(-8px);
}

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

.product-card-content {
  padding: 2rem;
}

.product-card h3 {
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.hydration-section {
  background-color: var(--light);
}

.hydration-section .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hydration-section img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  order: -1;
}

.nutrients-section {
  background-color: white;
}

.nutrients-section .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.nutrients-section img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.antioxidants-section {
  background-color: var(--light);
}

.antioxidants-section .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.antioxidants-section img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  order: -1;
}

.faq-section {
  background-color: white;
}

.accordion {
  background: white;
}

.accordion-item {
  border: 1px solid var(--border);
  border-radius: 4px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-button {
  background: white;
  border: none;
  padding: 1.5rem;
  text-align: left;
  cursor: pointer;
  width: 100%;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--secondary);
  transition: background-color 0.3s;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-button:hover {
  background: var(--light);
}

.accordion-button.active {
  background: var(--primary);
  color: var(--dark);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: var(--light);
}

.accordion-content.show {
  max-height: 500px;
  padding: 1.5rem;
}

.accordion-arrow {
  transition: transform 0.3s;
  font-size: 1.5rem;
}

.accordion-arrow.rotated {
  transform: rotate(180deg);
}

.cta-section {
  background: linear-gradient(135deg, var(--secondary) 0%, #1d3557 100%);
  color: white;
  text-align: center;
  padding: 3rem 2rem;
}

.cta-section h2 {
  color: white;
}

.cta-section p {
  color: rgba(255,255,255,0.95);
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: var(--secondary);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s;
  font-family: 'Montserrat', sans-serif;
}

.btn:hover {
  background: #1d3557;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-secondary {
  background: var(--accent);
}

.btn-secondary:hover {
  background: #c51d3c;
}

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

.btn-light:hover {
  background: var(--light);
}

.contacts-section {
  background: var(--light);
  padding: 4rem 2rem;
}

.contacts-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contacts-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.contacts-info h2 {
  margin-bottom: 2rem;
}

.contact-item {
  margin-bottom: 2rem;
}

.contact-item strong {
  display: block;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.contact-item p {
  margin: 0.2rem 0;
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
}

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

.form-disclaimer {
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: white;
  border-left: 3px solid var(--accent);
}

footer {
  background: var(--dark);
  color: white;
  padding: 3rem 2rem 1.5rem;
  margin-top: 4rem;
}

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

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.footer-section h4 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.footer-section a {
  display: block;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
  cursor: pointer;
}

.footer-section a:hover {
  color: white;
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

.disclaimer-badge {
  background: var(--accent);
  color: white;
  padding: 1rem 2rem;
  text-align: center;
  font-weight: 600;
  margin-bottom: 2rem;
}

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

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.3s;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text);
}

.modal-close:hover {
  color: var(--accent);
}

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

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

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark);
  color: white;
  padding: 1.5rem 2rem;
  z-index: 999;
  display: none;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

.cookie-banner.show {
  display: block;
  animation: slideUp 0.3s;
}

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

.cookie-text {
  flex: 1;
  font-size: 0.95rem;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 0.6rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}

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

.cookie-accept:hover {
  background: #c51d3c;
}

.cookie-reject {
  background: rgba(255,255,255,0.2);
  color: white;
  border: 1px solid white;
}

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

.cookie-learn {
  background: transparent;
  color: white;
  border: none;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  margin: 0;
}

.success-message {
  display: none;
  position: fixed;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  background: #28a745;
  color: white;
  padding: 1.5rem 2rem;
  border-radius: 6px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  z-index: 3000;
  animation: slideDown 0.3s;
}

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

@keyframes slideDown {
  from { transform: translate(-50%, -20px); opacity: 0; }
  to { transform: translate(-50%, 0); opacity: 1; }
}

.list-benefits {
  list-style: none;
  padding: 0;
}

.list-benefits li {
  padding: 0.8rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.list-benefits li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  header .container {
    flex-wrap: wrap;
  }

  nav {
    width: 100%;
    margin-top: 1rem;
  }

  nav a {
    margin-left: 1rem;
    margin-right: 1rem;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero {
    min-height: 50vh;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .vitamins-section .grid,
  .hydration-section .grid,
  .nutrients-section .grid,
  .antioxidants-section .grid {
    grid-template-columns: 1fr;
  }

  .hydration-section img,
  .antioxidants-section img {
    order: 0;
  }

  .herbs-grid,
  .products-grid {
    grid-template-columns: 1fr;
  }

  .contacts-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

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

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

  .cookie-btn {
    width: 100%;
  }
}
