/*
Theme Name: Estone Block Theme
Author: Derek Whitaker
Version: 1.0.0
Description: A customized FSE Theme for Estone
*/

/* ==========================================================================
   Base
   ========================================================================== */

:root {
	--red: #c40808;
	--navy: #0b253a;
	--blue-accent: #004178;
	--ink: #323232;
	--body-text: #272727;
	--muted: #5d6378;
	--line: #eeeeee;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Open Sans", "Helvetica Neue", Arial, sans-serif;
	color: var(--body-text);
	background: #fff;
}

img {
	max-width: 100%;
	display: block;
}

a {
	text-decoration: none;
	color: inherit;
}

ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.wp-site-blocks > main {
	overflow: hidden;
}

.content1700 {
	width: 100%;
	max-width: 1700px;
	margin: 0 auto;
	padding: 0 40px;
}

@media (max-width: 768px) {
	.content1700 {
		padding: 0 20px;
	}
}

.btn-arrow {
	display: inline-block;
	line-height: 1;
}

/* Gutenberg wraps images used as component chrome (icons, backgrounds,
   logos) in a <figure class="wp-block-image">; reset its default margin
   in one place instead of repeating it per component. */
.page-hero .wp-block-image,
.breadcrumb__list .wp-block-image,
.company-list__image,
.why-choose .wp-block-image,
.get-in-touch .wp-block-image,
.site-footer .wp-block-image,
.site-header .wp-block-image {
	margin: 0;
}

/* Buttons block adapter: the Button block's "Additional CSS class" always
   lands on the outer .wp-block-button wrapper, so the pill styling that
   used to sit on a plain <a class="btn-outline"> is retargeted onto the
   inner .wp-block-button__link, which is the actual <a>. */
.wp-block-button.btn-outline,
.wp-block-button.btn-cta {
	display: inline-flex;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 999;
	background: transparent;
	transition: background-color .3s ease, box-shadow .3s ease;
	margin: 0;
}

.site-header:hover{
	background-color: #fff;

}
.site-header:hover .site-header__nav .wp-block-navigation-item__content{
	color: #333333;
}
.site-header__nav .wp-block-navigation-item__content:hover{
	color: var(--red) !important;
}

.site-header:hover .site-header__logo .site-header__logo-img--light{
	opacity: 0;
	transition: all 0.3s linear;
}

.site-header:hover .site-header__logo .site-header__logo-img--dark{
	opacity: 1;
	transition: all 0.3s linear;
}

.site-header.is-scrolled {
	background: #fff;
	box-shadow: 0 2px 16px rgba(0, 0, 0, .1);
	-webkit-backdrop-filter: blur(20px);
	backdrop-filter: blur(20px);
}

.site-header__inner {
	max-width: 1820px;
	width: 100%;
	margin: 0 auto !important;
	padding: 0 40px;
	height: 110px;
	box-sizing: border-box;
}

.site-header.is-scrolled .site-header__inner {
	height: 85px;
	padding-top: 16px;
	padding-bottom: 16px;
}

.site-header.is-scrolled .site-header__inner .site-header__logo-img--dark{
	transform: scale(.9);
}

.site-header .items-justified-right.site-header__nav{
	margin-left: auto;
	display: flex;
    flex-direction: row;
    gap: 46px;
}


.site-header .items-justified-right.site-header__nav > li.wp-block-navigation-item{
	height: 100px;
	cursor: pointer;
	text-transform: uppercase;
}

.site-header .items-justified-right.site-header__nav > li.wp-block-navigation-item:hover > .wp-block-navigation-item__content{
	color: var(--red) !important;
}

