:root {
  --primary-color: #e9004b;
  --white-color: #ffffff;
  --font-size-base: 16px;
  --gray-color: #a7a7a7;
  --gray-light-color: #e7e7e7;
  --primary-color-opacity: #e9004b20;
  --success-color: #49bc3a;

  /* Clamp: es una funcionalidadad responsive y su valor varia con el viewport width de la pantalla, 
      esta variación es de 320px- movil con resolucion baja hasta 1140px para desktop
    */
  --img-header: clamp(
    2.27rem,
    2.01rem + 1.29vw,
    2.93rem
  ); /* min 160px - max 200px*/
  --img-footer: clamp(
    13.75rem,
    13.02rem + 3.66vw,
    15.63rem
  ); /* min 220px - max 250px*/
  --fs-normal: clamp(0.88rem, 0.83rem + 0.24vw, 1rem); /* min 14px -- max 16px*/
  --fs-medium: clamp(
    1.05rem,
    0.97rem + 0.39vw,
    1.25rem
  ); /* min 16px -- max 20px*/
  --fs-large: clamp(
    1.26rem,
    1.14rem + 0.59vw,
    1.5rem
  ); /* min 20px -- max 24px */
  --fs-xl: clamp(1.51rem, 1.34rem + 0.86vw, 1.95rem); /* min 24px -- max 32px */
  --fs-main-title: clamp(1.25rem, 0.57rem + 3.41vw, 3rem);
  --shadow: 0px 0px 10px 1px #0000002b;
  --color-border-input: var(--gray-color);
  --color-placeholder: var(--gray-color);
  --color-hr: var(--gray-light-color);
}

html {
  box-sizing: border-box;
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
}

*,
*::after,
*::before {
  box-sizing: inherit;
}

body {
  margin: 0;
  font-family: "Roboto", sans-serif;
}

img {
  max-width: 100%;
  height: auto;
}

hr {
  height: 1px;
  border: 0;
  border-top: 1px solid var(--color-hr);
  margin: 1em 0;
  padding: 0;
}

select {
  height: 58px;
}
/* Scroll */

::-webkit-scrollbar {
  width: 12px;
}
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.3);

  border-radius: 10px;
}
::-webkit-scrollbar-thumb {
  border-radius: 10px;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
}
/*** text  ****/

.main-title {
  text-align: center;
  color: var(--primary-color);
  font-family: "Poppins", sans-serif;
}

p.h1,
p.h2,
p.h3,
p.h4,
p.h5,
p.h6 {
  font-weight: bold;
  margin: 0;
  padding: 1rem 0;
}
p.h3 {
  font-size: var(--fs-main-title);
}
p.h5 {
  font-size: var(--fs-large);
  font-weight: bold;
}
p.h6 {
  font-size: var(--fs-medium);
  font-weight: bold;
}

p,
span {
  font-size: var(--fs-normal);
  margin: 0;
}

p.step-form {
  font-size: 14px;
  font-weight: 500;
  width: 212px;
}
/* Fonts */

/**** Design ***/
.header__logo {
  position: sticky;
  top: -14px;
  z-index: 2;
  background-color: var(--white-color);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 75px;
  box-shadow: var(--shadow);
}

.header__logo > img {
  padding: var(--fs-medium) 0.5rem;
}

/*** flex ***/
.section-info {
  display: flex;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding: 3rem 1rem 0;
  min-height: calc(100vh - 239px);
}

.section-info > * {
  flex: 1 1 50%;
}

.section-info .article-info {
  padding: 1rem 4rem;
}

.section-info .content-text {
  display: flex;
  padding: 1rem 0;
  align-items: center;
}
.section-info .content-text img {
  width: 1.5rem;
  margin-right: 1rem;
}

.section-info .img-main {
  height: 215px;
  text-align: center;
}

.text-info {
  margin-top: 2rem;
}
.text-info > p {
  margin-bottom: 2rem;
}

/* footer */
.footer {
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 1rem;
  text-align: center;
  margin-top: 2rem;
}

.container-footer {
  max-width: 1110px;
  margin: auto;
}

.footer p {
  font-size: 12px;
}

.footer img {
  width: 150px;
  margin-bottom: 1.5rem;
}

/***** utilities*****/

.font-weight-thin {
  font-weight: 100;
}

.row {
  display: flex;
  flex-wrap: wrap;
}

.col-12 {
  width: 100%;
}

.col-6 {
  width: 50%;
}
.text-center {
  text-align: center;
}
.m-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Control botones de enviar */
.form-inputs .container {
  display: none;
}
.form-inputs .container.active {
  display: flex;
}

.form-contact .form-inputs .section-btn .active-btn {
  display: inline-block;
}

.form-contact .form-inputs .section-btn > * {
  display: none;
}

.form-inputs .inactive {
  display: none;
}

/* Condicionales */

.in-mobile {
  display: none;
}

.in-desktop {
  display: block;
}
/* Media Query - Desktop first*/

@media screen and (max-width: 768px) {
  /* mobile */

  .header__logo {
    text-align: center;
    top: 0;
  }

  .article-info {
    text-align: center;
  }
  .section-info {
    flex-direction: column-reverse;
  }
  .section-info > * {
    flex-basis: 100%;
  }
  .section-info .content-text {
    flex-direction: column;
    box-shadow: 0px 4px 10px 0px #e7e7e7;
    margin: 0 auto 1.5rem;
    border-radius: 1rem;
    width: 256px;
    height: 156px;
    display: flex;
    align-items: center;
    justify-content: space-around;
  }

  .section-info .content-text img {
    width: 4rem;
  }

  .in-mobile {
    display: block;
  }

  .in-desktop {
    display: none;
  }
}
