:root {
  --accent: #5A8F7B;
  --accent-light: #6fa38d;
  --accent-dark: #4a7a68;
  --text-primary: #2c3e50;
  --text-secondary: #5a6c7d;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border-color: #e9ecef;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  background-color: var(--bg-white);
}

h1, h2, h3 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
}

h1 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}

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

p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-dark);
  text-decoration: none;
}

.navbar {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--accent) !important;
}

.nav-link {
  color: var(--text-secondary) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--accent) !important;
}

.hero-section {
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(90,143,123,0.05) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-image {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  width: 100%;
  height: auto;
  object-fit: cover;
}

.section {
  padding: 4rem 0;
}

.section-light {
  background-color: var(--bg-light);
}

.section-white {
  background-color: var(--bg-white);
}

.card-custom {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

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

.card-custom img {
  border-radius: var(--radius);
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 1.5rem;
}

.icon-box {
  width: 48px;
  height: 48px;
  background-color: rgba(90,143,123,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.icon-box svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent);
}

.btn-accent {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--bg-white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-accent:hover {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--bg-white);
  transform: translateY(-1px);
}

.btn-outline-accent {
  background-color: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  transition: all 0.2s ease;
}

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

.divider {
  width: 60px;
  height: 3px;
  background-color: var(--accent);
  margin: 0 auto 2rem;
  border-radius: 2px;
}

.divider-left {
  margin: 0 0 2rem;
}

.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.faq-question:hover {
  background-color: var(--bg-light);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  transition: transform 0.2s ease;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

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

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.25rem;
  max-height: 500px;
}

.form-control {
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(90,143,123,0.15);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-info-item svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  margin-right: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer {
  background-color: var(--text-primary);
  color: rgba(255,255,255,0.8);
  padding: 3rem 0 1.5rem;
}

.footer h3 {
  color: var(--bg-white);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.footer a {
  color: rgba(255,255,255,0.7);
  transition: color 0.2s ease;
}

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

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  margin-top: 2rem;
}

.disclaimer-text {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-white);
  box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
  padding: 1rem;
  z-index: 9999;
  display: none;
}

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

.context-block {
  background: rgba(90,143,123,0.08);
  border-left: 3px solid var(--accent);
  padding: 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 2rem 0;
}

.context-block h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.context-block p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.resource-card {
  display: flex;
  align-items: center;
  padding: 1rem;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  transition: box-shadow 0.2s ease;
}

.resource-card:hover {
  box-shadow: var(--shadow-sm);
}

.resource-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-right: 1rem;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .two-column {
    grid-template-columns: 1fr 1fr;
  }
  
  h1 {
    font-size: 2.75rem;
  }
  
  .hero-section {
    padding: 5rem 0;
  }
}

@media (min-width: 992px) {
  h1 {
    font-size: 3rem;
  }
}

.page-header {
  background: var(--bg-light);
  padding: 3rem 0;
  margin-bottom: 2rem;
}

.content-page {
  padding: 2rem 0 4rem;
}

.content-page h2 {
  margin-top: 2rem;
}

.content-page ul {
  color: var(--text-secondary);
  padding-left: 1.5rem;
}

.content-page li {
  margin-bottom: 0.5rem;
}

.line-decoration {
  display: inline-block;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  margin: 1rem 0;
}
