:root {
  --color-primary: #2e7d32;
  --color-primary-dark: #1b5e20;
  --color-text: #212121;
  --color-muted: #f5f5f5;
  --color-white: #ffffff;
  --shadow-soft: 0 14px 36px rgba(33, 33, 33, 0.11);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Poppins", system-ui, sans-serif;
  color: var(--color-text);
  font-weight: 300;
  line-height: 1.6;
  background: var(--color-white);
}

a { color: var(--color-primary); text-decoration: none; transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; }
a:hover { color: var(--color-primary-dark); }

p { max-width: 700px; }
h1, h2, h3, h4 { font-weight: 600; margin-bottom: 1rem; letter-spacing: 0; }

.container { max-width: 1200px; }
.navbar { padding: 0.85rem 0; }
.navbar-brand { color: var(--color-text); }
.brand-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 6px; color: var(--color-white); background: var(--color-primary); margin-right: 0.35rem; }
.nav-link { font-weight: 400; color: var(--color-text); }
.nav-link:hover { color: var(--color-primary); }

.btn { border-radius: 6px; font-weight: 600; padding: 0.78rem 1.25rem; transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; }
.btn-primary { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-white); }
.btn-primary:hover, .btn-primary:focus { background: var(--color-primary-dark); border-color: var(--color-primary-dark); transform: translateY(-2px); }
.btn-light { color: var(--color-primary-dark); }

.hero { min-height: 640px; display: flex; align-items: center; color: var(--color-white); background-image: linear-gradient(110deg, rgba(0,0,0,0.72), rgba(0,0,0,0.32)), var(--hero-image); background-size: cover; background-position: center; padding: 140px 0 90px; }
.hero-content { max-width: 880px; margin-left: auto; margin-right: auto; text-align: center; }
.hero h1 { font-size: clamp(2.35rem, 6vw, 4.75rem); line-height: 1.08; }
.hero p { margin: 0 auto 1.5rem; font-size: 1.16rem; color: rgba(255,255,255,0.92); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

.section { padding: 92px 0; }
.section-muted { background: var(--color-muted); }
.section-heading { text-align: center; max-width: 760px; margin: 0 auto 3rem; }
.section-heading span, .eyebrow, .category { color: var(--color-primary); font-weight: 600; text-transform: uppercase; font-size: 0.82rem; letter-spacing: 0.04em; }
.narrow { max-width: 880px; }

.feature-card, .info-card, .service-card, .blog-card, .team-card, .contact-form, .contact-panel, .stat-card {
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}

.feature-card, .info-card, .contact-form, .contact-panel, .stat-card { padding: 2rem; height: calc(50% + 50%); }
.feature-card i { font-size: 2.4rem; color: var(--color-primary); margin-bottom: 1rem; display: inline-block; }
.feature-card h3, .service-card h2, .blog-card h2 { font-size: 1.35rem; }
.image-rounded { width: calc(50% + 50%); border-radius: 12px; box-shadow: var(--shadow-soft); display: block; object-fit: cover; }

.stats-section { background: #ffffff; }
.stat-card { text-align: center; }
.stat-number { display: block; font-size: 3rem; font-weight: 600; color: var(--color-primary); }
.stat-card p { margin: 0 auto; font-weight: 400; }

.cta-section { background: var(--color-primary); color: var(--color-white); }
.cta-section p { margin-left: auto; margin-right: auto; color: rgba(255,255,255,0.92); }

.values-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.values-grid div { background: var(--color-white); border-radius: 12px; padding: 1rem; display: flex; align-items: center; gap: 0.65rem; box-shadow: var(--shadow-soft); font-weight: 400; }
.values-grid i { color: var(--color-primary); }

.team-card { overflow: hidden; text-align: center; padding-bottom: 1.5rem; }
.team-card img { width: calc(50% + 50%); aspect-ratio: 1 / 1; object-fit: cover; }
.team-card h3 { margin-top: 1.3rem; }
.team-card p { margin: 0 auto; padding: 0 1rem; }

.service-card, .blog-card { overflow: hidden; height: calc(50% + 50%); display: flex; flex-direction: column; }
.service-card img, .blog-card img { width: calc(50% + 50%); height: 245px; object-fit: cover; }
.service-card-body, .blog-card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.service-card .btn, .blog-card .btn { margin-top: auto; align-self: flex-start; }
.post-meta { font-size: 0.9rem; color: #616161; margin: 0.7rem 0 1.1rem; }

.article-section { padding-top: 70px; }
.breadcrumb-wrap { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-bottom: 2rem; color: #616161; }
.article-content { max-width: 880px; margin: 0 auto; }
.article-content p { max-width: 880px; }
.article-meta { color: #616161; font-weight: 400; }
.related-card { display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: var(--color-white); border-radius: 12px; padding: 1.5rem; box-shadow: var(--shadow-soft); font-weight: 600; min-height: 104px; }
.related-card:hover { transform: translateY(-3px); box-shadow: 0 18px 42px rgba(33, 33, 33, 0.14); }

.form-control, .form-select { border-radius: 6px; padding: 0.82rem 0.95rem; }
.form-success { display: none; margin-top: 1.2rem; padding: 1rem; border-radius: 6px; background: #e8f5e9; color: var(--color-primary-dark); font-weight: 400; }
.form-success.is-visible { display: block; }
.contact-panel p { display: flex; gap: 0.8rem; max-width: none; }
.contact-panel i { color: var(--color-primary); }
.map-wrap iframe { width: calc(50% + 50%); height: 420px; border: 0; border-radius: 12px; box-shadow: var(--shadow-soft); }

.legal-content { max-width: 900px; margin: 0 auto; }
.legal-content p { max-width: 900px; }
.accordion-button { font-weight: 600; }
.accordion-button:not(.collapsed) { color: var(--color-primary-dark); background: #e8f5e9; }

.footer { background: #212121; color: var(--color-white); padding: 64px 0 28px; }
.footer p { color: rgba(255,255,255,0.78); }
.footer a { color: rgba(255,255,255,0.82); }
.footer a:hover { color: var(--color-white); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.14); margin-top: 2rem; padding-top: 1.2rem; color: rgba(255,255,255,0.72); }

.cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 1080; display: none; align-items: center; justify-content: space-between; gap: 1rem; background: var(--color-white); border-radius: 12px; padding: 1rem; box-shadow: 0 16px 45px rgba(0,0,0,0.22); }
.cookie-banner.is-visible { display: flex; }
.cookie-actions { display: flex; gap: 0.75rem; flex-shrink: 0; }

@media (max-width: 1199px) {
  .section { padding: 76px 0; }
  .hero { min-height: 560px; }
}

@media (max-width: 767px) {
  .hero { min-height: 540px; padding: 125px 0 70px; }
  .hero-actions, .cookie-banner, .cookie-actions { flex-direction: column; align-items: stretch; }
  .btn-lg, .hero .btn, .cookie-actions .btn { width: calc(50% + 50%); }
  .values-grid { grid-template-columns: 1fr; }
  .service-card img, .blog-card img { height: 220px; }
  .cookie-banner { align-items: stretch; }
}