/* Source: main.css */
/* ==========================================================================
   Zeekr theme

   Contents
   01. Foundations and shared controls
   02. Header, navigation and menus
   03. Homepage sections
   04. Model archive and single-model base
   05. Model configurator
   06. Editorial sections and Gutenberg patterns
   07. Footer
   08. Custom block refinements
   ========================================================================== */

/* ==========================================================================
   01. Foundations and shared controls
   ========================================================================== */
:root {
	--black: #0d0c0c;
	--dark: #24292b;
	--white: #ffffff;
	--cream: #fff4e2;
	--orange: #ff5841;
	--orange-light: #ff7a62;
	--gray-100: #fafafa;
	--gray-200: #f5f5f5;
	--gray-300: #f0f0f0;
	--gray-400: #ebebeb;
	--gray-500: #bdbfbf;
	--gray-600: #b2b2b2;
	--gray-700: #939393;
	--header-h: 76px;
	--maxw: 1320px;
	--font-head: "Onest", "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--font-text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: var(--header-h);
}

body {
	margin: 0;
	/* Full-bleed sections are 100vw, which includes the scrollbar gutter and
	 * can poke a few px past the real width. `clip` (not `hidden`) cuts that
	 * off without creating a scroll container, so position:sticky keeps
	 * working and the page can never scroll sideways to "hidden" slides. */
	overflow-x: clip;
	font-family: var(--font-text);
	color: var(--black);
	background: var(--white);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

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

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

h1,
h2,
h3 {
	font-family: var(--font-head);
	font-weight: 600;
	letter-spacing: -0.01em;
	margin: 0;
}
.h3 {
	font-size: 28px;
}

@media screen and (min-width: 992px) {
	.h3 {
		font-size: 48px;
	}
}

.container {
	width: 100%;
	max-width: var(--maxw);
	margin-inline: auto;
	padding-inline: 24px;
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 32px;
	border-radius: 999px;
	font-family: var(--font-head);
	font-size: 15px;
	letter-spacing: 0.01em;
	cursor: pointer;
	border: 1px solid transparent;
	transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
	transform: translateY(-1px);
}

.btn--light {
	background: var(--white);
	color: var(--black);
}

.btn--light:hover {
	background: var(--cream);
}

.btn--dark {
	background: var(--black);
	color: var(--white);
}

.btn--dark:hover {
	background: var(--dark);
}

.btn--ghost {
	background: transparent;
	color: var(--black);
	border-color: var(--gray-500);
}

.btn--ghost:hover {
	border-color: var(--black);
}

.btn--accent {
	background: var(--orange);
	color: var(--white);
}

.btn--accent:hover {
	background: var(--orange-light);
}

.link-arrow {
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 14px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.link-arrow::after {
	content: "\2192";
	transition: transform 0.2s ease;
}

.link-arrow:hover::after {
	transform: translateX(4px);
}

/* ==========================================================================
   02. Header, navigation and menus
   ========================================================================== */
.site-header {
	position: fixed;
	inset: 0 0 auto 0;
	height: 76px;
	z-index: 100;
	color: var(--white);
	transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

/* The header bar spans the full viewport (like zeekr.eu), with edge padding
 * instead of the content container. */
.site-header__inner {
	max-width: none;
	height: 100%;
	padding-inline: 32px;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 24px;
}

@media (max-width: 768px) {
	.site-header__inner {
		padding-inline: 24px;
	}
}

.site-header__logo,
.site-footer__logo {
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 22px;
	letter-spacing: 0.22em;
}

.site-nav {
	justify-self: start;
}

.site-header__brand {
	justify-self: center;
}

.site-header__actions {
	justify-self: end;
	display: flex;
	align-items: center;
	gap: 18px;
}

.nav-menu {
	list-style: none;
	display: flex;
	align-items: stretch;
	height: 100%;
	gap: 28px;
	margin: 0;
	padding: 0;
}

.nav-menu .menu-item {
	position: relative;
	display: flex;
	align-items: center;
}

.nav-menu a,
.nav-menu .menu-item__trigger {
	font-family: var(--font-head);
	font-weight: 500;
	font-size: 15px;
	opacity: 0.92;
	transition: opacity 0.2s ease;
}

.nav-menu a:hover,
.nav-menu .menu-item__trigger:hover {
	opacity: 1;
}

.menu-item__trigger {
	appearance: none;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
}

/* ---------- Models mega menu ---------- */
.menu-item--models {
	position: static; /* let the panel span the header width */
}

.mega {
	position: fixed;
	top: var(--header-h);
	left: 0;
	right: 0;
	width: 100vw;
	background: var(--white);
	color: var(--black);
	box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
	opacity: 0;
	visibility: hidden;
	clip-path: inset(0 0 100% 0);
	transition: clip-path 0.42s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.3s ease, visibility 0.42s;
}

.menu-item--models:hover .mega,
.menu-item--models:focus-within .mega {
	opacity: 1;
	visibility: visible;
	clip-path: inset(0 0 0 0);
}

.mega__inner {
	max-width: var(--maxw);
	margin-inline: auto;
	padding: 48px 24px 56px;
	display: grid;
	grid-template-columns: minmax(180px, 1fr) 4fr;
	gap: 40px;
	align-items: end;
}

.mega__intro {
	align-self: end;
}

.mega__heading {
	font-size: clamp(26px, 2.4vw, 38px);
	margin: 0 0 8px;
}

.mega__sub {
	margin: 0;
	color: var(--gray-700);
	font-size: 14px;
	max-width: 22ch;
}

.mega__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 36px 28px;
}

.mega__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.mega__media {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 8;
	overflow: hidden;
}

.mega__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform 0.3s ease;
}

.mega__item:hover .mega__media img {
	transform: scale(1.04);
}

.mega__name {
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 17px;
}

.mega__links {
	display: inline-flex;
	gap: 22px;
}

.mega__links a {
	font-size: 14px;
	color: var(--gray-700);
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color 0.2s ease;
}

.mega__links a:hover {
	color: var(--black);
}

/* Left cluster: logo mark + primary nav */
.site-header__left {
	display: flex;
	align-items: center;
	gap: 28px;
	justify-self: start;
	min-width: 0;
}

.site-header__mark {
	display: inline-flex;
}

.site-header__mark svg {
	display: block;
	width: 30px;
	height: 30px;
}

svg.site-header__logo {
	display: block;
}

/* Right-side actions menu (admin-managed, location "actions") */
.actions-menu {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 18px;
	margin: 0;
	padding: 0;
}

.actions-menu a {
	font-family: var(--font-head);
	font-weight: 500;
	font-size: 15px;
	opacity: 0.92;
	transition: opacity 0.2s ease;
	white-space: nowrap;
}

.actions-menu a:hover {
	opacity: 1;
}

/* Scrolled / solid header — also while the models mega menu is open, so the
 * bar above the white panel never stays transparent over the hero. */
.site-header.is-solid,
.site-header:has(.menu-item--models:hover),
.site-header:has(.menu-item--models:focus-within) {
	background: var(--white);
	color: var(--black);
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

/* Mobile toggle */
.nav-toggle {
	display: none;
	width: 28px;
	height: 28px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	color: inherit;
	place-items: center;
}

.nav-toggle svg {
	display: block;
}

/* ---------- Mobile fullscreen menu ---------- */
.mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 300;
	background: var(--white);
	color: var(--black);
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	/* Fades in/out (like zeekr.eu): JS unhides, then toggles .is-open. */
	opacity: 0;
	transition: opacity 0.3s ease;
}

.mobile-menu.is-open {
	opacity: 1;
}

.mobile-menu[hidden] {
	display: none;
}

.mobile-menu__top {
	display: flex;
	justify-content: flex-end;
	padding: 20px 24px 8px;
}

.mobile-menu__close {
	border: 0;
	background: none;
	padding: 8px;
	cursor: pointer;
	color: inherit;
	display: grid;
	place-items: center;
}

.mm-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Top-level items only — the mega content inside keeps its own styles. */
.mm-list > .menu-item > a,
.mm-list > .menu-item > .menu-item__trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	padding: 17px 24px;
	font-size: 18px;
	line-height: 1.2;
	color: inherit;
	text-align: left;
}

