/*
Theme Name: Renata Rejf
Theme URI: https://renatarejf.pl
Author: Renata Rejf / Gutenberg Edition
Author URI: https://renatarejf.pl
Description: Dedykowany, ultralekki motyw blokowy (Full Site Editing / FSE) odtwarzający serwis renatarejf.pl 1:1 w natywnym edytorze WordPress Gutenberg.
Version: 1.2.13
Requires at least: 6.4
Tested up to: 7.2
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: renatarejf
Tags: block-patterns, full-site-editing, custom-colors, custom-logo, editor-style
*/

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Tinos:ital,wght@0,400;0,700;1,400;1,700&subset=latin,latin-ext&display=swap');

/* ==========================================================================
   Design Tokens & Exact 1:1 Color Palette
   ========================================================================== */
:root {
	--rr-font-heading: 'Times New Roman', Times, 'Tinos', serif;
	--rr-font-body: 'Open Sans', Arial, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--rr-font-accent: 'Open Sans', Arial, sans-serif;
	
	/* Exact colors from live renatarejf.pl */
	--rr-color-heading-blue: #2d5278;
	--rr-color-terracotta: #ca6643;
	--rr-color-orange: #f67f2b;
	--rr-color-orange-hover: #e06816;
	--rr-color-beige-bg: #f0eae0;
	--rr-color-card-navy: #2b4c73;
	--rr-color-dark: #1a1a1a;
	--rr-color-text: #1a1a1a;
	--rr-color-border: #e0d8cf;
	--rr-color-white: #ffffff;
}

html {
	scroll-behavior: smooth;
	overflow-x: hidden;
	width: 100%;
}

*, *::before, *::after {
	box-sizing: border-box;
}

body {
	font-family: var(--rr-font-body);
	color: var(--rr-color-text);
	background-color: var(--rr-color-white);
	line-height: 1.8em;
	font-size: 19px;
	font-weight: 300;
	margin: 0;
	padding: 0;
	overflow-x: hidden;
	width: 100%;
	-webkit-font-smoothing: antialiased;
}

/* Remove Gutenberg block-gap and margins between full-width sections only */
.wp-site-blocks > *,
.site-main > *,
.entry-content > *,
.wp-block-post-content > * {
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
}

/* ==========================================================================
   Zero Margins & Gaps (Eliminates Gutenberg default block-gap white bars)
   ========================================================================== */
:root {
	--wp--style--block-gap: 0px !important;
}

html, body {
	margin: 0 !important;
	padding: 0 !important;
}

.wp-site-blocks,
.wp-site-blocks > *,
.wp-block-template-part,
.site-header,
.site-main,
.site-main > *,
.entry-content > *,
.wp-block-post-content > *,
article,
article.wp-block-group,
.rr-hero-home,
.rr-hero-subpage,
.rr-section-white,
.rr-section-beige {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
}

/* Ensure seamless connection between Header, Hero and consecutive sections */
.site-header {
	margin: 0 !important;
	margin-bottom: 0 !important;
	margin-block-end: 0 !important;
}

.rr-hero-home,
.rr-hero-subpage {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
}

.rr-hero-home__bar {
	margin: 0 !important;
	margin-bottom: 0 !important;
	margin-block-end: 0 !important;
}

.rr-section-beige,
.rr-section-white {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
}

/* Contact form alert hidden by default unless contact_sent=1 */
.rr-card-white [style*="background:#e7f7ed"],
.rr-card-white [style*="background: #e7f7ed"],
.contact-sent-success {
	display: none;
}

/* ==========================================================================
   Typography Defaults & Exact 1:1 Restoration
   ========================================================================== */
p,
.wp-block-paragraph,
.entry-content p,
.wp-block-column p {
	font-family: var(--rr-font-body) !important;
	font-size: 19px !important;
	line-height: 1.85em !important;
	font-weight: 300 !important;
	color: #1a1a1a !important;
	margin-top: 0 !important;
	margin-bottom: 22px !important;
	margin-block-start: 0 !important;
	margin-block-end: 22px !important;
}

h1, h2, h3, h4, h5, h6,
.wp-block-heading {
	color: var(--rr-color-dark);
	margin-top: 0;
	font-weight: 700;
	line-height: 1.3em;
}

h1, .wp-block-heading:is(h1) {
	font-family: var(--rr-font-heading);
	font-size: clamp(40px, 5vw, 64px);
	line-height: 1.2em;
}

h2, .wp-block-heading:is(h2) {
	font-family: var(--rr-font-heading);
	font-size: clamp(32px, 4vw, 44px);
	line-height: 1.3em;
}

h3, .wp-block-heading:is(h3) {
	font-family: var(--rr-font-heading);
	font-size: 30px;
	line-height: 1.35em;
}

.rr-heading-italic,
h2.rr-heading-italic,
.wp-block-heading.rr-heading-italic {
	font-family: var(--rr-font-heading) !important;
	font-style: italic !important;
	font-weight: 700 !important;
	color: var(--rr-color-heading-blue) !important;
	font-size: clamp(36px, 4.5vw, 48px) !important;
	line-height: 1.3em !important;
	margin-top: 0 !important;
	margin-bottom: 26px !important;
	margin-block-start: 0 !important;
	margin-block-end: 26px !important;
}

