/**
 * landing.css — the ads landing page only.
 *
 * Loaded by inc/enqueue.php just for templates/template-landing.php, so none
 * of it reaches the rest of the site. Every value comes from variables.css.
 */

/* ----------------------------------------------------------------------
 * Shell
 * ------------------------------------------------------------------- */

.lp-wrap {
	width: min(var(--container), 100% - var(--gutter) * 2);
	margin-inline: auto;
}

.lp-body {
	background: var(--white);
}

/* ----------------------------------------------------------------------
 * Decorative leaf rosette
 * ------------------------------------------------------------------- */

.ic-flower {
	position: absolute;
	display: block;
	pointer-events: none;
	color: var(--sage);
	opacity: .22;
	z-index: 0;
}

.ic-flower__svg {
	width: 100%;
	height: 100%;
	overflow: visible;
}

.ic-flower__petals {
	transform-origin: 0 0;
	animation: ic-flower-turn 90s linear infinite;
}

.ic-flower__leaf--sm {
	opacity: .7;
}

.ic-flower__eye {
	opacity: .45;
}

@keyframes ic-flower-turn {
	from { transform: rotate(0deg); }
	to   { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
	.ic-flower__petals {
		animation: none;
	}
}

/* ----------------------------------------------------------------------
 * Header
 * ------------------------------------------------------------------- */

.lp-header {
	position: sticky;
	top: 0;
	z-index: var(--z-header);
	background: var(--white);
	border-bottom: var(--border-w) solid var(--line);
	transition: box-shadow var(--dur-base) var(--ease-out);
}

.lp-header.is-stuck {
	box-shadow: var(--shadow-sm);
}

.lp-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-6);
	min-height: var(--header-h);
}

.lp-brand {
	display: inline-flex;
	align-items: center;
}

.lp-brand__logo {
	width: auto;
	max-height: 84px;
}

.lp-brand__text {
	font-family: var(--font-display);
	font-size: var(--fs-h4);
	font-weight: var(--fw-bold);
	line-height: 1.1;
	color: var(--deep-teal);
}

.lp-brand__tagline {
	display: block;
	font-size: var(--fs-xs);
	font-weight: var(--fw-semibold);
	color: var(--ochre);
}

.lp-header__actions {
	display: flex;
	align-items: center;
	gap: var(--space-6);
}

.lp-header__phone {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	font-size: var(--fs-h5);
	font-weight: var(--fw-bold);
	color: var(--ink);
	text-decoration: none;
	white-space: nowrap;
}

.lp-header__phone:hover {
	color: var(--deep-teal);
}

/* ----------------------------------------------------------------------
 * 1. Hero
 * ------------------------------------------------------------------- */

.lp-hero {
	padding-block: clamp(40px, 4.5vw, 72px) clamp(64px, 7vw, 104px);
	background: var(--white);
}

.lp-hero__inner {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: clamp(32px, 5vw, 72px);
}

.lp-hero__copy {
	flex: 1 1 52%;
	min-width: 0;
	padding-top: var(--space-3);
}

.lp-hero__title {
	margin: var(--space-7) 0 var(--space-6);
	font-size: var(--fs-display);
	font-weight: var(--fw-bold);
	line-height: var(--lh-display);
	letter-spacing: var(--ls-display);
	color: var(--deep-teal);
	max-width: 15ch;
}

.lp-hero__sub {
	max-width: 46ch;
	margin-bottom: var(--space-8);
	font-size: var(--fs-lead);
	line-height: var(--lh-lead);
	color: var(--ink);
}

.lp-note {
	display: flex;
	align-items: flex-start;
	gap: var(--space-3);
	margin-top: var(--space-5);
	font-size: var(--fs-small);
	line-height: 1.5;
	color: var(--text-body);
}

.lp-note svg {
	flex: 0 0 auto;
	margin-top: 4px;
}

.lp-hero__media {
	flex: 1 1 45%;
	min-width: 0;
}

/* Video placeholder */

.lp-video {
	position: relative;
	aspect-ratio: 18 / 13;
	border-radius: var(--radius-organic);
	background: var(--deep-teal);
	overflow: hidden;
	isolation: isolate;
}

.lp-video__glow {
	position: absolute;
	display: block;
	border-radius: var(--radius-circle);
}

