:root {
  --bg: #0a0f0a;
  --bg-2: #0f1710;
  --panel: #131c14;
  --panel-2: #182219;
  --line: #21301f;
  --green: #7cc242;
  --green-2: #5fa32e;
  --green-glow: rgba(124, 194, 66, 0.35);
  --text: #eef3ec;
  --muted: #9db19a;
  --white: #ffffff;
  --radius: 16px;
  --wa: #25d366;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, .brand, .btn, .step__no, .hero__steps { font-family: 'Montserrat', sans-serif; }

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

.accent { color: var(--green); }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--green); color: #08210a; font-weight: 800;
  padding: .85rem 1.5rem; border-radius: 999px; border: none; cursor: pointer;
  font-size: .95rem; transition: transform .15s ease, box-shadow .2s ease, background .2s;
  box-shadow: 0 8px 22px -8px var(--green-glow);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -8px var(--green-glow); }
.btn--sm { padding: .55rem 1.1rem; font-size: .85rem; }
.btn--ghost { background: transparent; color: var(--text); border: 1.5px solid var(--line); box-shadow: none; }
.btn--ghost:hover { border-color: var(--green); color: var(--green); }
.btn--wa { background: var(--wa); color: #04200f; }
.btn--block { width: 100%; }

.topbar { background: #060906; border-bottom: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; padding: .5rem 0; flex-wrap: wrap; gap: .4rem; }
.topbar__contact { display: flex; gap: 1.3rem; flex-wrap: wrap; }
.topbar a:hover { color: var(--green); }

.header { position: sticky; top: 0; z-index: 100; background: rgba(10,15,10,.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.header.scrolled { box-shadow: 0 10px 30px -12px rgba(0,0,0,.7); }
.header__inner { display: flex; align-items: center; gap: 1.5rem; padding: .7rem 0; }

.brand { display: flex; align-items: center; gap: .65rem; }
.brand__mark {
  height: 46px; width: auto; display: block;
  filter: drop-shadow(0 0 10px var(--green-glow));
}
.brand__text strong { display: block; font-size: 1.15rem; letter-spacing: .06em; color: var(--white); font-weight: 900; }
.brand__text strong span { color: var(--green); }
.brand__text small { display: block; font-size: .62rem; letter-spacing: .42em; color: var(--muted); }

.nav { display: flex; gap: 1.6rem; margin-left: auto; font-size: .92rem; font-weight: 500; }
.nav a { color: var(--muted); position: relative; padding: .2rem 0; }
.nav a::after { content: ''; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px; background: var(--green); transition: width .25s; }
.nav a:hover { color: var(--text); }
.nav a:hover::after { width: 100%; }
.header .btn--sm { margin-left: 0; }
.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.6rem; cursor: pointer; margin-left: auto; }

.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 500px at 75% -10%, rgba(124,194,66,.18), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5.5rem);
}
.hero__overlay {
  position: absolute; inset: 0;
  background-image: url('assets/img/granul.webp');
  background-size: cover; background-position: center;
  opacity: .10; mix-blend-mode: luminosity;
}
.hero__inner { position: relative; text-align: center; max-width: 900px; margin: 0 auto; }
.hero__logo { width: clamp(170px, 28vw, 230px); height: auto; margin: 0 auto 1.4rem; display: block; filter: drop-shadow(0 10px 30px rgba(0,0,0,.55)); }
.hero__badge {
  display: inline-block; font-family: 'Montserrat'; font-weight: 700; font-size: .72rem;
  letter-spacing: .18em; color: var(--green); border: 1px solid var(--line);
  background: rgba(124,194,66,.07); padding: .5rem 1.1rem; border-radius: 999px; margin-bottom: 1.6rem;
}
.hero__title {
  font-size: clamp(2.6rem, 8vw, 5.2rem); font-weight: 900; line-height: 1.02;
  letter-spacing: -.01em; color: var(--white); text-shadow: 0 10px 40px rgba(0,0,0,.5);
}
.hero__title .accent { text-shadow: 0 0 30px var(--green-glow); }
.hero__lead { color: var(--muted); font-size: clamp(1rem, 2.3vw, 1.2rem); max-width: 660px; margin: 1.4rem auto 0; }
.hero__lead strong { color: var(--text); }
.hero__steps {
  display: inline-flex; align-items: center; gap: 1rem; margin: 1.8rem auto 0;
  font-weight: 800; letter-spacing: .12em; color: var(--white); flex-wrap: wrap; justify-content: center;
  font-size: clamp(.85rem, 2.5vw, 1.05rem);
}
.hero__steps i { color: var(--green); font-style: normal; }
.hero__cta { display: flex; gap: 1rem; justify-content: center; margin-top: 2.4rem; flex-wrap: wrap; }

.values { background: var(--bg-2); border-block: 1px solid var(--line); padding: 2.5rem 0; }
.values__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.value { text-align: center; padding: 1.4rem 1rem; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); transition: transform .2s, border-color .2s; }
.value:hover { transform: translateY(-4px); border-color: var(--green-2); }
.value__icon { font-size: 1.8rem; }
.value h3 { margin: .6rem 0 .3rem; font-size: 1.05rem; color: var(--white); }
.value p { font-size: .85rem; color: var(--muted); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.eyebrow { display: inline-block; color: var(--green); font-weight: 700; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; margin-bottom: .7rem; }
.section-head h2 { font-size: clamp(1.9rem, 5vw, 2.8rem); color: var(--white); font-weight: 800; }
.section-sub { color: var(--muted); margin-top: .8rem; }

section.about, section.process, section.materials, section.gallery, section.contact { padding: clamp(3.5rem, 8vw, 6rem) 0; }

.about__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about__media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.about__media img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4/5; }
.about__text h2 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); color: var(--white); margin: .4rem 0 1.2rem; line-height: 1.15; }
.about__text p { color: var(--muted); margin-bottom: 1rem; }
.about__text strong { color: var(--text); }
.about__stats { display: flex; gap: 1.6rem; margin-top: 1.8rem; flex-wrap: wrap; }
.about__stats div { display: flex; flex-direction: column; }
.about__stats strong { font-family: 'Montserrat'; font-size: 1.7rem; color: var(--green); font-weight: 900; }
.about__stats span { font-size: .82rem; color: var(--muted); }

