/* Google Fonts Imports */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --font-body: 'Montserrat', sans-serif;
  --full-black: hsl(0, 0%, 0%);
  --full-white: hsl(0, 100%, 100%);
  --full-white-70: hsl(0, 100%, 100%, 0.7);
  --special-navy-blue: hsl(219, 68%, 43%);
  --special-navy-blue-15: hsl(219, 68%, 43%, 0.15);
  --metallic-blue: hsl(219, 68%, 32%);
  --glossy-aluminium: hsl(0, 0%, 78%);
  --glossy-aluminium-20: hsl(0, 0%, 78%, 0.2);
  --glossy-aluminium-25: hsl(0, 0%, 78%, 0.25);
  --glossy-aluminium-35: hsl(0, 0%, 78%, 0.35);
  --iron-grey: hsl(220, 3%, 40%);
  --iron-grey-15: hsl(220, 3%, 40%, 0.15);
  --iron-grey-50: hsl(220, 3%, 40%, 0.5);
  --strong-grey: hsl(0, 0%, 22%);
  --strong-grey-50: hsl(0, 0%, 22%, 0.5);
  --strong-grey-70: hsl(0, 0%, 22%, 0.7);
  --invalid-feedback: hsl(354, 82%, 44%);
}

::selection {
  color: var(--metallic-blue);
  background-color: var(--glossy-aluminium-35);
}

/* Globals */
body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--strong-grey);
  line-height: 1.4;
  letter-spacing: 0px;
  word-spacing: 0px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-body);
  color: var(--metallic-blue);
  font-weight: 500;
  line-height: 1.2;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.5rem;
}

h6 {
  font-size: 1.25rem;
}

a,
button {
  color: var(--metallic-blue);
  transition: all 0.2s linear;
}

/* Utilities */
.text-block {
  font-size: 1.25rem;
}

.padding-block {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/*-- Overrides --*/
.content-wrap p {
  line-height: 1.4;
}

h1 > span:not(.nocolor):not(.badge),
.h1 > span:not(.nocolor):not(.badge),
h2 > span:not(.nocolor):not(.badge),
.h2 > span:not(.nocolor):not(.badge),
h3 > span:not(.nocolor):not(.badge),
.h3 > span:not(.nocolor):not(.badge),
h4 > span:not(.nocolor):not(.badge),
.h4 > span:not(.nocolor):not(.badge),
h5 > span:not(.nocolor):not(.badge),
.h5 > span:not(.nocolor):not(.badge),
h6 > span:not(.nocolor):not(.badge),
.h6 > span:not(.nocolor):not(.badge) {
  color: var(--metallic-blue);
}

/*-- Buttons --*/
.dark-button {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--full-white);
  background-color: var(--metallic-blue);
  border-radius: 3.125rem;
  padding: 1rem 2rem;
  text-align: center;
}

.dark-button:hover {
  color: var(--full-white);
  background-color: var(--special-navy-blue);
}

.light-button {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--strong-grey);
  background-color: var(--full-white);
  border-radius: 3.125rem;
  padding: 1rem 2rem;
  text-align: center;
}

.light-button:hover {
  color: var(--full-white);
  background-color: var(--iron-grey);
}

/*-- Inner Container --*/
.inner-container {
  width: 100%;
  padding-right: 12px;
  padding-left: 12px;
  margin-right: auto;
  margin-left: auto;
}

/*-- Anchors --*/
.div-anchor--slider {
  height: 100px;
  width: 100%;
  position: absolute;
}

/* WhatsApp button */
#whatsappButton {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  left: 12px;
  background-color: #25d366;
  color: var(--full-white);
  border-radius: 50px;
  text-align: center;
  font-size: 1.875rem;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0);
  transition: all 0.2s ease-in-out;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

#whatsappButton:hover {
  background-color: #21c15d;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease-in-out;
}

#whatsappButton i {
  font-size: 1.875rem;
}

/* Go to top */
#gotoTop.show {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.stretched #gotoTop {
  bottom: 40px;
  right: 12px;
}

#gotoTop {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  opacity: 0;
  background-color: var(--metallic-blue);
  color: var(--full-white);
  font-size: 2.1875rem;
  pointer-events: auto;
  border-radius: 3.125rem;
  box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease-in-out;
}

