/* ============================================================
   Палитра: графит #14161A / янтарь #FFB800 → оранжевый #FF8A00 / фон #F7F8FC
   Шрифты: Montserrat (заголовки) + Inter (текст) — подключены в head.php
   ============================================================ */
:root{
	--accent: #FFB800;
	--accent-2: #FF8A00;
	--accent-grad: linear-gradient(135deg, #FFC933 0%, #FFB800 45%, #FF8A00 100%);
	--ink: #14161A;
	--ink-soft: #5B6270;
	--bg: #F7F8FC;
	--line: #E4E8F2;
	--font-head: 'Montserrat', 'Segoe UI', sans-serif;
	--font-text: 'Inter', 'Segoe UI', sans-serif;
}

body, html{
	font-family: var(--font-text);
	text-rendering: optimizeLegibility !important;
	-webkit-font-smoothing: antialiased !important;
	color: var(--ink);
	background: var(--bg);
}

h1, h2, h3, h4, h5, h6{
	font-family: var(--font-head);
	letter-spacing: -0.02em;
}
h1{
	text-transform: uppercase;
	font-weight: 800;
}
h1 strong{
	font-weight: 900;
}
h2{
	text-transform: uppercase;
	line-height: 1.2;
	margin:  0;
	font-weight: 800;
}
h3{
font-size: 18px;
font-weight: 800;
}
h4{
	text-transform: uppercase;
	font-weight: 700;
}
h5{
	text-transform: uppercase;
	font-weight: 700;
	line-height: 20px;
}
p{
	font-family: var(--font-text);
}
p.intro{
	font-size: 16px;
	margin: 12px 0 0;
	line-height: 26px;
	font-family: var(--font-text);
}
a{ color: var(--accent-2);}
a:hover,
a:focus{
	text-decoration: none;
	color: var(--accent);
}

.section-title hr{
	border-color: var(--accent);
	border-width: 4px;
	width: 60px;
	float: left;
	clear: both;
}
.clearfix:after {
     visibility: hidden;
     display: block;
     font-size: 0;
     content: " ";
     clear: both;
     height: 0;
     }
.clearfix { display: inline-block; }
* html .clearfix { height: 1%; }
.clearfix { display: block; }
ul, ol{
	padding: 0;
	webkit-padding: 0;
	moz-padding: 0;
}

/* ============================================================
   Navigation
   ============================================================ */
#tf-menu {
	padding: 20px;
	transition: all 0.8s;
}
#tf-menu.navbar-default {
	background-color: rgba(28, 28, 28, 0);
	border-color: rgba(28, 28, 28, 0);
}
#tf-menu a.navbar-brand {
	text-transform: uppercase;
	font-size: 22px;
	color: #fff;
	font-weight: 900;
}

#tf-menu.navbar-default .navbar-nav > li > a {
	text-transform: uppercase;
	color: #FFF;
	font-size: 12px;
	letter-spacing: 1px;
}
.on {
	background-color: var(--ink) !important;
	padding: 0 !important;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
	color: var(--accent) !important;
	background-color: transparent;
	font-weight: 700;
}

.navbar-toggle {
	border-radius: 0;
	}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
	background-color: var(--accent);
	border-color: var(--accent);
	}
.navbar-default .navbar-toggle:hover>.icon-bar {
	background-color: var(--ink);
	}

/* ============================================================
   Hero Section — текст слева, затемнение градиентом
   ============================================================ */
#tf-home{
	background: url('/img/01.jpg') center center / cover no-repeat;
	color: #ffffff;
}

#tf-home .overlay{
	position: relative;
	min-height: 780px;
	display: flex;
	align-items: center;
	background: linear-gradient(90deg,
		rgba(10, 11, 14, 0.94) 0%,
		rgba(10, 11, 14, 0.86) 38%,
		rgba(10, 11, 14, 0.45) 68%,
		rgba(10, 11, 14, 0.30) 100%);
}

.hero-content{
	max-width: 660px;
	padding: 120px 0 90px;
	text-align: left;
}

#tf-home h1{
	font-family: var(--font-head);
	font-size: 54px;
	line-height: 1.08;
	font-weight: 800;
	margin: 0 0 26px;
	letter-spacing: -0.025em;
	text-shadow: 0 2px 18px rgba(0,0,0,0.45);
}
#tf-home h1 .color{
	display: block;
	color: transparent;
	background: var(--accent-grad);
	-webkit-background-clip: text;
	background-clip: text;
	font-weight: 900;
}

