/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  

}

/* VARIABLES */
:root {
  --Pink: hsl(322, 100%, 66%);
  --Very-Pale-Cyan: hsl(193, 100%, 96%);
  --Very-Dark-Cyan: hsl(192, 100%, 9%);
  --Grayish-Blue: hsl(208, 11%, 55%);
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

/* BASE */
body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;


}

/* Heading styles */
h1,
h2,
h3,
button {
  font-family: var(--font-heading);
  font-weight: 600;
}

/* Contenedor principal */
.main-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 3rem 0;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem 2rem;
  margin-bottom:4rem;     
  background-image: url(images/bg-hero-mobile.svg);
  background-size: cover;
  background-repeat: no-repeat;
}



.header__logo {
  width: 130px;
}
.header a{
  padding-right: 2rem;
}
.header__cta-link {
  text-decoration: none;
  color: var(--Very-Dark-Cyan);
  
}

.header__cta-link:hover {
  color: var(--Grayish-Blue);
}

/* HERO */

.hero {
  padding: 4rem 2rem;
  text-align: center;
  display:flex;                 
  flex-direction:column;     
  gap:2rem;     
}


.hero__text {
  font-size: 1rem;
  padding: 1rem 3rem 2rem;
  padding-inline: 3rem;
}

.hero__button {
  padding: 0.7rem 4rem;
  border-radius: 50px;
  color: white;
  background-color: var(--Pink);
  font-size: 0.8rem;
  border: none;
}

.hero__button:hover {
  background-color: hsl(322, 100%, 75%);
  cursor: pointer;
}

.hero__image {
  width: 380px;
  padding: 5rem 0 13rem;
}

/* FEATURE CARD */

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

.feature-card__image {
  width: 310px;
}

.feature-card__title {
  padding: 4rem 0 1.5rem;
  font-size: 1.7rem;
  text-align: center;
}

.feature-card__text {
  font-size: 1.2rem;
  text-align: center;
  padding: 0 1rem;
  margin-bottom: 50px;
}

.cta-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem 1.5rem;
  background-color: white;
  border-radius: 15px;
  border: 1px solid transparent;
  box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(40%);
  max-width: 90%;
  margin: 0 auto;
  text-align: center;
  z-index: 10;
}

.cta-box__title {
  font-size: 1.5rem;
  line-height: 1.4;
  font-weight: 700;
  color: hsl(192, 100%, 9%);
}

.cta-box__button {
  background-color: hsl(322, 100%, 66%);
  color: white;
  font-weight: 600;
  border: none;
  border-radius: 25px;
  padding: 1rem 3rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cta-box__button:hover {
  background-color: hsl(322, 100%, 75%);
}


.footer {
  background-color: var(--Very-Dark-Cyan);
  display: flex;
  flex-direction: column;
  color: white;
  padding-left: 15px;
   width:100%;
}
.footer__inner{
  max-width:1200px;        
  margin-inline:auto;
  padding:4rem 2rem;
  display:flex;
  flex-wrap:wrap;          
  gap:2rem;
}

.footer__logo {
  width: 180px;
  padding-top: 250px;
  padding-bottom: 50px;
  flex: 1 1 200px;
}
.footer__contact         { flex:1 1 260px; }
.footer__links-wrapper   { flex:1 1 220px; display:flex; gap:2rem; }


.footer__item {
  display: flex;
  align-items: center;
  padding-bottom: 3rem;
}

.footer__item--location {
  align-items: flex-start;
}

.footer__icon {
  width: 20px;
}

.footer__text {
  width: 280px;
  font-size: 1rem;
  padding-left: 1.4rem;
}

/* LINKS */
.footer__links a {
  display: flex;
  flex-direction: column;
  color: rgb(255, 255, 255);
  text-decoration: none;
  font-size: 1.2rem;
  width:auto; padding:0;
  
}

.footer__links a:hover {
  text-decoration: underline;
   
}

.footer__social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 70px;
  flex:1 1 120px;
}

.footer__social a {
  color: white;
  font-size: 1.2rem;
  border: 1px solid white;
  border-radius: 50px;
  padding: 2px 10px;
  transition: color 0.3s ease;
}