.lp-video__glow--a {
	top: -22%;
	left: -20%;
	width: 78%;
	aspect-ratio: 1;
	background: var(--teal-500);
}

.lp-video__glow--b {
	right: -18%;
	bottom: -30%;
	width: 64%;
	aspect-ratio: 1;
	background: var(--teal-600);
}

.lp-video__play {
	position: absolute;
	top: 50%;
	left: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 96px;
	height: 96px;
	border-radius: var(--radius-circle);
	background: var(--white);
	color: var(--deep-teal);
	transform: translate(-50%, -50%);
	transition: transform var(--dur-base) var(--ease-out);
}

.lp-video__play svg {
	width: 30px;
	height: 36px;
	margin-left: 5px;
}

.lp-video__play:hover {
	transform: translate(-50%, -50%) scale(1.06);
}

.lp-video__tag {
	position: absolute;
	left: var(--space-8);
	bottom: var(--space-7);
	display: inline-flex;
	align-items: center;
	height: 44px;
	padding-inline: var(--space-5);
	border: var(--border-w-strong) solid rgba(255, 255, 255, .55);
	border-radius: var(--radius-pill);
	background: rgba(255, 255, 255, .14);
	color: var(--white);
	font-size: var(--fs-xs);
	font-weight: var(--fw-bold);
	letter-spacing: .12em;
	text-transform: uppercase;
}

.lp-video__cap {
	position: absolute;
	top: var(--space-8);
	right: var(--space-8);
	max-width: 28ch;
	color: var(--white);
	font-size: var(--fs-small);
	line-height: 1.5;
	text-align: right;
}

.lp-hero__under {
	display: flex;
	justify-content: center;
	margin-top: var(--space-7);
}

/* ----------------------------------------------------------------------
 * 2. What we offer
 * ------------------------------------------------------------------- */

.lp-offer {
	position: relative;
	padding-block: var(--section-y);
	background: var(--cream);
	overflow: hidden;
}

.lp-offer .ic-flower {
	top: 4%;
	right: -4%;
	width: clamp(280px, 30vw, 460px);
	aspect-ratio: 1;
}

.lp-offer > .lp-wrap {
	position: relative;
	z-index: var(--z-base);
}

.lp-services {
	display: grid;
	grid-template-columns: var(--grid-3);
	gap: var(--gap-grid);
}

.lp-service {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: var(--space-6);
	border-radius: var(--radius-lg);
	background: var(--white);
}

.lp-service__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 51px;
	height: 51px;
	border-radius: var(--radius-circle);
	background: var(--deep-teal);
	color: var(--white);
}

.lp-service__title {
	margin: var(--space-5) 0 var(--space-3);
	font-size: var(--fs-h5);
	font-weight: var(--fw-semibold);
	line-height: var(--lh-subheading);
	color: var(--ink);
}

.lp-service__text {
	margin-bottom: var(--space-6);
	font-size: var(--fs-body);
	line-height: 1.45;
	color: var(--text-body);
}

.lp-service__media {
	flex: 1 1 auto;
	min-height: 190px;
	border-radius: var(--radius-md) var(--radius-md) var(--radius-lg) var(--radius-lg);
	background: var(--stone-200);
	overflow: hidden;
}

/* Callout spans the remaining two columns on the last row. */

.lp-service--callout {
	grid-column: span 2;
	justify-content: center;
	padding: var(--space-9) var(--space-10);
	background: var(--deep-teal);
	color: var(--text-on-dark);
	overflow: hidden;
}

.lp-callout__deco {
	position: absolute;
	right: -150px;
	bottom: -190px;
	width: 420px;
	height: 420px;
	border-radius: var(--radius-circle);
	background: var(--sage);
	opacity: .14;
}

.lp-service--callout > *:not(.lp-callout__deco) {
	position: relative;
	z-index: var(--z-base);
}

.lp-callout__title {
	max-width: 18ch;
	margin-bottom: var(--space-4);
	font-family: var(--font-display);
	font-size: var(--fs-h3);
	font-weight: var(--fw-semibold);
	line-height: var(--lh-subheading);
	color: var(--white);
}

