/* ==========================================================================
   NP Forestal — Base & Design Tokens
   Reconstrucción limpia (reemplaza Elementor). Paleta y tipografía extraídas
   del kit global original del sitio.
   ========================================================================== */

:root {
  /* Colores de marca */
  --color-verde-bosque: #2F4C3D;   /* accent — color principal */
  --color-verde-oscuro: #273322;   /* fondos oscuros */
  --color-esmeralda:    #00A680;   /* acento secundario */
  --color-naranja:      #F17343;   /* CTA / botones */
  --color-naranja-soft: #FFBC7D;

  /* Neutros */
  --color-titulo:   #373737;
  --color-texto:    #747474;   /* body real del original (rgb 116,116,116) */
  --color-texto-2:  #656565;
  --color-borde:    #E7E7E7;
  --color-fondo:    #FFFFFF;
  --color-fondo-2:  #FCFCFC;
  --color-negro:    #000000;
  --color-blanco:   #FFFFFF;

  /* Tipografía */
  --font-titulo: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-ui:     "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* La original NO usa Roboto: cae al stack del sistema (San Francisco en Mac).
     Se replica exacto para que el texto de párrafos y listas se vea igual. */
  --font-texto:  -apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  /* Layout */
  --max-width: 1160px;
  --gutter: 1.25rem;
  --radius: 8px;
  --header-h: 99px;

  /* Sombras */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .08);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, .10);
}

/* --- Reset moderno --------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

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

body {
  font-family: var(--font-texto);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-texto);
  background: var(--color-fondo);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2 {
  font-family: var(--font-titulo);
  color: var(--color-titulo);
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -1.5px;
}
h3, h4 {
  font-family: var(--font-texto);
  color: var(--color-titulo);
  line-height: 1.25;
  font-weight: 500;
}

a { color: inherit; text-decoration: none; }

ul { list-style: none; padding: 0; }

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

.section {
  padding-block: 80px;
}

.section--dark {
  background: var(--color-verde-oscuro);
  color: rgba(255, 255, 255, .85);
}
.section--dark h2,
.section--dark h3 { color: var(--color-blanco); }

.section--alt { background: var(--color-fondo-2); }

.section__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  text-align: center;
  margin-bottom: .5rem;
}

.section__subtitle {
  text-align: center;
  max-width: 60ch;
  margin: 0 auto 2.5rem;
}

/* --- Botones --------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 20px 40px;
  font-weight: 700;
  font-family: var(--font-ui);
  font-size: 13px;
  line-height: 13px;
  letter-spacing: 3.4px;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  border: 0;
  transition: transform .15s ease, filter .2s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }

.btn--emerald { background: var(--color-esmeralda); }
.btn--orange  { background: var(--color-naranja); }

/* Respeta a quienes prefieren menos movimiento */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
