/**
 * TailPlay — Homepage sections (hero follow-ups, reviews grid, lifestyle split).
 */

.tp-skip-link {
	position: absolute;
	left: -9999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
	z-index: 100000;
}

.tp-skip-link:focus {
	position: fixed;
	left: var(--tp-space-md, 1rem);
	top: var(--tp-space-md, 1rem);
	width: auto;
	height: auto;
	padding: var(--tp-space-sm, 0.75rem) var(--tp-space-md, 1rem);
	background: var(--tp-surface, #fff);
	color: var(--tp-text, #222);
	overflow: visible;
	clip: auto;
	text-decoration: none;
	border-radius: var(--tp-radius, 8px);
	box-shadow: var(--tp-shadow-md, 0 4px 12px rgba(0, 0, 0, 0.12));
}

.tp-reviews-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: var(--tp-space-lg, 1.5rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.tp-review-card {
	margin: 0;
	padding: var(--tp-space-md, 1rem);
	background: var(--tp-surface, #fff);
	border-radius: var(--tp-radius-lg, 12px);
	box-shadow: var(--tp-shadow, 0 1px 4px rgba(0, 0, 0, 0.08));
	font-size: var(--tp-text-sm, 0.9375rem);
}

.tp-review-card cite {
	display: block;
	margin-top: var(--tp-space-sm, 0.75rem);
	font-style: normal;
	font-weight: 600;
	color: var(--tp-green, #2d5a3d);
}

.tp-home-lifestyle__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--tp-space-2xl, 2rem);
	align-items: center;
	max-width: 56rem;
	margin-left: auto;
	margin-right: auto;
}

@media (max-width: 768px) {
	.tp-home-lifestyle__grid {
		grid-template-columns: 1fr;
	}
}

.tp-home-lifestyle__media .tp-lifestyle__img {
	width: 100%;
	height: auto;
	border-radius: var(--tp-radius-lg, 12px);
	display: block;
}

.tp-hero__actions {
	margin: 0;
}

/* Hero — brand front page (reference layout) */
.tp-hero--placeholder {
	background: linear-gradient(165deg, #4a6354 0%, #2c4034 45%, #1f3d2b 100%);
	min-height: min(72vh, 620px);
	display: flex;
	align-items: center;
	justify-content: center;
}

.tp-hero__headline {
	margin: 0 0 var(--tp-space-sm);
	font-family: var(--tp-font-display);
	font-size: var(--tp-text-hero-line);
	font-weight: 600;
	line-height: var(--tp-leading-snug);
	color: rgba(255, 255, 255, 0.98);
	text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.tp-hero--with-video .tp-hero__headline,
.tp-hero--with-image .tp-hero__headline {
	color: rgba(255, 255, 255, 0.98);
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.tp-hero--placeholder .tp-hero__tagline,
.tp-hero--placeholder .tp-hero__intro {
	color: rgba(255, 255, 255, 0.92);
}

.tp-hero__intro {
	max-width: 36rem;
	margin-left: auto;
	margin-right: auto;
}

.tp-hero--premium .tp-hero__content {
	text-align: center;
	padding-top: clamp(3rem, 8vw, 5rem);
	padding-bottom: clamp(3rem, 8vw, 5rem);
}

.tp-hero--premium .tp-hero__tagline {
	font-size: var(--tp-text-lg);
	opacity: 0.95;
	margin-bottom: var(--tp-space-md);
}

.tp-hero__trust {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--tp-space-sm) var(--tp-space-xl);
	margin-top: var(--tp-space-xl);
	font-size: var(--tp-text-sm);
	color: rgba(255, 255, 255, 0.88);
}

.tp-hero__trust-item {
	display: inline-flex;
	align-items: center;
}

.tp-hero__trust-item:not(:last-child)::after {
	content: "·";
	margin-left: var(--tp-space-xl);
	opacity: 0.6;
}

.tp-hero__actions-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: var(--tp-space-md) var(--tp-space-lg);
	margin-top: var(--tp-space-xl);
}

.tp-hero__actions-row .tp-btn {
	margin: 0;
}

@media (max-width: 600px) {
	.tp-hero__actions-row {
		flex-direction: column;
		width: 100%;
		max-width: 22rem;
		margin-left: auto;
		margin-right: auto;
		gap: var(--tp-space-md);
	}

	.tp-hero__actions-row .tp-btn {
		width: 100%;
		text-align: center;
	}
}

/* Full-width warm sand transition under hero */
.tp-hero-sand-rule {
	width: 100%;
	height: 0.75rem;
	background-color: var(--tp-sand);
}

/* Flagship split (homepage) */
.tp-home-flagship__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--tp-space-2xl, 2.5rem);
	align-items: center;
	max-width: 56rem;
	margin-left: auto;
	margin-right: auto;
}

@media (max-width: 768px) {
	.tp-home-flagship__grid {
		grid-template-columns: 1fr;
	}
}

.tp-home-flagship__media-link {
	display: block;
	line-height: 0;
	border-radius: var(--tp-radius-lg, 14px);
	overflow: hidden;
	box-shadow: var(--tp-shadow-md, 0 8px 24px rgba(43, 43, 43, 0.1));
}

.tp-home-flagship__img {
	width: 100%;
	height: auto;
	display: block;
}

.tp-home-flagship__product-title {
	font-family: var(--tp-font-display);
	font-size: var(--tp-text-2xl);
	margin: 0 0 var(--tp-space-sm);
}

.tp-home-flagship__product-title a {
	color: var(--tp-heading);
	text-decoration: none;
}

.tp-home-flagship__product-title a:hover {
	color: var(--tp-green);
}

.tp-home-flagship__price {
	font-size: var(--tp-text-lg);
	font-weight: 600;
	color: var(--tp-green);
	margin: 0 0 var(--tp-space-md);
}

.tp-home-flagship__excerpt {
	color: var(--tp-text-muted);
	margin: 0 0 var(--tp-space-lg);
	line-height: var(--tp-leading-relaxed, 1.7);
}

.tp-home-flagship__benefits {
	margin: 0 0 var(--tp-space-lg);
	padding-left: 1.25rem;
	list-style: disc;
	color: var(--tp-text-muted);
	font-size: var(--tp-text-sm);
	line-height: 1.7;
}

.tp-home-flagship__benefits li {
	margin-bottom: 0.25rem;
}

.tp-home-flagship__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--tp-space-sm);
}

