/* ==========================================================================
   ABG Recycling Group · Hoja de estilos principal
   Orden: variables · reset · utilidades · layout · componentes · secciones
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Variables
   -------------------------------------------------------------------------- */
:root {
  /* Marca */
  --green-dark: #0a5228;
  --green: #0e6b34;
  --green-mid: #34a24a;
  --lime: #86c540;
  --blue: #17a2d8;
  --blue-deep: #0e86b8;

  /* Neutros */
  --ink: #1c2a20;
  --ink-soft: #314236;
  --muted: #5b6b5e;
  --muted-light: #8a988c;
  --line: #e2ece3;
  --line-soft: #eef4ee;
  --surface: #ffffff;
  --surface-alt: #f3f8f3;

  /* Sobre fondo oscuro */
  --on-dark: #ffffff;
  --on-dark-soft: #dcebdd;
  --on-dark-muted: #b9d4bb;

  /* Tipografía */
  --font-display: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Métricas */
  --container: 1240px;
  --gutter: clamp(18px, 4vw, 40px);
  --section-y: clamp(72px, 10vw, 120px);
  --header-h: 102px;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Sombras */
  --shadow-sm: 0 8px 24px rgba(14, 107, 52, 0.06);
  --shadow: 0 16px 44px rgba(14, 107, 52, 0.1);
  --shadow-lg: 0 30px 70px rgba(14, 107, 52, 0.2);

  /* Transiciones */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* --------------------------------------------------------------------------
   2. Reset y base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.14;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--green);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--blue);
}

input,
textarea,
button,
select {
  font-family: inherit;
  font-size: inherit;
}

::selection {
  background: var(--lime);
  color: var(--green-dark);
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   3. Utilidades
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
}

.section--tinted {
  background: var(--surface-alt);
  border-block: 1px solid #e9f1e9;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.eyebrow {
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 14px;
}

.eyebrow--light {
  color: var(--lime);
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
}

.section-lead {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.65;
  margin-top: 20px;
}

.gradient-text {
  background: linear-gradient(100deg, var(--lime), #39d0f0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--green);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 700;
}

.skip-link:focus {
  left: 0;
  color: #fff;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Animación de entrada al hacer scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   4. Botones
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background 0.25s ease,
    transform 0.25s var(--ease),
    box-shadow 0.25s ease,
    color 0.2s ease;
}

.btn--primary {
  background: linear-gradient(120deg, var(--green), var(--green-mid));
  color: #fff;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(14, 107, 52, 0.28);
}

.btn--primary:hover {
  background: linear-gradient(120deg, var(--green-dark), var(--blue));
  color: #fff;
  transform: translateY(-2px);
}

.btn--light {
  background: #fff;
  color: var(--green-dark);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.btn--light:hover {
  color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.26);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* --------------------------------------------------------------------------
   5. Encabezado y navegación
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226, 236, 227, 0.9);
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(14, 107, 52, 0.08);
}

.site-header.is-open {
  background: #fff;
}

.nav {
  max-width: var(--container);
  margin-inline: auto;
  padding: 12px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav__logo img {
  height: 78px;
  width: auto;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
}

.nav__link {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
  position: relative;
  padding-block: 4px;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--green), var(--lime));
  transition: width 0.25s var(--ease);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  width: 100%;
}

.nav__link.is-active {
  color: var(--green);
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 8px;
  flex-direction: column;
  gap: 5px;
}

.nav__toggle span {
  display: block;
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--green);
  transition:
    transform 0.3s var(--ease),
    opacity 0.2s ease;
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav__mobile {
  display: none;
  flex-direction: column;
  padding: 8px var(--gutter) 20px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.nav__mobile.is-open {
  display: flex;
}

.nav__mobile a:not(.btn) {
  padding: 13px 4px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid #f0f5f0;
}

.nav__mobile .btn {
  margin-top: 14px;
  padding: 14px;
}

@media (max-width: 900px) {
  :root {
    --header-h: 86px;
  }

  .nav__menu {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__logo img {
    height: 62px;
  }
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(
    115deg,
    var(--green-dark) 0%,
    var(--green) 42%,
    var(--blue-deep) 100%
  );
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  mix-blend-mode: luminosity;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(10, 82, 40, 0.92) 0%,
    rgba(14, 107, 52, 0.78) 45%,
    rgba(23, 162, 216, 0.55) 100%
  );
}

.hero__glow {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  top: -120px;
  right: -80px;
  background: radial-gradient(circle, rgba(134, 197, 64, 0.35), transparent 70%);
  animation: abg-pulse 9s ease-in-out infinite;
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: 96px;
}

.hero__content {
  max-width: 820px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.14);
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 26px;
}

