/* ========== Global Styles ========== */
/* ========== Tipografías ========== */
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Bold.ttf') format('truetype');
  font-weight: bold;
}

/* ========== Reset y generales ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: #1a1a1a;
  background-color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ========== Contenedor común ========== */
.container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
}

.section {
  padding: 3rem 1rem;
  background-color: #ffffff;
}

.section h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  margin-bottom: 50px;
  color: #0f1f1f;
}

.section p {
  font-family: 'Montserrat', sans-serif;
  color: #333;
  font-weight: 100;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
}

/* ========== Header principal ========== */

.main-header {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.main-header-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr; /* dos columnas iguales */
  align-items: center;
}

.main-background {
  max-width: 25%;       /* máximo la mitad del contenedor */
  position: absolute;
  top: 30%;             /* centra verticalmente */
  right: 0;             /* alinea al lado derecho */
  transform: translateY(-50%); /* centra verticalmente respecto a su altura */
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;  /* oculta cualquier exceso de la imagen */
}

.left-main-background {
  height: 100%;
  max-width: 25%;       /* máximo la mitad del contenedor */
  position: absolute;
  top: 30%;             /* centra verticalmente */
  left: 0;             /* alinea al lado derecho */
}

.left-main-background img {
  width: 100%;
  height: 100%;
  object-fit: contain;    /* muestra toda la imagen */
  object-position: right; /* alineada al lado derecho de su columna */
  position: static;       /* importante: elimina absolute para que respete el grid */
}

.main-background img {
  width: 100%;
  height: 100%;
  object-fit: contain;    /* muestra toda la imagen */
  object-position: right; /* alineada al lado derecho de su columna */
  position: static;       /* importante: elimina absolute para que respete el grid */
}

.header-img {
  width: 100%;
  height: auto;
  display: block;
}

.container-header {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
  max-width: none;
  padding: 0;
}

.main-header h1 {
  font-size: 6em;
  font-weight: 950;
  line-height: 0.6;
  color: white;
  margin: 0;
}

.main-header h1 span {
  -webkit-text-stroke: none;
  text-stroke: none;
}

/* ========== Hero ========== */
.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: 3.2em;
  font-weight: 900;
  line-height: 1;
  text-align: left;
  display: inline-block;
}

.hero-line {
  display: block;
  margin: 0.3em 0;
  font-size: inherit;
  font-weight: inherit;
  font-family: 'Poppins', sans-serif;
}

.hero-line-1,
.hero-line-2 {
  color: white;
}

.hero-line-outline {
  color: transparent;
  -webkit-text-stroke: 1.5px #6dbf00;
  text-stroke: 1.5px #6dbf00;
}

/* ========== Sección Info Header ========== */
#info h1 {
  background-color: black;
  color: #74a600;
  display: inline-block;
  padding: 0.5rem 1rem;
  font-weight: bold;
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
}

#info h2 {
  padding-left: 15px;
  font-weight: 100;
  margin-top: 0.5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  letter-spacing: 0.03em;
}

/* ========== Sección Challenge ========== */
.challenge-grid {
  display: grid;
  grid-template-columns: 550px 1fr;
  gap: 2rem;
  margin-top: 2rem;
  align-items: flex-start;
  line-height: 1.3;
}

#challenge {
  min-height: unset;
  background: none;
}

.challenge-benefits {
  grid-column: 2;
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.benefit-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.benefit-text {
  flex: 1;
}

.benefit-icon img {
  width: 96px;
  height: 96px;
}

.chimney-bg {
  position: absolute;
  top: 160px;
  left: 1px;
  width: 550px;
  z-index: 0;
  pointer-events: none;
}

#challenge .container {
  position: relative;
  z-index: 1;
}

/* ========== Sección Solution ========== */
.solution-section {
    position: relative;
    background-image: url('https://arti-public-assets.s3.us-east-1.amazonaws.com/carbon-materials/Campesino.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #1a1a1a;
    padding: 285px 0;
    display: flex;
    align-items: center; /* centra verticalmente */
    justify-content: center; /* centra horizontalmente */
}

.solution-overlay {
    background-color: rgba(255, 255, 255, 0.6);
    color: #1a1a1a;
    padding: 40px 20px;
    max-width: 900px;
    text-align: left;
}

.solution-section .feature-list {
    margin-top: 60px;
    font-size: 1.1rem;
    font-weight: 100;
    line-height: 1.6;
}

.solution-section .feature-list li {
    margin-bottom: 15px;
    list-style: disc inside;
}

/* ========== Sección Impact ========== */
#impact h2, p {
  margin-bottom: 5px;
}

#impact p {
  font-size: 1.2rem;
  font-weight: 100;
  line-height: 1.6;
  color: #333;
}

.impact{
    margin-bottom: 250px;
}

.impact-table {
  position: absolute;
  top: 30px;
  left: -7px;
  width: 100%;
  z-index: 0;
  pointer-events: none;
}

#impact .container {
    position: relative;
}

/* ========== Sección Services ========== */
#services h2 {
  background-color: black;
  color: white;
  display: inline-block;
  padding: 0.1rem 0.5rem;
  margin-bottom: 3px;
}