.site-header .items-justified-right.site-header__nav > li.wp-block-navigation-item:hover:after {
	position: absolute;
    bottom: 0;
    left: 50%;
    display: block;
    width: 100%;
    height: 2px;
    content: "";
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translate(-50%);
    background: -webkit-linear-gradient(right, transparent, #C40808, transparent);
    background: linear-gradient(to left, transparent, #C40808, transparent);
}

.site-header__logo {
	position: relative;
	z-index: 1001;
	display: block;
	width: 242px;
	height: 68px;
	flex-shrink: 0;
}

/* .site-header__logo-img is on the Image block's <figure>; the actual
   sizing/positioning has to target the <img> inside it. */
.site-header__logo-img {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	transition: opacity .3s ease;
}

.site-header__logo-img img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: left center;
}

.site-header__logo-img--dark {
	opacity: 0;
}

.site-header.is-scrolled .site-header__logo-img--light {
	opacity: 0;
}

.site-header.is-scrolled .site-header__logo-img--dark {
	opacity: 1;
}

/* Core Navigation block styling */
.site-header__nav {
	color: #fff;
}

.site-header.is-scrolled .site-header__nav {
	color: #333;
}

.wp-block-navigation > .wp-block-navigation-item:first-child > .wp-block-navigation-item__content > .wp-block-navigation-item__label {
  text-transform: uppercase;
}

.site-header__nav .wp-block-navigation-item > a.wp-block-navigation-item__content > span {
	font-size: 16px;
	font-weight: 400;
	font-family: "Helvetica Neue", Helvetica, "PingFang SC", Tahoma, Arial, sans-serif;
	color: currentColor;
	transition: color .3s ease;
	letter-spacing: -.3px;
}

.site-header__nav .wp-block-navigation-item__content:hover{
	color: var(--red) !important;
}

.site-header__nav .wp-block-navigation__submenu-icon {
	color: currentColor;
}

/* Top-level nav items have no visible dropdown caret in the design */
.site-header__nav > .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation__submenu-icon,
.site-header__nav > .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content > .wp-block-navigation__submenu-icon {
	display: none;
}

.site-header__nav .wp-block-navigation__submenu-container {
	background: #fff;
	border-radius: 6px;
	box-shadow: 0 14px 34px rgba(0, 0, 0, .14);
	padding: 14px 0;
	min-width: 260px;
}

.site-header__nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	color: #444 !important;
	text-transform: none;
	font-size: 14px;
	font-weight: 400;
	padding: 8px 22px;
	white-space: nowrap;
}

.site-header__nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
	color: var(--red) !important;
	background: #f7f9fb;
}

/* Mega-menu: top-level panel containing category items (Products / Solutions) */
.site-header__nav .wp-block-navigation__submenu-container:has(> .wp-block-navigation-item.has-child) {
	display: flex;
	align-items: stretch;
	padding: 0;
	min-width: 300px;
	overflow: visible;
	border-radius: 8px;
}

.site-header__nav .wp-block-navigation__submenu-container > .wp-block-navigation-item.has-child {
	width: 280px;
	flex-shrink: 0;
}

.site-header__nav .wp-block-navigation__submenu-container > .wp-block-navigation-item.has-child + .wp-block-navigation-item.has-child {
	border-top: none;
}

.site-header__nav .wp-block-navigation__submenu-container > .wp-block-navigation-item.has-child > .wp-block-navigation-item__content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	padding: 16px 20px;
	font-weight: 600;
	white-space: normal;
	color: #33445a !important;
	border-bottom: 1px solid rgba(0, 0, 0, .05);
}

.site-header__nav .wp-block-navigation__submenu-container > .wp-block-navigation-item.has-child .wp-block-navigation__submenu-icon svg {
	transform: rotate(-90deg);
	color: #99a6b8;
}

.site-header__nav .wp-block-navigation__submenu-container > .wp-block-navigation-item.has-child:hover,
.site-header__nav .wp-block-navigation__submenu-container > .wp-block-navigation-item.has-child:focus-within {
	background: #eef3f8;
}

.site-header__nav .wp-block-navigation__submenu-container > .wp-block-navigation-item.has-child:hover > .wp-block-navigation-item__content,
.site-header__nav .wp-block-navigation__submenu-container > .wp-block-navigation-item.has-child:focus-within > .wp-block-navigation-item__content {
	color: var(--blue-accent) !important;
	border-left: 3px solid var(--red);
	padding-left: 17px;
}

.site-header__nav .wp-block-navigation__submenu-container > .wp-block-navigation-item.has-child:hover .wp-block-navigation__submenu-icon svg,
.site-header__nav .wp-block-navigation__submenu-container > .wp-block-navigation-item.has-child:focus-within .wp-block-navigation__submenu-icon svg {
	color: var(--blue-accent);
}

