:root {
  --green: #5f8f2d;
  --green-dark: #42651f;
  --graphite: #4f5258;
  --ink: #26292e;
  --soft: #f4f6f2;
  --white: #fff;
  --shadow: 0 18px 50px rgba(29, 38, 25, 0.12);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background: #fff;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
.container {
  width: min(1180px, 92%);
  margin: auto;
}
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: 0.3s;
}
.navbar.scrolled {
  top: 0;
  background: #fff;
  box-shadow: none;
  border-bottom: 1px solid #ecefe9;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.brand {
  background: #fff;
  border-radius: 12px;
  padding: 0.45rem 0.8rem;
  box-shadow: none;
}
.brand img {
  width: 190px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  color: #fff;
  font-weight: 700;
}
.navbar.scrolled .nav-links {
  color: var(--ink);
}
.nav-links a {
  position: relative;
}
.nav-links a:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: 0.25s;
}
.nav-links a:hover:after {
  width: 100%;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.92rem 1.25rem;
  border-radius: 8px;
  font-weight: 800;
  border: 0;
  cursor: pointer;
  transition: 0.25s;
}
.btn-primary {
  background: var(--green);
  color: #fff;
}
.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}
.btn-outline {
  border: 2px solid #fff;
  color: #fff;
}
.hero {
  height: 100vh;
  min-height: 680px;
  position: relative;
  overflow: hidden;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 1s,
    visibility 1s;
}
.slide.active {
  opacity: 1;
  visibility: visible;
}
.slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slide:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(20, 28, 20, 0.86),
    rgba(20, 28, 20, 0.38) 62%,
    rgba(20, 28, 20, 0.18)
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding-top: 225px;
}
.hero-copy {
  max-width: 760px;
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.65s 0.25s,
    transform 0.65s 0.25s;
}
.slide.active .hero-copy {
  opacity: 1;
  transform: translateY(0);
}
.eyebrow {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #9dce66;
  font-size: 0.82rem;
}
.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 1.02;
  margin: 0.6rem 0 1.2rem;
}
.hero p {
  font-size: 1.16rem;
  max-width: 650px;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.slider-dots {
  position: absolute;
  z-index: 8;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.dot.active {
  background: #fff;
}
.section {
  padding: 95px 0;
}
.section-soft {
  background: var(--soft);
}
.section-title {
  max-width: 720px;
  margin-bottom: 45px;
}
.section-title h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin: 0.5rem 0;
}
.lead {
  font-size: 1.08rem;
  color: #62666d;
}
.about-grid,
.mission-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 55px;
  align-items: center;
}
.about-card {
  background: #fff;
  border-radius: 18px;
  padding: 34px;
  box-shadow: var(--shadow);
  border-left: 5px solid var(--green);
}
.about-visual {
  min-height: 470px;
  border-radius: 24px;
  background: white;
  position: relative;
  overflow: hidden;
}
.about-visual img {
  position: absolute;
  width: 76%;
  height: 35%;
  left: 12%;
  top: 13%;
  padding: 16px 22px;
  object-fit: contain;
  background: #fff;
  filter: none;
  opacity: 1;
}
.metric {
  position: absolute;
  background: #fff;
  padding: 18px 23px;
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.metric strong {
  display: block;
  font-size: 2rem;
  color: var(--green);
}
.metric.one {
  left: 24px;
  bottom: 30px;
}
.metric.two {
  right: 24px;
  bottom: 80px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 12px 35px rgba(22, 30, 18, 0.08);
  border: 1px solid #e7ebe4;
  transition: 0.3s;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}
.card:hover p {
  color: #fff;
}
.card:hover .icon {
  background: #fff;
  color: var(--green-dark);
  transform: scale(1.06);
}
.card .icon {
  transition: 0.3s;
}
.card p {
  transition: 0.3s;
}
.icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #edf5e5;
  color: var(--green);
  font-size: 1.6rem;
}
.card h3 {
  margin: 1rem 0 0.5rem;
}
.card ul {
  padding-left: 1.1rem;
  color: #62666d;
}
.service-detail {
  margin-top: 32px;
}
.accordion {
  border-bottom: 1px solid #dde2da;
}
.accordion button {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 22px 0;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  color: #656970;
}
.accordion.open .accordion-content {
  max-height: 520px;
  padding-bottom: 22px;
}
.mission-box {
  padding: 34px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}