/* Sekcja O mnie h2 */
.rr-section-white h2.rr-heading-italic,
.rr-section-white .rr-grid-2-reverse h2,
.rr-section-white .wp-block-heading {
	font-size: clamp(38px, 4.5vw, 50px) !important;
	margin-bottom: 28px !important;
	margin-block-end: 28px !important;
}

/* Sekcja Kim jestem h2 */
.rr-section-beige h2.rr-heading-italic,
.rr-container-narrow h2.rr-heading-italic {
	font-size: 40px !important;
	margin-top: 36px !important;
	margin-bottom: 24px !important;
	margin-block-start: 36px !important;
	margin-block-end: 24px !important;
	letter-spacing: 0.5px;
}

.rr-heading-terracotta,
h3.rr-heading-terracotta,
.wp-block-heading.rr-heading-terracotta {
	font-family: var(--rr-font-heading) !important;
	font-size: 30px !important;
	line-height: 1.35em !important;
	font-weight: 700 !important;
	color: var(--rr-color-terracotta) !important;
	margin-top: 42px !important;
	margin-bottom: 20px !important;
	margin-block-start: 42px !important;
	margin-block-end: 20px !important;
}

.rr-heading-terracotta.rr-heading-italic {
	font-style: italic !important;
}

/* Sekcja Cytatu ("Razem zmienimy Twój świat") */
#h-razem-zmienimy-twoj-swiat,
.rr-section-beige .rr-grid-2 h2 {
	font-family: var(--rr-font-body) !important;
	font-size: 40px !important;
	font-weight: 700 !important;
	color: #1a1a1a !important;
	line-height: 1.35em !important;
	letter-spacing: 0.5px;
	margin-bottom: 22px !important;
	margin-block-end: 22px !important;
}

.rr-section-beige .rr-grid-2 p:not(:last-child),
.rr-section-beige .rr-grid-2 .wp-block-paragraph:not(:last-child) {
	font-size: 21px !important;
	line-height: 1.85em !important;
	color: #1a1a1a !important;
	font-weight: 300 !important;
	margin-bottom: 20px !important;
	margin-block-end: 20px !important;
}

/* Wyróżniony tekst końcowy: Moim sukcesem jest to... */
.rr-container-narrow p:last-of-type strong {
	font-size: 21px !important;
	font-weight: 700 !important;
	color: var(--rr-color-terracotta) !important;
}

@media (max-width: 768px) {
	body,
	p,
	.wp-block-paragraph,
	.entry-content p {
		font-size: 17px;
		line-height: 1.75em;
	}

	.rr-heading-italic,
	h2.rr-heading-italic,
	.wp-block-heading.rr-heading-italic {
		font-size: 32px;
		line-height: 1.25em;
	}

	.rr-heading-terracotta,
	h3.rr-heading-terracotta,
	.wp-block-heading.rr-heading-terracotta {
		font-size: 24px;
	}

	#h-razem-zmienimy-twoj-swiat,
	.rr-section-beige .rr-grid-2 h2 {
		font-size: 30px !important;
	}

	.rr-section-beige .rr-grid-2 p:not(:last-child),
	.rr-section-beige .rr-grid-2 .wp-block-paragraph:not(:last-child) {
		font-size: 18px !important;
	}
}

/* ==========================================================================
   Header & Navbar (Clean, Centered Logo with Responsive Mobile Drawer)
   ========================================================================== */
.site-header {
	background-color: #ffffff;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
	position: sticky;
	top: 0;
	z-index: 9999;
	padding: 10px 24px;
}

.site-header__inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: relative;
}

.site-logo {
	display: flex;
	align-items: center;
}

.site-logo img {
	max-height: 48px;
	width: auto;
	display: block;
}

.mobile-nav-toggle {
	display: none;
	background: transparent;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 6px;
	font-size: 24px;
	line-height: 1;
	color: #333333;
	cursor: pointer;
	padding: 8px 12px;
	transition: all 0.2s ease;
	outline: none;
}

.mobile-nav-toggle:hover {
	background-color: #f7f7f7;
	border-color: #2ea3f2;
	color: #2ea3f2;
}

.site-navigation ul {
	display: flex;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 28px;
}

.site-navigation li a {
	font-family: var(--rr-font-accent);
	font-size: 14.5px;
	font-weight: 500;
	color: #333333;
	text-decoration: none;
	padding: 6px 2px;
	transition: color 0.2s ease;
}

.site-navigation li a:hover,
.site-navigation li.current-menu-item a,
.site-navigation li.active a {
	color: #2ea3f2;
}

.site-header__search-icon {
	color: #666;
	cursor: pointer;
	margin-left: 12px;
}