/* The +/− toggle (injected by JS on items with children). */

.zk-facts .facts-panel__title span {
	display: none;
}
.mm-plus {
	position: relative;
	width: 24px;
	height: 24px;
	flex-shrink: 0;
}

.mm-plus::before,
.mm-plus::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 22px;
	height: 1.6px;
	background: currentColor;
	transform: translate(-50%, -50%);
}

.mm-plus::after {
	transform: translate(-50%, -50%) rotate(90deg);
	transition: opacity 0.2s ease;
}

.mm-list > .menu-item.is-open > a .mm-plus::after,
.mm-list > .menu-item.is-open > .menu-item__trigger .mm-plus::after {
	opacity: 0;
}

/* Expanded item: beige band spanning the full menu width. */
.mm-list > .menu-item.is-open {
	background: #ebe8e3;
}

/* The models mega panel becomes an inline accordion body. Collapse animation
 * via the grid 0fr→1fr trick: works for any content height, pure CSS. */
.mobile-menu .mega {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.35s ease;
	position: static;
	width: auto;
	opacity: 1;
	visibility: visible;
	transform: none;
	clip-path: none;
	box-shadow: none;
	background: transparent;
	padding: 0 24px;
}

.mm-list > .menu-item.is-open > .mega {
	grid-template-rows: 1fr;
}