.hero__badge span:last-child {
  color: #eaf6ea;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime);
  animation: abg-radar 1.8s ease-out infinite;
}

.hero__title {
  color: #fff;
  font-weight: 800;
  font-size: clamp(2.3rem, 5.4vw, 4.1rem);
  line-height: 1.06;
}

.hero__lead {
  color: var(--on-dark-soft);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.6;
  margin-top: 26px;
  max-width: 660px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 38px;
}

/* --------------------------------------------------------------------------
   7. Barra de estadísticas
   -------------------------------------------------------------------------- */
.stats {
  position: relative;
  z-index: 5;
  max-width: var(--container);
  margin: -52px auto 0;
  padding-inline: var(--gutter);
}

.stats__grid {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(14, 107, 52, 0.12);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  overflow: hidden;
}

.stat {
  padding: 30px 26px;
  text-align: center;
  border-right: 1px solid var(--line-soft);
}

.stat:last-child {
  border-right: none;
}

.stat__value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.6rem);
  line-height: 1.1;
  background: linear-gradient(120deg, var(--green), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.stat__label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  margin-top: 8px;
}

/* --------------------------------------------------------------------------
   8. Empresa · misión y visión
   -------------------------------------------------------------------------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.pillar {
  border-radius: var(--radius-lg);
  padding: clamp(30px, 4vw, 44px);
  position: relative;
  overflow: hidden;
}

.pillar::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
}

.pillar--dark {
  background: linear-gradient(150deg, var(--green), var(--green-dark));
  color: #fff;
}

.pillar--dark::before {
  background: rgba(134, 197, 64, 0.18);
}

.pillar--light {
  background: var(--surface-alt);
  border: 1px solid var(--line);
}

.pillar--light::before {
  background: rgba(23, 162, 216, 0.1);
}

/* Cards con imagen de fondo — el overlay garantiza el contraste del texto */
.pillar--photo {
  background-size: cover;
  background-position: center;
  color: #fff;
  min-height: 440px;
  display: flex;
  align-items: flex-end;
}

.pillar--photo::before {
  content: none;
}

.pillar--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Misión: tapas verdes → degradado vertical, imagen visible arriba y texto legible abajo */
.pillar--mission::after {
  background: linear-gradient(
    to bottom,
    rgba(11, 61, 34, 0.12) 0%,
    rgba(11, 61, 34, 0.38) 45%,
    rgba(9, 52, 29, 0.78) 78%,
    rgba(6, 40, 22, 0.94) 100%
  );
}

/* Visión: paisaje claro → mismo degradado en tono azul-verde */
.pillar--vision::after {
  background: linear-gradient(
    to bottom,
    rgba(10, 46, 66, 0.1) 0%,
    rgba(11, 52, 74, 0.36) 45%,
    rgba(10, 50, 70, 0.78) 78%,
    rgba(8, 40, 58, 0.94) 100%
  );
}

.pillar--photo .pillar__body {
  position: relative;
  z-index: 1;
}