/* Mega-menu: nested (right-hand) flyout panel with category's links */
.site-header__nav .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container {
	position: absolute !important;
	left: 100% !important;
	right: auto !important;
	top: -1px !important;
	background: #fff;
	box-shadow: 0 14px 34px rgba(0, 0, 0, .14);
	border-radius: 8px;
	padding: 30px 40px;
	width: 560px;
	display: grid;
	grid-template-columns: repeat(2, minmax(200px, 1fr));
	gap: 16px 48px;
	align-content: start;
}

.site-header__nav .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: 0;
	font-weight: 600;
	font-size: 14px;
	white-space: normal;
	color: #33445a !important;
}

.site-header__nav .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
	color: var(--red) !important;
	background: none;
}

.wp-block-navigation-item.has-child .wp-block-navigation__submenu-container{
	padding: 35px 0;
}

.wp-block-navigation .has-child .wp-block-navigation__submenu-container>.wp-block-navigation-item>.wp-block-navigation-item__content{
	padding-left: 15px;
	margin: 0 26px;
	background: transparent;
	text-transform: none;
}

.wp-block-navigation .has-child .wp-block-navigation__submenu-container>.wp-block-navigation-item>.wp-block-navigation-item__content:hover{
	padding-left: 12px;
	border-left: 3px solid #c40808;
}

.site-header__other {
	position: relative;
	z-index: 1001;
	display: flex;
	align-items: center;
	gap: 30px;
	margin-left: 40px !important;
	color: #fff;
	transition: color .3s ease;
}

.site-header.is-scrolled .site-header__other {
	color: #333;
}

.site-header__icon-btn {
	background: none;
	border: none;
	padding: 0;
	color: inherit;
	cursor: pointer;
	display: flex;
}

.site-header__icon-btn svg,
.site-header__lang svg{
	width: 23px;
	height: 23px;
	position: relative;
}

.site-header__lang::after{
	position: relative;
	display: block;
	content:"";
    width: 6px;
    height: 6px;
    background: #fff;
	top: 7px;
    -webkit-clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    -webkit-transform: rotate(180deg) translateY(6px);
    -ms-transform: rotate(180deg) translateY(6px);
    transform: rotate(180deg) translateY(6px);
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
}

.site-header__lang {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	cursor: pointer;
}

.site-header__burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	width: 23px;
	height: 20px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
}

.site-header__burger span {
	display: block;
	height: 2px;
	border-radius: 1px;
	background: currentColor;
	transition: all .4s ease;
}

.site-header__burger span:nth-child(1),
.site-header__burger span:nth-child(2) {
	width: 23px;
	margin-bottom: 5px;
}

.site-header__burger span:nth-child(3) {
	width: 18px;
}

.site-header__burger.is-active span:nth-child(1) {
	opacity: 0;
	visibility: hidden;
}

.site-header__burger.is-active span:nth-child(2) {
	transform: rotate(45deg);
}

.site-header__burger.is-active span:nth-child(3) {
	width: 23px;
	transform: rotate(-45deg) translate(5px, -5px);
}

/* The 6-item mega-menu plus logo/icons no longer fits on one line at tablet
   width, so the burger/slide-panel nav (otherwise a <769px mobile pattern)
   also takes over for the 769–1024px tablet band. Pure sizing (header
   height, logo, icons) still follows the dedicated mobile/tablet bands
   below and further down in this file. */