#services p {
  padding-left: 10px;
  font-weight: 100;
}

.services-list {
  list-style: none;
  padding-left: 0;
  margin-top: 40px;
  margin-bottom: 40px;
}

.services-list li {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  color: #1a1a1a;
  font-weight: 100;
  margin-bottom: 20px;
  line-height: 0.5;
}

.services-list .highlight {
  color: #74a600;
  font-weight: 700;
}

.services-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  gap: 30px;
}

/* ========== Sección Call To Action ========== */
.cta-section {
  position: relative;
  background-image: url('https://arti-public-assets.s3.us-east-1.amazonaws.com/carbon-materials/Imagen-Biochar.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 180px 0;
}

.cta-barriers h2 {
  margin-bottom: 40px;
  color: #ffffff;
}

.cta-barriers p {
  margin-bottom: 40px;
  color: #ffffff;
}

#call-to-action h2{
  color: #74a600;
  margin-bottom: 3px;
}

#cta-info{
  background-color: white;
  color: black!important;
  display: inline-block;
  padding: 0.1rem 0.5rem;
}

.barriers-list {
  list-style: disc;
  font-size: 1.1rem;
  font-weight: 100;
  line-height: 1.6;
  margin-left: 90px;

}

.barriers-list li {
  margin-bottom: 20px;
  color: white;
}

.barriers-list ul {
  list-style: circle;
  margin-left: 40px;
  margin-top: 10px;
}

/* ========== PDF Button ========== */

.pdf-button-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
}

.pdf-button-wrapper .pdf-button {
  grid-column: 1;         /* coloca el botón en la primera columna */
  justify-self: center;   /* centra horizontalmente dentro de la primera columna */
}

.pdf-button {
  display: inline-flex; 
  align-items: center; 
  gap: 8px;
  padding: 12px 25px;
  border: 1px solid white;
  text-decoration: none;
  color: white;
  font-weight: 100;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
  text-align: center;
}

.pdf-button img {
  height: 20px;
}

.pdf-button:hover {
  background-color: white;
  color: black;
}

.pdf-button:hover img {
  filter: brightness(0%) contrast(100%);
}

/* ========== Sección Next Steps ========== */
.nxt-steps {          /* centra verticalmente ambos lados */
  position: relative;
  width: 100%;
  background: #74a600;
}

.nxt-steps img{
  height: 500px!important; /* asegura que la imagen ocupe el 100% de la altura del contenedor */
}

.nxt-steps-grid{
  display: grid;
  grid-template-columns: 1fr 1fr; /* dos columnas iguales */
  align-items: center;  
  padding-bottom: 40px;
}

.nxt-steps-background {
  height: 100%;
  max-width: 50%;       /* máximo la mitad del contenedor */
  position: absolute;
  top: 40%;             /* centra verticalmente */
  right: 0;             /* alinea al lado derecho */
  transform: translateY(-50%); /* centra verticalmente respecto a su altura */
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;  /* oculta cualquier exceso de la imagen */
}

.nxt-steps-background img {
  width: 100%;
  height: 100%;
  object-fit: contain;    /* muestra toda la imagen */
  object-position: right; /* alineada al lado derecho de su columna */
  position: static;       /* importante: elimina absolute para que respete el grid */
}

.nxt-steps-overlay {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* alinea el contenido al inicio horizontalmente */
  height: 100%;
  position: relative;
  z-index: 2;
}

.nxt-steps-title {
  position: absolute;
  top: 0%;
  transform: translate(0, -50%);
  text-transform: uppercase;
  font-size: 8rem;
  display: flex;
  align-items: flex-start; /* asegura alineación vertical */
  justify-content: flex-start; /* asegura alineación horizontal */
  gap: 0; /* elimina espacios inesperados */
}

.nxt-steps-title span {
  margin-left: -7px;
  display: block; /* cada palabra en bloque para alinear como columnas */
}

.nxt-text-solid {
  background: linear-gradient(
      to bottom,
      white 50%,                                 /* Mitad superior: blanco */
      transparent 50%                            /* Mitad inferior: deja ver la imagen */
    ),
    url('https://arti-public-assets.s3.us-east-1.amazonaws.com/carbon-materials/Imagen-Biochar.jpg'); /* Imagen para la mitad inferior */
  background-size: cover;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  color: transparent;
}

.nxt-text-outline {
  color: rgba(255, 255, 255, 0.8);
}

.nxt-steps-content {
  padding: 60px 0px 0px 0px;
  z-index: 3;
}

.nxt-steps-content p {
  font-size: 1.6rem;
  margin-bottom: 20px;
}

/* ========== Call To Action Button ========== */
.cta-button-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  padding-bottom: 30px;
}

.cta-button-wrapper .cta-button {
  grid-column: 1;         /* coloca el botón en la primera columna */
  justify-self: center;   /* centra horizontalmente dentro de la primera columna */
}

.cta-button {
  display: inline-block;
  padding: 12px 25px;
  border: 1px solid black;
  text-decoration: none;
  color: black;
  font-weight: 100;
  border-radius: 20px;
  transition: background-color 0.3s, color 0.3s;
  text-align: center;
}

