/*
Theme Name: LD Theme
Theme URI: https://legalizacjedokumentow.pl/
Author: MysticNord
AuthorURI: https://www.mysticnord.com/
Author Contact: kontakt@mysticnord.com
Description: Własny motyw WordPress dla Legalizacje Dokumentów. 
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ld-theme
*/

/*
 * Podstawowe zmienne kolorystyczne. Kolory są nadpisywane poprzez klasy schematów kolorów
 * dołączane do tagu <body>. Domyślny schemat to niebieski (blue).
 */
:root {
	--ld-primary: #14a4f5; /* niebieski */
	--ld-primary-dark: #0a6daa;
	--ld-secondary: #f5f9fc;
	--ld-accent: #f58220;
	--ld-bg: #f6f6f6;
	--ld-text: #1a1a1a;
	--ld-white: #ffffff;
	--ld-text-light: #ffffff;
	--ld-dark: #1c1c1c;
	--ld-darklight: #353535;
	--ld-grey: #BFBFBF;
	--ld-green: #42AB5D;
	
	--ld-border-radius: 8px;
}

/* Schemat kolorystyczny: złoty gradient */
.scheme-gold {
  --ld-primary: #eab871;
  --ld-primary-dark: #926e35;
  --ld-secondary: #fff5e5;
  --ld-accent: #ffebc0;
}

/* Schemat kolorystyczny: czerwony i złoty */
.scheme-red-gold {
  --ld-primary: #ea4335;
  --ld-primary-dark: #ae2f23;
  --ld-secondary: #fff0e5;
  --ld-accent: #eab871;
}

/* Globalne style resetujące */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* ---------------------------------------------------------------------------- Typography */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Manrope:wght@200..800&display=swap');

a {
	color: var(--ld-primary);
	text-decoration: none;
	transition: color 0.2s, background-color 0.2s;
}
a:hover, a:focus {
  color: var(--ld-primary-dark);
}

h1, h2, h3, h4, h5, h6 {
	font-family: "Manrope", sans-serif;
	margin-bottom: 0.5em;
}
h1 {
	font-size: 42px;
	line-height: 60px;
}
h2 {
	font-size: 35px;
	line-height: 50px;
}
h3 {
	font-size: 27px;
	line-height: 36px;
}
h4 {
	font-size: 20px;
	line-height: 24px;
}
h5 {
	font-size: 18px;
	line-height: 27px;
	color: var(--ld-primary);
}
h6 {
	font-size: 42px;
	line-height: 60px;
}
p {
	font-size: 18px;
	line-height: 27px;
	margin-bottom: 1rem;
}
body, p, .btn {
	font-family: "Inter", sans-serif;
}
.site-header nav a {
	font-size: 16px;
	line-height: 24px;
}
h1 strong {
	color: var(--ld-primary);
}
li {list-style: none;}

.section-titles {
	text-align: center;
	max-width: 60%;
	margin: 20px auto 80px auto;
}
.section-titles h5 {
	color: var(--ld-primary);
}
.complex-right h4 {
	font-size: 28px;
	color: #373737;
	margin-bottom: 40px;
}
.complex-right p {
	font-size: 20px;
	line-height: 28px;
	margin-bottom: 30px;
	color: #636363;
}

/* Buttons */
.buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}
.section-buttons {
	display: block;
	margin: 100px auto 50px auto;
	text-align: center;
}
.buttons > * {
	margin-right: 0px;
}
.btn-1,
.btn-2 {
	padding: 12px 20px;
	border-radius: var(--ld-border-radius);
}
.btn-1 {
	color:  var(--ld-primary);
	border: solid 1px var(--ld-primary);
	background-color: transparent;	
	margin-right: 50px;
}
.btn-2 {
	background-color:  var(--ld-primary);
	border: solid 1px var(--ld-primary);
	color: var(--ld-white);	
}
.btn-1:hover {
	color:  var(--ld-white);
	background-color:  var(--ld-primary);
}
.btn-2:hover {
	background-color:  var(--ld-white);
	color: var(--ld-primary);	
}