/* жёлтая черта под заголовком */
.hero-content h1:after{
	content: '';
	display: block;
	width: 92px;
	height: 5px;
	margin-top: 26px;
	border-radius: 3px;
	background: var(--accent-grad);
}

#tf-home .hero-lead{
	font-family: var(--font-text);
	font-size: 19px;
	line-height: 1.5;
	font-weight: 600;
	color: #ffffff;
	margin: 0 0 14px;
}
#tf-home .hero-sub{
	font-family: var(--font-text);
	font-size: 16px;
	line-height: 1.65;
	color: rgba(255,255,255,0.72);
	margin: 0 0 34px;
	max-width: 560px;
}
#tf-home .hero-sub strong{
	color: rgba(255,255,255,0.92);
	font-weight: 600;
}

/* Кнопки */
.hero-actions{
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 40px;
}
.hero-btn{
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-head);
	font-size: 17px;
	font-weight: 800;
	letter-spacing: 0.01em;
	padding: 17px 34px;
	border-radius: 10px;
	transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.hero-btn-main{
	background: var(--accent-grad);
	color: var(--ink);
	box-shadow: 0 10px 30px rgba(255, 138, 0, 0.35);
}
.hero-btn-main:hover,
.hero-btn-main:focus{
	color: var(--ink);
	transform: translateY(-3px);
	box-shadow: 0 16px 38px rgba(255, 138, 0, 0.48);
}
.hero-btn-ghost{
	background: rgba(255,255,255,0.06);
	border: 2px solid rgba(255,255,255,0.32);
	color: #ffffff;
	font-weight: 700;
	padding: 15px 30px;
}
.hero-btn-ghost:hover,
.hero-btn-ghost:focus{
	background: rgba(255,255,255,0.14);
	border-color: var(--accent);
	color: #ffffff;
	transform: translateY(-3px);
}

/* Лента фактов */
ul.hero-facts{
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 12px 28px;
}
ul.hero-facts li{
	font-family: var(--font-text);
	font-size: 15px;
	font-weight: 500;
	color: rgba(255,255,255,0.85);
	display: flex;
	align-items: center;
	gap: 9px;
}
ul.hero-facts li i.fa{
	color: var(--accent);
	font-size: 17px;
}

.content{
	position: relative;
	padding: 60px 20px;
}

.color{
	color: var(--accent);
}

a.fa.fa-angle-down.hero-scroll{
	position: absolute;
	left: 50%;
	bottom: 34px;
	transform: translateX(-50%);
	margin-top: 0;
}
a.fa.fa-angle-down {
	padding: 10px 15px;
	color: #fff;
	border: 2px solid rgba(255,255,255,0.4);
	border-radius: 50%;
	font-size: 24px;
	transition: all 0.5s;
}
a.fa.fa-angle-down:hover{
	background: var(--accent);
	color: var(--ink);
	border: 2px solid var(--accent);
}

/* ============================================================
   About Section — светлый фон
   ============================================================ */
#tf-about{
	padding: 80px 0;
	background: var(--bg);
}
ul.about-list{ margin: 30px 0 0 ;}
ul.about-list li{
	display: block;
	font-size: 16px;
	line-height: 30px;
	font-family: var(--font-text);
	color: var(--ink);
}
ul.about-list li span{
	margin-right: 10px;
	color: var(--accent);
}

/* ============================================================
   Team Section — тёмный фон
   ============================================================ */
#tf-team{
	background: var(--ink);
	color: #ffffff;
}
#tf-team .overlay{
	height: auto;
	padding: 80px 0;
}
.section-title.center{
	padding: 30px 0;
}
.section-title h2,
.section-title.center h2{
	font-weight: 300;
}
.section-title.center .line{
	border-top: 4px solid var(--accent);
	height: 10px;
	width: 60px;
	text-align: center;
	margin: 0 auto;
	margin-top: 20px;
}

.section-title.center hr {
	border-top: 4px solid rgba(245, 196, 0, 0.34);
	width: 40px;
	text-align: center;
	margin-top: 10px;
	position: relative;
	left: 17%;
}
#team{ margin: 0 auto}
#team .item{
    padding: 0;
    margin: 15px;
    color: #FFF;
    text-align: center;
}