@media (max-width: 860px) {
	.site-header {
		padding: 10px 16px;
	}

	.mobile-nav-toggle {
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.site-navigation {
		display: none;
		position: absolute;
		top: calc(100% + 10px);
		left: -16px;
		right: -16px;
		background: #ffffff;
		box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
		border-top: 1px solid #f0eae0;
		padding: 18px 24px 24px;
		z-index: 10000;
	}

	.site-navigation.is-open {
		display: block;
		animation: slideDownNav 0.2s ease-out forwards;
	}

	@keyframes slideDownNav {
		from {
			opacity: 0;
			transform: translateY(-8px);
		}
		to {
			opacity: 1;
			transform: translateY(0);
		}
	}

	.site-navigation ul {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
		width: 100%;
	}

	.site-navigation li {
		width: 100%;
		border-bottom: 1px solid #f4f4f4;
		padding-bottom: 10px;
	}

	.site-navigation li:last-child {
		border-bottom: none;
		padding-bottom: 0;
	}

	.site-navigation li a {
		display: block;
		font-size: 16px;
		padding: 8px 0;
		width: 100%;
	}
}

/* ==========================================================================
   Section Layouts & Alternating Backgrounds
   ========================================================================== */
.rr-section-beige {
	background-color: var(--rr-color-beige-bg);
}

.rr-section-white {
	background-color: var(--rr-color-white);
}

.rr-section-white,
.rr-section-beige {
	width: 100% !important;
	max-width: 100% !important;
	padding: 85px 24px !important;
	box-sizing: border-box !important;
}

.rr-container,
.rr-section-white > .wp-block-columns,
.rr-section-white > .rr-container,
.rr-section-beige > .wp-block-columns,
.rr-section-beige > .rr-container,
.entry-content > .rr-section-white > .wp-block-columns,
.entry-content > .rr-section-beige > .wp-block-columns {
	max-width: 1140px !important;
	width: 100% !important;
	margin-left: auto !important;
	margin-right: auto !important;
	box-sizing: border-box !important;
}

.rr-container-narrow,
.rr-section-beige > .rr-container-narrow,
.rr-section-beige .rr-container-narrow {
	max-width: 820px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	width: 100% !important;
	box-sizing: border-box !important;
}

/* Force 2-column grid over Gutenberg Flexbox to guarantee 1:1 column proportions */
.wp-block-columns.rr-grid-2,
.wp-block-columns.rr-grid-2-reverse,
.rr-grid-2,
.rr-grid-2-reverse {
	display: grid !important;
	gap: 60px !important;
	align-items: center !important;
	width: 100% !important;
	max-width: 1140px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* Razem zmienimy Twój świat: Photo (left) 1fr, Text (right) 1.35fr */
.wp-block-columns.rr-grid-2,
.rr-grid-2 {
	grid-template-columns: 1fr 1.35fr !important;
}

/* O mnie: Text (left) 1.35fr (~630px), Photo (right) 1fr (~450px) */
.wp-block-columns.rr-grid-2-reverse,
.rr-grid-2-reverse {
	grid-template-columns: 1.35fr 1fr !important;
}

.wp-block-columns.rr-grid-2 > .wp-block-column,
.wp-block-columns.rr-grid-2-reverse > .wp-block-column {
	width: 100% !important;
	max-width: 100% !important;
	flex-basis: auto !important;
	flex-grow: 1 !important;
	margin: 0 !important;
}

@media (max-width: 880px) {
	.wp-block-columns.rr-grid-2,
	.wp-block-columns.rr-grid-2-reverse,
	.rr-grid-2,
	.rr-grid-2-reverse {
		grid-template-columns: 1fr !important;
		gap: 36px !important;
	}
}

/* 1:1 Rounded Images */
.rr-photo,
.wp-block-image.rr-photo,
.wp-block-image.rr-photo img,
.rr-photo img {
	border-radius: 18px !important;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06) !important;
	width: 100% !important;
	max-width: 480px !important;
	height: auto !important;
	display: block !important;
	object-fit: cover !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* ==========================================================================
   Hero: Homepage (Swing photo with bottom frosted bar)
   ========================================================================== */
.rr-hero-home {
	position: relative;
	background-image: url('/wp-content/themes/renatarejf-theme/assets/images/na-strone--scaled.jpg');
	background-size: cover;
	background-position: center top;
	min-height: calc(100vh - 70px);
	min-height: calc(100dvh - 70px);
	height: calc(100vh - 70px);
	height: calc(100dvh - 70px);
	display: flex;
	align-items: flex-end;
	justify-content: center;
	box-sizing: border-box;
}

.rr-hero-home__bar {
	width: 100%;
	background: rgba(240, 234, 224, 0.60);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border-radius: 0;
	padding: 22px 24px;
	text-align: center;
	position: relative;
}

.rr-hero-home__bar h1 {
	font-family: var(--rr-font-heading);
	font-style: italic;
	font-size: clamp(38px, 4.8vw, 58px);
	color: #ffffff;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
	margin: 0 0 6px 0;
	line-height: 1.15;
}

.rr-hero-home__bar p {
	font-family: var(--rr-font-accent);
	font-size: clamp(16px, 2.2vw, 24px);
	font-weight: 600;
	color: #1f1f1f;
	text-shadow: 0 1px 4px rgba(255, 255, 255, 0.8);
	margin: 0;
}

/* Fixed Complianz-style "Zarządzaj zgodą" tab at the bottom of the screen */
.cmplz-manage-consent {
	position: fixed;
	bottom: -15px;
	right: 25px;
	z-index: 999999;
	background: #ffffff;
	color: #333333;
	font-family: var(--rr-font-accent);
	font-size: 11.5px;
	font-weight: 500;
	padding: 6px 14px 20px;
	border-radius: 8px 8px 0 0;
	border: 1px solid #d4d0c8;
	border-bottom: none;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
	cursor: pointer;
	transition: all 0.25s ease;
}

.cmplz-manage-consent:hover {
	bottom: 0px;
	background: #fafafa;
	box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.14);
}

/* ==========================================================================
   Complianz Cookie Banner Modal (1:1 with Screenshots)
   ========================================================================== */
.cmplz-cookiebanner {
	position: fixed;
	bottom: 24px;
	right: 24px;
	width: calc(100% - 48px);
	max-width: 530px;
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 10px 35px rgba(0, 0, 0, 0.22), 0 2px 10px rgba(0, 0, 0, 0.08);
	padding: 24px 26px 20px;
	z-index: 10000000;
	font-family: var(--rr-font-body);
	box-sizing: border-box;
	animation: cmplzFadeIn 0.25s ease-out;
}

@keyframes cmplzFadeIn {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.cmplz-header {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	margin-bottom: 14px;
}

.cmplz-title {
	font-family: var(--rr-font-body) !important;
	font-size: 17px;
	font-weight: 600;
	color: #222222 !important;
	margin: 0 !important;
	text-align: center;
}

.cmplz-close {
	position: absolute;
	right: -4px;
	top: -6px;
	background: none;
	border: none;
	font-size: 24px;
	font-weight: 700;
	color: #222222;
	cursor: pointer;
	padding: 4px 8px;
	line-height: 1;
	transition: opacity 0.15s ease;
}

.cmplz-close:hover {
	opacity: 0.6;
}

.cmplz-message {
	font-size: 13px;
	line-height: 1.55;
	color: #333333;
	font-weight: 400;
	margin: 0 0 18px 0;
	text-align: left;
}

.cmplz-categories {
	margin-bottom: 18px;
}

.cmplz-category {
	margin-bottom: 8px;
}

.cmplz-category:last-child {
	margin-bottom: 0;
}

.cmplz-category-header {
	background: #f8f8f8;
	padding: 10px 14px;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
	user-select: none;
	transition: background-color 0.15s ease;
}

.cmplz-category-header:hover {
	background: #f0f0f0;
}

.cmplz-category-title {
	font-size: 13.5px;
	font-weight: 600;
	color: #222222;
}

.cmplz-category-controls {
	display: flex;
	align-items: center;
	gap: 12px;
}

.cmplz-always-active {
	font-size: 13px;
	font-weight: 600;
	color: #377f0d;
}

.cmplz-chevron {
	transition: transform 0.2s ease;
	color: #222222;
}

.cmplz-chevron.is-expanded {
	transform: rotate(180deg);
}

.cmplz-category-desc {
	padding: 12px 14px;
	font-size: 12.5px;
	line-height: 1.55;
	color: #444444;
	background: #ffffff;
	border: 1px solid #f0f0f0;
	border-top: none;
	border-radius: 0 0 6px 6px;
	text-align: left;
}

.cmplz-switch {
	position: relative;
	display: inline-block;
	width: 38px;
	height: 20px;
}

.cmplz-switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.cmplz-slider {
	position: absolute;
	cursor: pointer;
	top: 0; left: 0; right: 0; bottom: 0;
	background-color: #cccccc;
	transition: .25s;
	border-radius: 20px;
}

.cmplz-slider:before {
	position: absolute;
	content: "";
	height: 14px;
	width: 14px;
	left: 3px;
	bottom: 3px;
	background-color: white;
	transition: .25s;
	border-radius: 50%;
}

.cmplz-switch input:checked + .cmplz-slider {
	background-color: #e27730;
}

.cmplz-switch input:checked + .cmplz-slider:before {
	transform: translateX(18px);
}

.cmplz-buttons {
	display: grid;
	grid-template-columns: 1fr 1fr 1.35fr;
	gap: 10px;
}

@media (max-width: 460px) {
	.cmplz-buttons {
		grid-template-columns: 1fr;
	}
}

.cmplz-btn {
	border: none;
	border-radius: 6px;
	font-family: var(--rr-font-body);
	font-size: 13.5px;
	font-weight: 500;
	padding: 10px 14px;
	cursor: pointer;
	text-align: center;
	transition: all 0.15s ease;
	white-space: nowrap;
}

.cmplz-accept {
	background: #3f6fbc;
	color: #ffffff;
}

.cmplz-accept:hover {
	background: #335ca0;
}

.cmplz-deny,
.cmplz-view-prefs {
	background: #fcfcfc;
	color: #2b2b2b;
	border: 1px solid #e5e5e5;
}

.cmplz-deny:hover,
.cmplz-view-prefs:hover {
	background: #f0f0f0;
	border-color: #d6d6d6;
}

/* ==========================================================================
   Hero: Subpages (Moja historia)
   ========================================================================== */
.rr-hero-subpage {
	position: relative;
	background-size: cover;
	background-position: center center;
	min-height: calc(100vh - 70px);
	min-height: calc(100dvh - 70px);
	height: calc(100vh - 70px);
	height: calc(100dvh - 70px);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: #ffffff;
	box-sizing: border-box;
}

.rr-hero-subpage__content h1 {
	font-family: var(--rr-font-heading);
	font-style: italic;
	font-size: clamp(44px, 6vw, 68px);
	color: #ffffff;
	margin: 0 0 10px 0;
	text-shadow: 0 2px 14px rgba(0,0,0,0.3);
}

.rr-hero-subpage__content h2,
.rr-hero-subpage__content p {
	font-family: var(--rr-font-body) !important;
	font-size: clamp(20px, 2.8vw, 28px);
	color: #ffffff !important;
	margin: 0;
	font-weight: 400;
	letter-spacing: 2px;
	text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* ==========================================================================
   E-book Product Box (1:1 Sklep)
   ========================================================================== */
.rr-ebook-container {
	max-width: 1040px;
	margin: 0 auto;
	padding: 44px 38px 48px;
	background: linear-gradient(145deg, #fff9f4 0%, #f4ece2 55%, #eae0d4 100%);
	border: 2px solid var(--rr-color-orange);
	border-radius: 20px;
	box-shadow: 0 16px 44px rgba(246, 127, 43, 0.15);
	position: relative;
}

.rr-ebook-badge {
	position: absolute;
	top: -22px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--rr-color-orange);
	color: #ffffff;
	font-family: var(--rr-font-accent);
	font-weight: 700;
	font-size: 20px;
	padding: 8px 30px;
	border-radius: 999px;
	box-shadow: 0 6px 18px rgba(246, 127, 43, 0.35);
}

.rr-ebook-layout {
	display: grid;
	grid-template-columns: 290px 1fr;
	gap: 40px;
	align-items: center;
	margin-top: 10px;
}

@media (max-width: 820px) {
	.rr-ebook-layout {
		grid-template-columns: 1fr;
		text-align: center;
	}
	.rr-ebook-layout img {
		max-width: 240px;
		margin: 0 auto;
	}
}

.rr-ebook-checklist {
	list-style: none;
	padding: 0;
	margin: 16px 0;
}

.rr-ebook-checklist li {
	position: relative;
	padding-left: 28px;
	margin-bottom: 10px;
	font-size: 16.5px;
	text-align: left;
}

.rr-ebook-checklist li::before {
	content: "✔";
	position: absolute;
	left: 0;
	color: var(--rr-color-orange);
	font-weight: 700;
}

.rr-ebook-highlight {
	background: rgba(255, 255, 255, 0.75);
	border-left: 4px solid var(--rr-color-orange);
	padding: 16px 20px;
	border-radius: 0 10px 10px 0;
	margin: 20px 0;
	text-align: left;
}

.rr-btn-orange {
	display: inline-block;
	background: var(--rr-color-orange);
	color: #ffffff !important;
	font-family: var(--rr-font-accent);
	font-weight: 700;
	font-size: 17px;
	padding: 15px 36px;
	border-radius: 12px;
	text-decoration: none !important;
	box-shadow: 0 8px 20px rgba(246, 127, 43, 0.35);
	transition: all 0.2s ease;
	margin-top: 16px;
	border: none;
	cursor: pointer;
}

.rr-btn-orange:hover {
	background: var(--rr-color-orange-hover);
	transform: translateY(-2px);
}

/* ==========================================================================
   Question List (Z czym do mnie przychodzisz?)
   ========================================================================== */
.rr-questions-list {
	list-style: none;
	padding: 0;
	max-width: 680px;
	margin: 32px auto 0;
}

.rr-questions-list li {
	position: relative;
	padding-left: 28px;
	margin-bottom: 14px;
	font-size: 17px;
	color: #333333;
	text-align: left;
}

.rr-questions-list li::before {
	content: "-";
	position: absolute;
	left: 0;
	color: var(--rr-color-terracotta);
	font-weight: 700;
}

/* ==========================================================================
   Kontakt: Layout & Constraints (1:1 with Screenshot)
   ========================================================================== */
.rr-contact-top {
	padding: 50px 24px 30px;
	background-color: var(--rr-color-white);
}

.rr-contact-top__inner {
	max-width: 1060px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 48px;
	align-items: start;
}

@media (max-width: 860px) {
	.rr-contact-top__inner {
		grid-template-columns: 1fr;
		gap: 36px;
		text-align: center;
	}
}

.rr-contact-photo {
	width: 100%;
	max-width: 480px;
	height: 590px;
	object-fit: cover;
	object-position: 85% 35%;
	border-radius: 16px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
	display: block;
	margin: 0 auto;
}

@media (max-width: 980px) {
	.rr-contact-photo {
		height: 460px;
		max-width: 430px;
	}
}

@media (max-width: 767px) {
	.rr-contact-photo {
		height: 380px;
		max-width: 100%;
	}
}

.rr-callout-wait {
	padding: 20px 24px 45px;
	text-align: center;
	background-color: var(--rr-color-white);
}

.rr-callout-wait h2 {
	font-family: var(--rr-font-heading);
	font-style: italic;
	font-size: clamp(30px, 4vw, 52px);
	color: var(--rr-color-terracotta);
	margin: 0;
}

/* ==========================================================================
   Kontakt: Dual Cards (White Box & Dark Navy Box)
   ========================================================================== */
.rr-contact-dual {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 36px;
	max-width: 1040px;
	margin: 0 auto;
}

@media (max-width: 860px) {
	.rr-contact-dual {
		grid-template-columns: 1fr;
	}
}

.rr-card-white {
	background: #ffffff;
	border-radius: 16px;
	padding: 40px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
	border: 1px solid #e8e2d8;
}

.rr-card-navy {
	background: #2b4c73;
	color: #ffffff;
	border-radius: 16px;
	padding: 40px;
	box-shadow: 0 10px 30px rgba(43, 76, 115, 0.2);
}

.rr-card-navy h2 {
	color: #ffffff !important;
}

.rr-card-navy p {
	color: #ffffff;
	font-size: 18px;
	line-height: 1.7;
	margin-bottom: 24px;
	font-weight: 400;
}

.rr-card-white input,
.rr-card-white textarea {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid #d4d0c8;
	border-radius: 8px;
	margin-bottom: 16px;
	font-family: inherit;
	font-size: 15px;
}

.rr-card-navy .tnp-field {
	margin-bottom: 16px !important;
	display: block !important;
	width: 100% !important;
}

.rr-card-navy input[type="text"],
.rr-card-navy input[type="email"],
.rr-card-navy .tnp-subscription input[type="text"],
.rr-card-navy .tnp-subscription input[type="email"] {
	width: 100% !important;
	display: block !important;
	box-sizing: border-box !important;
	padding: 14px 18px !important;
	border: none !important;
	border-radius: 8px !important;
	margin-bottom: 16px !important;
	background: #ffffff !important;
	color: #333333 !important;
	font-family: inherit !important;
	font-size: 15px !important;
	line-height: normal !important;
	box-shadow: none !important;
}

.rr-card-navy .tnp-field input[type="text"],
.rr-card-navy .tnp-field input[type="email"] {
	margin-bottom: 0 !important;
}

.rr-btn-outline-orange {
	display: inline-block;
	background: #ffffff;
	color: var(--rr-color-terracotta);
	border: 2px solid var(--rr-color-terracotta);
	padding: 12px 28px;
	border-radius: 8px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
}

.rr-btn-outline-orange:hover {
	background: var(--rr-color-terracotta);
	color: #ffffff;
}

.rr-btn-navy-submit {
	display: inline-block;
	background: #333e48;
	color: #ffffff;
	border: none;
	padding: 11px 26px;
	border-radius: 4px;
	font-weight: 600;
	cursor: pointer;
	width: auto;
	transition: background 0.2s ease;
}

.rr-btn-navy-submit:hover {
	background: #232c34;
}

/* ==========================================================================
   Testimonials Grid (4 Cards)
   ========================================================================== */
.rr-testimonials-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-top: 36px;
}

@media (max-width: 900px) {
	.rr-testimonials-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 520px) {
	.rr-testimonials-grid {
		grid-template-columns: 1fr;
	}
}

.rr-testimonial-card img {
	width: 100%;
	height: auto;
	border-radius: 14px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
	display: block;
	transition: transform 0.25s ease;
}

.rr-testimonial-card img:hover {
	transform: translateY(-4px);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
	background: #111111;
	color: #999999;
	padding: 24px;
	text-align: center;
	font-size: 14px;
}

.site-footer a {
	color: #ffffff;
	text-decoration: none;
	margin-left: 12px;
}

/* ==========================================================================
   Floating Complianz "Zarządzaj zgodą" (Bottom-Right)
   ========================================================================== */
#cmplz-manage-consent {
	position: fixed;
	bottom: 0;
	right: 36px;
	z-index: 999999;
}

#cmplz-manage-consent .cmplz-manage-consent {
	background-color: #2d5278;
	color: #ffffff;
	font-family: var(--rr-font-body);
	font-size: 13.5px;
	font-weight: 500;
	padding: 8px 18px 12px 18px;
	border-radius: 6px 6px 0 0;
	border: none;
	cursor: pointer;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
	display: inline-block;
	transform: translateY(18px);
	transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.2s ease;
	outline: none;
}

