/* ═══════════════════════════════════════════════════════════════════════
   SERVICE PAGE (cluster pages)
═══════════════════════════════════════════════════════════════════════ */

/* ── Gallery (horizontal scrollable) ────────────────────────────── */
.project-gallery {
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.project-gallery::-webkit-scrollbar { display: none; }

.project-gallery__track {
	display: flex;
	gap: 0.5rem;
	padding-inline: var(--gutter);
}

.project-gallery__item {
	flex: 0 0 auto;
}

.project-gallery__item img {
	height: 70vh;
	width: auto;
	max-width: none;
	object-fit: contain;
	display: block;
}

@media (max-width: 700px) {
	.project-gallery__item img { height: 50vmax; }
}

.service-gallery-placeholder {
	height: 60px;
}

.service-content {
	padding-block: 4rem;
	max-width: 860px;
}

.service-title {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: clamp(1.3rem, 2.5vw, 2rem);
	line-height: 1.25;
	margin-bottom: 2.5rem;
}

.service-body {
	font-family: var(--font-body);
	font-size: clamp(1rem, 1.5vw, 1.15rem);
	line-height: 1.85;
	color: var(--color-text);
}

.service-body p {
	margin-bottom: 1.4em;
}

.service-body h2 {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: clamp(1rem, 1.8vw, 1.3rem);
	margin-top: 2.5rem;
	margin-bottom: 1rem;
}

.service-body a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 0.2em;
	text-decoration-thickness: 1px;
}

.service-body a:hover {
	opacity: 0.6;
}

@media (max-width: 768px) {
	.service-content {
		padding-block: 2.5rem;
	}
}


/* ═══════════════════════════════════════════════════════════════════════
   SERVICES OVERVIEW — NEW LAYOUT
═══════════════════════════════════════════════════════════════════════ */

/* ── 1. Hero ──────────────────────────────────────────────────────── */
.sov-hero {
	position: relative;
	width: 100%;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: var(--color-surface);
}

.sov-hero__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	display: block;
}

.sov-hero__overlay {
	position: relative;
	z-index: 2;
	text-align: center;
	padding: 2rem var(--gutter);
	max-width: 800px;
}


.sov-hero__headline {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: clamp(1.6rem, 3.5vw, 3rem);
	line-height: 1.25;
	color: var(--color-text);
}

.sov-hero__headline em {
	font-style: italic;
}

@media (max-width: 768px) {
	.sov-hero {
		min-height: 65vw;
	}
	.sov-hero__headline {
		font-size: clamp(1.3rem, 6vw, 2rem);
	}
}

/* ── 2. Pink intro block ──────────────────────────────────────────── */
.sov-intro {
	background: var(--color-header);
	padding: clamp(3rem, 6vw, 5rem) var(--gutter);
}

.sov-intro__inner {
	max-width: 760px;
	margin: 0 auto;
	text-align: center;
}

.sov-intro__inner p {
	font-family: var(--font-body);
	font-size: clamp(1.1rem, 1.6vw, 1.25rem);
	line-height: 1.85;
	color: var(--color-text);
	margin-bottom: 1.2em;
}

.sov-intro__inner p:last-child {
	margin-bottom: 0;
}

/* ── 3. Three service columns ─────────────────────────────────────── */
.sov-columns {
	padding: clamp(3.5rem, 7vw, 6rem) 0 0;
}

.sov-columns__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
	margin-bottom: 0;
}

.sov-columns__item {
	padding: clamp(2.5rem, 4vw, 4rem) clamp(2rem, 3.5vw, 3.5rem);
}

.sov-columns__title {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: clamp(0.95rem, 1.2vw, 1.1rem);
	letter-spacing: 0.01em;
	margin-bottom: 1rem;
	line-height: 1.35;
}

.sov-columns__body {
	font-family: var(--font-body);
	font-size: clamp(1rem, 1.3vw, 1.1rem);
	line-height: 1.85;
	color: var(--color-text);
}

.sov-columns__transition {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: clamp(1.3rem, 2.2vw, 1.9rem);
	line-height: 1.3;
	color: var(--color-text);
	text-align: center;
	padding: clamp(2.5rem, 5vw, 4rem) var(--gutter) clamp(1.5rem, 3vw, 2.5rem);
}

