/* ============================================================
   POLO AMBIENTAL — Hoja de estilos compartida
   Gestión e Innovación Sustentable
   ============================================================ */

:root {
  --verde-oscuro: #1b5e20;
  --verde: #2e7d32;
  --verde-medio: #43a047;
  --verde-claro: #81c784;
  --verde-muy-claro: #e8f5e9;
  --gris-texto: #33403a;
  --gris-suave: #f4f7f5;
  --blanco: #ffffff;
  --sombra: 0 8px 30px rgba(27, 94, 32, 0.12);
  --radio: 16px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--gris-texto);
  background: var(--blanco);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Encabezado / Navegación ---------- */
.encabezado {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--verde-muy-claro);
}

.nav {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav__marca {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  color: var(--verde-oscuro);
  text-decoration: none;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
}

.nav__marca img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.nav__links {
  display: flex;
  gap: 0.4rem;
  list-style: none;
  flex-wrap: wrap;
}

.nav__links a {
  text-decoration: none;
  color: var(--gris-texto);
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.nav__links a:hover {
  background: var(--verde-muy-claro);
  color: var(--verde-oscuro);
}

.nav__links a.activo {
  background: var(--verde);
  color: var(--blanco);
}

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(circle at 50% -10%, var(--verde-muy-claro), var(--blanco) 60%);
  text-align: center;
  padding: 3.5rem 1.5rem 3rem;
}

.hero__logo {
  width: 260px;
  max-width: 70vw;
  height: auto;
  border-radius: 50%;
  box-shadow: var(--sombra);
  animation: aparecer 0.9s ease;
}

.hero--grande .hero__logo {
  width: 340px;
}

@keyframes aparecer {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.hero h1 {
  margin-top: 1.5rem;
  font-size: clamp(1.8rem, 5vw, 3rem);
  color: var(--verde-oscuro);
  letter-spacing: 1px;
}

.hero p {
  max-width: 620px;
  margin: 1rem auto 0;
  font-size: 1.15rem;
  color: var(--gris-texto);
}

.hero__acciones {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Botones ---------- */
.boton {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  border: 2px solid var(--verde);
}

.boton--primario {
  background: var(--verde);
  color: var(--blanco);
}

.boton--primario:hover {
  background: var(--verde-oscuro);
  border-color: var(--verde-oscuro);
  transform: translateY(-2px);
}

.boton--secundario {
  background: transparent;
  color: var(--verde-oscuro);
}

.boton--secundario:hover {
  background: var(--verde-muy-claro);
  transform: translateY(-2px);
}

/* ---------- Secciones ---------- */
.seccion {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
}

.seccion--gris {
  background: var(--gris-suave);
  max-width: none;
}

.seccion--gris > .contenedor {
  max-width: 1100px;
  margin: 0 auto;
}

.titulo-seccion {
  text-align: center;
  margin-bottom: 0.6rem;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  color: var(--verde-oscuro);
}

.subtitulo-seccion {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
  color: #5a6b62;
}

.intro-texto p {
  margin-bottom: 1.1rem;
  font-size: 1.08rem;
}

/* ---------- Grilla de tarjetas ---------- */
.grilla {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.tarjeta {
  background: var(--blanco);
  border: 1px solid var(--verde-muy-claro);
  border-radius: var(--radio);
  padding: 1.8rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tarjeta:hover {
  transform: translateY(-6px);
  box-shadow: var(--sombra);
}

.tarjeta__icono {
  font-size: 2.2rem;
  margin-bottom: 0.7rem;
  display: block;
}

.tarjeta h3 {
  color: var(--verde-oscuro);
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

/* ---------- Franja de datos ---------- */
.datos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  text-align: center;
  margin-top: 2rem;
}

.dato__numero {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--verde);
  line-height: 1;
}

.dato__etiqueta {
  color: #5a6b62;
  margin-top: 0.4rem;
}

/* ---------- Lista con check ---------- */
.lista-check {
  list-style: none;
  margin-top: 1.5rem;
  display: grid;
  gap: 0.8rem;
}

.lista-check li {
  position: relative;
  padding-left: 2rem;
  font-size: 1.05rem;
}

.lista-check li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  width: 1.4rem;
  height: 1.4rem;
  background: var(--verde-medio);
  color: var(--blanco);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

/* ---------- Bloque destacado ---------- */
.destacado {
  background: linear-gradient(135deg, var(--verde-oscuro), var(--verde-medio));
  color: var(--blanco);
  border-radius: var(--radio);
  padding: 2.5rem;
  text-align: center;
  margin-top: 2rem;
}

.destacado h2 {
  font-size: 1.7rem;
  margin-bottom: 0.6rem;
}

.destacado .boton--primario {
  background: var(--blanco);
  color: var(--verde-oscuro);
  border-color: var(--blanco);
  margin-top: 1.2rem;
}

.destacado .boton--primario:hover {
  background: var(--verde-muy-claro);
}

/* ---------- Cita ---------- */
.cita {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.35rem;
  font-style: italic;
  color: var(--verde-oscuro);
}

/* ---------- Formulario de contacto ---------- */
.formulario {
  max-width: 600px;
  margin: 2rem auto 0;
  display: grid;
  gap: 1.1rem;
}

.campo {
  display: grid;
  gap: 0.35rem;
}

.campo label {
  font-weight: 600;
  color: var(--verde-oscuro);
}

.campo input,
.campo textarea {
  padding: 0.8rem 1rem;
  border: 1px solid #cdd8d2;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.campo input:focus,
.campo textarea:focus {
  outline: none;
  border-color: var(--verde);
}

.datos-contacto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
  text-align: center;
}

.datos-contacto div span {
  font-size: 1.7rem;
  display: block;
  margin-bottom: 0.3rem;
}

/* ---------- Pie ---------- */
.pie {
  background: var(--verde-oscuro);
  color: #d8ecdb;
  text-align: center;
  padding: 2.5rem 1.5rem;
  margin-top: 2rem;
}

.pie img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 0.8rem;
}

.pie a {
  color: var(--verde-claro);
}

.pie__nota {
  margin-top: 1rem;
  font-size: 0.9rem;
  opacity: 0.8;
}
