@font-face {
    font-family: 'Ubuntu';
    src: url('../fonts/Ubuntu-Regular.woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Ubuntu';
    src: url('../fonts/Ubuntu-Medium.woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Ubuntu';
    src: url('../fonts/Ubuntu-Bold.woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
:root{
    --blue:#003049;
    --light-white:#F0F2F4;
    --white:#fff;
    --black:#000;
    --gray:#a2a2a2;
    --light-blue:#669CBC;
    --bold:700;
    --medium:500;
    --regular:400;
}
*,
*::after,
*::before{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
html{
    font-family: "Ubuntu", sans-serif;
    font-size: 16px;
    scroll-behavior: smooth;
}
@media(max-width:1024px){
    html{
        font-size: 14px;
    }
}
@media(max-width:767px){
    html{
        font-size: 10px;
    }
}

.container{
    max-width: 1200px;
    margin: 0 auto;
}
a{
    text-decoration: none;
}
/*text*/
h1{
    font-size:2.5rem;
    color:var(--black);
    font-weight: var(--bold);
}
h2{
    font-size: 2.5rem;
    font-weight: var(--bold);
    color:var(--black)
}
h3{
    font-size: 1.25rem;
    font-weight: var(--regular);
    color:var(--black);
}
.uppercase{
    text-transform: uppercase;
}
.bold{
    font-weight: var(--bold);
}
.medium{
    font-weight: var(--medium);
}
.regula {
    font-weight: var(--regular);
}
.font-sx{
    font-size: 0.875rem;
}
.font-sm{
    font-size: 1rem !important;
}
.font-s{
    font-size:1.25rem;
    line-height: 1.55;
}
.font-sl{
    font-size: 1.5rem;
}
.font-x{
    font-size: 1.875rem;
}
.big-text{
    font-size: 9.735rem;
}
.primary-text{
    color:var(--light-blue)
}
.rotate-90{
    transform: rotate(-90deg);
}
.text-center{
    text-align: center;
}
/*sizes*/
.w-max{
    width: max-content;
}
.w-full{
    width: 100%;
}
.h-125{
    height: 1.25rem;
}
.h-25{
    height: 2.5rem;
}
.h-0875{
    height: 0.875rem;
}
.w-4{
    width: 4rem;
}
.h-max{
    height: max-content;
}
/*elements*/
.btn{
    display: flex;
    flex-direction: row;
    font-size: .875rem;
    border-radius: 1.25rem;
}
.btn-primary{
    border:2px solid var(--blue);
    color:var(--blue);
}
.btn-primary:hover{
    background: var(--blue);
    color:var(--white);
}
.btn-secondary{
    border:2px solid var(--white);
    color:var(--white);
}
.btn-secondary:hover{
    background: var(--white);
    color:var(--blue);
}
.link{
    font-size: 1.5rem;
    text-align: center;
}
.link-white{
    color:var(--white)
}
.link-white:hover{
    color:var(--gray)
}
.link-black{
    color:var(--black)
}
.link-black:hover{
    color:var(--gray)
}
.link-white:hover .icon-white{
    color:var(--gray)
}
.icon{
    width: 2.5rem;
    height: 2.5rem;
}
.icon-blue{
    color:var(--light-blue)
}
.icon-white{
    color:var(--white)
}
.qr-code{
    width: 5.625rem;
    height: 5.625rem;
}
.line{
    background: var(--light-white);
}
/*window*/
.flex-row{
    display: flex;
    flex-direction: row;
}
.flex-col{
    display: flex;
    flex-direction: column;
}
.align-center{
    align-items: center;
}
.align-start{
    align-items: start;
}
.justify-center{
    justify-content: center;
}
.justify-start{
    justify-content: start;
}
.space-between{
    justify-content: space-between;
}
.radius-125{
    border-radius: 1.25rem;
}
/*paddings*/
.py-125{
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}
.py-25{
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}
.py-3125{
    padding-left: 3.125rem;
    padding-right: 3.125rem;
}
.px-125{
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}
.px-15625{
    padding-top: 1.5625rem;
    padding-bottom: 1.5625rem;
}
.px-25{
    padding-bottom: 2.5rem;
    padding-top: 2.5rem;
}
.p-0625{
    padding: 0.625rem;
}
.m-1{
    margin-top: 1rem;
}
.m-25{
    margin: 2.5rem;
}
.m-3{
    margin-top: 3.5rem;
}
.m-35{
    margin-top: 5.5rem;
}
.gap-25{
    gap:2.5rem;
}
.gap-025{
    gap:0.25rem;
}
.gap-125{
    gap:1.25rem
}
.gap-625{
    gap:6.25rem
}
/*animation*/
.btn, .link, .link-white .icon-white{
    transition: all .3s ease;
}
.email-photo{
    width: 100%;
}
.photo{
    width: 150px;
}
.relative{
    position: relative;
}
.absolute{
    position: absolute;
}
.z-2{
    z-index: 2;
}
.z-1{
    z-index: 1;
}

.text-absolute{
    top: -20%;
  left: 19%;
  color:#0E3B53
}
.analitic-item{
    border-radius: 1.125rem;
    padding: 1.125rem;
    border:2px solid var(--black);
    display: flex;
    flex-direction: row;
    gap:1rem
}
.analitic-content{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto auto;
    gap: 24px;
}
.analitic-item:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}
.analitic-item:nth-child(2) {
  grid-column: 2;
  grid-row: 1 / 3;
}
.analitic-item:nth-child(3) {
  grid-column: 1;
  grid-row: 2 / 4;
}
.analitic-item:nth-child(4) {
  grid-column: 2;
  grid-row: 3;
}
.card-link{
    display: flex;
    flex-direction: row;
    gap:1.5rem
}
@media(max-width:767px){
    .analitic-content{
        display: flex;
        flex-direction: column;
    }
    .card-link{
        flex-direction: column;
        gap:1rem
    }
    .analitic__wrapper h2{
        text-align: center;
    }
}
.wp-post-image{
    width: 160px;
    height: auto;
}

























.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.wpcf7-label {
    display: block;
    margin-bottom: 8px;
    color: white;
    font-weight: 500;
}
label{
    color:white
}
form input{
    margin-top: 10px;
}
.wpcf7-text,
.wpcf7-email,
.wpcf7-tel,
.wpcf7-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 4px;
    font-size: 14px;
}

.wpcf7-text::placeholder,
.wpcf7-email::placeholder,
.wpcf7-tel::placeholder,
.wpcf7-textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.wpcf7-textarea {
    min-height: 120px;
    resize: vertical;
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
}

.checkbox-label .wpcf7-list-item {
    display: inline;
    margin: 0;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 3px;
}

.wpcf7-submit {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 16px 32px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wpcf7-submit:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Адаптивность */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}
.form-block{
    background: var(--blue);
    border: 2px solid var(--white);
    border-radius: 1.5rem;
    padding:2.5rem 3.25rem;
    box-shadow: 2px 2px 100px -34px #FFFFFF;
}
.wpcf7-response-output{
    color:var(--white)
}

.card{
    border-radius: 1.25rem;
    border:2px solid var(--black);
    padding:1.25rem 2.5rem;
}
.card{
    gap:20px;
}
.blog-content{
    display: grid;
    grid-template-columns: repeat(2,auto);
    gap:2rem
}
.phone-photo{
    max-width: 500px;
}
.title{
    font-size:18px;
    text-align: center;
}
.subtitle{
    font-size: 12px;
        text-align: center;

}
.text-under-bot{
        text-align: center;

}
.vin-chat-container {
  width: 100%;
  max-width: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  display: flex;
  flex-direction: column;
  height: 500px; /* Оптимальная высота */
}

.vin-chat-box {
  border: 2px solid #d0d8e8;
  border-radius: 24px;
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05); /* Легкая тень для объема */
}

/* Сообщения — сверху, с прокруткой */
.vin-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
}

/* Больше «воздуха» внизу */
.vin-messages::after {
  content: '';
  display: block;
  height: 10px;
}

/* Светло-голубой фон для бота */
.vin-message.bot {
  align-self: flex-start;
  background: #d6eaf8; /* светло-голубой */
  color: #1a3a52;
  border-radius: 16px 16px 16px 4px;
}

.vin-message.user {
  align-self: flex-end;
  background: #1e3a5f;
  color: white;
  border-radius: 16px 16px 4px 16px;
}

.vin-message {
  max-width: 85%;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.45;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.vin-message.error {
  background: #ffe0e0;
  color: #c00;
  border: 1px solid #fcc;
}

/* Ввод — внизу, как в ChatGPT/Telegram */
.vin-input-wrapper {
  display: flex;
  align-items: flex-end;
  padding: 12px 16px 16px;
  gap: 10px;
  background: #fff;
  border-top: 1px solid #e8ecf4;
  flex-shrink: 0;
}

.vin-input-field {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  line-height: 1.4;
  resize: none;
  max-height: 80px;
  min-height: 20px;
  font-family: inherit;
  color: #333;
  padding: 6px 0;
}

.vin-input-field::placeholder {
  color: #99a;
}

/* Идеальный круг для кнопки */
.vin-send-btn {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  background: #1e3a5f;
  border: none;
  border-radius: 50%; /* идеальный круг */
  color: white;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0; /* не сжимается */
  transition: opacity 0.2s, transform 0.1s, background 0.2s;
}

.vin-send-btn:hover {
  opacity: 0.9;
  background: #2a4a7a;
}

.vin-send-btn:active {
  transform: scale(0.95);
}

.vin-send-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  opacity: 0.6;
}

/* Индикатор загрузки (колесо) */
.vin-loading {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  color: #667;
  font-size: 13px;
}

.vin-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid #d0d8e8;
  border-top-color: #1e3a5f;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Адаптив */
@media (max-width: 480px) {
  .vin-chat-container {
    height: 400px; /* Компактная высота для мобильных */
  }
  .vin-input-wrapper {
    padding: 10px 12px 12px;
  }
  .vin-input-field {
    font-size: 14px;
  }
  .vin-send-btn {
    width: 36px;
    height: 40px;
    min-width: 36px;
    min-height: 40px;
  }
  .vin-message {
    max-width: 90%;
    font-size: 13px;
  }
}
/* Ссылки в форме — цвет как у текста */
.vin-chat-container a,
.vin-chat-container a:link,
.vin-chat-container a:visited,
.vin-chat-container a:hover,
.vin-chat-container a:active {
    color: inherit !important;
    text-decoration: none !important;
}

.oil-chat-container {
  width: 100%;
  max-width: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  display: flex;
  flex-direction: column;
  height: 500px; /* Оптимальная высота */
}

.oil-chat-box {
  border: 2px solid #d0e8dc;
  border-radius: 24px;
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05); /* Легкая тень */
}