#cmplz-manage-consent:hover .cmplz-manage-consent,
#cmplz-manage-consent .cmplz-manage-consent:hover {
	transform: translateY(0);
	background-color: #1e3a57;
}

/* ==========================================================================
   Booking Form & Interactive Datepicker (1:1 with Screenshots)
   ========================================================================== */
.rr-booking-container {
	max-width: 820px;
	margin: 0 auto;
}

.rr-booking-header {
	text-align: center;
	margin-bottom: 32px;
}

.rr-booking-header h2 {
	font-size: 32px;
	font-weight: 700;
	color: #2b2e34;
	margin-bottom: 12px;
	letter-spacing: -0.3px;
	font-family: var(--rr-font-body);
}

.rr-booking-header p {
	font-size: 15px;
	color: #2b2e34;
	line-height: 1.55;
	max-width: 680px;
	margin: 0 auto;
	font-family: var(--rr-font-body);
}

.rr-booking-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px 24px;
	margin-bottom: 18px;
}

@media (max-width: 640px) {
	.rr-booking-grid {
		grid-template-columns: 1fr;
	}
}

.rr-form-group {
	position: relative;
	display: flex;
	flex-direction: column;
}

.rr-form-group label {
	font-size: 13.5px;
	font-weight: 700;
	color: #1a1a1a;
	margin-bottom: 7px;
	font-family: var(--rr-font-body);
}