.lp-callout__text {
	max-width: 42ch;
	margin-bottom: var(--space-8);
	font-size: var(--fs-body);
	line-height: var(--lh-body);
	color: var(--text-on-dark-soft);
}

.lp-service--callout .btn {
	align-self: flex-start;
}

/* ----------------------------------------------------------------------
 * 3. What you can count on
 * ------------------------------------------------------------------- */

.lp-promises {
	padding-block: var(--section-y);
	background: var(--white);
}

.lp-promises__row {
	display: grid;
	grid-template-columns: 500px 1fr;
	gap: var(--gap-card);
}

.lp-commit {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: var(--space-8);
	padding: var(--space-9);
	border-radius: var(--radius-card);
	background: var(--deep-teal);
	color: var(--text-on-dark);
	overflow: hidden;
}

.lp-commit__deco {
	position: absolute;
	right: -120px;
	bottom: -150px;
	width: 420px;
	height: 420px;
	border-radius: var(--radius-circle);
	background: var(--sage);
	opacity: .18;
}

.lp-commit > *:not(.lp-commit__deco) {
	position: relative;
	z-index: var(--z-base);
}

.lp-commit__title {
	max-width: 20ch;
	font-family: var(--font-display);
	font-size: var(--fs-h3);
	font-weight: var(--fw-semibold);
	line-height: var(--lh-subheading);
	color: var(--white);
}

.lp-commit .btn {
	align-self: flex-start;
}

.lp-promises__grid {
	display: grid;
	grid-template-columns: var(--grid-2);
	gap: var(--space-5);
}

.lp-promise {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: var(--space-7) var(--space-7) var(--space-8);
	border-radius: var(--radius-card);
	background: var(--cream);
}

.lp-promise__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: var(--space-4);
	margin-bottom: var(--space-3);
}

.lp-promise__num {
	font-family: var(--font-display);
	font-size: var(--fs-stat-sm);
	font-weight: var(--fw-bold);
	line-height: 1.05;
}

.lp-promise__num--teal { color: var(--deep-teal); }
.lp-promise__num--ochre { color: var(--ochre); }

.lp-promise__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: var(--icon-chip);
	height: var(--icon-chip);
	border-radius: var(--radius-circle);
	background: var(--white);
	color: var(--ochre-600);
}

.lp-promise__label {
	margin-bottom: var(--space-2);
	font-size: var(--fs-h5);
	font-weight: var(--fw-semibold);
	color: var(--navy);
}

.lp-promise__text {
	font-size: var(--fs-small);
	line-height: 1.5;
	color: var(--text-body);
}

/* ----------------------------------------------------------------------
 * 4. How we can help
 * ------------------------------------------------------------------- */

.lp-help {
	padding-block: var(--section-y);
	background: var(--deep-teal);
	color: var(--text-on-dark);
}

.lp-examples {
	display: grid;
	grid-template-columns: var(--grid-3);
	gap: var(--gap-card);
}

.lp-example {
	display: flex;
	flex-direction: column;
	border-radius: var(--radius-card);
	background: var(--white);
	overflow: hidden;
}

.lp-example__media {
	position: relative;
	aspect-ratio: 16 / 9;
	background: var(--stone-200);
}

.lp-example__badge {
	position: absolute;
	top: var(--space-6);
	left: var(--space-6);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: var(--radius-circle);
	background: var(--ochre);
	color: var(--white);
	font-family: var(--font-display);
	font-size: var(--fs-xs);
	font-weight: var(--fw-bold);
}

.lp-example__body {
	padding: var(--space-7);
}

.lp-example__title {
	margin-bottom: var(--space-6);
	font-size: var(--fs-h4);
	font-weight: var(--fw-semibold);
	line-height: var(--lh-subheading);
	color: var(--navy);
}

/* Timeline */

.lp-step {
	display: flex;
	gap: var(--space-4);
}

.lp-step__rail {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex: 0 0 12px;
	width: 12px;
}

.lp-step__dot {
	flex: 0 0 auto;
	width: 12px;
	height: 12px;
	margin-top: 5px;
	border-radius: var(--radius-circle);
	background: var(--deep-teal);
}

.lp-step__line {
	flex: 1;
	width: 2px;
	margin-top: 6px;
	background: var(--line);
}

.lp-step > div {
	flex: 1;
	padding-bottom: var(--space-6);
}