img.img-circle.team-img {
	width: 120px;
	height: 120px;
	border: 4px solid transparent;
	transition: all 0.5s;
}
#tf-team .item .thumbnail:hover>img.img-circle.team-img{
	border: 4px solid var(--accent);
}
#tf-team .thumbnail {
	background: transparent;
	border: 0;
}

#tf-team .thumbnail .caption {
	padding: 9px;
	color: #F2F2F2;
}

.owl-theme .owl-controls .owl-page span {
	display: block;
	width: 10px;
	height: 10px;
	margin: 5px 7px;
	filter: Alpha(Opacity=1);
	opacity: 1;
	-webkit-border-radius: 0;
	-moz-border-radius: 20px;
	border-radius: 0;
	background: rgba(255,255,255,0.3);
	transition: all 0.5s;
}

.owl-theme .owl-controls .owl-page.active span,
.owl-theme .owl-controls.clickable .owl-page:hover span {
	filter: Alpha(Opacity=100);
	opacity: 1;
	background: var(--accent);
}
.owl-theme .owl-controls .owl-page.active span{
	background: var(--accent);
}

/* ============================================================
   Services Section — белый фон
   ============================================================ */
#tf-services{
	padding: 80px 0;
	background: #FFFFFF;
}

.space{
	margin-top: 40px;
}

#tf-services i.fa {
	font-size: 40px;
	border: 4px solid var(--accent);
	width: 100px;
	height: 100px;
	padding: 27px 25px;
	margin-bottom: 10px;
	border-radius: 50%;
	transition: all 0.5s;
	color: var(--ink);
}

#tf-services i.fa.fa-mobile{
	font-size: 50px;
	padding: 20px 25px;
}

#tf-services .service:hover>i.fa{
	background: var(--accent);
	color: var(--ink);
}

/* ============================================================
   Clients Section — светлый фон
   ============================================================ */
#tf-clients{
	background: var(--bg);
	color: var(--ink);
}

#tf-clients .overlay{
	padding: 80px 0;
}

#clients .item{
    padding: 0;
    margin: 35px;
    color: var(--ink);
    text-align: center;
}

/* ============================================================
   Gallery / Works Section — белый фон
   ============================================================ */
#tf-works{
	padding: 80px 0;
	background: #FFFFFF;
}
.categories{
	padding: 10px 0;
}
ul.cat li{
	display: inline-block;
}
#tf-works li.pull-right {
	margin-top: 10px;
}
ol.type li{
	display: inline-block;
	margin-left: 20px;
}
ol.type li:after{
	content: ' | ';
	margin-left: 20px;
}
ol.type li:last-child:after { content: ''; }
ol.type li a{ color: var(--ink); }
ol.type li a.active { font-weight: 700; }
.isotope-item { z-index: 2 }
.isotope-hidden.isotope-item { z-index: 1 }
.isotope,
.isotope .isotope-item {
    -webkit-transition-duration: 0.8s;
    -moz-transition-duration: 0.8s;
    transition-duration: 0.8s;
}
.isotope-item {
    margin-right: -1px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.isotope {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition-property: height, width;
    -moz-transition-property: height, width;
    transition-property: height, width;
}
.isotope .isotope-item {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition-property: -webkit-transform, opacity;
    -moz-transition-property: -moz-transform, opacity;
    transition-property: transform, opacity;
}
.portfolio-item{
	margin-bottom: 30px;
}
.portfolio-item .hover-bg{
	height: 260px;
	overflow: hidden;
	position: relative;
}

.hover-bg .hover-text {
	position: absolute;
	text-align: center;
	margin: 0 auto;
	color: #ffffff;
	background: rgba(28, 28, 28, 0.82);
	padding: 25% 0;
	height: 100%;
	width: 100%;
	opacity: 0;
    transition: all 0.5s;
}
.hover-bg .hover-text>h4{
	opacity: 0;
	-webkit-transform: translateY(100%);
            transform: translateY(100%);
            transition: all 0.3s;
}
.hover-bg:hover .hover-text>h4{
	opacity: 1;
    -webkit-backface-visibility:hidden;
    -webkit-transform: translateY(0);
            transform: translateY(0);
}
.hover-bg .hover-text>i{
	opacity: 0;
	-webkit-transform: translateY(0);
            transform: translateY(0);
            transition: all 0.3s;
}
.hover-bg:hover .hover-text>i{
	opacity: 1;
    -webkit-backface-visibility:hidden;
   -webkit-transform: translateY(100%);
            transform: translateY(100%);
}
.hover-bg:hover .hover-text{
	opacity: 1;
}
#tf-works i.fa {
	height: 30px;
	width: 30px;
	border: 1px solid var(--accent);
	font-size: 20px;
	padding: 5px;
	border-radius: 50%;
	color: var(--accent);
}

