/* ==========================================================================
   King Koil KSA — main.css
   ========================================================================== */

/* --------------------------------------------------------------------------
   Fonts
   -------------------------------------------------------------------------- */
@font-face {
	font-family: 'Gotham';
	src: url('../fonts/GothamLight.ttf') format('truetype');
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Gotham';
	src: url('../fonts/GothamBook.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Gotham';
	src: url('../fonts/GothamMedium.ttf') format('truetype');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Gotham';
	src: url('../fonts/GothamBold.ttf') format('truetype');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Cairo';
	src: url('../fonts/cairo-arabic-400.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Cairo';
	src: url('../fonts/cairo-arabic-500.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Cairo';
	src: url('../fonts/cairo-arabic-600.woff2') format('woff2');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Cairo';
	src: url('../fonts/cairo-arabic-700.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */
:root {
	--navy: #104777;
	--navy-deep: #09285d;
	--grey-bg: #e2e2e2;
	--white: #ffffff;
	--black: #000000;
	--ink: #1a1a1a;
	--muted: #544e4e;
	--line-light: rgba(255, 255, 255, 0.2);
	--header-h: 80px;
	--section-pad: 70px;
	--container-pad: 150px;
	--radius-btn: 33px;
	--radius-card: 8px;
	--font-stack: 'Gotham', 'Cairo', 'Helvetica Neue', Arial, sans-serif;
}

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

/*
 * Anchor offset for the fixed header. Set once here: it applies to every
 * anchor target (#mattresses, #recliners, #technologies...) and also keeps
 * keyboard focus from scrolling under the header. Adding scroll-margin-top
 * on the targets as well would double the gap.
 */
html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 10px);
}

body {
	margin: 0;
	font-family: var(--font-stack);
	font-size: 16px;
	line-height: 1.5;
	color: var(--navy);
	background-color: var(--grey-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	font-weight: 700;
	line-height: 1.2;
}

p {
	margin: 0 0 16px;
}

a {
	color: inherit;
}

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

ul {
	margin: 0;
	padding: 0;
}

button {
	font: inherit;
	color: inherit;
	cursor: pointer;
	background: none;
	border: 0;
	padding: 0;
}

:focus-visible {
	outline: 2px solid var(--navy);
	outline-offset: 3px;
}

.kk-header a:focus-visible,
.kk-hero a:focus-visible,
.kk-hero button:focus-visible,
.kk-tech a:focus-visible,
.kk-footer a:focus-visible {
	outline-color: var(--white);
}


@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}

/* Skip link */
.kk-skip-link {
	position: absolute;
	inset-inline-start: -9999px;
	inset-block-start: 0;
	z-index: 3000;
}

.kk-skip-link:focus {
	inset-inline-start: 0;
	background: var(--white);
	color: var(--navy);
	padding: 10px 18px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

/* --------------------------------------------------------------------------
   Container
   -------------------------------------------------------------------------- */
.kk-container {
	width: 100%;
	max-width: 100%;
	margin-inline: auto;
	padding-inline: var(--container-pad);
}

@media (max-width: 1600px) {
	:root {
		--container-pad: 60px;
	}
}

@media (max-width: 992px) {
	:root {
		--container-pad: 25px;
		--section-pad: 35px;
	}
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.kk-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	text-decoration: none;
	padding: 10px 22px;
	border: 1px solid transparent;
	border-radius: var(--radius-btn);
	transition: all 0.3s ease-in-out;
	white-space: nowrap;
}

.kk-btn svg {
	flex: none;
}

.kk-btn--primary {
	background-color: var(--navy);
	border-color: transparent;
	color: var(--white);
}

.kk-btn--primary:hover {
	background-color: transparent;
	border-color: var(--navy);
	color: var(--navy);
	box-shadow: 5px 5px 0 rgba(16, 71, 119, 0.25);
}

.kk-hero .kk-btn--primary:hover {
	background-color: transparent;
	border-color: var(--white);
	color: var(--white);
	box-shadow: 5px 5px 0 rgba(255, 255, 255, 0.3);
}

/* Secondary (outline) button: the primary button's hover state at rest */
.kk-btn--outline {
	background-color: transparent;
	border-color: var(--navy);
	color: var(--navy);
}

.kk-btn--outline:hover {
	background-color: var(--navy);
	border-color: var(--navy);
	color: var(--white);
	box-shadow: 5px 5px 0 rgba(16, 71, 119, 0.25);
}

.kk-hero .kk-btn--outline {
	border-color: var(--white);
	color: var(--white);
}

.kk-hero .kk-btn--outline:hover {
	background-color: var(--white);
	border-color: var(--white);
	color: var(--navy);
	box-shadow: 5px 5px 0 rgba(255, 255, 255, 0.3);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.kk-header {
	position: fixed;
	inset-block-start: 0;
	inset-inline: 0;
	z-index: 1000;
	background-color: var(--navy);
	padding-block: 15px;
	height: var(--header-h);
}

.kk-header__inner {
	display: flex;
	align-items: center;
	gap: 16px;
	height: 50px;
}

.kk-header__logo {
	display: block;
	flex: none;
	text-decoration: none;
}

.kk-header__logo img {
	height: 46px;
	width: auto;
}

.kk-header__nav {
	margin-inline-start: auto;
}

.kk-menu {
	display: flex;
	align-items: center;
	list-style: none;
}

.kk-menu li {
	margin: 0;
}

.kk-menu a {
	position: relative;
	display: block;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--white);
	text-decoration: none;
	padding: 10px 16px;
}

.kk-menu a::after {
	content: '';
	position: absolute;
	inset-inline: 16px;
	inset-block-end: 6px;
	height: 2px;
	background-color: var(--white);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.3s ease;
}

.kk-menu a:hover::after,
.kk-menu .current-menu-item > a::after,
.kk-menu a:focus-visible::after {
	transform: scaleX(1);
}

/* Language switcher */
.kk-header__lang {
	flex: none;
}

.kk-lang__list {
	display: flex;
	align-items: center;
	gap: 6px;
	list-style: none;
}

.kk-lang__link {
	display: inline-block;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	color: var(--white);
	text-decoration: none;
	padding: 8px 13px;
	border: 1px solid rgba(255, 255, 255, 0.45);
	border-radius: var(--radius-btn);
	transition: all 0.3s ease-in-out;
}

.kk-lang__link:hover {
	border-color: var(--white);
	background-color: rgba(255, 255, 255, 0.12);
}

.kk-lang__link.is-active {
	background-color: var(--white);
	border-color: var(--white);
	color: var(--navy);
}

/* Burger + toggle */
.kk-nav-toggle {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	padding: 0;
	opacity: 0;
	appearance: none;
	-webkit-appearance: none;
	border: 0;
}

.kk-burger {
	display: none;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	color: var(--white);
	cursor: pointer;
	margin-inline-start: auto;
}

.kk-burger__close {
	display: none;
}

.kk-nav-toggle:focus-visible + .kk-burger {
	outline: 2px solid var(--white);
	outline-offset: 2px;
	border-radius: 4px;
}

@media (max-width: 992px) {
	.kk-burger {
		display: inline-flex;
		order: 3;
	}

	.kk-header__nav {
		position: absolute;
		inset-inline: 0;
		top: 100%;
		display: none;
		background-color: var(--navy);
		border-top: 1px solid rgba(255, 255, 255, 0.15);
		box-shadow: 0 14px 24px rgba(0, 0, 0, 0.25);
		padding-block: 6px;
		margin-inline-start: 0;
	}

	.kk-nav-toggle:checked ~ .kk-header__nav {
		display: block;
	}

	.kk-nav-toggle:checked ~ .kk-burger .kk-burger__open {
		display: none;
	}

	.kk-nav-toggle:checked ~ .kk-burger .kk-burger__close {
		display: block;
	}

	.kk-menu {
		display: block;
	}

	.kk-menu a {
		padding: 14px var(--container-pad);
		border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	}

	.kk-menu li:last-child a {
		border-bottom: 0;
	}

	.kk-menu a::after {
		display: none;
	}

	.kk-header__lang {
		order: 2;
	}
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.kk-hero {
	position: relative;
	overflow: hidden;
	height: calc(100vh - var(--header-h));
	min-height: 560px;
	margin-top: var(--header-h);
	background-color: var(--navy);
	color: var(--white);
}

.kk-hero__slider,
.kk-hero__track {
	position: absolute;
	inset: 0;
}

.kk-hero__slider {
	cursor: grab;
	touch-action: pan-y;
	user-select: none;
}

.kk-hero__slider.is-dragging {
	cursor: grabbing;
}

.kk-hero__track {
	overflow: hidden;
}

.kk-hero__slide {
	position: absolute;
	inset: 0;
	visibility: hidden;
	transform: translate3d(100%, 0, 0);
	transition: transform 0.6s ease, visibility 0s linear 0.6s;
}

.kk-hero__slide.is-active,
.kk-hero__slide.is-peek {
	visibility: visible;
	transform: translate3d(0, 0, 0);
	transition: transform 0.6s ease, visibility 0s;
}

.kk-hero__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	pointer-events: none;
	-webkit-user-drag: none;
}

.kk-hero__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(4, 20, 42, 0.82) 0%,
		rgba(4, 20, 42, 0.42) 38%,
		rgba(4, 20, 42, 0.08) 72%
	);
}

.kk-hero__content {
	position: absolute;
	z-index: 3;
	inset-inline-start: 15%;
	inset-block-end: 77px;
	width: min(760px, 78%);
	padding-bottom: 40px;
}

.kk-hero__title {
	font-size: 48px;
	font-weight: 600;
	line-height: 1.15;
	color: var(--white);
	margin-bottom: 10px;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.kk-hero__text {
	font-size: 22px;
	line-height: 1.4;
	color: var(--white);
	margin-bottom: 15px;
	max-width: 33ch;
	text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.kk-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
}

.kk-hero__arrow {
	position: absolute;
	z-index: 4;
	inset-block-start: 50%;
	transform: translateY(-50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-radius: 50%;
	background-color: rgba(4, 20, 42, 0.35);
	color: var(--white);
	transition: all 0.3s ease-in-out;
}

.kk-hero__arrow:hover {
	background-color: var(--white);
	border-color: var(--white);
	color: var(--navy);
}

.kk-hero__arrow--prev {
	inset-inline-start: 25px;
}

.kk-hero__arrow--next {
	inset-inline-end: 25px;
}

.kk-hero__dots {
	position: absolute;
	z-index: 4;
	inset-block-end: 26px;
	inset-inline-end: 25px;
	display: flex;
	gap: 8px;
}

.kk-hero__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.45);
	border: 1px solid rgba(255, 255, 255, 0.8);
	transition: all 0.3s ease-in-out;
}

.kk-hero__dot:hover,
.kk-hero__dot.is-active {
	background-color: var(--white);
	transform: scale(1.15);
}

@media (max-width: 992px) {
	.kk-hero {
		height: 62vh;
		min-height: 420px;
	}

	.kk-hero__content {
		inset-inline-start: var(--container-pad);
		inset-inline-end: var(--container-pad);
		inset-block-end: 40px;
		width: auto;
		padding-bottom: 0;
	}

	.kk-hero__title {
		font-size: 34px;
	}

	.kk-hero__text {
		font-size: 17px;
		max-width: none;
	}

	/* Slider controls share one row under the text: dots at the start, arrows at the end */
	.kk-hero__slider:has(.kk-hero__arrow) .kk-hero__content {
		inset-block-end: 76px;
	}

	.kk-hero__arrow {
		width: 38px;
		height: 38px;
		inset-block-start: auto;
		inset-block-end: 16px;
		transform: none;
	}

	.kk-hero__arrow--prev {
		inset-inline-start: auto;
		inset-inline-end: 74px;
	}

	.kk-hero__arrow--next {
		inset-inline-end: 25px;
	}

	.kk-hero__dots {
		inset-inline-start: var(--container-pad);
		inset-inline-end: auto;
		inset-block-end: 30px;
	}
}

@media (max-width: 575px) {
	.kk-hero__title {
		font-size: 30px;
	}

	.kk-hero__text {
		font-size: 16px;
	}
}

/* --------------------------------------------------------------------------
   Shared section heading
   -------------------------------------------------------------------------- */
.kk-section {
	padding-block: var(--section-pad);
	background-color: var(--grey-bg);
}

.kk-heading {
	text-align: center;
	margin-bottom: 30px;
}

.kk-heading h2 {
	font-size: 44px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: capitalize;
	color: var(--navy);
}

.kk-heading p {
	font-size: 18px;
	line-height: 1.5;
	color: var(--ink);
	margin-top: 8px;
	margin-bottom: 0;
}

.kk-heading--start {
	text-align: start;
}

.kk-heading--start h2 {
	color: var(--black);
}

.kk-heading--light h2,
.kk-heading--light p {
	color: var(--white);
}

.kk-section__cta {
	text-align: center;
	margin-top: 40px;
}

/* Same steps as the page title (.kk-page-head__title) */
@media (max-width: 992px) {
	.kk-heading h2 {
		font-size: 34px;
	}
}

@media (max-width: 575px) {
	.kk-heading h2 {
		font-size: 30px;
	}
}

/* --------------------------------------------------------------------------
   Introduction
   -------------------------------------------------------------------------- */
.kk-intro__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
}

.kk-intro__text .kk-heading {
	margin-bottom: 20px;
}

.kk-intro__text p {
	font-size: 18px;
	line-height: 1.6;
	color: var(--ink);
	margin-bottom: 16px;
}

.kk-intro__text .kk-btn {
	margin-top: 8px;
}

.kk-intro__media {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	align-items: start;
}

.kk-intro__figure {
	margin: 0;
	overflow: hidden;
	border-radius: var(--radius-card);
	background-color: #d5d5d5;
}

.kk-intro__figure img {
	width: 100%;
	height: 250px;
	object-fit: cover;
}

.kk-intro__figure:nth-child(even) {
	margin-block-start: 40px;
}

@media (max-width: 992px) {
	.kk-intro__grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.kk-intro__figure img {
		height: 200px;
	}
}

@media (max-width: 575px) {
	.kk-intro__text p {
		font-size: 16px;
	}

	.kk-intro__figure img {
		height: 150px;
	}

	.kk-intro__figure:nth-child(even) {
		margin-block-start: 24px;
	}
}

/* --------------------------------------------------------------------------
   Products
   -------------------------------------------------------------------------- */
.kk-products__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 20px;
	list-style: none;
}

