:root {
  --bg: #f5f9f2;
  --bg-soft: #edf5e9;
  --white: #ffffff;
  --text: #173221;
  --muted: #627867;
  --line: #d9e7d6;
  --accent: #2f6b3d;
  --accent-2: #76ad69;
  --accent-dark: #1d4828;
  --gold: #d6b36b;
  --shadow: 0 18px 45px rgba(27, 66, 36, 0.12);
  --radius: 24px;
  --max: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(118, 173, 105, 0.12), transparent 28%),
    linear-gradient(180deg, #f7fbf5 0%, #eef6ea 100%);
  line-height: 1.6;
}

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

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

button {
  font: inherit;
}

.container {
  width: min(100% - 28px, var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 249, 242, 0.84);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(217, 231, 214, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-header .brand {
  flex: 0 0 auto;
  width: 260px;
}

.site-header .brand img {
  display: block;
  height: 54px !important;
  width: auto !important;
  max-width: 240px !important;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(17%) sepia(24%) saturate(1224%) hue-rotate(92deg) brightness(92%) contrast(88%);
}

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

.main-nav a {
  position: relative;
  color: #244130;
  font-size: 15px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

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

.instagram-link,
.footer-instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.instagram-link {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(47, 107, 61, 0.1);
  transition: transform 0.25s ease;
}

.instagram-link:hover,
.footer-instagram:hover {
  transform: translateY(-2px);
}

.instagram-link svg,
.footer-instagram svg,
.btn-instagram svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.25s ease;
  border: 0;
}

.header-cta {
  padding: 12px 18px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: white;
  box-shadow: 0 12px 24px rgba(47, 107, 61, 0.18);
}

.header-cta:hover,
.btn:hover {
  transform: translateY(-2px);
}

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 28, 17, 0.76) 0%, rgba(12, 28, 17, 0.42) 45%, rgba(12, 28, 17, 0.18) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  padding: 80px 0;
  max-width: 760px;
}

.hero-badge {
  display: inline-block;
  margin-bottom: 18px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.hero p {
  margin: 0;
  max-width: 58ch;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.86);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  padding: 15px 24px;
  font-size: 15px;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: white;
  box-shadow: 0 14px 30px rgba(47, 107, 61, 0.22);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(10px);
}

.btn-instagram {
  gap: 10px;
  background: white;
  color: var(--accent-dark);
}

.btn-muted {
  background: rgba(23, 50, 33, 0.08);
  color: var(--accent-dark);
}

.intro-strip {
  margin-top: -56px;
  position: relative;
  z-index: 3;
}

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

.intro-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 132px;
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow);
}

.intro-card strong {
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
}

.intro-card span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 90px 0;
}

.section-light {
  background: rgba(255, 255, 255, 0.28);
}

.section-head {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-head h2,
.about-content h2,
.cta-box h2 {
  margin: 0 0 12px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.section-head p,
.about-content p,
.cta-box p {
  color: var(--muted);
  font-size: 17px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.project-card {
  position: relative;
  display: flex;
  overflow: hidden;
  border-radius: 26px;
  min-height: 440px;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.project-large {
  min-height: 560px;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.4s ease;
  filter: brightness(0.95) contrast(1.05);
}

.project-card:hover img {
  transform: scale(1.06);
  filter: brightness(1) contrast(1.1);
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.55) 100%);
}

.project-info {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  color: white;
}

.project-info h3 {
  margin: 0;
  min-height: 2.4em;
  font-size: 28px;
  line-height: 1.15;
}

.project-info p {
  margin: 0;
  min-height: 3.2em;
  color: rgba(255, 255, 255, 0.85);
}

.before-after {
  position: relative;
  width: 100%;
  height: 620px;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
  user-select: none;
}

.before-img,
.after-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.after-wrap {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
}

.slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 5;
}

.slider-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(255, 255, 255, 0.95);
  z-index: 4;
  transform: translateX(-50%);
}

.slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: white;
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  transform: translate(-50%, -50%);
  z-index: 4;
}

.label-before,
.label-after {
  position: absolute;
  top: 20px;
  padding: 8px 14px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  z-index: 6;
  letter-spacing: 0.08em;
}

.label-before {
  left: 20px;
}

.label-after {
  right: 20px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-image {
  cursor: pointer;
}

.about-image img {
  width: 100%;
  border-radius: 28px;
  box-shadow: var(--shadow);
  object-fit: cover;
  min-height: 620px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.stat {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 134px;
  padding: 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(27, 66, 36, 0.08);
}

.stat strong {
  display: block;
  font-size: 26px;
  color: var(--accent-dark);
}

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

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: stretch;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow);
}

.service-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  min-height: 2.5em;
  font-size: 24px;
  line-height: 1.2;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.cta-section {
  padding-top: 40px;
}

.cta-box {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 28px;
  padding: 36px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(33, 83, 45, 0.96) 0%, rgba(55, 118, 66, 0.96) 100%);
  color: white;
  box-shadow: 0 20px 44px rgba(29, 72, 40, 0.24);
}

