/*
Theme Name: GMS Service
Author: GMS Service
Description: WordPress theme for GMS Service auto repair website with service pages, local SEO metadata, schema.org markup, responsive layout, and editable contact settings.
Requires at least: 6.7
Tested up to: 7.0
Requires PHP: 7.4
Version: 1.3.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gms-service
Tags: custom-logo, custom-menu, featured-images, blog, one-column, two-columns, accessibility-ready, translation-ready
*/

:root {
	--gms-dark: #161616;
	--gms-text: #202124;
	--gms-muted: #6c757d;
	--gms-accent: #ffb400;
	--gms-border: #e8e8e8;
}

html {
	scroll-behavior: smooth;
	overflow-x: hidden;
}

body {
	color: var(--gms-text);
	overflow-x: hidden;
	width: 100%;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal;
}

.screen-reader-text:focus {
	background-color: #fff;
	clip: auto;
	clip-path: none;
	color: #111;
	display: block;
	font-size: 14px;
	font-weight: 700;
	height: auto;
	left: 16px;
	line-height: normal;
	padding: 12px 16px;
	top: 16px;
	width: auto;
	z-index: 100000;
}

.admin-bar .header_area {
	top: 32px;
}

.navbar-brand .logo,
.navbar-brand .custom-logo {
	display: block;
	height: auto;
	max-height: 64px;
	width: auto;
}

.custom-logo-link {
	display: inline-flex;
	align-items: center;
}

.footer_center .custom-logo {
	height: auto;
	max-height: 86px;
	width: auto;
}

.gms-header-mobile-info {
	display: none;
}

.gms-hero-kicker,
.gms-hero-description {
	display: block;
}

.hero_section .text_area {
	max-width: 680px;
	position: relative;
	z-index: 4;
}

.hero_section .title_ch,
.hero_section .gms-hero-kicker,
.hero_section .gms-hero-description {
	color: #fff;
	text-shadow: 0 3px 14px rgba(0, 0, 0, 0.82);
}

.hero_section .gms-hero-description {
	background: rgba(0, 0, 0, 0.62);
	border-left: 4px solid var(--gms-accent);
	border-radius: 6px;
	display: inline-block;
	font-weight: 700;
	line-height: 1.55;
	max-width: 620px;
	padding: 12px 16px;
}

.hero_section .hero_btn {
	align-items: center;
	background: var(--gms-accent);
	border: 0;
	border-radius: 6px;
	box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32);
	color: #161616 !important;
	display: inline-flex;
	font-weight: 800;
	justify-content: center;
	min-height: 58px;
	padding: 16px 30px;
	text-shadow: none;
	transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.hero_section .hero_btn:hover,
.hero_section .hero_btn:focus {
	background: #fff;
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.38);
	color: #161616 !important;
	transform: translateY(-1px);
}

.service_excerpt {
	color: var(--gms-muted);
	font-size: 15px;
	line-height: 1.65;
	margin: 12px 0 0;
}

.services_section .part h4 a {
	color: inherit;
	text-decoration: none;
}

.services_section .part h4 a:hover,
.services_section .part h4 a:focus {
	color: var(--gms-accent);
}

.services_section .part .services_img {
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	display: block;
	min-height: 240px;
	overflow: hidden;
}

.services_section .part .services_img .service_img {
	display: block;
	height: 240px;
	object-fit: cover;
	width: 100%;
}

.services_section .part .services_img .img_icon {
	backdrop-filter: blur(2px);
	background: rgba(201, 154, 58, 0.88);
	box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
}

.services_section .part .services_img .img_icon i {
	color: #fff;
	font-size: 34px;
	line-height: 1;
}

.gms-contact-section {
	background: #f7f7f7;
	color: var(--gms-dark);
}

.gms-contact-section .title_ch,
.gms-contact-section h2,
.gms-contact-section .content_message,
.gms-contact-section .between_two_part,
.gms-contact-section .between_two_part a {
	color: var(--gms-dark) !important;
	text-shadow: none !important;
}