.kk-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background-color: var(--white);
	text-decoration: none;
	color: inherit;
	overflow: hidden;
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.kk-card:hover {
	box-shadow: 0 14px 30px rgba(16, 71, 119, 0.16);
	transform: translateY(-4px);
}

.kk-card__media {
	display: block;
	overflow: hidden;
	aspect-ratio: 306 / 280;
	background-color: #f7f6f4;
}

.kk-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.kk-card:hover .kk-card__media img {
	transform: scale(1.06);
}

.kk-card__body {
	display: block;
	padding: 20px 12px;
}

.kk-card__tag {
	display: block;
	font-size: 14px;
	line-height: 1.5;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 5px;
}

.kk-card__name {
	display: block;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--navy);
}

@media (max-width: 1279px) {
	.kk-products__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.kk-products__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 15px;
	}
}

@media (max-width: 479px) {
	.kk-products__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

.kk-products__heading {
	font-size: 26px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-transform: capitalize;
	color: var(--navy);
	margin-bottom: 20px;
}

.kk-products__group + .kk-products__group {
	margin-top: 50px;
}

/* --------------------------------------------------------------------------
   Products page — title, breadcrumb, filters, listing, enquiry
   -------------------------------------------------------------------------- */
.kk-page-head {
	padding-block-start: calc(var(--section-pad) + var(--header-h));
	text-align: center;
}

.kk-page-head__title {
	font-size: 44px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: capitalize;
	color: var(--navy);
}

.kk-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin-top: 10px;
	font-size: 16px;
	line-height: 1.5;
	color: var(--ink);
}

