/* =========================================
   TPV CONTACT CTA
========================================= */

.tpv-content .tpv-contact-note{
  display:flex;
  align-items:center;
  gap:19px;
  padding:0 !important;
  overflow:hidden;
  cursor:pointer;
  position:relative;
  transition:.25s ease;
}

.tpv-content .tpv-contact-note:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 40px rgba(0,0,0,.18);
}

.tpv-content .tpv-contact-note:hover .tpv-contact-arrow{
  transform:translateX(6px);
  opacity:1;
}

.tpv-content .tpv-contact-note:hover .tpv-contact-icon{
  transform:scale(1.08);
}

.tpv-content .tpv-contact-icon{
  width:120px;
  min-width:120px;
  align-self:stretch;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#2f2d38;
  color:#ffffff;
  font-size:42px;
  font-weight:700;
  position:relative;
  transition:.25s ease;
}

.tpv-content .tpv-contact-icon::after{
  content:'';
  position:absolute;
  width:54px;
  height:54px;
  border:1px solid rgba(255,255,255,.25);
  border-radius:999px;
  animation:tpvPulse 2s infinite;
}

@keyframes tpvPulse{

  0%{
    transform:scale(.8);
    opacity:1;
  }

  100%{
    transform:scale(1.5);
    opacity:0;
  }

}

.tpv-content .tpv-note-text{
  flex:1;
  padding:24px 0;
  color:#ffffff;
  font-size:24px;
  line-height:1.55;
}

.tpv-content .tpv-contact-arrow{
  color:#ffffff;
  font-size:52px;
  font-weight:300;
  padding-right:28px;
  opacity:.75;
  transition:.25s ease;
}

/* =========================================
   POPUP
========================================= */

html.tpv-popup-open,
body.tpv-popup-open{
  overflow:hidden;
}

.tpv-popup-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.58);
  backdrop-filter:blur(8px);
  z-index:999999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:.22s ease;
}

.tpv-popup-overlay.active{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}

.tpv-popup{
  width:100%;
  max-width:560px;
  background:#ffffff;
  border-radius:26px;
  overflow:hidden;
  position:relative;
  box-shadow:0 24px 70px rgba(0,0,0,.28);
  transform:translateY(12px) scale(.96);
  transition:.24s ease;
}

.tpv-popup-overlay.active .tpv-popup{
  transform:translateY(0) scale(1);
}

.tpv-popup-close{
  position:absolute;
  top:14px;
  right:14px;
  width:42px;
  height:42px;
  border:0;
  border-radius:12px;
  background:rgba(255,255,255,.14);
  color:#ffffff;
  cursor:pointer;
  font-size:28px;
  line-height:1;
  z-index:3;
  transition:.2s ease;
}

.tpv-popup-close:hover{
  background:rgba(255,255,255,.24);
}

.tpv-popup-head{
  padding:34px 34px 24px;
  background:#2f2d38;
  color:#ffffff;
}

.tpv-popup-head h3{
  margin:0 50px 8px 0;
  font-size:34px;
  line-height:1.1;
  color:#ffffff;
}

.tpv-popup-head p{
  margin:0;
  color:rgba(255,255,255,.72);
  font-size:16px;
  line-height:1.4;
}

/* =========================================
   LINKS
========================================= */

.tpv-popup-body{
  padding:18px;
  display:grid;
  gap:12px;
}

.tpv-popup-link{
  display:block;
  width:100%;
  padding:18px 20px;
  border-radius:18px;
  text-decoration:none;
  border:1px solid #ececec;
  color:#111111;
  transition:.2s ease;
  cursor:pointer;
  background:#ffffff;
  text-align:left;
  font-family:inherit;
}

.tpv-popup-link:hover{
  transform:translateY(-2px);
  border-color:#8fcd09;
  box-shadow:0 10px 26px rgba(0,0,0,.08);
}

.tpv-popup-link span{
  display:block;
  font-size:20px;
  font-weight:700;
  margin-bottom:4px;
  color:#111111;
}

.tpv-popup-link small{
  display:block;
  color:#777777;
  font-size:14px;
  line-height:1.35;
}

/* =========================================
   FORMS
========================================= */

.tpv-form-screen{
  display:none;
  padding:24px;
}

.tpv-form-screen.active{
  display:block;
}

.tpv-back{
  border:0;
  background:none;
  margin:0 0 18px;
  padding:0;
  cursor:pointer;
  color:#777777;
  font-size:15px;
  font-family:inherit;
}

.tpv-form-screen h4{
  margin:0 0 18px;
  font-size:28px;
  line-height:1.15;
  color:#111111;
}

.tpv-form-screen form{
  display:grid;
  gap:12px;
}

.tpv-form-screen input,
.tpv-form-screen textarea{
  width:100%;
  border:1px solid #e7e7e7;
  border-radius:16px;
  padding:16px;
  font-size:16px;
  line-height:1.3;
  outline:none;
  background:#ffffff;
  color:#111111;
  font-family:inherit;
}

.tpv-form-screen textarea{
  min-height:120px;
  resize:vertical;
}

.tpv-form-screen input:focus,
.tpv-form-screen textarea:focus{
  border-color:#8fcd09;
  box-shadow:0 0 0 4px rgba(143,205,9,.14);
}

.tpv-form-screen button[type="submit"]{
  border:0;
  border-radius:16px;
  background:#dd2a1b;
  color:#ffffff;
  padding:18px;
  font-size:16px;
  font-weight:700;
  cursor:pointer;
  transition:.2s ease;
  font-family:inherit;
}

.tpv-form-screen button[type="submit"]:hover{
  background:#c82014;
  transform:translateY(-1px);
}

/* =========================================
   MOBILE
========================================= */

@media(max-width:768px){

  .tpv-content .tpv-contact-note{
    gap:14px;
  }

  .tpv-content .tpv-contact-icon{
    width:72px;
    min-width:72px;
    font-size:28px;
  }

  .tpv-content .tpv-note-text{
    font-size:17px;
    line-height:1.45;
    padding:18px 0;
  }

  .tpv-content .tpv-contact-arrow{
    font-size:32px;
    padding-right:14px;
  }

  .tpv-popup-overlay{
    padding:14px;
    align-items:flex-end;
  }

  .tpv-popup{
    max-width:none;
    border-radius:24px 24px 18px 18px;
    max-height:calc(100vh - 28px);
    overflow:auto;
  }

  .tpv-popup-head{
    padding:26px 20px 18px;
  }

  .tpv-popup-head h3{
    margin-right:46px;
    font-size:24px;
  }

  .tpv-popup-body{
    padding:14px;
    gap:10px;
  }

  .tpv-popup-link{
    padding:15px 16px;
    border-radius:16px;
  }

  .tpv-popup-link span{
    font-size:18px;
  }

  .tpv-form-screen{
    padding:18px;
  }

  .tpv-form-screen h4{
    font-size:24px;
  }

}