/* ==========================================================================
   Canonical closing CTA (DEC-37) – the one site-wide „Kérjen személyre
   szabott ajánlatot" photo band, rendered by the [szt_zaro_cta] shortcode
   (functions.php). Loaded on every front-end view – the new structure and
   the old Canvas pages – so it carries everything it needs itself: the
   rules hang off the section ID (one CTA per page) to win over the Phase 1
   link rules (.szt-site .site-content a…) and the old Elementor kit
   (.elementor-kit-10 h2/a). Geometry = the approved DEC-18 band; photo
   #6862 (sunset C, DEC-37); overlay C (DEC-37).
   ========================================================================== */

/* Atma 600 for the heading also on Canvas pages (the new structure declares
   the same face inline; a duplicate declaration is harmless). */
@font-face {
	font-family: "szt-atma";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/atma-latin-ext-600.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "szt-atma";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/atma-latin-600.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Elementor host: a full-width container holding only the shortcode */
.e-con.szt-zcta-host {
	--padding-top: 0px;
	--padding-right: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	--gap: 0px;
	--row-gap: 0px;
	--column-gap: 0px;
	--margin-top: 0px;
	--margin-bottom: 0px;
}

.e-con.szt-zcta-host > .elementor-element,
.e-con.szt-zcta-host > .e-con-inner > .elementor-element {
	width: 100%;
	max-width: none;
	margin: 0;
}

/* Band */
#szt-zcta {
	position: relative;
	overflow: hidden;
	box-sizing: border-box;
	width: 100%;
	margin: 40px 0 0;
	padding: 104px var(--szt-gutter) 96px;
	background-color: var(--szt-ink);
	color: var(--szt-white);
	font-family: var(--szt-font-text);
	font-size: var(--szt-fs-body);
	line-height: 1.6;
	text-align: center;
}

@media (min-width: 768px) {
	#szt-zcta {
		padding-top: 124px;
		padding-bottom: 104px;
	}
}

@media (min-width: 1200px) {
	#szt-zcta {
		padding-top: 144px;
		padding-bottom: 112px;
	}
}

/* Photo: a decorative layer behind the text */
#szt-zcta .szt-zcta__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	margin: 0;
}

#szt-zcta .szt-zcta__bg img {
	display: block;
	width: 100%;
	max-width: none;
	height: 100%;
	margin: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	object-fit: cover;
	object-position: 50% 58%;
}

/* Overlay C (DEC-37): neutral slate --szt-cta-text #1F2A30, strongest behind
   the text, opening toward the sky, the lake and the edges.
   Was DEC-18: ink rgba(24,63,71) .86 / .80 @62% / .44 @90% / .24, ellipse 600px 46%. */
#szt-zcta .szt-zcta__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 680px 52% at 50% 54%, rgba(31, 42, 48, 0.74) 0%, rgba(31, 42, 48, 0.68) 45%, rgba(31, 42, 48, 0.48) 70%, rgba(31, 42, 48, 0.22) 88%, rgba(31, 42, 48, 0.08) 100%);
}

#szt-zcta .szt-zcta__inner {
	position: relative;
	z-index: 1;
	max-width: var(--szt-text-width);
	margin: 0 auto;
}

#szt-zcta .szt-zcta__title {
	margin: 0 0 0.45em;
	padding: 0;
	color: var(--szt-white);
	font-family: var(--szt-font-display);
	font-size: 30px;
	font-weight: 600;
	font-style: normal;
	line-height: 1.15;
	letter-spacing: normal;
	text-transform: none;
}

@media (min-width: 1200px) {
	#szt-zcta .szt-zcta__title {
		font-size: 40px;
	}
}

#szt-zcta .szt-zcta__text {
	margin: 0 0 1em;
	padding: 0;
	color: var(--szt-white);
	font-family: var(--szt-font-text);
	font-size: calc(var(--szt-fs-body) * 1.08);
	font-weight: 400;
	line-height: 1.6;
}

#szt-zcta .szt-zcta__actions {
	display: flex;
	justify-content: center;
	margin: 0;
	padding: 0;
	line-height: 1.2;
}

#szt-zcta .szt-zcta__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: var(--szt-btn-h);
	padding: 12px 28px;
	border: 2px solid var(--szt-orange);
	border-radius: var(--szt-radius-pill);
	background-color: var(--szt-orange);
	color: var(--szt-cta-text);
	font-family: var(--szt-font-text);
	font-size: var(--szt-fs-button);
	font-weight: 500;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	text-transform: none;
	letter-spacing: normal;
	box-shadow: none;
	transition: background-color var(--szt-transition), border-color var(--szt-transition);
}

#szt-zcta .szt-zcta__btn:hover,
#szt-zcta .szt-zcta__btn:focus-visible {
	border-color: var(--szt-orange-light);
	background-color: var(--szt-orange-light);
	color: var(--szt-cta-text);
	text-decoration: none;
}

#szt-zcta .szt-zcta__tel {
	margin: 0;
	padding: 0;
	font-size: var(--szt-fs-body);
	line-height: 1.6;
}

#szt-zcta .szt-zcta__tel a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	margin-top: 4px;
	color: var(--szt-white);
	font-family: var(--szt-font-text);
	font-weight: 700;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

#szt-zcta .szt-zcta__tel a:hover {
	color: var(--szt-white);
	text-decoration-thickness: 2px;
}

#szt-zcta a:focus-visible {
	outline: 3px solid var(--szt-white);
	outline-offset: 3px;
}

/* New structure: no white seam above the footer – the footer's wave is the
   single transition (TC-04, DEC-18). */
body.szt-site:has(#szt-zcta) footer.szt-footer {
	margin-top: 0;
}

/* Old Canvas pages (until they are rebuilt): the band sits between the
   page's last white section (which already ends with its own bottom
   padding) and the old footer's wave strip – a white container with a white
   top wave and blue bottom waves that rise over the section above. There:
   no top margin (it would show the grey Canvas body), the white top wave
   hidden and the strip slate instead of white, with the band fading into the
   same slate at its foot – so the blue waves rise over the photo like the
   new footer's wave does. The old footer's content is not changed. */
body:not(.szt-site) #szt-zcta {
	margin-top: 0;
}

body:not(.szt-site) #szt-zcta::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 0;
	height: 96px;
	background: linear-gradient(to bottom, rgba(31, 42, 48, 0), #1F2A30);
	pointer-events: none;
}

body:not(.szt-site) .e-con.szt-zcta-host + .e-con {
	background-color: #1F2A30 !important; /* beats the old element's own background rule */
}

body:not(.szt-site) .e-con.szt-zcta-host + .e-con .elementor-shape-top {
	display: none;
}