.process { background: var(--bg-2); border-block: 1px solid var(--line); }
.process__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.step { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.2rem 1.6rem 1.8rem; overflow: hidden; transition: transform .2s, border-color .2s; }
.step:hover { transform: translateY(-5px); border-color: var(--green-2); }
.step__no { position: absolute; top: .8rem; right: 1.1rem; font-size: 2.6rem; font-weight: 900; color: rgba(124,194,66,.12); }
.step__icon { font-size: 2.2rem; display: block; }
.step h3 { margin: .9rem 0 .5rem; color: var(--white); font-size: 1.35rem; }
.step p { color: var(--muted); font-size: .92rem; }

.materials__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.mat {
  background: linear-gradient(160deg, var(--panel-2), var(--panel)); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.6rem 1.2rem; text-align: center; transition: transform .2s, border-color .2s, box-shadow .2s;
}
.mat:hover { transform: translateY(-4px); border-color: var(--green); box-shadow: 0 14px 30px -16px var(--green-glow); }
.mat h3 { font-size: 1.7rem; color: var(--green); font-weight: 900; letter-spacing: .02em; }
.mat p { font-size: .78rem; color: var(--muted); margin-top: .3rem; }
.materials__note { text-align: center; margin-top: 2rem; color: var(--muted); }
.materials__note a { color: var(--green); font-weight: 600; }

.gallery__tabs { display: flex; justify-content: center; gap: .6rem; margin: -1.4rem 0 2.2rem; }
.gallery__tab {
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: .9rem; cursor: pointer;
  color: var(--muted); background: var(--panel); border: 1px solid var(--line);
  padding: .6rem 1.6rem; border-radius: 999px; transition: color .2s, background .2s, border-color .2s;
}
.gallery__tab:hover { color: var(--text); border-color: var(--green-2); }
.gallery__tab.is-active { color: #08210a; background: var(--green); border-color: var(--green); }
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 1rem; }
.gallery__grid--video { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); grid-auto-rows: 260px; }
.gallery__panel { display: none; }
.gallery__panel.is-active { display: grid; }
.gallery__item { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); cursor: pointer; }
.gallery__item::before {
  content: '⤢'; position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px;
  background: rgba(10,15,10,.6); color: var(--green); font-size: 1.1rem; backdrop-filter: blur(4px);
  opacity: 0; transform: scale(.8); transition: opacity .25s, transform .25s;
}
.gallery__item:hover::before { opacity: 1; transform: scale(1); }
.gallery__item img, .gallery__item video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item figcaption {
  position: absolute; left: 0; bottom: 0; right: 0; padding: .8rem 1rem .7rem;
  background: linear-gradient(transparent, rgba(0,0,0,.8)); color: var(--white); font-size: .85rem; font-weight: 600;
}
.gallery__item--wide { grid-column: span 2; grid-row: span 2; }
.gallery__item--video video { background: #000; }
.gallery__item--video figcaption { pointer-events: none; }

.ctaband { background: linear-gradient(100deg, var(--green-2), var(--green)); color: #072209; }
.ctaband__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 2.4rem 0; flex-wrap: wrap; }
.ctaband h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); color: #05230a; }
.ctaband p { color: #0c380f; font-weight: 500; }
.ctaband__actions { display: flex; gap: .9rem; flex-wrap: wrap; }
.ctaband .btn { background: #08210a; color: var(--green); }
.ctaband .btn--wa { background: #fff; color: #04200f; }

.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); }
.contact__info h2 { font-size: clamp(1.8rem, 4.5vw, 2.5rem); color: var(--white); margin: .3rem 0 1.5rem; }
.contact__list { list-style: none; display: flex; flex-direction: column; gap: 1.1rem; margin-bottom: 1.8rem; }
.contact__list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact__ic { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); font-size: 1.2rem; }
.contact__list strong { display: block; color: var(--white); font-size: .95rem; }
.contact__list a, .contact__list span { color: var(--muted); font-size: .92rem; }
.contact__list a:hover { color: var(--green); }