.rr-form-group select,
.rr-form-group input[type="text"],
.rr-form-group input[type="email"],
.rr-form-group input[type="tel"],
.rr-form-group textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #d4d0c8;
	border-radius: 6px;
	font-family: var(--rr-font-body);
	font-size: 14.5px;
	color: #1a1a1a;
	background: #ffffff;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	outline: none;
	box-sizing: border-box;
}

.rr-form-group select:focus,
.rr-form-group input:focus,
.rr-form-group textarea:focus {
	border-color: #e27730;
	box-shadow: 0 0 0 3px rgba(226, 119, 48, 0.15);
}

.rr-form-group select {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 14px;
	padding-right: 36px;
	cursor: pointer;
}

.rr-field-note {
	font-size: 11.5px;
	color: #666666;
	margin-top: 5px;
	font-family: var(--rr-font-body);
}

.rr-btn-submit-booking {
	width: 100%;
	background: #e27730;
	color: #ffffff;
	border: none;
	padding: 15px 24px;
	border-radius: 8px;
	font-family: var(--rr-font-body);
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	margin-top: 10px;
	transition: background-color 0.2s ease;
	box-sizing: border-box;
}

.rr-btn-submit-booking:hover {
	background: #cf6622;
}

/* Custom Calendar Datepicker - Exactly 1:1 with Screenshots */
.rr-datepicker-wrapper {
	position: relative;
}

