@media (max-width: 1600px) {
	.gvr-header__brand .custom-logo{top: 0px; max-height: 80px;}
}
@media (max-width: 1200px) {
	.gvr-hero {
		max-width: 100%;
	}

	.gvr-about__content {
		width: 620px;
		max-width: calc(100% - 340px);
	}

	.gvr-services__grid {
		gap: 54px 34px;
	}
}

@media (max-width: 1024px) {
	.gvr-page__title {
		font-size: 38px;
	}

	.gvr-page__content h1 { font-size: 36px; }
	.gvr-page__content h2 { font-size: 30px; }
	.gvr-page__content h3 { font-size: 26px; }
	.gvr-page__content h4 { font-size: 22px; }
	.gvr-page__content h5 { font-size: 19px; }
	.gvr-page__content h6 { font-size: 17px; }

	.gvr-page__content p,
	.gvr-page__content li {
		font-size: 17px;
	}

	.gvr-header__brand-text {
		font-size: 18px;
		line-height: 1.1;
	}

	#menu .menu > li > a {
		padding: 0 12px;
		font-size: 16px;
		letter-spacing: 0.06em;
	}

	.gvr-hero__inner {
		min-height: 360px;
		padding-left: 34px;
	}

	.gvr-hero__title {
		font-size: 44px;
		line-height: 1.08;
		max-width: 330px;
	}

	.gvr-advantages__grid {
		gap: 64px;
	}

	.gvr-advantages__title {
		font-size: clamp(1.25rem, 4vw, 48.55px);
		line-height: 1.29;
	}

	.gvr-advantages__bg-word {
		font-size: clamp(56px, 9vw, 78px);
		letter-spacing: 0.12em;
	}

	.gvr-services__title {
		font-size: clamp(56px, 10vw, 86px);
		letter-spacing: 0.11em;
	}

	.footer_form .wpcf7 form {
		max-width: 100%;
	}

	.footer_form .wpcf7-form-control-wrap {
		flex: 1 1 calc(50% - 13px);
		min-width: 0;
	}

	.footer_form .wpcf7 input[type="submit"] {
		flex: 1 1 100%;
		width: 100%;
	}

	.footer_form .wpcf7 form > p > input[type="submit"],
	.footer_form .wpcf7 form > p > button[type="submit"] {
		flex: 1 1 100%;
		width: 100%;
	}
	#content{padding-top:40px;}
	#header{top:0px;}
	.gvr-header__brand .custom-logo{top:inherit; max-height:60px; left:0px;}
	header.is-scrolled .gvr-header__brand .custom-logo{top:inherit; max-height:60px; left:0px;}
	.footer_form .fcontainer{max-width:94%; padding:0; margin:0 auto;}
}

@media (max-width: 992px) {
	#content{padding-top:60px;}
	:root {
		--gvr-header-height: 64px;
	}

	#header {
		top: 0;
	}

	.gvr-header__brand .custom-logo {
		max-height: 30px;
	}

	.gvr-menu-toggle {
		display: inline-flex;
	}

	#menu {
		position: fixed;
		top: 0;
		left: 0;
		width: min(84vw, 340px);
		height: 100vh;
		padding: 25px;
		background: rgba(3, 11, 16, 0.97);
		box-shadow: 0 0 24px rgba(78, 202, 233, 0.2);
		transform: translateX(-100%);
		transition: transform 0.28s ease;
		z-index: 1200;
		overflow-y: auto;
		align-items: flex-start;
		justify-content: end;
	}
	#menu .menu{
		align-items: flex-start;
		width:100%;
	}

	#header.is-menu-open #menu {
		transform: translateX(0);
	}

	body.gvr-menu-open {
		overflow: hidden;
	}

	#menu .menu {
		display: block;
		direction: rtl;
	}

	#menu .menu > li {
		display: block;
		padding: 0;
		border-bottom: 1px solid rgba(91, 226, 210, 0.14);
	}

	#menu .menu > li + li::before {
		display: none;
	}

	#menu .menu > li > a {
		display: block;
		padding: 14px 18px;
		font-size: 16px;
		line-height: 1.3;
		letter-spacing: 0.03em;
	}

	#menu .menu > li > .sub-menu {
		position: static;
		min-width: 0;
		margin: 0;
		padding: 0;
		border: 0;
		box-shadow: none;
		background: rgba(255, 255, 255, 0.02);
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: none;
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.3s ease;
	}

	#menu .menu > li:hover > .sub-menu,
	#menu .menu > li:focus-within > .sub-menu {
		transform: none;
	}

	#menu .menu .sub-menu a {
		padding: 10px 32px 10px 18px;
		font-size: 14px;
	}

	.gvr-submenu-toggle {
		display: inline-flex;
		position: absolute;
		left: 8px;
		top: 10px;
		width: 32px;
		height: 32px;
		align-items: center;
		justify-content: center;
		border: 0;
		background: transparent;
		cursor: pointer;
	}

	.gvr-submenu-toggle span {
		display: inline-block;
		width: 12px;
		height: 12px;
		border-right: 2px solid #8de2db;
		border-bottom: 2px solid #8de2db;
		transform: rotate(45deg);
		transition: transform 0.2s ease;
	}

	#menu .menu > li.is-open > .gvr-submenu-toggle span {
		transform: rotate(225deg);
	}

	.gvr-about__box {
		min-height: 0;
		padding-top: 0px;
		background-size: 100% 240px, auto, auto;
		background:none;
	}

	.gvr-about__content {
		width: 100%;
		max-width: 100%;
		margin-left: 0;
		padding-top: 12px;
	}
	.gvr-header__brand .custom-logo{top:inherit; max-height:45px; left:0px;}
	header.is-scrolled .gvr-header__brand .custom-logo{top:inherit; max-height:45px; left:0px;}
}

