/* =========================================================
   Świąteczne Cuda – strona „O nas” (styl mockupu)
   ========================================================= */

:root {
	--sc-about-gold: #c4a574;
	--sc-about-gold-dark: #a88958;
	--sc-about-ink: #1a1a1a;
	--sc-about-muted: #5c5c5c;
	--sc-about-paper: #f7f4ef;
	--sc-about-white: #ffffff;
}

body.sc-about-page .content-area {
	margin-top: 0;
}

body.sc-about-page .entry-hero,
body.sc-about-page .page-hero-section,
body.sc-about-page .entry-header,
body.sc-about-page .entry-title,
body.sc-about-page .page-title,
body.sc-about-page .kadence-title-container {
	display: none !important;
}

body.sc-about-page .content-bg,
body.sc-about-page .entry.single-entry,
body.sc-about-page .entry-content-wrap {
	background: transparent !important;
	box-shadow: none !important;
	border: 0 !important;
	padding: 0 !important;
	max-width: none !important;
}

.sc-about-page__main {
	background: var(--sc-about-paper);
	padding: 0;
}

.sc-about-wrap {
	width: min(1100px, calc(100% - 2.5rem));
	margin-inline: auto;
}

.sc-about {
	display: block;
}

/* ----- Hero + skewed scrolling gallery ----- */
.sc-about-hero {
	position: relative;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	min-height: clamp(400px, 58vh, 580px);
	overflow: hidden;
	color: var(--sc-about-white);
	background: var(--sc-about-white);
}

.sc-about-hero__photo {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.sc-about-hero__photo-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.sc-about-gallery {
	position: absolute;
	inset: 0;
	height: 100%;
	background: var(--sc-about-white);
}

.sc-about-gallery__viewport {
	height: 100%;
	overflow: hidden;
	cursor: grab;
	touch-action: pan-y;
}

.sc-about-gallery__viewport.is-dragging {
	cursor: grabbing;
}

.sc-about-gallery__track {
	display: flex;
	align-items: stretch;
	gap: 0;
	height: 100%;
	width: max-content;
	padding-inline: clamp(1rem, 2vw, 1.5rem);
	will-change: transform;
	transform: translate3d(0, 0, 0);
}

.sc-about-gallery__slide {
	--sc-gallery-cut: clamp(48px, 7vw, 96px);
	--sc-gallery-seam: 4px;
	position: relative;
	margin: 0;
	/* Ukos zostaje, ale kadry nachodzą – zostaje tylko wąska biała szpara */
	margin-left: calc((var(--sc-gallery-cut) * -1) + var(--sc-gallery-seam));
	flex: 0 0 auto;
	width: min(42vw, 520px);
	height: 100%;
	overflow: hidden;
	box-sizing: border-box;
	/* Złota ramka tylko lewa / prawa */
	background: var(--sc-about-gold);
	clip-path: polygon(
		var(--sc-gallery-cut) 0%,
		100% 0%,
		calc(100% - var(--sc-gallery-cut)) 100%,
		0% 100%
	);
}

.sc-about-gallery__slide:first-child {
	margin-left: 0;
}

.sc-about-gallery__slide img {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 3px;
	right: 3px;
	width: auto;
	height: 100%;
	display: block;
	object-fit: cover;
	object-position: center;
	user-select: none;
	pointer-events: none;
	transform: scale(1.04);
	transform-origin: center;
	background: #1a2e24;
}

.sc-about-gallery__nav {
	position: absolute;
	top: 50%;
	z-index: 8;
	transform: translateY(-50%);
	width: 3.15rem;
	height: 3.15rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 999px;
	background: rgba(247, 244, 239, 0.95) !important;
	color: var(--sc-green, #1f4d3a) !important;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
	cursor: pointer;
}

.sc-about-gallery__nav svg {
	width: 1.55rem;
	height: 1.55rem;
	display: block;
}

.sc-about-gallery__nav:hover {
	background: var(--sc-about-white) !important;
	transform: translateY(-50%) scale(1.04);
}

.sc-about-gallery__nav--prev {
	left: 1rem;
}

.sc-about-gallery__nav--next {
	right: 1rem;
}

.sc-about-hero__shade {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	background:
		linear-gradient(105deg, rgba(14, 24, 18, 0.78) 0%, rgba(14, 24, 18, 0.4) 42%, rgba(14, 24, 18, 0.12) 72%, rgba(14, 24, 18, 0.05) 100%);
}

.sc-about-hero__inner {
	position: relative;
	z-index: 3;
	width: min(1100px, calc(100% - 2.5rem));
	margin-inline: auto;
	padding: clamp(3rem, 8vw, 5.5rem) 0;
	max-width: 34rem;
}

.sc-about-hero__eyebrow {
	margin: 0 0 0.85rem;
	font-family: var(--sc-font-sans);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--sc-about-gold);
}

.sc-about-hero__title {
	margin: 0 0 1rem;
	font-family: var(--sc-font-serif);
	font-size: clamp(2.4rem, 5vw, 3.6rem);
	font-weight: 600;
	line-height: 1.08;
	color: var(--sc-about-white) !important;
	text-shadow: 0 2px 22px rgba(0, 0, 0, 0.28);
}

.sc-about-hero__lead {
	margin: 0 0 1.5rem;
	max-width: 36ch;
	font-family: var(--sc-font-sans);
	font-size: 1.05rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.92);
}

