:root {
  --green-900: #102317;
  --green-800: #1f3d2b;
  --green-700: #315440;
  --green-500: #7bb78e;
  --gray-700: #6b7280;
  --gray-600: #8b93a1;
  --gray-200: #d7dde4;
  --white: #ffffff;
  --cream: #f3f5f1;
  --shadow-soft: 0 18px 40px rgba(16, 35, 23, 0.12);
  --shadow-strong: 0 28px 70px rgba(11, 24, 17, 0.24);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1120px, calc(100vw - 2rem));
  --hero-image: url("https://images.unsplash.com/photo-1517048676732-d65bc937f952?auto=format&fit=crop&w=1600&q=80");
  --footer-logo-size: 150px;
  --mobile-header-height: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: #162118;
  background:
    radial-gradient(circle at top left, rgba(49, 84, 64, 0.14), transparent 32%),
    linear-gradient(180deg, #f9faf8 0%, #eef1ec 100%);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 30;
  background: linear-gradient(180deg, rgba(7, 14, 10, 0.34), rgba(7, 14, 10, 0.08));
  transition: background-color 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease, border-color 0.35s ease;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

main {
  padding-top: 0;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 30px rgba(17, 24, 39, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.site-header:not(.scrolled) .brand-mark img {
  filter: brightness(0) invert(1);
}

.site-header:not(.scrolled) .site-nav a {
  color: var(--white);
}

.site-header:not(.scrolled) .nav-toggle span {
  background: var(--white);
}

.site-header:not(.scrolled) .nav-actions .btn-primary {
  box-shadow: none;
}

.site-header:not(.scrolled) .whatsapp-pill {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.site-header:not(.scrolled) .brand-lockup {
  color: var(--white);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.footer-brand-mark {
  align-self: stretch;
  align-items: center;
  padding-top: 0;
}

.brand img,
.footer-logo {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.footer-logo {
  width: var(--footer-logo-size);
  height: var(--footer-logo-size);
  max-width: none;
}

.brand-lockup {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.22rem;
}

.brand-title,
.footer-company {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  line-height: 1;
}

.brand-name-strong {
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand-name-light {
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.brand-divider {
  width: 1px;
  height: 1.1rem;
  background: currentColor;
  opacity: 0.28;
}

.brand-tagline,
.footer-tagline {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.72;
}

.site-nav,
.nav-actions,
.hero-actions,
.hero-metrics,
.benefits-grid,
.footer-grid {
  display: flex;
}

.site-nav {
  gap: 1.25rem;
}

.site-nav a,
.text-link,
.footer-grid a {
  position: relative;
  transition: color 0.3s ease;
}

.site-nav a::after,
.text-link::after,
.footer-grid a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 2px;
  background: var(--green-800);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.site-nav a.is-active {
  color: var(--green-800);
  font-weight: 700;
}

.site-header:not(.scrolled) .site-nav a.is-active {
  color: var(--white);
}

.site-nav a.is-active::after {
  transform: scaleX(1);
}

.site-nav a:hover::after,
.text-link:hover::after,
.footer-grid a:hover::after {
  transform: scaleX(1);
}

.nav-actions {
  align-items: center;
  gap: 0.75rem;
}

.whatsapp-pill {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: rgba(31, 61, 43, 0.08);
  color: var(--green-800);
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, #284f39, #173021);
  box-shadow: 0 16px 28px rgba(31, 61, 43, 0.28);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.btn-whatsapp {
  width: 100%;
  background: #25d366;
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 52px;
  height: 52px;
  padding: 0.75rem;
  border: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.2);
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--green-800);
}

.hero {
  position: relative;
  padding: 8rem 0 5.5rem;
  background:
    linear-gradient(180deg, rgba(8, 15, 11, 0.48), rgba(8, 15, 11, 0.65)),
    var(--hero-image) center/cover no-repeat,
    radial-gradient(circle at right top, rgba(255, 255, 255, 0.16), transparent 22%),
    linear-gradient(135deg, #173021 0%, #1f3d2b 50%, #355946 100%);
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 15, 11, 0.12), rgba(8, 15, 11, 0.42));
  pointer-events: none;
}

.hero-grid,
.about-grid,
.contact-grid,
.catalog-panel,
.cta-panel {
  display: grid;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.hero-grid {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #dbe7df;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.cta-panel h2,
.about-copy h2,
.contact-copy h2 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 10ch;
  font-size: clamp(2.8rem, 6vw, 5.1rem);
}

.hero p,
.section-heading p,
.card-body p,
.project-overlay p,
.process-step p,
.contact-copy p,
.contact-card a,
.about-copy p,
.catalog-copy p {
  color: rgba(255, 255, 255, 0.82);
}

.hero-copy > p {
  max-width: 52ch;
  margin: 1.4rem 0 0;
  font-size: 1.05rem;
  line-height: 1.8;
}

.hero-actions,
.hero-metrics {
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
}

.hero-metrics li {
  min-width: 140px;
}

.hero-metrics strong {
  display: block;
  font-size: 1.8rem;
}

.hero-metrics span {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.5;
}

.hero-card {
  position: relative;
  overflow: hidden;
  min-height: 540px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-strong);
}

.hero-card img,
.card-media img,
.project-tile img,
.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card::after,
.project-tile::after,
.about-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 12, 8, 0.08), rgba(6, 12, 8, 0.52));
}

.hero-overlay,
.project-overlay {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 1;
}

.floating-note {
  position: absolute;
  right: -1rem;
  bottom: 2rem;
  max-width: 250px;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
}

.floating-note span {
  display: block;
  margin-bottom: 0.4rem;
  color: #cce0d3;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 2.5rem;
}

.section-heading .eyebrow,
.catalog-panel .eyebrow,
.cta-panel .eyebrow,
.about-copy .eyebrow,
.contact-copy .eyebrow {
  background: rgba(31, 61, 43, 0.08);
  color: var(--green-800);
}

.section-heading h2,
.cta-panel h2,
.about-copy h2,
.contact-copy h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  color: #111c15;
}

.section-heading p,
.card-body p,
.process-step p,
.contact-copy p,
.about-copy p,
.catalog-panel p {
  margin-top: 1rem;
  line-height: 1.8;
}

.section-heading p,
.card-body p,
.process-step p,
.contact-copy p,
.about-copy p {
  color: #51605a;
}

.benefits-grid,
.products-grid,
.process-grid,
.footer-grid {
  gap: 1.5rem;
}

.benefits-grid,
.process-grid {
  flex-wrap: wrap;
}

.carousel-block {
  position: relative;
}

.carousel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.carousel-head p {
  margin: 0;
  color: #5a675f;
  line-height: 1.7;
}

.carousel-controls {
  display: inline-flex;
  gap: 0.75rem;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(31, 61, 43, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  color: var(--green-800);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.carousel-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(16, 35, 23, 0.12);
}

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 32%);
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(31, 61, 43, 0.35) transparent;
}

.carousel-track > * {
  scroll-snap-align: start;
}

.carousel-track::-webkit-scrollbar {
  height: 10px;
}

.carousel-track::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(31, 61, 43, 0.3);
}

