﻿:root {
  --ink: #13231f;
  --muted: #61716c;
  --line: #dfe8e3;
  --paper: #f6faf7;
  --white: #fff;
  --green: #3fa535;
  --green-dark: #16723b;
  --blue: #165b80;
  --shadow: 0 24px 70px rgba(9, 34, 28, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", Arial, Helvetica, sans-serif;
  line-height: 1.6;
  font-weight: 500;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 82px;
  padding: 14px clamp(18px, 4vw, 62px);
  border-bottom: 1px solid rgba(223, 232, 227, .9);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(16px);
}
.brand img { width: min(210px, 44vw); height: auto; }
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1vw, 16px);
  flex: 1;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.main-nav a {
  position: relative;
  isolation: isolate;
  padding: 9px 8px;
  border-bottom: 2px solid transparent;
  border-radius: 8px;
  white-space: nowrap;
  transition: color 240ms ease, transform 240ms ease;
}
.main-nav a::before {
  content: "";
  position: absolute;
  inset: 4px 0;
  z-index: -1;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(63, 165, 53, .16), rgba(22, 91, 128, .12));
  opacity: 0;
  transform: scale(.86);
  transition: opacity 240ms ease, transform 240ms ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 3px;
  height: 2px;
  border-radius: 999px;
  background: var(--green);
  transform: scaleX(0);
  transition: transform 240ms ease;
}
.main-nav a:hover,
.main-nav a.is-active {
  color: var(--green-dark);
  transform: translateY(-2px);
}
.main-nav a:hover::before,
.main-nav a.is-active::before { opacity: 1; transform: scale(1); }
.main-nav a:hover::after,
.main-nav a.is-active::after { transform: scaleX(1); }
.lang-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}
.lang-switch a {
  display: grid;
  width: 38px;
  height: 32px;
  place-items: center;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 900;
  font-size: 13px;
}
.lang-switch a.is-active { background: var(--ink); color: var(--white); }
.menu-toggle { display: none; margin-left: auto; border: 0; background: var(--green); color: var(--white); width: 42px; height: 38px; border-radius: 8px; font-size: 22px; }

.hero-slider {
  position: relative;
  min-height: calc(100vh - 82px);
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}
.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  padding: clamp(90px, 12vw, 150px) clamp(18px, 6vw, 86px);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 900ms ease, transform 1800ms ease;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); z-index: 1; }
.hero-content { max-width: 820px; }
.hero-content span, .section-heading span, .process-copy span, .page-title span, .page-hero span {
  display: inline-block;
  margin-bottom: 14px;
  color: #b5f0c9;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}
.hero-content h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 84px);
  line-height: 1.02;
  letter-spacing: 0;
}
.hero-content p {
  max-width: 650px;
  margin: 24px 0 32px;
  color: rgba(255,255,255,.88);
  font-size: clamp(18px, 2vw, 22px);
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  --btn: var(--green);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--btn);
  border-radius: 8px;
  background: var(--btn);
  color: var(--white);
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(0, 0, 0, .12);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}
.btn::before {
  content: "";
  position: absolute;
  inset: -120% auto -120% -60%;
  width: 46%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.42), transparent);
  transform: skewX(-18deg);
  transition: left 520ms ease;
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(0, 0, 0, .2);
}
.btn:hover::before {
  left: 118%;
}
.btn-ghost {
  background: rgba(255,255,255,.08);
  box-shadow: none;
}
.btn-ghost:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.84);
}
.slider-dots {
  position: absolute;
  z-index: 3;
  left: clamp(18px, 6vw, 86px);
  bottom: 34px;
  display: flex;
  gap: 9px;
}
.slider-dots button {
  width: 36px;
  height: 5px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.45);
  cursor: pointer;
}
.slider-dots button.is-active { background: var(--green); }
.slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 8px;
  background: rgba(255,255,255,.12);
  color: var(--white);
  cursor: pointer;
  font-size: 42px;
  line-height: 1;
  backdrop-filter: blur(10px);
  transform: translateY(-50%);
  transition: background 240ms ease, transform 240ms ease;
}
.slider-arrow:hover { background: var(--green); transform: translateY(-50%) scale(1.06); }
.slider-prev { left: clamp(14px, 2.5vw, 34px); }
.slider-next { right: clamp(14px, 2.5vw, 34px); }