.rr-datepicker-calendar {
	display: none;
	position: absolute;
	top: calc(100% - 15px);
	right: 0;
	width: 270px;
	background: #ffffff;
	border: 1px solid #e2ddd5;
	border-radius: 12px;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
	padding: 14px 14px 12px;
	z-index: 1000;
	box-sizing: border-box;
}

.rr-datepicker-calendar.is-open {
	display: block;
}

.rr-cal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
	padding: 0 2px;
}

.rr-cal-title {
	font-size: 14px;
	font-weight: 700;
	color: #1a1a1a;
	font-family: var(--rr-font-body);
}

.rr-cal-nav {
	width: 26px;
	height: 26px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #e0d8cf;
	border-radius: 6px;
	background: #ffffff;
	cursor: pointer;
	color: #888;
	font-size: 13px;
	transition: all 0.15s ease;
}

.rr-cal-nav:hover {
	background: #f7f7f7;
	color: #1a1a1a;
}

.rr-cal-weekdays {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	text-align: center;
	margin-bottom: 6px;
}

.rr-cal-weekdays span {
	font-size: 11.5px;
	font-weight: 500;
	color: #777777;
	font-family: var(--rr-font-body);
}

.rr-cal-days {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 3px 1px;
	text-align: center;
}

.rr-cal-day {
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	border-radius: 4px;
	user-select: none;
	font-family: var(--rr-font-body);
}