@media (max-width: 900px) {
	.sov-columns__grid {
		grid-template-columns: 1fr;
	}
}

/* ── 4. Six category cards ────────────────────────────────────────── */
.sov-cards {
	padding: 0 0 clamp(3rem, 5vw, 5rem);
}

.sov-cards__grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
}

.sov-card {
	display: flex;
	flex-direction: column;
}

.sov-card__image {
	position: relative;
	aspect-ratio: 2 / 3;
	overflow: hidden;
	background: var(--color-surface);
}

.sov-card__image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.sov-card__placeholder {
	width: 100%;
	height: 100%;
	background: var(--color-surface);
}

.sov-card__text {
	padding: 2.5rem 2rem 3rem;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	flex: 1;
}

.sov-card__title {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: clamp(0.8rem, 1vw, 0.95rem);
	line-height: 1.3;
}

.sov-card__desc {
	font-family: var(--font-body);
	font-size: clamp(0.85rem, 0.9vw, 0.95rem);
	line-height: 1.7;
	color: var(--color-text);
}

.sov-card__link {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	margin-top: auto;
	padding-top: 0.5rem;
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 0.72rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--color-text);
	text-decoration: none;
	border-bottom: 1px solid currentColor;
	padding-bottom: 1px;
	align-self: flex-start;
	transition: opacity 200ms ease;
}

.sov-card__link:hover {
	opacity: 0.55;
}

@media (max-width: 1024px) {
	.sov-cards__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 600px) {
	.sov-cards__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}


/* ═══════════════════════════════════════════════════════════════════════
   SPLIT-SCREEN ROWS (legacy — kept for other uses)
═══════════════════════════════════════════════════════════════════════ */

.sov-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 480px;
	border-top: 1px solid var(--color-surface);
}

.sov-row--flip {
	direction: rtl; /* reverses column order */
}
.sov-row--flip > * {
	direction: ltr; /* restore text direction inside */
}

.sov-row__image {
	position: relative;
	overflow: hidden;
	background: var(--color-surface);
}

.sov-row__image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.sov-row__placeholder {
	width: 100%;
	height: 100%;
	background: var(--color-surface);
}

.sov-row__text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 4rem 5vw;
	gap: 1.2rem;
}

.sov-row__title {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: clamp(1rem, 1.8vw, 1.4rem);
	line-height: 1.3;
}

.sov-row__desc {
	font-family: var(--font-body);
	font-size: clamp(1rem, 1.4vw, 1.1rem);
	line-height: 1.85;
	max-width: 480px;
}

.sov-row__link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	align-self: flex-start;
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 0.8rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--color-text);
	text-decoration: none;
	border-bottom: 1px solid currentColor;
	padding-bottom: 2px;
	transition: opacity 200ms ease;
}

.sov-row__link:hover {
	opacity: 0.55;
}

@media (max-width: 768px) {
	.sov-row {
		display: flex;
		flex-direction: column;
		direction: ltr;
		min-height: unset;
	}

	.sov-row__image {
		height: 65vw;
		max-height: 360px;
		position: relative;
	}

	.sov-row__text {
		padding: 2rem var(--gutter);
	}
}


/* ═══════════════════════════════════════════════════════════════════════
   FAQ ACCORDION (shared with work.css, needed on service pages)
═══════════════════════════════════════════════════════════════════════ */

.project-faq {
	padding-top: 4rem;
	padding-bottom: 4rem;
	max-width: 800px;
}

.faq-section-title {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: clamp(1rem, 1.6vw, 1.2rem);
	margin-bottom: 2rem;
}

.faq-accordion {
	border-top: 1px solid var(--color-text);
}

.faq-item {
	border-bottom: 1px solid var(--color-text);
}

.faq-toggle {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 0;
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: clamp(0.85rem, 1.1vw, 1rem);
	letter-spacing: 0.03em;
	text-align: left;
	color: var(--color-text);
	background: none;
	border: none;
	cursor: pointer;
}

.faq-icon {
	flex-shrink: 0;
	margin-left: 1rem;
	font-size: 1.3rem;
	font-weight: 300;
	transition: transform 250ms ease;
}

.faq-toggle[aria-expanded="true"] .faq-icon {
	transform: rotate(45deg);
}

.faq-body {
	padding-bottom: 1.25rem;
}

.faq-body p {
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.8;
}