#gotoTop:hover {
  background-color: var(--special-navy-blue);
}

/* reCAPTCHA badge */
.grecaptcha-badge {
  position: fixed;
  bottom: 120px !important;
  opacity: 0.5;
}

/* Bootstrap Modal */
body.modal-open {
  padding-right: 0 !important;
  transition: padding 0.2s ease-in-out;
}

.modal {
  background-color: var(--glossy-aluminium-35);
}

.modal.fade .modal-dialog {
  transform: none;
}

.modal .modal-dialog {
  display: flex;
  align-items: center;
  min-height: calc(100% - 1rem);
  margin: 0.5rem auto;
  padding: 5rem 0.75rem;
  max-width: 900px;
}

.modal .modal-content {
  background-color: var(--full-white);
  color: var(--strong-grey);
  border-radius: 1rem;
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.3);
}

.modal .modal-header {
  border-bottom: 0;
}

.modal .modal-title {
  flex: 1;
  text-align: center;
}

#wrapper .modal a {
  color: var(--strong-grey);
  font-weight: 900;
  text-decoration: underline !important;
}

#wrapper .modal a:hover {
  color: var(--strong-grey-50);
}

.modal ul {
  padding-left: 1.25rem;
}

.modal ul li {
  line-height: 1.4;
  margin-bottom: 1rem;
}

.modal ul li:last-child {
  margin-bottom: 0;
}

.modal .btn-close {
  position: fixed;
  top: 2rem;
  right: 2rem;
  opacity: 1;
  min-height: 40px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3E%3Cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3E%3C/svg%3E")
    center / 25px 25px no-repeat;
}

.modal .btn-close:hover {
  opacity: 50%;
}

.modal-dialog-scrollable .modal-body {
  /*-- Firefox --*/
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}

/*-- WebKit --*/
.modal-dialog-scrollable .modal-body::-webkit-scrollbar {
  width: 6px;
}

.modal-dialog-scrollable .modal-body::-webkit-scrollbar-track {
  background: transparent;
}

.modal-dialog-scrollable .modal-body::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  transition: background-color 0.2s ease;
}

.modal-dialog-scrollable .modal-body:hover::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.6);
}

/* Header */
#header.header #header-wrap #logo,
#wrapper #header.header #header-wrap {
  border: 0;
}

.header #header-wrap {
  box-shadow: 1px 1px 7px 0px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: 1px 1px 7px 0px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 1px 1px 7px 0px rgba(0, 0, 0, 0.3);
}

.header #header-wrap .primary-menu .menu-container {
  border: 0;
  padding-right: 0;
  margin-right: 0;
  margin-bottom: 0;
}

#header.header #header-wrap .header-row #logo img {
  padding: 1.25rem 0;
  padding-left: 0;
}

#header.header ul li.menu-item .menu-link {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--iron-grey);
  text-transform: initial;
  line-height: 1.4;
  letter-spacing: 0px;
  transition:
    margin 0.4s ease,
    padding 0.4s ease,
    color 0.2s linear;
}

#header.header ul li.menu-item.current > .menu-link {
  color: var(--iron-grey-50);
}

#header.header ul li.menu-item .menu-link:hover {
  color: var(--iron-grey-50);
}

.header ul.sub-menu-container li.menu-item .menu-link {
  color: var(--iron-grey);
}

.header ul.sub-menu-container li.menu-item .menu-link:hover {
  color: var(--iron-grey-50);
  padding-left: 0.9375rem;
}

body:not(.device-down-lg)
  .header
  ul.sub-menu-container
  li.menu-item:first-child
  .menu-link {
  padding-top: 0.9375rem;
}

body:not(.device-down-lg)
  .header
  ul.sub-menu-container
  li.menu-item:last-child
  .menu-link {
  padding-bottom: 0.9375rem;
}

body:not(.device-down-lg) .header .sub-menu-container {
  border: 0;
  border-bottom-left-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
  box-shadow: 1px 2px 5px 0px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 1px 2px 5px 0px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 1px 2px 5px 0px rgba(0, 0, 0, 0.2);
}

