/*
Theme Name: SpaDirect
Description: Block theme for the SpaDirect e-commerce website.
Version: 1.2.0
Text Domain: spadirect
*/

.spadirect-header-tools {
	flex: 1 1 20rem;
}

.spadirect-header-tools .wp-block-search {
	min-width: min(100%, 16rem);
}

.spadirect-home {
	overflow: hidden;
}

.spadirect-hero,
.spadirect-section {
	padding: clamp(4rem, 8vw, 8rem) max(var(--wp--preset--spacing--40), 4vw);
}

.spadirect-hero {
	background:
		radial-gradient(circle at 83% 20%, rgba(52, 175, 132, 0.16), transparent 27rem),
		linear-gradient(135deg, #f4faf7 0%, #ffffff 58%);
}

.spadirect-hero-columns {
	gap: clamp(3rem, 7vw, 7rem);
}

.spadirect-eyebrow {
	color: var(--wp--preset--color--primary);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	margin-bottom: 1rem;
	text-transform: uppercase;
}

.spadirect-hero-title {
	font-size: clamp(3rem, 6vw, 5.75rem);
	letter-spacing: -0.055em;
	line-height: 0.98;
	max-width: 12ch;
}

.spadirect-hero-copy {
	font-size: clamp(1.05rem, 1.4vw, 1.3rem);
	max-width: 39rem;
}

.spadirect-hero-actions {
	margin-top: 2rem;
}

.spadirect-hero-note {
	color: #526059;
	margin-top: 1rem;
}

.spadirect-hero-visual {
	background: #123f33;
	border-radius: 2rem;
	box-shadow: 0 2rem 5rem rgba(18, 63, 51, 0.18);
	color: #fff;
	min-height: clamp(24rem, 42vw, 34rem);
	overflow: hidden;
	padding: clamp(2rem, 5vw, 4rem);
	position: relative;
}

.spadirect-hero-visual::before,
.spadirect-hero-visual::after {
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 50%;
	content: "";
	position: absolute;
}

.spadirect-hero-visual::before {
	height: 22rem;
	right: -7rem;
	top: -6rem;
	width: 22rem;
}

.spadirect-hero-visual::after {
	bottom: -10rem;
	height: 28rem;
	left: -9rem;
	width: 28rem;
}

.spadirect-visual-label,
.spadirect-visual-title,
.spadirect-visual-tags {
	position: relative;
	z-index: 1;
}

.spadirect-visual-label {
	color: #9fdbc5;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.2em;
}

.spadirect-visual-title {
	font-size: clamp(2.25rem, 4vw, 4rem);
	letter-spacing: -0.04em;
	margin-top: clamp(5rem, 12vw, 10rem);
}

.spadirect-visual-tags {
	bottom: 2rem;
	gap: 0.5rem;
	position: absolute;
}

.spadirect-visual-tags p {
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 99px;
	font-size: 0.8rem;
	padding: 0.45rem 0.85rem;
}

.spadirect-trust-bar {
	background: #123f33;
	color: #fff;
	padding: 1.75rem max(var(--wp--preset--spacing--40), 4vw);
}

.spadirect-trust-items {
	margin-bottom: 0;
}

.spadirect-trust-items p {
	font-size: 0.9rem;
	line-height: 1.45;
}

.spadirect-trust-items span {
	color: #bcd3ca;
}

.spadirect-section-heading {
	margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
	max-width: 48rem;
}

.spadirect-section-heading h2,
.spadirect-advantages h2,
.spadirect-faq h2,
.spadirect-final-cta h2 {
	font-size: clamp(2.25rem, 4vw, 4rem);
	letter-spacing: -0.04em;
}

.spadirect-section-heading.is-centered,
.spadirect-final-cta {
	text-align: center;
}

.spadirect-card-grid,
.spadirect-process-grid {
	gap: 1rem;
}

.spadirect-offer-card {
	background: #f3f6f4;
	border-radius: 1rem;
	display: flex;
	flex-direction: column;
	min-height: 24rem;
	padding: clamp(1.75rem, 3vw, 3rem);
}

.spadirect-offer-card.is-featured {
	background: #dff2e9;
}

.spadirect-card-number,
.spadirect-step {
	color: var(--wp--preset--color--primary);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
}

.spadirect-offer-card h3 {
	font-size: clamp(1.5rem, 2.5vw, 2.25rem);
	margin-top: auto;
}

.spadirect-text-link {
	font-weight: 700;
}

.spadirect-advantages {
	background: #10261f;
	color: #fff;
}

.spadirect-benefit-list {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 1rem;
	padding: clamp(1.5rem, 4vw, 3rem);
}

.spadirect-benefit {
	align-items: flex-start;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	padding: 1.25rem 0;
}

.spadirect-benefit:last-child {
	border-bottom: 0;
}

.spadirect-benefit-icon {
	align-items: center;
	background: #dff2e9;
	border-radius: 50%;
	color: #123f33;
	display: flex;
	flex: 0 0 2rem;
	height: 2rem;
	justify-content: center;
}

.spadirect-process {
	background: #f3f6f4;
}

.spadirect-process-grid .wp-block-column {
	background: #fff;
	border-radius: 1rem;
	padding: clamp(1.75rem, 3vw, 3rem);
}

.spadirect-step {
	align-items: center;
	border: 1px solid #b9d8ca;
	border-radius: 50%;
	display: flex;
	height: 2.75rem;
	justify-content: center;
	width: 2.75rem;
}

.spadirect-faq-list details {
	border-bottom: 1px solid #dbe3df;
	padding: 1.35rem 0;
}

.spadirect-faq-list summary {
	cursor: pointer;
	font-size: 1.1rem;
	font-weight: 650;
}

.spadirect-final-cta {
	background: #dff2e9;
}

.spadirect-final-cta .wp-block-group {
	max-width: 55rem;
}

.spadirect-final-cta .wp-block-buttons {
	margin-top: 2rem;
}

.spadirect-home .wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	border: 1px solid currentColor;
	color: var(--wp--preset--color--primary);
}

@media (max-width: 781px) {
	.spadirect-header-main,
	.spadirect-header-tools {
		align-items: stretch;
		width: 100%;
	}

	.spadirect-header-tools .wp-block-search {
		flex: 1 1 100%;
	}

	.spadirect-footer-columns {
		gap: var(--wp--preset--spacing--50);
	}

	.spadirect-hero,
	.spadirect-section {
		padding-bottom: 4rem;
		padding-top: 4rem;
	}

	.spadirect-hero-visual {
		min-height: 25rem;
	}

	.spadirect-trust-items {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 520px) {
	.spadirect-trust-items {
		grid-template-columns: 1fr;
	}

	.spadirect-hero-title {
		font-size: 2.8rem;
	}
}
