/*

Landing Zero theme - A free landing page theme from BootstrapZero
http://www.bootstrapzero.com

*/

@import url(https://fonts.googleapis.com/css?family=Questrial);
@import url(http://fonts.googleapis.com/css?family=Dancing+Script:700);
@import url('https://fonts.googleapis.com/css?family=Roboto+Condensed&display=swap');
html,
body {
    width: 100%;
    height: 100%;
}

body {
    font-family: 'Roboto Condensed', sans-serif;
    background-color: #282828;
    color: #d3d3d3;
    webkit-tap-highlight-color: #222;
}

hr {
    max-width: 80px;
    border-width: 3px;
    opacity: 0.09;
    margin-top: 15px;
    margin-bottom: 15px;
}

hr.light {
    border-color: #fff;
}

a {
    color: #c41e3a;
    -webkit-transition: all .35s;
    -moz-transition: all .35s;
    transition: all .35s;
}

a:hover,
a:focus {
    color: #e02d4d;
    outline: 0;
}

h1,h2,h3,h4,h5,h6 {
    font-family: 'Roboto Condensed', sans-serif;

}

p {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.wide-space {
    letter-spacing: 1.6px;
}

.icon-lg {
    font-size: 50px;
    line-height: 18px;
}

.bg-primary {
    background-color: #333;
}

.bg-dark {
    color: #eee;
    background-color: #222;
}

.cursive {
    font-family: 'Roboto Condensed', sans-serif;

    text-transform: none;
}

.text-faded {
    color: rgba(245,245,245,0.7);
}

.text-dark {
    color: #111;
}

.text-primary {
    color: #c41e3a;
}

/* На тёмном фоне — белые заголовки и светлый текст для читаемости */
.bg-primary .text-primary,
.bg-dark .text-primary,
.section-certificates .text-primary,
#two .text-primary {
    color: #fff;
}
.bg-primary hr.primary,
.bg-dark hr.primary,
.section-certificates hr.primary,
#two hr.primary {
    border-color: rgba(255,255,255,0.4);
}
.text-faded {
    color: rgba(255,255,255,0.9);
}
.bg-primary .text-faded,
.bg-dark .text-faded {
    color: rgba(255,255,255,0.9);
}

.modal-content {
    background-color: #1d1d1d;
}

section {
    padding: 70px 0;
}

section#vacancies {
    padding: 36px 0 40px;
}

aside {
    padding: 50px 0;
}

footer {
    padding: 15px;
}

.no-padding {
    padding: 0;
}

/* Верхняя полоса и меню — белый фон, лого и меню по центру */
.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: box-shadow 0.25s ease;
}
/* Компактный вид при прокрутке вниз */
.header-fixed.affix .topbar {
    padding: 4px 0;
    font-size: 13px;
}
.header-fixed.affix .topbar-contacts a {
    font-size: 13px;
}
.header-fixed.affix .navbar-default {
    min-height: 52px;
}
.header-fixed.affix .navbar .navbar-header {
    min-height: 52px;
}
.header-fixed.affix .navbar-header > .navbar-brand {
    min-height: 52px;
}
.header-fixed.affix .navbar-logo,
.header-fixed.affix .navbar-header > .navbar-brand img.navbar-logo {
    height: 34px;
}
.header-fixed.affix .navbar-default .nav > li > a {
    padding: 16px 18px;
}
.header-fixed.affix .navbar-logo,
.header-fixed.affix .navbar-header > .navbar-brand img.navbar-logo {
    transition: height 0.25s ease;
}
.topbar {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    transition: padding 0.25s ease;
}
.topbar-contacts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.topbar-contacts a {
    color: #2B2929;
    text-decoration: none;
    font-size: 14px;
}
.topbar-contacts a:hover {
    color: #c41e3a;
}
/* Лого слева, пункты меню по центру */
@media (min-width: 768px) {
    .navbar .container-fluid {
        display: flex;
        align-items: center;
    }
    .navbar .navbar-header {
        float: left;
        display: flex;
        align-items: center;
        min-height: 72px;
    }
    .navbar .navbar-collapse {
        float: none;
        flex: 1;
        display: flex !important;
        justify-content: center;
        align-items: center;
    }
    .navbar .navbar-nav.navbar-center {
        display: inline-flex;
        float: none;
        flex-wrap: wrap;
        justify-content: center;
        margin: 0;
    }
}
.navbar-center {
    float: none;
}
body {
    padding-top: 110px;
    transition: padding-top 0.25s ease;
}
body.header-compact {
    padding-top: 82px;
}
@media (max-width: 767px) {
    .topbar-contacts {
        justify-content: center;
        gap: 12px;
    }
    .topbar-contacts a {
        font-size: 13px;
    }
    body {
        padding-top: 0;
    }
    .header-fixed {
        position: relative;
    }
    #topNav.navbar {
        margin-bottom: 0;
    }
}

