/**************************/
/* HEADER */
/**************************/

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #e7f5ff;
  
    /* Because we want header to be sticky later */
    height: 14.5rem;
    padding: 0 4.8rem;
    position: relative;
  }
  
  .logo {
    height: 12rem;
  }

/**************************/
/* NAVIGATION */
/**************************/

.main-nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 4.8rem;
  }

.main-nav-link:link,
.main-nav-link:visited {
    display: inline-block;
    text-decoration: none;
    color: #343A40;
    font-weight: 500;
    font-size: 2.2rem;
    transition: all 0.3s;
  }

  .main-nav-link:hover,
  .main-nav-link:active {
    color: #1c7ed6;
  }

.main-nav-link.nav-form:link,
.main-nav-link.nav-form:visited {
    padding: 1.2rem 2.4rem;
    border-radius: 9px;
    color: #fff;
    background-color: #1971C2;
  }

.main-nav-link.nav-form:hover,
.main-nav-link.nav-form:active {
  background-color: #1c7ed6}

  /****************************/
/* MOBILE SECTION  */
/****************************/

.btn-mobile-nav {
  border: none;
  background: none;
  cursor: pointer;

  display: none;
}

.icon-mobile-nav {
  height: 4.8rem;
  width: 4.8rem;
  color: #333;
}

.icon-mobile-nav[name="close-outline"] {
  display: none;
}

/**************************/
/* STICKY NAVIGATION */
/**************************/
.sticky {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 13.5rem;
  padding-top: 0;
  padding-bottom: 0;
  background-color: rgba(231, 245, 255, 0.971);
  z-index: 999;
  box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.03);
}

.sticky .section-hero {
  margin-top: 8.6rem;
}


  /**************************/
/* HERO SECTION */
/**************************/

.section-hero {
  background-color: #e7f5ff;
  padding: 2.4rem 0 8.6rem 0;
}

.hero {
  max-width: 130rem;
  margin: 0 auto;
  padding: 0 3.2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9.2rem;
  align-items: center;
}

.hero-description {
  font-size: 2rem;
  line-height: 1.6;
  margin-bottom: 4.8rem;
}

.hero-img {
  width: 100%;
}

/**************************/
/* HOW IT WORKS SECTION */
/**************************/

.section-how {
  padding: 8.6rem 0;
}

.step-number {
  font-size: 8.6rem;
  font-weight: 600;
  color: #ddd;
  margin-bottom: 1.2rem;
}

.step-description {
  font-size: 1.8rem;
  line-height: 1.8;
}

.step-img-box {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;
}

.step-img-box::before,
.step-img-box::after {
  content: "";
  display: block;
  border-radius: 10%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.step-img-box::before {
  width: 50%;
  /* height: 60%; */

  /* 60% of parent's width */
  padding-bottom: 50%;

  background-color: #e7f5ff;
  z-index: -2;
}

.step-img-box::after {
  width: 44%;
  padding-bottom: 44%;
  background-color: #d0ebff;
  z-index: -1;
}

.step-img {
  width: 38%;
  /* z-index: 10; */
}

/**************************/
/* PLANS SECTION */
/**************************/

.section-plans {
  padding: 8.6rem 0;
}

.plans {
  border-radius: 11px;

  width: 100%;
}

.plans--starter {
  justify-self: center;
  border: 2px solid #d0ebff;
  padding: 2.2rem;
}

.plans--complete {
  background-color: #d0ebff;
  padding: 2.4rem;
  position: relative;
  overflow: hidden;
}

.plans--complete::after {
  content: "Best value";
  position: absolute;
  top: 6%;
  right: -25%;

  text-transform: uppercase;
  font-size: 1.4rem;
  font-weight: 700;
  color: #333;
  background-color: #ffd43b;
  padding: 0.8rem 8rem;
  transform: rotate(45deg);
}

.plans-header {
  text-align: center;
  margin-bottom: 4.8rem;
}

.plans-name {
  color: #1971C2;
  font-weight: 600;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.75;
  margin-bottom: 3.2rem;
}

.plans-price {
  font-size: 4.8rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1.6rem;
}

.plans-price span {
  font-size: 2rem;
  font-weight: 500;
  margin-right: 0.8rem;
}

.plans-text {
  font-size: 1.6rem;
  line-height: 1.6;
  color: #6f6f6f;
}

.plans-sing-up {
  text-align: center;
  margin-top: 4.8rem;
}

.plans-contact-us {
  text-align: center;
  margin-top: 2.8rem;
}

.more-options-plans {
  font-size: 2.2rem;
  line-height: 1.6;
  text-align: center;
  color: #343A40;
  font-weight: 600;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.75;
  margin-bottom: 3.2rem;
}

.additional-plans {
  /* 1140px */
  max-width: 120rem;
  padding: 8.6rem;
  margin: 0 auto;
  background-color: #e7f5ff;
  display: grid;
  column-gap: 6.4rem;
  row-gap: 2.2rem;
}

.plans-details {
  font-size: 1.6rem;
  line-height: 1.6;
  text-align: center;
  padding: 4.2rem;
}

.feature-icon {
  color: #1971C2;
  height: 3.2rem;
  width: 3.2rem;
  background-color: #e7f5ff;
  margin-bottom: 3.2rem;
  padding: 1.6rem;
  border-radius: 50%;
}

.feature-title {
  font-size: 2.4rem;
  color: #333;
  font-weight: 700;
  margin-bottom: 1.6rem;
}

.feature-text {
  font-size: 1.8rem;
  line-height: 1.8;
}

/**************************/
/* PRODUCTS SECTION */
/**************************/

.section-products {
  padding: 8.6rem 0;
}

.product {
  box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.075);
  border-radius: 11px;
  overflow: hidden;
  transition: all 0.4s;
}