.footer__social a:hover {
  color: var(--Pink);
  border-color: var(--Pink);
}

.footer__copy {
  flex:1 1 100%;  
  font-size: 0.8rem;
  text-align:center;
  margin:2rem 0 0;
}




/* MEDIA QUERY */
@media (min-width: 654px){
  .main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;

  }

  .header {
    padding: 0 5rem 0 0;
    background-image: url(images/bg-hero-desktop.svg);
  }

  .header__logo {
    width: 200px;
  }

  .header__cta-link {
    font-size: 1.2rem;
    font-weight: 700;
  }

  /* HERO */
  .hero {
    display:flex;
  flex-direction:row;
  align-items:center;            
  gap:4rem;   
  text-align:left;                   
    

  }

  .hero__image {
    width: 100%;
    max-width: 300px;
    height: auto;
    
  }

  .hero__title {
    font-size: 2.5rem;
    margin-bottom:2rem;

  }

  .hero__text {

    padding:0 1rem;
    max-width: 460px;
    font-size: 1.1rem;
  }

  .hero__button {
    padding: 1rem 4rem;
    font-size: 0.8rem;
  }

  /* FUTURE CARD */

  .feature-card {
    display: flex;
    flex-direction: row-reverse;
    gap: 2rem;
    margin-top: 450px;
    padding-right: 2rem;
  }

  .feature-card__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 7rem;

  }

  .feature-card__title {

    font-size: 1.5rem;

  }

  .feature-card__text {
    font-size: 1rem;
    text-align: left;
    padding: 0;
    width: 80%;
  }

  .flowing {
    display: flex;
    flex-direction: row;
    
  }
  
  /* CTA BOX */

  .cta-box {
    max-width: 700px;
    padding: 4rem 0;
  }

  .cta-box__title {
    font-size: 1.8rem;
  }

  .cta-box__button {
    padding: 1.2rem 5rem;
    font-size: 1rem;
    border-radius: 50px;
  }

  /* FOOTER */

  .footer {
    display: flex;
    flex-direction: row;
    padding:8rem 0 4rem;
    width: 100%;
    
  }
   .footer__inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: flex-start;
  }
   .footer__links-wrapper {
    
    flex-direction: row;
    gap: 2rem;
  }

  .footer__logo {
    padding: 0;
    width: 300px;
    margin-bottom: 1rem;
  }

  .footer__item {
    padding: 0;
    line-height: 1.4;
    margin: 1rem 0;
    

  }

  .footer__text {
    width: 350px;
    font-size: 1rem;

  }

  .footer__item--location img {
    margin-top: 10px;
    width: 13px;
  }

  .footer__links {
    padding: 0;
        flex-direction: column;

    
  }

  .footer__links a {
    width: 160px;
    margin: 0;
    padding: 0 2rem;
    font-size: 1rem;
  }

  .footer__links-wrapper {
    padding: 4.5rem 3rem;
    display: flex;
   
  }

  .footer__links--primary {
    padding-right: 1rem;
  }


  /* REDES */
  .footer__social {
    display: flex;
    padding: 0rem;
    margin-left: 2rem;
    width: 20rem;
    justify-content: flex-start;

  }

  

  .footer__copy {
    margin-top: 160px;
    margin-left: 2rem;

  }
  @media (max-width: 767px) {
  .footer{
  background-color: var(--Very-Dark-Cyan);
  width: 100%;
  color: #fff;
}

.footer__inner{
  max-width: 1200px;
  margin-inline: auto;
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;   
  gap: 2rem;
}

.footer__links-wrapper{
  display: flex;
  flex-direction: column;   
  gap: 1rem;
  width: 100%;
}

.footer__links{
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.footer__links a{
  width: fit-content;
  margin: 0;
}
}


  @media (max-width: 700px){
  .footer__links-wrapper{
    flex-direction:column;
    align-items:flex-start;   
    gap:1rem;
  }

  
  .footer__links{
    flex:1 1 auto;
  }

  .footer__links a{
    width:auto;
    padding:0;               

  
}}}