.mobile-menu .mega__inner {
	display: block;
	min-height: 0;
	overflow: hidden;
	padding: 0;
}

.mobile-menu .mega__intro {
	display: none;
}

.mobile-menu .mega__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 30px 18px;
	list-style: none;
	margin: 0;
	/* Vertical breathing room lives INSIDE the clipped area, so the collapsed
	 * state folds to exactly zero height. */
	padding: 4px 0 30px;
}

.mobile-menu .mega__item {
	text-align: center;
}

.mobile-menu .mega__media img {
	width: 100%;
	height: auto;
}

.mobile-menu .mega__name {
	display: block;
	font-size: 17px;
	margin: 10px 0 8px;
}

.mobile-menu .mega__links {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 6px 12px;
}

.mobile-menu .mega__links a {
	font-size: 13px;
	color: var(--gray-700);
	text-decoration: underline;
	text-underline-offset: 3px;
	white-space: nowrap;
}

.mm-divider {
	border: 0;
	border-top: 1px solid var(--gray-300);
	margin: 14px 24px;
}

@media (min-width: 769px) {
	.mobile-menu {
		display: none !important;
	}
}

/* Shared mobile header behaviour. These rules belong to the site chrome and
 * must be available on every template, not only on model pages. */
@media (max-width: 768px) {
	:root {
		--header-h: 76px;
	}

	.nav-toggle {
		display: flex;
		color: inherit;
	}

	.actions-menu {
		display: none;
	}

	.site-header__left {
		gap: 16px;
	}

	.site-nav {
		display: none;
	}
}

@media (max-width: 520px) {
	.mega__grid {
		grid-template-columns: 1fr;
	}
}

/* Source: home.css */
/* ==========================================================================
   03. Homepage sections
   ========================================================================== */

/* ---------- Hero slider (featured models) ---------- */
.hero-slider {
	background: var(--black);
}

.hero-slider__swiper {
	width: 100%;
}

.hero-slider__slide {
	position: relative;
	min-height: 100vh;
	background-size: cover;
	background-position: center;
	color: var(--white);
}

.hero-slider__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 32%, rgba(0, 0, 0, 0) 62%, rgba(0, 0, 0, 0.35) 100%);
}

.hero-slider__inner {
	position: relative;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding-top: 150px;
	padding-bottom: 96px;
}

.hero-slider__head {
	flex: 0 0 auto;
}

.hero-slider__title {
	font-size: clamp(40px, 5.4vw, 76px);
	line-height: 1.02;
	margin: 0;
	font-weight: 500;
}

.hero-slider__sub {
	font-size: clamp(18px, 1.8vw, 26px);
	line-height: 1.25;
	margin: 16px 0 0;
	opacity: 0.95;
}

.hero-slider__cta {
	margin-top: auto;
	display: flex;
	justify-content: center;
	gap: 16px;
}

/* Progress bars — one per slide, centred at the bottom. The active bar
   fills over the slide's duration (driven by JS). */
.hero-slider__swiper .hero-slider__progress {
	position: absolute;
	left: 50%;
	bottom: 40px;
	top: auto;
	transform: translateX(-50%);
	width: auto;
	display: flex;
	gap: 10px;
	z-index: 5;
}