.rr-cal-day.disabled {
	color: #c4c4c4;
	cursor: not-allowed;
	background: transparent;
}

.rr-cal-day.active {
	color: #1a1a1a;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.15s ease;
}

.rr-cal-day.active:hover {
	background: #f5f5f5;
}

.rr-cal-day.selected {
	background: #e27730 !important;
	color: #ffffff !important;
}

@media (max-width: 480px) {
	.rr-datepicker-calendar {
		left: 50% !important;
		right: auto !important;
		transform: translateX(-50%);
		width: calc(100vw - 36px) !important;
		max-width: 300px !important;
		top: calc(100% - 8px);
	}
}

/* ==========================================================================
   SKLEP: E-book Box, Testimonials & Checklist
   ========================================================================== */
.rr-ebook-container {
	max-width: 1040px;
	margin: 0 auto;
	padding: 44px 40px 48px;
	background: linear-gradient(145deg, #fff9f4 0%, #f4ece2 55%, #eae0d4 100%);
	border: 2px solid var(--rr-color-orange);
	border-radius: 20px;
	box-shadow: 0 16px 44px rgba(246, 127, 43, 0.15);
	position: relative;
}

.rr-ebook-badge {
	position: absolute;
	top: -22px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--rr-color-orange);
	color: #ffffff;
	font-family: var(--rr-font-body);
	font-weight: 700;
	font-size: 20px;
	padding: 8px 32px;
	border-radius: 999px;
	box-shadow: 0 6px 18px rgba(246, 127, 43, 0.35);
}

