/* TURBOPRO LLC — reconstruction of turbopro.am (Elementor, snapshot 2024-05-06) */
:root {
	--red: #e8192f;
	--red-dark: #9e0f1f;
	--black: #000;
	--dark: #0e0e0e;
	--dark-2: #1a1a1a;
	--text: #2b2b2b;
	--muted: #6b6b6b;
	--light: #f4f4f4;
	--white: #fff;
	--container: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: "Montserrat", "Noto Sans Armenian", sans-serif;
	color: var(--text);
	background: var(--white);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; }

.container {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 20px;
}

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--black);
	border-bottom: 2px solid var(--red);
}
.site-header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 90px;
	gap: 24px;
}
.brand { display: flex; align-items: center; gap: 22px; }
.brand img { width: 220px; }

.lang-switcher { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.lang-switcher a {
	display: flex; align-items: center; gap: 6px;
	color: #bbb; font-size: 13px; font-weight: 600;
	transition: color .2s;
}
.lang-switcher a:hover, .lang-switcher a.current { color: var(--white); }
.lang-switcher img { width: 21px; height: 15px; }

.main-nav ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 6px; }
.main-nav a {
	display: block;
	padding: 12px 18px;
	color: var(--white);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .5px;
	position: relative;
}
.main-nav a::after {
	content: "";
	position: absolute;
	left: 18px; right: 18px; bottom: 6px;
	height: 2px;
	background: var(--red);
	transform: scaleX(0);
	transition: transform .25s;
}
.main-nav a:hover::after { transform: scaleX(1); }

.menu-toggle {
	display: none;
	width: 44px; height: 44px;
	background: none; border: 0; padding: 8px; cursor: pointer;
}
.menu-toggle span {
	display: block; height: 3px; margin: 6px 0;
	background: var(--red); border-radius: 2px;
}

/* Mobile menu popup (Elementor popup #303) */
.menu-popup {
	position: fixed; inset: 0; z-index: 100;
	background: rgba(0, 0, 0, .94);
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
	opacity: 0; visibility: hidden;
	transition: opacity .25s, visibility .25s;
}
.menu-popup.open { opacity: 1; visibility: visible; }
.menu-popup a {
	min-width: 260px;
	padding: 14px 24px;
	text-align: center;
	color: var(--white);
	font-weight: 700;
	border: 2px solid var(--red);
	border-radius: 4px;
}
.menu-popup a:hover { background: var(--red); }
.menu-popup .close {
	position: absolute; top: 18px; right: 22px;
	background: none; border: 0; color: var(--white);
	font-size: 40px; line-height: 1; cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
	position: relative;
	min-height: 640px;
	display: flex;
	align-items: center;
	background: var(--black) url("../img/hero.jpg") center / cover no-repeat;
	color: var(--white);
	overflow: hidden;
}
.hero::before {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.6) 50%, rgba(0,0,0,.25) 100%);
}
.hero .container { position: relative; width: 100%; }
.hero h1 {
	font-family: "Russo One", "Noto Sans Armenian", sans-serif;
	font-weight: 400;
	font-size: 64px;
	line-height: 1.1;
	letter-spacing: 1px;
}
.hero h1 span { color: var(--red); }
.hero h2 {
	margin-top: 22px;
	max-width: 640px;
	font-size: 24px;
	font-weight: 500;
	line-height: 1.45;
	color: #e6e6e6;
}
.hero .only-mobile { display: none; }

.btn {
	display: inline-block;
	margin-top: 36px;
	padding: 16px 38px;
	background: var(--red);
	color: var(--white);
	font-weight: 700;
	font-size: 16px;
	border-radius: 3px;
	transition: background .2s, transform .2s;
}
.btn:hover { background: var(--red-dark); transform: translateY(-2px); }

