/* Sistema de diseño nuevo para páginas internas (Nosotros, Agricultura,
   Ganadería, Hotelería, Capitalizaciones, Gestión Ambiental).
   Reutiliza la paleta y tipografía definidas en navbar.css (:root). */

body{
  font-family: 'Karla', sans-serif;
  color: var(--ink, #241A12);
  background: var(--cream);
}

h1, h2, h3, h4{
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--earth);
  margin: 0;
  letter-spacing: -0.01em;
}

p{
  text-align: justify;
  text-justify: inter-word;
}

main{
  padding-top: 104px;
}

.wrap{
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
}

.band-label{
  font-size: 13.5px;
  font-family: 'Karla', sans-serif;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #7A6A54;
  margin-bottom: 6px;
}

.link{
  display: inline-block;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--rust);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.link:hover{
  border-bottom: 1px solid var(--rust);
}

/* ---------- PAGE HERO (banner de cada página interna) ---------- */

.page-hero{
  position: relative;
  height: 46vh;
  min-height: 320px;
  overflow: hidden;
}

.page-hero-bg{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 120'%3E%3Cg fill='white'%3E%3Ccircle cx='14' cy='14' r='6'/%3E%3Ccircle cx='36' cy='14' r='6'/%3E%3Ccircle cx='14' cy='36' r='6'/%3E%3Ccircle cx='36' cy='36' r='6'/%3E%3Ccircle cx='58' cy='36' r='6'/%3E%3Ccircle cx='14' cy='58' r='6'/%3E%3Ccircle cx='36' cy='58' r='6'/%3E%3Ccircle cx='58' cy='58' r='6'/%3E%3Ccircle cx='80' cy='58' r='6'/%3E%3Ccircle cx='14' cy='80' r='6'/%3E%3Ccircle cx='36' cy='80' r='6'/%3E%3Ccircle cx='58' cy='80' r='6'/%3E%3Ccircle cx='14' cy='102' r='6'/%3E%3Ccircle cx='36' cy='102' r='6'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 40px top 20px;
  background-size: 90px 108px;
  opacity: .5;
}

.page-hero::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(20,14,9,.92) 0%, rgba(20,14,9,.6) 45%, rgba(20,14,9,.25) 100%);
}

.page-hero-content{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 40px 44px;
  z-index: 1;
}

.page-hero-content .wrap{
  padding: 0;
}

.page-hero-icon{
  position: absolute;
  top: 28px;
  right: 40px;
  width: 210px;
  height: 210px;
  z-index: 2;
  filter: brightness(0) invert(1);
  opacity: .92;
}

.page-hero .band-label{
  color: #FBD9AE;
  font-weight: 700;
  text-shadow: 0 1px 8px rgba(0,0,0,.65);
}

.page-hero h1{
  color: #fff;
  font-size: 46px;
  line-height: 1.1;
  font-weight: 700;
  max-width: 680px;
  text-shadow: 0 2px 14px rgba(0,0,0,.6);
}

.page-hero p{
  color: #fff;
  font-size: 20px;
  max-width: 560px;
  margin-top: 14px;
  text-shadow: 0 1px 8px rgba(0,0,0,.65);
}

@media (max-width: 700px){
  .page-hero-icon{
    width: 140px;
    height: 140px;
    top: 20px;
    right: 20px;
  }
  .page-hero-content{
    padding: 0 20px 32px;
  }
  .page-hero h1{
    font-size: 32px;
  }
  .page-hero p{
    font-size: 17px;
  }
  .page-hero::before{
    background-size: 90px 90px;
    background-position: left 20px top 20px;
  }
}

@media (max-width: 480px){
  .page-hero-icon{
    width: 100px;
    height: 100px;
    top: 16px;
    right: 16px;
  }
}

/* ---------- SECCIONES DE CONTENIDO ---------- */

.page-section{
  padding: 70px 0;
}

