/**
 * SEO landing pages.
 *
 * Landing pages reuse home.css wholesale (same `.home-page inclean-style
 * brave-luxury` wrapper), so this file only carries the two blocks the
 * homepage has no equivalent for — text+image and the closing CTA — plus the
 * handful of hero tweaks a single-service hero needs.
 *
 * @package Svaros_Partneriai
 */

/* =========================================================================
   HERO — single service, no pill nav
   ========================================================================= */

/* The homepage reserves the hero's 260px top padding for the pill nav, which
   is absolutely positioned at `top: 160px` (`.hero-categories` in home.css).
   A focused landing hero renders no pill nav, so all of that space would be an
   empty blue band above the heading — reclaim it. These rules must stay on
   `--no-nav`, NOT on `--landing`: with the tabs option on, the pill nav is
   back and needs its 260px or it lands on top of the heading. */
.hero-pristine--no-nav {
	padding-top: 120px;
}

@media (max-width: 900px) {
	.hero-pristine--no-nav {
		padding-top: 80px;
	}
}

/* With the nav gone the hero no longer needs to fill the viewport; letting it
   size to its content keeps the calculator close to the heading. */
@media (min-width: 901px) {
	.hero-pristine--no-nav {
		min-height: 0;
	}
}

/* =========================================================================
   TEXT + IMAGE
   ========================================================================= */

.landing-text-section {
	position: relative;
	padding: 90px 0;
	overflow: hidden;
}

@media (max-width: 767px) {
	.landing-text-section {
		padding: 60px 0;
	}
}

.landing-text {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
}

@media (min-width: 900px) {
	.landing-text--right,
	.landing-text--left {
		grid-template-columns: 1fr 1fr;
		gap: 60px;
	}

	/* Image on the left: pull the media column ahead of the copy. */
	.landing-text--left .landing-text__media {
		order: -1;
	}
}

/* No image: the block would sit as a lone left-aligned column in a full-width
   band. Centre its header the way every other section on the page centres
   theirs, but keep body copy left-aligned inside a readable measure — landing
   pages carry long SEO text, and centred paragraphs are hard to read. */
.landing-text--full {
	max-width: 820px;
	text-align: center;
}

.landing-text--full .tagline-pristine {
	justify-content: center;
}

.landing-text--full .landing-text__body {
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
}

/* A single short paragraph reads better centred than adrift on the left. */
.landing-text--full .landing-text__body:has(> p:only-child) {
	text-align: center;
}

.landing-text--full .landing-text__cta {
	margin-left: auto;
	margin-right: auto;
}

.landing-text__body {
	margin-top: 22px;
	font-size: 17px;
	line-height: 1.75;
	color: #4a5568;
}

.landing-text__body p {
	margin: 0 0 18px;
}

.landing-text__body p:last-child {
	margin-bottom: 0;
}

/* Formatting from sp_landing_rich() (plain-text shortcuts or HTML): lists,
   numbered lists, H2–H4, bold, italics, links, quotes. */
.landing-text__body ul,
.landing-text__body ol {
	margin: 0 0 18px;
}

.landing-text__body ul {
	padding-left: 0;
	list-style: none;
}

.landing-text__body ul > li {
	position: relative;
	padding-left: 26px;
	margin-bottom: 10px;
}

.landing-text__body ol {
	padding-left: 26px;
	list-style: decimal;
}

.landing-text__body ol > li {
	padding-left: 4px;
	margin-bottom: 10px;
}

.landing-text__body ol > li::marker {
	color: #00aeef;
	font-weight: 700;
}

.landing-text__body ul > li::before {
	content: '';
	position: absolute;
	left: 6px;
	top: 0.72em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #00aeef;
}

.landing-text__body ul:last-child,
.landing-text__body ol:last-child,
.landing-text__body li:last-child {
	margin-bottom: 0;
}

.landing-text__body h2 {
	margin: 32px 0 14px;
	font-size: 24px;
	font-weight: 800;
	line-height: 1.3;
	color: #1d1e20;
}

.landing-text__body h3 {
	margin: 28px 0 12px;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.35;
	color: #1d1e20;
}

.landing-text__body h4 {
	margin: 22px 0 10px;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.4;
	color: #1d1e20;
}

.landing-text__body h2:first-child,
.landing-text__body h3:first-child,
.landing-text__body h4:first-child {
	margin-top: 0;
}

.landing-text__body strong,
.landing-text__body b {
	font-weight: 700;
	color: #1d1e20;
}

.landing-text__body em,
.landing-text__body i {
	font-style: italic;
}

.landing-text__body blockquote {
	margin: 0 0 18px;
	padding: 4px 0 4px 18px;
	border-left: 3px solid #00aeef;
	font-style: italic;
	color: #2d3748;
}

