@charset "UTF-8";
body {
  overflow-x: visible !important;
}

body.overflow {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

.anchor-nav {
  background-color: #f5f5f5;
  border-left: 4px solid #2ab20b;
  padding: 18px 22px;
  margin: 30px 0;
}
@media (max-width: 768px) {
  .anchor-nav {
    padding: 15px 18px;
    margin: 20px 0;
  }
}
.anchor-nav__label {
  font-family: "Rubik", sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
@media (max-width: 768px) {
  .anchor-nav__label {
    font-size: 13px;
    margin-bottom: 10px;
  }
}
.anchor-nav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 768px) {
  .anchor-nav__links {
    gap: 8px;
  }
}
.anchor-nav__link {
  display: inline-block;
  padding: 8px 16px;
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-family: "Rubik", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  transition: all 0.2s ease;
}
@media (max-width: 768px) {
  .anchor-nav__link {
    padding: 7px 12px;
    font-size: 14px;
  }
}
.anchor-nav__link:hover {
  background-color: #2ab20b;
  border-color: #2ab20b;
  color: #fff;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 80px;
}

.number-3 {
  font-family: "Rubik", sans-serif !important;
  font-weight: 700;
  font-size: clamp(36px, 20px + 3.2vw, 64px) !important;
  color: #2ab20b;
  line-height: 1.1;
  display: block;
  margin-bottom: 10px;
}

.dato-subtitulo {
  display: block;
  font-weight: bold;
  font-size: clamp(1.1rem, 0.7rem + 1vw, 2rem);
  color: #2ab20b;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.dato-descripcion {
  font-weight: bold;
  font-size: clamp(0.95rem, 0.6rem + 0.7vw, 1.5rem);
  color: #000;
  line-height: 1.2;
  margin-top: 0.5rem;
}

.datos-destacados-row {
  display: flex;
  flex-wrap: wrap;
  margin: 2rem 0;
}
@media (max-width: 991px) {
  .datos-destacados-row .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 1.5rem;
  }
}

.caja_destacado_full {
  background: #e1dedb;
  max-width: 750px;
  padding: 20px;
  margin: 30px auto;
  width: 100%;
  font-size: 1.1rem;
  border-radius: 4px;
}
@media (max-width: 768px) {
  .caja_destacado_full {
    padding: 15px;
    font-size: 1rem;
    margin: 20px auto;
  }
}
.caja_destacado_full h5, .caja_destacado_full h6 {
  margin-top: 0;
  margin-bottom: 15px;
  color: #333;
}
.caja_destacado_full p {
  margin-bottom: 10px;
}
.caja_destacado_full p:last-child {
  margin-bottom: 0;
}

/* Estilos específicos para el Scrollytelling del Olivar */
#scrolly-wrapper {
  position: relative;
  padding: 0;
  margin-top: 80px;
  margin-bottom: 20px;
}

#scrolly-sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
}

#scrolly-chart {
  width: 100%;
  max-width: 900px;
  height: 500px;
}

#scrolly-article {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding: 0 20px;
  z-index: 1;
  margin-top: -30vh;
  margin-bottom: 0;
}

.step {
  margin-bottom: 70vh;
  min-height: auto;
  background-color: rgba(255, 255, 255, 0.95);
  border: 1px solid #eee;
  padding: 20px;
  opacity: 1;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.step:last-child {
  margin-bottom: 10vh;
}
.step.is-active {
  background-color: #fff;
  opacity: 1;
  transform: scale(1.02);
}
.step p {
  margin: 0;
  font-size: 1rem;
}

/* Ajustes para móvil */
@media (max-width: 768px) {
  #scrolly-chart {
    height: 350px;
  }
  #scrolly-article {
    width: 90%;
    margin-top: -20vh;
  }
  .step {
    margin-bottom: 60vh;
    opacity: 1;
  }
}
.gp-olivar-leyenda {
  display: block;
  margin-bottom: 8px;
  font-style: normal;
  font-size: 1em;
  color: #333;
}

.gp-olivar-leyenda-color {
  width: 0.9em;
  height: 0.9em;
  display: inline-block;
  margin-left: 1em;
}
.gp-olivar-leyenda-color--nuevo {
  background: #388036;
}
.gp-olivar-leyenda-color--anterior {
  background: #d9d97d;
}
