:root {
  --color-verde: #17A54D;
  --color-amarillo: #F9DC00;
  --color-amarillo-hover: #FFE62D;
  --color-texto: #333333;
  --color-gris: #F5F6F5;

  --space: 8px;
  --font: 'Avenir LT Pro', sans-serif;
  ;
}

h1.main,
h2.main {
  font-family: var(--font);
  color: var(--color-texto);
  font-size: 3.125rem;
  font-weight: 750;
  line-height: normal;
  text-align: left;
  margin-top: 40px;
  margin-bottom: 0;
}

h2.main {
  font-family: var(--font);
  font-size: 1.563rem;
  text-align: left;
  margin: calc(var(--space)*5) auto;
}

p.description {
  color: var(--color-texto);
  font-family: var(--font);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.5rem;
  letter-spacing: 0.03125rem;
  margin-bottom: calc(var(--space)*4);
}

body {
  background-color: var(--color-gris);
  margin: 0;
}

.secStarted {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 16px 0px 16px;
  background-repeat: no-repeat;
  background-position: bottom right;
  box-shadow: 0px 6px 4px 0px rgba(0, 0, 0, 0.25);
}

.callRequest {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.input-container {
  display: flex;
  align-items: center;
  width: auto;
}

.phone-input-container {
  display: flex;
  align-items: center;
  position: relative;
  flex: 1;
}

.phone-input {
  padding: 10px 10px 10px 32px;
  border: none;
  border-radius: 8px;
  background-color: #EAEAEA;
  height: 32px;
  width: 300px;
  padding-left: 40px;
  font-size: 1.125rem;
}

.phone-input:focus {
  border-color: var(--color-verde);
  box-shadow: 0 0 5px rgba(23, 165, 77, 0.5);
  font-weight: bold;
  color: var(--color-verde);
  padding-left: 48px;
  font-size: 1.125rem;
}

.phone-input:placeholder-shown {
  color: var(--color-texto);
  font-weight: normal;
}

input::placeholder {
  padding-left: 16px;
  color: var(--color-texto);
  font-family: 'Avenir LT Pro', sans-serif;
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5rem;
  letter-spacing: 0.03125rem;
}

.phone-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.request-button {
  padding: 10px 48px 10px 48px;
  background-color: var(--color-verde);
  border: none;
  border-radius: 40px;
  color: #fff;
  text-transform: uppercase;
  font-family: 'Avenir LT Pro', sans-serif;
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.5rem;
  font-variant: all-small-caps;
  letter-spacing: 0.03125rem;
  cursor: pointer;
}

.cancelar-button {
  background-color: transparent;
  cursor: pointer;
  border: none;
  padding: 16px 48px;
  font-family: 'Avenir LT Pro', sans-serif;
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 750;
  line-height: 1.5rem;
  font-variant: all-small-caps;
  letter-spacing: 0.03125rem;
}

img.brands {
  max-width: 280px;
  width: 100%;
}

@media screen and (max-width: 768px) {
  .secStarted {
    justify-content: center;
    background-position: bottom center;
    background-size: 45%;
  }

  h1.main,
  h2.main {
    text-align: center;
  }

  p.description {
    text-align: center !important;
  }

  .welcome {
    text-align: center;
  }

}

/* Faqs */
h4.subtitulo {
  color: var(--color-texto);
  font-family: 'Avenir LT Pro', sans-serif;
  font-size: 1.563rem;
  font-style: normal;
  margin-top: 0;
  margin-bottom: var(--space);
  font-weight: 300;
  line-height: normal;
}

.faq-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.faq-column {
  margin-bottom: 20px;
  width: 100%;
}

.faq-item,
.faq-item--button {
  background-color: #fff;
  padding: calc(var(--space)*2) calc(var(--space)*3);
  border-radius: calc(var(--space)*2);
  cursor: pointer;
  margin-bottom: 16px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.faq-item--button {
  margin-bottom: 80px;
}

.faq-question {
  margin: 0;
  color: var(--color-texto);
  font-family: var(--font);
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.5rem;
  letter-spacing: 0.03125rem;
  display: flex;
  align-items: center;
  justify-self: start;
  justify-content: space-between;
}

.faq-answer {
  display: none;
  margin-top: 10px;
  background-color: #ffffff;
  padding: 10px;
  color: #000000;
  font-family: 'Avenir LT Pro', sans-serif;
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 300;
  line-height: 1.5rem;
  letter-spacing: 0.03125rem;
}

.faq-item.open .faq-question {
  padding: calc(var(--space)*2);
  font-weight: 600;
}

.faq-item.open .faq-answer {
  display: block;
  background-color: #ffffff;
  color: #000000;
}

.faq-item.open .bold {
  color: var(--color-verde);
  border-bottom: 4px solid var(--color-amarillo);
}

/* Style for arrow   */
.faq-item .arrow-icon {
  float: right;
  transition: transform 0.3s;
  transform: rotate(180deg);
}

.faq-item.open .arrow-icon {
  transform: rotate(0deg);
}

@media only screen and (max-width: 768px) {
  .faq-column {
    flex: 0 1 100%;
    margin-right: 0;
    margin-bottom: 0px;
  }

  section.faqs {
    padding: 16px;
  }

  h2.titleFaq {
    font-family: Avenir Next LT Pro;
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 700;
    line-height: 2.0625rem;
  }
}

/* Modal */
#myModal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 20px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
  border-radius: 16px;
  width: 300px;
}

.titleModal {
  color: var(--color-texto);
  text-align: center;
  font-family: 'Avenir LT Pro', sans-serif;
  font-size: 1.375rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.5rem;
  letter-spacing: 0.03125rem;
}

.descriptionModal {
  color: var(--color-texto);
  text-align: center;
  font-family: 'Avenir LT Pro', sans-serif;
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5rem;
  letter-spacing: 0.03125rem;
}

.confirmNumber {
  color: var(--color-verde);
  text-align: center;
  font-family: 'Avenir LT Pro', sans-serif;
  font-size: 2.125rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

#entendidoButton {
  background-color: var(--color-verde);
  border-radius: 40px;
  padding: 16px 48px;
  border: none;
  color: #ffffff;
  font-family: 'Avenir LT Pro', sans-serif;
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.5rem;
  font-variant: all-small-caps;
  letter-spacing: 0.03125rem;
}

#cambiarButton {
  background-color: #ffffff;
  border: none;
  border-radius: 40px;
  padding: 16px 48px;
  font-family: 'Avenir LT Pro', sans-serif;
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 750;
  line-height: 1.5rem;
  font-variant: all-small-caps;
  letter-spacing: 0.03125rem;
}

