@font-face {
  font-family: "Aero";
  src: url("../fonts/Aero.woff2") format("woff2"),
       url("../fonts/Aero.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --green: #10b418;
  --green-dark: #066a00;
  --brand-cta: #066a00;
  --brand-accent: #10b418;
  --gray-100: #f3f4f6;
  --gray-300: #e5e7eb;
  --gray-700: #374151;
  --maxw: 1200px;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  --leaf1: #0ea71b;
  --leaf2: #007200;

  /* responsive utilities */
  --wrap-pad: clamp(12px, 3vw, 24px);
  --fs-title: clamp(22px, 2.4vw, 28px);
  --fs-body: clamp(14px, 1.6vw, 16px);
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: #111827;
  background: transparent;
  overflow-x: hidden;
  font-size: var(--fs-body);
  line-height: 1.5;
}

.visually-hidden {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  overflow: hidden;
  white-space: nowrap;
}

/* Leaves background behind everything */
#bg-art {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--green-dark);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Header with backdrop fallback */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  padding-top: env(safe-area-inset-top);
}
@supports (backdrop-filter: blur(6px)) {
  header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: saturate(140%) blur(6px);
  }
}
header::after {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, #0ea71b, #72d572 60%, #0ea71b);
}
.nav {
  margin: 0 auto;
  padding: 14px var(--wrap-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 90px;
  flex-wrap: wrap;
  row-gap: 8px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  height: clamp(42px, 8vw, 70px);
  width: auto;
}

.brand .name {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand .name .top {
  font-family: "Aero", "Poppins", sans-serif;
  font-size: clamp(18px, 3.5vw, 26px);
  letter-spacing: 0.4px;
}
.brand .name .tag {
  font-size: 12px;
  color: #6b7280;
  margin-top: 5px;
}
.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.lang-badge {
  font-weight: 600;
  color: var(--green-dark);
}
.call-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
  background: var(--brand-cta);
  color: #fff;
  border: 1px solid var(--brand-cta);
  box-shadow: 0 6px 14px rgba(6, 106, 0, 0.22);
  text-decoration: none;
  min-height: 44px; /* better tap target */
}
.call-btn:hover {
  filter: brightness(0.96);
}

/* Hero */
.hero {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: clip;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/background-1280.jpg");
  background-image: image-set(
    url("../images/background-1280.webp") type("image/webp"),
    url("../images/background-1280.jpg") type("image/jpeg")
  );
  background-size: cover;
  background-position: center 57%;
}
@media (max-width: 820px) {
  .hero::before {
    background-image: url("../images/background-768.jpg");
    background-image: image-set(
      url("../images/background-768.webp") type("image/webp"),
      url("../images/background-768.jpg") type("image/jpeg")
    );
  }
}
@media (min-width: 1440px) {
  .hero::before {
    background-image: url("../images/background-1920.jpg");
    background-image: image-set(
      url("../images/background-1920.webp") type("image/webp"),
      url("../images/background-1920.jpg") type("image/jpeg")
    );
  }
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.25),
    rgba(0, 0, 0, 0.1) 40%,
    rgba(0, 0, 0, 0)
  );
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 30px var(--wrap-pad);
  display: grid;
  grid-template-columns: minmax(320px, 520px) 1fr;
  gap: 24px;
  align-items: end;
}
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }
}
@media (min-width: 901px) {
  .hero-inner {
    padding-left: 100px;
  }
}
.card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}
@supports (backdrop-filter: blur(6px)) {
  .card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px) saturate(130%);
    border: 1px solid rgba(255, 255, 255, 0.7);
  }
}

/* Panel - single white sheet effect */
.panel {
  max-width: var(--maxw);
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}
@media (min-width: 900px) {
  .panel {
    box-shadow: -10px 0 20px -8px rgba(0, 0, 0, 0.12),
      10px 0 20px -8px rgba(0, 0, 0, 0.12);
  }
}
.panel > section,
.panel .reviews {
  margin: 0;
  padding: 18px var(--wrap-pad);
  background: #fff; /* avoid banding */
  content-visibility: auto;
  contain-intrinsic-size: 600px;
}
@media (min-width: 900px) {
  .panel > section,
  .panel .reviews {
    padding: 24px var(--wrap-pad);
  }
}

/* Sections and headings */
section:not(.hero) {
  background: transparent;
}
h2 {
  margin: 0 0 16px;
  font-size: var(--fs-title);
  position: relative;
  padding-bottom: 6px;
}
h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 52px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--green), #72d572);
}

/* Form */
form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(10px, 2.5vw, 14px);
}
form .row + .row {
  margin-top: 2px;
}
@media (max-width: 600px) {
  form .row {
    grid-template-columns: 1fr;
  }
}
label {
  font-size: 13px;
  color: #4b5563;
  display: block;
  margin-top: 5px;
}
.honey {
  position: absolute;
  left: -9999px;
  opacity: 0;
}
.form-block {
  margin-top: 12px;
}
.form-submit {
  margin-top: 16px;
}
.field-error {
  margin: 5px 0 0;
  color: #b91c1c;
  font-size: 12px;
}
.field-error:empty {
  display: none;
}
.req {
  color: #b91c1c;
  font-weight: 700;
}
.input-error {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.14) !important;
}
input,
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 16px; /* avoid iOS zoom on focus */
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(16, 180, 24, 0.18);
  outline: none;
}
textarea {
  resize: none;
}
button.primary {
  background: var(--brand-cta);
  color: #fff;
  border: none;
  padding: 12px 16px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: transform 0.05s ease, box-shadow 0.15s ease;
  box-shadow: 0 6px 14px rgba(6, 106, 0, 0.22);
}
button.primary:hover {
  filter: brightness(0.95);
  transform: translateY(-1px);
}
button.primary:active {
  transform: translateY(0);
  box-shadow: none;
}
button.primary[disabled] {
  opacity: 0.75;
  cursor: wait;
}

