@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");
/**

 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 * File Name: style.css

 * Author: info@adtrust.ru

 * Author URI: http://adtrust.ru/

 * Version: 1.0.0

 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 */

* {
  margin: 0;
  padding: 0;
}

:root {
  --ps-brand-blue: #0b2a78;
  --ps-brand-blue-2: #112d87;
  --ps-gold: #d8b47d;
  --ps-gold-soft: rgba(216, 180, 125, 0.32);
  --ps-gold-line: rgba(216, 180, 125, 0.72);
  --ps-gold-glow: rgba(216, 180, 125, 0.22);
  --ps-paper: #e9edf3;
  --ps-btn: #f2b066;
  --ps-btn-text: #1a1a1a;
  --ps-bg-1: #070b14;
  --ps-bg-2: #0b1a33;
  --ps-bg-3: #123a63;
  --ps-text: #f4f7ff;
  --ps-muted: rgba(244, 247, 255, 0.72);
  --ps-line: rgba(255, 255, 255, 0.16);
  --ps-shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
}

html,
body {
  position: relative;
  height: 100%;
  background: var(--ps-bg-1);
}

body {
  font-family: "Plus Jakarta Sans", "Open Sans", sans-serif;
  font-size: 16px;
  min-width: 960px;
  overflow-x: hidden;
  color: var(--ps-text);
  background:
    radial-gradient(900px 500px at 18% 0%, rgba(124, 58, 237, 0.2) 0%, rgba(124, 58, 237, 0) 65%),
    radial-gradient(900px 520px at 85% 20%, rgba(34, 197, 94, 0.16) 0%, rgba(34, 197, 94, 0) 60%),
    linear-gradient(180deg, var(--ps-bg-1) 0%, var(--ps-bg-2) 50%, var(--ps-bg-3) 100%);
}

img {
  border: none;
}

.clr {
  clear: both;
}

.container {
  width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

.hide {
  display: none;
}

.hide-mobile {
  display: initial;
}

input {
  color: #7f7f7f;
  font-size: 16px;
}

p {
  margin: 0;
}

h2 {
  color: var(--ps-text);
  font-size: 40px;
  font-weight: 700;
  line-height: 50px;
  text-align: center;
}

h2 span {
  font-weight: 800;
  color: var(--ps-gold);
}

.animatedBorder {
  position: relative;
}

.alpha {
  height: auto;
  width: auto;
}

/*=============================================

    header 

 =============================================*/

.header-top {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0 20px;
  margin-top: 20px;
  background: transparent;
  backdrop-filter: none;
  border-radius: 0;
  gap: 24px;
  position: relative;
}



.header-top::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(216, 180, 125, 0.8), rgba(255, 255, 255, 0));
}