.header .sub-menu-container .menu-item:hover .menu-link {
  background-color: transparent;
}

.header .primary-menu-trigger {
  padding-right: 0;
}

.header .cnvs-hamburger-box {
  width: 2rem;
  height: 2rem;
}

.header .cnvs-hamburger-inner,
.header .cnvs-hamburger-inner:before,
.header .cnvs-hamburger-inner:after {
  width: 1.5rem;
  background-color: var(--metallic-blue);
}

.header
  .primary-menu-trigger:not(.primary-menu-trigger-active)
  .cnvs-hamburger-inner:before {
  top: 0.5rem;
}

.header
  .primary-menu-trigger:not(.primary-menu-trigger-active)
  .cnvs-hamburger-inner:after {
  bottom: 0.5rem;
}

.device-down-lg .header .header-misc + .primary-menu .menu-container {
  overflow-y: auto;
}

.device-down-lg ul.menu-container li.menu-item,
.device-down-lg ul.sub-menu-container {
  border-top: 0;
}

.header-misc.header-misc--mobile {
  margin-left: 0;
  padding: 1.5rem 0.3125rem 2.5rem 0;
}

/* Slider */
#slider {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(187, 202, 232, 0.7) 60%
  );
}

#slider .slider-wrapper {
  display: flex;
  align-items: flex-start;
}

.slider-element__img-mob {
  position: relative;
  left: -12px;
}

/* Processes */
.feature-box.feature-box--icon {
  align-items: center;
  margin-bottom: 1.5rem;
}

.feature-box.feature-box--icon:last-child {
  margin-bottom: 0;
}

.feature-box.feature-box--icon .fbox-icon {
  width: calc(3rem + var(--cnvs-featured-box-padding-x) * 2);
  height: 3rem;
}

.feature-box.feature-box--icon .fbox-icon i {
  font-size: 1.3rem;
  color: var(--metallic-blue);
  background-color: var(--special-navy-blue-15);
  line-height: 3rem;
}

.feature-box.feature-box--icon .fbox-content p {
  color: var(--strong-grey);
  margin-top: 0;
}

/* how it works */
.how-it-works {
  background-color: var(--metallic-blue);
}

.how-it-works h2 {
  color: var(--full-white);
}

.how-it-works p {
  color: var(--full-white-70);
}

.play-video i {
  font-size: 1.8rem;
  line-height: 81px;
  text-align: center;
  width: 80px;
  height: 80px;
  color: var(--metallic-blue);
  background-color: var(--full-white);
  top: 50%;
  left: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  padding-left: 5px;
  border-radius: 50%;
  transition: all 0.3s ease-in-out;
  z-index: 1;
}

.play-video:hover i {
  color: var(--full-white);
  background-color: var(--metallic-blue);
  transform: translate(-50%, -50%) scale(1.1);
}

.mfp-fade.mfp-bg {
  opacity: 0;
  transition: opacity 0.3s ease-out;
}

.mfp-fade.mfp-bg.mfp-ready {
  opacity: 0.8;
}

.mfp-fade.mfp-bg.mfp-removing {
  opacity: 0;
}

.mfp-fade.mfp-wrap .mfp-content {
  opacity: 0;
  transform: scale(0.9);
  transition:
    opacity 0.3s ease-out,
    transform 0.3s ease-out;
}

.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
  opacity: 1;
  transform: scale(1);
}

.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
  opacity: 0;
  transform: scale(0.9);
}

.mfp-wrap .mfp-close {
  font-size: 4rem;
  font-weight: 100;
}

/* Use cases */
.feature-box.feature-box--step .fbox-icon a {
  pointer-events: none;
}