@media (max-width: 1024px) {
	nav.site-header__nav {
		position: fixed !important;
		top: 0 !important;
		left: auto !important;
		right: -100% !important;
		width: min(78vw, 360px) !important;
		height: 100vh !important;
		margin: 0 !important;
		background: #fff !important;
		padding: 100px 30px 30px !important;
		transition: right .35s ease !important;
		overflow-x: hidden !important;
		overflow-y: auto !important;
		color: #222;
		z-index: 998;
	}

	nav.site-header__nav.is-menu-open {
		right: 0 !important;
		box-shadow: -10px 0 30px rgba(0, 0, 0, .15);
	}

	nav.site-header__nav .wp-block-navigation__container {
		display: flex !important;
		flex-direction: column !important;
		flex-wrap: nowrap !important;
		align-items: flex-start !important;
		justify-content: flex-start !important;
		position: static !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	nav.site-header__nav .wp-block-navigation-item {
		width: 100% !important;
		max-width: 100%;
	}

	nav.site-header__nav .wp-block-navigation__submenu-container {
		position: static !important;
		box-shadow: none !important;
		min-width: 0 !important;
		width: 100% !important;
		padding: 4px 0 4px 14px !important;
	}

	nav.site-header__nav .wp-block-navigation-item__content {
		color: #222 !important;
		width: 100%;
		padding: 12px 4px;
		border-bottom: 1px solid #f0f0f0;
	}

	.site-header__burger {
		display: flex;
	}
}

@media (max-width: 768px) {
	.site-header {
		height: 60px;
	}

	.site-header__inner {
		height: 60px;
		padding: 0 20px;
	}

	.site-header.is-scrolled .site-header__inner {
		height: 60px;
		padding-top: 0;
		padding-bottom: 0;
	}

	.site-header__logo {
		width: 142px;
		height: 40px;
	}

	.site-header__other {
		gap: 16px;
		margin-left: 16px;
	}

	.site-header__lang {
		font-size: 22px;
	}
}

/* ==========================================================================
   Let's Connect floating tab
   ========================================================================== */

.lets-connect {
	position: fixed;
	right: 0;
	top: 55%;
	transform: translateY(-50%);
	z-index: 900;
	display: flex;
}

.lets-connect__btn a {
	display: block;
	background: var(--red);
	color: #fff;
	font-weight: 700;
	font-size: 14px;
	line-height: 1.3;
	padding: 14px;
	border-radius: 6px 0 0 6px;
	box-shadow: 0 0 8px rgba(0, 0, 0, .3);
}

.lets-connect__panel {
	background: #fff;
	width: 300px;
	padding: 6px 18px 10px;
	margin-right: -300px;
	transition: margin-right .3s ease;
	box-shadow: 0 0 18px rgba(0, 0, 0, .12);
}

.lets-connect:hover .lets-connect__panel {
	margin-right: 0;
}

.lets-connect__item {
	padding: 14px 0;
	border-bottom: 1px solid rgba(238, 238, 238, .8);
}

.lets-connect__item:last-child {
	border-bottom: 0;
}

.lets-connect__title {
	font-weight: 700;
	font-size: 14px;
	color: #000;
	margin-bottom: 4px;
}

.lets-connect__intro {
	font-size: 13px;
	color: #12151d;
	margin-bottom: 6px;
}

.lets-connect__intro a {
	color: inherit;
}

.lets-connect__more {
	font-weight: 700;
	font-size: 13px;
	color: var(--red);
}

@media (max-width: 768px) {
	.lets-connect__btn a {
		width: 38px;
		height: 114px;
		padding: 15px;
		font-size: 14px;
		border-radius: 5px 0 0 5px;
		box-shadow: 0 0 7px rgba(0, 0, 0, .3);
		display: flex;
		align-items: center;
		justify-content: center;
		position: relative;
	}

	.lets-connect__btn a span {
		position: absolute;
		display: inline-block;
		transform: rotate(-90deg);
		white-space: nowrap;
	}

	.lets-connect__btn a br {
		display: none;
	}

	.lets-connect__panel {
		display: none;
	}
}

/* ==========================================================================
   Page hero / detail banner
   ========================================================================== */

.page-hero {
	position: relative;
	overflow: hidden;
	margin-top: 0;
}

/* .page-hero__image is now the <picture> root of the estone/responsive-image
   block; size the actual rendered <img> inside it via aspect-ratio instead
   of vw so it never depends on viewport width directly. */
.page-hero__image {
	display: block;
	width: 100%;
}

.page-hero__image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 2.15 / 1;
	min-height: 420px;
	max-height: 780px;
	object-fit: cover;
}

.page-hero__content {
	position: absolute;
	left: 0;
	top: 34%;
	width: 100%;
}

