:root {
  --bg: #f4f2ed;
  --surface: rgba(255, 255, 255, 0.72);
  --text: #102418;
  --muted: #5d6d62;
  --brand: #0b5d3b;
  --brand-dark: #083e28;
  --accent: #c9ab72;
  --line: rgba(16, 36, 24, 0.08);
  --shadow: 0 24px 60px rgba(11, 34, 20, 0.12);
  --radius-lg: 28px;
  --container: min(1180px, calc(100vw - 32px));
  --nav-height: 86px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(201, 171, 114, 0.15), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(11, 93, 59, 0.14), transparent 24%),
    linear-gradient(180deg, #fbfaf7 0%, #f4f2ed 100%);
  overflow-x: hidden;
}

a, button, input, textarea { font: inherit; }
button { border: 0; cursor: pointer; }
img, video { display: block; max-width: 100%; }
.container { width: var(--container); margin: 0 auto; }
.section { padding: 96px 0; position: relative; }

.section-tag,
.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: 0 10px 30px rgba(18, 34, 22, 0.08);
  color: var(--brand);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1, h2, h3, strong { font-family: "Outfit", "Avenir Next", sans-serif; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(2.8rem, 7vw, 5.4rem); line-height: 0.95; letter-spacing: -0.04em; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1; letter-spacing: -0.035em; }
h3 { font-size: 1.3rem; line-height: 1.1; }
p { color: var(--muted); line-height: 1.7; }

.glass-panel,
.service-card,
.comparison-card,
.why-card,
.testimonial-card,
.contact-card,
.contact-form,
.map-card,
.gallery-item {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  width: min(1240px, calc(100vw - 20px));
  margin: 14px auto 0;
  min-height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 50px rgba(8, 28, 18, 0.12);
}

.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand) 0%, #16724a 100%);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 32px rgba(11, 93, 59, 0.3);
}
.brand-copy { display: grid; }
.brand-copy strong { font-size: 1rem; }
.brand-copy small { color: var(--muted); }

.nav { display: flex; gap: 22px; }
.nav a, .footer-links a { color: var(--text); text-decoration: none; font-weight: 600; }

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.nav-cta, .btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, #146a45 100%);
  box-shadow: 0 18px 40px rgba(11, 93, 59, 0.28);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(16, 36, 24, 0.08);
}

.btn:hover, .nav-cta:hover, .service-card:hover, .gallery-item:hover, .why-card:hover { transform: translateY(-4px) scale(1.01); }
.btn-primary:hover, .nav-cta:hover { box-shadow: 0 0 0 8px rgba(201, 171, 114, 0.14), 0 20px 44px rgba(11, 93, 59, 0.34); }

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.8);
  padding: 0;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--text);
  transition: 0.25s ease;
}

.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { bottom: 18px; }

.hero {
  min-height: calc(100vh - 20px);
  position: relative;
  display: grid;
  place-items: center;
  padding: 110px 0 70px;
  overflow: hidden;
}

.hero-media, .hero-overlay, .hero-fallback { position: absolute; inset: 0; }

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
}

.hero-fallback {
  background:
    radial-gradient(circle at 20% 20%, rgba(201, 171, 114, 0.28), transparent 18%),
    radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.14), transparent 16%),
    linear-gradient(135deg, rgba(8, 46, 29, 0.94), rgba(16, 86, 55, 0.9)),
    linear-gradient(180deg, rgba(244, 242, 237, 0.28), rgba(244, 242, 237, 0.1));
  transform: scale(1.08);
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(5, 16, 10, 0.2), rgba(5, 16, 10, 0.52)),
    radial-gradient(circle at center, transparent 0%, rgba(5, 16, 10, 0.22) 100%);
}

.hero-content { position: relative; z-index: 1; color: #fff; text-align: left; }
.hero-copy {
  max-width: 720px;
  margin-top: 22px;
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.84);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.trust-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 26px 0 0;
}