/* Section title shared */
.tp-section-title {
	font-family: var(--tp-font-display);
	font-size: clamp(1.5rem, 3vw, 1.75rem);
	font-weight: 600;
	color: var(--tp-green);
}

.tp-text-center {
	text-align: center;
}

/* Problem / solution section */
.tp-problem-solution__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--tp-space-2xl);
	align-items: center;
	max-width: 56rem;
	margin-left: auto;
	margin-right: auto;
}

@media (max-width: 768px) {
	.tp-problem-solution__grid {
		grid-template-columns: 1fr;
	}
}

.tp-problem-solution__img {
	width: 100%;
	height: auto;
	border-radius: var(--tp-radius-lg);
	display: block;
}

.tp-problem-solution__copy .tp-section-title {
	margin-bottom: var(--tp-space-md);
}

.tp-problem-solution__problem,
.tp-problem-solution__solution {
	color: var(--tp-text-muted);
	line-height: var(--tp-leading-relaxed);
	margin: 0 0 var(--tp-space-md);
}

/* Benefits section */
.tp-benefits__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: var(--tp-space-lg);
	margin-top: var(--tp-space-xl);
}

.tp-benefits__card {
	background: var(--tp-surface);
	border-radius: var(--tp-radius-lg);
	padding: var(--tp-space-lg);
	box-shadow: var(--tp-shadow);
	transition: box-shadow var(--tp-transition);
}

.tp-benefits__card:hover {
	box-shadow: var(--tp-shadow-md);
}

.tp-benefits__icon {
	color: var(--tp-green);
	margin-bottom: var(--tp-space-md);
}

.tp-benefits__icon svg {
	display: block;
}

.tp-benefits__title {
	font-size: var(--tp-text-base);
	font-weight: 600;
	margin: 0 0 var(--tp-space-sm);
	color: var(--tp-heading);
}

.tp-benefits__desc {
	font-size: var(--tp-text-sm);
	color: var(--tp-text-muted);
	line-height: var(--tp-leading-relaxed);
	margin: 0;
}

/* Brand reassurance */
.tp-brand-reassurance__inner {
	max-width: 42rem;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.tp-brand-reassurance__copy {
	margin: var(--tp-space-lg) 0;
	color: var(--tp-text-muted);
	line-height: var(--tp-leading-relaxed);
}

.tp-brand-reassurance__copy p {
	margin: 0 0 var(--tp-space-md);
}

.tp-brand-reassurance__copy p:last-child {
	margin-bottom: 0;
}

.tp-brand-reassurance__cta {
	margin: var(--tp-space-xl) 0 0;
}

/* FAQ preview */
.tp-faq-preview__list {
	max-width: 36rem;
	margin: var(--tp-space-lg) auto 0;
}

.tp-faq-preview__item {
	border-bottom: 1px solid var(--tp-border);
}

.tp-faq-preview__item:last-child {
	border-bottom: none;
}

.tp-faq-preview__q {
	padding: var(--tp-space-md) 0;
	font-weight: 500;
	cursor: pointer;
	list-style: none;
}

.tp-faq-preview__q::-webkit-details-marker {
	display: none;
}

.tp-faq-preview__q::after {
	content: "+";
	float: right;
	font-weight: 400;
	color: var(--tp-text-muted);
}

.tp-faq-preview__item[open] .tp-faq-preview__q::after {
	content: "−";
}

.tp-faq-preview__a {
	padding: 0 0 var(--tp-space-md);
	font-size: var(--tp-text-sm);
	color: var(--tp-text-muted);
	line-height: var(--tp-leading-relaxed);
}

.tp-faq-preview__link {
	text-align: center;
	margin-top: var(--tp-space-lg);
}

.tp-link {
	color: var(--tp-green);
	text-decoration: none;
}

.tp-link:hover {
	text-decoration: underline;
}

/* Final CTA */
.tp-final-cta__inner {
	text-align: center;
	padding: var(--tp-space-3xl) var(--tp-space-lg);
}

.tp-final-cta__title {
	font-size: clamp(1.5rem, 3vw, 2rem);
	color: var(--tp-green);
	margin: 0 0 var(--tp-space-sm);
}

.tp-final-cta__copy {
	color: var(--tp-text-muted);
	margin: 0 0 var(--tp-space-lg);
}

/* Section wrapper spacing */
.tp-section-wrapper {
	padding-top: var(--tp-section-y);
	padding-bottom: var(--tp-section-y);
}

.tp-section-wrapper--alt {
	background-color: var(--tp-bg-soft);
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	width: 100vw;
	max-width: 100vw;
}

.tp-section-wrapper--alt > .tp-container {
	box-sizing: border-box;
}

.tp-home-reviews-carousel .tp-pdp-reviews__title {
	margin-bottom: var(--tp-space-lg);
}