.header {
  height: auto;
  min-height: 970px;
  background:
    radial-gradient(600px 260px at 10% 8%, rgba(216, 180, 125, 0.2) 0%, rgba(216, 180, 125, 0) 70%),
    radial-gradient(720px 420px at 95% 18%, rgba(9, 37, 127, 0.35) 0%, rgba(9, 37, 127, 0) 72%),
    linear-gradient(180deg, var(--ps-bg-1) 0%, var(--ps-bg-2) 52%, var(--ps-bg-3) 100%);
  position: relative;
  z-index: 1;
  padding-bottom: 60px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.logo {
  /* height: 76px; */
  /* background-size: contain; */
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  width: auto;
  min-width: 260px;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.logo img {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  object-fit: contain;
  margin: 0;
  border-radius: 0;
  background: none;
  border: none;
  box-shadow: none;
}
.logo .text-logo {
  /* padding-left: 75px; */
  padding-top: 0;
  max-width: 204px;
}

.logo .r1 {
  color: var(--ps-text);
  font-size: 15px;
}

.logo .r1 span {
  color: var(--ps-gold);
  font-size: 24px;
    font-weight: bold;
}

.logo .r2 {
  color: var(--ps-muted);
  font-size: 15px;
  font-weight: 400;
}

.center-block {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.add-block::before {
    content: "";
    background-image: url(images/pin.svg);
    width: 35px;
    height: 34px;
    background-size: contain;
    display: inline-block;
    vertical-align: -15px;
    margin-right: 7px;
    filter: brightness(0) invert(1);
}

.add-block .r1 {
  color: var(--ps-text);
  font-size: 20px;
  font-weight: 700;
  line-height: 23px;
}

.add-block .r2 {
  font-size: 15px;
  font-weight: 400;
  line-height: 21px;
  display: inline-block;
  vertical-align: top;
}

.add-block {
  min-width: 280px;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0 0 0 24px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  position: relative;
}

.add-block::after {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(216, 180, 125, 0.9), rgba(255, 255, 255, 0));
}

/* .phone-block::before {
  content: "";
  background-image: url(images/phone.svg);
  width: 26px;
  height: 26px;
  background-size: contain;
  display: inline-block;
  vertical-align: -15px;
  margin-right: 10px;
} */

.phone-link {
    color: var(--ps-text);
    font-size: 25px;
    font-weight: 700;
    line-height: 28px;
    padding-left: 45px;
    background: url('images/phone.svg') left center no-repeat;
    background-size: 28px;
    text-decoration: none;
}

.phone-link:hover {
    color: var(--ps-gold);
}


.tg-link {
    color: var(--main-text-color);
    font-size: 22px;
    font-weight: 700;
    line-height: 34px;
    padding-left: 45px;
    background: url('images/tg.png') left center no-repeat;
    background-size: 34px;
    text-decoration: none;
}

.tg-link:hover {
    color: var(--ps-gold);
}


.phone-block {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 290px;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0 0 0 24px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  position: relative;
}

.phone-block::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(216, 180, 125, 0.9), rgba(255, 255, 255, 0));
}

.logo,
.add-block,
.phone-block {
  transition: opacity 0.25s ease;
}

.add-block:hover,
.phone-block:hover {
  opacity: 0.9;
}

.header_phone .submit {
  width: 250px;
  height: 50px;
  font-size: 13px;
  text-transform: none;
  margin-bottom: 0;
  line-height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* left txt */
.header_text {
  padding: 50px 0 0 0px;
  height: auto;
  position: relative;
  z-index: 9;
}

.header_text .r1 {
  font-size: 30px;
  line-height: 45px;
  color: var(--ps-text);
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 10px 32px rgba(0, 0, 0, 0.35);
}

.header_text .r1 span {
  font-weight: 800;
  color: var(--ps-gold);
}

.header .quiz {
  width: 100%;
  max-width: 800px;
  height: 580px;
  background-color: var(--ps-paper);
  box-shadow: var(--ps-shadow);
  margin: 40px auto 0;
  padding: 30px 60px;
  border: 1px solid rgba(9, 37, 127, 0.22);
  border-radius: 8px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.header .quiz::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(216, 180, 125, 0), var(--ps-gold-line), rgba(216, 180, 125, 0));
}

.header .quiz::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -110px;
  top: -110px;
  background: radial-gradient(circle, var(--ps-gold-glow) 0%, rgba(216, 180, 125, 0) 70%);
  pointer-events: none;
}

.cases-section {
  margin: 56px auto 0;
  max-width: 980px;
}

.cases-title {
  color: var(--ps-text);
  font-size: 30px;
  line-height: 45px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 10px 32px rgba(0, 0, 0, 0.35);
  position: relative;
  padding-bottom: 14px;
}

.cases-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 180px;
  height: 2px;
  background: linear-gradient(90deg, rgba(216, 180, 125, 0), var(--ps-gold-line), rgba(216, 180, 125, 0));
}

.cases-subtitle {
  margin-top: 8px;
  color: var(--ps-muted);
  font-size: 17px;
  line-height: 1.5;
  text-align: center;
}