.navbar-default {
    border: none;
    font-family: 'Roboto Condensed', sans-serif;
    background-color: #fff;
    -webkit-transition: all .4s;
    -moz-transition: all .4s;
    transition: all .4s;
    margin-bottom: 0;
}

.navbar-header > .navbar-brand {
    font-family: 'Roboto Condensed', sans-serif;
    padding: 0 15px;
    display: flex;
    align-items: center;
    line-height: 1;
}
@media (min-width: 768px) {
    .navbar-header > .navbar-brand {
        min-height: 72px;
    }
}
.navbar-header > .navbar-brand img.navbar-logo,
.navbar-logo {
    height: 44px;
    width: auto;
    display: block;
    vertical-align: middle;
}

.navbar-default .navbar-toggle {
    border-color: #ddd;
}
.navbar-default .navbar-toggle .icon-bar {
    background-color: #2B2929;
}
.navbar-default .navbar-toggle:focus,
.navbar-default .navbar-toggle:hover {
    background-color: #f5f5f5;
}
.navbar-default .navbar-collapse {
    border-color: transparent;
}

.navbar-default .nav > li>a,
.navbar-default .nav>li>a:focus {
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    color: #2B2929;
}

.navbar-default .nav > li>a:hover,
.navbar-default .nav>li>a:focus:hover {
    color: #c41e3a;
}

.navbar-default .nav > li.active>a,
.navbar-default .nav>li.active>a:focus {
    color: #c41e3a !important;
    background-color: transparent;
}

.navbar-default .nav > li.active>a:hover,
.navbar-default .nav>li.active>a:focus:hover
{
    background-color: transparent;
}


@media(min-width:768px) {
    .navbar-default {
        min-height: 72px;
    }

    .navbar-header > .navbar-brand {
        padding: 14px 15px;
    }

    .navbar-default .nav > li>a,
    .navbar-default .nav>li>a:focus {
        color: #2B2929;
        padding: 26px 18px;
        letter-spacing: 0.5px;
    }

    .navbar-default .nav > li>a:hover,
    .navbar-default .nav>li>a:focus:hover {
        color: #c41e3a;
    }

    .navbar-default.affix {
        background-color: #fff;
        box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    }

    .navbar-default.affix .nav > li>a,
    .navbar-default.affix .nav>li>a:focus {
        color: #2B2929;
    }

    .navbar-default.affix .nav > li>a:hover,
    .navbar-default.affix .nav>li>a:focus:hover {
        color: #c41e3a;
    }
}

/* Hero block: фон — hero-buildings.jpg (скачано с Unsplash, здания/город).
   Варианты: url('../assets/city.jpg') | url('../assets/bg.jpg') | url('../assets/bg2.jpg') */
header {
    position: relative;
    min-height: auto;
    text-align: center;
    color: #fff;
    width: 100%;
    background-color: #2a2a2a;
    background-image: url('../assets/hero-buildings.jpg');
    background-position: center;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
}

/* Тёмный оверлей для читаемости текста */
header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

header .header-content {
    position: relative;
    width: 100%;
    padding: 100px 15px;
    text-align: center;
    z-index: 2;
}

header .header-content .inner h1 {
    margin-top: 0;
    margin-bottom: 0;
}

header .header-content .inner p {
    margin-bottom: 50px;
    font-size: 16px;
    font-weight: 300;
    color: rgba(255,255,255,0.7);
}

#video-background {
  position: absolute;
  right: 0; 
  bottom: 0;
  min-width: 100%; 
  min-height: 100%;
  width: auto; 
  height: auto;
  z-index: 1;
}

#video-background.collapsing {
  display:none;
}

footer {
    background-color:#2d2d2d;
}
@media (max-width: 767px) {
    #footer {
        padding-bottom: 75px;
    }
}

@media(min-width:768px) {
    .icon-lg {
        font-size: 80px;
    }
    
    header {
        min-height: 100%;
    }

    header .header-content {
        position: absolute;
        top: 50%;
        padding: 0 50px;
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
    }

    header .header-content .inner {
        margin-right: auto;
        margin-left: auto;
        max-width: 1000px;
    }

    header .header-content .inner h1 {
        font-size: 53px;
    }

    header .header-content .inner p {
        margin-right: auto;
        margin-left: auto;
        max-width: 80%;
        font-size: 18px;
    }
    
    section {
        min-height: 600px;
        padding: 100px 0;
    }

    section#vacancies {
        min-height: 0;
        padding: 40px 0;
    }

}