.rr-ebook-layout {
	display: grid;
	grid-template-columns: 290px 1fr;
	gap: 40px;
	align-items: center;
	margin-top: 10px;
}

.rr-ebook-checklist {
	list-style: none;
	padding: 0;
	margin: 16px 0;
}

.rr-ebook-checklist li {
	position: relative;
	padding-left: 28px;
	margin-bottom: 10px;
	font-size: 16.5px;
	text-align: left;
	font-weight: 300;
}

.rr-ebook-checklist li::before {
	content: "✔";
	position: absolute;
	left: 0;
	color: var(--rr-color-orange);
	font-weight: 700;
}

.rr-ebook-highlight {
	background: rgba(255, 255, 255, 0.75);
	border-left: 4px solid var(--rr-color-orange);
	padding: 16px 20px;
	border-radius: 0 10px 10px 0;
	margin: 20px 0;
	text-align: left;
}

.rr-testimonials-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-top: 36px;
}

.rr-testimonial-card img {
	width: 100%;
	height: auto;
	border-radius: 14px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
	display: block;
}

/* ==========================================================================
   Newsletter TNP Success & AJAX states
   ========================================================================== */
.tnp-ajax-success {
	background: #eafaf1;
	color: #1e6b42;
	padding: 14px 18px;
	border-radius: 8px;
	border: 1px solid #b7e9cb;
	font-family: var(--rr-font-body);
	font-size: 15px;
	font-weight: 600;
	text-align: center;
	margin-top: 14px;
}

.rr-card-navy .tnp-ajax-success {
	background: rgba(46, 204, 113, 0.2);
	color: #7bed9f;
	border-color: rgba(46, 204, 113, 0.4);
}

/* ==========================================================================
   Comprehensive Mobile & Tablet Breakpoints (≤ 880px, ≤ 640px, ≤ 480px)
   ========================================================================== */
@media (max-width: 880px) {
	.rr-ebook-layout {
		grid-template-columns: 1fr;
		gap: 28px;
		text-align: center;
	}
	.rr-ebook-container {
		padding: 38px 24px 32px;
	}
	.rr-ebook-checklist {
		max-width: 440px;
		margin: 16px auto;
	}
	.rr-testimonials-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}
}

@media (max-width: 768px) {
	.rr-section-beige,
	.rr-section-white {
		padding: 55px 18px;
	}

	.rr-hero-home {
		min-height: calc(100vh - 65px);
		min-height: calc(100dvh - 65px);
		height: calc(100vh - 65px);
		height: calc(100dvh - 65px);
	}

	.rr-hero-home__bar {
		padding: 16px 14px;
	}

	.rr-hero-home__bar h1 {
		font-size: clamp(26px, 7.5vw, 40px);
	}

	.rr-hero-home__bar p {
		font-size: clamp(14px, 3.8vw, 18px);
	}

	.rr-callout-wait h2 {
		font-size: clamp(24px, 5.5vw, 44px) !important;
	}
}

@media (max-width: 640px) {
	.rr-ebook-badge {
		font-size: 16px;
		padding: 6px 22px;
		top: -18px;
	}

	.rr-ebook-container {
		padding: 32px 16px 24px;
		border-radius: 16px;
	}

	.rr-questions-list {
		padding: 0;
		margin-top: 24px;
	}

	.rr-questions-list li {
		font-size: 15.5px;
		padding: 12px 0 12px 24px;
		line-height: 1.5em;
	}

	.rr-booking-container {
		padding: 0 4px;
	}

	.rr-booking-header h2 {
		font-size: 26px;
	}

	.rr-booking-header p {
		font-size: 14px;
	}

	.rr-booking-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.rr-form-group select,
	.rr-form-group input[type="text"],
	.rr-form-group input[type="email"],
	.rr-form-group input[type="tel"],
	.rr-form-group textarea {
		font-size: 15px;
		padding: 13px 14px;
	}

	.rr-card-white,
	.rr-card-navy {
		padding: 28px 20px;
		border-radius: 14px;
	}

	#cmplz-manage-consent {
		right: 14px;
	}

	#cmplz-manage-consent .cmplz-manage-consent {
		font-size: 12px;
		padding: 6px 14px 10px;
	}
}

@media (max-width: 480px) {
	.rr-section-beige,
	.rr-section-white {
		padding: 42px 14px;
	}

	.rr-contact-photo {
		height: 320px;
	}

	.rr-testimonials-grid {
		grid-template-columns: 1fr;
		max-width: 320px;
		margin: 28px auto 0;
	}

	.rr-btn-orange {
		padding: 14px 24px;
		font-size: 15.5px;
		width: 100%;
		text-align: center;
	}
}
