/* Гарантии — вёрстка по структуре freshness-guarantee (MyFlowers), типографика и токены как about-page.css */

.bp-guarantee-page > .wrapper:first-child {
	max-width: none;
	width: 1196px;
	padding-left: 10px;
	padding-right: 10px;
}

.bp-guarantee-page .breadcrumbs {
	margin-left: 0;
	padding-left: 0;
}

.bp-guarantee__container {
	max-width: 1032px;
	margin: 0 auto;
	padding-left: 10px;
	padding-right: 10px;
	box-sizing: border-box;
}

/* —— Hero (overlay на фото) —— */
.bp-guarantee__hero-banner {
	position: relative;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	min-height: 533px;
	overflow: hidden;
	background: #f7faf8;
}

.bp-guarantee__hero-media {
	position: absolute;
	inset: 0;
}

.bp-guarantee__hero-media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 58% 40%;
}

.bp-guarantee__hero-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 48px 16px;
	background: rgba(0, 0, 0, 0.28);
}

.bp-guarantee__hero-content {
	text-align: center;
	max-width: 720px;
	width: 100%;
	margin: 0 auto;
}

.bp-guarantee-page.content_wp .bp-guarantee__hero-title {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0 0 20px;
	font: 700 70px/77px var(--bp-about-serif) !important;
	color: #fff !important;
	letter-spacing: -1px !important;
}

.bp-guarantee__hero-title-line {
	display: block;
	width: 100%;
}

.bp-guarantee__hero-title-line--accent {
	color: #a8deb9;
	font-weight: 700;
}

.bp-guarantee__hero-title-line--main {
	color: #fff;
	font-weight: 700;
}

.bp-guarantee__hero-lead {
	margin: 0 auto 32px;
	max-width: 680px;
	font: 400 24px/28.8px var(--bp-about-sans);
	color: #fff;
}

.bp-guarantee__hero-btn {
	min-height: 48px;
	padding: 0 28px;
	border-radius: 999px;
	font-weight: 500;
}

.bp-guarantee__br-desc {
	display: none;
}

/* —— Заголовки секций (как about, mb 50) —— */
.bp-guarantee-page.content_wp .bp-guarantee__h2 {
	margin-bottom: 50px !important;
	text-align: center;
}


/* —— Key promises: 4 × 240, gap 24 —— */
.bp-guarantee__section--promises {
	padding-top: 60px;
	padding-bottom: 60px;
}

.bp-guarantee__promises-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	text-align: left;
	max-width: 1032px;
	margin: 0 auto;
}

.bp-guarantee__promise-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	background: #fff;
	border-radius: 16px;
	padding: 24px;
	min-height: 100%;
	box-sizing: border-box;
	box-shadow: 0 4px 24px rgba(31, 34, 38, 0.04);
}

.bp-guarantee__promise-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin-bottom: 16px;
	border-radius: 12px;
	background: #ebfaf0;
	flex-shrink: 0;
}

.bp-guarantee__promise-icon img {
	display: block;
	width: 40px;
	height: 40px;
	object-fit: contain;
}

.bp-guarantee-page.content_wp .bp-guarantee__promise-title {
	margin: 0 0 10px;
	font: 700 22px/1.25 var(--bp-about-serif) !important;
	color: var(--bp-about-text) !important;
}

.bp-guarantee__promise-text {
	margin: 0;
	font: 400 16px/1.5 var(--bp-about-sans);
	color: var(--bp-about-body);
}

/* —— 5-day promise (структура как guarantee-promise на референсе) —— */
.bp-guarantee-page {
	--bp-guarantee-green-pale: #a8deb9;
	--bp-guarantee-green-deep: #009959;
}

.bp-guarantee__section--five {
	padding-top: 60px;
	padding-bottom: 60px;
	background: #f7f7f7;
}

.bp-guarantee-page.content_wp .bp-guarantee__h2--promise {
	margin-bottom: 50px !important;
	font: 700 70px/1.1 var(--bp-about-serif) !important;
	letter-spacing: -0.03em !important;
}

.bp-guarantee__five-grid {
	display: grid;
	grid-template-columns: 360px minmax(0, 1fr);
	column-gap: 168px;
	align-items: center;
	text-align: left;
}

.bp-guarantee__five-intro {
	max-width: 360px;
}

.bp-guarantee__five-badge {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 132px;
	height: 132px;
	margin-inline: auto;
	border-radius: 50%;
	background: #fff;
}

.bp-guarantee__five-num {
	display: block;
	font: 600 120px/1 var(--bp-about-sans);
	color: var(--bp-about-accent);
}

