:root {
  --primary-bg: #f9f9f6;
  --accent-green: #4c956c;
  --accent-orange: #e07a5f;
  --accent-blue: #3d5a80;
  --accent-brown: #9d8189;
  --text-dark: #1a1a1a;
  --text-light: #6b6b6b;
  --border-light: #e8e8e5;
  --shadow-subtle: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--primary-bg);
  color: var(--text-dark);
  line-height: 1.85;
  font-weight: 400;
  font-size: 16px;
  overflow-x: hidden;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(249, 249, 246, 0.95);
  backdrop-filter: blur(8px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow 0.3s ease;
  padding: 1rem 0;
}

header.scrolled {
  box-shadow: var(--shadow-subtle);
}

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

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  text-decoration: none;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  width: 28px;
  height: 28px;
}

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

nav a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--accent-green);
}

main {
  margin-top: 80px;
}

section {
  max-width: 1320px;
  margin: 0 auto;
  padding: 160px 120px;
}

section:nth-child(odd) {
  background: linear-gradient(135deg, rgba(76, 149, 108, 0.04) 0%, rgba(224, 122, 95, 0.04) 100%);
}

section:nth-child(even) {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  margin: 160px 120px;
}

.section-title {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 40px;
  color: var(--text-dark);
  text-transform: none;
}

.section-subtitle {
  font-size: 20px;
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.8;
}

.hero {
  padding: 0 !important;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--primary-bg) 0%, rgba(76, 149, 108, 0.08) 100%);
  position: relative;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
}

.hero h1 {
  font-size: 64px;
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  color: var(--text-dark);
  line-height: 1.2;
}

.hero p {
  font-size: 18px;
  color: var(--text-light);
  line-height: 1.8;
}

.row {
  display: flex;
  align-items: center;
  gap: 80px;
  margin-bottom: 160px;
}

.row:nth-child(odd) .col-image {
  order: -1;
}

.row.reverse .col-image {
  order: 1;
}

.col-image {
  flex: 1;
}

.col-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.col-image img:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card);
}

.col-text {
  flex: 1;
}

.col-text h2 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.8px;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.col-text p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-light);
  margin-bottom: 16px;
}

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

.card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-light);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card);
  border-color: var(--accent-green);
}

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

.card-body {
  padding: 24px;
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.card-text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-light);
}

.card-accent {
  height: 4px;
  background: var(--accent-green);
  margin-top: 16px;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.card:hover .card-accent {
  width: 100%;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

thead {
  background: linear-gradient(90deg, var(--accent-green) 0%, var(--accent-blue) 100%);
  color: #ffffff;
}

th, td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
}

th {
  font-weight: 600;
  letter-spacing: -0.3px;
}

tbody tr:hover {
  background-color: rgba(76, 149, 108, 0.05);
}

.accordion-item {
  border: 1px solid var(--border-light);
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
  background: #ffffff;
}

.accordion-header {
  background: var(--primary-bg);
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  color: var(--text-dark);
  transition: background 0.3s ease;
}

.accordion-header:hover {
  background: rgba(76, 149, 108, 0.08);
}

.accordion-header.active {
  background: linear-gradient(90deg, rgba(76, 149, 108, 0.12) 0%, rgba(224, 122, 95, 0.12) 100%);
  color: var(--accent-green);
}

.accordion-toggle {
  font-size: 20px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--accent-green);
}

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

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 20px;
}

.accordion-item.active .accordion-body {
  max-height: 500px;
  padding: 0 20px 20px 20px;
}

.accordion-content {
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-light);
}

.disclaimer {
  background: rgba(76, 149, 108, 0.08);
  border-left: 4px solid var(--accent-green);
  padding: 20px;
  border-radius: 8px;
  margin: 30px 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-dark);
}

form {
  max-width: 600px;
  margin: 40px auto 0;
}

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

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 14px;
  color: var(--text-dark);
}

input[type="text"],
input[type="email"] {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus {
  outline: none;
  border-color: var(--accent-green);
  box-shadow: 0 0 0 3px rgba(76, 149, 108, 0.1);
}

button {
  background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-blue) 100%);
  color: #ffffff;
  border: none;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  letter-spacing: -0.3px;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

button:active {
  transform: translateY(0);
}

footer {
  background: var(--text-dark);
  color: #ffffff;
  padding: 60px 120px;
  margin-top: 160px;
  font-size: 14px;
  line-height: 1.8;
}

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

.footer-section h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-section p {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.8);
}

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

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

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin: 40px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  overflow: auto;
}

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

.modal-content {
  background: #ffffff;
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  padding: 40px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--text-light);
  transition: color 0.3s ease;
}

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

.modal h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.modal p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-light);
  margin-bottom: 16px;
}

.modal h3 {
  font-size: 16px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.modal ul, .modal ol {
  margin-left: 20px;
  margin-bottom: 16px;
}

.modal li {
  margin-bottom: 8px;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--text-dark);
  color: #ffffff;
  padding: 20px;
  display: none;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
  gap: 20px;
  font-size: 14px;
  line-height: 1.6;
}

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

.cookie-message {
  flex: 1;
}

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

.cookie-buttons button {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: 6px;
}

.cookie-buttons .btn-accept {
  background: var(--accent-green);
}

.cookie-buttons .btn-reject {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.fade-in {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

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

.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.2s; }
.fade-in:nth-child(3) { animation-delay: 0.3s; }

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

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

  nav ul {
    gap: 20px;
  }

  nav a {
    font-size: 12px;
  }

  section {
    padding: 60px 20px;
  }

  section:nth-child(even) {
    margin: 60px 20px;
  }

  .section-title {
    font-size: 28px;
  }

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

  .row {
    flex-direction: column;
    gap: 40px;
  }

  .row:nth-child(odd) .col-image {
    order: 0;
  }

  .row.reverse .col-image {
    order: 0;
  }

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

  footer {
    padding: 40px 20px;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
  }

  .modal-content {
    padding: 20px;
  }

  .cookie-banner {
    flex-direction: column;
    gap: 12px;
  }

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

  .cookie-buttons button {
    width: 100%;
  }
}