.hero-slider__bar {
	display: block;
	width: 46px;
	height: 3px;
	padding: 0;
	border: 0;
	border-radius: 3px;
	background: rgba(255, 255, 255, 0.3);
	overflow: hidden;
	cursor: pointer;
	position: relative;
}

.hero-slider__bar-fill {
	display: block;
	width: 100%;
	height: 100%;
	background: var(--white);
	border-radius: 3px;
	transform: scaleX(0);
	transform-origin: left center;
}

/* ---------- Intro / brand statement ---------- */
.intro {
	background-color: #F1EFEB;
	text-align: center;
}

.intro__inner {
	max-width: 760px;
	margin-inline: auto;
	padding: 120px 24px;
}

.intro__title {
	font-size: 48px;
	font-weight: 500;
	line-height: 1.1;
	margin: 0 0 28px;
}

.intro__text {
	font-size: 32px;
	line-height: 1.4;
	margin: 0 0 28px;
	color: var(--dark);
}

.intro__brand {
	font-size: clamp(22px, 2.4vw, 30px);
	font-weight: 500;
	margin: 0;
}

.intro__accent {
	color: var(--orange);
}

/* ---------- Model showcase (tabbed slider) ---------- */
.showcase {
	background: var(--white);
	padding: 72px 0 96px;
}

/* Centred wrapper that hugs the pill and anchors the scroll paddles. */
.showcase__tabsnav {
	position: relative;
	width: max-content;
	max-width: calc(100% - 48px);
	margin: 0 auto 44px;
}

.showcase__tabs {
	position: relative;
	display: flex;
	justify-content: flex-start;
	/* One row that scrolls horizontally when the tabs don't fit (instead of
	 * wrapping to a second line); the pill hugs its content when they do. */
	flex-wrap: nowrap;
	overflow-x: auto;
	scrollbar-width: none;
	gap: 4px;
	width: 100%;
	padding: 5px;
	background: var(--gray-300);
	border-radius: 999px;
}

/* Sliding active indicator: one white pill that glides between tabs (same
 * 0.5s timing as the slider) instead of the active state snapping on.
 * Positioned/sized by main.js. */
.showcase__tabs__pill {
	position: absolute;
	top: 5px;
	bottom: 5px;
	left: 0;
	width: 0;
	z-index: 0;
	border-radius: 999px;
	background: var(--white);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
	pointer-events: none;
	transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1),
		width 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* Scroll paddles: chevrons overlaid on the pill's edges, each fading the tabs
 * beneath it. Shown/hidden by main.js based on the scroll position. */
.showcase__paddle {
	position: absolute;
	top: -8px;
	bottom: 8px;
	width: 46px;
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
	border: 0;
	color: var(--black);
	cursor: pointer;
	z-index: 2;
}

.showcase__paddle svg {
	display: block;
	width: 8px;
	height: 14px;
}

.showcase__paddle--right {
	right: 0px;
	justify-content: flex-end;
	padding-right: 15px;
	border-radius: 0 999px 999px 0;
	background: linear-gradient(to right, rgba(240, 240, 240, 0), var(--gray-300) 60%);
}

.showcase__paddle--left {
	left: 0px;
	justify-content: flex-start;
	padding-left: 15px;
	border-radius: 999px 0 0 999px;
	background: linear-gradient(to left, rgba(240, 240, 240, 0), var(--gray-300) 60%);
}

.showcase__paddle[hidden] {
	display: none;
}

.showcase__tabs::-webkit-scrollbar {
	display: none;
}

.showcase__tab {
	position: relative;
	z-index: 1;
	border: 0;
	background: transparent;
	padding: 10px 22px;
	border-radius: 999px;
	font-family: var(--font-head);
	font-size: 15px;
	font-weight: 500;
	color: var(--gray-700);
	white-space: nowrap;
	cursor: pointer;
	transition: color 0.2s ease;
}

.showcase__tab:hover {
	color: var(--black);
}

.showcase__tab.is-active {
	color: var(--black);
}

.showcase__swiper {
	position: relative;
	max-width: calc(100% - 48px);
	margin-inline: auto;
	padding: 0 64px;
}

.showcase__slide {
	text-align: center;
}

.showcase__title {
	font-size: clamp(28px, 3.4vw, 44px);
	font-weight: 500;
	line-height: 1.1;
	margin: 0;
}