.section { padding: clamp(60px, 7vw, 96px) clamp(18px, 5vw, 70px); }
.info-split { padding-bottom: clamp(34px, 4vw, 54px); }
.product-groups-section { padding-top: clamp(28px, 4vw, 46px); }
.section-heading { max-width: 920px; margin: 0 auto 34px; }
.section-heading.center { text-align: center; }
.section-heading span, .page-title span { color: var(--green-dark); }
.section-heading h2, .page-title h1, .page-hero h1, .process-copy h2 {
  margin: 0;
  font-size: clamp(34px, 4.8vw, 62px);
  line-height: 1.05;
  letter-spacing: 0;
}
.section-heading p {
  max-width: 720px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: clamp(16px, 1.7vw, 19px);
}
.info-split {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.info-card, .quality-card, .catalog-card, .reference-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.info-card { overflow: hidden; min-height: 260px; }
.info-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.info-card div { padding: 24px; }
.info-card h2 { margin: 0 0 14px; font-size: 26px; line-height: 1.18; }
.info-card p, .quality-card p, .process-copy p, .text-page p, .page-title p { color: var(--muted); }

.product-group-grid, .quality-grid, .catalog-grid, .reference-grid {
  display: grid;
  width: min(1180px, 100%);
  margin: 0 auto;
  gap: 18px;
}
.product-group-grid, .quality-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.catalog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.reference-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.group-card {
  position: relative;
  min-height: auto;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}
.group-card img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  opacity: .82;
  transition: transform 550ms ease, opacity 550ms ease;
}
.group-card:hover img { transform: scale(1.11); opacity: .62; }
.group-card strong {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  font-size: 24px;
  line-height: 1.15;
  text-shadow: 0 2px 18px rgba(0,0,0,.45);
}

.process-section {
  display: grid;
  grid-template-columns: minmax(300px, .95fr) minmax(320px, 1fr);
  min-height: 660px;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}
