/*
Theme Name: KTB 1440
Description: Тема для конструкторско-технологического бюро
Version: 1.0
*/


.hero-section {
    background: rgb(10 21 45);
    color: white;
    padding: 100px 0;


}

.bg-dark {
    background-color: rgb(10 21 45) !important;
    color: white;
}


.section-padding {
    padding: 80px 0;
}

.icon-box {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.problem-card,
.service-card {
    transition: transform 0.3s;
    height: 100%;
}

.problem-card:hover,
.service-card:hover {
    transform: translateY(-5px);
}

.process-step {
    text-align: center;
    padding: 20px;
}

.process-number {
    width: 60px;
    height: 60px;
    background: rgb(23 53 114);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    font-weight: bold;
}

.cta-section {
    background: #f8f9fa;
    padding: 80px 0;
}

#about .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#about .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

#about .border-rounded {
    border: 2px solid #e9ecef !important;
}

#about .bg-light {
    background-color: #f8f9fa !important;
}

/* Адаптивность */
@media (max-width: 768px) {
    #about .display-4 {
        font-size: 2.5rem;
    }

    #about .card-body {
        padding: 1.5rem !important;
    }
}

#cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #f1f1f1;
    padding: 15px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-content a {
    color: #000;
}

#cookie-accept {
    background: rgb(23 53 114);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

.ktb {
    border: 2px solid #fff;
    padding: 10px 20px;
    text-decoration: none;
    display: inline-block;
    border-radius: 2px;
}

.btn-lg {
    --bs-btn-font-size: 1.1rem !important;
    --bs-border-width: 2px !important;
    --bs-border-radius-lg: 2px !important;
}


.card-1 {
    border: 1px solid rgb(255 255 255 / 55%);
    border-radius: 2px;
}

.card-2 {
    border: 1px solid rgb(255 255 255 / 55%);
    border-radius: 2px;
}


.card-2 p {
    margin: 0;
}


.card-3 {
    flex: 1 1 auto;
    padding: var(--bs-card-spacer-y) var(--bs-card-spacer-x);
    color: #fff;
    background-color: rgb(15 33 69);
    border-radius: 10px;
}

.text-success {
    color: #0d6efd !important;
}

.card-3 h4 {
    margin-bottom: 30px;
    font-size: 21px !important;

}



.text-base {
    color: rgb(23 53 114);
}



.icon-box {
    font-size: 3.5rem !important;
}


.case-image {
    height: 200px;
    background: rgb(23 53 114);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    border-bottom: 1px solid #dee2e6;
}

.case-card {
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.result-badge {
    font-size: 0.8rem;
    padding: 0.4em 0.8em;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    opacity: 0.8;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 1.5rem 1.5rem;
    width: 3rem;
    height: 3rem;
}

.carousel-indicators {
    bottom: -60px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 8px;
    background-color: #6c757d;
    border: 2px solid transparent;
}

.carousel-indicators button.active {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.carousel-item {
    padding: 10px 0;
}

/* .carousel-controls-top {
    display: flex;
    gap: 10px;
    margin-top: -3rem!important;
} */

.carousel-controls-bottom .carousel-control-prev,
.carousel-controls-bottom .carousel-control-next {
    position: static;
    transform: none;
    width: auto;
    opacity: 1;

}


.carousel-control-prev,
.carousel-control-next {
    position: static;
    transform: none;
    width: auto;
    opacity: 1;
    display: inline-flex !important;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .case-image {
        height: 150px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        background-size: 1rem 1rem;
        width: 2rem;
        height: 2rem;
    }
}


.section-padding {
    padding: 80px 0;
}

#pricing .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

#pricing .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

#pricing .bg-light {
    background-color: #f8f9fa !important;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 20px;
    background: #0d6efd;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.step-card {
    position: relative;
    height: 100%;
}

.payment-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

/* Адаптивность */
@media (max-width: 768px) {
    #pricing .display-4 {
        font-size: 2.5rem;
    }

    #pricing .card-body {
        padding: 1.5rem !important;
    }
}

/* Стили для кнопки скролла наверх */
#scrollToTopBtn {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: rgb(23 53 114);
    color: white;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

#scrollToTopBtn:hover {
    background-color: #0b5ed7;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}


.display-4 {
    font-weight: 400 !important;

}

.bg-dark-1 {
    background-color: rgb(23 53 114);
}

