:root {
  --bg: #ffffff;
  --surface: #f8fafc;
  --text: #0f172a;
  --muted: #64748b;
  --primary: #1d4ed8;
  --primary-hover: #1e40af;
  --radius: 14px;
  --shadow: 0 12px 30px rgba(15, 23, 42, 0.15);
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: min(93%, var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.90);
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 0;
}

.brand {
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
}

.main-nav {
  display: flex;
  gap: 1rem;
}

.main-nav a {
  color: #74c817;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #569410;
}

.nav-toggle {
  display: none;
  width: 2rem;
  height: 2rem;
  border: 0;
  background: transparent;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
}

.nav-toggle span {
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background-color: var(--text);
  display: block;
}

.hero {
  position: relative;
  padding: 2rem 0 4rem;
  max-height: 300px;
  background: linear-gradient(135deg, rgba(237, 242, 247, 0.74), rgba(226, 232, 240, 0.84));
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: auto;
  max-height: 300px;
  opacity: 0;
  transition: opacity 0.65s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: rgba(15, 23, 42, 0.45);
  color: #fff;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
}

.hero-control.prev { left: 1rem; }
.hero-control.next { right: 1rem; }

.hero-control:hover,
.hero-control:focus-visible { background: rgba(15, 23, 42, 0.72); }

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  color: #74c817;
}

@media (max-width: 700px) {
  .hero {
    min-height: 45vh;
    padding: 4rem 0 2.5rem;
  }
  .hero-content {
    padding: 0 1rem;
  }
  .hero-control {
    width: 2rem;
    height: 2rem;
    top: auto;
    bottom: 0.8rem;
    transform: none;
  }
  .hero-control.prev { left: 1rem; }
  .hero-control.next { right: 1rem; }
}
  margin: 0 auto;
  text-align: center;
}

.hero-content h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -0.03em;
}

.btn {
  display: inline-block;
  margin-top: 1.3rem;
  background: var(--primary);
  border: 1px solid var(--primary);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 0.72rem 1.45rem;
  border-radius: 10px;
  transition: all 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
}

.btn.secondary {
  background: transparent;
  color: var(--text);
  border-color: rgba(148, 163, 184, 0.7);
}

.section {
  padding: 4rem 0;
}

.section.alt {
  background: rgba(158, 184, 117, 0.5);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(14rem, 1fr));
  gap: 1.25rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 700px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: var(--radius);
  padding: 1.3rem;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.form-card {
  display: grid;
  gap: 0.8rem;
  background: #f1f5f9;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: var(--radius);
  padding: 1.2rem;
}

.blog-list {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
}

.blog-list .card {
  border-color: rgba(147, 197, 253, 0.35);
}

.meta {
  margin: 0.35rem 0 0.85rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.feedback {
  margin-bottom: 1rem;
  padding: 0.8rem 1rem;
  background: rgba(34, 197, 94, 0.17);
  border-left: 4px solid #22c55e;
  color: #d1fae5;
  border-radius: 8px;
}

.form-feedback {
  padding: 0.85rem 1.1rem;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-feedback.success {
  background: rgba(34, 197, 94, 0.15);
  border-left: 4px solid #22c55e;
  color: #15803d;
}

.form-feedback.error {
  background: rgba(239, 68, 68, 0.12);
  border-left: 4px solid #ef4444;
  color: #b91c1c;
}

label {font-size: 0.95rem;}
input, textarea {background: #ffffff; color: #0f172a; border: 1px solid rgba(148, 163, 184, 0.35); border-radius: 10px; padding: 0.7rem;}
input:focus, textarea:focus {outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

@media (max-width: 700px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  padding: 1.3rem 0;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  background: rgba(15, 23, 42, 0.97);
  color: #f8fafc;
  box-shadow: 0 -8px 30px rgba(15, 23, 42, 0.35);
}

.cookie-banner__inner {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  max-width: 68ch;
}

.cookie-banner a {
  color: #93c5fd;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  flex-wrap: wrap;
}

.cookie-banner .btn {
  margin-top: 0;
}

.cookie-banner .btn.secondary {
  color: #f8fafc;
  border-color: rgba(248, 250, 252, 0.55);
}

.cookie-banner .btn.secondary:hover,
.cookie-banner .btn.secondary:focus-visible {
  color: #f8fafc;
  border-color: #f8fafc;
  background: rgba(248, 250, 252, 0.08);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-inner p, .footer-inner .social a {font-size: 0.9rem; color: var(--muted);}
.footer-inner .social {display: flex; gap: 0.75rem;}
.footer-inner .social a:hover {color: var(--text);}

@media (max-width: 960px) {
  .grid-3 {grid-template-columns: 1fr 1fr;}
  .contact-grid {grid-template-columns: 1fr;}
  .header-inner {gap: 1rem;}
}

@media (max-width: 700px) {
  .main-nav {position: absolute; top: 100%; right: 0; left: 0; background: rgba(220, 220, 222, 0.95); flex-direction: column; align-items: center; max-height: 0; overflow: hidden; transition: max-height 0.25s ease;}
  .main-nav.open {max-height: 360px;}
  .main-nav a {padding: 0.85rem 1rem; width: 100%; text-align: center;}
  .nav-toggle {display: flex;}
  .grid-3 {grid-template-columns: 1fr;}
  .hero {padding: 4.5rem 0 3rem;}
  .cookie-banner__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
