/* RW Web – Finish
 * Style scoped to managed subpages so it does not redesign the existing homepage.
 */

/* Astra / klasyczny template na podstronach zarządzanych przez wtyczkę */
.rwwf-page .entry-header {
	display: none;
}

.rwwf-page .site-content > .ast-container {
	max-width: none;
	padding-left: 0;
	padding-right: 0;
}

.rwwf-page .site-content .content-area,
.rwwf-page .site-content .site-main,
.rwwf-page .site-content article.page {
	width: 100%;
	max-width: none;
	margin: 0;
}

.rwwf-page .entry-content {
	margin: 0;
}

.rwweb-page {
	--rw-accent: var(--ast-global-color-0, #2563eb);
	--rw-accent-2: var(--ast-global-color-1, #1d4ed8);
	--rw-text: var(--ast-global-color-3, #111827);
	--rw-muted: #667085;
	--rw-line: rgba(15, 23, 42, .10);
	--rw-soft: #f7f8fb;
	--rw-white: #fff;
	--rw-dark: #101828;
	color: var(--rw-text);
}

.rwweb-page,
.rwweb-page * {
	box-sizing: border-box;
}

.rwweb-page h1,
.rwweb-page h2,
.rwweb-page h3,
.rwweb-page p {
	margin-top: 0;
}

.rwweb-page h1 {
	font-size: clamp(2.35rem, 5.2vw, 4.6rem);
	line-height: 1.02;
	letter-spacing: -0.045em;
	max-width: 980px;
	margin-bottom: 24px;
}

.rwweb-page h2 {
	font-size: clamp(1.75rem, 3.2vw, 2.7rem);
	line-height: 1.08;
	letter-spacing: -0.03em;
	margin-bottom: 18px;
}

.rwweb-page h3 {
	font-size: 1.25rem;
	line-height: 1.25;
	letter-spacing: -0.015em;
	margin-bottom: 12px;
}

.rwweb-page p,
.rwweb-page li {
	font-size: 1rem;
	line-height: 1.7;
}

.rwweb-hero,
.rwweb-section,
.rwweb-cta {
	width: min(1180px, calc(100% - 40px));
	margin-inline: auto;
}

.rwweb-hero {
	padding: clamp(76px, 10vw, 132px) 0 clamp(64px, 8vw, 104px);
}

.rwweb-lead {
	max-width: 800px;
	color: var(--rw-muted);
	font-size: clamp(1.08rem, 1.7vw, 1.28rem) !important;
	line-height: 1.65 !important;
	margin-bottom: 30px;
}

.rwweb-eyebrow {
	font-size: .75rem !important;
	font-weight: 800;
	letter-spacing: .14em;
	color: var(--rw-accent);
	margin-bottom: 15px !important;
}

.rwweb-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.rwweb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 19px;
	border-radius: 10px;
	text-decoration: none !important;
	font-weight: 750;
	line-height: 1.2;
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
	border: 1px solid transparent;
	cursor: pointer;
}

.rwweb-btn:hover {
	transform: translateY(-1px);
}

.rwweb-btn-primary {
	background: var(--rw-accent);
	color: #fff !important;
	box-shadow: 0 10px 24px rgba(37, 99, 235, .16);
}

.rwweb-btn-primary:hover {
	background: var(--rw-accent-2);
}

.rwweb-btn-secondary {
	background: #fff;
	color: var(--rw-text) !important;
	border-color: var(--rw-line);
}

.rwweb-btn-light {
	background: #fff;
	color: #101828 !important;
	flex: 0 0 auto;
}

.rwweb-section {
	padding: clamp(62px, 8vw, 96px) 0;
	border-top: 1px solid var(--rw-line);
}

.rwweb-section.rwweb-soft {
	width: 100%;
	max-width: none;
	padding-inline: max(20px, calc((100vw - 1180px) / 2));
	background: var(--rw-soft);
	border-top: 0;
}

.rwweb-section-head {
	max-width: 760px;
	margin-bottom: 38px;
}

.rwweb-section-head > p:last-child,
.rwweb-split p {
	color: var(--rw-muted);
}

.rwweb-grid {
	display: grid;
	gap: 18px;
}

.rwweb-grid-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rwweb-grid-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rwweb-card,
.rwweb-price-card,
.rwweb-case,
.rwweb-form-wrap {
	background: #fff;
	border: 1px solid var(--rw-line);
	border-radius: 18px;
	box-shadow: 0 12px 34px rgba(16, 24, 40, .055);
}

.rwweb-card {
	padding: clamp(24px, 3vw, 34px);
}

.rwweb-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: color-mix(in srgb, var(--rw-accent) 10%, white);
	color: var(--rw-accent);
	font-weight: 800;
	font-size: .82rem;
	margin-bottom: 22px;
}

.rwweb-list {
	list-style: none;
	padding: 0;
	margin: 20px 0 0;
}

.rwweb-list li {
	position: relative;
	padding-left: 25px;
	margin: 9px 0;
	color: #475467;
}

.rwweb-list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	color: var(--rw-accent);
	font-weight: 900;
}

.rwweb-list-large {
	margin-top: 0;
}

.rwweb-mini {
	padding: 8px 12px 8px 0;
}

.rwweb-mini strong {
	display: block;
	margin-bottom: 6px;
	font-size: 1.06rem;
}

.rwweb-mini span {
	display: block;
	color: var(--rw-muted);
	line-height: 1.6;
}

.rwweb-split {
	display: grid;
	grid-template-columns: .8fr 1.2fr;
	gap: clamp(28px, 7vw, 92px);
	align-items: start;
}