/* ============================================================
   Testimonials / CTA Section — тёмный фон
   ============================================================ */
#tf-testimonials7{
	background: var(--ink);
	color: #ffffff;
}

#tf-testimonials{
	background: var(--ink);
	color: #ffffff;
}

#tf-testimonials .overlay{
	padding: 80px 0;
}

#tf-testimonials7 .overlay{
	padding: 80px 0;
}

#testimonial {
	padding: 30px 0;
}

#testimonial .item{
    display: block;
    width: 100%;
    height: auto;
}

#testimonial .item p {
	font-weight: 400;
	margin: 30px 0;
	color: rgba(255,255,255,0.7);
}

/* Заголовки и ссылки внутри тёмных секций */
#tf-testimonials h2,
#tf-testimonials7 h2,
#tf-team h2 {
	color: #ffffff;
}
#tf-testimonials h5,
#tf-testimonials7 h5 {
	color: var(--accent);
}
#tf-testimonials a,
#tf-testimonials7 a {
	color: var(--accent);
}

/* ============================================================
   Contact Section — светлый фон
   ============================================================ */
#tf-contact{
	padding: 80px 0;
	background: var(--bg);
}

label {
	float: left;
	font-size: 12px;
	font-weight: 400;
	font-family: var(--font-text);
}
#tf-contact .form-control {
	display: block;
	width: 100%;
	padding: 6px 12px;
	font-size: 14px;
	line-height: 1.42857143;
	color: var(--ink);
	background-color: #fff;
	background-image: none;
	border: 1px solid var(--line);
	border-radius: 2px;
	-webkit-box-shadow: none;
	box-shadow: none;
	-webkit-transition: none;
	-o-transition: none;
	transition: none;
}

#tf-contact .form-control:focus {
	border-color: var(--accent);
	outline: 0;
	-webkit-box-shadow: transparent;
	box-shadow: transparent;
}

button.btn.tf-btn.btn-default {
	float: right;
	background: var(--accent);
	border: 0;
	border-radius: 0;
	padding: 10px 40px;
	color: var(--ink);
	font-weight: 700;
	text-transform: uppercase;
}

.btn:active, .btn.active {
	background-image: none;
	outline: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
}

.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
	outline: thin dotted;
	outline: none;
	outline-offset: none;
}

/* ============================================================
   Footer — очень тёмный
   ============================================================ */
nav#footer{
	background: #111827;
	color: #ffffff;
	padding: 20px 0 15px 0;
}
nav#footer .fnav{ vertical-align: middle;}
ul.footer-social li{
	display: inline-block;
	margin-right: 10px;
}
nav#footer p{
	font-size: 12px;
	margin-top: 10px;
	color: rgba(255,255,255,0.6);
}
nav#footer a {
	color: var(--accent);
}
#footer i.fa {
	height: 30px;
	width: 30px;
	border: 2px solid rgba(255,255,255,0.3);
	font-size: 20px;
	padding: 4px 5px;
	border-radius: 50%;
	color: rgba(255,255,255,0.5);
	transition: all 0.5s;
}
#footer i.fa:hover{
	background: var(--accent);
	border-color: var(--accent);
	color: var(--ink);
}

/* --- ФОТОГРАФИИ ВЫПОЛНЕННЫХ РАБОТ --- */
.works-gallery {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}
.gallery-shot {
	margin: 0;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 10px;
	overflow: hidden;
	transition: border-color 0.3s, box-shadow 0.3s;
}
.gallery-shot:hover {
	border-color: var(--accent);
	box-shadow: 0 10px 28px rgba(20,22,26,0.10);
}
.gallery-shot img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 0.4s ease;
}
.gallery-shot:hover img {
	transform: scale(1.04);
}
.gallery-shot figcaption {
	padding: 12px 14px;
	font-family: var(--font-head);
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: var(--ink);
}
@media (max-width: 991px) {
	.works-gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
	.works-gallery { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.gallery-shot figcaption { padding: 10px 12px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
	.gallery-shot img, .gallery-shot { transition: none; }
	.gallery-shot:hover img { transform: none; }
}