/* Lists */
.hero ul {
	list-style: none;
	padding: 0;
	margin: 40px 0;
}
.hero ul li {
	position: relative;
	margin-bottom: 10px;
	padding-left: 30px;
	font-size: 20px;
	line-height: 34px;
	color: #5e5e5e;
}
body.page-template-page-contact .hero ul li {
	font-size: 15px;
	color: #233042;
}
body.page-template-page-contact li {
	padding-left: 0;
}
body:not(.page-template-page-contact) .hero ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 24px;
	height: 24px;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox=\'0 0 512 512\'><path fill="%234da3ff" d="M0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256zM371.8 211.8C382.7 200.9 382.7 183.1 371.8 172.2C360.9 161.3 343.1 161.3 332.2 172.2L224 280.4L179.8 236.2C168.9 225.3 151.1 225.3 140.2 236.2C129.3 247.1 129.3 264.9 140.2 275.8L204.2 339.8C215.1 350.7 232.9 350.7 243.8 339.8L371.8 211.8z"/></svg>');
}

.col.col-1 ul,
.contact-left ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.col.col-1 li,
.contact-left li {
	position: relative;
	padding-left: 40px;
	margin-bottom: 12px;
	font-size: 18px;
	line-height: 1.6;
}
.col.col-1 li::before,
.contact-left li:before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 22px;
	height: 22px;
	transform: translateY(-50%);
	background-color: var(--ld-primary);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M438.6 105.4C451.1 117.9 451.1 138.1 438.6 150.6L182.6 406.6C170.1 419.1 149.9 419.1 137.4 406.6L9.372 278.6C-3.124 266.1-3.124 245.9 9.372 233.4C21.87 220.9 42.13 220.9 54.63 233.4L159.1 338.7L393.4 105.4C405.9 92.88 426.1 92.88 438.6 105.4z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M438.6 105.4C451.1 117.9 451.1 138.1 438.6 150.6L182.6 406.6C170.1 419.1 149.9 419.1 137.4 406.6L9.372 278.6C-3.124 266.1-3.124 245.9 9.372 233.4C21.87 220.9 42.13 220.9 54.63 233.4L159.1 338.7L393.4 105.4C405.9 92.88 426.1 92.88 438.6 105.4z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
	-webkit-mask-size: contain;	
}




/* ---------------------------------------------------------------------------- Structure */
body {
	color: var(--ld-text);
	background-color: var(--ld-bg);
}
img {max-width: 100%;}

/* Kontener o stałej szerokości */
.container {
	width: 100%;
	max-width: 1220px;
	margin: 0 auto;
	padding-left: 20px;
	padding-right: 20px;
}
.site-header .container {
	max-width: 1480px;
}
.container.columns {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 40px;
}
.benefits-section .container.columns {
	grid-template-columns: 1.1fr 0.9fr;
	gap: 0;
}
.inpost-section .container.columns {
	grid-template-columns: 0.9fr 1.1fr;
	gap: 0;
	padding-left: 0;
}
.benefits-section .container.columns,
.inpost-section .container.columns {
	align-items: center;
}
.benefits-section .container.columns .col-1 {
	padding: 100px 100px 100px 0;
}
.inpost-content {
	padding: 100px 0 100px 100px;
}

/* Contact forms */
.wpcf7-list-item label {
	display: grid;
	grid-template-columns: auto 98%;
	gap: 1%;
}
.wpcf7-acceptance .wpcf7-list-item label input {
	margin-right: 20px;
	margin-top: 7px;
}
.form-icon {
	text-align: center;
	width: 100%;
}
.form-icon img {
	background-color: var(--ld-primary);
	border-radius: 100%;
	padding: 8px;
}
.data-secure {
	color: var(--ld-green);
	text-align: center;
	font-size: 18px;
	font-weight: 600;
}
.hero-form form > .data-secure p {
	display: flex;
	align-items: center;
	justify-content: center;
}
.data-secure img {
	margin-right: 10px;
}
.hero-form input[type="submit"] {
	color: var(--ld-white);
	background-color: var(--ld-primary);
	font-size: 18px;
	font-weight: 600;
}
.wpcf7-form p {
	margin-bottom: 0;
}
.wpcf7-list-item {
	font-size: 13px;
	margin-bottom: 20px;	
	color: #3D3D3D;
}