.pillar--photo h3,
.pillar--photo p {
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.pillar--photo p {
  color: rgba(255, 255, 255, 0.92);
}

.pillar__body {
  position: relative;
}

.pillar__icon {
  width: 56px;
  height: 56px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}

.pillar--dark .pillar__icon {
  background: rgba(255, 255, 255, 0.14);
}

.pillar--light .pillar__icon {
  background: #fff;
  box-shadow: 0 6px 16px rgba(23, 162, 216, 0.16);
}

.pillar h3 {
  font-size: 1.5rem;
  font-weight: 700;
}

.pillar--light h3 {
  color: var(--green);
}

.pillar p {
  line-height: 1.7;
  margin-top: 16px;
  font-size: 1.02rem;
}

.pillar--dark p {
  color: var(--on-dark-soft);
}

.pillar--light p {
  color: #41544a;
}

/* --------------------------------------------------------------------------
   9. Tecnología
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}

.checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 32px;
}

.checklist--compact {
  gap: 12px;
  margin-top: 28px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 15px;
  color: var(--ink-soft);
  font-weight: 500;
  line-height: 1.4;
}

.checklist--compact li {
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  padding-block: 6px;
}

.check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--green-mid);
  display: grid;
  place-items: center;
}

.checklist--compact .check {
  margin-top: 0;
}

.figure {
  position: relative;
}

.figure__frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.4;
}

.figure__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.figure__badge {
  position: absolute;
  bottom: -22px;
  left: -22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 22px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 14px;
}

.figure__badge-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: linear-gradient(120deg, var(--green), var(--blue));
  display: grid;
  place-items: center;
}

.figure__badge-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--green);
}

.figure__badge-sub {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

@media (max-width: 560px) {
  .checklist {
    grid-template-columns: 1fr;
  }

  .figure__badge {
    left: 12px;
    bottom: -18px;
    padding: 14px 18px;
  }
}

/* --------------------------------------------------------------------------
   10. Materiales
   -------------------------------------------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(14, 107, 52, 0.14);
}

.card__media {
  height: 170px;
  overflow: hidden;
  position: relative;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.card:hover .card__media img {
  transform: scale(1.05);
}

.card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 82, 40, 0.5), transparent 60%);
}

.card__title {
  position: absolute;
  bottom: 14px;
  left: 18px;
  z-index: 2;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
}

.card__body {
  padding: 22px 24px 26px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}

.tag--light {
  background: rgba(255, 255, 255, 0.12);
  border-color: transparent;
  color: #eaf6ea;
  padding: 7px 15px;
}

.section-note {
  margin: 32px auto 0;
  max-width: 820px;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   11. Proceso
   -------------------------------------------------------------------------- */
.section--process {
  background: linear-gradient(160deg, var(--green-dark), var(--green));
  color: #fff;
  position: relative;
  overflow: hidden;
}

.section--process::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -80px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23, 162, 216, 0.22), transparent 70%);
}

.section--process .container {
  position: relative;
}

.section--process .section-lead {
  color: #cfe3d0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}

.step {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition:
    background 0.3s ease,
    border-color 0.3s ease;
}

.step:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(134, 197, 64, 0.5);
}

.step__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.6rem;
  line-height: 1;
  color: rgba(134, 197, 64, 0.85);
}

.step h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 16px;
}

.step p {
  color: #cfe3d0;
  line-height: 1.6;
  margin-top: 10px;
  font-size: 0.98rem;
}

/* --------------------------------------------------------------------------
   12. Productos · marquesina
   -------------------------------------------------------------------------- */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}

.marquee__track {
  display: flex;
  gap: 20px;
  width: max-content;
  padding-block: 8px;
  animation: abg-marquee 32s linear infinite;
}

.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track {
  animation-play-state: paused;
}

.product {
  flex: 0 0 auto;
  width: 220px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(14, 107, 52, 0.05);
  transition:
    border-color 0.2s ease,
    transform 0.25s var(--ease);
}

.product:hover {
  border-color: var(--lime);
  transform: translateY(-4px);
}

.product__icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border-radius: 16px;
  display: grid;
  place-items: center;
}

.product__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}

.product__tag {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 6px;
}

/* --------------------------------------------------------------------------
   13. Permisos
   -------------------------------------------------------------------------- */
.orgs-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 40px);
  box-shadow: 0 16px 44px rgba(14, 107, 52, 0.08);
}

.orgs-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--green);
}

.orgs-card > p {
  color: var(--muted);
  line-height: 1.65;
  margin-top: 14px;
  font-size: 0.98rem;
}

.orgs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 22px;
}

.orgs li {
  padding: 12px 16px;
  background: var(--surface-alt);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  line-height: 1.35;
}

.orgs abbr {
  text-decoration: none;
  border-bottom: 1px dotted var(--muted-light);
}

.disclaimer {
  color: var(--muted-light);
  font-size: 12.5px;
  line-height: 1.55;
  margin-top: 20px;
}

/* --------------------------------------------------------------------------
   14. FAQ
   -------------------------------------------------------------------------- */
.faq {
  max-width: 900px;
  margin-inline: auto;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.faq__question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
}

.faq__icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #eaf3eb;
  color: var(--green);
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    color 0.3s ease;
}

.faq__question[aria-expanded="true"] .faq__icon {
  transform: rotate(45deg);
  background: var(--green);
  color: #fff;
}

.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}

.faq__item.is-open .faq__answer {
  grid-template-rows: 1fr;
}

.faq__answer > div {
  overflow: hidden;
}