.kk-breadcrumb a {
	color: var(--navy);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.kk-breadcrumb a:hover {
	color: var(--navy-deep);
}

.kk-page-head__sub {
	max-width: 72ch;
	margin: 10px auto 0;
	font-size: 18px;
	line-height: 1.5;
	color: var(--ink);
}

/* Jump links under the page title */
.kk-jump {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 10px;
	margin-top: 24px;
}

.kk-jump__label,
.kk-filters__label {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--ink);
}

.kk-jump__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	list-style: none;
}

.kk-jump .kk-chip {
	display: inline-block;
	text-decoration: none;
}

/* Comfort level filters */
.kk-filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-bottom: 30px;
}

.kk-chip {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--navy);
	background-color: var(--white);
	border: 1px solid rgba(16, 71, 119, 0.35);
	border-radius: var(--radius-btn);
	padding: 9px 20px;
	transition: all 0.3s ease-in-out;
}

.kk-chip:hover {
	border-color: var(--navy);
	box-shadow: 3px 3px 0 rgba(16, 71, 119, 0.18);
}

.kk-chip.is-active {
	background-color: var(--navy);
	border-color: var(--navy);
	color: var(--white);
}

/* Listing sections (#mattresses, #recliners): each has its own filter bars */
.kk-listing {
	padding-bottom: 3rem;
}

