html{ box-sizing: border-box; scroll-behavior: smooth; } 

*, *::before, *::after{ margin: 0; padding: 0; box-sizing: inherit; font-family: "Raleway", sans-serif; text-decoration: none; list-style: none;} 

img, picture, canvas{ max-width: 100%; display: block; } 

body{ overflow-x: hidden;} 

main, footer, header { width: 100%; max-width: 1600px; margin: auto; }



:root{
    --dorado:      #D2AF56;
    --dorado-oscuro: #68562a;
      --gris-txt: #58595D;
      --azul-oscuro:      #161B23;
      --negro-tit: #161B23;
      --azul-oscuro-cajas:     #22252B;
      --grey: #828181;
      --grey-tit: #3D3D3D;
}



/* HERO */

.header {
  min-height: 500px;

  /* Valores para móvil */
  --imagen-x: 80%;
  --imagen-y: center;
  --imagen-size: auto 100%;
  --blanco-hasta: 15%;
  --transparente-desde: 75%;

  background-image:
    linear-gradient(
      to right,
      #fff 0%,
      rgba(255, 255, 255, .98) 35%,
      rgba(255, 255, 255, .90) 70%,
      rgba(255, 255, 255, .10) 100%
    ),
    url("/images/recursos.webp");

  background-position:
    center,
    var(--imagen-x) var(--imagen-y);

  background-size:
    cover,
    var(--imagen-size);

  background-repeat: no-repeat;
}

.header .hero {
  min-height: 420px;
  padding: 164px 40px 164px 20px;
  display: flex;
  align-items: center;
}

.hero > div{
  max-width: 580px;
}

h1{
  color: var(--dorado);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 8%;
  display: flex;
  align-items: center;
  gap: 12px;
  font-variant: small-caps;
  margin-bottom: 16px;
}

h1::before {
  content: "";
  width: 24px;
  height: 2px;
  flex-shrink: 0;
  background-color: var(--dorado);
}

.hero > div> p:first-of-type{
  color: var(--negro-tit);
  font-size: 34px;
  font-weight: bold;
  margin-bottom: 24px;
}

.hero > div > p:last-of-type,
.hero > div > ul > li{
  color: var(--gris-txt);
  font-size: 16px;
  letter-spacing: 1px;
  line-height: 1.5;
}