.form-control {
    display: block;
    width: 100%;
    height: 35px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.5;
    color: #eee;
    background-color: #36333d;
    background-image: none;
    border: 1px solid #36333d;
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.form-control:focus {
    color: #222;
    background-color: #ccc;
    box-shadow: none;
}

textarea {
    resize: none;
}

.margin-top-0 {
    margin-top: 0;
}

.feature {
    margin: 50px auto 0;
    max-width: 400px;
}

@media(min-width:992px) {
    .feature {
        margin: 20px auto 0;
    }
}

.feature p {
    margin-bottom: 0;
}

.call-to-action h2 {
    margin: 0 auto 20px;
}

.gallery-box {
    display: block;
    position: relative;
    margin: 0 auto;
    max-width: 650px;
    overflow:hidden;
	
	height:300px;
}

.gallery-box .gallery-box-caption {
    display: block;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    color: #fff;
    opacity: 0;
    background: rgba(44,44,44,.8);
    -webkit-transition: all .35s;
    -moz-transition: all .35s;
    transition: all .35s;
}

.gallery-box .gallery-box-caption .gallery-box-content {
    position: absolute;
    top: 50%;
    width: 100%;
    text-align: center;
    transform: translateY(-50%);
}

.gallery-box:hover .gallery-box-caption {
    opacity: 1;
}

.gallery-box:hover img {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

.gallery-box img {
    -webkit-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
	min-height: 300px;
}

.no-gutter > [class*=col-] {
    padding-right: 0;
    padding-left: 0;
}

.btn-default {
    border-color: #fff;
    color: #222;
    background-color: #fff;
    -webkit-transition: all .35s;
    -moz-transition: all .35s;
    transition: all .35s;
}

.btn-default:hover,
.btn-default:focus,
.btn-default.focus,
.btn-default:active,
.btn-default.active,
.open > .dropdown-toggle.btn-default {
    border-color: #ededed;
    color: #222;
    background-color: #f2f2f2;
    opacity: 0.7;
}

.btn-default:active,
.btn-default.active,
.open > .dropdown-toggle.btn-default {
    background-image: none;
}

.btn-default.disabled,
.btn-default[disabled],
fieldset[disabled] .btn-default,
.btn-default.disabled:hover,
.btn-default[disabled]:hover,
fieldset[disabled] .btn-default:hover,
.btn-default.disabled:focus,
.btn-default[disabled]:focus,
fieldset[disabled] .btn-default:focus,
.btn-default.disabled.focus,
.btn-default[disabled].focus,
fieldset[disabled] .btn-default.focus,
.btn-default.disabled:active,
.btn-default[disabled]:active,
fieldset[disabled] .btn-default:active,
.btn-default.disabled.active,
.btn-default[disabled].active,
fieldset[disabled] .btn-default.active {
    border-color: #fff;
    background-color: #fff;
    opacity: 0.7;
}

.btn-default .badge {
    color: #fff;
    background-color: #222;
}

.btn.btn-primary {
    background-color: #c41e3a;
    border:1px solid #a01830;
    border-color:#a01830;
    -webkit-transition: all .35s;
    -moz-transition: all .35s;
    transition: all .35s;
}

.btn.btn-primary:hover {
    opacity: 0.7;
}

.btn {
    border: 0;
    border-radius: 290px;
    font-family: 'Roboto Condensed', sans-serif;

}

.btn-xl {
    padding: 15px 30px;
    font-size: 20px;
}

::-moz-selection {
    text-shadow: none;
    color: #fff;
    background: #222;
}

::selection {
    text-shadow: none;
    color: #fff;
    background: #222;
}

img::selection {
    color: #fff;
    background: 0 0;
}

img::-moz-selection {
    color: #fff;
    background: 0 0;
}
.img-responsive{
	width: 100%;
}

@media (min-width: 768px){
	.navbar-right {
	float: right!important;
    margin-right: 0px;
    padding-top: 20px;
	font-size: 16px;
	}
}

/* Header services */
.header-services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 25px 0;
}
.header-service-item {
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
@media (max-width: 768px) {
    .header-services { flex-direction: column; align-items: center; }
    .header-service-item { width: 100%; max-width: 280px; text-align: center; }
}

/* Section Values */
.section-values {
    position: relative;
    background: #2a2a2a;
    overflow: hidden;
}
.values-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('../assets/city.jpg') center/cover;
    filter: grayscale(100%);
    opacity: 0.4;
}
.relative-z { position: relative; z-index: 1; }
.values-title {
    color: #fff;
    font-size: 28px;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}
.values-blocks { margin-top: 20px; }
.value-block {
    background: #c41e3a;
    color: #fff;
    padding: 30px 20px;
    margin: 15px 0;
    min-height: 140px;
    position: relative;
    border-radius: 4px;
}
.value-block::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border: 10px solid transparent;
    border-top-color: #c41e3a;
}
.value-block h3 {
    margin: 15px 0 0;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.value-icon {
    display: inline-block;
    width: 48px;
    height: 48px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.value-icon-work {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M14.4 6L14 4H5v17h2v-7h5.6l.4 2h7V6z'/%3E%3C/svg%3E");
}
.value-icon-ideas {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 21c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-1H9v1zm3-19C8.14 2 5 5.14 5 9c0 2.38 1.19 4.47 3 5.74V17c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-2.26c1.81-1.27 3-3.36 3-5.74 0-3.86-3.14-7-7-7z'/%3E%3C/svg%3E");
}
.value-icon-team {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z'/%3E%3C/svg%3E");
}

/* Construction services icons */
.feature-construction { margin-top: 25px; }
.service-icon {
    display: inline-block;
    width: 64px;
    height: 64px;
    margin-bottom: 15px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.service-roof {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23c41e3a'%3E%3Cpath d='M12 3L2 12h3v8h6v-6h2v6h6v-8h3L12 3z'/%3E%3C/svg%3E");
}
.service-facade {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23c41e3a'%3E%3Cpath d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-5 14H7v-2h7v2zm3-4H7v-2h10v2zm0-4H7V7h10v2z'/%3E%3C/svg%3E");
}
.service-finish {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23c41e3a'%3E%3Cpath d='M3 5v14h18V5H3zm4 2v2H5V7h2zm-2 6v-2h2v2H5zm0 2h2v2H5v-2zm14 2H9v-2h10v2zm0-4H9v-2h10v2zm0-4H9V7h10v2z'/%3E%3C/svg%3E");
}
.service-repair {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23c41e3a'%3E%3Cpath d='M22 12v8H2V4h12v2H4v12h16v-6h2zm0-5V7h-2V5h-2v2h-2v2h2v2h2V9h2V7h-2V5h2z'/%3E%3C/svg%3E");
}
/* Карточки услуг: превью + описание + кнопка «Подробнее и фото» */
.service-cards {
    margin-top: 20px;
}
.service-card {
    background: #2a2a2a;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 24px;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.service-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
    transform: translateY(-4px);
}
.service-card-image {
    height: 180px;
    overflow: hidden;
    background: #1a1a1a;
}
.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.service-card-body {
    padding: 20px;
}
.service-card-body h3 {
    margin: 0 0 10px;
    font-size: 18px;
    color: #fff;
}
.service-card-excerpt {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
}
.service-card-btn {
    width: 100%;
}
.service-gallery-link {
    display: block;
    cursor: pointer;
}
.service-gallery-link:hover {
    text-decoration: none;
}

/* Блок партнёров — логотипы */
.partners-logos {
    margin-top: 30px;
    margin-bottom: 20px;
    align-items: center;
}
.partner-logo {
    padding: 15px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}
.partner-logo img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}
.partner-logo img:hover {
    opacity: 1;
}

/* Section Technologies */
.section-technologies {
    background: #1a1a1a;
    color: #eee;
}
.technologies-title {
    color: #fff;
    font-size: 24px;
    margin-bottom: 35px;
    line-height: 1.3;
}
.tech-block {
    background: linear-gradient(135deg, #c41e3a 0%, #a01830 100%);
    color: #fff;
    padding: 25px 30px;
    margin: 0 0 15px;
    border-radius: 8px;
}
.tech-block h3 {
    margin-top: 0;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.tech-block p {
    margin-bottom: 0;
    font-size: 15px;
    opacity: 0.95;
}
.tech-arrow {
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid #a01830;
    margin: 0 auto 5px;
}

/* Section Certificates */
.section-certificates {
    background: #222;
    color: #eee;
    padding: 60px 0;
}
.certificates-row { align-items: center; }
.certificate-preview {
    border: 1px solid #444;
    padding: 10px;
    background: #1a1a1a;
}
.certificate-preview img {
    width: 100%;
    display: block;
}
.certificates-heading {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 15px;
    line-height: 1.35;
}
.certificates-title {
    color: #fff;
    font-size: 22px;
    margin: 10px 0 15px;
}
.certificates-intro {
    font-size: 15px;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.9);
}
.certificates-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 25px;
}
.certificates-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    font-size: 15px;
}
.certificates-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #fff;
    font-weight: bold;
}
.btn-certificates {
    margin-bottom: 20px;
    padding: 12px 30px;
}
.certificates-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.btn-phone {
    padding: 10px 20px;
    font-size: 16px;
}