.sc-about-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.9rem 1.35rem;
	border-radius: 4px;
	background: var(--sc-about-gold) !important;
	color: var(--sc-about-ink) !important;
	font-family: var(--sc-font-sans);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-decoration: none !important;
	border: 0;
	transition: background 0.2s ease, color 0.2s ease;
}

.sc-about-btn:hover {
	background: var(--sc-about-gold-dark) !important;
	color: var(--sc-about-white) !important;
}

.sc-about-btn__icon {
	display: inline-flex;
	width: 1.1rem;
	height: 1.1rem;
}

.sc-about-btn__icon svg {
	width: 100%;
	height: 100%;
}

/* ----- Story ----- */
.sc-about-story {
	padding: clamp(3rem, 7vw, 5rem) 0;
	background: var(--sc-about-white);
}

.sc-about-story__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
	gap: clamp(1.75rem, 4vw, 3.5rem);
	align-items: start;
}

.sc-about-story__script {
	margin: 0 0 1.1rem;
	font-family: var(--sc-font-script);
	font-size: clamp(2.4rem, 4vw, 3.35rem);
	font-weight: 600;
	line-height: 1.15;
	color: var(--sc-about-ink);
	max-width: 10ch;
}

.sc-about-story__rule {
	display: block;
	width: 4.5rem;
	height: 1px;
	background: var(--sc-about-gold);
	margin-bottom: 1.35rem;
}

.sc-about-story__meta {
	display: flex;
	align-items: center;
	gap: 0.85rem;
}

.sc-about-story__ornament {
	display: inline-flex;
	width: 2.75rem;
	height: 2.75rem;
	color: var(--sc-about-gold);
}

.sc-about-story__ornament svg {
	width: 100%;
	height: 100%;
}

.sc-about-story__values {
	list-style: none;
	margin: 0;
	padding: 0;
	font-family: var(--sc-font-sans);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--sc-about-gold);
	line-height: 1.55;
}

.sc-about-story__copy p {
	margin: 0 0 1.1rem;
	font-family: var(--sc-font-sans);
	font-size: 1.02rem;
	line-height: 1.75;
	color: var(--sc-about-muted);
}

.sc-about-story__copy p:last-child {
	margin-bottom: 0;
}

.sc-about-story__copy strong {
	color: var(--sc-about-ink);
	font-weight: 700;
}

/* ----- USP ----- */
.sc-about-usp {
	padding: 0 0 clamp(2.5rem, 5vw, 3.75rem);
	background: var(--sc-about-white);
}

.sc-about-usp__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.5rem;
	padding-top: 0.5rem;
	border-top: 1px solid rgba(196, 165, 116, 0.28);
}

.sc-about-usp__item {
	text-align: center;
	padding: 1.5rem 0.5rem 0.25rem;
}

.sc-about-usp__icon {
	display: inline-flex;
	width: 2.85rem;
	height: 2.85rem;
	margin-bottom: 0.85rem;
	color: var(--sc-about-gold);
}

.sc-about-usp__icon svg {
	width: 100%;
	height: 100%;
}

.sc-about-usp__title {
	margin: 0 0 0.3rem;
	font-family: var(--sc-font-sans);
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--sc-about-ink);
}

.sc-about-usp__text {
	margin: 0;
	font-family: var(--sc-font-sans);
	font-size: 0.88rem;
	color: var(--sc-about-muted);
}

/* ----- Feature ----- */
.sc-about-feature {
	padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 6vw, 4.5rem);
	background: var(--sc-about-paper);
}

.sc-about-feature__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	gap: clamp(1.75rem, 4vw, 3rem);
	align-items: center;
}

.sc-about-feature__media {
	position: relative;
	margin: 0;
	aspect-ratio: 1 / 1.05;
	overflow: hidden;
	background: #2a2a2a;
}

.sc-about-feature__media-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.sc-about-feature__media img.sc-about-feature__media-bg {
	position: absolute;
}

.sc-about-feature__media video.sc-about-feature__media-bg {
	background: #16382a;
}

