/* Framer's intro (80px top, no bottom) and list (50px top) sections, merged. */
.offers {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 50px;
	padding: 80px;

	@media (min-width: 810px) and (max-width: 1199.98px) {
		padding: 50px 40px;
	}

	@media (max-width: 809.98px) {
		padding: 50px 25px;
	}
}

.offers__intro {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--space-10);
	width: 70%;
	overflow: clip;

	@media (max-width: 1199.98px) {
		width: 100%;
	}
}

.offers__heading {
	width: 100%;
	max-width: 800px;
	font-family: var(--font-questrial);
	font-size: var(--fs-40);
	font-weight: var(--fw-regular);
	line-height: var(--lh-120);
	letter-spacing: var(--ls-wide);
	color: var(--color-olive);
	text-align: center;

	& em {
		font-family: var(--font-cormorant);
		font-size: var(--fs-60);
		font-style: italic;
		font-weight: var(--fw-bold);
	}
}

.offers__text {
	width: 100%;
	max-width: 800px;
	text-align: center;
}

.offers__list {
	display: flex;
	flex-direction: column;
	gap: var(--space-20);
	width: 100%;
	scroll-margin-top: 24px;
}

/* Variants: Default (desktop), Variant_small (tablet), Mobile_small (mobile). */
.offer-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	width: 100%;
	padding: var(--space-30);
	background: var(--color-cream);
	border-radius: var(--radius-12);

	@media (max-width: 1199.98px) {
		border-radius: 0;
		box-shadow: inset 0 1px 0 var(--color-ink-10);
	}

	@media (max-width: 809.98px) {
		border-radius: var(--radius-10);
	}
}

.offer-card__body {
	display: flex;
	flex-direction: column;
	gap: var(--space-5);
	width: 100%;
	overflow: clip;
}

.offer-card__head {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: var(--space-10);
	width: 100%;
	overflow: clip;

	@media (max-width: 809.98px) {
		flex-direction: column;
	}
}

.offer-card__title {
	flex: 1 0 0;
	min-width: 1px;

	@media (max-width: 809.98px) {
		flex: none;
		width: 100%;
	}
}

.offer-card__pricing {
	display: flex;
	flex: 1 0 0;
	flex-direction: column;
	align-items: flex-end;
	justify-content: flex-end;
	min-width: 1px;
	max-width: 300px;
	overflow: clip;

	@media (max-width: 809.98px) {
		flex: none;
		justify-content: flex-start;
		gap: var(--space-5);
		width: 100%;
		max-width: none;
	}
}

.offer-card__price-row {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: var(--space-5);
	width: 100%;
	text-align: right;

	@media (max-width: 809.98px) {
		justify-content: flex-start;
	}
}

.offer-card__nowrap {
	white-space: nowrap;
}

.offer-card__duration {
	width: 100%;
	text-align: right;

	@media (max-width: 809.98px) {
		text-align: left;
	}
}

.offer-card__main {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 26px;
	width: 100%;

	@media (max-width: 809.98px) {
		flex-direction: column;
	}
}

.offer-card__image {
	position: relative;
	flex: none;
	width: 40%;
	height: 235px;
	overflow: clip;

	@media (max-width: 809.98px) {
		width: 100%;
	}
}

.offer-card__text {
	flex: 1 0 0;
	min-width: 1px;

	/* The small text preset's 20px paragraph spacing. */
	& > * + * {
		margin-top: var(--space-20);
	}

	@media (max-width: 809.98px) {
		flex: none;
		width: 100%;
	}
}

.offer-card__info {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: var(--space-30);
	width: 100%;
	padding-top: var(--space-24);
	overflow: clip;
	box-shadow: inset 0 1px 0 var(--color-ink-10);

	@media (max-width: 809.98px) {
		flex-direction: column;
		gap: var(--space-20);
		padding-top: 15px;
	}
}

.offer-card__info-item {
	display: flex;
	flex: 1 0 0;
	align-items: flex-start;
	gap: var(--space-16);
	min-width: 1px;
	overflow: clip;

	& svg {
		flex: none;
		fill: none;
		stroke: var(--color-ink-70);
		stroke-linecap: round;
		stroke-linejoin: round;
		stroke-width: 1;
	}

	@media (max-width: 809.98px) {
		flex: none;
		flex-direction: column;
		gap: var(--space-10);
		width: 100%;
	}
}

.offer-card__info-text {
	display: flex;
	flex: 1 0 0;
	flex-direction: column;
	justify-content: center;
	gap: var(--space-5);
	min-width: 1px;
	overflow: clip;

	@media (max-width: 809.98px) {
		flex: none;
		width: 100%;
	}
}

.offer-card__footer {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	width: 100%;
	overflow: clip;

	@media (max-width: 809.98px) {
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;
		gap: var(--space-20);
	}

	/* The short label ("Umów się") is mobile-only on this card. */
	@media (min-width: 810px) and (max-width: 1199.98px) {
		& .btn__label--long {
			display: inline;
		}

		& .btn__label--short {
			display: none;
		}
	}
}

.offer-card__badge {
	padding: 6px 24px;
	font-family: var(--font-questrial);
	font-size: var(--fs-14);
	line-height: var(--lh-140);
	color: var(--color-coral);
	white-space: nowrap;
	background: var(--color-coral-20);
	border-radius: 50px;
	box-shadow: inset 0 0 0 1px var(--color-coral);
}