/* Services */
.services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 800px) {
  .services {
    grid-template-columns: 1fr;
  }
}
.svc {
  border: 1px solid var(--gray-300);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    border-color 0.15s ease;
  display: grid;
  grid-template-rows: auto auto; /* let content size itself */
}
.svc:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: #c6f6d5;
}
.svc-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--gray-300);
}
.svc-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.svc-image picture {
  display: block;
  width: 100%;
  height: 100%;
}
.svc-content {
  padding: 16px;
}
.title {
  font-weight: 700;
  text-align: left;
}

/* About */
.about-badges {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.about-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid #c6f6d5;
  background: #f0fdf4;
  color: #166534;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 13px;
  font-weight: 600;
}

/* Service areas */
.areas-intro {
  margin: 0 0 14px;
  color: #374151;
}
.areas-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.area-card {
  border: 1px solid var(--gray-300);
  border-radius: 12px;
  padding: 14px;
  background: #fff;
}
.area-card h3 {
  margin: 0;
  font-size: 18px;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 10px;
}
.faq-list details {
  border: 1px solid var(--gray-300);
  border-radius: 10px;
  background: #fff;
  padding: 12px 14px;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 600;
}
.faq-list p {
  margin: 10px 0 0;
  color: #374151;
}

/* Reviews */
.reviews {
  max-width: var(--maxw);
  margin: 0 auto;
  background: transparent;
}
.reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 14px;
}
.reviews-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 600;
  border: 1px solid #e5e7eb;
  text-decoration: none;
}
.btn.primary {
  background: var(--brand-cta);
  color: #fff;
  border-color: var(--brand-cta);
}
.btn.primary:hover {
  filter: brightness(0.96);
}
.btn.ghost {
  background: #fff;
  color: #1f2937;
}
.btn.ghost:hover {
  background: #f3f4f6;
}

.carousel {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  gap: 12px;
}
.carousel .track {
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.carousel .track::-webkit-scrollbar {
  display: none;
}
.carousel .items {
  display: flex;
  gap: 16px;
}
.review {
  min-width: clamp(260px, 70vw, 360px);
  background: #fff;
  border: 1px solid var(--gray-300);
  border-radius: 14px;
  padding: 16px;
  scroll-snap-align: start;
  max-height: 200px;
}
.review .row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.review .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e8f7ea;
  color: var(--green-dark);
  display: grid;
  place-items: center;
  font-weight: 700;
}
.review .meta .name {
  font-weight: 700;
}
.review .stars {
  color: #f59e0b;
  font-size: 14px;
  letter-spacing: 2px;
}
.review .g-badge {
  opacity: 0.7;
  height: 18px;
}
.review .text {
  margin-top: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box; /* needed for line clamp in WebKit/Blink */
  display: box; /* older spec */
  -webkit-box-orient: vertical;
  box-orient: vertical; /* older spec */
  
  /* Modern and vendor-prefixed line clamp */
  -webkit-line-clamp: 3; /* Chrome, Safari, Edge */
  line-clamp: 3;         /* Standard property */
}
.carousel .nav {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(4px);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.25s ease, background 0.25s ease;
}
.carousel .nav svg {
  width: 14px;
  height: 14px;
  stroke: #1f2937;
  stroke-width: 2;
  fill: none;
}
.carousel:hover .nav,
.carousel:focus-within .nav {
  opacity: 1;
}
.carousel .nav:disabled {
  opacity: 0.25;
  cursor: default;
}

@media (max-width: 700px) {
  .areas-grid {
    grid-template-columns: 1fr;
  }
  .reviews-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .carousel {
    grid-template-columns: 1fr;
  }
  .carousel .nav {
    display: none;
  }
  .review {
    min-width: 85%;
  }
}

/* Reveal animation with reduced motion support */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  .reveal.show {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.show {
    opacity: 1;
    transform: none;
  }
}

/* Footer */
footer {
  background: #1f2937;
  color: #cbd5e1;
  padding-bottom: env(safe-area-inset-bottom);
}
footer .inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 28px var(--wrap-pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px 16px;
  flex-wrap: wrap;
}
.footer-right {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
}
.footer-left {
  line-height: 1.6;
}
.footer-link {
  color: #cbd5e1;
}
.social {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #cbd5e1;
}
.social:hover {
  background: rgba(255, 255, 255, 0.14);
}
.social i {
  font-size: 18px;
  color: #cbd5e1;
}

/* Toast */
.toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: #ecfdf5;
  color: #065f46;
  padding: 12px 18px;
  border-radius: 6px;
  border: 1px solid #a7f3d0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 2000;
  pointer-events: none;
}
.toast.error {
  background: #fef2f2;
  color: #991b1b;
  border-color: #fecaca;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