.faq__answer p {
  padding: 0 24px 24px;
  color: var(--muted);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   15. Contacto
   -------------------------------------------------------------------------- */
.section--contact {
  background: linear-gradient(160deg, var(--green-dark), var(--green) 60%, var(--blue-deep));
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(36px, 5vw, 56px);
}

.contact-info {
  color: #fff;
}

.contact-info .section-title {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
}

.contact-info__lead {
  color: var(--on-dark-soft);
  font-size: 1.08rem;
  line-height: 1.7;
  margin-top: 20px;
  max-width: 520px;
}

.contact-info .tags {
  gap: 10px;
  margin-top: 26px;
}

.contact-list {
  margin-top: 38px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  color: #fff;
}

a.contact-item:hover {
  color: var(--lime);
}

.contact-item__icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 0.25s ease;
}

a.contact-item:hover .contact-item__icon {
  background: rgba(255, 255, 255, 0.2);
}

.contact-item__label {
  display: block;
  font-size: 12px;
  color: var(--on-dark-muted);
  font-weight: 600;
}

.contact-item__value {
  font-size: 1.05rem;
  line-height: 1.5;
  max-width: 300px;
}

/* --------------------------------------------------------------------------
   16. Formulario
   -------------------------------------------------------------------------- */
.form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 40px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
}

.form-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green);
}

.form-card__subtitle {
  color: var(--muted);
  font-size: 14px;
  margin-top: 6px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.form__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}

.field__label .req {
  color: #c0392b;
}

.field input,
.field textarea {
  border: 1px solid #d8e4da;
  border-radius: 11px;
  padding: 13px 15px;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  width: 100%;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(52, 162, 74, 0.15);
}

.field.has-error input,
.field.has-error textarea {
  border-color: #d95c4a;
  box-shadow: 0 0 0 3px rgba(217, 92, 74, 0.12);
}

.field__error {
  font-size: 12.5px;
  color: #c0392b;
  font-weight: 600;
  min-height: 0;
}

.field--consent {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}

.field--consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--green);
}

.field--consent span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* Trampa para bots: invisible para personas, visible para scripts */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form__submit {
  background: linear-gradient(120deg, var(--green), var(--green-mid));
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 10px 26px rgba(14, 107, 52, 0.25);
  transition:
    background 0.25s ease,
    opacity 0.2s ease;
}

.form__submit:hover:not(:disabled) {
  background: linear-gradient(120deg, var(--green-dark), var(--blue));
}

.form__submit:disabled {
  opacity: 0.65;
  cursor: progress;
}

.alert {
  border-radius: 11px;
  padding: 14px;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  line-height: 1.5;
}

.alert--success {
  background: #eaf7ec;
  border: 1px solid #b8e6c2;
  color: var(--green);
}

.alert--error {
  background: #fdeeec;
  border: 1px solid #f2c2ba;
  color: #b03a28;
}

.alert[hidden] {
  display: none;
}

/* --------------------------------------------------------------------------
   17. Pie de página
   -------------------------------------------------------------------------- */
.site-footer {
  background: #08341a;
  color: #7da382;
}

.site-footer .container {
  padding-block: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  font-size: 13px;
}

.site-footer a {
  color: var(--lime);
  font-weight: 600;
}

.site-footer a:hover {
  color: #fff;
}

/* --------------------------------------------------------------------------
   18. Botón flotante de WhatsApp
   -------------------------------------------------------------------------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
  transform: translateY(80px);
  opacity: 0;
  transition:
    transform 0.35s var(--ease),
    opacity 0.35s ease,
    box-shadow 0.25s ease;
}

.wa-float.is-visible {
  transform: none;
  opacity: 1;
}

.wa-float.is-visible:hover,
.wa-float.is-visible:focus-visible {
  transform: scale(1.08);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
}

/* --------------------------------------------------------------------------
   19. Página de error
   -------------------------------------------------------------------------- */
.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: var(--section-y);
}

.error-page__code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 14vw, 8rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(120deg, var(--green), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* --------------------------------------------------------------------------
   20. Animaciones
   -------------------------------------------------------------------------- */
@keyframes abg-pulse {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.06);
  }
}

@keyframes abg-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes abg-radar {
  0% {
    box-shadow: 0 0 0 0 rgba(134, 197, 64, 0.6);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(134, 197, 64, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(134, 197, 64, 0);
  }
}

/* --------------------------------------------------------------------------
   21. Accesibilidad · movimiento reducido
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   22. Impresión
   -------------------------------------------------------------------------- */
@media print {
  .site-header,
  .wa-float,
  .hero__glow,
  .marquee,
  .form-card {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
