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


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


header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(25, 26, 26, 0.9) 50%,
    rgba(25, 26, 26, 0.1) 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: 280px;
  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: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;
}

/* CUIDADO ADULTOS */

.cuidado{
    margin: 164px 10px 264px 10px;
}

.cuidado-tit{
    max-width: 620px;
}

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

.cuidado-tit p:nth-child(2){
    font-size: 36px;
    font-weight: 600;
    font-family: "Baskervville", serif;
    color: var(--tit-negro);
    margin-bottom: 16px;
}

.cuidado-tit p:nth-child(3),
.cuidado-tit p:nth-child(4){
    font-size: 16px;
    color: var(--gris-texto);
    line-height: 1.5;
}

.cuidado-tit p:nth-child(3){
    margin-bottom: 8px;
}

.cuidado-tit p:nth-child(4){
    margin-bottom: 64px;
}

.ent-dr{
    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;
}

.ctas-intro{
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}


/* OBJETIVO */

.objetivo{
    background-color: #F3ECE1;
    position: relative;
    padding: 26px 0 164px 0;
}

.objetivo::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #12342b8a;
}

.logo-obj{
    position: relative;
}


.logo-obj img{
    position: absolute;
    top: -64px;
    right: 50%;
    left: 50%;
    transform: translateX(-50%);
}

.txt-obj{
    margin: 64px 10px;
}

.txt-obj p{
    font-family: "Baskervville", serif;
    color: var(--verde-oscuro);
    line-height: 1.2;
    font-size: 36px;
    letter-spacing: 1px;
    text-align: center;
    font-weight: 600;
    max-width: 720px;
    margin: auto;
}

.cta-obj{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}


/* EQUIPO */

.equipo{
    margin: 364px 10px 164px 10px;
}

.equipo-tit{
    max-width: 720px;
    margin: auto;
}

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

.equipo-tit p:nth-child(2){
    font-size: 36px;
    font-weight: 600;
    font-family: "Baskervville", serif;
    color: var(--tit-negro);
    margin-bottom: 16px;
    text-align: center;
}

.equipo-tit p:nth-child(3){
    font-size: 16px;
    color: var(--gris-texto);
    line-height: 1.5;
    text-align: center;
}

.equipo-cont p:first-of-type{
    font-size: 18px;
    font-variant: small-caps;
    color: var(--verde-oscuro);
    font-weight: 600;
    margin-bottom: 8px;
}

.equipo-cont h3{
    font-family: "Baskervville", serif;
    color: var(--tit-negro);
    font-size: 26px;
    margin-bottom: 24px;
}

.equipo-cont p:last-of-type{
    font-size: 16px;
    color: var(--gris-texto);
    margin-bottom: 44px;
}

.equipo-cont hr{
    background-color: var(--dorado);
    box-shadow: 0 8px 24px rgba(0,0,0,.35);
    height: 4px;
}

.equipp-lis{
    margin: 64px 10px;
    display: flex;
    flex-direction: column;
    gap: 44px;
    max-width: 980px;
}

.equipp-lis li{
    display: flex;
    flex-wrap: wrap;
    gap: 44px;
    justify-content: center;
}

/* DIFERERENCIAL */

.diferencial{
  margin: 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);
}

.ent-dr{
        margin: unset;
    }

/* CUIDADO ADULTOS */

.cuidado {
    margin: 164px 64px 264px 64px;
}

.ctas-intro{
    justify-content: flex-start;
}


/* OBJETIVO */

.txt-obj {
    margin: 84px 24px;
}

/* EQUIPO */

.equipp-lis {
    margin: 124px auto;
}

.equipp-lis li {
    flex-wrap: nowrap;
    align-items: center;
}

/* DIFERENCIAL */

  .diferencial{
  margin: 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;
}

/* OBJETIVO */

.objetivo{
    padding: 26px 0 94px 0;
}

.txt-obj {
        margin: 120px 24px;
    }
/* 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: 1440px) {

  /* HERO */

  header {
    min-height: 720px;
  }

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

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

/* DIFERENCIAL */

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