.kk-listing + .kk-listing {
	padding-top: 1.5rem;
}

.kk-listing .kk-heading {
	margin-bottom: 24px;
}

.kk-filters-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	margin-bottom: 30px;
}

.kk-filters-wrap .kk-filters {
	align-items: center;
	margin-bottom: 0;
}

.kk-filters__label {
	margin-inline-end: 4px;
}

@media (max-width: 575px) {
	.kk-filters--labelled .kk-filters__label {
		flex-basis: 100%;
		margin-inline-end: 0;
		text-align: center;
	}
}

.kk-listing__empty {
	margin: 0;
	padding-block: 30px;
	font-size: 16px;
	line-height: 1.5;
	text-align: center;
	color: var(--ink);
}

.kk-listing__empty[hidden] {
	display: none;
}

/* Listing grid and card details */
.kk-listing__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	list-style: none;
}

.kk-card__comfort {
	display: block;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
	text-transform: uppercase;
	color: var(--navy);
	margin-top: 6px;
}

.kk-card__desc {
	display: block;
	font-size: 15px;
	line-height: 1.55;
	color: var(--ink);
	margin-top: 8px;
}

/* Listing cards: two-line description */
.kk-listing .kk-card__desc {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
}

.kk-card__sep {
	font-weight: 400;
}