.page-hero__title {
	font-weight: 700;
	font-size: clamp(34px, 3.6vw, 70px);
	color: #fff;
	line-height: 1.15;
	margin: 0;
}

.breadcrumb {
	position: relative;
	z-index: 2;
	margin-top: -70px;
	padding: 22px 0;
}

.breadcrumb__list {
	display: flex;
	align-items: center;
	gap: 8px;
}

.breadcrumb__list img {
	width: 14px;
	height: 14px;
}

.breadcrumb__list a,
.breadcrumb__list span {
	font-size: 13px;
	color: rgba(255, 255, 255, .7);
}

.breadcrumb__list span {
	color: #fff;
	font-weight: 600;
}

.breadcrumb__sep {
	color: rgba(255, 255, 255, .5);
	font-size: 10px;
}

@media (max-width: 768px) {
	.page-hero__image img {
		aspect-ratio: 1.2 / 1;
		min-height: 0;
		max-height: none;
	}

	.page-hero__title {
		font-size: 24px;
		line-height: 28px;
		margin-bottom: 12px;
	}

	.breadcrumb {
		display: none;
	}
}

/* ==========================================================================
   Company list (About / News / Partners / Careers)
   ========================================================================== */

.company-list {
	padding: 100px 0 0;
}

.company-list__item {
	display: flex;
	align-items: center;
	gap: 0;
	padding: 64px 0;
	border-bottom: 1px solid var(--line);
}

.company-list__item:first-child {
	padding-top: 0;
}

.company-list__item:last-child {
	border-bottom: 0;
}

.company-list__item--reverse,
.company-list__item.is-style-reversed {
	flex-direction: row-reverse;
}

.company-list__image {
	width: 43%;
	flex-shrink: 0;
	overflow: hidden;
	border-radius: 4px;
}

.company-list__image img {
	width: 100%;
	height: 380px;
	object-fit: cover;
}

.company-list__content {
	flex: 1;
	padding: 0 80px;
}

.company-list__item--reverse .company-list__content,
.company-list__item.is-style-reversed .company-list__content {
	padding: 0 0 0 90px;
}

.company-list__item:not(.company-list__item--reverse):not(.is-style-reversed) .company-list__content {
	padding: 0 130px 0 90px;
}

.company-list__title {
	font-weight: 700;
	font-size: clamp(22px, 1.8vw, 34px);
	color: var(--ink);
	margin: 0 0 16px;
	font-family: "Helvetica Neue", Helvetica, "PingFang SC", Tahoma, Arial, sans-serif;
}

.company-list__intro {
	font-weight: 300;
	font-size: 18px;
	line-height: 1.6;
	color: var(--body-text);
	margin: 0 0 40px;
	max-width: 56ch;
	font-family: "Helvetica Neue", Helvetica, "PingFang SC", Tahoma, Arial, sans-serif;
}

.wp-block-button.btn-outline .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	height: 46px;
	padding: 0 26px;
	border-radius: 24px;
	border: 1px solid rgba(57, 67, 71, .5);
	background: none;
	font-size: 13px;
	font-weight: 700;
	color: #394347;
	transition: all .3s ease;
}

.wp-block-button.btn-outline .wp-block-button__link:hover {
	color: #fff;
	background: var(--red);
	border-color: var(--red);
}

@media (max-width: 768px) {
	.company-list {
		padding: 40px 0;
	}

	.company-list__item,
	.company-list__item--reverse,
	.company-list__item.is-style-reversed {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 30px 0;
	}

	.company-list__image {
		width: 100%;
	}

	.company-list__image img {
		height: auto;
		aspect-ratio: 16 / 9;
	}

	.company-list__content,
	.company-list__item--reverse .company-list__content,
	.company-list__item.is-style-reversed .company-list__content,
	.company-list__item:not(.company-list__item--reverse):not(.is-style-reversed) .company-list__content {
		padding: 23px 0 0;
	}

	.company-list__title {
		font-size: 18px;
		margin-bottom: 12px;
	}

	.company-list__intro {
		font-size: 14px;
		line-height: 24px;
		margin-bottom: 12px;
	}

	.wp-block-button.btn-outline .wp-block-button__link {
		gap: 12px;
		width: 153px;
		height: 42px;
		padding: 0 20px;
	}
}