/* ---------------------------------------------------------------------------- Header */
/**/
.site-header {
  background-color: var(--ld-secondary);
  border-bottom: 1px solid #e5e5e5;
  position: relative;
  z-index: 99;
}
.site-header .header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
	padding: 0;
}
.site-header .site-branding img {
	width: auto;
	max-height: 120px;
	height: auto;
	object-fit: contain;
	transition-duration: .3s;
}
.site-header.is-sticky .site-branding img {
	max-height: 80px;
}

.header-cta {
  margin-left: 2rem;
}
.header-cta a.button {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  background-color: var(--ld-primary);
  color: #fff;
  border-radius: var(--ld-border-radius);
  font-weight: 600;
  transition: background 0.2s;
}
.header-cta a.button:hover {
  background-color: var(--ld-primary-dark);
}

/* ---------------------------------------------------------------------------- Navigation */
.main-navigation {
	width: 100%;
	display: flex;
	justify-content: flex-end;
}
.site-header nav ul {
	display: flex;
	list-style: none;
	gap: 18px;
}
.site-header nav li {
	position: relative;
}
.site-header nav a {
	font-weight: 500;
	font-size: 14px;
	color: var(--ld-text);
}
.site-header nav a:hover {
	color: var(--ld-primary);
}
.site-header nav li.nav-btn a {
	color: var(--ld-white);
	background-color: var(--ld-primary);
	border: solid 1px var(--ld-primary);
	border-radius: var(--ld-border-radius);
	padding: 12px 20px;
}
.site-header nav li.nav-btn:hover a {
	background-color: var(--ld-white);
	color: var(--ld-primary);
}
.submenu-toggle {
	position: relative;
	margin-left: 4px;
	top: -2px;
}

/* Mobile Menu */
/* ---------------------------------------------------------------------------- Sticky header */
.site-header.is-sticky {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background-color: var(--ld-white);
	box-shadow: 0 2px 10px rgba(0,0,0,0.05);
	animation: fadeInDown 0.4s ease;
	z-index: 999;
}
@keyframes fadeInDown {
	from { opacity: 0; transform: translateY(-20px); }
	to { opacity: 1; transform: translateY(0); }
}

/* ---------------------------------------------------------------------------- Mobile menu */
.menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 36px;
	height: 32px;
	background: none;
	border: none;
	cursor: pointer;
}
.menu-toggle span {
	width: 24px;
	height: 2px;
	background: var(--ld-text);
	margin: 3px 0;
	transition: all 0.3s ease;
}

/* Animacja krzyża po kliknięciu */
.menu-toggle.open span:nth-child(1) {
	transform: rotate(45deg) translateY(7px);
}
.menu-toggle.open span:nth-child(2) {
	opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
	transform: rotate(-45deg) translateY(-7px);
}

/* Domyślnie ukryte menu na mobile */
@media (max-width: 1280px) {
	.main-navigation {
		position: absolute;
		top: 100%;
		right: 0;
		width: 100%;
		background: var(--ld-white);
		flex-direction: column;
		align-items: flex-start;
		padding: 1.5rem;
		display: none;
		box-shadow: 0 4px 10px rgba(0,0,0,0.05);
	}

	.main-navigation.active {
		display: flex;
	}

	.main-navigation ul {
		flex-direction: column;
		gap: 1rem;
		width: 100%;
	}

	.header-cta {
		display: none;
	}

	.menu-toggle {
		display: flex;
	}
	.site-header nav li {
		text-align: center;
	}
}

