:root {
  --color-white: #F8F9FA;
  --color-seafoam: #A0D6D4;
  --color-lavender: #D7C0D0;
  --color-graphite: #2F2F2F;
}

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

html {
  font-size: 16px;
}

body {
  font-family: 'Avenir Next', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--color-white);
  color: var(--color-graphite);
  line-height: 1.78;
  font-size: 18px;
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Avenir Next', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 700;
  color: var(--color-graphite);
  margin-bottom: 1rem;
  line-height: 1.3;
}

h1 {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
}

h3 {
  font-size: 1.75rem;
  font-weight: 700;
}

h4 {
  font-size: 1.375rem;
  font-weight: 700;
}

p {
  margin-bottom: 1.5rem;
  line-height: 1.78;
}

a {
  color: var(--color-seafoam);
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

a:hover {
  color: var(--color-graphite);
  border-bottom-color: var(--color-seafoam);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--color-white);
  z-index: 1000;
  border-bottom: 1px solid rgba(175, 214, 212, 0.2);
  padding: 1.5rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

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

.logo {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-graphite);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  width: 40px;
  height: 40px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

nav a {
  font-size: 1rem;
  color: var(--color-graphite);
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
}

nav a:hover {
  border-bottom-color: var(--color-seafoam);
  color: var(--color-graphite);
}

main {
  margin-top: 100px;
  padding-top: 50px;
}

.container {
  max-width: 1640px;
  margin: 0 auto;
  padding: 0 120px;
}

.hero {
  width: 100%;
  background: linear-gradient(135deg, var(--color-white) 0%, rgba(160, 214, 212, 0.05) 100%);
  padding: 200px 120px;
  text-align: center;
}

.hero-content {
  max-width: 1640px;
  margin: 0 auto;
}

.hero img {
  max-width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  margin-bottom: 3rem;
}

.hero h1 {
  margin-bottom: 2rem;
  letter-spacing: -0.03em;
}

.hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: var(--color-graphite);
  opacity: 0.9;
}

section {
  padding: 170px 120px;
}

section:nth-child(even) {
  background-color: rgba(160, 214, 212, 0.03);
}

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

.section-grid.reversed {
  direction: rtl;
}

.section-grid.reversed > * {
  direction: ltr;
}

.section-content {
  padding: 2rem 0;
}

.section-grid img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
}

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

.card {
  background: var(--color-white);
  border: 1px solid rgba(175, 214, 212, 0.2);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.card:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 30px rgba(160, 214, 212, 0.15);
  border-color: rgba(160, 214, 212, 0.4);
}

.card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border-radius: 2px;
}

.card h3 {
  margin-bottom: 1rem;
  font-size: 1.375rem;
}

.card p {
  font-size: 1rem;
  color: var(--color-graphite);
  opacity: 0.85;
  margin-bottom: 1.5rem;
}

.card-link {
  display: inline-block;
  color: var(--color-seafoam);
  font-weight: 600;
  border-bottom: 2px solid var(--color-seafoam);
  padding-bottom: 4px;
  transition: all 0.3s ease;
}

.card-link:hover {
  color: var(--color-graphite);
}

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

.blog-card {
  background: var(--color-white);
  border: 1px solid rgba(175, 214, 212, 0.2);
  overflow: hidden;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.blog-card:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 30px rgba(160, 214, 212, 0.15);
  border-color: rgba(160, 214, 212, 0.4);
}

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

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

.blog-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.blog-card p {
  font-size: 1rem;
  color: var(--color-graphite);
  opacity: 0.8;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: var(--color-seafoam);
  color: var(--color-white);
  text-decoration: none;
  font-weight: 600;
  border-radius: 2px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn:hover {
  background-color: var(--color-graphite);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(160, 214, 212, 0.3);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--color-seafoam);
  color: var(--color-seafoam);
}

.btn-outline:hover {
  background-color: var(--color-seafoam);
  color: var(--color-white);
}

.disclaimer {
  background-color: rgba(215, 192, 208, 0.08);
  border-left: 4px solid var(--color-lavender);
  padding: 2rem;
  margin: 3rem 0;
  border-radius: 2px;
  font-size: 1rem;
  line-height: 1.7;
}