/* Certificates modal */
.certificates-modal-body .certificates-download-list {
    list-style: none;
    padding-left: 0;
}
.certificates-modal-body .certificates-download-list li {
    margin-bottom: 8px;
}
.certificates-modal-body .certificates-download-list a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease;
}
.certificates-modal-body .certificates-download-list a:hover,
.certificates-modal-body .certificates-download-list a:focus {
    color: #c41e3a;
}
.certificates-modal-body .certificates-download-list a:active {
    color: #e02d4d;
}
.certificates-modal-body .modal-header .close {
    margin-top: -10px;
}

/* Модальное окно услуги: описание + галерея фото */
.service-modal-body .service-modal-description {
    white-space: pre-line;
    color: #ddd;
    margin-bottom: 24px;
    line-height: 1.6;
}
.service-modal-gallery {
    margin: 0 -5px;
}
.service-modal-gallery .col-xs-6,
.service-modal-gallery .col-sm-4,
.service-modal-gallery .col-md-3 {
    padding: 5px;
}
.service-modal-gallery .service-gallery-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 4px;
    transition: opacity 0.2s ease;
}
.service-modal-gallery a:hover .service-gallery-img {
    opacity: 0.9;
}
#serviceModal .modal-header .close {
    color: #fff;
    opacity: 0.8;
}
#serviceModal .modal-title {
    color: #fff;
}

