:root {
  --charcoal-blue: #3E4A59;
  --soft-mint: #B2D8B2;
  --muted-coral: #E89A9A;
  --warm-linen: #F8F1E9;
  --white: #FFFFFF;
  --dark-gray: #2C3E50;
  --light-gray: #ECF0F1;
}

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

html, body {
  height: 100%;
  width: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 18px;
  line-height: 1.8;
  color: var(--charcoal-blue);
  background-color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Bitter', Georgia, serif;
  font-weight: 700;
  color: var(--charcoal-blue);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

h1 {
  font-size: 3.5rem;
  letter-spacing: -0.5px;
}

h2 {
  font-size: 2.5rem;
  margin-top: 2.5rem;
}

h3 {
  font-size: 1.8rem;
  margin-top: 2rem;
}

em {
  font-style: italic;
  color: var(--charcoal-blue);
}

a {
  color: var(--charcoal-blue);
  text-decoration: none;
  transition: color 0.45s ease, opacity 0.45s ease;
}

a:hover {
  color: var(--soft-mint);
  opacity: 0.92;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--warm-linen);
  padding: 1.5rem 110px;
  box-shadow: 0 2px 8px rgba(62, 74, 89, 0.08);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--charcoal-blue);
}

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

.nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--charcoal-blue);
  transition: opacity 0.45s ease;
}

.nav a:hover {
  opacity: 0.75;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
  margin-left: 0.5rem;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 4px;
  min-width: 200px;
  padding: 0.8rem 0;
  display: none;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(62, 74, 89, 0.12);
  margin-top: 0.5rem;
}

.nav-dropdown:hover .dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.7rem 1.5rem;
  color: var(--charcoal-blue);
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}

.dropdown-menu a:hover {
  background-color: var(--warm-linen);
}

main {
  margin-top: 100px;
  min-height: calc(100vh - 100px - 400px);
}

.hero {
  background: linear-gradient(135deg, var(--warm-linen) 0%, rgba(178, 216, 178, 0.1) 100%);
  padding: 160px 110px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero img {
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 3rem auto;
  display: block;
  border-radius: 8px;
  opacity: 0.95;
}

.hero h1 {
  max-width: 900px;
  margin: 0 auto 1.5rem;
  font-size: 3.5rem;
}

.hero p {
  max-width: 800px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  color: var(--charcoal-blue);
  line-height: 1.8;
}

.section {
  padding: 160px 110px;
  position: relative;
}

.section-alt {
  background-color: var(--warm-linen);
}

.section-content {
  max-width: 1620px;
  margin: 0 auto;
}

.section-grid {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 80px;
  align-items: center;
  margin-bottom: 100px;
}

.section-grid.reverse {
  grid-template-columns: 40% 60%;
}

.section-grid img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  opacity: 0.95;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.section-grid img:hover {
  opacity: 1;
  transform: scale(1.02);
}

.section-text h2 {
  margin-top: 0;
}

.section-text p {
  margin-bottom: 1.5rem;
  color: var(--charcoal-blue);
  line-height: 1.8;
}

.section-text em {
  font-style: italic;
  color: var(--muted-coral);
}

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

.habits-list li {
  padding: 1rem 1.5rem;
  margin-bottom: 0.8rem;
  background-color: var(--light-gray);
  border-left: 4px solid var(--soft-mint);
  border-radius: 4px;
  line-height: 1.8;
  color: var(--charcoal-blue);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 60px;
  margin: 80px 0;
}

.article-card {
  background-color: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.45s ease, transform 0.45s ease;
  cursor: pointer;
}

.article-card:hover {
  box-shadow: 0 8px 24px rgba(62, 74, 89, 0.12);
  transform: translateY(-4px);
}

.article-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

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

.article-card h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.article-card p {
  font-size: 0.95rem;
  color: var(--charcoal-blue);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.article-link {
  display: inline-block;
  color: var(--soft-mint);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.45s ease;
}

.article-link:hover {
  color: var(--muted-coral);
}

.cta-section {
  background: linear-gradient(135deg, var(--charcoal-blue) 0%, rgba(62, 74, 89, 0.9) 100%);
  padding: 120px 110px;
  text-align: center;
  color: var(--white);
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 2rem;
}

.cta-section p {
  color: var(--warm-linen);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: var(--soft-mint);
  color: var(--charcoal-blue);
  border: 2px solid var(--soft-mint);
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.45s ease, color 0.45s ease, opacity 0.45s ease;
  text-decoration: none;
  display: inline-block;
}

.btn:hover {
  background-color: transparent;
  color: var(--soft-mint);
  opacity: 0.92;
}

.btn-secondary {
  background-color: var(--muted-coral);
  border-color: var(--muted-coral);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: transparent;
  color: var(--muted-coral);
}

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

.accordion-item {
  border: 1px solid var(--light-gray);
  border-radius: 4px;
  margin-bottom: 1.5rem;
  overflow: hidden;
  background-color: var(--white);
}

.accordion-header {
  padding: 1.5rem;
  background-color: var(--warm-linen);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
  font-weight: 600;
  color: var(--charcoal-blue);
}

.accordion-header:hover {
  background-color: rgba(178, 216, 178, 0.2);
}

.accordion-header::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--soft-mint);
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header::after {
  transform: rotate(45deg);
}

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

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

.accordion-content p {
  color: var(--charcoal-blue);
  line-height: 1.8;
  margin-bottom: 1rem;
}

footer {
  background-color: var(--charcoal-blue);
  color: var(--white);
  padding: 60px 110px 40px;
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-section h4 {
  color: var(--soft-mint);
  font-size: 1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-section a {
  color: var(--warm-linen);
  display: block;
  margin-bottom: 0.8rem;
  transition: color 0.45s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(178, 216, 178, 0.2);
  padding-top: 2rem;
  text-align: center;
  color: var(--warm-linen);
}

.disclaimer-banner {
  background-color: var(--warm-linen);
  color: var(--charcoal-blue);
  padding: 1.5rem 110px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  border-bottom: 2px solid var(--soft-mint);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--charcoal-blue);
  color: var(--white);
  padding: 2rem 110px;
  box-shadow: 0 -2px 8px rgba(62, 74, 89, 0.15);
  z-index: 999;
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cookie-banner.show {
  display: flex;
  align-items: center;
  justify-content: space-between;
  opacity: 1;
  transform: translateY(0);
}

.cookie-text {
  flex: 1;
  margin-right: 2rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

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

.cookie-btn {
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: opacity 0.45s ease;
}

.cookie-accept {
  background-color: var(--soft-mint);
  color: var(--charcoal-blue);
}

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

.cookie-learn {
  background-color: transparent;
  color: var(--warm-linen);
  text-decoration: underline;
}

.cookie-btn:hover {
  opacity: 0.85;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--warm-linen);
  padding: 2.5rem;
  border-radius: 8px;
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--light-gray);
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--charcoal-blue);
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--soft-mint);
}