.contact__form { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.contact__form h3 { color: var(--white); margin-bottom: 1.2rem; }
.contact__form label { display: block; font-size: .82rem; color: var(--muted); margin-bottom: 1rem; font-weight: 600; }
.contact__form input, .contact__form select, .contact__form textarea {
  width: 100%; margin-top: .4rem; background: var(--bg); border: 1px solid var(--line);
  border-radius: 10px; padding: .75rem .9rem; color: var(--text); font-family: inherit; font-size: .95rem; resize: vertical;
}
.contact__form input:focus, .contact__form select:focus, .contact__form textarea:focus { outline: none; border-color: var(--green); }
.contact__form-note { display: block; text-align: center; color: var(--muted); margin-top: .8rem; font-size: .78rem; }

.footer { background: #060906; border-top: 1px solid var(--line); padding-top: 2.5rem; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding-bottom: 2rem; }
.footer__brand { display: flex; align-items: center; gap: .7rem; }
.footer__brand strong { display: block; color: var(--white); letter-spacing: .06em; }
.footer__brand small { color: var(--muted); font-size: .62rem; letter-spacing: .38em; }
.footer__slogan { color: var(--green); font-weight: 600; }
.footer__links { display: flex; gap: 1.4rem; font-size: .9rem; }
.footer__links a { color: var(--muted); }
.footer__links a:hover { color: var(--green); }
.footer__bottom { border-top: 1px solid var(--line); padding: 1.1rem 0; font-size: .8rem; color: var(--muted); text-align: center; }

.lightbox {
  position: fixed; inset: 0; z-index: 300; display: none;
  align-items: center; justify-content: center; padding: 3rem 1rem;
  background: rgba(4, 7, 4, .92); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .25s ease;
}
.lightbox.open { display: flex; opacity: 1; }
.lightbox__stage {
  max-width: min(1100px, 94vw); max-height: 82vh; display: flex;
  align-items: center; justify-content: center; transform: scale(.96); transition: transform .3s ease;
}
.lightbox.open .lightbox__stage { transform: scale(1); }
.lightbox__stage img, .lightbox__stage video {
  max-width: 100%; max-height: 82vh; width: auto; height: auto;
  border-radius: 12px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.9); display: block; background: #000;
}
.lightbox__caption {
  position: absolute; bottom: 1.4rem; left: 0; right: 0; text-align: center;
  color: var(--text); font-weight: 600; font-size: .95rem; letter-spacing: .02em;
}
.lightbox__close, .lightbox__nav {
  position: absolute; z-index: 2; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  color: #fff; cursor: pointer; border-radius: 50%; display: grid; place-items: center;
  transition: background .2s, transform .2s;
}
.lightbox__close:hover, .lightbox__nav:hover { background: var(--green); color: #08210a; transform: scale(1.08); }
.lightbox__close { top: 1.2rem; right: 1.2rem; width: 46px; height: 46px; font-size: 1.9rem; line-height: 1; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 2rem; line-height: 1; }
.lightbox__nav:hover { transform: translateY(-50%) scale(1.08); }
.lightbox__nav--prev { left: 1.2rem; }
.lightbox__nav--next { right: 1.2rem; }
@media (max-width: 600px) {
  .lightbox__nav { width: 42px; height: 42px; font-size: 1.6rem; }
  .lightbox__nav--prev { left: .5rem; } .lightbox__nav--next { right: .5rem; }
}

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 200; width: 58px; height: 58px;
  background: var(--wa); color: #fff; border-radius: 50%; display: grid; place-items: center;
  box-shadow: 0 10px 30px -6px rgba(37,211,102,.5); animation: pulse 2.4s infinite;
}
.wa-float:hover { transform: scale(1.08); }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 50% { box-shadow: 0 0 0 14px rgba(37,211,102,0); } }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .values__grid { grid-template-columns: repeat(2, 1fr); }
  .materials__grid { grid-template-columns: repeat(3, 1fr); }
  .about__inner, .contact__inner { grid-template-columns: 1fr; }
  .about__media { max-width: 460px; margin: 0 auto; }
}
@media (max-width: 720px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 1rem 6%; gap: 0; }
  .nav.open { display: flex; }
  .nav a { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .header .btn--sm { display: none; }
  .header__inner { position: relative; }
  .process__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery__grid--video { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 210px; }
  .gallery__item--wide { grid-column: span 2; grid-row: span 1; }
  .topbar__inner { justify-content: center; }
}
@media (max-width: 460px) {
  .values__grid, .materials__grid { grid-template-columns: 1fr 1fr; }
  .mat h3 { font-size: 1.4rem; }
}
