* {
  box-sizing: border-box;
}

:root {
  --green: #2f6f3e;
  --green-dark: #1f4d2b;
  --green-light: #e8f2ec;
  --accent: #a7c957;
  --white: #ffffff;
  --text: #24313d;
  --muted: #66727d;
  --border: #d9e1e8;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
* {
  box-sizing: border-box;
}

:root {
  --green: #2f6f3e;
  --green-dark: #1f4d2b;
  --green-light: #e8f2ec;
  --accent: #a7c957;
  --white: #ffffff;
  --text: #24313d;
  --muted: #66727d;
  --border: #d9e1e8;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

a {
  color: var(--green);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.topbar {
  background: var(--green-dark);
  color: var(--white);
  font-size: 14px;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  flex-wrap: wrap;
}

.topbar a {
  color: var(--white);
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  flex-wrap: wrap;
}

.logo-img {
  max-height: 100px;
  width: auto;
}

.logo-wrap p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.logo-wrap p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 18px;
  flex-wrap: wrap;
}

.nav a {
  font-weight: 700;
  color: var(--text);
}

.hero {
  background: linear-gradient(rgba(15, 34, 54, 0.78), rgba(15, 34, 54, 0.78)),
    url("images/hero.jpg") center/cover;
  color: var(--white);
  padding: 110px 0;
}

.hero h2,
.page-hero h2 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.12;
}

.hero p,
.page-hero p {
  max-width: 760px;
  font-size: 18px;
  margin-bottom: 30px;
}

.button-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 6px;
  font-weight: 700;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #1a1a1a;
}

.btn-primary:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-secondary {
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-secondary:hover {
  text-decoration: none;
  background: rgba(255,255,255,0.08);
}

.page-hero {
  background: var(--green-light);
  padding: 70px 0;
}

.section {
  padding: 72px 0;
}

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

.section-title {
  margin: 0 0 14px;
  font-size: 34px;
  color: var(--green);
}

.section-intro {
  max-width: 760px;
  color: var(--muted);
  margin-bottom: 34px;
}

.info-grid,
.service-grid,
.gallery-grid,
.contact-grid,
.card-grid {
  display: grid;
  gap: 24px;
}

.info-grid,
.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.service-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

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

.contact-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 0;
  color: var(--green);
}

.badge-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.badge {
  background: #eef3f8;
  color: var(--green);
  border: 1px solid var(--border);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
}

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

.checklist li {
  margin-bottom: 12px;
  padding-left: 28px;
  position: relative;
}

.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  border: 1px solid var(--border);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: opacity 0.5s ease-in-out;
}

.gallery-item .caption {
  padding: 16px 18px;
  font-weight: 700;
  color: var(--green);
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 1000px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border: none;
  font-size: 28px;
  line-height: 1;
  padding: 12px 16px;
  cursor: pointer;
  border-radius: 8px;
}

.lightbox-close {
  top: -56px;
  right: 0;
}

.lightbox-prev {
  left: -70px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: -70px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-caption {
  position: absolute;
  bottom: -46px;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--white);
  font-weight: 700;
}

@media (max-width: 900px) {
  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-close {
    top: 10px;
    right: 10px;
  }

  .lightbox-content {
    padding: 0 46px;
  }

  .lightbox-caption {
    bottom: -34px;
  }
}

.form-wrap form {
  display: grid;
  gap: 14px;
}

label {
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #c8d1da;
  border-radius: 6px;
  font: inherit;
}

textarea {
  min-height: 160px;
  resize: vertical;
}

.note {
  font-size: 14px;
  color: var(--muted);
}

.footer {
  background: var(--green-dark);
  color: var(--white);
  padding: 28px 0;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

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

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header .container,
  .topbar .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    flex-direction: column;
    gap: 10px;
  }

  .hero {
    padding: 88px 0;
  }

  .section {
    padding: 56px 0;
  }
}