.product:hover {
  transform: translateY(-1.2rem);
  box-shadow: 0 3.2rem 6.4rem rgba(0, 0, 0, 0.06);
}

.product-content {
  padding: 3.2rem 4.8rem 4.8rem 4.8rem;
}

.product-title {
  font-size: 2.2rem;
  color: #333;
  font-weight: 600;
  margin-bottom: 3.2rem;
}

.product-attributes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.product-attribute {
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.product-icon {
  height: 2.4rem;
  width: 2.4rem;
  color: #e67e22;
}

.product-img {
  width: 100%;
}

/**************************/
/* EXAMPLES SECTION */
/**************************/

.section-examples {
  background-color: #e7f5ff ;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}

.examples-container {
  padding: 8.6rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  padding: 1.6rem;
}

.gallery-item {
  overflow: hidden;
}

.gallery-item img {
  display: block;
  width: 100%;
  transition: all 0.4s;
}

.gallery-item img:hover {
  transform: scale(1.1);
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 300px; /* o el valor que prefieras */
  object-fit: cover;
  transition: all 0.4s;
}


/**************************/
/* FORM SECTION */
/**************************/

.section-form {
  /* top / right / bottom / left */
  /* padding: 9.6rem 0 12.8rem 0; */

  /* top / horizontal / left */
  padding: 4.8rem 0 12.8rem;
}

.form {
  display: grid;
  /* 2/3 = 66.6% + 1/3 = 33.3% */
  grid-template-columns: 2fr 1fr;
  box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.15);
  border-radius: 11px;

  background-image: linear-gradient(to right bottom, #e7f5ff, #74c0fc);
  overflow: hidden;
}

.form-text-box {
  padding: 4.8rem 6.4rem 6.4rem 6.4rem;
  color: #495057;
}

.form .heading-secondary {
  /* color: #45260a; */
  color: inherit;
  margin-bottom: 3.2rem;
}

.form-text {
  font-size: 1.8rem;
  line-height: 1.8;
  margin-bottom: 4.8rem;
}

.form-img-box {
  background-image: linear-gradient(
      to right bottom,
      rgba(78, 164, 235, 0.35),
      rgba(34, 119, 230, 0.35)
    ),
    url("../img/hero.png");
  background-size: cover;
  background-position: center;
}

.form-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 3.2rem;
  row-gap: 2.4rem;
}

.form-list label {
  display: block;
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 1.2rem;
}

.form-list input,
.form-list select {
  width: 100%;
  padding: 1.2rem;
  font-size: 1.8rem;
  font-family: inherit;
  color: inherit;
  border: none;
  background-color:  #e7f5ff;
  border-radius: 9px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.form-list input::placeholder {
  color: #aaa;
}

.form *:focus {
  outline: none;
  box-shadow: 0 0 0 0.8rem rgba(253, 242, 233, 0.5);
}

/**************************/
/* FOOTER */
/**************************/

.footer {
  padding: 7.6rem 0;
  border-top: 1px solid #eee;
  background-color: #e7f5ff;
}

.footer-icon {
  height: 2.4rem;
  width: 2.4rem;
  color: #767676;
}

.grid--footer {
  grid-template-columns: 1.5fr 1.5fr 1.5fr;
}

.logo-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: block;
  margin-bottom: 3.2rem;
}

.logo-footer {
  height: 18rem;
}

.copyright {
  font-size: 1.4rem;
  line-height: 1.6;
  color: #767676;
  margin-top: auto;
}

.footer-heading {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 4rem;
}

.contacts {
  font-style: normal;
  font-size: 1.6rem;
  line-height: 1.6;
}

.address {
  margin-bottom: 2.4rem;
}


.footer-link:link,
.footer-link:visited {
  text-decoration: none;
  font-size: 1.6rem;
  color: #767676;
  transition: all 0.3s;
}

.footer-link:hover,
.footer-link:active {
  color: #555;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
  display: block;
  margin: auto;
  max-width: 80%;
  max-height: 80%;
  animation: zoom 0.3s ease-in-out;
}

@keyframes zoom {
  from {transform: scale(0.7);}
  to {transform: scale(1);}
}

.close {
  position: absolute;
  top: 30px;
  right: 50px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