.kk-card__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 14px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--navy);
}

.kk-card__more svg {
	transition: transform 0.3s ease;
}

.kk-card:hover .kk-card__more {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.kk-card:hover .kk-card__more svg {
	transform: translateX(3px);
}

/* Enquiry strip */
.kk-enquiry {
	background-color: var(--navy-deep);
	color: var(--white);
	padding-block: 56px;
}

.kk-enquiry__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 28px;
}

.kk-enquiry__text {
	max-width: 62ch;
}

.kk-enquiry h2 {
	font-size: 32px;
	color: var(--white);
}

.kk-enquiry p {
	margin: 10px 0 0;
	font-size: 17px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.85);
}

.kk-enquiry a:focus-visible {
	outline-color: var(--white);
}

.kk-btn--light {
	background-color: var(--white);
	border-color: var(--white);
	color: var(--navy);
}

.kk-btn--light:hover {
	background-color: transparent;
	color: var(--white);
	box-shadow: 5px 5px 0 rgba(255, 255, 255, 0.3);
}

@media (max-width: 1279px) {
	.kk-listing__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 992px) {
	.kk-page-head__title {
		font-size: 34px;
	}

	.kk-enquiry h2 {
		font-size: 26px;
	}

	.kk-enquiry__inner {
		justify-content: center;
		text-align: center;
	}

	.kk-enquiry__text {
		max-width: none;
	}
}