.info-card,
.product-card,
.process-step,
.contact-card,
.contact-form,
.catalog-panel,
.cta-panel {
  border: 1px solid rgba(31, 61, 43, 0.08);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-soft);
}

.info-card,
.process-step {
  flex: 1 1 220px;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover,
.product-card:hover,
.process-step:hover,
.project-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px rgba(16, 35, 23, 0.14);
}

.icon-box,
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, #173021, #315440);
  color: var(--white);
  font-weight: 800;
}

.info-card h3,
.card-body h3,
.process-step h3,
.project-overlay h3,
.footer-grid h3 {
  margin: 1.2rem 0 0.7rem;
}

.product-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-media {
  height: 300px;
  overflow: hidden;
}

.card-media img,
.project-tile img {
  transition: transform 0.5s ease;
}

.product-card:hover .card-media img,
.project-tile:hover img {
  transform: scale(1.06);
}

.card-body {
  padding: 1.6rem;
}

.text-link {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--green-800);
  font-weight: 700;
}

.catalog-panel {
  grid-template-columns: 1fr;
  align-items: center;
  padding: 2.2rem;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(31, 61, 43, 0.98), rgba(53, 89, 70, 0.96)),
    #173021;
}

.catalog-panel h2,
.cta-panel h2 {
  color: var(--white);
}

.catalog-copy p {
  color: rgba(255, 255, 255, 0.9);
}

.catalog-copy .btn-secondary {
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--white);
}

