
/* HEADER */
header {
	background: #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	position: sticky;
	top: 0;
	z-index: 10;
}

.header-container {
	width: 90%;
	max-width: 1270px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 0;
	position: relative;
}

.header-logo {
	width: 100px;
}

nav ul {
	display: flex;
	gap: 20px;
	align-items: center;
}

nav a {
	font-size: 1.05rem;
	font-weight: 600;
	color: #333;
}

.burger {
	display: none;
	flex-direction: column;
	gap: 5px;
	cursor: pointer;
	transition: transform 0.3s ease;
}

.burger div {
	width: 30px;
	height: 3px;
	background: #333;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger.active div:nth-child(1) {
	transform: rotate(45deg) translate(5px, 6px);
}

.burger.active div:nth-child(2) {
	opacity: 0;
}

.burger.active div:nth-child(3) {
	transform: rotate(-45deg) translate(5px, -6px);
}

@media (max-width: 900px) {
	.btn-cta{
		margin-bottom: 10px;
	}
	nav ul {
		align-items: flex-start;
	}

	.burger {
		display: flex;
		position: absolute;
		right: 20px;
	}

	nav ul {
		position: fixed;
		top: 83px;
		right: 0;
		flex-direction: column;
		background: #fff;
		width: 240px;
		height: calc(100% - 60px);
		padding: 20px;
		box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
		transform: translateX(120%);
		z-index: 9999;
		overflow-y: auto;
		transition: transform 0.3s ease;
	}

	nav ul.active {
		transform: translateX(0);
	}
}


/* RESET */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
:root{
	--blue: #005cdd;
}

html {
	scroll-behavior: smooth;
	font-family: "Nunito", sans-serif;
	scroll-padding-top: 50px;
}

body {
	color: #333;
	background: #fdfdfd;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color 0.3s ease;
}

a:hover {
	color: var(--blue);
}

ul {
	list-style: none;
}

img {
	max-width: 100%;
	height: auto;
}

/* HEADER */

header {
	background: #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	position: sticky;
	top: 0;
	z-index: 10;
}

.header-container {
	width: 90%;
	max-width: 1270px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 0;
	position: relative;
}

.header-logo {
	width: 100px;
}

nav ul {
	display: flex;
	gap: 20px;
	align-items: center;
}

nav a {
	font-size: 1.05rem;
	font-weight: 600;
	color: #333;
	transition: .2s all;
}

nav a:hover{
	transition: .2s all;
	border-bottom: 1px solid var(--blue)!important;
}

.burger {
	display: none;
	flex-direction: column;
	gap: 5px;
	cursor: pointer;
	transition: transform 0.3s ease;
}