.trust-row li {
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-weight: 700;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 760px;
  margin-top: 28px;
  padding: 18px;
  border-radius: var(--radius-lg);
}

.hero-stats article {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats strong { display: block; font-size: 1.7rem; color: #fff; }
.hero-stats span { color: rgba(255, 255, 255, 0.78); }

.split-intro,
.pain-layout,
.why-layout,
.contact-layout,
.cta-band-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.section-head { max-width: 760px; margin-bottom: 34px; }
.section-head p, .split-intro p, .why-copy p, .contact-copy p { margin-top: 16px; }
.service-grid, .why-grid, .contact-cards { display: grid; gap: 20px; }
.service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.service-card {
  padding: 26px;
  border-radius: var(--radius-lg);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.service-card:nth-child(odd):hover { transform: translateY(-6px) rotate(-0.7deg) scale(1.01); }
.service-card:nth-child(even):hover { transform: translateY(-6px) rotate(0.7deg) scale(1.01); }

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  margin-bottom: 18px;
  background:
    radial-gradient(circle at 30% 30%, rgba(201, 171, 114, 0.85), transparent 32%),
    linear-gradient(135deg, rgba(11, 93, 59, 1), rgba(20, 106, 69, 0.78));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.service-card p, .why-card p, .testimonial-card p { margin-top: 12px; }
.pain-list { padding-left: 20px; margin: 24px 0; color: var(--text); }
.pain-list li + li { margin-top: 10px; }
.solution-box { padding: 26px; border-radius: var(--radius-lg); }
.solution-box strong { display: block; margin-bottom: 10px; font-size: 1.2rem; }

.comparison-card { padding: 24px; border-radius: 30px; }
.comparison-head { display: grid; gap: 6px; margin-bottom: 18px; }
.comparison-head span { color: var(--brand); font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.83rem; }
.comparison-slider { position: relative; border-radius: 24px; overflow: hidden; min-height: 420px; background: #dfe6df; }
.comparison-before, .comparison-after, .mock-scene { position: absolute; inset: 0; }
.comparison-after { width: 56%; overflow: hidden; }
.mock-scene { background-size: cover; background-position: center; }
.before-scene { background: linear-gradient(180deg, rgba(38, 44, 39, 0.1), rgba(38, 44, 39, 0.28)), linear-gradient(120deg, #847868, #5a5a52); }
.after-scene { background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0)), linear-gradient(120deg, #7db26f, #0b5d3b); }

.scene-label {
  position: absolute;
  left: 18px;
  top: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
  font-weight: 800;
}

.slider-input {
  position: absolute;
  inset: auto 16px 20px;
  width: calc(100% - 32px);
  appearance: none;
  background: transparent;
  z-index: 2;
}

.slider-input::-webkit-slider-runnable-track { height: 3px; background: rgba(255, 255, 255, 0.75); }
.slider-input::-webkit-slider-thumb {
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #fff;
  margin-top: -9px;
}

.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 56%;
  width: 2px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 999px rgba(255, 255, 255, 0.02);
  z-index: 1;
}

.comparison-note { margin-top: 14px; font-size: 0.95rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

.gallery-item {
  position: relative;
  min-height: 280px;
  padding: 24px;
  border-radius: 28px;
  text-align: left;
  overflow: hidden;
}

.gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(5, 16, 10, 0.5) 100%),
    linear-gradient(135deg, rgba(11, 93, 59, 0.75), rgba(201, 171, 114, 0.42));
  transition: transform 0.35s ease;
}

.gallery-item:hover::before { transform: scale(1.06); }
.gallery-badge, .gallery-title { position: relative; z-index: 1; color: #fff; display: block; }
.gallery-badge { font-size: 0.82rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.gallery-title {
  margin-top: 12px;
  font-size: 1.35rem;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  max-width: 220px;
}

.why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.why-card, .testimonial-card, .contact-card, .contact-form, .map-card { padding: 24px; border-radius: 24px; }

.testimonial-slider {
  padding: 28px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: var(--shadow);
}

.testimonial-track { display: grid; }
.testimonial-card { display: none; }
.testimonial-card.is-active { display: block; }

.stars {
  display: inline-flex;
  min-width: 64px;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(201, 171, 114, 0.16);
  color: var(--brand);
  font-weight: 800;
}

.testimonial-controls { display: flex; gap: 12px; margin-top: 18px; }
.testimonial-btn {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 36, 24, 0.08);
}

.cta-band-inner {
  padding: 34px;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(11, 93, 59, 0.96), rgba(9, 63, 40, 0.92));
  box-shadow: 0 30px 60px rgba(8, 28, 18, 0.18);
}

.cta-band h2, .cta-band p, .cta-band .section-tag { color: #fff; }
.cta-band .section-tag { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.14); }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 14px; align-self: center; justify-content: flex-end; }

.contact-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 26px 0; }
.contact-card { text-decoration: none; color: inherit; }
.contact-card span { display: block; margin-top: 8px; color: var(--muted); }
.map-card iframe { width: 100%; height: 280px; margin-top: 16px; border: 0; border-radius: 20px; }

.contact-form { display: grid; gap: 16px; }
.contact-form label { display: grid; gap: 8px; }
.contact-form span { font-weight: 700; }

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(16, 36, 24, 0.08);
  background: rgba(255, 255, 255, 0.84);
  color: var(--text);
}

.form-note { font-size: 0.95rem; }
.footer { padding: 34px 0 110px; }
.footer-inner { display: flex; justify-content: space-between; gap: 18px; padding-top: 24px; border-top: 1px solid var(--line); }
.footer-links { display: flex; gap: 18px; align-items: center; }

.sticky-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 25;
  min-height: 56px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand) 0%, #146a45 100%);
  box-shadow: 0 20px 38px rgba(11, 93, 59, 0.34);
}