.project-tile {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-overlay h3,
.project-overlay p {
  color: var(--white);
}

.process-grid {
  display: flex;
}

.process-step .step-number {
  margin-bottom: 1.25rem;
}

.cta-panel {
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 2rem;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 26%),
    linear-gradient(135deg, #102317, #1f3d2b);
}

.about-grid,
.contact-grid {
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
}

.about-media,
.contact-form {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.about-media {
  min-height: 460px;
}

.contact-card {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.6rem;
  border-radius: var(--radius-lg);
}

.contact-card a:not(.btn) {
  font-weight: 600;
  color: var(--green-800);
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.8rem;
}

.contact-form label {
  display: grid;
  gap: 0.55rem;
  color: #183121;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid rgba(107, 114, 128, 0.24);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(31, 61, 43, 0.55);
  box-shadow: 0 0 0 4px rgba(31, 61, 43, 0.08);
}

.site-footer {
  padding: 3.5rem 0;
  color: rgba(255, 255, 255, 0.82);
  background: #0e1711;
}

.footer-grid {
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-grid > div {
  display: grid;
  gap: 0.65rem;
  min-width: 180px;
}

.footer-brand {
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 1rem;
  min-width: 280px;
}

.footer-brand-copy {
  display: grid;
  gap: 0.38rem;
}

.footer-company,
.footer-legal,
.footer-ruc,
.footer-bottom p {
  margin: 0;
}

.footer-company {
  color: var(--white);
  font-size: 1.1rem;
}

.footer-tagline,
.footer-legal,
.footer-ruc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-tagline {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.56);
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  width: fit-content;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.social-icon svg,
.floating-whatsapp svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-bottom {
  margin-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.92rem;
}

.floating-whatsapp {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 25;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  box-shadow: 0 18px 30px rgba(37, 211, 102, 0.36);
}

.floating-whatsapp svg {
  width: 28px;
  height: 28px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 900px) {
  .catalog-panel {
    grid-template-columns: 1fr 0.9fr;
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 12ch;
  }

  .hero-card {
    min-height: 420px;
  }

  .floating-note {
    right: 1rem;
  }

  .carousel-track {
    grid-auto-columns: minmax(260px, 72%);
  }
}

@media (max-width: 780px) {
  .site-header,
  .site-header.scrolled,
  .site-header.menu-open {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transform: none;
  }

  .site-header:not(.scrolled):not(.menu-open) {
    background: transparent;
    box-shadow: none;
  }

  .hero {
    margin-top: 0;
    padding-top: calc(8rem + var(--mobile-header-height));
  }

  .nav-wrap {
    min-height: var(--mobile-header-height);
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: rgba(23, 48, 33, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 26px rgba(7, 14, 10, 0.24);
  }

  .nav-toggle span {
    width: 22px;
    height: 2px;
    margin: 0;
    background: var(--white);
  }

  .section {
    padding: 4rem 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav,
  .nav-actions {
    display: none;
  }

  .site-header.menu-open {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 14px 30px rgba(17, 24, 39, 0.08);
  }

  .site-header.menu-open .brand-mark img {
    filter: none;
  }

  .site-header.menu-open .brand-lockup,
  .site-header.menu-open .site-nav a,
  .site-header.menu-open .whatsapp-pill {
    color: var(--green-800);
  }

  .site-header.menu-open .site-nav a.is-active {
    color: var(--green-800);
  }

  .site-header.menu-open .nav-toggle {
    background: rgba(23, 48, 33, 0.96);
  }

  .site-header.menu-open .nav-toggle span {
    background: var(--white);
  }

  .site-header.menu-open .site-nav,
  .site-header.menu-open .nav-actions {
    display: flex;
  }

  .site-header.menu-open .nav-wrap {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .site-header.menu-open .site-nav {
    width: 100%;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0 0;
  }

  .site-header.menu-open .nav-actions {
    width: 100%;
    padding-top: 0.5rem;
    flex-direction: column;
  }

  .site-header.menu-open .btn,
  .site-header.menu-open .whatsapp-pill {
    width: 100%;
  }

  .benefits-grid,
  .process-grid,
  .footer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .carousel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .carousel-controls {
    align-self: flex-end;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .hero-card {
    min-height: 360px;
  }

  .floating-note {
    position: static;
    margin-top: 1rem;
    max-width: 100%;
  }

  .brand img,
  .footer-logo {
    width: 52px;
    height: 52px;
  }

  .footer-logo {
    width: var(--footer-logo-size);
    height: var(--footer-logo-size);
  }

  .brand-name-strong {
    font-size: 1rem;
  }

  .brand-name-light {
    font-size: 0.92rem;
  }

  .brand-tagline {
    font-size: 0.7rem;
  }

  .footer-bottom-wrap {
    flex-direction: column;
  }
}

@media (max-width: 540px) {
  .container {
    width: min(100vw - 1.25rem, 1120px);
  }

  .brand {
    gap: 0.7rem;
  }

  .brand-tagline {
    display: none;
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .hero-copy > p,
  .section-heading p,
  .card-body p,
  .contact-copy p,
  .about-copy p,
  .catalog-copy p,
  .process-step p {
    line-height: 1.7;
  }

  .card-media {
    height: 240px;
  }

  .contact-form,
  .contact-card,
  .catalog-panel,
  .cta-panel,
  .info-card,
  .process-step,
  .card-body {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .hero-grid,
  .about-grid,
  .contact-grid {
    gap: 1.4rem;
  }

  .benefits-grid,
  .process-grid,
  .footer-grid {
    gap: 1rem;
  }

  .carousel-track {
    grid-auto-columns: 86%;
    gap: 1rem;
  }

  .card-media {
    height: 180px;
  }

  .footer-links a {
    width: 100%;
  }
}