.sc-about-feature__quote {
	position: absolute;
	inset: auto 8% 10%;
	z-index: 2;
	margin: 0;
	padding: 1rem 0;
	border: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.65);
	border-bottom: 1px solid rgba(255, 255, 255, 0.65);
	text-align: center;
}

.sc-about-feature__quote p {
	margin: 0;
	font-family: var(--sc-font-script);
	font-size: clamp(1.35rem, 2.4vw, 1.85rem);
	line-height: 1.3;
	color: var(--sc-about-white);
}

.sc-about-heading {
	margin: 0 0 0.85rem;
	font-family: var(--sc-font-serif);
	font-size: clamp(2rem, 3.4vw, 2.65rem);
	font-weight: 600;
	line-height: 1.15;
	color: var(--sc-about-ink);
}

.sc-about-feature__copy > p {
	margin: 0 0 1.35rem;
	font-family: var(--sc-font-sans);
	font-size: 1.02rem;
	line-height: 1.7;
	color: var(--sc-about-muted);
}

.sc-about-feature__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.85rem;
}

.sc-about-feature__list li {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	font-family: var(--sc-font-sans);
	font-size: 0.98rem;
	line-height: 1.45;
	color: var(--sc-about-ink);
}

.sc-about-feature__check {
	flex: 0 0 auto;
	display: inline-flex;
	width: 1.35rem;
	height: 1.35rem;
	margin-top: 0.1rem;
	color: var(--sc-about-gold);
}

.sc-about-feature__check svg {
	width: 100%;
	height: 100%;
}

/* ----- CTA ----- */
.sc-about-cta {
	position: relative;
	isolation: isolate;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: clamp(3rem, 7vw, 4.5rem) 0;
	color: var(--sc-about-white);
	background: #16382a;
	overflow: hidden;
}

.sc-about-cta__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}

.sc-about-cta__bg-media {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.sc-about-cta__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(105deg, rgba(18, 28, 22, 0.82) 0%, rgba(18, 28, 22, 0.55) 55%, rgba(18, 28, 22, 0.35) 100%);
}

.sc-about-cta__inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	flex-wrap: wrap;
}

.sc-about-cta__eyebrow {
	margin: 0 0 0.65rem;
	font-family: var(--sc-font-sans);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--sc-about-gold);
}

.sc-about-cta__title {
	margin: 0 0 0.75rem;
	max-width: 16ch;
	font-family: var(--sc-font-serif);
	font-size: clamp(2rem, 3.5vw, 2.75rem);
	font-weight: 600;
	line-height: 1.12;
	color: var(--sc-about-white) !important;
}

.sc-about-cta__text {
	margin: 0;
	max-width: 42ch;
	font-family: var(--sc-font-sans);
	font-size: 1rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.88);
}

/* ----- Category strip ----- */
.sc-about-cats {
	padding: 2.25rem 0 2.75rem;
	background: var(--sc-about-white);
}

.sc-about-cats__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
}

.sc-about-cats__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.55rem;
	padding: 0.75rem;
	text-decoration: none;
	color: var(--sc-about-ink);
}

.sc-about-cats__icon {
	display: inline-flex;
	width: 2.5rem;
	height: 2.5rem;
	color: var(--sc-about-gold);
}

.sc-about-cats__icon svg {
	width: 100%;
	height: 100%;
}

.sc-about-cats__label {
	font-family: var(--sc-font-sans);
	font-size: 0.88rem;
	font-weight: 600;
	text-align: center;
}

.sc-about-cats__item:hover .sc-about-cats__label {
	color: var(--sc-green, #1f4d3a);
}

@media (max-width: 900px) {
	.sc-about-story__grid,
	.sc-about-feature__grid {
		grid-template-columns: 1fr;
	}

	.sc-about-usp__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sc-about-story__script {
		max-width: none;
	}
}

@media (max-width: 720px) {
	.sc-about-hero__inner {
		padding: 3rem 0 2.75rem;
	}

	.sc-about-gallery__slide {
		--sc-gallery-cut: clamp(36px, 10vw, 64px);
		width: min(72vw, 360px);
	}

	.sc-about-gallery__nav {
		top: auto;
		bottom: 0.85rem;
		transform: none;
		width: 3rem;
		height: 3rem;
	}

	.sc-about-gallery__nav:hover {
		transform: scale(1.04);
	}

	.sc-about-gallery__nav svg {
		width: 1.45rem;
		height: 1.45rem;
	}

	.sc-about-gallery__nav--prev {
		left: 0.85rem;
	}

	.sc-about-gallery__nav--next {
		right: 0.85rem;
	}

	.sc-about-usp__grid,
	.sc-about-cats__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sc-about-cta__inner {
		flex-direction: column;
		align-items: flex-start;
	}
}