/* ==========================================================================
   Why Choose Estone Technology
   ========================================================================== */

.why-choose {
	position: relative;
	padding: 90px 0;
	margin-top: 40px;
}

.why-choose__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.why-choose__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.why-choose__head {
	text-align: center;
	max-width: 1100px;
	margin: 0 auto 46px;
}

.why-choose__title {
	font-weight: 700;
	font-size: clamp(24px, 2.1vw, 40px);
	color: var(--ink);
	margin: 0 0 12px;
}

.why-choose__intro {
	font-size: 16px;
	font-weight: 300;
	line-height: 1.6;
	color: var(--ink);
	margin: 0;
}

.why-choose__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

.why-choose__card {
	display: flex;
	align-items: center;
	gap: 30px;
	min-height: 220px;
	padding: 30px 42px 30px 54px;
	background: linear-gradient(0deg, #f0fafe, #fff);
}

.why-choose__card-icon {
	min-width: 78px;
}

.why-choose__card-icon img {
	width: 78px;
	height: 78px;
}

.why-choose__card-title {
	font-weight: 700;
	font-size: 22px;
	color: var(--navy);
	line-height: 1.3;
	margin: 0 0 14px;
}

/* .why-choose__card-line is now a core/separator <hr>; strip its default
   border/opacity treatment and reuse it purely as the thin brand rule. */
.wp-block-separator.why-choose__card-line {
	border: none;
	width: 30px;
	height: 2px;
	background-color: var(--blue-accent);
	opacity: 1;
	margin: 0 0 16px;
}

.why-choose__card-intro {
	font-weight: 300;
	font-size: 15px;
	line-height: 1.5;
	color: var(--muted);
	margin: 0;
}

@media (max-width: 768px) {
	.why-choose {
		padding: 40px 0;
		margin-top: 0;
	}

	.why-choose__head {
		margin-bottom: 20px;
	}

	.why-choose__title {
		font-size: 24px;
		line-height: 28px;
		margin-bottom: 8px;
	}

	.why-choose__intro {
		font-size: 14px;
		line-height: 24px;
	}

	.why-choose__grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.why-choose__card {
		flex-direction: row;
		align-items: center;
		min-height: auto;
		gap: 10px;
		padding: 16px 20px;
	}

	.why-choose__card-icon img {
		width: 42px;
		height: 42px;
	}

	.why-choose__card-title {
		font-size: 18px;
		line-height: 24px;
		margin-bottom: 12px;
	}

	.wp-block-separator.why-choose__card-line {
		width: 26px;
		margin-bottom: 12px;
	}

	.why-choose__card-intro {
		font-size: 14px;
		line-height: 24px;
	}
}

/* ==========================================================================
   Get in touch CTA
   ========================================================================== */

.get-in-touch {
	position: relative;
	z-index: 99;
	margin-top: 70px;
	padding: 0 0 40px;
}

.get-in-touch__main {
	position: relative;
	overflow: hidden;
	border-radius: 6px;
	padding: 70px 34% 70px 90px;
	min-height: 340px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.get-in-touch__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--navy);
}

.get-in-touch__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.get-in-touch__title {
	font-weight: 700;
	font-size: clamp(24px, 2.1vw, 38px);
	color: #fff;
	margin: 0 0 12px;
	line-height: 1.2;
}

.get-in-touch__intro {
	font-weight: 300;
	font-size: 16px;
	line-height: 1.6;
	color: #fff;
	margin: 0 0 34px;
	max-width: 100%;
}

.wp-block-button.btn-cta .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	min-width: 240px;
	max-width: 390px;
	height: 54px;
	padding: 0 28px;
	border: 1px solid rgba(255, 255, 255, .5);
	border-radius: 28px;
	background: none;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	transition: all .3s ease;
}

.wp-block-button.btn-cta .wp-block-button__link:hover {
	background: var(--red);
	border-color: var(--red);
}