.showcase__sub {
	font-size: clamp(24px, 3vw, 40px);
	font-weight: 400;
	line-height: 1.1;
	margin: 4px 0 0;
}

.showcase__media {
	max-width: 1100px;
	margin: 28px auto 0;
}

.showcase__media img {
	display: block;
	width: 100%;
	height: auto;
}

.showcase__specs {
	list-style: none;
	margin: 0 0 40px;
	padding: 0;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: clamp(36px, 10vw, 150px);
}

.showcase__spec-value {
	display: block;
	font-family: var(--font-head);
	font-size: clamp(34px, 4vw, 56px);
	font-weight: 500;
	line-height: 1;
}

.showcase__spec-label {
	display: block;
	margin-top: 12px;
	font-size: 15px;
	color: var(--gray-700);
}

.showcase__cta {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 14px;
}

.showcase__swiper .swiper-button-prev,
.showcase__swiper .swiper-button-next {
	top: 50%;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	color: var(--black);
	background: var(--white);
	border: 0;
	box-shadow: none;
	transition: background 0.2s ease, opacity 0.2s ease;
}

.showcase__swiper .swiper-button-prev {
	left: 24px;
}

.showcase__swiper .swiper-button-next {
	right: 24px;
}

.showcase__swiper .swiper-button-prev:hover,
.showcase__swiper .swiper-button-next:hover {
	background: var(--gray-200);
}

.showcase__swiper .swiper-navigation-icon {
	width: 11px;
	height: 20px;
}

.showcase__swiper .swiper-button-disabled {
	opacity: 0.35;
	pointer-events: none;
}

@media (max-width: 768px) {
	.hero-slider__inner {
		padding-top: 120px;
		padding-bottom: 72px;
	}

	.hero-slider__cta {
		align-self: stretch;
	}

	.hero-slider__cta .btn {
		flex: 1;
	}

	.showcase__head {
		padding: 34px 16px;
	}

	.showcase__specs {
		flex-wrap: nowrap;
		justify-content: space-between;
		gap: 12px;
		text-align: left;
		padding: 40px 16px 0;
	}

	.showcase__specs li {
		flex: 1 1 0;
		min-width: 0;
	}

	.showcase__spec-value {
		font-size: 30px;
	}

	.showcase__spec-label {
		font-size: 12.5px;
		margin-top: 8px;
	}

	.showcase__cta {
		flex-direction: column;
	}

	.showcase__cta .btn {
		width: 100%;
	}
}

@media (max-width: 640px) {
	/* No side padding: the nav arrows are hidden here, and any padding lets the
	 * next slide peek through the overflow-clip at the padding-box edge. */
	.showcase__swiper {
		padding: 0;
	}

	.showcase__swiper .swiper-button-prev,
	.showcase__swiper .swiper-button-next {
		display: none;
	}
}

/* ---------- Section heads ---------- */
.section-head {
	padding: 80px 0 36px;
	margin-bottom: 48px;
	text-align: center;
}

.section-head__eyebrow {
	margin: 0 0 10px;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: 13px;
	font-weight: 600;
	color: var(--gray-700);
}

.section-head__title {
	margin: 0;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: clamp(28px, 4vw, 44px);
}

/* Source: services.css */
/* ---------- Services (zeekr/services block) ---------- */
.wp-block-zeekr-services {
	/* Stay full-width even when wrapped in a vertical flex group (which WP gives
	 * align-items:flex-start — that would otherwise shrink this to the slide
	 * image's intrinsic width and blow up the 21:9 stage). */
	width: 100%;
	align-self: stretch;
	padding: 60px 24px;
}

.svc__swiper {
	overflow: hidden;
	aspect-ratio: 3 / 1;
}

.svc__slide {
	height: 100%;
}

.svc__slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.svc__tabs {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 40px;
	margin-top: 44px;
}

.svc__tab {
	cursor: pointer;
	color: var(--gray-600);
	transition: color 0.25s ease;
}

.svc__bar {
	display: block;
	height: 2px;
	background: var(--gray-400);
	margin-bottom: 22px;
	transition: background 0.25s ease;
}

.svc__tab.is-active .svc__bar {
	background: var(--black);
}

.svc__title {
	font-size: 24px;
	font-weight: 500;
	margin: 0 0 14px;
	color: inherit;
}

