/* ==========================================================================
   TARVA inner landing pages (service pages, Batch 1).
   Reuses the homepage vocabulary (.tarva-section, .tarva-split, .tarva-services,
   .tarva-steps, .tarva-list, buttons). Only what the pages genuinely need is
   added here. No new colours; no decorative effects; no JavaScript.
   ========================================================================== */

.tarva-main--landing { padding: 0; }

/* ---------- Page hero ---------------------------------------------------- */

.tarva-page-hero {
	padding-top: calc(var(--tarva-hh, 5rem) + clamp(3rem, 7vw, 6rem));
	padding-bottom: clamp(4rem, 8vw, 7rem);
}

.tarva-page-hero .tarva-split { align-items: center; }

.tarva-page-hero__title {
	margin: 0;
	max-width: 15ch;
	font-size: clamp(2.5rem, 5.4vw, 5.25rem);
	line-height: 1.02;
	letter-spacing: -0.01em;
}

.tarva-page-hero__lede {
	margin: 1.75rem 0 0;
	max-width: 34rem;
}

.tarva-page-hero__actions { margin-top: 2.25rem; }

/* Light hero: the title is Obsidian on Ivory and the image is portrait. */
.tarva-page-hero--light .tarva-page-hero__lede { color: var(--wp--preset--color--graphite); }

.tarva-page-hero--light .tarva-img--portrait {
	max-width: 30rem;
	justify-self: end;
}

/* The devices composition sits in the hero column. */
.tarva-page-hero .tarva-devices { margin-top: 0; }

/* ---------- Editorial text-only split ------------------------------------ */

.tarva-split--editorial { align-items: start; }

.tarva-split--editorial .tarva-split__text + .tarva-split__text { padding-top: 0.5rem; }

@media (min-width: 900px) {
	.tarva-split--solo { grid-template-columns: minmax(0, 1fr); max-width: 56rem; }
}

/* ---------- Three-column pillars ---------------------------------------- */

@media (min-width: 700px) {
	.tarva-services--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Connected links (descriptive internal links) ---------------- */

.tarva-linkrows {
	margin-top: clamp(2.5rem, 5vw, 4rem);
	border-top: 1px solid var(--tarva-rule, rgba(23, 23, 23, 0.18));
}

.tarva-surface-dark .tarva-linkrows,
.tarva-sp-listing .tarva-linkrows { border-top-color: rgba(244, 240, 232, 0.2); }

.tarva-linkrow {
	display: grid;
	gap: 0.5rem 3rem;
	padding-block: 1.75rem;
	border-bottom: 1px solid var(--tarva-rule, rgba(23, 23, 23, 0.18));
}

@media (min-width: 800px) {
	.tarva-linkrow { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: baseline; }
}

.tarva-linkrow__title,
.tarva-linkrow__text { margin: 0; }

.tarva-linkrow__title a {
	color: inherit;
	text-decoration: none;
	background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
	padding-bottom: 0.2em;
	transition: background-size var(--tm-d-hover, 220ms) var(--tm-ease, ease);
}

.tarva-linkrow__title a::after {
	content: "\2197";
	margin-left: 0.5em;
	font-size: 0.8em;
}

.tarva-linkrow__title a:hover,
.tarva-linkrow__title a:focus-visible { background-size: 100% 1px; }

/* ---------- Listing section ---------------------------------------------- */

.tarva-sp-listing .tarva-list { margin-top: clamp(2.5rem, 5vw, 4rem); }

.tarva-sp-listing .tarva-note { margin-top: 2.5rem; max-width: 46rem; }

/* ---------- FAQs ---------------------------------------------------------- */

.tarva-faq {
	margin-top: clamp(2.5rem, 5vw, 4rem);
	max-width: 56rem;
	border-top: 1px solid var(--tarva-rule, rgba(23, 23, 23, 0.18));
}

.tarva-faq__item {
	border-bottom: 1px solid var(--tarva-rule, rgba(23, 23, 23, 0.18));
}

.tarva-faq__item summary {
	cursor: pointer;
	list-style: none;
	padding: 1.5rem 3rem 1.5rem 0;
	position: relative;
	font-family: var(--wp--preset--font-family--cormorant-garamond, inherit);
	font-size: var(--wp--preset--font-size--h-4, 1.5rem);
	line-height: 1.25;
}

.tarva-faq__item summary::-webkit-details-marker { display: none; }

/* A plus that becomes a minus: two CSS strokes, no icon font. */
.tarva-faq__item summary::before,
.tarva-faq__item summary::after {
	content: "";
	position: absolute;
	right: 0.25rem;
	top: 50%;
	width: 1rem;
	height: 1px;
	background: currentColor;
	transition: transform var(--tm-d-hover, 220ms) var(--tm-ease, ease);
}

.tarva-faq__item summary::after { transform: rotate(90deg); }

.tarva-faq__item[open] summary::after { transform: rotate(0deg); }

.tarva-faq__item summary:focus-visible {
	outline: 2px solid var(--wp--preset--color--obsidian);
	outline-offset: 2px;
}

.tarva-faq__item > p {
	margin: 0 0 1.75rem;
	max-width: 44rem;
	color: var(--wp--preset--color--graphite);
}

/* ---------- Final CTA band ----------------------------------------------- */

.tarva-cta-band {
	padding-block: clamp(5rem, 11vw, 9rem);
	border-top: 1px solid rgba(214, 191, 163, 0.25);
}

.tarva-cta-band .tarva-cta__content { max-width: 50rem; }

.tarva-cta-band .tarva-cta__title { margin: 0.5rem 0 0; }

.tarva-cta-band .tarva-cta__text { margin: 1.5rem 0 0; max-width: 36rem; }

.tarva-cta-band .tarva-cta__actions { margin-top: 2.25rem; }

/* ---------- Dark service-split imagery needs room ----------------------- */

.tarva-sp-meta-ads .tarva-split,
.tarva-sp-google-ads .tarva-split { align-items: center; }

.tarva-surface-dark .tarva-faq__item summary:focus-visible { outline-color: var(--wp--preset--color--champagne); }