.disclaimer h4 {
  margin-bottom: 0.5rem;
  color: var(--color-graphite);
}

.accordion {
  margin: 2rem 0;
}

.accordion-item {
  border: 1px solid rgba(175, 214, 212, 0.2);
  margin-bottom: 1rem;
  border-radius: 2px;
  overflow: hidden;
}

.accordion-header {
  background-color: rgba(160, 214, 212, 0.05);
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  border: none;
  width: 100%;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-graphite);
}

.accordion-header:hover {
  background-color: rgba(160, 214, 212, 0.1);
}

.accordion-header.active {
  background-color: rgba(160, 214, 212, 0.15);
}

.accordion-toggle {
  font-size: 1.5rem;
  color: var(--color-seafoam);
  transition: transform 0.3s ease;
}

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

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1.5rem;
}

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

.accordion-content p {
  margin-bottom: 1rem;
}

footer {
  background-color: var(--color-graphite);
  color: var(--color-white);
  padding: 4rem 120px 2rem;
  margin-top: 6rem;
}

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

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

.footer-section p {
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--color-seafoam);
  font-size: 1rem;
  margin-bottom: 0.5rem;
  display: block;
}

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

.footer-bottom {
  border-top: 1px solid rgba(160, 214, 212, 0.2);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.95rem;
  opacity: 0.8;
}

.footer-bottom p {
  margin-bottom: 0.5rem;
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem;
  border: 1px solid rgba(175, 214, 212, 0.4);
  border-radius: 2px;
  font-family: inherit;
  font-size: 1rem;
  background-color: var(--color-white);
  color: var(--color-graphite);
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-seafoam);
  box-shadow: 0 0 0 3px rgba(160, 214, 212, 0.1);
}

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

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-graphite);
  color: var(--color-white);
  padding: 2rem;
  display: none;
  z-index: 9999;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.15);
}

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

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

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

.cookie-message {
  flex: 1;
}

.cookie-message p {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  white-space: nowrap;
}

.cookie-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
}

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

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

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

.cookie-btn-reject:hover {
  background-color: var(--color-seafoam);
  color: var(--color-white);
}

.cookie-btn-learn {
  background-color: transparent;
  color: var(--color-seafoam);
  border: none;
  text-decoration: underline;
}

.cookie-btn-learn:hover {
  color: var(--color-white);
}

.fade-in {
  animation: fadeIn 0.6s ease;
}

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

section:nth-child(n+2) {
  animation: fadeIn 0.8s ease;
}

@media (max-width: 1200px) {
  .container,
  section,
  .hero {
    padding-left: 60px;
    padding-right: 60px;
  }

  .header-container,
  .footer-content,
  .cookie-banner-content {
    padding-left: 60px;
    padding-right: 60px;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  .grid-3col,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  header {
    padding: 1rem 0;
  }

  .header-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .logo {
    font-size: 1.25rem;
  }

  .logo img {
    width: 32px;
    height: 32px;
  }

  nav ul {
    gap: 1rem;
  }

  nav a {
    font-size: 0.9rem;
  }

  main {
    margin-top: 80px;
    padding-top: 20px;
  }

  .container,
  section,
  .hero {
    padding-left: 20px;
    padding-right: 20px;
  }

  .header-container,
  .footer-content,
  .cookie-banner-content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    padding: 100px 20px;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

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

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  body {
    font-size: 16px;
  }

  .section-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section-grid.reversed {
    direction: ltr;
  }

  .grid-3col,
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

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

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

  .cookie-btn {
    flex: 1;
    min-width: 150px;
  }

  section {
    padding: 100px 20px;
  }

  footer {
    padding: 2rem 20px 1rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.5rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  h3 {
    font-size: 1rem;
  }

  .card,
  .blog-card {
    padding: 1.5rem;
  }

  .btn {
    padding: 0.75rem 2rem;
    font-size: 0.95rem;
  }

  section {
    padding: 80px 15px;
  }
}
