/* ======================================================
  PRODUCTS PAGE
====================================================== */

main.products-page{
  overflow-x: clip;
  padding-bottom: 56px;
}

/* ---------------- HERO ---------------- */

.products-hero{
  margin-top: 34px;
  text-align: center;
}

.products-title{
  font-size: 32px;
  line-height: 1.15;
  color: rgba(0,0,0,0.86);
  letter-spacing: -0.4px;
  display: table;
  margin: 0 auto 10px;
}

.products-title::after{
  content:"";
  display:block;
  width: 100%;
  height: 3px;
  margin: 10px auto 0;
  background: #75A5CD;
  border-radius: 3px;
}

.products-lead{
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(0,0,0,0.78);
}

.products-lead p{
  margin: 0 0 12px;
}

.products-lead p:last-child{
  margin-bottom: 0;
}

.products-lead a{
  color: #5d97c6;
  font-weight: 600;
  text-decoration: none;
}

.products-lead a:hover{
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}

/*SECTION*/

.product-spotlight{
  padding-top: 30px;
}

.ps-top{
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 28px;
  align-items: start;
  
}

/* Kicker */
.ps-head{
  grid-column: 1;
  grid-row: 1;
}

.ps-kicker{
  display: inline-block;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.55);
  margin: 0;
  color: #5D97CA;
}

/* Divider */
.ps-kicker-divider{
  grid-column: 1 / -1;
  grid-row: 2;
  height: 1px;
  background: #5D97CA;
  opacity: 0.5;
  margin: 8px 0 18px;
}

/* Body */
.ps-body{
  grid-column: 1;
  grid-row: 3;
  text-align: center;
}

.ps-media{
  grid-column: 2;
  grid-row: 3;
  align-self: start;
  justify-self: center;
  align-self: center;
}

.ps-media img{
  display: block;
  height: auto;
  border-radius: 10px;     
  width: clamp(300px, 38vw, 460px);
  max-width: 100%;
}

.ps-title{
  font-size: 24px;
  letter-spacing: -0.2px;
  color: rgba(0,0,0,0.86);
  margin: 0 0 8px;
  border-top: 0;
  padding-top: 0;
}

.ps-tagline{
  font-size: 18px;
  line-height: 1.4;
  color: rgba(0,0,0,0.75);
  margin: 0 0 14px;
}

.ps-intro{
  font-size: 15px;
  line-height: 1.7;
  color: rgba(0,0,0,0.72);
  text-align: justify;
}

.product-features-title{
  font-size: 18px;
  font-weight: 600;
  color: rgba(0,0,0,0.82);
  margin-bottom: 18px;
}


/* Highlights */
.ps-highlights{
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px 16px;
  padding-bottom: 10px;
}

.ps-highlights li{

  color: rgba(0,0,0,0.72);
  background: rgba(117,165,205,0.04);
  border: 1px solid rgba(117,165,205,0.18);
  border-radius: 16px;
  padding: 18px 20px;
}

.ps-highlights li{
  transition: border-color .2s ease, box-shadow .2s ease;
}

.ps-highlights li:hover{
  border-color: rgba(117,165,205,0.35);
  box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}

.ps-highlights h3{
  font-size: 16px;
  color: #5D97C6;
  margin-top:0;
  margin-bottom: 8px;
}

.ps-highlights p{
  color: rgba(0,0,0,0.68);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

/* Features */

.tech-features{
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 14px;
  padding-left: 10px;
  padding-bottom: 10px;
}

.tech-features li{
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(0,0,0,0.75);
}

.tech-features li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #75A5CD;
}

/* CTA */

.products-cta{
  text-align: center;
  padding-top: 26px;
}

.cta-title{
  border-top: 0; 
  padding-top: 0;
  margin-bottom: 0;
  margin-top: 0;
  letter-spacing: -0.3px;
  font-size: 28px;
}

.cta-text{
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(0,0,0,0.72);
}

