/* Homepage layout — builds on arka.css tokens */

body.home #content,
body.home #content-wrap,
body.home #page-content {
	padding: 0 !important;
	margin: 0 !important;
	max-width: none !important;
	width: 100% !important;
}

body.home .page-title-custom,
body.home #preloader {
	display: none !important;
}

.arka-home {
	margin: 0;
	padding: 0;
}

/* —— Hero: pełna szerokość granatu + kontener 2 kolumny —— */
.arka-hero--split {
	background: #0f2a4a;
	padding: 2rem 0 1.75rem;
	overflow-x: clip;
}

.arka-hero__grid {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	box-sizing: border-box;
}

.arka-hero__copy {
	color: #fff8f0;
	min-width: 0;
}

.arka-hero__photo {
	min-width: 0;
	display: flex;
	align-items: center;
}

.arka-hero__frame {
	margin: 0;
	width: 100%;
	border-radius: 16px;
	overflow: hidden;
	line-height: 0;
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}

.arka-hero__img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 1024px;
	object-fit: contain;
	object-position: center;
}

.arka-hero__cta .arka-btn,
.arka-hero__copy .arka-btn {
	text-shadow: none !important;
}

.arka-hero__title {
	margin: 0 0 1rem;
	font-size: clamp(2.125rem, 4.2vw, 3.25rem);
	font-weight: 650;
	line-height: 1.18;
	letter-spacing: -0.02em;
	color: #fff8f0 !important;
	overflow-wrap: normal;
	hyphens: none;
}

@media (min-width: 1100px) {
	.arka-hero__title {
		font-size: 3.25rem;
	}
}

.arka-hero__lead {
	margin: 0 0 1.85rem;
	max-width: 36ch;
	font-size: 1.25rem;
	line-height: 1.6;
	font-weight: 400;
	color: rgba(255, 248, 240, 0.96);
}

.arka-hero__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.9rem;
}

/* Desktop: 2 kolumny w .arka-wrap, bez beżu, padding 72 px */
@media (min-width: 992px) {
	.arka-hero--split {
		padding: 72px 0;
	}

	.arka-hero__grid {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 2rem;
		align-items: center;
	}

	.arka-hero__photo {
		justify-content: stretch;
	}
}

.arka-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0.95rem 1.85rem;
	border-radius: 6px;
	font-family: var(--arka-font) !important;
	font-weight: 700 !important;
	font-size: 17px !important;
	line-height: 1.2;
	text-decoration: none !important;
	text-shadow: none !important;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	touch-action: manipulation;
	box-sizing: border-box;
}

@media (min-width: 768px) {
	.arka-btn {
		min-height: 52px;
		padding: 1.05rem 2.1rem;
		font-size: 17px !important;
	}
}

.arka-btn--primary {
	background: var(--arka-cream);
	color: var(--arka-navy) !important;
	border: 1px solid var(--arka-cream);
}

.arka-btn--primary:hover,
.arka-btn--primary:focus {
	background: #fff;
	color: var(--arka-navy) !important;
}

.arka-btn--ghost {
	background: transparent;
	color: #fff !important;
	border: 2px solid #fff;
	backdrop-filter: none;
	box-shadow: 0 1px 8px rgba(0, 15, 30, 0.25);
}

.arka-btn--ghost:hover,
.arka-btn--ghost:focus {
	background: rgba(255, 255, 255, 0.16);
	border-color: #fff;
	color: #fff !important;
}

.arka-btn--navy {
	background: var(--arka-navy);
	color: #fff !important;
	border: 1px solid var(--arka-navy);
	align-self: flex-start;
	min-height: 52px;
	padding: 0.9rem 1.7rem;
	font-size: 1.0625rem; /* 17px */
}

.arka-btn--navy:hover,
.arka-btn--navy:focus {
	background: var(--arka-navy-soft);
	border-color: var(--arka-navy-soft);
}

/* < 992: jedna kolumna — tekst, potem zdjęcie; wszystko na granacie */
@media (max-width: 991px) {
	.arka-hero__title {
		font-size: 29px;
		line-height: 1.15;
		margin-bottom: 0.75rem;
		color: #fff8f0 !important;
	}

	.arka-hero__lead {
		font-size: 17px !important;
		line-height: 1.5 !important;
		margin: 0 0 24px !important;
		max-width: 100%;
		color: rgba(255, 248, 240, 0.96);
	}

	.arka-hero__cta {
		flex-direction: column;
		align-items: stretch;
		gap: 0.75rem;
	}

	.arka-hero__cta .arka-btn {
		width: 100%;
		font-size: 16px !important;
		min-height: 48px;
		text-shadow: none !important;
	}

	.arka-hero__cta .arka-btn--primary {
		color: var(--arka-navy) !important;
		text-shadow: none !important;
	}
}

/* —— Sections —— */
.arka-section {
	padding: clamp(3rem, 7vw, 5rem) 0;
}

.arka-section__title {
	margin: 0 0 0.65rem;
	color: var(--arka-navy);
	font-size: clamp(1.7rem, 3vw, 2.25rem);
	font-weight: 700;
	letter-spacing: -0.02em;
}

.arka-section__lead {
	margin: 0 0 2rem;
	max-width: 44ch;
	color: var(--arka-muted);
	font-size: 1.125rem;
	line-height: 1.6;
}

.arka-services {
	background: linear-gradient(180deg, var(--arka-cream) 0%, var(--arka-cream-deep) 100%);
}

.arka-services__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	align-items: stretch;
}

@media (min-width: 768px) {
	.arka-services__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 32px;
	}
}

.arka-service {
	display: flex;
	flex-direction: column;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid var(--arka-line);
	border-radius: 8px;
	overflow: hidden;
	min-height: 100%;
	height: 100%;
}

.arka-service__media {
	display: block;
	height: 240px;
	overflow: hidden;
	background: var(--arka-cream-deep);
	flex-shrink: 0;
}

@media (min-width: 768px) {
	.arka-service__media {
		height: 300px; /* 280–320 px */
	}
}

.arka-service__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 28%;
	display: block;
}

.arka-service:nth-child(1) .arka-service__media img {
	object-position: 45% 22%; /* Andy — pies */
}

.arka-service:nth-child(2) .arka-service__media img {
	object-position: 55% 18%; /* nosework — osoba + pies */
}

.arka-service__body {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	padding: 1.35rem 1.25rem 1.4rem;
	flex: 1 1 auto;
}

.arka-service__body .arka-btn {
	margin-top: auto;
	align-self: flex-start;
}

.arka-service__title {
	margin: 0;
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.25;
}

.arka-service__title a {
	color: var(--arka-navy) !important;
	text-decoration: none !important;
}

.arka-service__text {
	margin: 0;
	flex: 1;
	color: var(--arka-ink);
	font-size: 1.0625rem; /* 17px */
	line-height: 1.6;
}

/* —— Contact —— */
.arka-contact {
	background: var(--arka-navy);
	color: #fff;
}

.arka-contact .arka-section__title {
	color: #fff;
}

.arka-contact__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.75rem;
	align-items: center;
}

@media (min-width: 900px) {
	.arka-contact__grid {
		grid-template-columns: 1.1fr 0.9fr;
		gap: 2.25rem;
	}
}

.arka-contact__name,
.arka-contact__meta {
	margin: 0 0 1rem;
	line-height: 1.55;
	font-size: 1.05rem;
	color: rgba(255, 255, 255, 0.94);
}

.arka-contact a:not(.arka-btn) {
	color: #fff !important;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.arka-contact__aside img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 8px;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
	.arka-btn,
	.arka-nav__toggle-bar {
		transition: none;
	}
}