@media (max-width: 575px) {
	.kk-page-head__title {
		font-size: 30px;
	}

	.kk-page-head__sub {
		font-size: 16px;
	}

	.kk-listing__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 15px;
	}

	.kk-chip {
		padding: 8px 16px;
		font-size: 13px;
	}

	.kk-enquiry {
		padding-block: 40px;
	}

	.kk-enquiry h2 {
		font-size: 22px;
	}
}

/* --------------------------------------------------------------------------
   Contact page — details, working time, form, stores
   -------------------------------------------------------------------------- */
.kk-contact {
	padding-top: 0;
}

.kk-contact__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 30px;
	align-items: start;
}

.kk-contact__panel {
	background-color: var(--white);
	border-radius: var(--radius-card);
	padding: 40px;
}

.kk-contact__title {
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--navy);
	margin-bottom: 24px;
}

.kk-contact__list {
	display: grid;
	gap: 22px;
	list-style: none;
}

.kk-contact__item {
	display: flex;
	align-items: center;
	gap: 16px;
}

.kk-contact__icon {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background-color: var(--navy);
	color: var(--white);
}

.kk-contact__icon svg {
	width: 20px;
	height: 20px;
}

.kk-contact__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
}

.kk-contact__label {
	font-size: 14px;
	line-height: 1.5;
	text-transform: uppercase;
	color: var(--muted);
}

.kk-contact__value {
	font-size: 18px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--navy);
	text-decoration: none;
	overflow-wrap: anywhere;
}

.kk-contact__value:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Working time */
.kk-hours {
	margin-top: 30px;
	padding: 24px;
	border-radius: var(--radius-card);
	background-color: var(--grey-bg);
}

.kk-hours__title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--navy);
	margin-bottom: 10px;
}

.kk-hours__line {
	margin: 0;
	font-size: 16px;
	line-height: 1.7;
	color: var(--ink);
}

/* Notices */
.kk-notice {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 20px;
	padding: 14px 18px;
	border-radius: var(--radius-card);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.5;
}

.kk-notice p {
	margin: 0;
}

.kk-notice svg {
	flex: none;
	margin-top: 3px;
}

.kk-notice--success {
	background-color: var(--navy);
	color: var(--white);
}

.kk-notice--error {
	background-color: var(--grey-bg);
	color: var(--navy-deep);
	border-inline-start: 4px solid var(--navy-deep);
}

/* Form */
.kk-form {
	position: relative;
}

.kk-form__hp {
	position: absolute;
	inset-inline-start: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.kk-form__note {
	font-size: 14px;
	color: var(--muted);
	margin-bottom: 20px;
}

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

.kk-field--full {
	grid-column: 1 / -1;
}

.kk-field__label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--navy);
	margin-bottom: 8px;
}