@media (max-width: 768px) {
	.get-in-touch {
		margin-top: 30px;
	}

	.get-in-touch__main {
		padding: 30px 20px 20px;
		min-height: auto;
		border-radius: 4px;
	}

	.get-in-touch__title {
		font-size: 22px;
		line-height: 30px;
		margin-bottom: 10px;
	}

	.get-in-touch__intro {
		font-size: 14px;
		line-height: 24px;
		margin-bottom: 20px;
	}

	.wp-block-button.btn-cta .wp-block-button__link {
		min-width: 153px;
		height: 42px;
		font-size: 13px;
		padding: 0 20px;
		gap: 16px;
	}
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
	position: relative;
	overflow: hidden;
	margin-top: -250px;
	padding: 180px 0 30px;
	color: #fff;
}

.site-footer__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--navy);
}

.site-footer__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.site-footer__inner {
	max-width: 1700px;
	margin: 0 auto;
	padding: 0 40px;
}

.site-footer__head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 30px;
	padding-bottom: 34px;
	margin-bottom: 40px;
	border-bottom: 1px solid rgba(231, 232, 234, .2);
	flex-wrap: wrap;
}

.site-footer__logo img {
	width: 220px;
	height: auto;
}

.footer-subscribe {
	width: 100%;
	max-width: 460px;
}

.footer-subscribe__label {
	font-size: 15px;
	margin-bottom: 6px;
}

.footer-subscribe__form {
	position: relative;
}

.footer-subscribe__form input {
	display: block;
	width: 100%;
	height: 44px;
	background: none;
	border: none;
	border-bottom: 1px solid rgba(255, 255, 255, .5);
	color: #fff;
	font-size: 14px;
	padding: 10px 30px 10px 0;
}

.footer-subscribe__form input::placeholder {
	color: rgba(255, 255, 255, .5);
}

.footer-subscribe__form button {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%) rotate(-45deg);
	background: none;
	border: none;
	color: #fff;
	cursor: pointer;
}

.footer-subscribe__legal {
	font-size: 12px;
	line-height: 1.6;
	color: rgba(255, 255, 255, .5);
	margin: 12px 0 0;
}

.footer-subscribe__legal a {
	color: rgba(255, 255, 255, .8);
}

.site-footer__main {
	display: flex;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: 60px;
	flex-wrap: wrap;
}

.site-footer__contact {
	width: 280px;
	flex-shrink: 0;
}

.footer-contact-item {
	margin-bottom: 18px;
}

.footer-contact-item__title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 4px;
}

.footer-contact-item__title img {
	width: 15px;
	height: 15px;
}

.footer-contact-item__title span {
	font-size: 15px;
	font-weight: 700;
}

.footer-contact-item a {
	font-size: 14px;
	color: rgba(255, 255, 255, .6);
	line-height: 1.5;
}

.footer-share {
	display: flex;
	gap: 10px;
	margin-top: 18px;
}

.footer-share a {
	width: 42px;
	height: 42px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	border: 1px solid rgba(227, 228, 230, .4);
	transition: background .3s ease;
}

.footer-share a:hover {
	background: rgba(255, 255, 255, .15);
}

.footer-share img {
	width: 20px;
	height: 20px;
}