.page-section.alt{
  background: var(--cream-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-section h2{
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 18px;
}

.page-section p{
  color: #463625;
  font-size: 16.5px;
  margin: 0 0 16px;
  max-width: 680px;
}

.page-grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.page-grid.reverse{
  grid-template-columns: 0.9fr 1.1fr;
}

.page-grid.reverse .page-grid-photo{
  order: -1;
}

.page-grid-photo img{
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  border-radius: 63% 37% 41% 59% / 47% 44% 56% 53%;
  box-shadow: 0 24px 50px -20px rgba(43, 29, 20, .35);
}

.page-grid.reverse .page-grid-photo img{
  border-radius: 37% 63% 59% 41% / 44% 47% 53% 56%;
}

.page-grid-photo img.photo-contain{
  object-fit: contain;
  background: var(--cream);
}

@media (max-width: 700px){
  .page-grid-photo img{
    height: 300px;
    border-radius: 55% 45% 46% 54% / 45% 48% 52% 55%;
  }
}

.checklist{
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.checklist li{
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 15.5px;
  color: #4B3A29;
}

.checklist li:first-child{
  border-top: none;
}

.checklist li::before{
  content: "✓";
  color: var(--rust);
  font-weight: 700;
  flex-shrink: 0;
}

.checklist strong{
  color: var(--earth);
}

/* ---------- ACORDEON (Nosotros: Apoyo a la educación / Pasantías) ---------- */

.accordion{
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.accordion summary{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
}

.accordion summary::-webkit-details-marker{
  display: none;
}

.accordion summary h2{
  font-size: 22px;
}

.accordion-plus{
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 24px;
  color: var(--rust);
  flex-shrink: 0;
  transition: transform .2s ease;
}

.accordion[open] .accordion-plus{
  transform: rotate(45deg);
}

.accordion-body{
  padding-top: 16px;
}

.steps{
  margin-top: 8px;
}

.step{
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.step:first-child{
  border-top: none;
}

.step .n{
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  color: var(--rust);
  font-size: 17px;
  min-width: 20px;
}

.step p{
  margin: 0;
  font-size: 15px;
  color: #4B3A29;
}

/* ---------- LINEA DE TIEMPO ---------- */

.timeline{
  margin-top: 36px;
}

.timeline-track{
  position: relative;
  display: flex;
  justify-content: space-between;
  max-width: 480px;
  padding-right: 34px;
}

.timeline-track::before{
  content: "";
  position: absolute;
  top: 9px;
  left: 9px;
  right: 22px;
  height: 3px;
  background: var(--pasture);
}

.timeline-track::after{
  content: "";
  position: absolute;
  top: 3px;
  right: 0;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 14px solid var(--pasture);
}

.timeline-point{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}

.timeline-point::before{
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--rust);
  border: 3px solid var(--cream-2);
  margin-bottom: 14px;
}

.timeline-year{
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--earth);
}

.timeline-label{
  font-size: 14px;
  color: #5B4A38;
  margin-top: 4px;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 700px){
  .timeline-track{
    max-width: 100%;
  }
  .timeline-year{
    font-size: 19px;
  }
  .timeline-label{
    font-size: 12.5px;
    white-space: normal;
  }
}

/* ---------- MISION / VISION / VALORES ---------- */

.mvv{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.mvv h4{
  font-family: 'Karla', sans-serif;
  font-size: 15px;
  color: #7A6A54;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 14px;
}

.mvv p{
  color: #463625;
  font-size: 16px;
  margin: 0;
}

.valores-row{
  display: flex;
  flex-wrap: wrap;
  margin-top: 18px;
}

.valores-row span{
  font-size: 14.5px;
  color: var(--rust);
  font-weight: 600;
  padding: 0 16px 0 0;
  margin-right: 16px;
  border-right: 1px solid var(--line);
}

.valores-row span:last-child{
  border-right: none;
  margin-right: 0;
  padding-right: 0;
}

.mvv-full{
  grid-column: 1 / -1;
  padding-top: 36px;
  margin-top: 36px;
  border-top: 1px solid var(--line);
}

@media (max-width: 900px){
  .mvv{
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ---------- PLATAFORMA CLIENTES (LOGIN) ---------- */

.login-logo{
  height: 48px;
  width: auto;
  margin-bottom: 24px;
  display: block;
}

#login-msg,
#login-salio{
  background: var(--cream-2);
  border: 1px solid var(--line);
  padding: 18px 20px;
  margin-bottom: 24px;
  font-size: 15px;
  color: var(--earth);
}

#login-error{
  background: #FBE6DC;
  border: 1px solid var(--rust);
  color: #7A2E0C;
  padding: 18px 20px;
  margin-bottom: 24px;
  font-size: 15px;
  font-weight: 600;
}

/* ---------- FORMULARIO DE CONTACTO ---------- */

.form-nueva{
  width: auto;
  background: none;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

.contacto-nueva{
  padding: 104px 0 100px;
  min-height: 60vh;
}

.contacto-nueva .wrap{
  max-width: 640px;
}

.contacto-nueva h1{
  font-size: 32px;
}

.contacto-nueva > .wrap > p{
  color: #5A4837;
  font-size: 16.5px;
  margin: 14px 0 40px;
}

.form-nueva label{
  display: block;
  font-family: 'Karla', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--earth);
  margin-bottom: 6px;
}

.form-nueva label span{
  color: var(--rust);
}

.form-nueva input,
.form-nueva select,
.form-nueva textarea{
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  background: var(--cream-2);
  border-radius: 2px;
  font-family: 'Karla', sans-serif;
  font-size: 15px;
  color: var(--ink, #241A12);
  box-sizing: border-box;
}

.form-nueva input:focus,
.form-nueva select:focus,
.form-nueva textarea:focus{
  outline: none;
  border-color: var(--rust);
}

.form-nueva textarea{
  height: 130px;
  resize: vertical;
}

.form-nueva button{
  background: var(--pasture);
  color: #fff;
  border: none;
  padding: 13px 28px;
  font-family: 'Karla', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.form-nueva button:hover{
  background: var(--pasture-2);
}

/* ---------- FOOTER NUEVO (compartido) ---------- */

footer.footer-nueva{
  background: var(--earth-2);
  color: #D9C9AF;
  padding: 70px 0 30px;
}

.footer-nueva .foot-grid{
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid #4A382A;
}

.footer-nueva .foot-grid h4{
  color: #fff;
  font-size: 16px;
  margin-bottom: 16px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.footer-nueva .foot-grid p,
.footer-nueva .foot-grid a{
  font-size: 14.5px;
  color: #C4B296;
  display: block;
  margin-bottom: 8px;
  text-decoration: none;
}

.footer-nueva .foot-grid a:hover{
  color: #fff;
}

.footer-nueva .foot-wa{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pasture);
  color: #fff !important;
  padding: 12px 22px;
  font-size: 14.5px;
  font-weight: 700;
  margin-top: 8px;
}

.footer-nueva .foot-wa:hover{
  background: var(--pasture-2);
}

.footer-nueva .foot-bottom{
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 13px;
  color: #8A7863;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-nueva .foot-bottom a{
  color: #8A7863;
  text-decoration: none;
}

.footer-nueva .foot-bottom a:hover{
  color: #D9C9AF;
}

@media (max-width: 900px){
  .page-grid, .page-grid.reverse{
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .page-grid.reverse .page-grid-photo{
    order: 0;
  }
  .footer-nueva .foot-grid{
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .page-hero h1{
    font-size: 32px;
  }
  main{
    padding-top: 94px;
  }
}

@media (max-width: 600px){
  .wrap{
    padding-left: 20px;
    padding-right: 20px;
  }
  .page-section{
    padding: 48px 0;
  }
}
