/* CTA dobozok ([fgy_cta]). Terv: „fogy tervek” vászon, Hírlevél, kupon, űrlap lap. */

.fgy-cta,
.fgy-cta * { box-sizing: border-box; }
.fgy-cta { margin: 0 0 30px; font-family: Poppins, system-ui, sans-serif; }

.fgy-cta-cim {
	margin: 0 0 12px;
	font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
	font-style: italic;
	font-weight: 800;
	line-height: 1.02;
	text-transform: uppercase;
}

.fgy-cta-szoveg { margin: 0 0 20px; font-size: 16px; line-height: 26px; }
.fgy-cta-felirat { display: inline-block; margin-bottom: 14px; padding: 6px 12px; color: #000; font-size: 13px; font-weight: 700; background: #afd9ad; border-radius: 50px; }

.fgy-ui a.fgy-cta-gomb {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 54px;
	padding: 0 26px;
	color: #000;
	font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
	font-size: 20px;
	font-style: italic;
	font-weight: 700;
	text-decoration: none;
	text-transform: uppercase;
	background: #afd9ad;
	border-radius: 15px;
	transition: background-color 0.2s ease;
}

.fgy-ui a.fgy-cta-gomb:hover { color: #000; background: #f2acbf; }

/* Háttérképes */
.fgy-cta--kep { position: relative; display: flex; align-items: center; min-height: 380px; padding: 48px; overflow: hidden; color: #fff; background: #1d2b22; border-radius: 20px; }
.fgy-cta--kep .fgy-cta-kep { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fgy-cta--kep::before { position: absolute; inset: 0; z-index: 1; content: ""; background: linear-gradient(90deg, rgba(12, 22, 15, var(--fgy-cta-sotet, 0.75)) 0%, rgba(12, 22, 15, calc(var(--fgy-cta-sotet, 0.75) * 0.65)) 50%, rgba(12, 22, 15, 0.08) 100%); }
.fgy-cta--kep .fgy-cta-test { position: relative; z-index: 2; max-width: 560px; }
.fgy-cta--kep .fgy-cta-cim { font-size: 48px; color: #fff; }
.fgy-cta--kep .fgy-cta-szoveg { font-size: 17px; line-height: 27px; }

/* Osztott */
.fgy-cta--osztott { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); overflow: hidden; color: #212121; background: #afd9ad; border-radius: 20px; }
.fgy-cta--osztott .fgy-cta-test { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 44px; }
.fgy-cta--osztott .fgy-cta-cim { font-size: 42px; color: #212121; }
.fgy-cta--osztott .fgy-cta-felirat { background: #fff; }
.fgy-ui .fgy-cta--osztott a.fgy-cta-gomb { color: #fff; background: #212121; }
.fgy-ui .fgy-cta--osztott a.fgy-cta-gomb:hover { color: #fff; background: #000; }
.fgy-cta-kep-hely { position: relative; min-height: 340px; }
.fgy-cta-kep-hely img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fgy-cta--kep-nelkul { grid-template-columns: minmax(0, 1fr); }

/* Sáv */
.fgy-cta--sav { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 30px; align-items: center; padding: 30px 38px; color: #fff; background: #212121; border-radius: 20px; }
.fgy-cta-kiemeles { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-size: 96px; font-style: italic; font-weight: 800; line-height: 0.85; color: #afd9ad; }
.fgy-cta--sav .fgy-cta-cim { margin-bottom: 6px; font-size: 32px; color: #fff; }
.fgy-cta--sav .fgy-cta-szoveg { margin: 0; color: rgba(255, 255, 255, 0.8); font-size: 15px; line-height: 23px; }
.fgy-cta--sav > div { min-width: 0; }

@media (max-width: 900px) {
	.fgy-cta--osztott { grid-template-columns: minmax(0, 1fr); }
	.fgy-cta-kep-hely { min-height: 220px; order: -1; }
	.fgy-cta--sav { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}

@media (max-width: 768px) {
	.fgy-cta--kep { min-height: 340px; padding: 28px 22px; }
	.fgy-cta--kep::before { background: linear-gradient(0deg, rgba(12, 22, 15, var(--fgy-cta-sotet, 0.75)) 0%, rgba(12, 22, 15, calc(var(--fgy-cta-sotet, 0.75) * 0.6)) 60%, rgba(12, 22, 15, 0.2) 100%); }
	.fgy-cta--kep { align-items: flex-end; }
	.fgy-cta--kep .fgy-cta-cim { font-size: 34px; }
	.fgy-cta--osztott .fgy-cta-test { padding: 26px 20px; }
	.fgy-cta--osztott .fgy-cta-cim { font-size: 32px; }
	.fgy-cta--sav { padding: 24px 20px; }
	.fgy-cta-kiemeles { font-size: 72px; }
}

@media (prefers-reduced-motion: reduce) {
	.fgy-ui a.fgy-cta-gomb { transition: none; }
}