/* reset.css strips link styling; text links must look like links. */
.landing-text__body a,
.sp-landing-page .faq-answer a,
.sp-landing-page .hero-lead a,
.sp-landing-page .hero-style-lead a,
.sp-landing-page .hero-step-desc a,
.sp-landing-page .bento-card p a,
.sp-landing-page .not-list-content p a,
.sp-landing-page .landing-cta__text a {
	color: #00aeef;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.landing-text__body a:hover,
.sp-landing-page .faq-answer a:hover {
	color: #0089bd;
}

/* White text on the blue add-services card. */
.sp-landing-page .add-serv-content p a {
	color: inherit;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* FAQ answers with lists, quotes and links. The homepage keeps its 500px cap;
   landing answers can be longer, so they get room to open fully. */
.sp-landing-page .faq-item.active .faq-answer {
	max-height: 2400px;
}

.sp-landing-page .faq-answer ul,
.sp-landing-page .faq-answer ol,
.sp-landing-page .faq-answer blockquote {
	margin: 0;
	padding-bottom: 24px;
	font-size: 16px;
	line-height: 1.6;
	color: rgba(29, 30, 32, 0.6);
}

.sp-landing-page .faq-answer p + ul,
.sp-landing-page .faq-answer p + ol {
	margin-top: -14px;
}

.sp-landing-page .faq-answer ul {
	padding-left: 0;
	list-style: none;
}

.sp-landing-page .faq-answer ul > li {
	position: relative;
	padding-left: 22px;
	margin-bottom: 6px;
}

.sp-landing-page .faq-answer ul > li::before {
	content: '';
	position: absolute;
	left: 4px;
	top: 0.7em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #00aeef;
}

.sp-landing-page .faq-answer ol {
	padding-left: 22px;
	list-style: decimal;
}

.sp-landing-page .faq-answer ol > li {
	margin-bottom: 6px;
}

.sp-landing-page .faq-answer li:last-child {
	margin-bottom: 0;
}

.sp-landing-page .faq-answer strong,
.sp-landing-page .faq-answer b {
	font-weight: 700;
	color: #1d1e20;
}

.sp-landing-page .faq-answer blockquote {
	padding-left: 14px;
	border-left: 3px solid #00aeef;
	font-style: italic;
}

/* FAQ questions are wrapped in an H3 — keep the heading visually neutral so the
   button's own typography (home.css .faq-question) is unchanged. */
.faq-question-heading {
	margin: 0;
	font: inherit;
	line-height: inherit;
	letter-spacing: inherit;
}

.landing-text__cta {
	display: inline-flex;
	margin-top: 28px;
	width: fit-content;
}

.landing-text__media {
	position: relative;
}

.landing-text__img,
.landing-text__media img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 24px;
	box-shadow: 0 24px 60px rgba(15, 30, 55, 0.16);
}

/* =========================================================================
   CLOSING CTA
   ========================================================================= */

.landing-cta-section {
	position: relative;
	padding: 90px 0;
	overflow: hidden;
}

@media (max-width: 767px) {
	.landing-cta-section {
		padding: 60px 0;
	}
}

.landing-cta {
	max-width: 820px;
	margin: 0 auto;
	padding: 56px 40px;
	text-align: center;
	background: #ffffff;
	border-radius: 32px;
	box-shadow: 0 26px 70px rgba(15, 30, 55, 0.12);
}

@media (max-width: 767px) {
	.landing-cta {
		padding: 40px 24px;
		border-radius: 24px;
	}
}

.landing-cta__title {
	font-size: clamp(28px, 4vw, 44px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
	margin: 0;
}

.landing-cta__text {
	margin: 18px auto 0;
	max-width: 560px;
	font-size: 17px;
	line-height: 1.7;
	color: #4a5568;
}

.landing-cta__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 18px;
	margin-top: 32px;
}

.landing-cta__btn {
	display: inline-flex;
}

.landing-cta__phone {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 16px;
	font-weight: 700;
	color: #0f1e37;
	text-decoration: none;
	padding: 16px 24px;
	border-radius: 100px;
	border: 2px solid rgba(15, 30, 55, 0.12);
	transition: border-color 0.25s ease, color 0.25s ease;
}

.landing-cta__phone:hover {
	border-color: #00aeef;
	color: #00aeef;
}

/* =========================================================================
   PLAIN EDITOR CONTENT (below the sections)
   ========================================================================= */

.landing-content-section {
	padding: 70px 0;
}

.landing-content {
	max-width: 820px;
	margin: 0 auto;
	font-size: 17px;
	line-height: 1.75;
	color: #4a5568;
}

.landing-content__title {
	font-size: clamp(30px, 5vw, 48px);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.02em;
	color: #0f1e37;
	margin: 0 0 24px;
}

.landing-content h2,
.landing-content h3 {
	color: #0f1e37;
	margin: 32px 0 14px;
}

.landing-content p {
	margin: 0 0 18px;
}

.landing-content ul,
.landing-content ol {
	margin: 0 0 18px 22px;
}

/* reset.css removes list markers; give the editor content's lists theirs back. */
.landing-content ul {
	list-style: disc;
}

.landing-content ol {
	list-style: decimal;
}

.landing-content li {
	margin-bottom: 8px;
}

.landing-content img {
	max-width: 100%;
	height: auto;
	border-radius: 18px;
}