.cta-actions{
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 10px;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 0;
  border-radius: 12px;
  font-size: 14px;
  color: #fff;
  font-weight: 800;
  background: #ffffff;
  cursor: pointer;
}

.btn-primary{
  background: #3F6BB2;
}

.btn-ghost{
  background: #7cacd3;
}

.btn:hover{
  filter: brightness(0.95);
  text-decoration: none;
}


/* =========================================================
   PRODUCTS — MOBILE PACK
   ========================================================= */

@media (max-width: 820px){

  main.products-page{
    padding-bottom: 44px;
  }

  /* --- HERO --- */
  .products-hero{
    margin-top: 22px;
    text-align: center;
  }

  .products-title{
    font-size: 28px;
    margin-bottom: 8px;
  }

  .products-title::after{
    height: 3px;
    margin-top: 8px;
  }

  .products-lead{
    font-size: 14px;
    line-height: 1.65;
    max-width: 60ch;
    margin-left: auto;
    margin-right: auto;
    padding: 0 var(--page-pad);
    text-align: center;
  }

  .products-lead p{
    margin: 0 0 10px;
  }

  .products-lead p:last-child{
    margin-bottom: 0;
  }

  /* --- SECTION / SPOTLIGHT --- */
  .product-spotlight{
    padding-top: 18px;
  }

  .ps-top{
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 12px;
    align-items: start;
    padding: 0 var(--page-pad);
  }

  /* ordine: kicker -> divider -> media -> body */
  .ps-head{
    grid-column: 1;
    grid-row: 1;
    text-align: center;
  }

  .ps-kicker{
    font-size: 12px;
    letter-spacing: .12em;
  }

  .ps-kicker-divider{
    grid-column: 1;
    grid-row: 2;
    margin: 8px 0 12px;
  }

  .ps-media{
    grid-column: 1;
    grid-row: 3;
    justify-self: center;
    align-self: center;
  }

  .ps-media img{
    width: min(420px, 100%);
    max-width: 100%;
    border-radius: 10px;
  }

  .ps-body{
    grid-column: 1;
    grid-row: 4;
    text-align: center;
  }

  .ps-title{
    font-size: 22px;
    margin: 0 0 8px;
  }

  .ps-tagline{
    font-size: 16px;
    line-height: 1.35;
    margin: 0 0 12px;
  }

  .ps-intro{
    font-size: 14px;
    line-height: 1.65;
    text-align: center; 
  }

  .product-features-title{
    font-size: 16px;
    margin-bottom: 12px;
  }

  /* highlights */
  .ps-highlights{
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 14px;
    padding-bottom: 6px;
  }

  .ps-highlights li{
    padding: 14px 14px 12px;
    border-radius: 16px;
    box-shadow: none; 
  }

  .ps-highlights h3{
    font-size: 15px;
    margin-bottom: 6px;
  }

  .ps-highlights p{
    font-size: 14px;
    line-height: 1.65;
  }

  /* Features */
  .tech-features{
    margin-top: 16px;
    gap: 10px;
    padding-left: 0;
    padding-bottom: 6px;
  }

  .tech-features li{
    font-size: 14px;
    line-height: 1.65;
    padding-left: 22px;
  }

  .tech-features li::before{
    top: 0.65em;
    width: 7px;
    height: 7px;
  }

  /* --- CTA --- */
  .products-cta{
    padding-top: 16px;
    padding-left: var(--page-pad);
    padding-right: var(--page-pad);
    text-align: center;
  }

  .cta-title{
    font-size: 20px;
    line-height: 1.2;
  }

  .cta-text{
    font-size: 14px;
    line-height: 1.65;
  }

  .cta-actions{
    gap: 10px;
    padding-top: 12px;
  }

  .products-cta .btn{
    width: 100%;
    max-width: 320px;
    justify-content: center;
    padding: 12px 16px;
  }
}