.lp-step__key {
	display: block;
	margin-bottom: var(--space-2);
	font-size: 0.75rem;
	font-weight: var(--fw-bold);
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--deep-teal);
}

.lp-step p {
	font-size: var(--fs-small);
	line-height: 1.5;
	color: var(--text-body);
}

.lp-step--last .lp-step__dot {
	background: var(--ochre);
}

.lp-step--last > div {
	padding-bottom: 0;
}

.lp-step__out {
	padding: var(--space-4) var(--space-5) var(--space-5);
	border-radius: var(--radius-md);
	background: var(--cream);
}

.lp-step__out .lp-step__key {
	color: var(--ochre-600);
}

/* ----------------------------------------------------------------------
 * 5. Why Insight Care
 * ------------------------------------------------------------------- */

.lp-why {
	padding-block: var(--section-y);
	background: var(--cream);
}

.lp-why__inner {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: clamp(32px, 5vw, 80px);
}

.lp-why__copy {
	flex: 1 1 52%;
	min-width: 0;
}

.lp-why__title {
	margin-bottom: var(--space-8);
	font-size: var(--fs-h2);
	font-weight: var(--fw-semibold);
	color: var(--ink);
}

.lp-reason {
	display: flex;
	gap: var(--space-5);
	padding-block: var(--space-6);
	border-top: var(--border-w) solid var(--line);
}

.lp-reason:last-of-type {
	border-bottom: var(--border-w) solid var(--line);
}

.lp-reason__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 60px;
	height: 60px;
	border-radius: var(--radius-circle);
	background: var(--deep-teal);
}

.lp-reason__title {
	margin-bottom: var(--space-2);
	font-size: var(--fs-h5);
	font-weight: var(--fw-semibold);
	color: var(--navy);
}

.lp-reason__text {
	max-width: 52ch;
	font-size: var(--fs-body);
	line-height: 1.5;
	color: var(--text-body);
}

.lp-why__cta {
	margin-top: var(--space-8);
}

.lp-why__media {
	position: relative;
	flex: 1 1 42%;
	min-width: 0;
}

.lp-why__photo {
	aspect-ratio: 4 / 5;
}

.lp-why__float {
	position: absolute;
	left: clamp(-56px, -3vw, -20px);
	bottom: var(--space-8);
	width: min(380px, 80%);
	padding: var(--space-7);
	border-radius: var(--radius-card);
	background: var(--sage);
	color: var(--white);
}

.lp-why__float-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-bottom: var(--space-4);
	border-radius: var(--radius-circle);
	background: var(--white);
}

.lp-why__float h3 {
	margin-bottom: var(--space-2);
	font-size: var(--fs-h5);
	font-weight: var(--fw-semibold);
	color: var(--white);
}

.lp-why__float p {
	font-size: var(--fs-xs);
	line-height: 1.5;
	color: rgba(255, 255, 255, .9);
}

/* ----------------------------------------------------------------------
 * 6. Closing CTA and form
 * ------------------------------------------------------------------- */

.lp-close {
	padding-block: var(--section-y);
	background: var(--white);
	scroll-margin-top: calc(var(--header-h) + 16px);
}

.lp-close__inner {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: clamp(32px, 5vw, 80px);
}

.lp-close__copy {
	flex: 1 1 45%;
	min-width: 0;
	padding-top: var(--space-6);
}

.lp-close__title {
	margin-bottom: var(--space-5);
	font-size: var(--fs-h2);
	font-weight: var(--fw-semibold);
	line-height: var(--lh-heading);
}

.lp-close__title .teal {
	color: var(--deep-teal);
}

.lp-close__lead {
	max-width: 36ch;
	margin-bottom: var(--space-8);
	font-size: var(--fs-lead);
	line-height: var(--lh-lead);
	color: var(--ink);
}

.lp-close__btns {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-4);
	margin-bottom: var(--space-9);
}

.lp-trust {
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
	margin: 0;
	padding: 0;
	list-style: none;
}

.lp-trust li {
	display: flex;
	align-items: flex-start;
	gap: var(--space-4);
	font-size: var(--fs-body);
	line-height: 1.5;
	color: var(--text-body);
}