.cases-slider {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.cases-viewport {
  width: 100%;
  overflow: hidden;
}

.cases-track {
  display: flex;
  gap: 20px;
  transition: transform 0.35s ease;
  will-change: transform;
}

.case-card {
  flex: 0 0 calc((100% - 40px) / 3);
  min-height: 140px;
  border: 1px solid rgba(9, 37, 127, 0.2);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(9, 37, 127, 0.12);
  text-decoration: none;
  padding: 22px 18px;
  color: #212325;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.case-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(216, 180, 125, 0), var(--ps-gold-line), rgba(216, 180, 125, 0));
}

.case-card:hover {
  border-color: var(--ps-brand-blue);
  box-shadow: 0 10px 24px rgba(9, 37, 127, 0.2);
  transform: translateY(-2px);
}

.case-number {
  color: var(--ps-brand-blue);
  font-size: 17px;
  line-height: 1.35;
  font-weight: 700;
}

.case-term {
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.4;
  color: #42526f;
}

.cases-nav {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border: none;
  border-radius: 50%;
  background: var(--ps-btn);
  color: var(--ps-btn-text);
  font-size: 24px;
  line-height: 44px;
  cursor: pointer;
  border: 1px solid rgba(126, 82, 22, 0.25);
  box-shadow: 0 6px 18px rgba(126, 82, 22, 0.22);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.cases-nav:hover {
  background: #f7be7c;
  transform: translateY(-1px);
}

.cases-nav:disabled {
  opacity: 0.45;
  cursor: default;
}


/*=============================================

request

=============================================*/

.request_callback {
  height: auto;
}

.leftform {
  float: left;
  width: 39%;
  height: auto;
  margin-left: -8px;
}

.header .leftform {
  padding-bottom: 50px;
  padding-top: 10px;
}

.request_callback_style {
  /* margin: 260px 0 0 0; */
  height: 560px;
  width: 516px;
  position: absolute;
  margin-top: 135px;
  margin-left: 570px;
  padding-right: 10px;
}

.header .inputs {
  padding: 45px 0 0 0;
  margin: auto;
}

.zv {
  color: var(--ps-muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  text-align: center;
}

.inputs {
  width: 420px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.input_text input {
  width: 100%;
  height: 59px;
  background: none;
  border: none;
  outline: none;
  border-radius: 8px;
  color: #646464;
  font-size: 14px;
  font-weight: 400;
}

.input_text input[type="tel"] {
  width: 100%;
  height: 59px;
  background: none;
  border: none;
  outline: none;
  border-radius: 8px;
  background: url(images/hr.png) right 57px top 13px no-repeat;
  color: #646464;
  font-size: 14px;
  font-weight: 400;
}

::-webkit-input-placeholder {
  color: #646464;
  font-size: 14px;
}

::-moz-placeholder {
  /* Firefox 19+ */
  color: #646464;
  font-size: 14px;
}

:-ms-input-placeholder {
  color: #646464;
  font-size: 14px;
}

:-moz-placeholder {
  /* Firefox 18- */
  color: #646464;
  font-size: 14px;
}

.input_text  {
  width: 100%;
  display: inline-block;
  vertical-align: top;
  margin: 0 0px 10px 0px;
  padding-left: 24px;
  border-radius: 8px;
  border: 1px solid rgba(9, 37, 127, 0.25);
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  background-color: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input_text:focus-within {
  border-color: var(--ps-gold-line);
  box-shadow: 0 0 0 3px rgba(216, 180, 125, 0.18);
}

.phone_input_text {
  width: 100%;
  display: inline-block;
  vertical-align: top;
  margin: 0 0px 10px 0px;
  padding-left: 24px;
  background: #fff url("images/phone-input.png") right 20px top 21px no-repeat;
  border-radius: 8px;
  border: 1px solid rgba(9, 37, 127, 0.25);
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  background-color: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.phone_input_text:focus-within {
  border-color: var(--ps-gold-line);
  box-shadow: 0 0 0 3px rgba(216, 180, 125, 0.18);
}

.button-offer {
  font-size: 21px;
  vertical-align: -1px;
  margin: 0px 0 0 15px;
}

/* for a awesome arrow*/
.submit {
  display: block;
  height: 59px;
  width: 100%;
  color: var(--ps-btn-text);
  font-size: 15px;
  font-weight: 600;
  line-height: 59px;
  background: linear-gradient(180deg, #f5bf7e 0%, var(--ps-btn) 100%);
  border-radius: 8px;
  border: 1px solid rgba(126, 82, 22, 0.28);
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin-bottom: 15px;
  box-shadow: 0 8px 20px rgba(126, 82, 22, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.submit:hover {
  background: linear-gradient(180deg, #f9c98d 0%, #f7be7c 100%);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(126, 82, 22, 0.26);
}

.submit .right-button {
  background: url("images/right-button.png") center top no-repeat;
  width: 28px;
  height: 14px;
  margin: 0 0 0 15px;
  display: inline-block;
  vertical-align: -2px;
}

.submit .left-button {
  background: url("images/left-button.png") center top no-repeat;
  width: 28px;
  height: 14px;
  margin: 0 15px 0 0;
  display: inline-block;
  vertical-align: -2px;
}

.submit .left-button-white {
  background: url("images/left-button.png") center top no-repeat;
  width: 28px;
  height: 14px;
  margin: 0 15px 0 0;
  display: inline-block;
  vertical-align: -2px;
}

/*=============================================

   portfolio

=============================================*/
.portfolio {
  padding: 80px 0 100px;
}

.portfolio h2 {
  padding: 0 0 80px 0;
}

.portfolio .block {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 60px 0;
}

.portfolio .kat-block {
  width: 30%;
}

.portfolio .info-block img {
  border-radius: 10px;
  display: block;
  width: 100%;
  position: relative;
}

.portfolio .kat-block .photo-block .yellow-block {
  width: 132px;
  height: 237px;
  border: 2px solid var(--ps-gold);
  position: absolute;
  margin-left: 387px;
  margin-top: 68px;
}

.portfolio .kat-block2 .photo-block .yellow-block {
  width: 132px;
  height: 237px;
  border: 2px solid var(--ps-gold);
  position: absolute;
  margin-left: -30px;
  margin-top: 68px;
}

.portfolio .info-block h3 {
  color: #212325;
  font-size: 25px;
  font-weight: 700;
  line-height: 32px;
  padding: 20px 0;
}

.portfolio .info-block ul {
  padding: 30px 0;
}

.portfolio .info-block ul li {
  font-size: 16px;
  font-weight: 400;
  list-style: none;
  color: #646464;
  text-transform: none;
  background-image: url(images/li.png);
  background-position: left 9px;
  background-repeat: no-repeat;
  padding: 10px 0 10px 40px;
  letter-spacing: 0;
}

.portfolio .info-block .price {
  font-size: 18px;
  color: #212325;
  padding-bottom: 30px;
}

.portfolio .info-block .price span {
  font-weight: 700;
}

.portfolio .inputs {
  width: 100%;
}

.portfolio .submit {
  font-size: 14px;
}

.portfolio .info-block .zv {
  color: #646464;
}

.footer {
  padding: 46px 0 0;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 860px;
  height: 1px;
  background: linear-gradient(90deg, rgba(216, 180, 125, 0), var(--ps-gold-line), rgba(216, 180, 125, 0));
}

.footer p {
  color: var(--ps-muted);
  font-size: 14px;
  text-align: center;
}

.footer-links {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.footer-links a {
  color: var(--ps-muted);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--ps-text);
}

.header__form {
  padding: 40px;
    background: white;
    display: inline-block;
    margin: auto;
    display: flex;
    justify-content: center;
    max-width: 455px;
    margin-top: 67px;
}

.request_callback {
    display: flex;
    width: 100%;
}

.header .inputs {
    padding: 20px 0 21px 0;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* justify-content: space-between; */
  }

  fieldset {
    border: none;
    display: flex;
    flex-direction: row;
    gap: 13px;
    justify-content: space-between;
    font-size: 18px;
    padding: 0 0 10px 0;
  }
