

html{
    scroll-behavior: smooth;
}

body{
    background-color: #FAFCFE;
    overflow-x: hidden;
}

main {
    max-width: 1600px;
    margin: auto;
}

 :root {
      --gris-texto : #6C6E6E;
      --verde-oscuro: #2C4A3E;
      --dorado: #CBA86D;
      --dorado-oscuro: #c49553;
      --tit-negro: #191A1A;
    }

/* HERO */

header{
  min-height: 420px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

/* Imagen LCP visible en el HTML, no escondida dentro del CSS. */
.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  z-index: -2;
}

.hero-media img {
  display: block;
  object-fit: cover;
  object-position: center top;
}

/* Conserva el degradado que antes formaba parte del background-image. */
header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(25, 26, 26, 0.95) 0%,
    rgba(25, 26, 26, 0) 100%
  );
}

.hero{
  max-width: 780px;
    display: flex;
    justify-content: center;
}

.hero-content{
  padding: 160px 10px 120px 10px;
}

h1{
  color: var(--dorado);
  font-size: 18px;
  font-variant: small-caps;
  font-weight: bold;
  margin-bottom: 14px;
}

.hero-tit{
  color: white;
  font-size: 36px;
  font-weight: 600;
  font-family: "Baskervville", serif;
  line-height: 1;
  margin-bottom: 24px;
}

.hero-txt{
  font-size: 16px;
  color: white;
  line-height: 1.5;
}

.hero-content hr{
  background-color: var(--dorado);
  height: 4px;
  border: 1px solid var(--dorado);
  border-radius: 16px;
  width: 64px;
  margin-bottom: 34px;
}

.cta-div{
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 64px;
}

.cta-transparente{
  color: white;
  font-weight: 400;
  padding: 16px 34px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 16px;
  border: 1px solid white;
  background-color: #6c6e6e63;
  border-radius: 40px;
  max-width: 380px;
  transition: transform 0.25s ease;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
}

.cta-verde{
  color: white;
  background-color: var(--verde-oscuro);
  font-weight: 400;
  padding: 16px 34px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--verde-oscuro);
  border-radius: 40px;
  max-width: 380px;
  transition: transform 0.25s ease;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
}

.cta-transparente:hover,
.cta-verde:hover,
.ent-dr a:hover,
.cta-btn a:hover{
  transform: translate(2px, -2px); 
}

/* INTRO */

.intro-sec{
  background-color: #F6F0E8;
}

.intro-ul{
  padding: 44px 34px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 24px;
}

.intro-ul li{
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}

.intro-ul li p{
  color: var(--gris-texto);
  font-size: 16px;
}

.ico-bckg{
  background-color: #E8D1B1;
  border-radius: 999px;
  padding: 16px;
}

/* ENTENDEMOS */

.ent-secc{
  margin: 84px 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 84px;
}

.ent-dr p:nth-child(1){
  color: var(--dorado-oscuro);
    font-size: 18px;
    font-variant: small-caps;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 16px;

}

.ent-dr h2{
  color: var(--tit-negro);
  font-size: 32px;
  font-weight: 600;
    font-family: "Baskervville", serif;
    line-height: 1;
    margin-bottom: 34px;
    max-width: 480px;
}

.ent-dr p:nth-child(3){
  font-size: 16px;
  color: var(--gris-texto);
  line-height: 1.5;
  margin-bottom: 44px;
  max-width: 480px;

}

.ent-dr a{
  color: var(--verde-oscuro);
  font-weight: 600;
  padding: 16px 24px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 16px;
  border: 1px solid #B7C1BE;
  border-radius: 40px;
  max-width: 320px;
  transition: transform 0.25s ease;
  cursor: pointer;
  box-shadow: 0 8px 16px rgb(183 184 185 / 35%);
  margin: auto;
}

.ent-iz{
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.ent-iz li{
  background-color: var(--dorado-oscuro);
  padding: 24px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 280px;
  gap: 16px;
  border-radius: 16px;
}

.ent-iz li p{
  font-size: 14px;
  line-height: 1.25;
  color: var(--tit-negro);
}

/* SERVICIOS */

.servicios {
  position: relative;
  padding: 100px 16px 70px;
  isolation: isolate;
  overflow: hidden;
  background: transparent;
}

/* Línea dorada de 1 px */
.servicios::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #cba86d;
  clip-path: polygon(
    0 30px,
    100% 10px,
    100% 11px,
    0 31px
  );
  z-index: -2;
}