.logo-svg {

    width: auto;
    /* Гибкая ширина */
    height: 40px;
    /* Контроль через высоту */
    max-width: 240px;
    /* Ограничение пропорций */
    shape-rendering: geometricPrecision;
    text-rendering: geometricPrecision;
    image-rendering: optimizeQuality;
    fill-rule: evenodd;
    clip-rule: evenodd;
}

.fil0 {
    fill: #45444D;
}

.fil1 {
    fill: rgb(255 255 255 / 55%);
    fill-rule: nonzero;
}


.btn-primary {
    /* --bs-btn-color: #fff; */
    --bs-btn-bg: #0d6efd !important;
    --bs-btn-border-color: #0d6efd !important;
    /* --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0b5ed7;
    --bs-btn-hover-border-color: #0a58ca; */

}

.navbar-nav .nav-link {
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #0d6efd !important;
}

.btn-primary {
    transition: all 0.3s ease;
}

.modal-header {
    border-bottom: none !important;
}

.card-title-1 {
    margin-bottom: 10px;
}

.form-control {
  display: block;
  width: 100%;
  max-width: 300px;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-bottom: 10px;
}


.form-control:focus {
  box-shadow:none !important;
  border: 1px solid #007bff !important;
}


.btn-1 {
  display: block;
  padding: 10px 60px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.btn:hover {
  background: #0056b3;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.p-3{
	margin-bottom: 5px !important;
	
}


.price-badge {
    color: #ffffff !important;
    font-weight: 500;
    font-size: 0.85rem;
    white-space: nowrap;
    text-align: center;
}

/* 19.11: окно заявки */
.ktb-lead{padding:4px 8px 8px}
.ktb-lead__title{font-weight:700;margin:0 0 10px;color:#111}
.ktb-lead__text{color:#444;margin:0 0 18px;line-height:1.5}
.ktb-lead p:last-child{margin-bottom:0}

/* 20.11: CRM-форма Б24 в окне заявки */
.ktb-lead{text-align:left}
.ktb-lead__title,.ktb-lead__text{text-align:center}
.ktb-lead__form{min-height:120px;margin:0 -8px}
.ktb-lead__alt{text-align:center;color:#555;font-size:14px;margin:12px 0 0}
.ktb-lead__alt a{white-space:nowrap}

/* 20.11: окно заявки в две колонки (макет) */
.ktb-lead-dialog{max-width:860px}
.ktb-lead-dialog .modal-content{border:0;border-radius:14px;overflow:hidden;box-shadow:0 24px 60px rgba(0,0,0,.35)}
.ktb-lead-dialog .modal-header{position:absolute;top:0;right:0;z-index:5;padding:14px}
.ktb-lead-dialog .modal-body{padding:0}
.ktb-lead-dialog .modal-body .col-md-12,.ktb-lead-dialog .wpcf7{padding:0;margin:0}
.ktb-lead--split{display:grid;grid-template-columns:5fr 7fr;padding:0;text-align:left}
.ktb-lead__side{background:#0a152d linear-gradient(160deg,#0f2147 0%,#0a152d 70%);color:#dbe3f3;padding:36px 30px;display:flex;flex-direction:column}
.ktb-lead--split .ktb-lead__kicker{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:#6ea8fe;margin-bottom:10px;font-weight:600}
.ktb-lead--split .ktb-lead__title{color:#fff;font-size:24px;line-height:1.25;text-align:left;margin:0 0 12px}
.ktb-lead--split .ktb-lead__text{color:#b9c5dc;text-align:left;font-size:15px;margin:0 0 20px}
.ktb-lead__list{list-style:none;padding:0;margin:0 0 24px}
.ktb-lead__list li{display:flex;gap:10px;font-size:14px;line-height:1.45;margin-bottom:10px;color:#dbe3f3}
.ktb-lead__list i{color:#6ea8fe;font-size:18px;line-height:1;flex:none;margin-top:1px}
.ktb-lead__contacts{margin-top:auto;padding-top:18px;border-top:1px solid rgba(255,255,255,.12);display:flex;flex-direction:column;gap:6px;font-size:14px}
.ktb-lead__contacts span{color:#8fa0bf}
.ktb-lead__contacts a{color:#fff;text-decoration:none;display:flex;align-items:center;gap:8px}
.ktb-lead__contacts a:hover{color:#6ea8fe}
.ktb-lead--split .ktb-lead__form{margin:0;padding:30px 26px 18px;min-height:420px;background:#fff}

/* форма Б24 в цветах сайта */
.ktb-lead__form .b24-form > div{
  --b24-primary-color:#0d6efd !important;--b24-primary-hover-color:#0b5ed7 !important;
  --b24-field-background-color:#f5f7fb !important;--b24-field-border-color:#dfe5ef !important;
  --b24-field-focus-background-color:#fff !important;--b24-text-color:#1b2433 !important;
  --b24-font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif !important}
.ktb-lead__form .b24-form,.ktb-lead__form .b24-form *{font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif !important}
.ktb-lead__form .b24-form-wrapper{box-shadow:none !important;border:0 !important;max-width:none !important;padding:0 !important;background:transparent !important}
.ktb-lead__form .b24-form-header-padding{display:none}
.ktb-lead__form .b24-form-padding-side{padding:0 !important}
.ktb-lead__form .b24-form-content form > div:first-child{display:grid;grid-template-columns:1fr 1fr;column-gap:12px}
.ktb-lead__form .b24-form-field-email,.ktb-lead__form .b24-form-field-text,.ktb-lead__form .b24-form-field-file{grid-column:1/-1}
.ktb-lead__form .b24-form-field{margin-bottom:12px !important}
.ktb-lead__form .b24-form-control{border-radius:10px !important;border:1px solid #dfe5ef !important;background:#f5f7fb !important}
.ktb-lead__form .b24-form-control:focus{border-color:#0d6efd !important;background:#fff !important;box-shadow:0 0 0 3px rgba(13,110,253,.15) !important}
.ktb-lead__form textarea.b24-form-control{min-height:96px}
.ktb-lead__form .b24-form-field-file.b24-form-control-group{background:none !important;border:0 !important;padding:0 !important}
.ktb-lead__form .b24-form-field-file .b24-form-control-container{border:1.5px dashed #c7d2e4;border-radius:10px;padding:10px 12px;background:#fafbfe}
.ktb-lead__form .b24-form-field-file .b24-form-control-label{position:static !important;font-size:13px;color:#5b6b85;margin-bottom:6px;transform:none !important}
.ktb-lead__form .b24-form-control-file-button{background:#fff !important;border:1px solid #c7d2e4 !important;border-radius:8px !important;font-size:14px;padding:6px 14px !important;height:auto !important;min-height:0 !important;color:#0d6efd !important;width:auto !important}
.ktb-lead__form .b24-form-field-agreement{font-size:13px}
.ktb-lead__form .b24-form-field-agreement a{color:#5b6b85 !important}
.ktb-lead__form .b24-form-btn-container{padding:0 !important;margin-top:4px}
.ktb-lead__form .b24-form-btn{border-radius:10px !important;font-weight:600 !important;font-size:16px !important;height:52px !important;letter-spacing:.01em;box-shadow:0 8px 20px rgba(13,110,253,.25)}
.ktb-lead__form .b24-form-sign{padding:8px 0 0 !important;opacity:.55;transform:scale(.9);transform-origin:right}

@media (max-width:767.98px){
  .ktb-lead-dialog{margin:16px auto;max-width:calc(100% - 40px)}
  .ktb-lead-dialog .modal-content{border-radius:12px}
  .ktb-lead--split{grid-template-columns:1fr}
  .ktb-lead__side{padding:18px 18px 14px}
  .ktb-lead--split .ktb-lead__kicker{font-size:10px;margin-bottom:6px;padding-right:28px}
  .ktb-lead--split .ktb-lead__title{font-size:19px;margin:0;padding-right:28px}
  .ktb-lead__list,.ktb-lead__contacts,.ktb-lead--split .ktb-lead__text{display:none}
  .ktb-lead--split .ktb-lead__form{padding:16px 14px 10px;min-height:0}
  .ktb-lead__form .b24-form-field{margin-bottom:8px !important}
  .ktb-lead__form textarea.b24-form-control{min-height:64px}
  .ktb-lead__form .b24-form-btn{height:46px !important;font-size:15px !important}
  .ktb-lead__form .b24-form-content form > div:first-child{grid-template-columns:1fr}
  .ktb-lead-dialog .btn-close{filter:invert(1) grayscale(1) brightness(2)}
}