/* Сообщения — сверху, с прокруткой */
.oil-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
}

/* Больше «воздуха» внизу */
.oil-messages::after {
  content: '';
  display: block;
  height: 10px;
}

/* Светло-голубой фон для всех сообщений (единый стиль) */
.oil-message.bot,
.oil-message.user {
  background: #d6eaf8; /* светло-голубой */
  color: #1a3a52;
  border-radius: 16px;
}

.oil-message.user {
  align-self: flex-end;
  border-radius: 16px 16px 4px 16px;
}

.oil-message.bot {
  align-self: flex-start;
  border-radius: 16px 16px 16px 4px;
}

.oil-message {
  max-width: 85%;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.45;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.oil-message.error {
  background: #ffe0e0;
  color: #c00;
  border: 1px solid #fcc;
}

/* Ввод — внизу, как в ChatGPT/Telegram */
.oil-input-wrapper {
  display: flex;
  align-items: flex-end;
  padding: 12px 16px 16px;
  gap: 10px;
  background: #fff;
  border-top: 1px solid #e8ecf4;
  flex-shrink: 0;
}

.oil-input-field {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  line-height: 1.4;
  resize: none;
  max-height: 80px;
  min-height: 20px;
  font-family: inherit;
  color: #333;
  padding: 6px 0;
}

.oil-input-field::placeholder {
  color: #99a;
}

/* Идеальный круг для кнопки */
.oil-send-btn {
width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  background: #2d7a4f;
  border: none;
  border-radius: 50%; /* идеальный круг */
  color: white;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: opacity 0.2s, transform 0.1s, background 0.2s;
}

.oil-send-btn:hover {
  opacity: 0.9;
  background: #3a9a64;
}

.oil-send-btn:active {
  transform: scale(0.95);
}

.oil-send-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  opacity: 0.6;
}

/* Индикатор загрузки (колесо) — в области сообщений */
.oil-loading {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  color: #667;
  font-size: 13px;
}

.oil-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid #d0d8e8;
  border-top-color: #2d7a4f;
  border-radius: 50%;
  animation: oil-spin 0.8s linear infinite;
}

@keyframes oil-spin {
  to { transform: rotate(360deg); }
}

/* Ссылки в сообщениях — цвет как у текста */
.oil-message a,
.oil-message a:link,
.oil-message a:visited,
.oil-message a:hover,
.oil-message a:active {
  color: inherit !important;
  text-decoration: underline !important;
  word-break: break-all;
}

/* Адаптив */
@media (max-width: 480px) {
  .oil-chat-container {
    height: 400px; /* Компактная высота для мобильных */
  }
  .oil-input-wrapper {
    padding: 10px 12px 12px;
  }
  .oil-input-field {
    font-size: 14px;
  }
  .oil-send-btn {
    width: 36px;
    height: 40px;
    min-width: 36px;
    min-height: 40px;
  }
  .oil-message {
    max-width: 90%;
    font-size: 13px;
  }
}