/* ---------------------------------------------------------------------------- Submenu */
.site-header nav ul ul.sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	background: var(--ld-white);
	border: 1px solid #e5e5e5;
	padding: 1rem 1.5rem;
	list-style: none;
	display: none;
	flex-wrap: wrap;
	flex-direction: row;
	column-gap: 2rem;
	row-gap: 0.25rem;
	min-width: 500px; /* dwie kolumny */
	max-height: 70vh; /* ograniczenie wysokości */
	overflow-y: auto;
	box-shadow: 0 4px 15px rgba(0,0,0,0.1);
	z-index: 9999;
	border-radius: 6px;
}

/* Pokazuj submenu przy hoverze */
.site-header nav ul li:hover > ul.sub-menu {
	display: flex;
}

/* Pozycje w submenu */
.site-header nav ul ul.sub-menu li {
	flex: 1 1 calc(50% - 1rem); /* dwie kolumny */
	margin: 0;
}

.site-header nav ul ul.sub-menu li a {
	display: block;
	padding: 0.35rem 0;
	font-size: 12px;
	line-height: 1.4;
	color: var(--ld-text);
	text-decoration: none;
	transition: color 0.2s, background 0.2s;
	white-space: normal;
}

.site-header nav ul ul.sub-menu li a:hover {
	color: var(--ld-primary);
	background: rgba(0,0,0,0.03);
}

/* Scrollbar w submenu */
.site-header nav ul ul.sub-menu::-webkit-scrollbar {
	width: 6px;
}
.site-header nav ul ul.sub-menu::-webkit-scrollbar-thumb {
	background: #ccc;
	border-radius: 3px;
}
@media (max-width: 1280px) {
	.site-header nav ul ul.sub-menu {
		position: static;
		display: none;
		border: none;
		box-shadow: none;
		padding: 0.5rem 1rem;
		flex-direction: column;
		column-gap: 0;
		row-gap: 0.25rem;
		min-width: 100%;
		max-height: none;
		overflow: visible;
	}
	.site-header nav li.submenu-open > ul.sub-menu {
		display: flex;
	}
}




/* ---------------------------------------------------------------------------- Hero */
/**/
.hero {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 4rem 0;
	background-size: cover;
	background-position: center;
	color: var(--ld-text);
}
.hero .container {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 40px;
	align-items: center;
}
.hero-content {
	flex: 1;
	padding-right: 2rem;
}
.hero-content .bullets {
	margin-top: 1rem;
}