.kk-field__input {
	display: block;
	width: 100%;
	min-height: 48px;
	font: inherit;
	font-size: 16px;
	line-height: 1.5;
	color: var(--ink);
	background-color: var(--white);
	border: 1px solid rgba(16, 71, 119, 0.35);
	border-radius: var(--radius-card);
	padding: 11px 16px;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.kk-field__input:hover,
.kk-field__input:focus {
	border-color: var(--navy);
}

.kk-field__input:focus {
	box-shadow: 3px 3px 0 rgba(16, 71, 119, 0.18);
}

.kk-field__input::placeholder {
	color: var(--muted);
	opacity: 0.7;
}

.kk-field__textarea {
	min-height: 150px;
	resize: vertical;
}

.kk-field.has-error .kk-field__input {
	border: 2px solid var(--navy-deep);
	padding: 10px 15px;
}

.kk-field__error {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	margin: 8px 0 0;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--navy-deep);
}

.kk-field__error svg {
	flex: none;
	margin-top: 1px;
}

.kk-form__actions {
	margin-top: 24px;
}

/* Stores */
.kk-stores {
	padding-top: 0;
}

.kk-stores__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	list-style: none;
}

.kk-store {
	display: flex;
	flex-direction: column;
	padding: 30px 26px;
	border-radius: var(--radius-card);
	background-color: var(--white);
}

.kk-store__city {
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--navy);
	margin-bottom: 16px;
}

.kk-store__line {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 12px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--ink);
}

.kk-store__line svg {
	flex: none;
	margin-top: 4px;
	color: var(--navy);
}

.kk-store__line a {
	font-weight: 500;
	color: var(--navy);
	text-decoration: none;
}

.kk-store__line a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.kk-store__link {
	display: inline-flex;
	align-self: flex-start;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	padding-top: 10px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--navy);
	text-decoration: none;
}

.kk-store__link svg {
	transition: transform 0.3s ease;
}

.kk-store__link:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.kk-store__link:hover svg {
	transform: translateX(3px);
}

@media (max-width: 992px) {
	.kk-contact__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.kk-contact__panel {
		padding: 32px 28px;
	}
}

@media (max-width: 767px) {
	.kk-stores__grid,
	.kk-form__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 575px) {
	.kk-contact__panel {
		padding: 26px 20px;
	}

	.kk-contact__title {
		font-size: 24px;
	}

	.kk-store {
		padding: 24px 20px;
	}
}

/* Generic page content (index.php / page.php) */
.kk-content {
	padding-top: 0;
	font-size: 18px;
	line-height: 1.6;
	color: var(--ink);
}

.kk-content .kk-container > * {
	max-width: 72ch;
	margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Technologies
   -------------------------------------------------------------------------- */
.kk-tech {
	background-color: var(--navy-deep);
	background-image: linear-gradient(rgba(4, 26, 66, 0.72), rgba(4, 26, 66, 0.72)),
		url('../images/tech-bg.webp');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.kk-tech__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	padding-bottom: 48px;
	list-style: none;
}

.kk-tech__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	text-align: center;
	padding: 25px 18px;
	color: var(--white);
	border-inline-end: 1px solid var(--line-light);
	border-block-end: 1px solid var(--line-light);
}

.kk-tech__icon {
	width: 102px;
	height: 90px;
	object-fit: contain;
	margin-inline: auto;
}

.kk-tech__name {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
	padding-top: 10px;
	color: var(--white);
}

.kk-tech__desc {
	font-size: 14px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.82);
	margin-top: 8px;
	margin-bottom: 0;
}

@media (max-width: 992px) {
	.kk-tech__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0;
		padding-bottom: 20px;
	}

	.kk-tech__card {
		border-inline-end: 1px solid var(--line-light);
		border-block-end: 1px solid var(--line-light);
	}
}

