:root {
  --stone: #d6c6b8;
  --dark: #1a1f1c;
  --dark-2: #2b312d;
  --accent: #3e5f44;
  --accent-2: #53795a;
  --accent-soft: #d9e6d8;
  --panel: #f8f8f3;
  --panel-2: #ffffff;
  --line: #d5dbcf;
  --text: #1f2521;
  --muted: #5d695f;
  --shadow-soft: 0 14px 30px rgba(40, 62, 45, 0.12);
  --shadow-card: 0 10px 24px rgba(34, 54, 38, 0.1);
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.56;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 6%, #c4d6be 0%, rgba(196, 214, 190, 0) 36%),
    radial-gradient(circle at 86% 3%, #d7c7b8 0%, rgba(215, 199, 184, 0) 28%),
    linear-gradient(180deg, #b8ccc1 0%, #b2c3ba 100%);
  padding: 22px 14px;
}

body.no-scroll {
  overflow: hidden;
}

.noscript-banner {
  width: min(1220px, calc(100% - 28px));
  margin: 0 auto 10px;
  border-radius: 12px;
  border: 1px solid #d8c6a7;
  background: #fff3df;
  color: #4f3a1f;
  padding: 10px 12px;
  font-weight: 700;
}

.site-frame {
  width: min(1220px, 100%);
  margin: 0 auto;
  padding: 14px;
  border-radius: 30px;
  border: 1px solid rgba(88, 112, 93, 0.2);
  background: linear-gradient(180deg, #f6f8f2 0%, #f4f7ef 100%);
  box-shadow: 0 24px 54px rgba(43, 62, 46, 0.16);
}

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

main[id],
section[id],
footer[id] {
  scroll-margin-top: 92px;
}

.topbar {
  position: sticky;
  top: 8px;
  z-index: 20;
}

.nav-wrap {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 18px;
  border: 1px solid rgba(114, 136, 121, 0.2);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-soft);
}

@supports not (backdrop-filter: blur(8px)) {
  .nav-wrap {
    background: #ffffff;
  }
}

.logo {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-main {
  font-family: "Cinzel", serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: #1f2c22;
}

.logo-sub {
  margin-top: 3px;
  font-size: 0.62rem;
  color: #68756a;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 1px solid rgba(118, 137, 123, 0.3);
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #25362b;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 4px;
  min-width: 0;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links a {
  text-decoration: none;
  color: #2e3930;
  font-size: 0.84rem;
  font-weight: 700;
  transition: color 0.2s ease;
  flex: 0 0 auto;
}

.nav-links a:hover {
  color: var(--accent);
}

.lang-switch {
  display: inline-flex;
  border-radius: 999px;
  border: 1px solid rgba(119, 141, 126, 0.35);
  background: #f7faf7;
  padding: 2px;
  gap: 2px;
}

.lang-btn {
  border: none;
  background: transparent;
  color: #4f5d52;
  border-radius: 999px;
  min-width: 28px;
  line-height: 1;
  padding: 5px 6px;
  font: inherit;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.lang-btn.active {
  background: var(--accent);
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 10px 16px;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-dark {
  color: #fff;
  background: linear-gradient(140deg, #1f2d23, #2f4335);
  box-shadow: 0 8px 18px rgba(36, 58, 42, 0.24);
}

.btn-green {
  color: #fff;
  background: linear-gradient(140deg, #3e5f44, #5b7f62);
  box-shadow: 0 10px 20px rgba(46, 77, 53, 0.24);
}

.btn-ghost {
  color: #314236;
  background: #f8fcf8;
  border-color: #c8d4c8;
}

main {
  padding-bottom: 6px;
}

.hero {
  position: relative;
  overflow: hidden;
  margin-top: 14px;
  min-height: 560px;
  border-radius: 30px;
  border: 1px solid rgba(126, 145, 128, 0.28);
  box-shadow: var(--shadow-soft);
  background: #2b3f2f;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(105deg, rgba(18, 28, 20, 0.72) 8%, rgba(25, 42, 27, 0.48) 48%, rgba(29, 44, 34, 0.18) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 198, 184, 0.36) 0%, rgba(214, 198, 184, 0) 72%);
  pointer-events: none;
  z-index: 1;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: clamp(30px, 4vw, 56px);
  color: #f8fbf8;
}

.hero-main-logo {
  display: block;
  width: min(420px, 90%);
  margin: 4px 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.34);
}

.kicker {
  margin: 0 0 10px;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 800;
  color: #dce9db;
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
  line-height: 1.13;
}

h1 {
  margin-bottom: 14px;
  max-width: 9.6ch;
  font-family: "Cinzel", serif;
  font-size: clamp(2rem, 7vw, 5rem);
  letter-spacing: 0.03em;
}

h2 {
  margin-bottom: 0;
  font-family: "Cinzel", serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.lead {
  margin: 0;
  max-width: 58ch;
  color: #e7f0e8;
}

.hero-copy .lead {
  color: #111111;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.hero-tags span {
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.16);
}

.eco-strip {
  margin-top: -36px;
  position: relative;
  z-index: 4;
}

.eco-strip-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(180deg, #d5e4d4 0%, #ccddcb 100%);
  border: 1px solid #b4c6b3;
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(65, 96, 70, 0.2);
  padding: 10px 12px 10px 14px;
}

.eco-strip-fields {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.eco-pill {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 700;
  color: #2e4033;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid #bfd0be;
  background: #eef5ee;
}

.eco-strip-btn {
  flex: 0 0 auto;
  min-width: 118px;
}

.stats {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.stats article {
  text-align: center;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid #d2ddd0;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.stats h3 {
  margin: 0 0 6px;
  font-family: "Cinzel", serif;
  font-size: 1.28rem;
}

.stats p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
  font-weight: 700;
}

.products,
.pol-gallery,
.gallery,
.portfolio,
.use-cases,
.catalog,
.trust,
.instagram,
.quote,
.lead {
  margin-top: 14px;
  border-radius: 20px;
  border: 1px solid #d4ddd3;
  background: #ffffff;
  box-shadow: var(--shadow-card);
  padding: 18px;
}

.section-head {
  margin-bottom: 12px;
}

.section-head .kicker {
  color: #6b7c6f;
}

.section-head h2 {
  color: #1e2a22;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.card {
  background: #f4f8f2;
  border: 1px solid #d1dccf;
  border-radius: 16px;
  padding: 14px;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(47, 71, 50, 0.14);
}

.card h3 {
  margin-bottom: 7px;
  font-size: 1.02rem;
}

.card p {
  margin: 0;
  font-size: 0.86rem;
  color: #5c6b5f;
}

.category-card.active {
  border-color: #6f9775;
  background: #e8f2e7;
  box-shadow: 0 0 0 1px rgba(62, 95, 68, 0.18) inset;
}

.pol-gallery-copy,
.gallery-empty,
.ig-note,
.catalog-copy,
.quote-note,
.form-note {
  margin: 0;
  color: #5b685e;
}

#category-gallery-copy {
  margin-bottom: 12px;
}

.gallery-empty {
  margin-top: 10px;
  font-weight: 700;
}

.pol-grid,
.portfolio-grid,
.testimonial-grid,
.ig-grid,
.use-grid,
.quote-form,
.form,
.gallery {
  display: grid;
  gap: 10px;
}

.pol-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pol-grid img,
.gallery img,
.gallery video,
.portfolio-card img,
.portfolio-card video,
.ig-grid img {
  width: 100%;
  border-radius: 14px;
  object-fit: cover;
}

.pol-grid img {
  height: 220px;
  border: 1px solid #d6e0d4;
  cursor: zoom-in;
}

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

.media-link {
  display: block;
}

.gallery img {
  height: 300px;
  border: 1px solid #d6e0d4;
}

.gallery video {
  height: 300px;
  border: 1px solid #d6e0d4;
  display: block;
}

.portfolio-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portfolio-card {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid #d4ded2;
  background: #f5f9f4;
}

.portfolio-card img {
  height: 226px;
  cursor: zoom-in;
}

.portfolio-card video {
  height: 226px;
  display: block;
}

.portfolio-info {
  padding: 12px;
}

.portfolio-info p {
  margin: 0;
  color: #59675c;
}

.before-after {
  margin-top: 12px;
  border-radius: 16px;
  border: 1px solid #d4ded2;
  background: #f6faf5;
  padding: 12px;
}

.before-after-head h3 {
  margin: 0 0 4px;
}

.before-after-head p {
  margin: 0 0 10px;
  color: #5b685d;
}

.ba-stage {
  position: relative;
  height: 350px;
  border-radius: 12px;
  overflow: hidden;
}

.ba-stage > img,
.ba-stage .after-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-stage .after-layer {
  position: absolute;
  inset: 0 auto 0 0;
  width: 55%;
  overflow: hidden;
}

.ba-stage .slider-handle {
  position: absolute;
  top: 0;
  left: calc(55% - 1px);
  width: 2px;
  height: 100%;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(18, 34, 20, 0.2);
  pointer-events: none;
}

.ba-stage input[type="range"] {
  position: absolute;
  inset: 0;
  width: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

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

.use-grid article {
  border-radius: 16px;
  border: 1px solid #d4ded2;
  background: #f4f8f2;
  padding: 12px;
}

.use-grid ul {
  margin: 0;
  padding-left: 18px;
}

.trust-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.trust-stats article {
  text-align: center;
  border-radius: 16px;
  border: 1px solid #d4ded2;
  background: #f4f8f2;
  padding: 14px;
}

.trust-stats h3 {
  margin: 0 0 6px;
  font-family: "Cinzel", serif;
}

.testimonial-grid {
  margin-top: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial {
  border-radius: 16px;
  border: 1px solid #d4ded2;
  background: #f7fbf6;
  padding: 12px;
}

.testimonial p {
  margin: 0 0 8px;
  color: #536255;
}

.testimonial h4 {
  margin: 0;
  font-size: 0.92rem;
}

.ig-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ig-card {
  display: block;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid #d4ded2;
  background: #f7fbf6;
}

.ig-grid img {
  height: 250px;
  cursor: zoom-in;
  transition: transform 0.2s ease;
}

.ig-card:hover img {
  transform: scale(1.05);
}

.ig-actions {
  margin-top: 10px;
}

.quote-form {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.quote-form label,
.form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 700;
}

.quote-form input,
.quote-form select,
.form input,
.form select,
.form textarea {
  font: inherit;
}

.quote-form input,
.quote-form select,
.form input,
.form select,
.form textarea {
  border-radius: 10px;
  border: 1px solid #cdd8cc;
  background: #fcfffc;
  padding: 10px 12px;
}

.quote-result {
  margin-top: 10px;
  border-radius: 12px;
  border: 1px solid #bfd5c0;
  background: #e8f3e8;
  color: #21402a;
  padding: 10px 12px;
  font-weight: 800;
}

.quote-note {
  margin-top: 8px;
}

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

.form textarea,
.form button {
  grid-column: 1 / -1;
}

.form-note {
  margin-top: 8px;
}

.footer {
  margin-top: 14px;
  border-radius: 20px;
  border: 1px solid rgba(98, 124, 105, 0.34);
  background: linear-gradient(145deg, #223628, #304a37);
  color: #e8efe6;
  padding: 18px;
}

.foot-wrap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.foot-wrap-single {
  justify-content: flex-start;
}

.contact-stack h3 {
  margin: 0 0 8px;
}

.contact-stack p {
  margin: 0 0 8px;
}

.footer a {
  color: #e6d8cb;
  text-decoration: none;
}

.floating-wa {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  text-decoration: none;
  border-radius: 999px;
  padding: 11px 16px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(140deg, #3e5f44, #5f8365);
  box-shadow: 0 10px 24px rgba(44, 71, 49, 0.35);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 12, 9, 0.82);
  padding: 20px;
}

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

.lightbox img {
  max-width: min(1100px, 96vw);
  max-height: 88vh;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 560ms ease forwards;
}

.reveal:nth-of-type(2) { animation-delay: 80ms; }
.reveal:nth-of-type(3) { animation-delay: 130ms; }
.reveal:nth-of-type(4) { animation-delay: 180ms; }
.reveal:nth-of-type(5) { animation-delay: 230ms; }
.reveal:nth-of-type(6) { animation-delay: 280ms; }
.reveal:nth-of-type(7) { animation-delay: 330ms; }

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1180px) {
  .nav-wrap {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .topbar .btn-dark {
    display: none;
  }

  .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .quote-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  body {
    padding: 8px;
  }

  .site-frame {
    padding: 8px;
    border-radius: 18px;
  }

  .topbar {
    top: 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-wrap {
    grid-template-columns: auto 40px auto;
    gap: 8px;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 12px;
    right: 12px;
    z-index: 30;
    display: grid;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #ccdacd;
    border-radius: 14px;
    padding: 10px;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    box-shadow: var(--shadow-soft);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 8px;
    font-size: 0.88rem;
    border-radius: 10px;
    background: #f3f8f3;
  }

  .hero {
    min-height: 470px;
  }

  h1 {
    max-width: 10.5ch;
  }

  .eco-strip {
    margin-top: 12px;
  }

  .eco-strip-wrap {
    border-radius: 18px;
    flex-direction: column;
    align-items: stretch;
  }

  .eco-strip-fields {
    grid-template-columns: 1fr;
  }

  .stats,
  .trust-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .pol-grid,
  .portfolio-grid,
  .testimonial-grid,
  .ig-grid,
  .gallery,
  .use-grid {
    grid-template-columns: 1fr;
  }

  .pol-grid img,
  .ig-grid img,
  .portfolio-card img,
  .portfolio-card video,
  .gallery video,
  .gallery img {
    height: 260px;
  }

  .foot-wrap {
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .nav-wrap {
    grid-template-columns: auto 40px auto;
  }

  .topbar .btn-dark {
    display: none;
  }

  .hero {
    min-height: 430px;
    border-radius: 22px;
  }

  .hero-copy {
    padding: 22px;
  }

  .hero-main-logo {
    width: 100%;
    margin-bottom: 12px;
  }

  h1 {
    font-size: clamp(1.6rem, 10.4vw, 2.7rem);
  }

  .stats,
  .card-grid,
  .trust-stats,
  .quote-form,
  .form {
    grid-template-columns: 1fr;
  }

  .ba-stage {
    height: 260px;
  }

  .floating-wa {
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    text-align: center;
  }

  input,
  select,
  textarea {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .site-frame {
    border-radius: 12px;
  }

  .nav-wrap {
    padding: 8px;
    gap: 6px;
  }

  .logo-main {
    font-size: 0.9rem;
  }

  .logo-sub {
    display: none;
  }

  .lang-btn {
    min-width: 24px;
    padding: 5px 5px;
    font-size: 0.56rem;
  }

  .hero-copy {
    padding: 18px;
  }

  .pol-grid img,
  .ig-grid img,
  .portfolio-card img,
  .portfolio-card video,
  .gallery video,
  .gallery img {
    height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }

  * {
    transition: none !important;
  }
}