.cta-button:hover {
  background-color: black;
  color: white;
}

/* ========== Referencias ========== */
.main-footer {
  background-color: #f2f2f2;
  text-align: center;
  padding: 4rem 1rem;
  font-size: 0.9rem;
}

.references-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.references-title {
  flex: 1 1 200px;
  padding-top: 80px;
}

.references-title h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 6rem;
  letter-spacing: 0.09em;
  line-height: 0.9;
  text-align: left;
}

.references-title .solid {
  color: #0f1f1f;
  display: block;
}

.references-title .outline {
  color: transparent;
  -webkit-text-stroke: 1.5px #0f1f1f;
  text-stroke: 1.5px #0f1f1f;
  display: block;
}

.references-list {
  flex: 2 1 600px;
}

.references-list ul {
  list-style: disc;
  padding-left: 20px;
  text-align: left;
}

.references-list li {
  margin-bottom: 10px;
  font-size: 1.2rem;
  letter-spacing: 0.03em;
  font-weight: 100;
  color: #333;
}

.references-list a {
  color: #74a600;
  text-decoration: none;
}

.references-list a:hover {
  text-decoration: underline;
}

/* ========== Media Queries ========== */

@media (max-width: 1075px) {
.services-list li {
    line-height: 1;
    margin-bottom: 10px;
}
  
}

@media (max-width: 1050px), (max-width: 900px), (max-width: 768px) {

  .main-header h1 {
    font-size: 3em;
    line-height: 0.8;
  }
 
  .chimney-bg {
    width: 100%;
  }
  .hero-line {
    font-size: 1.5em;
  }
  .references-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .references-title h2 {
    font-size: 4rem;
  }
  .references-list {
    text-align: left;
    flex: 2 1 450px;
    padding: 30px;
  }
  .challenge-grid {
    grid-template-columns: 1fr;
    gap: 0px;
    margin-top: 2rem;
  }
  .challenge-benefits {
    margin-top: 500px;
  }
  .solution-section {
    padding: 150px 0;
    height: 450px;
    margin-bottom: 600px;
  }
  .solution-overlay {
    height: 0;
    background-color: transparent;
    margin-top: 500px;
  }
  .impact {
    margin-bottom: 150px;
  }
  .cta-section {
    padding-top: 60px;
  }
  .services-list li {
    line-height: 1.3;
  }
  .references-title h2 {
    font-size: 12rem;
  }
  .nxt-steps-title {
    font-size: 4rem;
  }
  .cta-button {
    text-align: center;
  }
  .cta-button-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .pdf-button-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
@media (max-width: 1050px) {
  .challenge-benefits {
    margin-top: 650px;
  }
  .challenge-grid {
    margin-top: 10rem;
  }
  .impact {
    margin-bottom: 210px;
  }
}

@media (max-width: 900px) {
  .main-header h1 {
    font-size: 2em;
    line-height: 0.8;
  }
  .challenge-benefits {
    margin-top: 500px;
  }
  .challenge-grid {
    margin-top: 10rem;
  }
}

@media (max-width: 768px) {
  .challenge-benefits {
    margin-top: 500px;
  }
  .challenge-grid {
    margin-top: 8rem;
  }
}

@media (max-width: 530px) {
  .chimney-bg {
      top: 400px;
  }
  .challenge-grid {
    margin-top: 8rem;
  }
  .challenge-benefits {
    margin-top: 300px;
  }
}

@media (max-width: 480px) {

  .section h2 {
    font-size: 1.2rem;
    margin-bottom: 5px;
  }

  .section p {
    font-size: 1rem;
  }
  .hero-title {
    font-size: 1.2em;
    text-align: center;
  }
  .main-header h1 {
    font-size: 1.5em;
  }
  .hero-title {
    font-size: 2em;
  }
  .chimney-bg {
    top: 200px;
  }
  .challenge-benefits {
    margin-top: 300px;
  }

  .challenge-grid {
    margin-top: 3rem;
  }

  #info h1 {
    font-size: 1.5rem;
  }

  #info h2 {
    font-size: 1.2rem
  }

  .services-icons {
    justify-content: center;
}

  .nxt-steps-background {
    top: 60%;
  }
  .nxt-steps-content {
    padding: 30px 0px 0px 0px;
    z-index: 3;
  }
  .nxt-steps-content p {
    font-size: 1rem;
  }
  .barriers-list {
    margin-left: 20px;
  }
  .services-list li {
    font-size: 1rem;
  }
  .solution-section {
    padding: 70px 0;
    height: 260px;
    margin-bottom: 800px;
  }
  .impact-table {
    position: absolute;
    top: 130px;
    left: -7px;
    width: 100%;
    z-index: 0;
    pointer-events: none;
  }
  #services h2 {
    font-size: 1.2rem;
  }

  .impact {
    margin-bottom: 50px;
  }
  .cta-section{
    padding: 50px 0;
  }
  .nxt-steps-title {
      font-size: 3rem;
  }
  .references-title h2 {
    font-size: 6rem;
  }
}