.lp-trust svg {
	flex: 0 0 auto;
	margin-top: 2px;
}

/* Form */

.lp-form {
	flex: 1 1 48%;
	min-width: 0;
	padding: clamp(28px, 3vw, 48px);
	border-radius: var(--radius-lg);
	background: var(--cream);
}

.lp-form__title {
	margin-bottom: var(--space-2);
	font-size: var(--fs-h4);
	font-weight: var(--fw-semibold);
	color: var(--navy);
}

.lp-form__sub {
	margin-bottom: var(--space-8);
	font-size: var(--fs-small);
	color: var(--text-body);
}

.lp-form fieldset {
	margin: 0 0 var(--space-6);
	padding: 0;
	border: 0;
}

.lp-form__hint {
	font-weight: var(--fw-regular);
	color: var(--text-muted);
}

.lp-form__consent {
	margin-bottom: var(--space-7);
}

.lp-form__consent a {
	color: var(--deep-teal);
	font-weight: var(--fw-bold);
}

/* ----------------------------------------------------------------------
 * Footer
 * ------------------------------------------------------------------- */

.lp-footer {
	padding-block: var(--space-9);
	background: var(--deep-teal);
	color: var(--text-on-dark);
}

.lp-footer__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-6) var(--space-9);
}

.lp-footer__brand {
	font-family: var(--font-display);
	font-size: var(--fs-h5);
	font-weight: var(--fw-semibold);
	color: var(--white);
	line-height: 1.2;
}

.lp-footer__brand span {
	display: block;
	font-size: var(--fs-xs);
	color: var(--ochre);
}

.lp-footer__contact {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-4) var(--space-8);
	font-size: var(--fs-small);
}

.lp-footer__contact a,
.lp-footer__addr {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	color: var(--white);
	text-decoration: none;
}

.lp-footer__contact a:hover {
	color: var(--ochre);
}

.lp-footer__legal a {
	color: rgba(255, 255, 255, .78);
	font-size: var(--fs-xs);
	text-decoration: none;
}

.lp-footer__legal a:hover {
	color: var(--ochre);
}

/* ----------------------------------------------------------------------
 * Responsive
 * ------------------------------------------------------------------- */

@media (max-width: 1200px) {
	.lp-services,
	.lp-examples {
		grid-template-columns: var(--grid-2);
	}

	.lp-service--callout {
		grid-column: span 2;
	}

	.lp-promises__row {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 900px) {
	.lp-hero__inner,
	.lp-why__inner,
	.lp-close__inner {
		flex-direction: column;
	}

	.lp-hero__copy,
	.lp-hero__media,
	.lp-why__copy,
	.lp-why__media,
	.lp-close__copy,
	.lp-form {
		flex: 1 1 100%;
		width: 100%;
	}

	.lp-video__cap {
		display: none;
	}

	.lp-why__float {
		position: static;
		width: 100%;
		margin-top: var(--space-5);
	}

	.lp-header__phone span {
		display: none;
	}

	.lp-offer .ic-flower {
		width: 240px;
		opacity: .16;
	}
}

@media (max-width: 680px) {
	.lp-services,
	.lp-examples,
	.lp-promises__grid {
		grid-template-columns: 1fr;
	}

	.lp-service--callout {
		grid-column: span 1;
	}

	.lp-video__play {
		width: 68px;
		height: 68px;
	}

	.lp-video__play svg {
		width: 22px;
		height: 26px;
	}

	.lp-footer__inner {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 640px) {
	.lp-header__inner {
		gap: var(--space-3);
		min-height: 72px;
	}

	.lp-brand {
		flex: 1 1 auto;
		min-width: 0;
	}

	.lp-brand__text {
		font-size: 18px;
		overflow-wrap: anywhere;
	}

	.lp-brand__logo {
		max-height: 48px;
	}

	.lp-header__actions {
		flex: 0 0 auto;
		gap: var(--space-2);
	}

	.lp-header__phone {
		width: 44px;
		height: 44px;
		justify-content: center;
		border: var(--border-w) solid var(--line);
		border-radius: 999px;
	}

	.lp-header .btn--sm {
		min-height: 44px;
		padding-inline: 14px;
		font-size: 15px;
	}

	.lp-header .btn__icon {
		display: none;
	}
}