.cta-copy {
  flex: 1 1 420px;
}

.cta-box .section-kicker,
.cta-box p {
  color: rgba(255, 255, 255, 0.86);
}

.cta-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  min-width: 250px;
}

.site-footer {
  margin-top: 80px;
  padding-top: 56px;
  background: linear-gradient(180deg, #183722 0%, #102916 100%);
  color: #eef5ec;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1fr 1.1fr;
  gap: 26px;
  padding-bottom: 28px;
  align-items: start;
}

.footer-inner strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}

.footer-inner p,
.footer-inner a {
  color: #d4e2d0;
}

.footer-inner ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer-brand,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-phone {
  font-weight: 700;
  color: white;
}

.footer-instagram {
  justify-content: flex-start;
  margin-top: 8px;
  color: white;
}

.footer-legal-link {
  margin-top: 8px;
  padding: 0;
  background: transparent;
  border: 0;
  color: #d4e2d0;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.footer-photo img {
  width: 100%;
  min-height: 220px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.2);
}

.terms-modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(6, 15, 9, 0.68);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.terms-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.terms-modal-card {
  width: min(100%, 980px);
  max-height: min(85vh, 900px);
  padding: 24px;
  border-radius: 24px;
  background: #13301d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.35);
}

.terms-modal-title {
  color: #eef5ec;
  font-size: 22px;
  font-weight: 700;
}

.terms-modal-close {
  float: right;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  cursor: pointer;
}

.terms-note {
  margin-top: 14px;
  color: #c9dbc4;
  font-size: 13px;
}

.terms-document {
  margin-top: 16px;
  max-height: 420px;
  overflow: auto;
  padding: 18px;
  border-radius: 18px;
  background: rgba(7, 18, 11, 0.36);
  color: #e3ede0;
  font-size: 13px;
  line-height: 1.7;
  white-space: pre-wrap;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom {
  padding: 18px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #adc0a9;
  font-size: 14px;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 120;
  padding: 14px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #25d366 0%, #1ebe5b 100%);
  color: white;
  font-weight: 700;
  box-shadow: 0 16px 28px rgba(37, 211, 102, 0.28);
}

.gnome-reminder {
  position: fixed;
  left: 14px;
  bottom: 14px;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-140px);
  transition: opacity 0.45s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gnome-reminder.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.gnome-reminder-image {
  width: 96px;
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 14px 24px rgba(18, 41, 23, 0.24));
}

.gnome-reminder.is-visible .gnome-reminder-image {
  animation: gnome-walk 1s ease-in-out 4;
}

.gnome-reminder-bubble {
  max-width: 260px;
  padding: 14px 16px;
  border-radius: 18px 18px 18px 8px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(217, 231, 214, 0.95);
  box-shadow: 0 18px 34px rgba(23, 50, 33, 0.14);
  pointer-events: auto;
}

.gnome-reminder-bubble p {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.45;
}

.gnome-reminder-bubble a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
}

.gnome-reminder-bubble a::after {
  content: ">";
  font-size: 14px;
}

@keyframes gnome-walk {
  0%,
  100% {
    transform: translateY(0);
  }

  25% {
    transform: translateY(-4px) rotate(-2deg);
  }

  50% {
    transform: translateY(1px) rotate(1deg);
  }

  75% {
    transform: translateY(-3px) rotate(-1deg);
  }
}

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

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .gallery-grid,
  .services-grid,
  .footer-inner,
  .intro-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .project-card,
  .project-large {
    min-height: 380px;
  }

  .about-image img,
  .before-after {
    min-height: 380px;
    height: 420px;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-actions {
    width: 100%;
    min-width: 0;
  }

  .footer-photo img {
    max-height: 320px;
  }

  .terms-document {
    max-height: 360px;
  }
}

@media (max-width: 860px) {
  .main-nav,
  .header-cta {
    display: none;
  }

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

  .hero {
    min-height: 78vh;
  }

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

@media (max-width: 640px) {
  .section {
    padding: 70px 0;
  }

  .hero-content {
    padding: 60px 0;
  }

  .hero p,
  .section-head p,
  .about-content p,
  .cta-box p {
    font-size: 16px;
  }

  .project-info h3 {
    min-height: 0;
    font-size: 22px;
  }

  .project-info p,
  .service-card h3 {
    min-height: 0;
  }

  .service-card h3 {
    font-size: 20px;
  }
  .cta-box {
    padding: 20px;
  }

  .slider-handle {
    width: 50px;
    height: 50px;
    font-size: 18px;
  }

  .whatsapp-float {
    right: 12px;
    bottom: 12px;
    padding: 12px 16px;
    font-size: 14px;
  }

  .terms-modal-card {
    padding: 18px;
  }

  .terms-document {
    padding: 14px;
    font-size: 12px;
  }

  .gnome-reminder {
    left: 10px;
    right: 10px;
    bottom: 10px;
    gap: 8px;
    transform: translateX(-120px);
  }

  .gnome-reminder-image {
    width: 72px;
  }

  .gnome-reminder-bubble {
    max-width: 210px;
    padding: 12px 14px;
  }
}














