/* Estilos nuevos de la portada (home), basados en el boceto de rediseño.
   Solo se carga en index.html: no afecta a las páginas internas. */

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

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

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

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

main{
  padding-top: 104px;
}

section{
  padding: 86px 0;
}

.section-head{
  max-width: 640px;
  margin: 0 auto 54px;
  padding: 0 40px;
}

.section-head h2{
  font-size: 34px;
  font-weight: 700;
}

.section-head p{
  margin-top: 14px;
  color: #5A4837;
  font-size: 16.5px;
}

/* ---------- HERO ---------- */

.hero{
  position: relative;
  height: 86vh;
  min-height: 520px;
  overflow: hidden;
}

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

.hero::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(20,14,9,.9) 0%, rgba(20,14,9,.45) 48%, rgba(20,14,9,.1) 75%);
}

.hero-content{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 40px 54px;
}

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

.hero-eyebrow{
  color: #E8B98A;
  font-family: 'Karla', sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 14px;
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
}

.hero h1{
  color: #fff;
  font-size: 52px;
  line-height: 1.08;
  font-weight: 700;
  max-width: 680px;
  text-shadow: 0 2px 10px rgba(0,0,0,.45);
}

.hero p{
  color: #F5EEE0;
  font-size: 18px;
  max-width: 520px;
  margin-top: 16px;
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
}

/* ---------- NOSOTROS ---------- */

.nosotros-home{
  background: var(--cream);
}

.nosotros-grid{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.nosotros-grid h2{
  font-size: 38px;
  line-height: 1.15;
  font-weight: 700;
}

.nosotros-grid .body p{
  color: #463625;
  font-size: 17px;
  margin: 0 0 16px;
}

.nosotros-grid .body p:last-child{
  margin-bottom: 0;
}

.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);
}

.nosotros-extra{
  grid-column: 1 / -1;
  margin-top: 56px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

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

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

.valores-row{
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  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;
}

.nosotros-extra .comunidad{
  grid-column: 1 / -1;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

/* ---------- NUMEROS ---------- */

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

.numeros .wrap{
  padding-top: 64px;
  padding-bottom: 64px;
}

.numeros-head{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 38px;
  flex-wrap: wrap;
  gap: 8px;
}

.numeros-head h3{
  font-size: 22px;
}

.numeros-head span{
  font-size: 14px;
  color: #7A6A54;
  font-family: 'Karla', sans-serif;
}

.ledger{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.ledger .item{
  border-top: 1px solid var(--line);
  padding: 22px 20px 0 0;
}

.ledger .item .num{
  font-family: 'Bitter', serif;
  color: var(--leaf);
  font-size: 30px;
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
}

.ledger .item .lbl{
  font-size: 14px;
  color: #5A4837;
  line-height: 1.4;
}

/* ---------- PRODUCCION / SERVICIOS ---------- */

.split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--line);
}

.split.services{
  background: var(--pasture);
}

.home-block{
  background: var(--cream);
  position: relative;
}

.split.services .home-block{
  background: #EDE9D4;
}

.home-block .photo{
  height: 340px;
  overflow: hidden;
}

.home-block .photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.home-block:hover .photo img{
  transform: scale(1.04);
}

.home-block .content{
  padding: 34px 40px 40px;
}

.block-title{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.block-icon{
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: block;
}

.section-head .block-icon{
  margin-bottom: 16px;
}

.home-block h3{
  font-size: 24px;
  margin-bottom: 0;
}

.home-block p{
  color: #4B3A29;
  font-size: 15.5px;
  margin: 0 0 18px;
}

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

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

.steps + .link{
  margin-top: 16px;
}

.ambiente-home .link{
  color: #E8B98A;
  margin-top: 10px;
}

.ambiente-home .link:hover{
  border-bottom-color: #E8B98A;
}

.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: 'Bitter', serif;
  font-weight: 700;
  color: var(--rust);
  font-size: 17px;
  min-width: 20px;
}

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

/* ---------- AMBIENTE ---------- */

.ambiente-home{
  position: relative;
  background: var(--earth-2);
  color: var(--cream-2);
}

.ambiente-home .section-head h2{
  color: #fff;
}

.ambiente-home .section-head p{
  color: #D9C9AF;
}

.amb-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}

.amb-grid .item{
  border-top: 1px solid #55432F;
  padding-top: 22px;
}

.amb-grid .item h4{
  font-size: 19px;
  color: #fff;
  margin-bottom: 10px;
  font-family: 'Bitter', serif;
}

.amb-grid .item p{
  font-size: 14.5px;
  color: #CDBCA1;
  margin: 0;
}

/* ---------- INSTAGRAM ---------- */

.insta-head{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 10px;
}

.insta-head h2{
  font-size: 28px;
}

.insta-head a{
  font-size: 14.5px;
  font-weight: 600;
  color: var(--rust);
  text-decoration: none;
}

.insta-grid{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 3px;
}

.insta-grid .ph{
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.insta-grid img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- SINERGIAS ---------- */

.sinergias-home{
  background: var(--cream-2);
  border-top: 1px solid var(--line);
  padding: 60px 0;
}

.sinergias-home .wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 36px;
  opacity: .8;
}

.sinergias-home img{
  height: 38px;
  width: auto;
  filter: grayscale(1);
}

/* ---------- FOOTER NUEVO ---------- */

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: 'Bitter', 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){
  .nosotros-grid{
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .nosotros-extra{
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .split{
    grid-template-columns: 1fr;
  }
  .ledger{
    grid-template-columns: repeat(2, 1fr);
  }
  .amb-grid{
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .insta-grid{
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-nueva .foot-grid{
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .hero h1{
    font-size: 34px;
  }
  .hero p{
    font-size: 16px;
  }
  main{
    padding-top: 94px;
  }
}

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