.form-disclaimer {
  background-color: var(--light-gray);
  padding: 1rem;
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--charcoal-blue);
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--muted-coral);
  line-height: 1.6;
}

.info-block {
  background-color: var(--light-gray);
  padding: 2rem;
  border-radius: 8px;
  margin: 40px 0;
  border-left: 4px solid var(--soft-mint);
  line-height: 1.8;
}

.info-block h3 {
  margin-top: 0;
}

@media (max-width: 768px) {
  header {
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
  }

  .nav {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    text-align: center;
  }

  .dropdown-menu {
    position: static;
    display: none;
    opacity: 0;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0.5rem 0 0;
  }

  .nav-dropdown:hover .dropdown-menu {
    display: none;
  }

  .nav-dropdown.mobile-open .dropdown-menu {
    display: block;
    opacity: 1;
    transform: none;
    box-shadow: none;
  }

  main {
    margin-top: 120px;
  }

  .hero {
    padding: 80px 20px;
  }

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

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

  .section {
    padding: 80px 20px;
  }

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

  .section-grid.reverse {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  body {
    font-size: 16px;
  }

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

  .cta-section {
    padding: 60px 20px;
  }

  footer {
    padding: 40px 20px 20px;
  }

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

  .disclaimer-banner {
    padding: 1rem 20px;
  }

  .cookie-banner {
    padding: 1.5rem 20px;
  }

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

  .cookie-text {
    margin-right: 0;
    margin-bottom: 1rem;
  }

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

  .cookie-btn {
    width: 100%;
  }

  .contact-form {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  header {
    padding: 0.8rem;
  }

  .hero {
    padding: 40px 15px;
  }

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

  .section {
    padding: 40px 15px;
  }

  body {
    font-size: 15px;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  footer {
    padding: 30px 15px 15px;
  }

  .footer-content {
    gap: 20px;
  }

  .disclaimer-banner {
    padding: 0.8rem 15px;
    font-size: 0.85rem;
  }

  .cookie-banner {
    padding: 1rem 15px;
  }

  .cookie-text {
    font-size: 0.85rem;
  }
}