.rwweb-cta {
	margin-top: clamp(32px, 6vw, 72px);
	margin-bottom: clamp(70px, 9vw, 120px);
	padding: clamp(30px, 5vw, 54px);
	background: var(--rw-dark);
	color: #fff;
	border-radius: 22px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
}

.rwweb-cta h2 {
	color: #fff;
	margin-bottom: 9px;
}

.rwweb-cta p:not(.rwweb-eyebrow) {
	color: rgba(255,255,255,.72);
	margin-bottom: 0;
	max-width: 720px;
}

.rwweb-pricing {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	align-items: stretch;
}

.rwweb-price-card {
	position: relative;
	padding: clamp(26px, 3vw, 36px);
	display: flex;
	flex-direction: column;
}

.rwweb-price-card h2 {
	font-size: 2.2rem;
}

.rwweb-price-card .rwweb-list {
	margin-bottom: 24px;
}

.rwweb-price-featured {
	border: 2px solid var(--rw-accent);
	transform: translateY(-8px);
}

.rwweb-badge {
	position: absolute;
	top: -13px;
	left: 22px;
	background: var(--rw-accent);
	color: #fff;
	font-size: .68rem;
	font-weight: 850;
	letter-spacing: .08em;
	padding: 7px 10px;
	border-radius: 999px;
}

.rwweb-price-label {
	font-size: .75rem !important;
	font-weight: 850;
	letter-spacing: .12em;
	color: var(--rw-muted);
}

.rwweb-text-link {
	margin-top: auto;
	font-weight: 750;
	text-decoration: none !important;
}

.rwweb-case {
	display: grid;
	grid-template-columns: 1.5fr .7fr;
	overflow: hidden;
}

.rwweb-case-copy {
	padding: clamp(28px, 5vw, 56px);
}

.rwweb-case-panel {
	background: var(--rw-dark);
	color: #fff;
	padding: clamp(28px, 4vw, 46px);
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 28px;
}

.rwweb-case-stat {
	padding-bottom: 28px;
	border-bottom: 1px solid rgba(255,255,255,.14);
}

.rwweb-case-stat:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.rwweb-case-stat strong {
	display: block;
	font-size: 2rem;
	line-height: 1;
	margin-bottom: 8px;
}

.rwweb-case-stat span {
	color: rgba(255,255,255,.68);
	line-height: 1.5;
}

.rwweb-tags {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin: 23px 0 30px;
}

.rwweb-tags span {
	background: var(--rw-soft);
	border: 1px solid var(--rw-line);
	border-radius: 999px;
	padding: 7px 10px;
	font-size: .78rem;
	font-weight: 650;
}

.rwweb-contact-layout {
	display: grid;
	grid-template-columns: .85fr 1.15fr;
	gap: clamp(28px, 7vw, 84px);
	align-items: start;
}

.rwweb-note {
	margin-top: 30px;
	padding: 20px;
	border-radius: 14px;
	background: var(--rw-soft);
	border: 1px solid var(--rw-line);
}

.rwweb-note p {
	margin: 5px 0 0;
	color: var(--rw-muted);
}

.rwweb-form-wrap {
	padding: clamp(24px, 4vw, 38px);
}

.rwweb-form-message {
	padding: 13px 15px;
	border-radius: 10px;
	margin-bottom: 18px;
	font-weight: 650;
}

.rwweb-form-success {
	background: #ecfdf3;
	color: #067647;
	border: 1px solid #abefc6;
}

.rwweb-form-error {
	background: #fef3f2;
	color: #b42318;
	border: 1px solid #fecdca;
}

.rwweb-form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.rwweb-field {
	margin-bottom: 15px;
}

.rwweb-field label {
	display: block;
	font-weight: 700;
	font-size: .9rem;
	margin-bottom: 7px;
}

.rwweb-field label span {
	color: var(--rw-accent);
}

.rwweb-field input,
.rwweb-field textarea {
	display: block;
	width: 100%;
	border: 1px solid #d0d5dd;
	border-radius: 10px;
	background: #fff;
	color: #101828;
	padding: 12px 13px;
	box-shadow: 0 1px 2px rgba(16,24,40,.04);
}

.rwweb-field textarea {
	resize: vertical;
	min-height: 160px;
}

.rwweb-field input:focus,
.rwweb-field textarea:focus {
	outline: 0;
	border-color: var(--rw-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--rw-accent) 15%, transparent);
}

.rwweb-privacy-note {
	color: var(--rw-muted);
	font-size: .82rem !important;
	line-height: 1.55 !important;
	margin: 4px 0 18px;
}

.rwweb-privacy-note a {
	font-weight: 700;
}

.rwweb-submit {
	border: 0;
	font-family: inherit;
	font-size: .96rem;
}

.rwweb-hp {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

@media (max-width: 860px) {
	.rwweb-grid-3,
	.rwweb-pricing {
		grid-template-columns: 1fr;
	}

	.rwweb-grid-2,
	.rwweb-split,
	.rwweb-case,
	.rwweb-contact-layout {
		grid-template-columns: 1fr;
	}

	.rwweb-price-featured {
		transform: none;
	}

	.rwweb-cta {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (max-width: 620px) {
	.rwweb-hero,
	.rwweb-section,
	.rwweb-cta {
		width: min(100% - 28px, 1180px);
	}

	.rwweb-section.rwweb-soft {
		width: 100%;
		padding-inline: 14px;
	}

	.rwweb-form-grid {
		grid-template-columns: 1fr;
	}

	.rwweb-btn {
		width: 100%;
	}

	.rwweb-actions {
		width: 100%;
	}

	.rwweb-page h1 {
		font-size: clamp(2.1rem, 11vw, 3.2rem);
	}

	.rwweb-cta {
		border-radius: 16px;
	}
}
