/* ===== General Reset & Base ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
}

body {
  font-family: 'Arial', sans-serif;
}

.container {
  width: 90%;
  max-width: 1300px;
  margin: 0 auto;
}

/* ===== Banner/Header Section ===== */
.banner {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.banner-bg {
  width: 100%;
  height: auto;
  object-fit: cover; /* o 'contain' si prefieres mostrar toda la imagen sin recorte */
  display: block;
}

.hand-img {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 75%;
  max-height: 100%;
  z-index: 1;
}

.header-main-text {
  position: absolute;
  top: 30%;
  right: 10%;
  color: white;
  text-align: right;
  z-index: 2;
  padding: 0 20px;
}

.header-main-text h1 {
  font-size: 6.5rem;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
}

.plant-icon {
  position: absolute;
  bottom: 30px;
  right: 30px;
  width: 180px;
  z-index: 2;
}

/* ===== Section Base Styles ===== */
.section {
  padding: 0rem 2rem 2rem 2rem;
  font-family: sans-serif;
  background-color: #fff;
}

.section h2 {
  font-size: 1.8rem;
  font-weight: 700;
}

.section .highlight {
  background-color: #89c540;
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin-top: 50px;
}

.section p {
  margin-top: 1rem;
  font-size: 1.5rem;
  line-height: 1.6;
}

.section .content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

/* ===== Challenge Section ===== */
#challenge-section .hg-text {
  padding: 5px 10px 5px 50px;
}

#challenge-section .left {
  flex: 1 1 400px;
}

#challenge-section .right {
  flex: 1 1 300px;
  text-align: center;
}

#challenge-section .right img {
  max-width: 100%;
  height: auto;
}

#challenge-section .badge {
  position: absolute;
  color: black;
  font-size: 6rem;
  border-radius: 2px;
}

/* ===== Solution Section ===== */


#solution .badge {
  position: absolute;
  color: white;
  font-size: 6rem;
  border-radius: 2px;
  text-shadow:
    -1px -1px 0 #000,  
    1px -1px 0 #000,
    -1px 1px 0 #000,
    1px 1px 0 #000;
}

#solution .hg-text {
  padding: 5px 10px 5px 70px;
}

#solution p {
  text-align: right;
}

#solution .left {
  flex: 1 1 40%;
  min-width: 280px;
}

#solution .right {
  flex: 1 1 50%;
  min-width: 300px;
}


.solution-img{
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* ===== Evidence Section ===== */
section#evidence-impact.section {
  background: url('https://arti-public-assets.s3.us-east-1.amazonaws.com/soil-amendment/Siembra.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 250px 0;
}

#evidence-impact .badge {
  position: absolute;
  font-size: 7rem;
}

#evidence-impact .hg-text {
  color: black;
  padding: 5px 10px 5px 70px;
}

#evidence-impact p {
  color: white;
}

#evidence-impact .highlight {
  background-color: white;
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}

.badge-stripe {
  position: relative;
  color: transparent;
  -webkit-text-stroke: 2px white;
  font-size: 6rem;
  font-weight: bold;
  display: inline-block;
}

.badge-stripe::after {
  content: '3';
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  text-align: center;
  color: #89c540;
  clip-path: inset(40% 0 40% 0); /* ajusta el grosor de la franja */
  -webkit-text-stroke: 0;
}

.table-container {
  width: 100%;
  overflow-x: auto;
  margin-top: 1rem;
}

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

  .text-right-aligned {
    text-align: right;
    margin-left: auto;
    max-width: 1000px;
  }


  #graphic-evidence h1{
    font-size: 3.2rem;
    font-weight: 500;
    margin-bottom: 1rem;
    margin-top: 15px;
    text-align: justify;
  }

  .graphic-evidence-img{
    width: 100%;
  }

  .support-img{
    width: 100%;
  }



/* ===== Support Section ===== */

#support .support-text {
  padding: 20px;
  background-color: black;
}

#support .support-text-wrapper{
  color: white;
  display: inline-flex;
  gap: 0.5em;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  position: relative;
}

.bordered-number {
  position: absolute;
  left: 0;
  top: 53px;
  transform: translateY(-60%);
  font-size: 12rem;
  color: transparent;
  -webkit-text-stroke: 2px #89c540;
  font-weight: 800;
  z-index: 0;
}

.support-text-shadow {
  color: white;
  font-size: 2rem;
  font-weight: 500;
}

.support-text-title{
  padding-left: 150px;
}

.section-support{
  padding: 0 !important;
  margin: 0;
}

#support .text-clip {
  color: white;
  font-size: 2rem;
  font-weight: 500;
  position: relative;
  z-index: 2;
  text-align: end;
}


/* ===== Support Section Two-Column Layout ===== */
#support .support-grid {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 20px;
  padding-top: 20px;
  margin-top: 30px;
}

#support h3 {
  margin-top: 20px;
  font-size: 2rem;
  padding: 10px;
  background-color: black;
  color: white;
  display: inline-block;
}

#support ul{
  margin-top: 30px;
  padding-left: 80px;
}
#support .highlight-green-bold {
  color: #89c540;
  font-weight: bold;
}
#support .subtext-gray{
  padding-left: 30px;
  color: #808080;
  font-size: 0.9rem;
}


@media (max-width: 768px) {
  #support .text-shadow {
    font-size: 4rem;
    left: 10px;
  }

  #support .text-clip {
    font-size: 1.25rem;
    padding-top: 60px;
  }
}



