:root {
  --green: #6f9d39;
  --green-2: #8fbd4f;
  --dark: #0e2d1d;
  --dark-2: #143b27;
  --text: #1c1c1c;
  --muted: #666;
  --cream: #fbfaf5;
  --white: #fff;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.13);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--cream);
  color: var(--text);
}

a {
  text-decoration: none;
  color: inherit;
}

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

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

/* HEADER */

.header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  font-size: 42px;
  line-height: 1;
}

.logo strong {
  display: block;
  font-size: 30px;
  letter-spacing: 3px;
  line-height: 0.9;
  font-weight: 800;
  color: #0d2518;
}

.logo span {
  display: block;
  font-size: 16px;
  letter-spacing: 7px;
  color: #b58036;
  font-weight: 700;
  margin-top: 7px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 54px;
}

.nav a {
  position: relative;
  font-weight: 800;
  font-size: 14px;
  color: #111;
}

.nav a.active::after,
.nav a:hover::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -16px;
  transform: translateX(-50%);
  width: 44px;
  height: 4px;
  background: var(--green);
  border-radius: 20px;
}

.header-btn {
  background: linear-gradient(135deg, #173d24, #2d642e);
  color: white;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 10px 25px rgba(25, 70, 35, 0.28);
}

.menu-btn {
  display: none;
  border: none;
  background: var(--dark);
  color: white;
  font-size: 24px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
}

/* HERO */

.hero {
  position: relative;
  min-height: 525px;
  background:
    linear-gradient(
      90deg,
      rgba(5, 25, 14, 0.88) 0%,
      rgba(5, 25, 14, 0.55) 38%,
      rgba(5, 25, 14, 0.05) 100%
    ),
    url("../images/hero.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 560px;
  color: white;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(31, 72, 39, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 22px;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(46px, 6vw, 68px);
  line-height: 1.04;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero h1 span {
  display: block;
  color: #a8d76b;
}

.hero p {
  max-width: 450px;
  font-size: 19px;
  line-height: 1.75;
  color: #fff;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 17px 25px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
}

.btn-green {
  background: linear-gradient(135deg, #84b84a, #5e9133);
  color: white;
  box-shadow: 0 15px 28px rgba(78, 131, 42, 0.35);
}

.btn-outline {
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.75);
  background: rgba(0, 0, 0, 0.15);
}

/* SERVICES */

.services {
  position: relative;
  padding: 32px 0 42px;
  background: #fbfaf5;
  overflow: hidden;
}

.leaf {
  position: absolute;
  font-size: 180px;
  color: rgba(78, 117, 53, 0.18);
  font-family: serif;
  top: 35px;
  pointer-events: none;
}

.leaf-left {
  left: 0;
}

.leaf-right {
  right: 0;
}

.section-title {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

.section-title span {
  display: inline-block;
  color: #527d2b;
  font-weight: 800;
  letter-spacing: 4px;
  font-size: 13px;
  margin-bottom: 8px;
}

.section-title h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(34px, 4vw, 44px);
  line-height: 1.1;
  color: #12291c;
  margin-bottom: 12px;
}

.section-title p {
  color: #444;
  font-size: 16px;
  line-height: 1.65;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  background: white;
  border-radius: 16px;
  padding: 30px 24px 28px;
  text-align: center;
  box-shadow: 0 12px 32px rgba(15, 48, 27, 0.09);
  transition: 0.3s ease;
}

.service-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 45px rgba(15, 48, 27, 0.14);
}

.service-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #e5f2d9;
  color: #32651e;
  display: grid;
  place-items: center;
  font-size: 34px;
  margin: 0 auto 18px;
}

.service-card h3 {
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 12px;
}

.service-card h3::after {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  background: var(--green);
  margin: 12px auto 0;
  border-radius: 20px;
}

.service-card p {
  font-size: 14px;
  color: #333;
  line-height: 1.55;
}

/* PROJECTS */

.projects {
  padding: 16px 0 42px;
  background: #fbfaf5;
}

.section-title.small {
  margin-bottom: 24px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.project-card {
  overflow: hidden;
  background: white;
  border-radius: 15px;
  box-shadow: 0 12px 32px rgba(15, 48, 27, 0.12);
  transition: 0.3s ease;
}

.project-card:hover {
  transform: translateY(-7px);
}

.project-card img {
  height: 210px;
  object-fit: cover;
  transition: 0.4s ease;
}

.project-card:hover img {
  transform: scale(1.07);
}

.project-info {
  padding: 18px 18px 20px;
  background: white;
}

.project-info h3 {
  font-family: "Playfair Display", serif;
  font-size: 19px;
  font-weight: 700;
  color: #17291d;
  margin-bottom: 8px;
}

.project-info p {
  color: #1b401c;
  font-size: 13px;
  font-weight: 900;
}

.center {
  text-align: center;
  margin-top: 28px;
}

.all-btn {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  border: 2px solid #1b4b28;
  color: #1b4b28;
  border-radius: 999px;
  padding: 13px 38px;
  font-weight: 900;
  font-size: 13px;
  transition: 0.25s;
}

.all-btn:hover {
  background: #1b4b28;
  color: white;
}

/* CTA */

.cta {
  background:
    linear-gradient(rgba(5, 34, 19, 0.78), rgba(5, 34, 19, 0.78)),
    radial-gradient(circle at center, #335c26, #082212);
  padding: 38px 0;
  color: white;
  text-align: center;
  border-top: 1px solid rgba(148, 186, 73, 0.5);
  border-bottom: 1px solid rgba(148, 186, 73, 0.5);
}

.cta h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(25px, 4vw, 36px);
  margin-bottom: 22px;
}

.cta h2::after {
  content: "";
  display: block;
  width: 55px;
  height: 2px;
  background: #9fca62;
  margin: 18px auto 0;
}

.cta a {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  background: linear-gradient(135deg, #86bd45, #4e8e26);
  padding: 15px 48px;
  border-radius: 999px;
  font-weight: 900;
}

/* FOOTER */

.footer {
  background: linear-gradient(135deg, #092618, #0e3a22 55%, #082415);
  color: white;
  padding: 46px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 48px;
  padding-bottom: 34px;
}

.footer-logo .logo-icon {
  font-size: 38px;
}

.footer-logo strong {
  color: white;
  font-size: 28px;
}

.footer-brand p {
  color: #d4e0d7;
  line-height: 1.65;
  max-width: 280px;
  margin: 18px 0;
}

.socials {
  display: flex;
  gap: 12px;
}

.socials a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
}

.footer h4 {
  font-size: 14px;
  margin-bottom: 20px;
}

.footer a,
.footer p {
  display: block;
  color: #d4e0d7;
  margin-bottom: 11px;
  font-size: 14px;
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-bottom p,
.footer-bottom a {
  margin: 0;
  font-size: 13px;
}

/* FLOAT */

.float-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 26px;
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
}

/* RESPONSIVE */

@media (max-width: 1024px) {
  .project-grid,
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 72px;
  }

  .logo-icon {
    font-size: 32px;
  }

  .logo strong {
    font-size: 22px;
  }

  .logo span {
    font-size: 11px;
    letter-spacing: 5px;
  }

  .header-btn {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: white;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 12px 24px 24px;
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.12);
  }

  .nav.active {
    display: flex;
  }

  .nav a {
    padding: 16px 0;
    border-bottom: 1px solid #eee;
  }

  .nav a.active::after,
  .nav a:hover::after {
    display: none;
  }

  .hero {
    min-height: 640px;
    background:
      linear-gradient(90deg, rgba(5, 25, 14, 0.92), rgba(5, 25, 14, 0.55)),
      url("../images/hero.jpg") center/cover no-repeat;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero p {
    font-size: 16px;
  }

  .services {
    padding-top: 46px;
  }

  .service-grid,
  .project-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .project-card img {
    height: 240px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .float-whatsapp {
    right: 18px;
    bottom: 18px;
  }
}

.page-hero {
  position: relative;
  min-height: 390px;
  display: flex;
  align-items: center;
  color: white;
  background:
    linear-gradient(90deg, rgba(5, 25, 14, 0.9), rgba(5, 25, 14, 0.48)),
    url("../images/hero.jpg") center/cover no-repeat;
}

.page-hero-content {
  max-width: 680px;
}

.page-hero-content span {
  display: inline-block;
  color: #a8d76b;
  font-weight: 900;
  letter-spacing: 4px;
  font-size: 13px;
  margin-bottom: 16px;
}

.page-hero-content h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(42px, 6vw, 66px);
  line-height: 1.1;
  margin-bottom: 18px;
}

.page-hero-content p {
  max-width: 570px;
  font-size: 18px;
  line-height: 1.7;
  color: #eef6eb;
}

.works-page {
  padding: 58px 0 70px;
  background: #fbfaf5;
}

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 42px;
}

.filter-btn {
  border: 1px solid rgba(27, 75, 40, 0.22);
  background: white;
  color: #1b4b28;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  transition: 0.25s;
}

.filter-btn.active,
.filter-btn:hover {
  background: linear-gradient(135deg, #86bd45, #4e8e26);
  color: white;
  border-color: transparent;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.work-card {
  background: white;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(15, 48, 27, 0.1);
  transition: 0.3s ease;
}

.work-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 50px rgba(15, 48, 27, 0.16);
}

.work-image {
  position: relative;
  height: 310px;
  overflow: hidden;
}

.work-image img {
  height: 100%;
  object-fit: cover;
  transition: 0.45s ease;
}

.work-card:hover .work-image img {
  transform: scale(1.08);
}

.work-image span {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: rgba(9, 38, 24, 0.9);
  color: #a8d76b;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
}

.work-content {
  padding: 26px 28px 30px;
}

.work-content h3 {
  font-family: "Playfair Display", serif;
  color: #132b1d;
  font-size: 28px;
  line-height: 1.15;
  margin-bottom: 14px;
}

.work-content p {
  color: #536459;
  line-height: 1.75;
  font-size: 15px;
}

.work-card.hide {
  display: none;
}

@media (max-width: 768px) {
  .page-hero {
    min-height: 360px;
  }

  .works-grid {
    grid-template-columns: 1fr;
  }

  .work-image {
    height: 250px;
  }

  .filter-bar {
    justify-content: flex-start;
  }

  .filter-btn {
    padding: 11px 18px;
    font-size: 13px;
  }
}

.contact-page {
  padding: 64px 0 42px;
  background: #fbfaf5;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.mini-title {
  display: inline-block;
  color: #527d2b;
  font-weight: 900;
  letter-spacing: 4px;
  font-size: 13px;
  margin-bottom: 12px;
}

.contact-info h2 {
  font-family: "Playfair Display", serif;
  font-size: 40px;
  color: #163120;
  margin-bottom: 8px;
}

.contact-info h2::after {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  background: #7ea34c;
  margin-top: 14px;
}

.contact-text {
  color: #52645a;
  line-height: 1.75;
  margin: 22px 0 32px;
  max-width: 430px;
}

.contact-item {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 22px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: white;
  color: #6f9d39;
  display: grid;
  place-items: center;
  font-size: 24px;
  box-shadow: 0 8px 22px rgba(15, 48, 27, 0.08);
}

.contact-item strong {
  display: block;
  font-size: 14px;
  color: #10291a;
  margin-bottom: 3px;
}

.contact-item p {
  color: #1f2d24;
  line-height: 1.4;
}

.contact-form-area {
  border-left: 1px solid rgba(15, 48, 27, 0.12);
  padding-left: 60px;
}

.contact-form {
  margin-top: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(15, 48, 27, 0.14);
  background: white;
  border-radius: 6px;
  padding: 18px 20px;
  font-family: inherit;
  outline: none;
  color: #173b2f;
}

.contact-form textarea {
  height: 190px;
  resize: none;
  margin-bottom: 18px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #6f9d39;
}

.contact-form button {
  border: none;
  background: linear-gradient(135deg, #173d24, #2d642e);
  color: white;
  padding: 17px 32px;
  border-radius: 4px;
  font-weight: 900;
  cursor: pointer;
}

.map-section {
  height: 360px;
  overflow: hidden;
}

.map-section iframe {
  display: block;
  width: 100%;
  height: 100%;
}

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

  .contact-form-area {
    border-left: none;
    padding-left: 0;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-info h2 {
    font-size: 34px;
  }
}

.gallery-open-btn {
  margin-top: 18px;
  border: none;
  background: linear-gradient(135deg, #86bd45, #4e8e26);
  color: white;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: #fbfaf5;
  display: none;
  flex-direction: column;
}

.gallery-modal.active {
  display: flex;
}

.gallery-modal-header {
  height: 92px;
  padding: 18px 34px;
  background: linear-gradient(135deg, #092618, #0e3a22);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gallery-modal-header span {
  color: #a8d76b;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 3px;
}

.gallery-modal-header h2 {
  font-family: "Playfair Display", serif;
  font-size: 30px;
  margin-top: 4px;
}

.gallery-close,
.lightbox-close {
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: white;
  color: #092618;
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
}

.gallery-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 34px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.gallery-image-box {
  height: 260px;
  border-radius: 18px;
  overflow: hidden;
  background: #e8eee7;
  box-shadow: 0 12px 30px rgba(15, 48, 27, 0.12);
  cursor: zoom-in;
}

.gallery-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.35s;
}

.gallery-image-box:hover img {
  transform: scale(1.07);
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 4000;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.image-lightbox.active {
  display: flex;
}

.image-lightbox img {
  max-width: 94vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
}

.lightbox-close {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 4100;
}

body.modal-open {
  overflow: hidden;
}

.work-card {
  cursor: pointer;
}

@media (max-width: 1100px) {
  .gallery-modal-body {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .gallery-modal-header {
    height: auto;
    padding: 16px 20px;
  }

  .gallery-modal-header h2 {
    font-size: 22px;
  }

  .gallery-modal-body {
    padding: 18px;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .gallery-image-box {
    height: 190px;
    border-radius: 12px;
  }

  .image-lightbox {
    padding: 16px;
  }

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

@media (max-width: 480px) {
  .gallery-modal-body {
    grid-template-columns: 1fr;
  }

  .gallery-image-box {
    height: 240px;
  }
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.socials a {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);

  display: flex;
  align-items: center;
  justify-content: center;

  color: #fff;
  font-size: 20px;

  transition: all 0.3s ease;
}

.socials a:hover {
  transform: translateY(-4px);
  background: #6f9d39;
  border-color: #6f9d39;
  box-shadow: 0 10px 25px rgba(111, 157, 57, 0.35);
}

.socials .fa-instagram {
  font-size: 22px;
}

.socials .fa-youtube {
  font-size: 22px;
}
.socials a:first-child:hover {
  background: linear-gradient(
    45deg,
    #f09433,
    #e6683c,
    #dc2743,
    #cc2366,
    #bc1888
  );
}

.gallery-image-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
  background: #000;
}

.socials a:last-child:hover {
  background: #ff0000;
}