.servicios::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #f5f0e9;
  clip-path: polygon(
    0 43px,
    100% 23px,
    100% 100%,
    0 100%
  );
  z-index: -1;
}

.serv-ul{
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 124px;
}

.servicios__contenido {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.subtitulo{
    color: var(--verde-oscuro);
    font-size: 18px;
    margin-bottom: 16px;
    font-variant: small-caps;
    text-align: center;
    font-weight: 600;
  }

  .titulo{
    font-size: 36px;
  font-weight: 600;
  font-family: "Baskervville", serif;
  color: var(--tit-negro);
  text-align: center;
  margin-bottom: 64px;
  }

.tj-con{
  padding: 24px;
    display: flex;
    flex-direction: column;
}

.tarjeta-serv{
  background-color: white;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
  width: 280px;
}

.taj-img img{
  border-radius: 20px 20px 0 0;
  width: 280px;
}


.tj-con h3{
  font-size: 20px;
  color: var(--tit-negro);
  font-weight: 600;
  padding-bottom: 16px;
}

.tj-con p{
  font-size: 14px;
  line-height: 1.25;
  color: var(--gris-texto);
  padding-bottom: 24px;
}

.tj-con a{
  color: var(--verde-oscuro);
  font-variant: small-caps;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: fit-content;
  padding-bottom: 5px;
  cursor: pointer;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
  margin: auto;
}

.tj-con a:hover,
.tj-con a:focus-visible {
  border-bottom-color: var(--verde-oscuro);
}



/* BENEFICIOS */

.bene-secc{
  margin: 164px 10px;
}

.bene-tarj{
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.bene-tarj-li{
  background-color: #F6F0E8;
  border-radius: 20px;
  padding: 34px 16px;
}

.ben-tar-tit{
  font-size: 16px;
  color: var(--verde-oscuro);
  font-variant: small-caps;
  text-align: center;
  margin-bottom: 8px;
  font-weight: 600;
}

.ben-tar-subtit{
  font-size: 26px;
  color: var(--tit-negro);
  text-align: center;
  font-family: "Baskervville", serif;
  font-weight: 600;
  margin-bottom: 34px;
}

.ben-cont-ul{
  display: flex;
    flex-direction: column;
    gap: 20px;
}

.ben-cont{
  display: flex;
  gap: 16px;
}

.ben-txt p:nth-child(1){
  font-size: 18px;
  color: var(--tit-negro);
  font-weight: 600;
  margin-bottom: 8px;
}

.ben-txt p:nth-child(2){
  font-size: 16px;
  color: var(--tit-negro);
}

/* DIFERERENCIAL */

.diferencial{
  margin: 0 10px 164px 10px;
  display: flex;
  justify-content: center;
}

.diferencial-main{
  max-width: 980px;
}

.dife-tit {
    margin-bottom: 48px;
    max-width: 660px;
  }

.dife-tit p{
  color: var(--verde-oscuro);
    font-size: 18px;
    margin-bottom: 16px;
    font-variant: small-caps;
    font-weight: 600;
}

.dife-tit h2{
  font-size: 36px;
    font-weight: 600;
    font-family: "Baskervville", serif;
    color: var(--tit-negro);
    margin-bottom: 16px;
}

.dife-tit::after {
  display: block;
  width: 86px;
  height: 1px;
  margin-top: 22px;
  background-color: #c49a62;
  content: "";
}

.difere-lista {
  display: flex;
  flex-direction: column;
  max-width: 1168px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.difere-cont {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 36px 16px;
  text-align: center;
}

.difere-cont:not(:last-child)::after {
  position: absolute;
  right: 15%;
  bottom: 0;
  left: 15%;
  height: 1px;
  background-color: #d1aa76;
  content: "";
}

.difere-cont img {
  margin-bottom: 28px;
}

.difere-cont p:first-of-type {
  min-height: 2.5em;
  margin: 0 0 18px;
  color: var(--tit-negro);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.05;
}

.difere-cont p:last-of-type {
  max-width: 280px;
  color: var(--tit-negro);
  font-size: 14px;
  line-height: 1.25;
}

/* WHATSAPP */
  
  #whatsapp-logo {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    transform: translateX(200%); /* Start hidden off the screen */
    float: right;
  }
  
  .logo-whatsapp{
    color: #4FCE5D;
    font-size: 64px;
  }

  .logo-whatsapp:hover{
        box-shadow: 0px 4px 4px rgba(252, 251, 251, 0.25);
        transform: translateY(-2px) translateX(2px) scale(1);
        transition: transform 0.3s ease-in-out;
    }


@media (min-width: 768px) {


  /* HERO */


  header{
  min-height: 520px;
  max-width: 1800px;
  margin: auto;
}

header::after {
  background: linear-gradient(
    to right,
    rgba(25, 26, 26, 0.95) 40%,
    rgba(25, 26, 26, 0) 100%
  );
}

.hero-media img {
  object-position: calc(50% - 80px) top;
}

.hero-content {
    padding: 180px 10px 120px 10px;
    max-width: 620px;
}

.cta-div{
  justify-content: flex-start;
}

/* INTRO */

.intro-ul{
  padding: 44px 40px;
}

.intro-ul li{
  flex: 0 0 calc((100% - 48px) / 3);
}

/* ENTENDEMOS */

.ent-secc {
    margin: 84px 64px;
}

.ent-dr a{
  margin: unset;
}

/* SERVICIOS */

.servicios {
    padding: 140px 20px 100px;
  }

  .servicios::before {
    clip-path: polygon(
      0 70px,
      100% 10px,
      100% 11px,
      0 71px
    );
  }

  .servicios::after {
    clip-path: polygon(
      0 83px,
      100% 23px,
      100% 100%,
      0 100%
    );
  }


  .tarjeta-serv,
  .taj-img img{
    width: 340px;
  }


  /* BENEFICIOS */

  .bene-tarj-li{
    flex: 1;
    max-width: 620px;
  }

  /* DIFERENCIAL */

  .diferencial{
  margin: 0 40px 164px 40px;
}

  .difere-lista {
    flex-flow: row wrap;
  }

  .difere-cont {
    width: 50%;
  }

  .difere-cont:not(:last-child)::after {
    display: none;
  }

  .difere-cont:nth-child(odd)::after {
    position: absolute;
    top: 64px;
    right: 0;
    bottom: auto;
    left: auto;
    display: block;
    width: 1px;
    height: 152px;
    background-color: #d1aa76;
    content: "";
  }
}

@media (min-width: 1024px) {

  /* HERO */

  header {
    min-height: 620px;
  }

  .hero-media img {
  object-position: calc(50% - 0px) top;
}

  .hero-content {
    padding: 180px 10px 120px 60px;
    max-width: 720px;
}

/* INTRO */

.intro-ul{
  max-width: 1200px;
  margin: auto;
}

/* ENTENDEMOS */

.ent-secc{
  flex-wrap: nowrap;
}

.ent-secc{
  gap: 24px;
}

.ent-dr{
  width: 60%;
}

.ent-iz{
  width: 40%;
  margin: 24px 0;
}

/* BENEFICIOS */

  .bene-tarj-li{
    padding: 64px 44px;
  }

  /* DIFERENCIAL */


  .difere-lista {
    flex-wrap: nowrap;
  }

  .difere-cont {
    width: 25%;
    min-width: 0;
    padding: 16px 28px 0;
  }

  .difere-cont:nth-child(odd)::after {
    display: none;
  }

  .difere-cont:not(:last-child)::after {
    position: absolute;
    top: 44px;
    right: 0;
    bottom: auto;
    left: auto;
    display: block;
    width: 1px;
    height: 152px;
    background-color: #d1aa76;
    content: "";
  }

}

@media (min-width: 1200px) {
  /* ENTENDEMOS */

      .ent-secc {
        margin: 164px 120px;
        gap: 84px;
    }

.ent-dr {
        width: 90%;
    }

  .ent-iz {
    width: unset;
    }

    .ent-iz li{
      flex: 1 1 calc((100% - 24px) / 2);
    }

}

@media (min-width: 1440px) {

  /* HERO */

  header {
    min-height: 720px;
  }

  .hero-media img {
    object-position: center top;
  }

  .hero-content {
    padding: 180px 10px 120px 120px;
}

/* DIFERENCIAL */

  .diferencial{
  margin: 0 140px 164px 140px;
}



}