.process-photo {
  min-width: 0;
  min-height: 420px;
  aspect-ratio: 5 / 4;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.process-copy {
  min-width: 0;
  align-self: center;
  padding: clamp(46px, 7vw, 92px);
}
.process-copy h2,
.process-copy p {
  overflow-wrap: anywhere;
}
.process-copy .lead { color: rgba(255,255,255,.88); font-size: 20px; }
.process-copy p { color: rgba(255,255,255,.72); }
.text-link { color: #b5f0c9; font-weight: 900; }

.quality-card { overflow: hidden; }
.quality-card img, .catalog-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}
.quality-card div, .catalog-card div { padding: 22px; }
.quality-card h3, .catalog-card h2 { margin: 0 0 8px; font-size: 22px; line-height: 1.2; }
.catalog-card p { margin: 0; color: var(--muted); }
.catalog-card { overflow: hidden; transition: transform 280ms ease; }
.catalog-card:hover { transform: translateY(-8px); }

.page-hero {
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: center;
  padding: clamp(90px, 12vw, 150px) clamp(18px, 6vw, 86px);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--white);
}
.page-hero div, .page-title { max-width: 920px; }
.page-hero span,
.page-title span {
  display: none;
}
.page-hero p { max-width: 720px; color: rgba(255,255,255,.86); font-size: 21px; }
.page-title { margin: 0 auto; padding: clamp(32px, 5vw, 58px) 18px 0; text-align: center; }
.contact-title {
  padding-top: clamp(24px, 4vw, 42px);
}
.contact-title h1 {
  color: var(--ink);
}
.contact-subtitle {
  max-width: 760px;
  margin: 18px auto 0;
  color: var(--ink) !important;
  font-size: clamp(19px, 2vw, 25px);
  font-weight: 700;
  line-height: 1.38;
}
.text-page { max-width: 920px; margin: 0 auto; font-size: 21px; }
.contact-layout {
  display: grid;
  grid-template-columns: minmax(300px, 420px) minmax(320px, 1fr);
  gap: 24px;
  width: min(1180px, 100%);
  margin: 0 auto;
}
.contact-panel { display: grid; gap: 12px; align-content: start; padding: 32px; border-radius: 8px; background: var(--white); box-shadow: var(--shadow); }
.contact-panel a { color: var(--green-dark); font-weight: 900; }
.social-panel {
  display: grid;
  gap: 14px;
  margin-top: 12px;
}
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.social-icon {
  display: inline-grid;
  width: 48px;
  height: 48px;
  align-items: center;
  place-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.social-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  display: block;
}
.social-instagram svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.social-facebook {
  color: #1877f2 !important;
}
.social-instagram {
  color: #c13584 !important;
}
.social-icon:hover {
  transform: translateY(-3px);
  border-color: rgba(63, 165, 53, .35);
  box-shadow: 0 14px 34px rgba(9, 34, 28, .12);
}
.whatsapp-button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 22px;
  border-radius: 8px;
  background: #25d366;
  color: #063f20 !important;
  font-size: 17px;
  box-shadow: 0 18px 40px rgba(37, 211, 102, .26);
}
.whatsapp-button svg {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.whatsapp-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 46px rgba(37, 211, 102, .34);
}
.map-frame { width: 100%; min-height: 430px; aspect-ratio: 16 / 10; border: 0; border-radius: 8px; box-shadow: var(--shadow); }
.references-title {
  padding-top: clamp(48px, 6vw, 82px);
}
.references-title p {
  max-width: 860px;
  margin: 18px auto 0;
  color: #4f3a4c;
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.65;
}
.references-section {
  padding-top: clamp(38px, 5vw, 70px);
  background: var(--white);
}
.reference-card {
  display: grid;
  min-height: 126px;
  place-items: center;
  gap: 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
  transition: transform 240ms ease, opacity 240ms ease;
}
.reference-card:hover {
  transform: translateY(-4px) scale(1.03);
}
.reference-card img {
  width: min(170px, 82%);
  height: 76px;
  object-fit: contain;
  object-position: center;
  filter: saturate(.92);
  transition: filter 240ms ease, transform 240ms ease;
}
.reference-card:hover img {
  filter: saturate(1.12);
  transform: scale(1.04);
}
.reference-card strong {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.site-footer {
  background: #0d1f1a;
  color: rgba(255,255,255,.78);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .7fr 1fr;
  gap: 34px;
  padding: 58px clamp(18px, 5vw, 70px);
}
.footer-logo { width: 210px; padding: 10px; border-radius: 8px; background: var(--white); }
.footer-grid h3 { margin: 0 0 14px; color: var(--white); }
.footer-grid a { display: block; margin: 7px 0; color: rgba(255,255,255,.82); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(18px, 5vw, 70px);
  border-top: 1px solid rgba(255,255,255,.12);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.reveal.is-visible, .hero-slide.is-active .reveal { opacity: 1; transform: translateY(0); }

@media (max-width: 1080px) {
  .menu-toggle { display: grid; place-items: center; }
  .site-header { flex-wrap: wrap; }
  .main-nav {
    display: none;
    order: 4;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 0 2px;
  }
  .main-nav.is-open { display: flex; }
  .lang-switch { margin-left: 0; }
  .info-split, .product-group-grid, .quality-grid, .catalog-grid, .reference-grid, .process-section, .contact-layout, .footer-grid {
    grid-template-columns: 1fr;
  }
  .process-copy { padding: 52px 18px; }
  .slider-arrow {
    top: auto;
    bottom: 78px;
    width: 44px;
    height: 44px;
    font-size: 34px;
    transform: none;
  }
  .slider-arrow:hover { transform: scale(1.06); }
  .slider-prev { left: calc(50% - 58px); }
  .slider-next { right: calc(50% - 58px); }
  .slider-dots {
    left: 50%;
    bottom: 34px;
    transform: translateX(-50%);
  }
}

@media (max-width: 560px) {
  .hero-slider { min-height: 760px; }
  .hero-content h1 { font-size: 38px; }
  .hero-actions { flex-direction: column; align-items: stretch; max-width: 280px; }
  .page-hero { min-height: 760px; }
  .footer-bottom { display: grid; }
}
