:root {
  --primary: #8AB23C;
  --dark: #0f2f2a;
  --bg: #f7fcfa;
}

* {
  margin: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  background: var(--bg);
  color: var(--dark);
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 2rem;
}

.header {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: var(--primary);
  font-weight: 600;
}

.logo-img {
  height: 72px;
  width: auto;
  display: block;
}

nav a {
  margin-right: 1rem;
  text-decoration: none;
  color: var(--dark);
}

.hero {
  position: relative;
  padding: 7rem 2rem;
  overflow: hidden;
  color: white;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(
      to right,
      rgba(15,47,42,0.85) 30%,
      rgba(15,47,42,0.4) 60%,
      rgba(15,47,42,0.1) 100%
    ),
    url('./assets/hero.jpg') center/cover no-repeat;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  max-width: 1100px;
}

.hero-text {
  max-width: 550px;
}

.hero-text h1 {
  font-size: 3.2rem;
  line-height: 1.1;
  margin: 1rem 0;
}

.hero-text h1 span {
  color: #8AB23C;
}

.hero-text p {
  font-size: 1.2rem;
  opacity: 0.9;
}

.badge {
  background: rgba(255,255,255,0.15);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.85rem;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
}

.secondary {
  display: flex;
  align-items: center;
  color: white;
  text-decoration: none;
  opacity: 0.8;
}

.hero-trust {
  margin-top: 2rem;
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  opacity: 0.85;
}

@media (max-width: 768px) {
  .hero {
    padding: 5rem 1.5rem;
  }

  .hero-text h1 {
    font-size: 2.4rem;
  }
}

.cta {
  margin-top: 1.5rem;
  padding: 0.9rem 1.6rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(43,191,143,0.3);
}

.cta.small {
  padding: 0.5rem 1rem;
}

.grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card {
  background: white;
  padding: 1.8rem;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.featured .card {
  padding: 2.5rem;
}

.testimonials {
  background: linear-gradient(to bottom, #eefaf5, #f7fcfa);
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.card-category {
  display: inline-block;
  background: rgba(43,191,143,0.12);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.card-date {
  display: block;
  margin-top: 0.8rem;
  font-size: 0.8rem;
  opacity: 0.5;
}

.footer {
  text-align: center;
  padding: 3rem;
  opacity: 0.6;
}

/* Cookie Consent */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  padding: 1.5rem;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  z-index: 9999;
  border-top: 1px solid #eee;
}

.cookie-banner p {
  font-size: 0.9rem;
  color: var(--dark);
  margin: 0;
  max-width: 800px;
}

.cookie-banner a {
  color: var(--primary);
  text-decoration: underline;
}

.cookie-banner .btn-accept {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}

.cookie-banner.hidden {
  display: none;
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 1rem;
  }
}

.facebook-link {
  color: var(--dark);
  transition: color 0.2s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.facebook-link:hover {
  color: #1877F2;
  transform: scale(1.1);
}

.footer-social {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.footer-social .facebook-link {
  opacity: 0.8;
}

.footer-social .facebook-link:hover {
  opacity: 1;
}

nav .facebook-link {
  margin-right: 1rem;
}

.article-page {
  padding-top: 3rem;
  padding-bottom: 4rem;
  max-width: 760px;
}

.back-link {
  display: inline-block;
  margin-bottom: 2rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.back-link:hover {
  text-decoration: underline;
}

.article-header {
  margin-bottom: 2rem;
}

.article-header h1 {
  font-size: 2.2rem;
  line-height: 1.2;
  margin: 0.6rem 0 0.4rem;
}

.article-body {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--dark);
}

.article-body h2 {
  font-size: 1.4rem;
  margin: 2rem 0 0.6rem;
  color: var(--dark);
}

.article-body p {
  margin-bottom: 1rem;
}

.article-body ul,
.article-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.article-body li {
  margin-bottom: 0.4rem;
}

.article-body strong {
  font-weight: 600;
}

.article-body em {
  opacity: 0.75;
  font-style: italic;
}