/* ===== Barriers Section ===== */
section#barriers-mitigations {
  background: url('https://arti-public-assets.s3.us-east-1.amazonaws.com/soil-amendment/Fondo-BPU.png');
  color: white;
  background-position: bottom;
  background-size: cover;
  margin-top: 6rem;
  position: relative;
  padding-bottom: 12rem;
}

.text-wrapper {
  position: relative;
  display: inline-block;
  top: 0;
  transform: translateY(-50%);
  font-size: 4rem;
  font-weight: 900;
  font-family: 'Montserrat', sans-serit;
}

.text-shadow {
  position: absolute;
  top: 0;
  left: 0;
  color: transparent;
  -webkit-text-stroke: 1px white;
  z-index: 1;
  pointer-events: none;
  line-height: 1;
}

.text-clip {
  position: relative;
  background: linear-gradient(to bottom, #80a734 50%, transparent 50%);
  -webkit-background-clip: text;
  color: transparent;
  z-index: 2;
  pointer-events: none;
  line-height: 1;
}

section#barriers-mitigations .barrier h3 {
  background: white;
  color: black;
  font-weight: 400;
  width: fit-content;
  padding: 6px 6px 6px 0px;
  position: relative;
}

section#barriers-mitigations .barrier h3::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100vw;
  height: 100%;
  width: 100vw;
  background: white;
}

p.solution-label {
  margin: 0;
  padding: 0;
  color: #80a734 !important;
  text-align: left !important;
  font-weight: 600;
}

.barrier p {
  padding: 0;
  margin: 0;
  text-shadow: 1px 1px #000000b8;
  text-align: center;
  padding-left: 30px;
}

.barrier-data {
  padding: 15px;
}

/* ===== Call to Action Section ===== */
section#call-action {
  background: #7fa733;
}

section#call-action .container {
  position: relative;
  margin-top: -81px;
}

section#call-action .container::before {
  width: 460px;
  height: 436px;
  content: " ";
  position: absolute;
  left: 0;
  top: 0;
  background: url(https://arti-public-assets.s3.us-east-1.amazonaws.com/soil-amendment/Nro-6.png);
  background-size: 141%;
  background-repeat: no-repeat;
  background-position: top;
  transform: translate(-52px, -101px);
}

.call-to-action {
  padding-left: 367px;
}

.call-to-action h2 {
  color: white;
  font-size: 4rem;
}

.call-to-action p {
  font-size: 1.2rem;
  line-height: 1.2;
}

.next-steps {
  margin-top: 1rem;
  color: white;
}

.next-steps h3 {
  font-size: 2rem;
}

button.discover {
  background: white;
  border: 1px solid black;
  padding: 15px 9px;
  border-radius: 15px;
  font-size: 1rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  color: black;
}

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

button.discover:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.2);
}

button.discover:active {
  transform: scale(0.98);
  background: #333;
  border-color: #333;
}

button.discover:disabled {
  background: #e0e0e0;
  border-color: #ccc;
  color: #888;
  cursor: not-allowed;
}

.external-btn {
  margin-top: 30px;
  text-align: center;
}

/* ===== References Section ===== */
#references {
  background: url('https://arti-public-assets.s3.us-east-1.amazonaws.com/soil-amendment/Fondo-References.png');
  color: black;
  font-family: 'Inter', sans-serif;
  background-size: cover;
  background-position: center;
  margin-top: 21px;
}

.references-container {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 40px 20px;
}

.vertical-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 7.021rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  opacity: 0.5;
  color: #00000000;
  -webkit-text-stroke: 2px #000000;
}

.references-list {
  max-width: 800px;
}

.references-list p {
  margin-bottom: 20px;
  line-height: 1.5;
  font-size: 1.1rem;
}

.references-list a {
  color: white;
  text-decoration: none;
}

/* ===== Responsive Media Queries ===== */
@media (max-width: 1024px) {
  .header-main-text h1 {
    font-size: 2.8rem;
  }

  .plant-icon {
    width: 60px;
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 768px) {
  .header-main-text h1 {
    font-size: 2.2rem;
  }

  .plant-icon {
    width: 50px;
  }

  .hand-img {
    height: auto;
    width: 50%;
  }

  section#call-action .container::before {
    width: 280px;
    height: 260px;
    transform: translate(-98px, -35px);
    background-size: contain;
  }

  .call-to-action {
    padding-left: 0;
    padding-top: 165px;
  }

  section#call-action .container {
    margin-top: -44px;
  }

  .call-to-action h2 {
    font-size: 1.6rem;
  }

  .call-to-action p,
  .call-to-action .next-steps p {
    font-size: 1rem;
  }

  .call-to-action .external-btn {
    text-align: center;
    margin-top: 20px;
  }

  .call-to-action button.discover {
    width: 100%;
    font-size: 1rem;
    padding: 12px 0;
  }

  .references-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 15px;
  }

  .vertical-label {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: left;
  }

  .references-list {
    max-width: 100%;
  }

  .references-list p {
    font-size: 1rem;
    margin-bottom: 16px;
  }

  .references-list a {
    font-size: 0.95rem;
    display: inline-block;
    word-break: break-word;
  }
}

@media (max-width: 480px) {
  .header-main-text h1 {
    font-size: 1.8rem;
  }

  .plant-icon {
    width: 40px;
    bottom: 15px;
    right: 15px;
  }

  .hand-img {
    width: 60%;
  }
}