/* Finalne CTA i kompletna stopka. */
.closing-cta {
	--closing-bg: #061c25;
	--closing-bg-deep: #03141c;
	--closing-gold: #e9b85d;
	--closing-teal: #31c9b8;
	position: relative;
	background: #fbf8f2;
	overflow: hidden;
	isolation: isolate;
}

.closing-cta__curve {
	position: relative;
	z-index: 2;
	display: block;
	width: 100%;
	height: clamp(64px, 6.2vw, 104px);
	margin-bottom: -1px;
}

.closing-cta__curve svg { display: block; width: 100%; height: 100%; }
.closing-cta__curve path:first-child { fill: var(--closing-bg); }
.closing-cta__curve-line { fill: none; stroke: rgba(232, 184, 92, .92); stroke-width: 1.35; vector-effect: non-scaling-stroke; }

.closing-cta__surface {
	position: relative;
	color: #f9f6ef;
	background:
		radial-gradient(circle at 75% 42%, rgba(20, 153, 140, .22), transparent 27%),
		radial-gradient(circle at 54% 88%, rgba(233, 184, 93, .075), transparent 30%),
		linear-gradient(136deg, var(--closing-bg-deep) 0%, #062630 48%, #041922 100%);
	overflow: hidden;
}

.closing-cta__surface::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: .42;
	background-image:
		linear-gradient(112deg, transparent 0 49.8%, rgba(255, 255, 255, .025) 50%, transparent 50.2%),
		radial-gradient(circle, rgba(255,255,255,.15) 0 1px, transparent 1.4px);
	background-size: 100% 100%, 46px 46px;
	mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 76%, transparent);
}

.closing-cta__ambient { position: absolute; inset: 0; pointer-events: none; }
.closing-cta__ambient i { position: absolute; display: block; border: 1px solid rgba(55, 208, 190, .11); border-radius: 50%; }
.closing-cta__ambient i:nth-child(1) { width: min(66vw, 1050px); aspect-ratio: 2.1; left: 45%; top: 10%; transform: rotate(-8deg); }
.closing-cta__ambient i:nth-child(2) { width: min(42vw, 680px); aspect-ratio: 2.3; right: -7%; top: 24%; border-color: rgba(234, 186, 94, .24); transform: rotate(9deg); box-shadow: 0 0 24px rgba(234, 186, 94, .07); }
.closing-cta__ambient i:nth-child(3) { width: 520px; height: 520px; left: -300px; bottom: -390px; border-color: rgba(234, 186, 94, .1); box-shadow: 0 0 0 54px rgba(234, 186, 94, .018), 0 0 0 108px rgba(234, 186, 94, .012); }

.closing-cta .site-shell,
.site-footer .site-shell { width: min(calc(100% - 80px), 1560px); }

.closing-cta__layout {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(430px, .88fr) minmax(560px, 1.12fr);
	gap: clamp(42px, 5vw, 96px);
	align-items: center;
	min-height: 660px;
	padding-top: clamp(72px, 7vw, 112px);
	padding-bottom: clamp(82px, 7vw, 118px);
}