@media (max-width: 575px) {
	.kk-tech__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.kk-tech__card {
		border-inline-end: 0;
	}
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.kk-footer {
	background-color: var(--navy);
	color: var(--white);
	padding-block-start: 40px;
}

.kk-footer__grid {
	display: grid;
	grid-template-columns: 2fr repeat(4, minmax(0, 1fr)) minmax(0, 1.35fr);
	gap: 30px;
}

.kk-footer__logo img {
	width: 204px;
	max-width: 100%;
	height: auto;
}

.kk-footer__about {
	font-size: 14px;
	line-height: 1.6;
	color: var(--white);
	margin-top: 16px;
	margin-bottom: 0;
	max-width: 36ch;
}

.kk-footer__title {
	font-size: 18px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--white);
	margin-bottom: 14px;
}

.kk-footer__list {
	list-style: none;
}

.kk-footer__list li {
	margin-bottom: 4px;
}

.kk-footer__list a {
	display: inline-block;
	font-size: 14px;
	line-height: 1.5;
	padding-block: 3px;
	color: #fafafa;
	text-decoration: none;
	transition: color 0.3s ease;
}

.kk-footer__list a:hover {
	color: var(--white);
	text-decoration: underline;
}

.kk-footer__info {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14px;
	line-height: 1.6;
	margin-bottom: 12px;
	color: var(--white);
}

.kk-footer__info svg {
	flex: none;
	margin-top: 4px;
	opacity: 0.9;
}

.kk-footer__info a {
	color: var(--white);
	text-decoration: none;
}

.kk-footer__info a:hover {
	text-decoration: underline;
}

/* Phone and WhatsApp numbers never break across lines */
.kk-footer__info a[href^="tel:"],
.kk-footer__info a[href^="https://wa.me"],
.kk-contact__value[href^="tel:"],
.kk-contact__value[href^="https://wa.me"],
.kk-store__line a[href^="tel:"] {
	white-space: nowrap;
}

.kk-footer__hours {
	line-height: 1.7;
}

.kk-footer__hours strong {
	font-weight: 600;
}

.kk-footer__social {
	display: flex;
	gap: 10px;
	margin-top: 6px;
}

.kk-footer__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background-color: var(--white);
	color: var(--navy);
	transition: all 0.3s ease-in-out;
}

.kk-footer__social a:hover {
	background-color: var(--navy-deep);
	color: var(--white);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.kk-footer__bottom {
	margin-top: 40px;
	padding-block: 14px;
	background-color: var(--navy);
	font-size: 12px;
	line-height: 1.4;
	text-align: center;
}

.kk-footer__bottom p {
	margin: 0;
	color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 1279px) {
	.kk-footer__grid {
		grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr));
		row-gap: 34px;
	}
}

@media (max-width: 767px) {
	.kk-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.kk-footer__brand {
		grid-column: 1 / -1;
	}

	.kk-footer__about {
		max-width: none;
	}
}

@media (max-width: 479px) {
	.kk-footer__grid {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 26px;
	}
}

/* --------------------------------------------------------------------------
   Floating WhatsApp button — below the header (z-index 1000) so the open
   mobile menu covers it
   -------------------------------------------------------------------------- */
.kk-float {
	position: fixed;
	inset-inline-end: 24px;
	inset-block-end: 24px;
	z-index: 900;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background-color: #25d366;
	color: var(--white);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kk-float:hover {
	transform: scale(1.06);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.kk-float:focus-visible {
	outline: 2px solid var(--navy);
	outline-offset: 3px;
}

.kk-float svg {
	width: 30px;
	height: 30px;
}

@media (max-width: 575px) {
	.kk-float {
		inset-inline-end: 16px;
		inset-block-end: 16px;
		width: 50px;
		height: 50px;
	}

	.kk-float svg {
		width: 26px;
		height: 26px;
	}
}

/* --------------------------------------------------------------------------
   Small screens — header tweaks
   -------------------------------------------------------------------------- */
@media (max-width: 575px) {
	.kk-header__logo img {
		height: 36px;
	}

	.kk-lang__list {
		gap: 2px;
	}

	.kk-lang__link {
		padding: 7px 9px;
		font-size: 13px;
		border-color: transparent;
	}

	.kk-lang__link.is-active {
		border-color: var(--white);
	}
}