.hero > div > ul > li{
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.hero > div > ul{
  margin-top: 34px;
}

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

.cta-hero a:first-of-type,
.cta-hero a:last-of-type,
.cta-servicios a{
  font-size: 16px;
  letter-spacing: 1px;
  font-weight: 600;
  border-radius: 4px;
  padding: 12px 34px;
  box-shadow: 0 2px 24px rgba(0,0,0,.35);
  transition: transform .25s ease;
  font-variant: small-caps;
}

.cta-hero a:first-of-type{
  color: var(--dorado-oscuro);
  border: 1px solid var(--dorado);
}

.cta-hero a:last-of-type{
  color: whitesmoke;
  background-color: var(--azul-oscuro);
  display: flex;
  flex-direction: row;
  gap: 16px;
  border: 1px solid var(--azul-oscuro);
}

.cta-servicios a{
  color: white;
  background-color: var(--dorado);
  display: flex;
  flex-direction: row;
  gap: 16px;
  border: 1px solid var(--dorado);
  max-width: 204px;
  margin: 84px auto 0 auto;
}

.cta-hero a:first-of-type:hover,
.cta-hero a:last-of-type:hover,
.cta-servicios a:hover
{ transform: translateX(2px) translateY(-2px); }


/* TITULOS */

.h2-tit{
  color: var(--dorado);
  font-size: 16px;
  letter-spacing: 1px;
  font-variant: small-caps;
  font-weight: bold;
}

.tit-p{
  color: var(--azul-oscuro);
  font-size: 36px;
  font-weight: bold;
}

.txt-tit{
  font-size: 16px;
  color: var(--gris-txt);
  line-height: 1.5;
}




/* COMO OBTENER */

.intro-secc{
  margin: 364px 10px 80px;
}

.titutlos-intro,
.diferencial-tit,
.proceso-secc{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.titutlos-intro,
.diferencial-tit{
  max-width: 840px;
  margin: auto;
}

.titutlos-intro h2,
.titutlos-intro p,
.diferencial-tit h2,
.diferencial-tit p{
  text-align: center;
}

.titutlos-intro h2,
.diferencial-tit h2{
  margin: 16px 0;
}

.titutlos-intro p,
.diferencial-tit p{
  margin-bottom: 34px;
}

.obtener-tarjetas{
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    max-width: 1200px;
    margin: 44px auto 0 auto;
}

.obtener-tarjeta{
    border: 1px solid #CED7DE;
    border-radius: 8px;
    max-width: 290px;
    background-color: white;
    padding: 34px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: stretch;
}

.obtener-tarjeta h3{
    font-size: 18px;
    font-variant: small-caps;
    color: var(--azul-oscuro);
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.25;
    text-align: center;
    margin: 24px 0;
}

.obtener-tarjeta p{
        max-width: 230px;
    margin: 0 auto 34px auto;
    color: var(--gris-txt);
    font-size: 15px;
    line-height: 1.25;
    text-align: center;
}


/* DIFERENCIAL */

.diferencial{
    background-color: var(--azul-oscuro-cajas);
    padding: 64px 16px;
    margin: 164px 0;
}

.diferencial-tit p{
    color: white;
    font-size: 36px;
    font-weight: bold;
}

.diferencial-lis li h3{
  font-size: 18px;
  font-variant: small-caps;
  color: var(--dorado);
  font-weight: bold;
  margin-bottom: 16px;
}

.diferencial-lis li p{
  color: whitesmoke;
  font-size: 15px;
  line-height: 1.25;
}

.diferencial-lis{
  display: flex;
    flex-wrap: wrap;
    gap: 44px;
    margin: 44px auto 0 auto;
    padding: 0 20px;
    max-width: 980px;
}

.diferencial-lis li img{
  margin-bottom: 8px;
}


/* PROCESO */

.proceso-secc{
  margin: 44px 0 64px 0;
}

.proceso {
  padding: 64px 20px;
}

.proceso-lista {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.proceso-paso {
  text-align: center;
}

.proceso-numero {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  margin: 0 auto 24px;
  border: 1px solid var(--dorado);
  border-radius: 50%;
  color: var(--dorado);
  font-size: 30px;
  font-weight: 400;
  background-color: #ffffff;
}

.proceso-paso h3 {
  min-height: 2.5em;
  margin: 0 0 12px;
  color: var(--negro-tit);
  font-size: 17px;
  font-variant: small-caps;
  line-height: 1.25;
}

.proceso-paso p {
  max-width: 230px;
  margin: 0 auto;
  color: var(--gris-txt);
  font-size: 15px;
  line-height: 1.2;
}

/* PREGUNTAS FRECUENTES */

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

.tit-faqs{
  margin: 0 10px 64px 10px;
}

.faq-container {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

.faq-title {
  margin-bottom: 32px;
  font-size: 32px;
  line-height: 1.1;
  color: #1f2933;
}

.faq-list {
  width: 100%;
}

.faq-item {
  border-top: 1px solid #1F2133;
}

.faq-item:last-child {
  border-bottom: 1px solid #1F2133;
}

.faq-question {
  width: 100%;
  min-height: 64px;
  padding: 18px 0;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  cursor: pointer;
}

.faq-question h3 {
  margin: 0;
  color: #2f343a;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.faq-icon {
  position: relative;
  width: 26px;
  height: 26px;
  border: 2px solid #6e7080;
  border-radius: 50%;
  flex: 0 0 26px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background-color: #6e7080;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 48px 22px 0;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.7;
}

/* Estado abierto */
.faq-item.is-open .faq-icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
}

.faq-item.is-open .faq-question h3 {
  color: #111827;
}

/* WHATSAPP */
  
  #whatsapp-logo {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  cursor: pointer;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
  transform: scale(0);
  opacity: 0;
  pointer-events: none; /* Evita clics cuando está invisible */
}

/* Estado visible que activaremos con JS */
#whatsapp-logo.visible {
  transform: scale(1);
  opacity: 1;
  pointer-events: auto;
}

.logo-whatsapp {
  background-color: #4FCE5D;
  display: flex;
    height: 64px;
    width: 64px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 8px;
  transition: transform 0.3s ease-in-out;
}

.logo-whatsapp:hover {
  transform: translateY(-2px) translateX(2px);
}


/* OTROS SERVICIOS */

.otros-servicios{
    margin-bottom: 164px;
}

.servicios-list {
  width: min(100%, 908px);
  margin: 44px auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.servicios-list > li {
  width: 100%;
  border-top: 1px solid #828181a6;
  border-bottom: 1px solid #828181a6;
  flex: 0 0 100%;
}

.servicios-list > li > a {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 112px;
  gap: 16px;
  padding: 22px clamp(12px, 6vw, 80px);
  transition: underline .25s ease;
}

.servicios-list > li > a:hover{
  text-decoration: underline var(--grey-tit);
}

.servicios-list > li > a > div:first-of-type {
  display: flex;
  align-items: center;
  gap: clamp(16px, 4vw, 44px);
  min-width: 0;
}

.servicios-list > li > a > div:first-of-type img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex: 0 0 44px;
}

.servicios-list > li > a > div:first-of-type > span {
  font-size: clamp(15px, 2vw, 20px);
  font-weight: bold;
  letter-spacing: 1px;
  font-variant: small-caps;
  color: var(--grey-tit);
}

.servicios-list > li > a > div:last-of-type {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  margin-left: auto;
  border: 1px solid #78afe06e;
  border-radius: 50%;
}

/* TITULO ANIMADO */

.titulo-animado.preparado {
  opacity: 0;
  transform: translateY(50px);
}

.titulo-animado.preparado.visible {
  animation: entrada-titulo 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes entrada-titulo {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


@media (max-width: 480px) {

/* OTROS SERVICIOS */

  .servicios-list > li > a {
    min-height: 94px;
  }

  .servicios-list > li > a > div:first-of-type img {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .servicios-list > li > a > div:last-of-type {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }
}



@media (min-width: 768px) {

  /* HERO */

  .header {
    --imagen-x: right;
    --imagen-size: auto 100%;
    --blanco-hasta: 25%;
    --transparente-desde: 85%;
  }

  .header .hero {
    min-height: 520px;
    padding: 200px 5% 164px 10%;
  }

  .hero > div> p:first-of-type{
  font-size: 42px;
  }

  .cta-hero{
  justify-content: flex-start;
  gap: 44px;
  }

  /* COMO OBTENER */

    .intro-secc{
    margin: 164px 10px 80px;
    }

    .obtener-tarjeta {
    padding: 34px 24px;
    }

    /* DIFERENCIAL */

  .diferencial-lis li{
    flex-basis: calc((100% - 44px) / 2);
  }

  .diferencial-lis {
    padding: 0 34px;
    }

    /* PROCESO */

  .proceso-lista {
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 32px;
    row-gap: 48px;
  }

  .proceso-paso {
    flex: 0 0 calc((100% - 32px) / 2);
  }

  /* PREGUNTAS FRECUENTES */

  .tit-faqs{
  margin: 0 8% 64px 8%;
}

  .faq-section {
    padding: 0 32px;
  }

  .faq-question {
    min-height: 78px;
    padding: 22px 0;
  }

  .faq-question h3 {
    font-size: 16px;
  }

  .faq-answer p {
    max-width: 850px;
    padding-bottom: 28px;
  }

  /* OTROS SERVICIOS */

.servicios-list > li {
  flex-basis: calc((100% - 20px) / 2);
}

  }


  @media (min-width: 1024px) {

    /* PROCESO */

  .proceso {
    padding: 64px 32px;
  }

  .proceso-lista {
    position: relative;
    flex-wrap: nowrap;
    gap: 32px;
  }

  /* Línea horizontal detrás de los círculos */
  .proceso-lista::before {
    content: "";
    position: absolute;
    top: 32px;
    left: calc((100% - 96px) / 8);
    right: calc((100% - 96px) / 8);
    height: 1px;
    background: var(--dorado);
  }

  .proceso-paso {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
  }

  .proceso-numero {
    position: relative;
    z-index: 1;
  }

  /* PREGUNTAS FRECUENTES */

.faq-section {
    padding: 0 40px 84px 0;
  }

  .faq-question {
    padding-left: 96px;
    padding-right: 140px;
  }

  .faq-answer p {
    padding-left: 96px;
    padding-right: 180px;
  }
}


  @media (min-width: 1200px) {

  /* HERO */

  .header {
    --imagen-x: right -60px;
    --blanco-hasta: 35%;
    --transparente-desde: 75%;
    background-image: linear-gradient(to right, #fff 0%, rgba(255, 255, 255, .98) 35%, rgba(255, 255, 255, .90) 40%, rgba(255, 255, 255, .10) 100%), url(/images/recursos.webp);
  }

  .header .hero {
    min-height: 520px;
  }

  /* DIFERENCIAL */

  .diferencial-lis{
    gap: 64px;
}

    .diferencial-lis li{
    flex-basis: calc((100% - 64px) / 2);
  }

  }