@media (max-width: 768px) {
	.gvr-page {
		margin-bottom: 44px;
	}

	.gvr-page__title {
		font-size: 32px;
	}

	.gvr-page__content h1 { font-size: 30px; }
	.gvr-page__content h2 { font-size: 26px; }
	.gvr-page__content h3 { font-size: 23px; }
	.gvr-page__content h4 { font-size: 21px; }
	.gvr-page__content h5 { font-size: 18px; }
	.gvr-page__content h6 { font-size: 16px; }

	.gvr-page__content p,
	.gvr-page__content li {
		font-size: 16px;
		line-height: 1.65;
	}

	.gvr-notfound__title {
		font-size: 40px;
	}

	.gvr-notfound__link {
		font-size: 19px;
	}

	.footer_form .wpcf7-form-control-wrap {
		flex: 1 1 100%;
	}

	.footer_form .wpcf7 input[type="submit"],
	.footer_form .wpcf7 form > p > input[type="submit"],
	.footer_form .wpcf7 form > p > button[type="submit"] {
		flex: 1 1 100%;
		width: 100%;
		padding: 5px 0;
	}

	.gvr-hero__inner {
		min-height: 300px;
		padding: 0 20px;
	}

	.gvr-hero__title {
		font-size: 38px;
		line-height: 1.1;
		max-width: 290px;
	}

	.gvr-advantages__grid {
		grid-template-columns: 1fr;
		gap: 2rem;
		padding-bottom: 0px;
	}

	.gvr-advantages__bg-word {
		font-size: clamp(44px, 11vw, 62px);
		letter-spacing: 0.08em;
	}

	.gvr-services__title {
		font-size: clamp(44px, 11vw, 64px);
		letter-spacing: 0.08em;
	}

	.gvr-services__item {
		flex: 1 1 100%;
		width: 100%;
		max-width: 360px;
	}
	#content{padding-top:60px;}
	.gvr-hero{background-position: top right; margin: 0 auto 0px;}
	.gvr-about__box{padding-top:0px; background:none}
	.gvr-services__grid{margin-top:0px;}
	.gvr-services__title{margin-bottom:20px;	}
	.gvr-services{margin-bottom:0px;}
	.fbox p{flex-direction:column;}
	.fbox{flex-direction:column;}
	.footer_form .fcontainer{max-width:87%;}
}

@media (max-width: 640px) {
	.gvr-header__brand {
		gap: 10px;
	}

	.gvr-header__brand-text {
		font-size: 14px;
	}

	.gvr-hero__title {
		font-size: 31px;
		max-width: 240px;
	}

	.gvr-services__title {
		font-size: clamp(34px, 10.5vw, 48px);
		letter-spacing: 0.06em;
	}
	
}

@media (max-width: 400px) {
	.gvr-page__title {
		font-size: 27px;
	}

	.gvr-page__content h1 { font-size: 25px; }
	.gvr-page__content h2 { font-size: 23px; }
	.gvr-page__content h3 { font-size: 21px; }
	.gvr-page__content h4 { font-size: 19px; }
	.gvr-page__content h5 { font-size: 17px; }
	.gvr-page__content h6 { font-size: 16px; }

	.gvr-page__content p,
	.gvr-page__content li {
		font-size: 15px;
	}

	.gvr-notfound__title {
		font-size: 32px;
	}

	.gvr-notfound__link {
		font-size: 17px;
	}

	.gvr-hero__inner {
		min-height: 240px;
		padding: 0 14px;
		justify-content: center;
	}

	.gvr-hero__title {
		font-size: 26px;
		max-width: 210px;
	}

	.gvr-about__title {
		font-size: 30px;
		line-height: 1.2;
	}

	.gvr-advantages__bg-word {
		font-size: 34px;
		letter-spacing: 0.05em;
	}

	.gvr-services__title {
		font-size: 32px;
		letter-spacing: 0.04em;
	}
}