.closing-cta__copy { position: relative; z-index: 3; max-width: 690px; }
.closing-cta__eyebrow {
	display: inline-block;
	margin-bottom: 24px;
	color: #efc677;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .19em;
	text-transform: uppercase;
}
.closing-cta__eyebrow::after { content: ""; display: block; width: 112px; height: 1px; margin-top: 11px; background: linear-gradient(90deg, #efc677, transparent); }

.closing-cta h2 {
	max-width: 690px;
	margin: 0;
	color: #fffdf8;
	font-family: "DM Serif Display", Georgia, serif;
	font-size: clamp(50px, 4.25vw, 72px);
	font-weight: 400;
	line-height: .99;
	letter-spacing: -.035em;
}
.closing-cta h2 em { display: inline; color: var(--closing-teal); font-weight: 400; }
.closing-cta__copy > p { max-width: 625px; margin: 30px 0 0; color: rgba(229, 239, 238, .74); font-size: 18px; line-height: 1.63; }

.closing-cta__actions { display: flex; align-items: center; gap: 36px; margin-top: 38px; }
.closing-cta__primary {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-width: 348px;
	min-height: 60px;
	padding: 0 21px 0 28px;
	border: 1px solid #f1c56d;
	border-radius: 11px;
	color: #08232c;
	background: linear-gradient(135deg, #f9d98e 0%, #e5aa42 100%);
	box-shadow: inset 0 1px rgba(255,255,255,.8), 0 14px 38px rgba(229, 170, 66, .2);
	font: 700 13px/1 "DM Sans", Arial, sans-serif;
	letter-spacing: .1em;
	text-transform: uppercase;
	cursor: pointer;
	transition: transform .25s ease, box-shadow .25s ease;
}
.closing-cta__primary svg { width: 22px; height: 22px; fill: none; stroke: currentColor; }
.closing-cta__primary:hover { transform: translateY(-3px); box-shadow: inset 0 1px rgba(255,255,255,.8), 0 20px 46px rgba(229,170,66,.27); }
.closing-cta__primary:focus-visible,
.closing-cta__secondary:focus-visible,
.site-footer a:focus-visible { outline: 2px solid #58dfce; outline-offset: 5px; }

.closing-cta__secondary { position: relative; color: #f1c879; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.closing-cta__secondary::after { content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 1px; background: linear-gradient(90deg, #efbd5d, rgba(239,189,93,.28)); transform-origin: left; transition: transform .25s ease; }
.closing-cta__secondary:hover::after { transform: scaleX(.68); }

.closing-cta__trust { display: flex; gap: clamp(24px, 3vw, 52px); margin-top: 48px; }
.closing-cta__trust > div { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.86); font-size: 14px; line-height: 1.35; }
.closing-cta__trust i { display: grid; place-items: center; width: 52px; height: 52px; flex: none; }
.closing-cta__trust img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 8px 12px rgba(0,0,0,.2)); }

.closing-cta__visual { position: relative; z-index: 2; min-width: 0; min-height: 570px; display: grid; place-items: center; }
.closing-cta__devices { position: relative; z-index: 2; display: block; width: 118%; max-width: none; height: auto; object-fit: contain; transform: translate(-4%, 1%); filter: drop-shadow(0 30px 34px rgba(0,0,0,.46)); }
.closing-cta__orbit { position: absolute; z-index: 1; border: 1.25px solid rgba(232, 184, 92, .78); border-radius: 50%; box-shadow: 0 0 20px rgba(232, 184, 92, .11); }
.closing-cta__orbit--one { width: 96%; height: 235px; left: -2%; top: 29%; transform: rotate(-9deg); }
.closing-cta__orbit--two { width: 74%; height: 180px; right: -7%; bottom: 18%; border-color: rgba(51, 204, 185, .37); transform: rotate(7deg); }
.closing-cta__domain {
	position: absolute;
	z-index: 4;
	right: 7%;
	bottom: 4%;
	display: flex;
	align-items: center;
	gap: 13px;
	min-height: 62px;
	padding: 0 22px;
	border: 1px solid rgba(102, 223, 208, .72);
	border-radius: 13px;
	color: #f2c873;
	background: linear-gradient(135deg, rgba(232,245,240,.16), rgba(4,39,48,.68));
	box-shadow: inset 0 1px rgba(255,255,255,.32), 0 18px 38px rgba(0,0,0,.34), 0 0 22px rgba(51,201,184,.16);
	backdrop-filter: blur(14px);
	transform: rotate(1.6deg);
}
.closing-cta__domain span { display: grid; place-items: center; width: 27px; height: 27px; color: #69ddcf; }
.closing-cta__domain svg { width: 100%; height: 100%; fill: none; stroke: currentColor; }
.closing-cta__domain strong { font-family: "DM Serif Display", Georgia, serif; font-size: clamp(23px, 2vw, 31px); font-weight: 400; letter-spacing: -.01em; }
.closing-cta__domain i { width: 7px; height: 7px; margin-left: 2px; border-radius: 50%; background: #42d5c3; box-shadow: 0 0 9px #42d5c3; }

/* Stopka kontynuuje materiał i paletę finalnego CTA. */
.site-footer {
	position: relative;
	padding: 0;
	color: rgba(226, 237, 236, .68);
	background:
		radial-gradient(circle at 52% 0%, rgba(16, 116, 109, .09), transparent 32%),
		#03141c;
	border-top: 1px solid rgba(231, 183, 88, .76);
}
.site-footer__grid {
	display: grid;
	grid-template-columns: 1.35fr .72fr .88fr .82fr;
	gap: clamp(44px, 5vw, 90px);
	padding-top: 58px;
	padding-bottom: 55px;
}
.site-footer__about { padding-right: clamp(20px, 4vw, 64px); border-right: 1px solid rgba(233, 184, 93, .23); }
.site-footer .site-footer__brand { display: inline-flex; align-items: center; gap: 14px; margin: 0; color: #fff; font-size: 27px; font-weight: 760; letter-spacing: -.045em; }
.site-footer .site-footer__brand > span:not(.site-footer__symbol) { display: inline; margin: 0; font-size: inherit; }
.site-footer__brand em { color: #35cbb9; font-style: normal; }
.site-footer .site-footer__symbol { position: relative; display: grid; place-items: center; width: 53px; height: 53px; flex: none; margin: 0; color: #52ddcc; }
.site-footer__symbol svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.25; }
.site-footer__symbol svg path { stroke: #efc26b; }
.site-footer__symbol svg circle { fill: #49d8c5; stroke: none; filter: drop-shadow(0 0 5px #2fd0bd); }
.site-footer__about > p { max-width: 325px; margin: 20px 0 0; color: rgba(226,237,236,.64); font-size: 14px; line-height: 1.62; }
.site-footer__about .site-footer__signature { margin-top: 42px; color: rgba(226,237,236,.52); }
.site-footer__signature a { display: inline; color: #eab95d; }

.site-footer__column { display: flex; flex-direction: column; align-items: flex-start; }
.site-footer__column > strong { display: block; margin: 2px 0 20px; color: #efbd60; font-size: 12px; font-weight: 650; letter-spacing: .18em; text-transform: uppercase; }
.site-footer__column a,
.site-footer__column .site-footer__pending { display: block; margin: 0 0 12px; color: rgba(237,244,243,.76); font-size: 14px; line-height: 1.35; transition: color .2s ease, transform .2s ease; }
.site-footer__column a:hover { color: #59d9c9; transform: translateX(3px); }
.site-footer__column .site-footer__pending { color: rgba(237,244,243,.47); cursor: help; }

.site-footer__company {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
	padding-top: 28px;
	padding-bottom: 28px;
	border-top: 1px solid rgba(233,184,93,.25);
}
.site-footer__company > div { display: flex; flex-wrap: wrap; gap: 9px 20px; }
.site-footer__company span { display: inline; margin: 0; color: rgba(226,237,236,.52); font-size: 11px; }
.site-footer__company i { padding-inline: 5px; color: #e9b85d; font-style: normal; }
.site-footer__top { display: inline-flex; align-items: center; gap: 13px; flex: none; margin: 0; color: #efbd60; font-size: 11px; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; }
.site-footer__top span { display: inline; margin: 0; font-size: 20px; transition: transform .2s ease; }
.site-footer__top:hover span { transform: translateY(-4px); }

.site-footer__bottom {
	display: flex;
	justify-content: space-between;
	gap: 30px;
	padding-top: 22px;
	padding-bottom: 24px;
	margin-top: 0;
	border-top: 1px solid rgba(255,255,255,.07);
}
.site-footer__bottom > span { display: block; margin: 0; color: rgba(226,237,236,.42); font-size: 10px; }
.site-footer__bottom a { display: inline; margin: 0; color: rgba(226,237,236,.64); }

@media (max-width: 1180px) {
	.closing-cta .site-shell,
	.site-footer .site-shell { width: min(calc(100% - 48px), 1100px); }
	.closing-cta__layout { grid-template-columns: minmax(390px, .9fr) minmax(480px, 1.1fr); gap: 28px; }
	.closing-cta__devices { width: 111%; transform: translate(-2%, 1%); }
	.closing-cta__domain { right: 1%; bottom: 8%; }
	.closing-cta__trust { gap: 24px; }
	.closing-cta__actions { gap: 24px; }
	.closing-cta__primary { min-width: 315px; }
	.site-footer__grid { grid-template-columns: 1.15fr .65fr .82fr .78fr; gap: 38px; }
}

@media (max-width: 960px) {
	.closing-cta__layout { grid-template-columns: 1fr; min-height: 0; padding-top: 70px; }
	.closing-cta__copy { max-width: 720px; margin-inline: auto; text-align: center; }
	.closing-cta__eyebrow::after { margin-inline: auto; }
	.closing-cta h2,
	.closing-cta__copy > p { margin-inline: auto; }
	.closing-cta__actions,
	.closing-cta__trust { justify-content: center; }
	.closing-cta__visual { width: min(100%, 780px); min-height: 510px; margin: -12px auto 0; }
	.closing-cta__devices { width: 108%; transform: translateX(-2%); }
	.closing-cta__domain { right: 7%; bottom: 1%; }
	.site-footer__grid { grid-template-columns: 1.35fr 1fr 1fr; }
	.site-footer__about { grid-row: span 2; }
	.site-footer__legal { grid-column: 2 / -1; }
}

@media (max-width: 700px) {
	.closing-cta .site-shell,
	.site-footer .site-shell { width: min(calc(100% - 32px), 640px); }
	.closing-cta__curve { height: 50px; }
	.closing-cta__layout { gap: 28px; padding-top: 58px; padding-bottom: 70px; }
	.closing-cta h2 { font-size: clamp(43px, 13vw, 58px); line-height: 1.01; }
	.closing-cta__copy > p { margin-top: 23px; font-size: 16px; }
	.closing-cta__actions { flex-direction: column; gap: 24px; margin-top: 30px; }
	.closing-cta__primary { width: 100%; min-width: 0; }
	.closing-cta__trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 40px; }
	.closing-cta__trust > div { flex-direction: column; gap: 7px; text-align: center; font-size: 11px; }
	.closing-cta__trust i { width: 46px; height: 46px; }
	.closing-cta__visual { min-height: 335px; margin-top: 0; }
	.closing-cta__devices { width: 100%; transform: none; }
	.closing-cta__domain { right: 1%; bottom: -1%; min-height: 48px; padding-inline: 14px; border-radius: 10px; }
	.closing-cta__domain strong { font-size: 21px; }
	.closing-cta__domain span { width: 22px; height: 22px; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; gap: 38px 24px; padding-top: 46px; }
	.site-footer__column a { min-height: 40px; margin: 0; display: flex; align-items: center; }
	.site-footer__about { grid-column: 1 / -1; grid-row: auto; padding: 0 0 34px; border-right: 0; border-bottom: 1px solid rgba(233,184,93,.2); }
	.site-footer__about .site-footer__signature { margin-top: 24px; }
	.site-footer__legal { grid-column: auto; }
	.site-footer__company { align-items: flex-start; }
	.site-footer__company > div { display: grid; gap: 7px; }
	.site-footer__bottom { display: flex; }
}

@media (max-width: 470px) {
	.closing-cta__eyebrow { font-size: 11px; }
	.closing-cta h2 { font-size: clamp(39px, 12vw, 49px); }
	.closing-cta__trust { gap: 8px; }
	.closing-cta__visual { min-height: 285px; }
	.closing-cta__domain { bottom: -3%; }
	.site-footer__grid { grid-template-columns: 1fr; }
	.site-footer__legal { grid-column: auto; }
	.site-footer__company { display: grid; }
	.site-footer__top { margin-top: 8px; }
	.site-footer__bottom { display: grid; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
	.closing-cta__primary,
	.closing-cta__secondary::after,
	.site-footer a { transition: none; }
}