.confirmation {
  display: inline-flex;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
}

.modal-content {
  text-align: center;
}

.close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 32px;
  cursor: pointer;
}

#overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}


/* MAIN */
.container {
  margin: 0 auto;
  max-width: 1024px;
  width: 100%;
}

/* TAB */
.tab {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}

.tab-button {
  background-color: transparent;
  border: none;
  font-family: var(--font);
  cursor: pointer;
  text-transform: uppercase;
  padding: 12px 8px;
  font-size: 18px;
}

.tab-active {
  color: var(--color-texto);
  border-bottom: 4px solid var(--color-verde);

}

.preguntas__wp {
  padding: 0 calc(var(--space)*3);
}

.tab__name {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column-reverse;
}

.dudas-tab,
.whatsApp-tab,
.llamadas-tab {
  position: relative;
}

.dudas-tab::before,
.whatsApp-tab::before,
.llamadas-tab::before {
  content: 'Dudas generales';
  font-size: 70%;
  margin-top: var(--space);
}

.whatsApp-tab::before {
  content: 'Whatsapp';
}

.llamadas-tab::before {
  content: 'Llamadas';
}

.tab__icono {
  display: block;
}

/* TAB MEDIA QUERY  */
@media screen and (min-width:420px) {
  .tab-button {
    padding: 12px 16px;
  }
}

@media screen and (min-width:580px) {
  .tab {
    justify-content: flex-start;
  }

  .tab__icono {
    display: none;
  }

  .dudas-tab::before,
  .whatsApp-tab::before,
  .llamadas-tab::before {
    font-size: 100%;
  }

}

@media screen and (min-width:1024px) {
  .preguntas__wp {
    padding: 0;
  }
}

/* AVISO */
.bold {
  font-weight: 750;
}

.aviso {
  background-color: #fff;
  border-radius: calc(var(--space)*2);
  padding: calc(var(--space)*2);
  border: calc(var(--space)/2) solid var(--color-verde);
  margin: calc(var(--space)*5) auto calc(var(--space)*4);
  position: relative;
  width: 80%;
}

.aviso__cont {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.aviso__img {
  display: none;
}

.aviso__txt {
  font-family: var(--font);
}

.aviso__txt h3 {
  color: var(--color-verde);
  margin-bottom: calc(var(--space)*2);
  font-size: 1.953rem;
}

.aviso__txt p {
  font-family: var(--font);
  font-size: 1.563rem;
  margin: 0;
}

.aviso__cerrar {
  background-image: url(/banco_azteca/img/cerrar.svg);
  background-size: contain;
  height: calc(var(--space)*4);
  width: calc(var(--space)*4);
  display: block;
  background-repeat: no-repeat;
  cursor: pointer;
  position: absolute;
  top: calc(var(--space)*2);
  right: calc(var(--space)*2);
}

/* AVISO MEDIA QUERY  */
@media screen and (min-width: 580px) {
  .aviso {
    padding: calc(var(--space)*2) calc(var(--space)*2) 0 calc(var(--space)*2);
    width: 90%;
  }

  .aviso__cont {
    flex-direction: row;
    align-items: center;
  }

  .aviso__img {
    display: block;
  }
}

@media screen and (min-width: 768px) {
  .aviso__txt h3 {
    font-size: 2.441rem;
  }

  .aviso__txt p {
    font-size: 1.753rem;
  }
}

@media screen and (min-width: 991px) {
  .aviso__txt {
    margin-left: calc(var(--space)*2);
  }

  .aviso__txt h3 {
    font-size: 3.052rem;
  }

  .aviso__txt p {
    font-size: 2rem;
  }
}

/* AYUDA */

.ayuda {
  padding: 0 calc(var(--space)*3);
}

.offcanvas {
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  top: 0;
  right: 0;
  position: fixed;
  width: 520px;
  transform: translateX(110%);
  z-index: 1000;
  transition: .3s all ease;
}

.offcanvas__cont {
  display: flex;
  flex-direction: column;
  width: 80%;
}

.brands--sm {
  margin-left: auto;
  margin-right: auto;
  max-width: 280px;
  width: 100%;
}

@media screen and (min-width:1024px) {
  .ayuda {
    padding: 0;
  }
}

@media screen and (max-width:768px) {
  .offcanvas {
    width: 100%;
  }
}