.feature-box.feature-box--step .fbox-icon i {
  background-color: var(--metallic-blue);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-box-border .feature-box.feature-box--step.fbox-color::after {
  background-color: var(--metallic-blue);
}

.feature-box.feature-box--step.fbox-light.fbox-border .fbox-icon i {
  color: var(--iron-grey);
  background-color: var(--glossy-aluminium) !important;
  font-weight: 400;
}

.feature-box.feature-box--step.fbox-light.fbox-border:hover .fbox-icon i {
  color: var(--full-white);
}

.feature-box.feature-box--step.fbox-light.fbox-border .fbox-icon i::after {
  background-color: var(--metallic-blue);
}

.feature-box-border .feature-box.feature-box--step:not(.noborder)::after {
  height: calc(100% + 60vw);
  background-color: var(--glossy-aluminium);
}

.feature-box.feature-box--step h3 {
  font-family: var(--font-body);
  color: var(--metallic-blue);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1.875rem;
}

.feature-box.feature-box--step p {
  color: var(--strong-grey);
  margin: 0 0 1.875rem;
}

.feature-box.feature-box--step p:last-child {
  margin: 0;
}

/* advantages */
#advantages {
  background-color: var(--glossy-aluminium-25);
}

#advantages__table {
  font-size: 0.75rem;
  text-align: center;
}

#advantages__table tbody td,
#advantages__table tbody tr {
  border-color: var(--strong-grey-70);
}

#advantages__table th,
#advantages__table td {
  padding: 1.2rem 0.5rem;
  vertical-align: middle;
}

#advantages__table thead th {
  font-weight: 500;
  color: var(--full-white);
  background-color: var(--metallic-blue);
}

#advantages__table tbody td {
  color: var(--strong-grey);
}

#advantages__table td.characteristic {
  font-weight: 700;
  text-align: left;
  background-color: var(--glossy-aluminium-20);
}

/* optimize */
.optimize {
  background-color: var(--metallic-blue);
}

.optimize img {
  filter: drop-shadow(rgba(0, 0, 0, 0.5) 0px 10px 10px);
}

.optimize h2 {
  color: var(--full-white);
}

.optimize p {
  color: var(--full-white-70);
}

/* contact */

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
}

.contact-link.contact-link--icon {
  display: inline-block;
}

.contact-link .contact-link__icon i {
  font-size: 1.3rem;
  color: var(--metallic-blue);
  background-color: var(--special-navy-blue-15);
  line-height: 3rem;
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  display: flex;
  justify-content: center;
  transition: all 0.2s linear;
}

.contact-link:hover .contact-link__icon i {
  color: var(--full-white);
  background-color: var(--special-navy-blue);
}

.contact-link .contact-link__info {
  color: var(--strong-grey);
  transition: all 0.2s linear;
}

.contact-link:hover .contact-link__info {
  color: var(--strong-grey-50);
}

#contactform .form-group {
  margin-bottom: 2rem;
}

#contactform .form-control {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--strong-grey);
  letter-spacing: 0px;
  word-spacing: 0px;
  font-weight: 500;
  border-color: transparent;
  border-radius: 0.5rem;
  background-color: var(--glossy-aluminium-35);
  box-shadow: none;
}

#contactform .form-control:focus {
  border-color: var(--metallic-blue);
}

#contactform .form-control.error {
  border-color: var(--invalid-feedback);
}

input:-webkit-autofill,
input:-webkit-autofill:focus {
  transition:
    background-color 600000s 0s,
    color 600000s 0s;
}

#contactform label {
  font-weight: 700;
}

#contactform .form-group input {
  height: 2.7rem;
}

#contactform .form-group.form-group--textarea {
  margin-bottom: 3rem;
}

.form-group.form-group--textarea textarea {
  min-height: 8rem;
}

.invalid-feedback {
  display: block;
  color: var(--invalid-feedback);
  text-align: right;
  margin-top: 0.5rem;
}

.form-process .css3-spinner .css3-spinner-scaler {
  background-color: var(--metallic-blue);
}

/* footer */
#footer.footer {
  background-color: hsl(210, 4%, 91%);
  border: 0;
}

#footer .copyrights {
  background-color: hsl(210, 4%, 91%);
}

.footer p {
  color: var(--strong-grey);
}

.footer-logo {
  max-width: 17.5rem;
  margin-bottom: 0;
}

ul.contact-info {
  margin-top: 1rem;
  margin-bottom: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
}

ul.contact-info li {
  display: inline-block;
  margin-bottom: 1rem;
}

ul.contact-info li:last-child {
  margin-bottom: 0;
}

.footer .contact-link-footer {
  color: var(--strong-grey);
}

