:root {
  --primary: #3CB371;
  --accent: #F4A335;
  --dark-bg: #1A1A2E;
  --text: #222222;
  --light-gray: #F5F5F5;
  --border: #DDDDDD;
  --white: #FFFFFF;
  --spacing: 1rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  color: var(--text);
  background-color: var(--white);
  line-height: 1.6;
}

header {
  background-color: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem var(--spacing);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
}

.logo-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg {
  width: 100%;
  height: 100%;
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

main {
  max-width: 1200px;
  margin: 0 auto;
}

section {
  padding: 4rem var(--spacing);
}

.section-center {
  text-align: center;
}

.section-left {
  text-align: left;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
  color: #555;
}

.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  text-align: center;
  transition: background-color 0.3s ease;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #2a9a4a;
}

.btn-secondary {
  background-color: var(--accent);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: #d98729;
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
}

#hero {
  background: linear-gradient(135deg, rgba(60, 179, 113, 0.1) 0%, rgba(244, 163, 53, 0.05) 100%);
  padding: 6rem var(--spacing);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #555;
  line-height: 1.7;
}

.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  display: block;
}

@media (max-width: 1024px) {
  .hero-content {
    gap: 2rem;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  #hero {
    padding: 4rem var(--spacing);
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1rem;
  }
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background-color: var(--light-gray);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
}

.card h3 {
  color: var(--primary);
}

.card-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

.testimonial-card {
  background-color: var(--light-gray);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  border-left: 4px solid var(--primary);
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  overflow: hidden;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1rem;
  color: #666;
}

.testimonial-author {
  font-weight: 700;
  color: var(--primary);
}

#products .card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

#products .card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 1rem;
}

#products .card-content {
  flex-grow: 1;
}

#products .card h3 {
  margin-bottom: 0.5rem;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

#products .card p {
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

#products .card .btn {
  margin-top: auto;
  width: 100%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
  margin-top: 2rem;
}

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-item p {
  font-size: 1rem;
}

.faq-item {
  margin-bottom: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.faq-question {
  background-color: var(--light-gray);
  padding: 1.5rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  background-color: #eee;
}

.faq-toggle {
  font-size: 1.5rem;
  color: var(--primary);
}

.faq-answer {
  padding: 1.5rem;
  background-color: var(--white);
  color: #666;
  display: none;
}

.faq-answer.active {
  display: block;
}

#contacts {
  background-color: var(--light-gray);
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  text-align: center;
}

.contact-item h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.contact-item p {
  margin-bottom: 0.5rem;
}

.contact-item a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.contact-item a:hover {
  text-decoration: underline;
}

footer {
  background-color: var(--dark-bg);
  color: var(--white);
  padding: 4rem var(--spacing) 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--white);
  font-weight: 700;
}

.footer-section p,
.footer-section a {
  font-size: 0.95rem;
  color: #bbb;
  text-decoration: none;
  display: block;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.footer-section a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 2rem;
  text-align: center;
  color: #999;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  footer {
    padding: 2rem var(--spacing) 1.5rem;
  }

  .footer-content {
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .footer-section h4 {
    font-size: 1rem;
  }

  .footer-section p,
  .footer-section a {
    font-size: 0.9rem;
  }
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--dark-bg);
  color: var(--white);
  padding: 2rem;
  border-top: 3px solid var(--primary);
  z-index: 1000;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cookie-text {
  flex-grow: 1;
}

.cookie-text h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.cookie-text p {
  margin: 0;
  font-size: 0.9rem;
  color: #ccc;
  line-height: 1.5;
}

.cookie-text a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.cookie-text a:hover {
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
  align-items: center;
}

.cookie-buttons .btn {
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

.btn-customize {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 0.7rem 1.4rem;
}

.btn-customize:hover {
  background-color: var(--primary);
  color: var(--white);
}

#cookieModal {
  display: none;
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

#cookieModal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-modal-content {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
}

.cookie-modal-content h2 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.close-modal {
  float: right;
  font-size: 1.5rem;
  font-weight: bold;
  color: #999;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  margin: -0.5rem -0.5rem 1rem 0;
}

.close-modal:hover {
  color: var(--text);
}

.cookie-option {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
}

.cookie-option:last-of-type {
  border-bottom: none;
  margin-bottom: 1rem;
}

.cookie-option h3 {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.cookie-option p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.75rem;
}

.cookie-checkbox {
  margin-right: 0.75rem;
  cursor: pointer;
}

.cookie-option label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 0.95rem;
}

.cookie-option input[type="checkbox"] {
  cursor: pointer;
  width: 18px;
  height: 18px;
}

.modal-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  justify-content: flex-end;
}

.modal-buttons .btn {
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .cookie-container {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
  }

  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }

  .cookie-buttons .btn {
    width: 100%;
  }

  .cookie-modal-content {
    width: 95%;
    padding: 1.5rem;
  }

  .modal-buttons {
    flex-direction: column;
  }

  .modal-buttons .btn {
    width: 100%;
  }
}

.section-title {
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing);
}

@media (max-width: 768px) {
  section {
    padding: 2rem var(--spacing);
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .brand-name {
    font-size: 1.25rem;
  }
}