.cookie-banner {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(8, 20, 13, 0.94);
  color: #fff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
}

.cookie-banner p { color: rgba(255, 255, 255, 0.76); }
.btn-small { min-height: 44px; padding: 0 18px; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(7, 16, 11, 0.78);
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox-card {
  width: min(920px, 100%);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  border-radius: 32px;
  overflow: hidden;
  background: #fff;
}

.lightbox-media {
  min-height: 420px;
  background: linear-gradient(180deg, transparent, rgba(8, 16, 10, 0.36)), linear-gradient(135deg, rgba(11, 93, 59, 0.92), rgba(201, 171, 114, 0.65));
}

.lightbox-copy { padding: 32px; }
.lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: #fff;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1024px) {
  .nav, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .topbar.is-open { align-items: flex-start; flex-wrap: wrap; }
  .topbar.is-open .nav { width: 100%; display: grid; gap: 12px; padding-top: 8px; }
  .topbar.is-open .nav-cta { display: inline-flex; }
  .split-intro, .pain-layout, .why-layout, .contact-layout, .cta-band-inner, .hero-stats, .lightbox-card { grid-template-columns: 1fr; }
  .service-grid, .gallery-grid, .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .section { padding: 76px 0; }
  .topbar { width: calc(100vw - 20px); margin-top: 10px; }
  .hero { min-height: auto; padding-top: 130px; }
  .hero-actions, .cta-band-actions, .testimonial-controls, .footer-inner, .cookie-banner { flex-direction: column; align-items: stretch; }
  .why-grid, .service-grid, .gallery-grid, .contact-cards { grid-template-columns: 1fr; }
  .trust-row li, .sticky-cta, .btn, .nav-cta { width: 100%; }
  .comparison-slider { min-height: 320px; }
  .footer { padding-bottom: 140px; }
  .sticky-cta { left: 18px; right: 18px; justify-content: center; }
}