/* ------------------ Contact Form */
.hero-form {
  flex: 1;
  background-color: #fff;
  padding: 2rem;
  border-radius: var(--ld-border-radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.hero-form h3,
.contact-right h3{
	text-align: center;
	color: var(--ld-darklight);
}
.hero-form p label {
	font-size: 12px;
}
.hero-form form > * {
  display: block;
  width: 100%;
  margin-bottom: 1rem;
}
.hero-form input,
.hero-form textarea {
	padding: 0.75rem;
	border: 1px solid #ddd;
	border-radius: var(--ld-border-radius);
	font-size: 0.9rem;
	width: 100%;
}
.hero-form button {
  padding: 0.75rem 1rem;
  background-color: var(--ld-primary);
  color: #fff;
  border: none;
  border-radius: var(--ld-border-radius);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.2s;
}
.hero-form button:hover {
  background-color: var(--ld-primary-dark);
}
/* Contact Page */
body.page-template-page-contact .hero-form {
	background-color: transparent;
	box-shadow: none;
	border-radius: 0;
}
body.page-template-page-contact .hero-form input,
body.page-template-page-contact .hero-form textarea {
	background-color: #f8f8f8;
}
li.contact-el {
	display: flex;
	align-items: center;
	margin-bottom: 10px;
	font-weight: 600;
}
li.contact-el img {
	margin-right: 15px;
}
.contact-details p {
	color: #334155;
	font-size: 14px;
	line-height: 18px;
}
.ld-map-section iframe {
	filter: grayscale(100%);
	transition-duration: .3s;
}
.ld-map-section:hover iframe {
	filter: grayscale(0);
}

/* ---------------------------------------------------------------------------- Home */
/**/


.hero-content .bullets li {
  list-style: none;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}
.hero-content .bullets li i {
  margin-right: 0.5rem;
  color: var(--ld-primary);
}


.complex-section {
	padding: 4rem 0;
}
.complex-items .item img {
  width: 40px;
  height: 40px;
  margin-right: 1rem;
}
.complex-content {
  flex: 1;
}
.complex-content .signature {
  display: flex;
  align-items: center;
  margin-top: 2rem;
}
.complex-content .signature img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 1rem;
}
.complex-content .signature span {
  display: block;
  font-size: 0.9rem;
}
.complex-section .complex-inner {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 40px;
	align-items: center;
}
.complex-inner li {
	font-size: 18px;
	line-height: 30px;
	margin-bottom: 20px;
	position: relative;
	display: flex;
	align-items: center;
	color: #353535;
	padding: 20px 20px 20px 100px;
}
.complex-inner li::before {
	content: "";
	position: absolute;
	left: 20px;
	top: 50%;
	transform: translateY(-50%);
	width: 50px;
	height: 50px;
	background-color: var(--ld-primary);
	background-image: url('/wp-content/themes/ld-theme/assets/img/complex.svg');
	background-size: 30px 30px;
	background-repeat: no-repeat;
	background-position: center;
	border-radius: 8px;
}
.complex-inner li,
.complex-right .text-content {
	background-color: var(--ld-white);
	border-radius: var(--ld-border-radius);
}
.complex-right .text-content {
	padding: 30px 30px 10px 30px;
	position: relative;
}
.complex-right .text-content:before {
	content: '';
	background-image: url('/wp-content/themes/ld-theme/assets/icons/q-marks.svg');
	background-position: 90% 90%;
	background-size: 200px;
	background-repeat: no-repeat;
	position: absolute;
	bottom: 0;
	right: 0;
	width: 300px;
	height: 300px;
}
.complex-right .text-content p img {
	margin-top: 40px;
}




/* Sekcja recenzji Google */
.reviews-section {
  padding: 4rem 0;
  background-color: var(--ld-secondary);
  text-align: center;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.review-card {
  background-color: #fff;
  padding: 1.5rem;
  border-radius: var(--ld-border-radius);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  text-align: left;
}
.review-card .stars {
  margin-bottom: 0.5rem;
  color: #f5b800;
}

/* Sekcja korzyści */
.benefits-section {
	padding: 0;
	background-color: var(--ld-dark);
	display: flex;
	align-items: center;
	gap: 3rem;
	color: var(--ld-white);
}
.benefits-section .benefits-content {
	flex: 1;
}
.benefits-section .benefits-image {
	flex: 1;
}
.benefits-section .benefits-image img {
	width: 100%;
}
.benefits-section ul {
	padding-left: 0;
}
.benefits-section ul li {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
}
.benefits-section ul li i {
  color: var(--ld-primary);
  margin-right: 0.5rem;
}

/* Sekcja InPost / mapka */
.inpost-section {
	padding: 0;
	background-color: var(--ld-white);
	display: flex;
	align-items: center;
	gap: 3rem;
}
.inpost-section .map-container {
	flex: 1;
}
.inpost-section .map-container img {
	width: 100%;
}
.inpost-section .inpost-content {
	flex: 1;
}
.inpost-section .buttons {
	margin-top: 1rem;
}
.inpost-section .buttons a {
	display: inline-block;
	margin-right: 1rem;
	padding: 0.7rem 1.2rem;
	background-color: #FFCC00;
	color: var(--ld-dark);
	border-radius: var(--ld-border-radius);
	font-weight: 400;
	transition: background 0.2s;
	border: solid 1px #FFCC00;
}
.inpost-section .buttons a:hover {
	opacity: .7;
}
.inpost-section .buttons a:nth-of-type(2) {
	background-color: var(--ld-dark);
	color: var(--ld-white);
	border-color: var(--ld-dark);
}
.inpost-section .buttons a:nth-of-type(2):hover {
	background-color: var(--ld-white);
	color: var(--ld-dark);
}

/* Sekcja klienci */
.clients-section {
  padding: 4rem 0;
  background-color: #fff;
  text-align: center;
}
.clients-grid {
	display: grid;
	grid-template-columns: repeat(8, minmax(100px, 1fr));
	gap: 2rem;
	margin-top: 2rem;
	align-items: center;
	justify-items: center;
}
.clients-grid img {
	width: 100%;
	max-width: 100px;
	height: auto;
	filter: grayscale(100%);
	opacity: 0.8;
	transition: opacity 0.2s, filter 0.2s;
}
.clients-grid img:hover {
	filter: grayscale(0%);
	opacity: 1;
}
.clients-section .buttons {
  margin-top: 2rem;
}
.clients-section .buttons a {
  display: inline-block;
  margin-right: 1rem;
  padding: 0.7rem 1.2rem;
  background-color: var(--ld-primary);
  color: #fff;
  border-radius: var(--ld-border-radius);
  font-weight: 600;
  transition: background 0.2s;
}
.clients-section .buttons a:hover {
  background-color: var(--ld-primary-dark);
}

/* Sekcja sukces stories */
.success-section {
	padding: 4rem 0;
	background-color: var(--ld-secondary);
}
.success-section .titles {
	text-align: center;
	max-width: 60%;
	margin: 40px auto;
}
.success-grid {
	display: block;
	gap: 2rem;
}
.success-grid > * {
	margin-bottom: 30px;
	max-width: 70%;
	margin-left: auto;
	margin-right: auto;
}
.success-card {
  background-color: #fff;
  padding: 1.5rem;
  border-radius: var(--ld-border-radius);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.success-card .flag {
	width: 40px;
 	height: 30px;
	margin-bottom: 0.5rem;
}
.success-card .flag img {
	max-width: 60px;
	max-height: 60px;
	margin-top: 40px;
}
.success-card h4 {
  margin: 0.5rem 0;
  font-size: 1.1rem;
}
.success-card p {
  font-size: 0.9rem;
}
.success-card h4,
.success-card p {
	padding-left: 100px;
}

/* CTA sekcja */
.cta-section {
  padding: 4rem 0;
  background-color: var(--ld-primary);
  color: var(--ld-text-light);
  text-align: center;
}
.cta-section h2 {
  color: var(--ld-text-light);
  margin-bottom: 1rem;
  font-size: 2rem;
}
.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  margin: 0 auto 2rem;
}
.cta-section .cta-buttons a {
  display: inline-block;
  margin: 0.5rem;
  padding: 0.8rem 1.5rem;
  background-color: var(--ld-secondary);
  color: var(--ld-primary);
  border-radius: var(--ld-border-radius);
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}
.cta-section .cta-buttons a:hover {
  background-color: var(--ld-primary-dark);
  color: #fff;
}
/* ---------------------------------------------------------------------------- Footer */
.footer-logo img {
	filter: grayscale(100%);
}
/* Contact Form */
#contact {
	background-color: var(--ld-dark);
}


/* Sekcja kontaktowa – tło i odstępy */
.section-contact {
    background-color: #0e0e0e;
    color: #fff;
    padding: 80px 0;
}

.section-contact .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.section-contact .container .contact-left {
	position: relative;
}
.section-contact .container .contact-left:before {
	content: '';
	background-image: url('/wp-content/themes/ld-theme/assets/icons/Arrow-02.svg');
	background-position: 90% 50%;
	background-size: 150px;
	width: 200px;
	height: 200px;
	position: absolute;
	bottom: 0;
	right: 0;
	background-repeat: no-repeat;
}

.contact-inner {
    display: grid;
	grid-template-columns: repeat(2, 1fr);
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}

/* LEWA KOLUMNA (tekst) */
.contact-left {
    flex: 1 1 50%;
}

.contact-left h1,
.contact-left h2,
.contact-left h3,{
    color: #fff;
    font-weight: 700;
    line-height: 1.3;
}
.contact-left h1,
.contact-left h2,
.contact-left h3,
.contact-left h4,
.contact-left p {
    margin-bottom: 60px;
}
.contact-left h5 {
	margin-bottom: 20px;
}
.contact-left ul {
	margin-bottom: 100px;
}

.contact-left p {
    color: #bbb;
    line-height: 1.6;
}


/* PRAWA KOLUMNA (formularz) */
.contact-right {
    flex: 1 1 45%;
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    color: #000;
    /* Dodaj cień, aby panel unosił się nad tłem */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* Strzałka nad formularzem */
.contact-right::before {
    content: "";
    position: absolute;
    top: -32px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: url('PATH-TO-YOUR-DOWN-ARROW.svg') no-repeat center center / contain;
}

.contact-right form {
    margin: 0;
}

.contact-right input,
.contact-right textarea,
.contact-right select {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 16px;
    margin-bottom: 15px;
    color: #333;
}

.contact-right input[type="submit"],
.contact-right button {
    background: #4da3ff;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 14px 24px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.contact-right input[type="submit"]:hover,
.contact-right button:hover {
    background: #0077ff;
}

/* ---------------------------------------------------------------------------- RWD */
/* ========== HEADER PODSTAWOWY ========== */

.site-header {
	position: relative;
	width: 100%;
	background: var(--ld-white);
	box-shadow: none;
	z-index: 10;
	transition: all 0.3s ease;
}

.site-header .header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 0;
}

.main-navigation .menu {
	display: flex;
	gap: 2rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-navigation .menu li a {
	text-decoration: none;
	color: var(--ld-text);
	font-weight: 500;
	transition: color 0.2s ease;
}

.main-navigation .menu li a:hover {
	color: var(--ld-primary);
}

/* CTA */
.header-cta .button {
	background: var(--ld-primary);
	color: var(--ld-white);
	padding: 0.6rem 1.4rem;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
	transition: background 0.2s ease;
}
.header-cta .button:hover {
	background: var(--ld-primary-dark);
}

/* ========== FIXED HEADER ========== */
.site-header-fixed {
	position: fixed;
	top: -100px;
	left: 0;
	width: 100%;
	background: var(--ld-white);
	box-shadow: 0 2px 10px rgba(0,0,0,0.08);
	z-index: 999;
	transition: top 0.4s ease;
}

.site-header-fixed.visible {
	top: 0;
}

/* ========== HAMBURGER ========== */
.menu-toggle, .menu-toggle-fixed {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	width: 36px;
	height: 32px;
	background: none;
	border: none;
	cursor: pointer;
}
.menu-toggle span, .menu-toggle-fixed span {
	width: 24px;
	height: 2px;
	background: var(--ld-text);
	transition: all 0.3s ease;
}

/* ========== MOBILE MENU ========== */
@media (max-width: 1280px) {
	.main-navigation .menu,
	.main-navigation-fixed .menu {
		display: none;
		flex-direction: column;
		gap: 1rem;
		position: absolute;
		top: 100%;
		right: 0;
		background: var(--ld-white);
		width: 100%;
		padding: 1.5rem;
		border-top: 1px solid #eee;
	}

	.main-navigation.active .menu,
	.main-navigation-fixed.active .menu {
		display: flex;
	}

	.menu-toggle, .menu-toggle-fixed {
		display: flex;
	}

	.header-cta {
		display: none;
	}
}





@media (max-width: 992px) {
    .contact-inner {
        flex-direction: column;
    }
    .contact-left,
    .contact-right {
        flex: 1 1 100%;
    }
    .contact-right {
        margin-top: 40px;
    }
}

/* Stopka */
.site-footer {
	background-color: var(--ld-dark);
	color: #bbb;
	padding: 3rem 0;
}
.site-footer .footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.site-footer .footer-contact-label {
	font-size: 16px;
	color: var(--ld-white);
	opacity: .8;
	margin: 26px 0;
}
.site-footer .footer-col h3 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
.site-footer .footer-col ul,
.site-footer .footer-col li {
	list-style: none;
	margin: 0;
	padding: 0;
}
.site-footer .footer-col li {
	display: flex;
	align-items: center;
}
.site-footer .footer-col li i {
	margin-right: 15px;
}
.site-footer .footer-col a {
  color: #bbb;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.5rem;
}
.site-footer .footer-col a:hover {
  color: var(--ld-primary);
}
.site-footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  border-top: 1px solid #222;
  padding-top: 1rem;
}
.site-footer .footer-bottom p {
	margin: 0;
	font-size: 13px;
}
.site-footer .social-links a {
  color: #bbb;
  margin-right: 1rem;
  font-size: 1.2rem;
  transition: color 0.2s;
}
.site-footer .social-links a:hover {
  color: var(--ld-primary);
}

/* Formularz ogólny */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: var(--ld-border-radius);
  font-size: 0.9rem;
}
.contact-form button {
  padding: 0.75rem 1.5rem;
  background-color: var(--ld-primary);
  color: #fff;
  border: none;
  border-radius: var(--ld-border-radius);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.2s;
}
.contact-form button:hover {
  background-color: var(--ld-primary-dark);
}





/* ---------------------------------------------------------------------------- Sekcja - How To */
/* Styl sekcji Jak to działa */
.how-section {
	background: #f9fbfe;
}
.how-section .container {
	padding: 4rem 0;
	display: flex;
	flex-wrap: wrap;
	gap: 3rem;
	align-items: flex-start;
}
.how-left {
	flex: 1;
	min-width: 280px;
}
.how-left h2 {
	font-size: 2rem;
	margin-top: 0;
}
.how-left p {
	margin-bottom: 1.5rem;
	max-width: 480px;
}
.how-left .btn {
	display: inline-block;
	padding: 0.8rem 1.5rem;
	background: var(--ld-primary);
	color: var(--ld-white);
	border-radius: 8px;
	font-weight: 600;
	text-decoration: none;
}
.how-left .btn:hover {
	background: var(--primary-dark, #005bb5);
}
.how-right {
	flex: 1;
	min-width: 280px;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.how-step {
	background: var(--ld-dark);
	color: var(--ld-white);
	padding: 30px;
	border-radius: 8px;
	position: relative;
}
.how-step .title {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: flex-start;
	margin-bottom: 20px;
}
.how-step .number {
	background: var(--ld-primary);
	color: var(--ld-white);
	width: 50px;
	height: 50px;
	font-size: 28px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
}
.how-step h4 {
	margin: 0 0 0 20px;
	font-size: 26px;
	line-height: 36px;
}
.how-step p {
	font-size: 16px;
	line-height: 24px;
	color: var(--ld-grey);
}





/* ---------------------------------------------------------------------------- RWD */
@media screen and (max-width: 1480px) {
	.clients-grid {
		grid-template-columns: repeat(6, minmax(100px, 1fr));
	}
	.site-header .container {
		max-width: 100%;
		padding-left: 4%;
		padding-right: 4%;
	}
	.site-header nav ul {
		gap: 12px;
	}
	.site-header nav a {
		font-size: 12px;
	}
}
@media screen and (max-width: 1280px) {
	.container {
		max-width: 100%;
		padding-left: 4% !important;
		padding-right: 4% !important;
	}
	.clients-grid {
		grid-template-columns: repeat(5, minmax(100px, 1fr));
	}
}
@media screen and (max-width: 1080px) {
	.hero .container {
		grid-template-columns: 1fr;
	}	
}

@media screen and (max-width: 800px) {
	.complex-section .complex-inner,
	.benefits-section .container.columns,
	.inpost-section .container.columns,
	.contact-inner {
		grid-template-columns: 1fr;
	}
	.how-right {
		min-width: 100%;
	}
	.clients-grid {
		grid-template-columns: repeat(4, minmax(100px, 1fr));
	}
}





@media (max-width: 991px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }
  .hero-content {
    padding-right: 0;
    margin-bottom: 2rem;
  }
  .complex-section .section-inner {
    flex-direction: column;
  }
  .benefits-section {
    flex-direction: column;
  }
  .inpost-section {
    flex-direction: column;
  }
  .site-footer .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .site-footer .footer-bottom .social-links {
    margin-top: 1rem;
  }
}