.gms-contact-section a {
	color: inherit;
	text-decoration: none;
}

.gms-contact-section a:hover,
.gms-contact-section a:focus {
	color: var(--gms-accent);
}

.gms-contact-form {
	background: #fff;
	border: 1px solid var(--gms-border);
	border-radius: 8px;
	padding: 34px;
}

.gms-contact-form label {
	display: block;
	margin-bottom: 18px;
}

.gms-contact-form label span {
	color: var(--gms-dark);
	display: block;
	font-size: 15px;
	font-weight: 700;
	margin-bottom: 8px;
}

.gms-contact-form input,
.gms-contact-form select,
.gms-contact-form textarea {
	background: #fff;
	border: 1px solid var(--gms-border);
	border-radius: 6px;
	color: var(--gms-text);
	display: block;
	min-height: 52px;
	padding: 13px 15px;
	width: 100%;
}

.gms-contact-form textarea {
	min-height: 128px;
	resize: vertical;
}

.gms-contact-form input:focus,
.gms-contact-form select:focus,
.gms-contact-form textarea:focus {
	border-color: var(--gms-accent);
	outline: 2px solid rgba(255, 180, 0, 0.2);
}

.gms-contact-form__grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gms-contact-form__honeypot {
	height: 0;
	left: -9999px;
	overflow: hidden;
	position: absolute;
	width: 0;
}

.gms-contact-form__bottom {
	align-items: center;
	display: flex;
	gap: 18px;
	justify-content: space-between;
}

.gms-contact-form__bottom .btn_theme {
	border: 0;
	min-width: 190px;
}

.gms-contact-form .btn_theme,
.gms-monobank-form .btn_theme {
	background: var(--gms-accent);
	border-radius: 6px;
	box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
	color: #161616 !important;
	font-weight: 800;
	min-height: 52px;
	text-align: center;
}

.gms-contact-form .btn_theme:hover,
.gms-contact-form .btn_theme:focus,
.gms-monobank-form .btn_theme:hover,
.gms-monobank-form .btn_theme:focus {
	background: #161616;
	color: #fff !important;
}

.gms-contact-form__bottom .btn_theme:disabled {
	cursor: wait;
	opacity: 0.72;
}

.gms-contact-form__status {
	color: var(--gms-muted);
	font-size: 15px;
	line-height: 1.55;
	margin: 0;
}

.gms-contact-form__status.is-success {
	color: #0f7a3d !important;
	font-weight: 700;
}

.gms-contact-form__status.is-error {
	color: #b42318;
}

.gms-spam-check {
	background: #fff8e6;
	border: 1px solid rgba(255, 180, 0, 0.36);
	border-radius: 6px;
	margin-bottom: 18px;
	padding: 14px;
}

.gms-spam-check label {
	margin-bottom: 0;
}

.gms-spam-check input {
	max-width: 180px;
}

.gms-monobank-panel {
	background: #151515;
	border-radius: 8px;
	color: #fff;
	margin-top: 34px;
	overflow: hidden;
}

.gms-monobank-panel__head {
	align-items: center;
	display: grid;
	gap: 24px;
	grid-template-columns: minmax(0, 1fr) auto;
	padding: 30px 34px;
}

.gms-monobank-panel__head h3 {
	color: #fff;
	font-size: 32px;
	line-height: 1.2;
	margin: 0 0 10px;
	text-shadow: none;
}

.gms-monobank-panel__head p {
	color: rgba(255, 255, 255, 0.82);
	line-height: 1.6;
	margin: 0;
	max-width: 720px;
}

.gms-monobank-panel__head .title {
	color: var(--gms-accent) !important;
	text-shadow: none !important;
}