.burger div {
	width: 30px;
	height: 3px;
	background: #333;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

@media (max-width: 900px) {
	.btn-cta{
		margin-bottom: 10px;
	}
	nav ul {
		align-items: flex-start;
	}

	.burger {
		display: flex;
		position: absolute;
		right: 20px;
	}

	nav ul {
		position: fixed;
		top: 81px;
		right: 0;
		flex-direction: column;
		background: #fff;
		width: 240px;
		height: calc(100% - 60px);
		padding: 20px;
		transform: translateX(120%);
		z-index: 9999;
		overflow-y: auto;
		transition: transform 0.3s ease;
	}
}

/* BUTTONS */

.btn {
	background: var(--blue);
	color: #fff;
	padding: 6px 20px;
	cursor: pointer;
	transition: background 0.3s ease, transform 0.2s ease;
	font-weight: 500;
	font-size: 1rem;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	display: block;
	border: 1px solid transparent;
}

.btn:hover {
	background: white;
	transform: translateY(-2px);
	color: var(--blue);
	border: 1px solid var(--blue);
}

/* INTRO SECTION */
.intro-section {
	padding: 60px 0;
	background-color: #e6f0ff;
}

.intro-container {
	width: 90%;
	max-width: 1270px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	flex-wrap: wrap;
}

.intro-text-block {
	flex: 1;
	min-width: 280px;
}

.intro-image-block {
	flex: 1;
	min-width: 280px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.intro-image-block img {
	width: 100%;
	max-width: 500px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.intro-text-block h1 {
	font-size: 3rem;
	line-height: 1;
	margin-bottom: 20px;
	color: #333;
}

.intro-text-block p {
	font-size: 1rem;
	line-height: 1.6;
	color: #444;
	margin-bottom: 20px;
	text-align: left;
}

.btn-cta {
	display: inline-block;
	background-color: #1f1f1f;
	color: #fff;
	padding: 10px 45px;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 0.95rem;
	cursor: pointer;
	transition: background 0.3s ease, transform 0.2s ease;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	margin-right: 20px;
	border: 2px solid transparent;
}

.btn-cta2{
	background-color: transparent;
	border: 2px solid var(--blue);
	color: var(--blue);
}

.btn-cta:hover {
	background-color: var(--blue);
	color: white;
	transform: translateY(-2px);
}

.btn-cta2:hover{
	background-color: transparent;
	border: 2px solid var(--blue);
	color: var(--blue);
}


@media (max-width: 768px) {
	.intro-container {
		flex-direction: column;
		gap: 20px;
	}

	.intro-text-block,
	.intro-image-block {
		width: 100%;
		max-width: 100%;
		text-align: center;
	}

	.intro-image-block img {
		max-width: 80%;
		margin: 0 auto;
	}

	.intro-text-block h1 {
		font-size: 1.8rem;
	}

	.wh img {
		width: 68px !important;
	}
}

.rc-web {
	color: #ff5722;
	font-size: 20px;
	font-weight: 600;
}

/* BASE SECTIONS */
.section {
	padding: 60px 10px;
}

.section h2 {
	margin-bottom: 20px;
}

.container {
	width: 90%;
	max-width: 1270px;
	margin: 0 auto;
}

/* SERVICES */
.services {
	padding: 40px 0;
}

.services .container-2 {
	width: 90%;
	max-width: 1270px;
	margin: 0 auto;
}

.cards-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 25px;
}

.card {
	width: 30%;
	background-color: #e6f0ff;
	overflow: hidden;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	transition: transform 0.3s ease, background-color 0.3s ease;
	position: relative;
}



.img-container {
    position: relative;
    width: 100%;
    height: 150px; /* задаем высоту контейнера */
    overflow: hidden; /* скрываем части изображения, выходящие за границы */
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* или contain, в зависимости от ваших потребностей */
    display: block; /* убирает возможный отступ снизу */
}
.card h3 {
	font-size: 1rem;
	font-weight: 700;
	margin: 20px 10px 10px;
	color: #161616;
}

.card p {
	font-size: .9rem;
	margin: 20px;
	margin-top: 0px;
	color: #161616;
	text-align: left;
}

.card {
    width: 30%;
    background-color: #e6f0ff;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    position: relative;
    min-height: 400px; 
}


.card-content {
    flex-grow: 1;
    width: 100%;
    padding-bottom: 70px; 
}

.card-btn {
    margin-bottom: 20px;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    background: #161616;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    position: absolute;
    bottom: 10px; 
    left: 50%;
    transform: translateX(-50%); 
	width: 70%;
}

.card-btn:hover {
    transform: translateX(-50%) translateY(-2px); /* Учитываем сдвиг при hover */
    color: #fff;
    background: var(--blue);
}

@media (max-width: 768px) {
	.card {
		width: 45%;
	}

	.card p {
		font-size: 0.85rem;
		line-height: 1.2;
	}
}

/* GRID ROW (TEAM) */

/* BG-GRAY */

h2 {
	text-align: center;
	font-size: 1.8rem;
	margin-bottom: 10px;
}

.section-hr {
	margin: 20px auto;
	width: 100px;
	border: 1px solid #555;
}

/* CONSEQUENCES */


/* VIDEO */

@media (max-width: 500px) {
	.card{
		width: 100%;
		min-height: fit-content;
	}
}

/* FAQ */

/* CONTACT / FORM */
.subtitle {
	text-align: left;
	color: #777;
	font-size: 1rem;
	max-width: 600px;
	margin: 10px auto;
	line-height: 1.3;
}

.contact-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	align-items: flex-start;
	justify-content: space-between;
	background: #fff;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
	padding: 40px;
}

.contact-left {
	display: block;
	width: 30%;
}

.contact-item {
	display: flex;
	align-items: center;
	gap: 20px;
	font-size: 1rem;
	border: 1px solid #f0f0f0;
	margin: 10px 0;
	padding: 10px;
}

.contact-icon {
	font-size: 1.5rem;
	color: var(--blue);
	width: 32px;
	min-width: 32px;
	text-align: center;
}

.contact-text a {
	color: #333;
}

.contact-text a:hover {
	color: #744fff;
}

.worktime p {
	margin: 4px 0;
	color: #555;
}

.contact-right {
	flex: 1 1 500px;
	min-width: 300px;
	height: 400px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
}

.contact-right iframe {
	width: 100%;
	height: 100%;
	border: none;
}

@media (max-width: 1200px) {
	.contact-left {
		width: 100%;
	}
}

@media (max-width: 768px) {
	.contact-wrap {
		flex-direction: column;
		padding: 20px;
	}

	.contact-right {
		height: 300px;
		width: 100%;
	}
}

/* apartment */
/* apartment */
/* apartment */


/* FOOTER */
footer {
	background: #222;
	color: #fff;
	padding:40px;
	text-align: center;
	position: absolute;
	width: 100%;
}

.footer-text {
	font-size: 0.9rem;
}

.wh {
	position: fixed;
	bottom: 30px;
	right: 30px;
}

.wh img {
	width: 80px;
}