.bp-guarantee__five-label {
	display: block;
	margin-top: -22px;
	font: 600 70px/1 var(--bp-about-sans);
	text-align: center;
	color: var(--bp-about-accent);
}

.bp-guarantee-page.content_wp .bp-guarantee__five-para {
	margin-top: 28px;
	font: 400 20px/28px var(--bp-about-sans) !important;
	letter-spacing: normal !important;
	word-spacing: normal;
	text-align: left;
	color: var(--bp-about-body);
}

.bp-guarantee-page.content_wp .bp-guarantee__five-para p {
	margin: 0;
	font: inherit !important;
	letter-spacing: inherit !important;
	line-height: inherit !important;
}

.bp-guarantee-page.content_wp .bp-guarantee__five-para em {
	font-style: normal;
	font-weight: 400;
	color: var(--bp-about-accent);
}

.bp-guarantee__five-list {
	list-style: none;
	margin: 0;
	padding: 0;
	max-width: 504px;
}

.bp-guarantee__five-item + .bp-guarantee__five-item {
	margin-top: 24px;
}

.bp-guarantee__five-item-title {
	position: relative;
	margin: 0;
	font: 600 70px/80px var(--bp-about-sans);
	letter-spacing: -0.02em;
	color: var(--bp-guarantee-green-pale);
}

.bp-guarantee__five-item-title::before {
	content: '';
	position: absolute;
	top: 5px;
	left: 0;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: var(--bp-guarantee-green-deep);
	z-index: 0;
}

.bp-guarantee__five-item-word,
.bp-guarantee__five-item-tail {
	position: relative;
	z-index: 1;
}

.bp-guarantee__five-item-word {
	font-size: 70px;
}

.bp-guarantee__five-item-tail {
	margin-left: 12px;
	font-size: 40px;
	line-height: 1;
}

.bp-guarantee-page.content_wp .bp-guarantee__five-item-text {
	margin: 0;
	font: 400 18px/27px var(--bp-about-sans) !important;
	letter-spacing: normal !important;
	color: var(--bp-about-body);
}

