/* ideal.css — sekcja "Idealne na każdą okazję" (assety z img/ideal-section) */

.okazje {
	position: relative;
	overflow: hidden;
	padding: clamp(3rem, 6vw, 6rem) 1.5rem clamp(3.5rem, 6vw, 6rem);
	background: #fdeef0 url('../img/ideal-section/01_tlo_sekcji_okazje.webp') center / 100% 100% no-repeat;
}

/* dekoracje */
.okazje__tag {
	position: absolute;
	top: 2%;
	left: 1.5%;
	width: clamp(110px, 11vw, 165px);
	z-index: 1;
	pointer-events: none;
}
.okazje__note {
	position: absolute;
	top: 3%;
	right: 1.5%;
	width: clamp(120px, 12vw, 185px);
	z-index: 1;
	pointer-events: none;
}
.okazje__branch {
	position: absolute;
	bottom: 1%;
	width: clamp(90px, 10vw, 150px);
	z-index: 1;
	opacity: 0.9;
	pointer-events: none;
}
.okazje__branch--l {
	left: 0;
}
.okazje__branch--r {
	right: 0;
	transform: scaleX(-1);
}

.okazje__inner {
	position: relative;
	z-index: 2;
	max-width: 1300px;
	margin: 0 auto;
}
.okazje__header {
	text-align: center;
	font-family: var(--heading-font);
	font-weight: 600;
	color: var(--heading-color);
	font-size: var(--heading-size);
	line-height: 1.1;
	margin: 0 auto 0.4rem;
}
.okazje__lead {
	text-align: center;
	max-width: 640px;
	margin: var(--subtitle-gap) auto clamp(2rem, 4vw, 3rem);
	color: #6b5645;
	font-size: var(--subtitle-size);
	line-height: var(--subtitle-lh);
}

/* siatka kart */
.okazje__grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 1.1rem;
}

.okazje-card {
	display: flex;
	flex-direction: column;
	background: #fffdf8;
	border-radius: 18px;
	box-shadow: 0 10px 26px rgba(90, 62, 43, 0.1);
	padding-bottom: 1.2rem;
}
.okazje-card__photo {
	height: 170px;
	border-radius: 18px 18px 0 0;
	overflow: hidden;
}
.okazje-card__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.okazje-card__icon {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #fff;
	display: grid;
	place-items: center;
	margin: -28px auto 0.7rem;
	box-shadow: 0 5px 14px rgba(90, 62, 43, 0.18);
	color: #b07d57;
	font-size: 1.6rem;
	position: relative;
	z-index: 2;
}
.okazje-card__title {
	text-align: center;
	text-transform: uppercase;
	font-weight: 700;
	color: #5a3e2b;
	font-size: 1.4rem;
	letter-spacing: 0.03em;
	line-height: 1.2;
	padding: 0 0.7rem;
}
.okazje-card__text {
	text-align: center;
	color: #7a6553;
	font-size: 1.35rem;
	line-height: 1.5;
	padding: 0.6rem 1rem 0;
	flex: 1;
}
.okazje-card__more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	margin: 1rem auto 0;
	color: #c2607a;
	font-weight: 700;
	font-size: 1.3rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
}
.okazje-card__more:hover {
	color: #a03b52;
}

/* pasek CTA */
.okazje-cta {
	display: flex;
	align-items: center;
	gap: 1.2rem;
	max-width: 820px;
	margin: clamp(2rem, 4vw, 3rem) auto 0;
	padding: 1.2rem 1.6rem;
	background: rgba(255, 255, 255, 0.6);
	border: 1.5px dashed rgba(150, 120, 90, 0.45);
	border-radius: 22px;
	backdrop-filter: blur(4px);
}
.okazje-cta__icon {
	font-size: 2.2rem;
	color: #c08552;
	flex: 0 0 auto;
}
.okazje-cta__text strong {
	display: block;
	font-family: 'Comfortaa', sans-serif;
	font-weight: 700;
	color: #5a3e2b;
	font-size: 1.6rem;
}
.okazje-cta__text span {
	color: #7a6553;
	font-size: 1.2rem;
	line-height: 1.4;
}
.okazje-cta__btn {
	margin-left: auto;
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	background: #d98a97;
	color: #fff;
	padding: 0.9em 2em;
	border-radius: 12px;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 1.2rem;
	letter-spacing: 0.06em;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: 0 9px 20px rgba(217, 138, 151, 0.4);
	transition: background 0.2s ease, transform 0.2s ease;
}
.okazje-cta__btn:hover {
	background: #c8707f;
	transform: translateY(-2px);
}

/* responsywność */
@media (max-width: 1100px) {
	.okazje__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}
@media (max-width: 900px) {
	.okazje__tag,
	.okazje__note,
	.okazje__branch {
		display: none;
	}
}
@media (max-width: 680px) {
	.okazje__grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.okazje-cta {
		flex-direction: column;
		text-align: center;
	}
	.okazje-cta__btn {
		margin-left: 0;
	}
}
@media (max-width: 420px) {
	.okazje__grid {
		grid-template-columns: 1fr;
	}
}