.mission-box h3 {
  color: var(--green);
  font-size: 1.55rem;
}
.cta {
  background: linear-gradient(120deg, var(--green-dark), var(--green));
  color: #fff;
  border-radius: 24px;
  padding: 55px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.contact-list {
  display: grid;
  gap: 15px;
}
.contact-item {
  padding: 18px;
  border: 1px solid #e0e4dd;
  border-radius: 12px;
  background: #fff;
}
.social-links {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.social-links a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
  font-size: 1.15rem;
  transition: 0.25s;
}
.social-links a:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}
.contact-form {
  background: #fff;
  padding: 34px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: grid;
  gap: 6px;
}
.field.full {
  grid-column: 1/-1;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #ced4c9;
  border-radius: 8px;
  font: inherit;
}
.field textarea {
  min-height: 140px;
  resize: vertical;
}
.footer {
  background: #25272b;
  color: #d6d8da;
  padding: 55px 0 25px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 35px;
}
.footer-social a {
  background: rgba(255, 255, 255, 0.12);
}
.footer-social a:hover {
  background: var(--green);
}
.whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
  z-index: 80;
  transition: 0.25s;
}
.whatsapp:hover {
  transform: translateY(-3px) scale(1.04);
  background: #1fbd5a;
}
.menu-btn {
  display: none;
  background: #fff;
  border: 0;
  border-radius: 8px;
  padding: 0.7rem;
  font-size: 1.3rem;
}
@media (max-width: 900px) {
  .menu-btn {
    display: block;
  }
  .nav-links {
    position: absolute;
    top: 78px;
    left: 4%;
    right: 4%;
    background: #fff;
    color: var(--ink);
    padding: 22px;
    border-radius: 14px;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links.open {
    display: flex;
  }
  .hero-content {
    padding-top: 190px;
  }
  .about-grid,
  .mission-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .cards {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .cta {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 620px) {
  .cards,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 72px 0;
  }
  .brand img {
    width: 150px;
  }
  .hero {
    min-height: 720px;
  }
  .hero h1 {
    font-size: 2.65rem;
  }
  .hero-content {
    padding-top: 175px;
  }
  .about-visual {
    min-height: 380px;
  }
  .about-visual img {
    width: 84%;
    height: 37%;
    left: 8%;
    top: 9%;
    padding: 12px 16px;
  }
  .metric {
    padding: 14px 17px;
  }
  .metric strong {
    font-size: 1.55rem;
  }
  .metric.one {
    left: 16px;
    bottom: 24px;
  }
  .metric.two {
    right: 16px;
    bottom: 70px;
  }
  .cta {
    padding: 35px 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .slide,
  .hero-copy {
    transition: none;
  }
  .card,
  .btn,
  .social-links a,
  .whatsapp {
    transition: none;
  }
}

/* Indicadores animados */
.stats-section {
  padding: 0 0 95px;
  background: var(--soft);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.stat {
  padding: 34px 24px;
  text-align: center;
  border-right: 1px solid #e7ebe4;
}
.stat:last-child {
  border-right: 0;
}
.stat strong {
  display: block;
  color: var(--green);
  font-size: clamp(2.3rem, 4vw, 3.6rem);
  line-height: 1;
  font-weight: 900;
}
.stat span {
  display: block;
  margin-top: 10px;
  color: #646971;
  font-weight: 700;
}
/* Franja parallax */
.parallax-section {
  min-height: 470px;
  position: relative;
  display: flex;
  align-items: center;
  background-image: url("../img/slider-nevado-longavi.png");
  background-size: cover;
  background-position: center 48%;
  background-attachment: fixed;
  color: #fff;
  overflow: hidden;
}
.parallax-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(24, 28, 27, 0.9),
    rgba(24, 28, 27, 0.58),
    rgba(24, 28, 27, 0.35)
  );
}
.parallax-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 95px 0;
}
.parallax-content h2 {
  font-size: clamp(2.2rem, 4.7vw, 4rem);
  line-height: 1.08;
  margin: 0.55rem 0 1rem;
}
.parallax-content p {
  font-size: 1.12rem;
  max-width: 650px;
  margin-bottom: 1.8rem;
}
@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stat:nth-child(2) {
    border-right: 0;
  }
  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid #e7ebe4;
  }
  .parallax-section {
    background-attachment: scroll;
  }
}
@media (max-width: 620px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stat {
    border-right: 0;
    border-bottom: 1px solid #e7ebe4;
  }
  .stat:last-child {
    border-bottom: 0;
  }
}