/* Fade-in (Elementor "fadeIn" entrance animation) */
.fade { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.fade.visible { opacity: 1; transform: none; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-title {
	font-family: "Russo One", "Noto Sans Armenian", sans-serif;
	font-weight: 400;
	font-size: 40px;
	color: var(--black);
	position: relative;
	padding-bottom: 18px;
	margin-bottom: 28px;
}
.section-title::after {
	content: "";
	position: absolute; left: 0; bottom: 0;
	width: 70px; height: 4px;
	background: var(--red);
}
.dark .section-title { color: var(--white); }
.center { text-align: center; }
.section-title.center::after { left: 50%; transform: translateX(-50%); }

/* About */
.about .container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 50px;
	align-items: center;
}
.about p { font-size: 17px; line-height: 1.8; margin: 0; color: var(--text); }
.about-gallery {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}
.about-gallery div {
	aspect-ratio: 1;
	background-size: cover;
	background-position: center;
	border-radius: 4px;
}
.about-gallery div:nth-child(1) { background-image: url("../img/about-1.jpg"); }
.about-gallery div:nth-child(2) { background-image: url("../img/about-2.jpg"); }
.about-gallery div:nth-child(3) { background-image: url("../img/about-3.jpg"); }
.about-gallery div:nth-child(4) { background-image: url("../img/about-4.jpg"); }

/* Advantages */
.advantages {
	position: relative;
	background: var(--dark);
	color: var(--white);
	overflow: hidden;
}
.advantages::before, .advantages::after {
	content: "";
	position: absolute;
	width: 520px; height: 140px;
	background: url("../img/wave.svg") center / 100% 100% no-repeat;
	pointer-events: none;
}
.advantages::before { top: 0; left: 0; transform: scale(-1, -1); }
.advantages::after { right: 0; bottom: 0; }
.advantages .container { position: relative; z-index: 1; }
.advantages .lead { font-size: 22px; font-weight: 500; color: #ddd; margin-bottom: 50px; }
.adv-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}
.adv-item {
	padding: 34px 26px;
	background: var(--dark-2);
	border-top: 3px solid var(--red);
	border-radius: 4px;
	text-align: center;
	transition: transform .25s, box-shadow .25s;
}
.adv-item:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(232, 25, 47, .18); }
.adv-item img {
	width: 112px; height: 112px; object-fit: contain;
	margin: 0 auto 22px; padding: 18px;
	background: var(--light); border-radius: 50%;
}
.adv-item h3 { font-size: 17px; font-weight: 600; line-height: 1.5; }

/* Services */
.services .container {
	display: grid;
	grid-template-columns: 5fr 7fr;
	gap: 50px;
	align-items: stretch;
}
.services-photo {
	min-height: 520px;
	background: url("../img/services.jpg") center / cover no-repeat;
	border-radius: 4px;
}
.serv-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 26px 30px;
}
.serv-item { display: flex; gap: 16px; align-items: flex-start; }
.serv-item img { flex: 0 0 42px; width: 42px; height: 42px; }
.serv-item h3 { font-size: 16px; font-weight: 500; line-height: 1.55; color: var(--text); }

/* Contacts */
.contacts { background: var(--black); color: var(--white); }
.contacts .grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: center;
}
.contact-buttons { display: flex; flex-direction: column; gap: 14px; }
.contact-buttons a, .contact-buttons span {
	display: flex; align-items: center; justify-content: center; gap: 12px;
	padding: 16px 20px;
	border: 2px solid var(--red);
	border-radius: 4px;
	font-weight: 600;
	font-size: 16px;
	text-align: center;
	transition: background .2s;
}
.contact-buttons .company { background: var(--red); font-family: "Russo One", "Noto Sans Armenian", sans-serif; font-weight: 400; font-size: 20px; letter-spacing: 1px; }
.contact-buttons a:hover { background: var(--red); }
.contact-buttons svg { flex: 0 0 20px; width: 20px; height: 20px; fill: currentColor; }
.map iframe { display: block; width: 100%; height: 380px; border: 0; border-radius: 4px; filter: grayscale(.3); }

.site-footer {
	background: var(--black);
	border-top: 1px solid #222;
	color: #777;
	font-size: 13px;
	text-align: center;
	padding: 20px;
}

/* ---------- Responsive (Elementor breakpoints) ---------- */
@media (max-width: 1024px) {
	.hero h1 { font-size: 50px; }
	.adv-grid { gap: 20px; }
	.services .container { grid-template-columns: 1fr; }
	.services-photo { min-height: 320px; }
}

@media (max-width: 767px) {
	.site-header .container { min-height: 70px; }
	.brand { order: 2; }
	.brand img { width: 150px; }
	.site-header .lang-switcher.desktop, .main-nav { display: none; }
	.site-header .lang-switcher.mobile { display: flex; order: 1; flex-direction: column; gap: 4px; }
	.menu-toggle { display: block; order: 3; }

	.hero { min-height: 520px; text-align: center; }
	.hero::before { background: rgba(0, 0, 0, .7); }
	.hero h1 { font-size: 36px; }
	.hero h2 { font-size: 18px; margin-left: auto; margin-right: auto; }
	.hero .only-desktop { display: none; }
	.hero .only-mobile { display: block; }

	.section { padding: 60px 0; }
	.section-title { font-size: 30px; }
	.about .container, .contacts .grid { grid-template-columns: 1fr; }
	.adv-grid, .serv-grid { grid-template-columns: 1fr; }
	.advantages .lead { font-size: 18px; }
	.advantages .lead.only-desktop { display: none; }
	.map iframe { height: 300px; }
}
@media (min-width: 768px) {
	.site-header .lang-switcher.mobile { display: none; }
	.advantages .lead.only-mobile { display: none; }
}

/* Russo One has no Armenian glyphs: bold Noto Sans Armenian stands in */
:lang(hy) .hero h1, :lang(hy) .section-title, :lang(hy) .contact-buttons .company { font-weight: 800; }