.svc__text {
	font-size: 15.5px;
	line-height: 1.55;
	margin: 0 0 16px;
	color: inherit;
}

.svc__link {
	display: inline-block;
	font-size: 15px;
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.svc__tab.is-active {
	color: var(--black);
}

.svc__tab:focus-visible {
	outline: 2px solid var(--orange);
	outline-offset: 4px;
}

/* Cloned card image — shown only inside the mobile slider below. */
.svc__tab-media {
	display: none;
}

.media-showcase-inner {
	padding: 60px 16px;
}

.media-showcase-inner h3 {
	font-size: 28px;
}

.switchboard {
	padding: 42px 44px;
	text-align: center;
}

.switchboard .wp-block-group {
	align-items: center;
}

.switchboard .wp-block-group h3 {
	font-size: 20px;
}

.switchboard .wp-block-group p {
	font-size: 24px;
}

.switchboard img {
	display: none;
}

@media (min-width: 992px) {
	.media-showcase-inner {
		padding: 120px 142px;
	}

	.media-showcase-inner h3 {
		font-size: 32px;
	}

	.switchboard {
		padding: 120px 142px;
		text-align: left;
	}

	.switchboard .wp-block-group {
		align-items: start;
	}

	.switchboard .wp-block-group h3 {
		font-size: 24px;
	}

	.switchboard .wp-block-group p {
		font-size: 32px;
	}

	.switchboard img {
		display: block;
	}
}

/* Mobile: the services turn into a swipeable card strip. Each card is image +
 * divider + title + text + link; the current card is full-opacity while the
 * neighbours peek and dim. main.js clones each image into its tab and tracks
 * the current card with an IntersectionObserver (adds .is-current). */
@media (max-width: 768px) {
	.svc__swiper {
		display: none;
	}

	.svc__tabs {
		display: flex;
		flex-wrap: nowrap;
		gap: 16px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		/* Bleed to both viewport edges so neighbours peek on either side; the
		 * padding keeps the first/last card aligned to the section edge. */
		margin-inline: -24px;
		padding-inline: 24px;
	}

	.svc__tabs::-webkit-scrollbar {
		display: none;
	}

	.svc__tab {
		/* Slightly narrower than the viewport and centre-snapped, so a middle
		 * card sits centred with both neighbours peeking; the first/last card
		 * clamps to the edge (nothing to peek on the outer side). */
		flex: 0 0 100%;
		scroll-snap-align: center;
		color: var(--black);
		opacity: 0.4;
		transition: opacity 0.35s ease;
	}

	.svc__tab.is-current {
		opacity: 1;
	}

	.svc__bar {
		background: var(--black);
	}

	.svc__tab-media {
		display: block;
		margin: 0 0 24px;
	}

	.svc__tab-media img {
		display: block;
		width: 100%;
		aspect-ratio: 5 / 3;
		object-fit: cover;
	}
}

/* Reusable utility: add the class "zk-slider-cols" to any Columns block and it
 * turns into a mobile card slider — each column becomes a centre-snapped card,
 * the current one full-opacity and the peeking neighbours dimmed (like the
 * services block). main.js tracks the centred column (adds .is-current). The
 * doubled selectors out-specify core's stack-on-mobile rules. */
@media (max-width: 768px) {
	.zk-slider-cols.wp-block-columns {
		flex-wrap: nowrap !important;
		gap: 16px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		/* Bleed to both viewport edges so neighbours peek on either side. */
		margin-inline: -24px;
		padding-inline: 24px;
	}

	.zk-slider-cols.wp-block-columns::-webkit-scrollbar {
		display: none;
	}

	.zk-slider-cols.wp-block-columns > .wp-block-column.wp-block-column {
		flex: 0 0 100% !important;
		scroll-snap-align: center;
		opacity: 0.4;
		transition: opacity 0.35s ease;
	}

	.zk-slider-cols.wp-block-columns > .wp-block-column.is-current {
		opacity: 1;
	}

	/* Uniform landscape crop for the card images. */
	.zk-slider-cols > .wp-block-column img {
		width: 100%;
		aspect-ratio: 5 / 3;
		object-fit: cover;
	}

	/* Divider line between each card's image and its title. */
	.zk-slider-cols > .wp-block-column .wp-block-heading {
		margin-top: 4px;
		padding-top: 24px;
		border-top: 2px solid #fff4e2;
		width: 100%;
	}
}

/* Source: footer.css */
/* ==========================================================================
   07. Footer
   ========================================================================== */
.site-footer {
	background: var(--white);
	color: var(--black);
	border-top: 1px solid var(--gray-400);
}

/* Full-viewport width with edge padding, matching the header / zeekr.eu. */
.site-footer__inner {
	max-width: none;
	padding: 64px 32px 0;
}

.site-footer__top {
	display: grid;
	grid-template-columns: minmax(280px, 1.1fr) 2fr;
	gap: 48px 64px;
	padding-bottom: 64px;
}

.site-footer__mark {
	display: inline-flex;
	margin-bottom: 40px;
}

.site-footer__mark svg {
	width: 32px;
	height: 32px;
}

/* Contact block (admin-managed via the Customizer) */
.site-footer__contacts {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
}

.site-footer__phone {
	font-family: var(--font-head);
	font-weight: 600;
	font-size: clamp(20px, 2.2vw, 26px);
	transition: color 0.2s ease;
}

.site-footer__phone:hover,
.site-footer__email:hover {
	color: var(--orange);
}

.site-footer__hours,
.site-footer__requisites {
	margin: 0;
	font-size: 13px;
	line-height: 1.6;
	color: var(--gray-700);
}

.site-footer__address {
	margin: 0;
	font-size: 15px;
}

.site-footer__email {
	font-size: 15px;
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color 0.2s ease;
}

.site-footer__cols {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	align-content: start;
}

.site-footer__col-title {
	margin: 0 0 18px;
	font-family: var(--font-text);
	font-weight: 400;
	font-size: 14px;
	color: var(--gray-700);
}

.site-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.site-footer__list a {
	font-family: var(--font-head);
	font-weight: 500;
	font-size: 15px;
	transition: color 0.2s ease;
}

.site-footer__list a:hover {
	color: var(--orange);
}

/* Middle band: socials + copyright + legal | disclaimer */
.site-footer__mid {
	display: grid;
	grid-template-columns: 1fr minmax(320px, 46%);
	gap: 32px 64px;
	padding: 48px 0;
	border-top: 1px solid var(--gray-400);
}

.site-footer__social {
	list-style: none;
	display: flex;
	gap: 26px;
	margin: 0 0 28px;
	padding: 0;
}

.site-footer__social svg {
	display: block;
	width: 20px;
	height: 20px;
	transition: opacity 0.2s ease;
}

.site-footer__social a:hover svg {
	opacity: 0.6;
}

.site-footer__copyright {
	margin: 0 0 16px;
	font-size: 13px;
	color: var(--gray-700);
}

.site-footer__legal {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin: 0;
	padding: 0;
}

.site-footer__legal a {
	font-size: 13px;
	font-weight: 500;
	color: var(--black);
	transition: color 0.2s ease;
}

.site-footer__legal a:hover {
	color: var(--orange);
}

.site-footer__disclaimer {
	margin: 0;
	font-size: 13px;
	line-height: 1.6;
	color: var(--gray-700);
}

/* Bottom strip: site credit on the left, clear of the fixed to-top button
 * that floats in the bottom-right corner while the footer is on screen. */
.site-footer__bottomline {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	padding: 20px 0 24px;
	border-top: 1px solid var(--gray-400);
}

.site-footer__credit {
	margin: 0;
	font-size: 13px;
	color: var(--gray-700);
}

.site-footer__credit a {
	color: var(--black);
	font-weight: 600;
	text-underline-offset: 3px;
}

.site-footer__credit a:hover {
	color: var(--orange);
}

/* To-top: fixed to the viewport, shown only while the footer is on screen. */
.site-footer__totop {
	position: fixed;
	right: 28px;
	bottom: 28px;
	z-index: 90;
	width: 36px;
	height: 36px;
	display: grid;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: var(--black);
	color: var(--white);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background 0.2s ease;
}

.site-footer__totop.is-visible {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.site-footer__totop svg {
	width: 18px;
	height: 18px;
}

.site-footer__totop:hover {
	background: var(--dark);
}

@media (max-width: 900px) {
	.site-footer__top,
	.site-footer__mid {
		grid-template-columns: 1fr;
	}

	.site-footer__cols {
		grid-template-columns: 1fr;
		gap: 32px;
	}
}