.site-footer__cols {
	display: flex;
	flex: 1;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

.footer-col {
	min-width: 140px;
}

.footer-col__title {
	font-size: 15px;
	font-weight: 700;
	color: #fff;
	margin-bottom: 10px;
}

.footer-col__nav .wp-block-navigation__container {
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
}

.footer-col__nav .wp-block-navigation-item {
	margin-bottom: 10px;
}

.footer-col__nav .wp-block-navigation-item__content {
	font-size: 13px;
	color: rgba(255, 255, 255, .6);
	line-height: 1.4;
	padding: 0;
}

.footer-col__nav .wp-block-navigation-item__content:hover {
	color: rgba(255, 255, 255, .9);
}

.footer-col__nav .wp-block-navigation__submenu-container {
	display: none;
}

.footer-col__nav .wp-block-navigation__responsive-container-open,
.footer-col__nav .wp-block-navigation__responsive-container-close {
	display: none !important;
}

.footer-col__nav .wp-block-navigation__responsive-container {
	position: static !important;
	inset: auto !important;
	background: none !important;
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
	width: auto !important;
	height: auto !important;
	padding: 0 !important;
}

.site-footer__bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

.site-footer__copyright {
	font-weight: 600;
	font-size: 12px;
	color: rgba(255, 255, 255, .5);
}

.site-footer__certs {
	display: flex;
	align-items: center;
	gap: 10px;
}

.site-footer__certs img {
	width: 52px;
	height: 52px;
}

.site-footer__contact-btn {
	display: block;
	padding: 0 20px;
	height: 40px;
	line-height: 40px;
	background: var(--red);
	border-radius: 20px;
	color: #fff;
	font-size: 13px;
	margin-left: 10px;
}

@media (max-width: 768px) {
	.site-footer {
		margin-top: 0;
		padding: 35px 0 20px;
	}

	.site-footer__head {
		flex-direction: column;
		padding-bottom: 28px;
		margin-bottom: 20px;
	}

	.site-footer__logo {
		display: none;
	}

	.footer-subscribe__label,
	.footer-subscribe__legal {
		display: none;
	}

	.footer-subscribe__form input {
		height: 42px;
		font-size: 13px;
		color: #333;
		background: #fff;
		border: 0;
		border-radius: 30px;
		padding: 0 55px 0 15px;
	}

	.footer-subscribe__form input::placeholder {
		color: #333;
	}

	.footer-subscribe__form button {
		right: 18px;
		color: var(--blue-accent);
	}

	.site-footer__main {
		flex-direction: column;
		margin-bottom: 10px;
	}

	.footer-contact-item {
		display: none;
	}

	.footer-share a {
		width: 39px;
		height: 39px;
	}

	.site-footer__cols {
		display: none;
	}

	.site-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
	}

	.site-footer__copyright {
		font-size: 12px;
	}

	.site-footer__certs {
		display: none;
	}
}

/* ==========================================================================
   Tablet (769px–1024px)
   Desktop styles above cover >1024px unchanged; this band tightens spacing
   and sizing for the narrower tablet width without touching mobile (<769px)
   rules, which live in their own @media blocks next to each component above.
   ========================================================================== */

@media (min-width: 769px) and (max-width: 1024px) {
	/* Header */
	.site-header__inner {
		padding: 0 24px;
		height: 90px;
	}

	.site-header.is-scrolled .site-header__inner {
		height: 76px;
	}

	.site-header__logo {
		width: 190px;
		height: 54px;
	}

	.site-header .items-justified-right.site-header__nav {
		gap: 22px;
	}

	/* Page hero */
	.page-hero__image img {
		min-height: 320px;
	}

	/* Company list */
	.company-list {
		padding: 60px 0 0;
	}

	.company-list__item {
		padding: 40px 0;
	}

	.company-list__content {
		flex: 1;
	}

	.company-list__item--reverse .company-list__content,
	.company-list__item.is-style-reversed .company-list__content {
		padding: 0 0 0 40px;
	}

	.company-list__item:not(.company-list__item--reverse):not(.is-style-reversed) .company-list__content {
		padding: 0 40px;
	}

	.company-list__title {
		font-size: 26px;
	}

	.company-list__intro {
		font-size: 16px;
		margin-bottom: 24px;
	}

	/* Why choose */
	.why-choose {
		padding: 60px 0;
		margin-top: 20px;
	}

	.why-choose__grid {
		gap: 14px;
	}

	.why-choose__card {
		padding: 24px 28px;
		gap: 20px;
	}

	/* Get in touch */
	.get-in-touch__main {
		padding: 50px 20% 50px 50px;
	}

	/* Footer */
	.site-footer {
		padding: 110px 0 30px;
	}

	.site-footer__cols {
		gap: 16px;
	}

	.footer-col {
		min-width: 120px;
	}
}

/* ==========================================================================
   Simple stub pages (About / News / Partners / Join / Contact)
   ========================================================================== */

.stub-page {
	padding: 90px 0 120px;
	max-width: 900px;
	margin: 0 auto;
}

.stub-page h1 {
	font-size: clamp(28px, 3vw, 44px);
	color: var(--ink);
	margin-bottom: 18px;
}

.stub-page p {
	font-size: 16px;
	line-height: 1.7;
	color: var(--body-text);
}
