*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #123023;
  background-color: #f5f7f6;
  line-height: 1.6;
}

a {
  color: #1f7a52;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(245, 247, 246, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-mark {
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1.1rem;
  text-transform: uppercase;
  color: #115e3b;
}

.logo-sub {
  font-size: 0.8rem;
  color: #4b6356;
}

.main-nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.main-nav a {
  position: relative;
  font-weight: 500;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #29a36a, #8fd6a5);
  transition: width 0.25s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  border: none;
  background: none;
  padding: 4px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #123023;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  padding: 3.5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.2rem, 3vw, 2.8rem);
  margin: 0 0 1rem;
  color: #123023;
}

.hero-text p {
  margin: 0 0 1.5rem;
  color: #4b6356;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hero-meta {
  font-size: 0.9rem;
  color: #6b8b79;
}

.hero-image {
  position: relative;
  min-height: 260px;
}

.hero-photo {
  position: absolute;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
  background-size: cover;
  background-position: center;
}

.hero-photo-main {
  inset: 0;
  background-image: linear-gradient(135deg, #1f7a52, #8fd6a5);
}

.hero-photo-secondary {
  width: 55%;
  height: 55%;
  right: -10%;
  bottom: -5%;
  background-image: linear-gradient(135deg, #f8fafc, #dbeafe);
}

.card-float {
  animation: float 12s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.section {
  padding: 3rem 0;
}

.section-light {
  background-color: #e7f3ec;
}

.section-accent {
  background: linear-gradient(135deg, #1f7a52, #29a36a);
  color: #f9fdfb;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2rem;
}

.section-header h2 {
  margin-bottom: 0.75rem;
}

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

.feature-card {
  background-color: #ffffff;
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.12);
}

.feature-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  align-items: flex-start;
}

.info-card {
  background-color: #ffffff;
  border-radius: 1.25rem;
  padding: 1.75rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.info-card-phone a {
  font-size: 1.1rem;
  font-weight: 600;
}

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

.checklist li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #1f7a52;
  font-weight: 600;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.08s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #1f7a52, #29a36a);
  color: #f9fdfb;
  box-shadow: 0 10px 30px rgba(15, 118, 110, 0.35);
}

.btn-primary:hover {
  filter: brightness(1.03);
  text-decoration: none;
}

.btn-secondary {
  background-color: #f0fdf4;
  color: #14532d;
  border-color: #bbf7d0;
}

.btn-secondary:hover {
  background-color: #dcfce7;
  text-decoration: none;
}

.btn-light {
  background-color: #f9fdfb;
  color: #14532d;
}

.btn:active {
  transform: scale(0.97);
}

.page-hero {
  padding: 3rem 0 2rem;
  background: linear-gradient(135deg, #dbece3, #f5f7f6);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.page-hero h1 {
  margin-bottom: 0.5rem;
}

.page-hero p {
  margin: 0;
  color: #4b6356;
}

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

.service-card {
  background-color: #ffffff;
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.service-card h3 {
  margin-top: 0;
}

.service-card ul {
  padding-left: 1.1rem;
  margin-bottom: 0;
}

.contact-form {
  background-color: #ffffff;
  border-radius: 1.25rem;
  padding: 1.75rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.form-row {
  margin-bottom: 1rem;
}

label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid #cbd5e1;
  padding: 0.6rem 0.75rem;
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

input:focus,
textarea:focus {
  border-color: #1f7a52;
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.3);
  background-color: #f9fdfb;
}

textarea {
  resize: vertical;
}

.form-note {
  font-size: 0.85rem;
  color: #64748b;
}

.legal-text h2 {
  margin-top: 1.5rem;
}

.legal-text h3 {
  margin-top: 1rem;
}

.site-footer {
  background-color: #0b1c15;
  color: #e2f3ea;
  padding: 2.5rem 0 1.5rem;
  margin-top: 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  font-size: 0.95rem;
}

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

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

.footer-links a {
  color: #cde7da;
}

.footer-links a:hover {
  color: #f9fdfb;
}

.footer-bottom {
  margin-top: 2rem;
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
}

.cookie-settings-btn {
  background: none;
  border-radius: 999px;
  border: 1px solid #22c55e;
  color: #bbf7d0;
  padding: 0.3rem 0.9rem;
  font-size: 0.8rem;
  cursor: pointer;
}

.cookie-settings-btn:hover {
  background-color: rgba(34, 197, 94, 0.12);
}

.cookie-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 60;
  display: none;
}

.cookie-banner-inner {
  margin: 0 auto 1rem;
  max-width: 960px;
  background-color: #0f172a;
  color: #e2e8f0;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.65);
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
}

.cookie-banner a {
  color: #7dd3fc;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-banner-actions button {
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  font-size: 0.85rem;
  border: none;
  cursor: pointer;
}

#cookieAcceptAll {
  background-color: #22c55e;
  color: #052e16;
}

#cookieDecline {
  background-color: #020617;
  color: #e2e8f0;
  border: 1px solid #475569;
}

.scroll-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: none;
  background-color: #1f7a52;
  color: #f9fdfb;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.5);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.scroll-top:hover {
  filter: brightness(1.05);
}

@media (max-width: 880px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-image {
    order: -1;
  }
  .features-grid,
  .services-grid,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .two-column {
    grid-template-columns: minmax(0, 1fr);
  }
  .cookie-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    inset: 64px 0 auto 0;
    background-color: rgba(245, 247, 246, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 2.5rem;
  }
}