.bp-guarantee-page.content_wp a.bp-guarantee__link {
	color: var(--bp-about-accent);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* —— Replacements & care (как guarantee-replacements) —— */
.bp-guarantee__section--care {
	padding-top: 60px;
	padding-bottom: 60px;
	background: linear-gradient(180deg, #fff 0%, #effbf3 50%, #effbf3 75%, #fff 100%);
}

.bp-guarantee-page.content_wp .bp-guarantee__h2--replacements {
	margin-bottom: 48px !important;
	font: 700 70px/1.1 var(--bp-about-serif) !important;
	letter-spacing: -0.03em !important;
}

.bp-guarantee-page.content_wp .bp-guarantee__h2--replacements .bp-about__accent {
	display: block;
}

.bp-guarantee__steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px;
	text-align: left;
}

.bp-guarantee__step {
	display: flex;
	flex-direction: column;
	min-height: 250px;
	background: #fff;
	border-radius: 24px;
	padding: 24px;
	box-shadow: 0 4px 20px rgba(31, 34, 38, 0.08);
}

.bp-guarantee__step-num {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 24px;
	font: 600 30px/1 var(--bp-about-sans);
	letter-spacing: normal;
	color: var(--bp-about-accent);
}

.bp-guarantee__step-num::after {
	content: '';
	flex: 1 1 auto;
	height: 1px;
	background: #e5e5e5;
}

.bp-guarantee-page.content_wp .bp-guarantee__step-title {
	margin: 0 0 12px;
	font: 700 20px/1.3 var(--bp-about-sans) !important;
	letter-spacing: normal !important;
	color: var(--bp-about-text) !important;
}

.bp-guarantee-page.content_wp .bp-guarantee__step-text {
	margin: auto 0 0;
	font: 400 16px/24px var(--bp-about-sans) !important;
	letter-spacing: normal !important;
	color: var(--bp-about-subtitle);
}

.bp-guarantee__notes {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 30px;
	margin-top: 24px;
	text-align: left;
}

.bp-guarantee__note {
	display: flex;
	flex-direction: column;
	border-radius: 24px;
	padding: 24px;
}

.bp-guarantee__note--green {
	background: var(--bp-guarantee-green-deep);
}

.bp-guarantee__note--mint {
	background: #ebfaf0;
}

.bp-guarantee-page.content_wp .bp-guarantee__note--green .bp-guarantee__note-title {
	color: #fff !important;
}

.bp-guarantee-page.content_wp .bp-guarantee__note--green .bp-guarantee__note-text {
	color: #ebfaf0 !important;
}

.bp-guarantee-page.content_wp .bp-guarantee__note--mint .bp-guarantee__note-title {
	color: var(--bp-about-accent) !important;
}

.bp-guarantee-page.content_wp .bp-guarantee__note--mint .bp-guarantee__note-text {
	color: var(--bp-about-subtitle) !important;
}

.bp-guarantee-page.content_wp .bp-guarantee__note-title {
	margin: 0 0 12px;
	font: 700 20px/1.3 var(--bp-about-sans) !important;
	letter-spacing: normal !important;
	color: var(--bp-about-text) !important;
}

.bp-guarantee-page.content_wp .bp-guarantee__note-text {
	margin: auto 0 0;
	font: 400 16px/24px var(--bp-about-sans) !important;
	letter-spacing: normal !important;
}

/* —— Reviews (ближе к блоку «замена и забота») —— */
.bp-guarantee-page.bp-about-page .bp-guarantee__reviews {
	padding: 24px 0 24px;
}

.bp-guarantee-page .bp-guarantee__section--care {
	padding-bottom: 32px;
}

.bp-guarantee-page .bp-guarantee__reviews .bp-about__reviews-head {
	margin-bottom: 24px;
}

.bp-guarantee-page.content_wp .bp-guarantee__reviews .bp-guarantee__h2 {
	margin-bottom: 0 !important;
}

.bp-guarantee-page .bp-guarantee__reviews .reviews_wp--yandex {
	margin-top: 0;
	margin-bottom: 0;
}

/* —— FAQ (ближе к отзывам) —— */
.bp-guarantee-page .bp-guarantee__section--faq {
	padding-top: 24px;
	padding-bottom: 65px;
	background: #fff;
}

.bp-guarantee-page .bp-guarantee__faq-wrap .category-faq-cards.faq-section {
	margin-bottom: 0;
}

.bp-guarantee__faq-wrap .category-faq-cards .faq-container > .h2 {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

.bp-guarantee__faq-wrap .category-faq-cards {
	text-align: left;
}

/* —— CTA (как about-cta на референсе) —— */
.bp-guarantee__cta {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: 60px 20px;
	text-align: center;
	background: #effaf4;
	box-sizing: border-box;
}

.bp-guarantee__cta-inner {
	max-width: 1032px;
	margin: 0 auto;
}

.bp-guarantee-page.content_wp .bp-guarantee__cta-title {
	margin: 0 0 60px;
	font: 700 70px/1.1 var(--bp-about-serif) !important;
	letter-spacing: -0.03em !important;
	color: var(--bp-about-text) !important;
}

.bp-guarantee-page.content_wp .bp-guarantee__cta-title .bp-about__accent {
	color: var(--bp-about-accent) !important;
}

.bp-guarantee__cta-btn {
	display: inline-block;
	box-sizing: border-box;
	min-width: min(684px, 100%);
	padding: 14px 48px;
	border-radius: 12px;
	font: 500 16px/24px var(--bp-about-sans);
	color: #fff !important;
	text-decoration: none !important;
	background: var(--bp-about-accent);
	transition: background 0.2s ease;
}

.bp-guarantee__cta-btn:hover {
	color: #fff !important;
	background: #1f9443;
}

@media (max-width: 1024px) {
	.bp-guarantee__promises-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}
}

@media (max-width: 640px) {
	.bp-guarantee__promises-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.bp-guarantee__promise-card {
		padding: 20px 16px;
	}

	.bp-guarantee-page.content_wp .bp-guarantee__promise-title {
		font-size: 20px !important;
	}

	.bp-guarantee__promise-text {
		font-size: 15px;
		line-height: 1.45;
	}
}

@media (max-width: 1079px) {
	.bp-guarantee__five-grid {
		column-gap: 48px;
	}
}

@media (max-width: 768px) {
	.bp-guarantee-page > .wrapper:first-child {
		width: 100%;
		padding-left: 15px;
		padding-right: 15px;
	}

	.bp-guarantee__hero-banner {
		min-height: 420px;
	}

	.bp-guarantee__hero-overlay {
		padding: 32px 15px;
		background: rgba(0, 0, 0, 0.35);
	}

	.bp-guarantee-page.content_wp .bp-guarantee__hero-title {
		font-size: clamp(32px, 8vw, 44px) !important;
		line-height: 1.1 !important;
		letter-spacing: -0.5px !important;
		margin-bottom: 16px !important;
	}

	.bp-guarantee__hero-lead {
		font-size: 16px;
		line-height: 1.45;
		margin-bottom: 24px;
	}

	.bp-guarantee-page.content_wp .bp-guarantee__h2 {
		font-size: 24px !important;
		line-height: 1.35 !important;
		letter-spacing: normal !important;
		margin-bottom: 30px !important;
	}

	.bp-guarantee__section--promises {
		padding-top: 40px;
		padding-bottom: 40px;
	}

	.bp-guarantee-page .bp-guarantee__section--faq {
		padding-top: 16px;
		padding-bottom: 40px;
	}

	.bp-guarantee-page.bp-about-page .bp-guarantee__reviews {
		padding-top: 16px;
		padding-bottom: 16px;
	}

	.bp-guarantee-page .bp-guarantee__section--care {
		padding-bottom: 20px;
	}

	.bp-guarantee-page .bp-guarantee__reviews .bp-about__reviews-head {
		margin-bottom: 16px;
	}

	.bp-guarantee__section--care {
		padding-top: 25px;
		padding-bottom: 25px;
		background: none;
	}

	.bp-guarantee-page.content_wp .bp-guarantee__h2--replacements {
		margin-bottom: 24px !important;
		font-size: 24px !important;
		line-height: 1.2 !important;
		letter-spacing: -0.01em !important;
	}

	.bp-guarantee__steps {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.bp-guarantee__step {
		min-height: 0;
		padding: 20px;
		border-radius: 12px;
	}

	.bp-guarantee__step-num {
		margin-bottom: 16px;
		font-size: 24px;
	}

	.bp-guarantee-page.content_wp .bp-guarantee__step-title {
		font-size: 18px !important;
	}

	.bp-guarantee-page.content_wp .bp-guarantee__step-text {
		margin-top: 12px;
		font-size: 14px !important;
		line-height: 20px !important;
	}

	.bp-guarantee__notes {
		grid-template-columns: 1fr;
		gap: 16px;
		margin-top: 16px;
	}

	.bp-guarantee__note {
		padding: 20px;
		border-radius: 12px;
	}

	.bp-guarantee-page.content_wp .bp-guarantee__note-title {
		font-size: 18px !important;
	}

	.bp-guarantee-page.content_wp .bp-guarantee__note-text {
		font-size: 14px !important;
		line-height: 20px !important;
	}

	.bp-guarantee__section--five {
		padding-top: 50px;
		padding-bottom: 50px;
	}

	.bp-guarantee-page.content_wp .bp-guarantee__h2--promise {
		margin-bottom: 30px !important;
		font-size: 24px !important;
		line-height: 1.2 !important;
		letter-spacing: -0.01em !important;
	}

	.bp-guarantee__five-grid {
		display: block;
	}

	.bp-guarantee__five-intro {
		max-width: none;
	}

	.bp-guarantee__five-badge {
		width: 50px;
		height: 50px;
	}

	.bp-guarantee__five-num {
		font-size: 40px;
	}

	.bp-guarantee__five-label {
		margin-top: -10px;
		font-size: 40px;
	}

	.bp-guarantee-page.content_wp .bp-guarantee__five-para {
		margin-top: 16px;
		font-size: 16px !important;
		line-height: 1.45 !important;
		text-align: center;
	}

	.bp-guarantee__five-list {
		margin-top: 32px;
		max-width: none;
	}

	.bp-guarantee__five-item + .bp-guarantee__five-item {
		margin-top: 32px;
	}

	.bp-guarantee__five-item-title {
		font-size: 40px;
		line-height: 48px;
		text-align: center;
	}

	.bp-guarantee__five-item-title::before {
		top: 12px;
		left: 50%;
		width: 190px;
		height: 24px;
		border-radius: 50%;
		transform: translateX(-50%);
	}

	.bp-guarantee__five-item-word {
		display: block;
		font-size: 40px;
	}

	.bp-guarantee__five-item-tail {
		margin-left: 0;
		font-size: 40px;
	}

	.bp-guarantee-page.content_wp .bp-guarantee__five-item-text {
		margin-top: 16px;
		font-size: 15px !important;
		line-height: 1.45 !important;
		text-align: center;
	}

	.bp-guarantee__br-desc {
		display: inline;
	}

	.bp-guarantee__cta {
		padding-top: 50px;
		padding-bottom: 50px;
	}

	.bp-guarantee-page.content_wp .bp-guarantee__cta-title {
		margin-bottom: 30px !important;
		font-size: 24px !important;
		line-height: 1.35 !important;
		letter-spacing: normal !important;
	}

	.bp-guarantee__cta-btn {
		display: block;
		width: 100%;
		min-width: 0;
		padding: 10px 24px;
	}
}