/* Контактный блок слева: мессенджеры и телефоны */
.contact-sidebar {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1030;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 8px;
    background: rgba(34, 34, 34, 0.95);
    border-radius: 0 12px 12px 0;
    box-shadow: 2px 0 12px rgba(0,0,0,0.3);
}
.contact-sidebar-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.2s, opacity 0.2s;
}
.contact-sidebar-item:hover {
    transform: scale(1.1);
    opacity: 0.9;
}
.contact-icon {
    width: 28px;
    height: 28px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.contact-icon-viber {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%237366F1'%3E%3Cpath d='M11.4 0C9.473.028 5.333.344 2.82 2.82c-2.266 2.267-2.756 5.58-2.756 8.18 0 2.6.49 5.913 2.756 8.18l.36.36-.964 3.516 3.6-.96.24.12c.96.48 2.04.72 3.12.72 2.6 0 5.913-.49 8.18-2.756 2.266-2.267 2.756-5.58 2.756-8.18 0-2.6-.49-5.913-2.756-8.18C17.067.344 12.927.028 11.4 0zm.24 18.48c-.84 0-1.68-.24-2.4-.6l-.18-.12-1.86.48.48-1.86-.12-.18c-1.08-1.08-1.68-2.52-1.68-4.08 0-3.18 2.58-5.76 5.76-5.76 1.56 0 3 .6 4.08 1.68 1.08 1.08 1.68 2.52 1.68 4.08 0 3.18-2.58 5.76-5.76 5.76zm3.12-5.76c-.24 0-.48-.12-.6-.24l-1.32-1.32c-.12-.12-.24-.24-.24-.48 0-.12 0-.24.12-.36l.6-.6c.12-.12.24-.24.36-.24.12 0 .24 0 .36.12l1.32 1.32c.12.12.24.24.24.48 0 .12 0 .24-.12.36l-.6.6c-.12.12-.24.24-.36.24z'/%3E%3C/svg%3E");
}
.contact-icon-whatsapp {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2325D366'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E");
}
.contact-icon-telegram {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2326A5E4'%3E%3Cpath d='M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z'/%3E%3C/svg%3E");
}
@media (max-width: 768px) {
    .contact-sidebar {
        flex-direction: row;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        transform: none;
        border-radius: 12px 12px 0 0;
        justify-content: center;
        padding: 8px 12px;
    }
}

/* Контакты в шапке — кликабельные */
.navbar-contacts li a {
    color: inherit;
    text-decoration: none;
}
.navbar-contacts li a:hover {
    color: #c41e3a;
}
.navbar-contacts .navbar-text {
    color: rgba(255,255,255,0.8);
    margin-left: 8px;
}
.navbar-default.affix .navbar-contacts .navbar-text {
    color: rgba(221,221,221,0.9);
}
.navbar-default.affix .navbar-contacts li a {
    color: #ddd;
}
.navbar-default.affix .navbar-contacts li a:hover {
    color: #c41e3a;
}