.gms-monobank-toggle {
	align-items: center;
	background: var(--gms-accent);
	border: 0;
	border-radius: 4px;
	color: #111;
	display: inline-flex;
	font-family: var(--body-font-secondary);
	font-size: 16px;
	font-weight: 800;
	gap: 10px;
	justify-content: center;
	min-height: 54px;
	padding: 14px 20px;
	text-align: center;
	transition: background 0.2s ease, transform 0.2s ease;
	white-space: nowrap;
}

.gms-monobank-toggle:hover,
.gms-monobank-toggle:focus {
	background: #ffd15c;
	outline: 2px solid rgba(255, 255, 255, 0.35);
}

.gms-monobank-toggle .fa-chevron-down {
	transition: transform 0.2s ease;
}

.gms-monobank-panel.is-open .gms-monobank-toggle .fa-chevron-down {
	transform: rotate(180deg);
}

.gms-monobank-panel__body {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	display: grid;
	gap: 30px;
	grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
	padding: 34px;
}

.gms-monobank-panel__body[hidden] {
	display: none;
}

.gms-monobank-copy {
	padding-right: 0;
}

.gms-monobank-benefits {
	display: grid;
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.gms-monobank-benefits li {
	align-items: center;
	display: flex;
	font-size: 17px;
	font-weight: 700;
	gap: 10px;
	line-height: 1.35;
}

.gms-monobank-benefits li::before {
	background: var(--gms-accent);
	border-radius: 50%;
	content: "";
	display: inline-block;
	flex: 0 0 auto;
	height: 10px;
	width: 10px;
}

.gms-monobank-form {
	background: #fff;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 8px;
	padding: 34px;
}

.gms-monobank-form label {
	display: block;
	margin-bottom: 18px;
}

.gms-monobank-form label span {
	color: var(--gms-dark);
	display: block;
	font-size: 15px;
	font-weight: 700;
	margin-bottom: 8px;
}

.gms-monobank-form input,
.gms-monobank-form select {
	background: #fff;
	border: 1px solid var(--gms-border);
	border-radius: 6px;
	color: var(--gms-text);
	display: block;
	min-height: 52px;
	padding: 13px 15px;
	width: 100%;
}

.gms-monobank-form input:focus,
.gms-monobank-form select:focus {
	border-color: var(--gms-accent);
	outline: 2px solid rgba(255, 180, 0, 0.2);
}

.gms-monobank-form__grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gms-monobank-form__bottom {
	align-items: center;
	display: flex;
	gap: 18px;
	justify-content: space-between;
}

.gms-monobank-form__bottom .btn_theme {
	border: 0;
	line-height: 1.25;
	min-width: 260px;
	text-align: center;
	white-space: normal;
}

.gms-monobank-form__bottom .btn_theme:disabled {
	cursor: wait;
	opacity: 0.72;
}

.gms-monobank-form__status {
	color: var(--gms-muted);
	font-size: 15px;
	line-height: 1.55;
	margin: 0;
}

.gms-monobank-form__status.is-success {
	color: #0f7a3d !important;
	font-weight: 700;
}

.gms-monobank-form__status.is-error {
	color: #b42318;
}

.gms-content {
	background: #fff;
	min-height: 48vh;
}

.gms-content .entry-header,
.gms-content .page-header {
	margin-bottom: 32px;
	text-align: center;
}

.gms-content .entry-title,
.gms-content .page-title {
	font-size: 54px;
	line-height: 1.15;
	margin: 0;
}

.gms-content .entry-meta,
.gms-content .entry-footer {
	color: var(--gms-muted);
	font-size: 14px;
	margin-top: 12px;
}

.gms-content .entry-content {
	font-size: 17px;
	line-height: 1.8;
}

.gms-content .entry-content img {
	height: auto;
	max-width: 100%;
}

.gms-post-grid {
	display: grid;
	gap: 28px;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.gms-post-card {
	border: 1px solid var(--gms-border);
	border-radius: 8px;
	background: #fff;
	overflow: hidden;
}

.gms-post-card__image {
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	display: block;
	min-height: 230px;
}

.gms-post-card__image img {
	display: block;
	height: 230px;
	object-fit: cover;
	width: 100%;
}

.project_section {
	overflow-x: hidden;
}

.project_section .title_area {
	margin-left: auto;
	margin-right: auto;
	max-width: 1140px;
	padding-left: 16px;
	padding-right: 16px;
}

.gms-post-card__body {
	padding: 24px;
}

.gms-post-card__title {
	font-size: 24px;
	line-height: 1.25;
	margin: 0 0 12px;
}

.gms-post-card__title a {
	color: inherit;
	text-decoration: none;
}

.gms-post-card__title a:hover,
.gms-post-card__title a:focus {
	color: var(--gms-accent);
}

.gms-post-card__excerpt {
	color: var(--gms-muted);
	line-height: 1.7;
	margin: 0;
}

.gms-service-single__cta {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 36px;
}

.gms-pagination {
	margin-top: 40px;
	text-align: center;
}

.gms-pagination .page-numbers {
	border: 1px solid var(--gms-border);
	color: var(--gms-dark);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	min-width: 42px;
	margin: 0 4px 8px;
	padding: 0 12px;
	text-decoration: none;
}

.gms-pagination .current,
.gms-pagination a:hover,
.gms-pagination a:focus {
	background: var(--gms-dark);
	color: #fff;
}

.gms-footer-widgets {
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	color: #fff;
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	margin-bottom: 48px;
	padding-top: 36px;
}

.gms-footer-widgets a {
	color: inherit;
}

.gms-not-found {
	text-align: center;
}

.gms-search-form {
	display: flex;
	gap: 12px;
	margin: 28px auto 0;
	max-width: 620px;
}

.gms-search-form .search-field {
	border: 1px solid var(--gms-border);
	flex: 1;
	min-width: 0;
	padding: 14px 16px;
}

.gms-search-form .search-submit {
	background: var(--gms-dark);
	border: 0;
	color: #fff;
	padding: 14px 22px;
}

@media (max-width: 782px) {
	.admin-bar .header_area {
		top: 46px;
	}
}

@media (max-width: 991px) {
	.header_area {
		background: rgba(0, 0, 0, 0.84);
	}

	.header_area .navbar {
		gap: 10px;
		padding: 10px 0;
	}

	.header_area .navbar-toggler {
		align-items: center;
		background: rgba(255, 255, 255, 0.08);
		border: 1px solid rgba(255, 255, 255, 0.18);
		border-radius: 8px;
		color: #fff;
		display: inline-flex;
		font-size: 24px;
		height: 46px;
		justify-content: center;
		padding: 0;
		width: 46px;
	}

	.header_area .navbar-toggler[aria-expanded="true"] {
		background: var(--gms-accent);
		border-color: var(--gms-accent);
		color: #161616;
	}

	.header_area .navbar-collapse {
		background: rgba(6, 6, 6, 0.96);
		border: 1px solid rgba(255, 255, 255, 0.12);
		border-radius: 10px;
		box-shadow: 0 18px 42px rgba(0, 0, 0, 0.35);
		flex-basis: 100%;
		margin-top: 4px;
		padding: 10px;
	}

	.header_area .navbar-nav {
		align-items: flex-start;
		gap: 6px;
		margin: 0 !important;
		padding: 0;
	}

	.header_area .navbar-nav .nav-item {
		width: 100%;
	}

	.header_area .navbar-nav .nav-item .nav-link {
		align-items: center;
		background: rgba(255, 255, 255, 0.07);
		border: 1px solid rgba(255, 255, 255, 0.08);
		border-radius: 7px;
		color: #fff !important;
		display: flex;
		font-size: 16px;
		font-weight: 800;
		justify-content: space-between;
		line-height: 1.2;
		min-height: 50px;
		padding: 13px 15px;
		text-decoration: none;
		width: 100%;
	}

	.header_area .navbar-nav .nav-item .nav-link::after {
		color: rgba(255, 255, 255, 0.46);
		content: ">";
		font-family: Arial, sans-serif;
		font-size: 18px;
		font-weight: 700;
		line-height: 1;
	}

	.header_area .navbar-nav .nav-item .nav-link:hover,
	.header_area .navbar-nav .nav-item .nav-link:focus,
	.header_area .navbar-nav .nav-item .nav-link.active {
		background: var(--gms-accent);
		border-color: var(--gms-accent);
		color: #161616 !important;
	}

	.header_area .navbar-nav .nav-item .nav-link:hover::after,
	.header_area .navbar-nav .nav-item .nav-link:focus::after,
	.header_area .navbar-nav .nav-item .nav-link.active::after {
		color: #161616;
	}

	.cuatom_btn {
		display: none;
	}

	.gms-contact-section .col-lg-5 {
		margin-bottom: 32px;
	}

	.gms-monobank-panel__head,
	.gms-monobank-panel__body {
		grid-template-columns: 1fr;
	}

	.gms-monobank-toggle {
		justify-self: start;
	}
}

@media (max-width: 575px) {
	.navbar-brand .logo,
	.navbar-brand .custom-logo {
		max-height: 54px;
	}

	.header_area .row {
		margin-left: 0;
		margin-right: 0;
	}

	.header_area .col-12 {
		padding-left: 0;
		padding-right: 0;
	}

	.header_area .navbar {
		align-items: center;
		box-sizing: border-box;
		display: grid;
		gap: 8px;
		grid-template-columns: minmax(0, 1fr) auto;
		padding: 10px 0;
	}

	.header_area .navbar-brand {
		min-width: 0;
	}

	.header_area .navbar-toggler {
		border: 0;
		justify-self: end;
		padding: 0;
	}

	.header_area .navbar-collapse {
		grid-column: 1 / -1;
	}

	.gms-header-mobile-info {
		align-items: stretch;
		background: rgba(8, 8, 8, 0.72);
		border: 1px solid rgba(255, 255, 255, 0.14);
		border-radius: 8px;
		box-sizing: border-box;
		display: grid;
		gap: 6px;
		grid-column: 1 / -1;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		justify-self: center;
		margin: 2px auto 0;
		max-width: 430px;
		min-width: 0;
		order: 3;
		padding: 6px;
		width: calc(100% - 16px) !important;
	}

	.gms-header-mobile-link {
		align-items: center;
		background: rgba(255, 255, 255, 0.08);
		border: 1px solid rgba(255, 255, 255, 0.12);
		border-radius: 5px;
		color: #fff;
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		font-family: var(--body-font-primary);
		font-size: clamp(11px, 2.85vw, 13px);
		font-weight: 800;
		gap: 1px 4px;
		justify-content: center;
		justify-items: start;
		line-height: 1.15;
		min-height: 40px;
		overflow: hidden;
		padding: 7px 8px;
		text-align: left;
		text-decoration: none;
	}

	.gms-header-mobile-link.gms-header-mobile-link--phone {
		background: var(--gms-accent);
		border-color: var(--gms-accent);
		box-sizing: border-box;
		box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
		color: #161616 !important;
		display: flex;
		grid-column: 1 / -1;
		font-size: clamp(14px, 3.7vw, 16px);
		justify-content: center;
		justify-self: start;
		margin-right: 0;
		min-height: 44px;
		padding: 9px 12px;
		width: 100%;
	}

	.gms-header-mobile-link.gms-header-mobile-link--phone:hover,
	.gms-header-mobile-link.gms-header-mobile-link--phone:focus {
		background: #fff;
		border-color: #fff;
		color: #161616 !important;
	}

	.gms-header-mobile-link.gms-header-mobile-link--phone i {
		align-items: center;
		background: rgba(0, 0, 0, 0.12);
		border-radius: 999px;
		color: #161616;
		display: flex;
		font-size: 12px;
		grid-row: auto;
		height: 24px;
		justify-content: center;
		width: 24px;
	}

	.gms-header-mobile-link.gms-header-mobile-link--phone span {
		color: #161616;
		overflow: visible;
		text-overflow: clip;
		white-space: nowrap;
		width: auto;
	}

	.gms-header-mobile-link i {
		color: var(--gms-accent);
		flex: 0 0 auto;
		font-size: 14px;
		grid-row: 1 / span 2;
	}

	.gms-header-mobile-link span,
	.gms-header-mobile-link small {
		display: block;
		min-width: 0;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		width: 100%;
	}

	.gms-header-mobile-link small {
		color: rgba(255, 255, 255, 0.72);
		font-size: 0.92em;
		font-weight: 800;
	}

	.gms-header-mobile-link--maps span {
		font-size: clamp(9px, 2.45vw, 11px);
	}

	.gms-header-mobile-link--waze span {
		font-size: 12px;
	}

	.hero_section {
		align-items: center;
		min-height: 100svh;
		padding-bottom: 76px;
		padding-top: 124px;
	}

	.hero_section .text_area {
		max-width: calc(100vw - 24px);
		text-align: left;
		width: 100%;
	}

	.hero_section .title_ch {
		font-size: clamp(34px, 10vw, 46px);
		line-height: 1.08;
		margin-bottom: 0;
		text-shadow: 0 2px 10px rgba(0, 0, 0, 0.78);
	}

	.hero_section .title_ch .custom_color {
		background: rgba(0, 0, 0, 0.72);
		border-radius: 4px;
		display: table;
		line-height: 1;
		margin: 0 0 8px;
		padding: 3px 8px 4px;
	}

	.hero_section .gms-hero-kicker,
	.hero_section .gms-hero-description,
	.hero_section .animation .hero_text {
		display: none;
	}

	.hero_section .hero_btn {
		align-items: center;
		box-sizing: border-box;
		display: flex;
		justify-content: center;
		line-height: 1.2;
		margin: 30px 0 0;
		max-width: calc(100vw - 32px);
		text-align: center;
		white-space: nowrap;
		width: min(300px, calc(100vw - 32px));
	}

	.gms-contact-form__bottom .btn_theme,
	.gms-monobank-form__bottom .btn_theme,
	.gms-monobank-toggle {
		align-items: center;
		display: inline-flex;
		justify-content: center;
		min-height: 52px;
		text-align: center;
		width: 100%;
	}

	.gms-contact-form__bottom,
	.gms-monobank-form__bottom {
		align-items: stretch;
		display: grid;
		gap: 12px;
		grid-template-columns: 1fr;
	}

	.gms-content .entry-title,
	.gms-content .page-title {
		font-size: 32px;
	}

	.gms-contact-form {
		padding: 24px;
	}

	.gms-spam-check input {
		max-width: none;
	}

	.gms-monobank-panel {
		margin-top: 26px;
	}

	.gms-monobank-panel__head {
		gap: 18px;
		grid-template-columns: 1fr;
		padding: 24px;
	}

	.gms-monobank-panel__head h3 {
		font-size: 26px;
	}

	.gms-monobank-toggle {
		width: 100%;
		white-space: normal;
	}

	.gms-monobank-panel__body {
		grid-template-columns: 1fr;
		padding: 24px;
	}

	.gms-monobank-form {
		margin-top: 28px;
		padding: 24px;
	}

	.gms-contact-form__grid,
	.gms-contact-form__bottom,
	.gms-monobank-form__grid,
	.gms-monobank-form__bottom {
		grid-template-columns: 1fr;
	}

	.gms-contact-form__bottom,
	.gms-monobank-form__bottom {
		align-items: stretch;
		flex-direction: column;
	}

	.gms-monobank-form__bottom .btn_theme {
		width: 100%;
	}

	.gms-search-form {
		flex-direction: column;
	}
}