.footer .contact-link-footer:hover {
  color: var(--strong-grey-50);
}

.footer .contact-link-footer i {
  margin-right: 0.5rem;
}

.contact-link-footer i.fa-whatsapp {
  font-size: 1.2rem;
}

.link-footer-icon {
  color: var(--strong-grey);
  font-size: 1.8rem;
  transition: all 0.2s linear;
}

.link-footer-icon:hover {
  color: var(--strong-grey-50);
}

#copyrights .contact-link-footer--terms,
#copyrights .contact-link-footer--policy {
  text-decoration: underline !important;
}

/* Media Query */
@media (min-width: 576px) {
  /*-- Utilities --*/
  .inner-container {
    max-width: 540px;
  }

  /*-- Slider --*/
  .slider-element__img-mob {
    left: -15vw;
  }

  /* Use cases */
  .feature-box-border .feature-box.feature-box--step:not(.noborder)::after {
    height: 330%;
  }
}

@media (min-width: 768px) {
  /*-- Globals --*/
  h1 {
    font-size: 3.5rem;
  }

  h2 {
    font-size: 3rem;
  }

  /*-- Utilities --*/
  .padding-block {
    padding-top: 6.25rem;
    padding-bottom: 6.25rem;
  }

  .inner-container {
    max-width: 720px;
  }

  /* Use cases */
  .feature-box-border .feature-box.feature-box--step:not(.noborder)::after {
    height: calc(100% - 95px);
  }

  /* contact */
  #contactform .form-group {
    margin-bottom: 2.5rem;
  }

  .form-group.form-group--textarea textarea {
    min-height: 6rem;
  }
}

@media (min-width: 992px) {
  /*-- Utilities --*/
  .inner-container {
    max-width: 960px;
  }

  /*-- Header --*/
  #header.header #header-wrap .header-row #logo img {
    padding: 1.25rem 0;
    padding-left: 0.9375rem;
  }

  .header .primary-menu-trigger {
    padding-right: 0.75rem;
  }

  /*-- Slider --*/
  #slider {
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 1) 0%,
      rgba(187, 202, 232, 0.7) 108%
    );
    min-height: calc(100vh - 101px);
  }

  #slider .slider-wrapper {
    align-items: center;
    background: url('../img/bloque-1/spettro-hero-image-desk.webp') no-repeat 0%
      100% / auto 100%;
    min-height: calc(100vh - 101px);
  }

  /* Use cases */
  .feature-box-border .feature-box.feature-box--step:not(.noborder)::after {
    height: calc(100% - 35px);
  }
}

@media (min-width: 1200px) {
  /*-- Utilities --*/
  .inner-container {
    max-width: 1140px;
  }

  /*-- Slider --*/
  .slider-title {
    line-height: 1.4;
  }

  /* Use cases */
  .feature-box-border .feature-box.feature-box--step:not(.noborder)::after {
    height: calc(100% - 55px);
  }
}

@media (min-width: 1400px) {
  /*-- Utilities --*/
  .inner-container {
    max-width: 1320px;
  }

  /* Use cases */
  .feature-box-border .feature-box.feature-box--step:not(.noborder)::after {
    height: calc(100% + 10px);
  }
}

@media (max-width: 1199.9px) {
  /*-- footer --*/
  .footer__inner-column-left .widget {
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 767.9px) {
  /* Use cases */
  .feature-box--image img {
    padding-left: 20%;
    padding-right: 12px;
  }

  /* advantages */
  #advantages__table th,
  #advantages__table td {
    display: none;
  }

  #advantages__table th:nth-child(1),
  #advantages__table th:nth-child(2),
  #advantages__table td:nth-child(1),
  #advantages__table td:nth-child(2) {
    display: table-cell;
  }

  /* footer */

  #footer .footer-widgets-wrap {
    padding-bottom: 3.125rem;
  }

  .footer__inner-column .widget {
    text-align: center;
  }

  .footer__inner-column-right .social-footer-icons {
    justify-content: center;
  }
}

@media (max-width: 1199.9px) and (min-width: 992px) {
  /*-- Slider --*/
  .slider__column--right {
    padding: 3rem;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 1rem;
  }
}
