/* Casas en Marbella — strona bez Elementora. Wymiary zmierzone na stronie z Elementorem (1440 px). */
:root {
	--cs-zloto: #a89d74;
	--cs-tekst: #222;
	--cs-szary: #393939;
	--cs-tlo: #f7f8f9;
	--cs-kontener: 1140px;
	--cs-odstep: 20px; /* odstęp między elementami jak w Elementorze */
	--cs-jost: "Jost", sans-serif;
	--cs-tenor: "Tenor Sans", serif;
}

/* ---------- podstawa ---------- */
.cs-strona { margin: 0; background: var(--cs-tlo); color: var(--cs-tekst); font: 400 16px/30px var(--cs-jost); }
.cs-strona *, .cs-strona *::before, .cs-strona *::after { box-sizing: border-box; }
.cs-strona img { max-width: 100%; height: auto; display: block; }
.cs-strona a { color: inherit; text-decoration: none; transition: color .3s, background-color .3s, border-color .3s; }
.cs-strona :where(h1, h2, h3, h4, h5, h6) { font-family: var(--cs-tenor); font-weight: 400; line-height: 1; margin: 0; color: var(--cs-tekst); }
.cs-strona :where(p, figure, ul) { margin: 0; }
:where(.cs-tresc) figure.wp-block-image { margin: 0; }
.cs-tresc .wp-block-image img { width: 100%; }

/* elementy w kolumnie jeden pod drugim, 20 px odstępu */
.cs-tresc :is(.wp-block-group, .wp-block-column, .cs-blog-karta) > * { margin: 0 0 var(--cs-odstep); }
.cs-tresc :is(.wp-block-group, .wp-block-column, .cs-blog-karta) > :last-child { margin-bottom: 0; }

.cs-tresc .wp-block-columns { display: flex; flex-wrap: nowrap; gap: 0; margin: 0; }
.cs-tresc .wp-block-column { flex: 1 1 0; min-width: 0; }

/* romb (separator) */
.cs-tresc hr.cs-romb { all: unset; display: block; width: 30px; height: 31px; margin: 0 auto 32px; margin-top: 12px; background: var(--cs-zloto);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.7 2.3c-.4-.4-1.1-.4-1.5 0l-8 9.1c-.3.4-.3.9 0 1.2l8 9.1c.4.4 1.1.4 1.5 0l8-9.1c.3-.4.3-.9 0-1.2z'/%3E%3C/svg%3E") center/contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.7 2.3c-.4-.4-1.1-.4-1.5 0l-8 9.1c-.3.4-.3.9 0 1.2l8 9.1c.4.4 1.1.4 1.5 0l8-9.1c.3-.4.3-.9 0-1.2z'/%3E%3C/svg%3E") center/contain no-repeat; }

/* typografia sekcji */
.cs-tresc .cs-h2 { font-size: 30px; line-height: 30px; letter-spacing: 5px; text-transform: uppercase; color: #000; margin-bottom: calc(var(--cs-odstep) + 16px); }
.cs-tresc .cs-etykieta { font: 400 14px/1.5 var(--cs-jost); letter-spacing: 5px; text-transform: uppercase; color: var(--cs-zloto); margin-bottom: calc(var(--cs-odstep) + 15px); }
.cs-tresc .cs-wstep { font-size: 18px; line-height: 1.7; letter-spacing: 2px; color: #5a5a5a; text-align: center; }
.cs-tresc .cs-srodek { text-align: center; }

/* ---------- przyciski ---------- */
.cs-tresc .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 0; }
.cs-tresc .cs-btn .wp-block-button__link { display: inline-flex; align-items: center; gap: 5px; padding: 12px 24px; border: 1px solid #000; border-radius: 0; background: transparent; color: #000;
	font: 400 13px/1.5 var(--cs-jost); letter-spacing: 5px; text-transform: uppercase; }
.cs-tresc .cs-btn .wp-block-button__link:hover { background: #000; color: #fff; }
.cs-tresc .cs-btn--jasny .wp-block-button__link { border-color: #fff; color: #fff; }
.cs-tresc .cs-btn--jasny .wp-block-button__link:hover { background: #fff; color: #000; }
.cs-tresc .cs-btn--wa .wp-block-button__link::after { content: ""; width: 1em; height: 1em; order: -1; width: .875em; margin-right: 5px; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M380.9 97.1A223 223 0 0 0 31 366L0 480l117.7-30.9a222 222 0 0 0 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6a184 184 0 0 1-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7A185 185 0 0 1 39.4 254c0-101.7 82.8-184.5 184.6-184.5a184.5 184.5 0 0 1 184.4 184.5c0 101.8-84.9 184.6-184.5 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8s-14.3 18-17.6 21.8c-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7s-12.5-30.1-17.1-41.2c-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2s-9.7 1.4-14.8 6.9-19.4 19-19.4 46.3 19.9 53.7 22.6 57.4c2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4s4.6-24.1 3.2-26.4c-1.3-2.5-5-3.9-10.5-6.6z'/%3E%3C/svg%3E") center/contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M380.9 97.1A223 223 0 0 0 31 366L0 480l117.7-30.9a222 222 0 0 0 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6a184 184 0 0 1-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7A185 185 0 0 1 39.4 254c0-101.7 82.8-184.5 184.6-184.5a184.5 184.5 0 0 1 184.4 184.5c0 101.8-84.9 184.6-184.5 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8s-14.3 18-17.6 21.8c-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7s-12.5-30.1-17.1-41.2c-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2s-9.7 1.4-14.8 6.9-19.4 19-19.4 46.3 19.9 53.7 22.6 57.4c2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4s4.6-24.1 3.2-26.4c-1.3-2.5-5-3.9-10.5-6.6z'/%3E%3C/svg%3E") center/contain no-repeat; }
.cs-tresc .cs-przyciski-para { display: grid; grid-template-columns: 1fr 1fr; max-width: var(--cs-kontener); margin: 0 auto; padding: 14px 10px 10px; }
.cs-tresc .cs-przyciski-para .wp-block-buttons { justify-content: center; padding: 10px; margin: 0; }

/* sekcje ukryte do czasu podmiany treści (np. nowa osoba w zespole) */
.cs-tresc .cs-ukryte { display: none !important; }

/* ---------- nagłówek ---------- */
.cs-naglowek { position: absolute; top: 0; left: 0; right: 0; z-index: 100; height: 90px; color: #fff; font: 500 15px/90px var(--cs-jost); }
.admin-bar .cs-naglowek { top: 32px; }
.cs-naglowek__wnetrze { display: flex; align-items: center; height: 90px; padding: 0 15px; }
.cs-logo { display: block; flex: 0 0 auto; }
.cs-logo img { width: auto; height: 72px; } /* okrągłe logo CEM */
@media (min-width: 992px) {
	.cs-logo { transform: translate(30px, 20px); }
	.cs-przyklejony .cs-logo { transform: translateX(30px); }
}
.cs-logo__zlote { display: none !important; }
.cs-menu { flex: 1 1 auto; }
.cs-menu__lista { display: flex; justify-content: flex-end; list-style: none; margin: 0; padding: 0; }
.cs-menu__lista a { display: block; padding: 0 15px; white-space: nowrap; }
@media (max-width: 1199px) { .cs-menu__lista a { padding: 0 8px; } } /* jak w Houzezie */
.cs-menu__lista a:hover { color: var(--cs-zloto); }
.cs-menu__lista img { display: inline-block !important; width: 16px; height: 11px; vertical-align: middle; }
.cs-telefon { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; padding: 10px 10px 10px 0; line-height: 22px; }
.cs-telefon svg { width: 18px; height: 18px; }
.cs-burger { display: none; }
.cs-naglowek.cs-przyklejony { position: fixed; top: 0; background: #fff; color: #000; animation: cs-zjazd .3s ease; }
.admin-bar .cs-naglowek.cs-przyklejony { top: 32px; }
.cs-przyklejony .cs-logo__jasne { display: none !important; }
.cs-przyklejony .cs-logo__zlote { display: block !important; }
@keyframes cs-zjazd { from { transform: translateY(-100%); } to { transform: none; } }

/* ---------- baner ---------- */
.cs-tresc .cs-hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #3f3f3f; margin: 0; }
.cs-tresc .cs-hero__slajdy { position: absolute; inset: 0; margin: 0; }
.cs-tresc .cs-hero__slajdy figure { position: absolute; inset: 0; margin: 0 !important; opacity: 0; transition: opacity .5s; overflow: hidden; }
.cs-tresc .cs-hero__slajdy figure img { width: 100%; height: 100%; object-fit: cover; transform: scale(1); }
.cs-tresc .cs-hero__slajdy figure.cs-aktywny { opacity: 1; z-index: 1; }
.cs-tresc .cs-hero__slajdy figure.cs-aktywny img { transform: scale(1.3); transition: transform 20s linear; }
.cs-tresc .cs-hero__slajdy figure.cs-wychodzi { z-index: 0; }
.cs-tresc .cs-hero__slajdy::after { content: ""; position: absolute; inset: 0; z-index: 2; background: rgba(0, 0, 0, .65); }
.cs-tresc .cs-hero__tresc { position: relative; z-index: 3; width: 100%; max-width: var(--cs-kontener); padding: 10px 20px; text-align: center; color: #fff; margin: 0; }
.cs-tresc .cs-hero__tresc hr.cs-romb { margin-bottom: 32px; }
.cs-tresc .cs-hero__witaj { font: 400 13px/1.5 var(--cs-jost); letter-spacing: 5px; text-transform: uppercase; }
.cs-tresc .cs-hero__tytul { font-size: 60px; letter-spacing: 10px; text-transform: uppercase; color: #fff; }
.cs-tresc .cs-hero__opis { font: italic 300 24px/1 "Baskervville", serif; letter-spacing: 1px; }
.cs-tresc .cs-hero .wp-block-buttons { justify-content: center; margin-top: 30px; }

/* ---------- O nas: tekst + zdjęcie ---------- */
.cs-tresc .cs-split { margin: 0; }
.cs-tresc .cs-split__wiersz { margin: 0 !important; }
.cs-tresc .cs-split__tekst { flex: 0 0 66.666% !important; background: #fff; padding: 150px; }
.cs-tresc .cs-split__foto { flex: 0 0 33.334% !important; position: relative; background: #cbcbcb; }
.cs-tresc .cs-split__foto figure { position: absolute; inset: 0; }
.cs-tresc .cs-split__foto img { width: 100%; height: 100% !important; object-fit: cover; }
.cs-tresc .cs-split__tekst .cs-akapity { margin-bottom: calc(var(--cs-odstep) + 16px); }
.cs-tresc .cs-split__tekst .cs-akapity p { color: var(--cs-szary); margin: 0 0 16px; }
.cs-tresc .cs-split__tekst .cs-akapity p:last-child { margin: 0; }
.cs-tresc .cs-split__tekst .cs-btn { margin-top: 4px; }
.cs-tresc .cs-split__tekst .cs-telefony { gap: 0; }
.cs-tresc .cs-split__tekst .cs-telefony .cs-btn { width: 50%; }
.cs-tresc .cs-split__tekst .cs-telefony .wp-block-button__link { width: auto; }
.cs-tresc .cs-split__tekst .cs-telefony + .wp-block-buttons { margin-top: 20px; }
.cs-tresc .cs-split__tekst .cs-telefony + .wp-block-buttons .cs-btn { margin-top: 0; }

/* ikony z podpisem */
.cs-tresc .cs-ikony { max-width: var(--cs-kontener); margin: 22px auto 0 !important; padding: 0 0 10px; }
.cs-tresc .cs-ikony .wp-block-column { padding: 10px; text-align: center; }
.cs-tresc .cs-ikony figure img { width: 64px; height: 64px; margin: 0 auto; }
.cs-tresc .cs-ikony p { font: 400 14px/1.5 var(--cs-jost); letter-spacing: 5px; text-transform: uppercase; color: var(--cs-zloto); margin-bottom: 15px !important; }

/* ---------- oferty ---------- */
.cs-tresc .cs-intro { background: #fff; padding: 110px 10px 86px; margin: 0; }
.cs-tresc .cs-intro > * { max-width: 845px; margin-left: auto; margin-right: auto; }
.cs-tresc .cs-intro .cs-h2 { text-align: center; margin-bottom: calc(var(--cs-odstep) + 10px); }
.cs-tresc .cs-oferty { margin: 0; }
.cs-tresc .cs-oferty__wiersz { max-width: var(--cs-kontener); margin: 0 auto !important; }
.cs-tresc .cs-oferta { padding: 15px; }
.cs-tresc .cs-oferta__glowka { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 10px 20px 10px 10px; margin-bottom: 0 !important; }
.cs-tresc .cs-oferta__glowka > * { margin: 0 !important; }
.cs-tresc .cs-oferta h3 { font-size: 28px; line-height: 1; }
.cs-tresc .cs-oferta__cena { font: 400 20px/1 var(--cs-tenor); white-space: nowrap; text-align: right; }
.cs-tresc .cs-oferta__miejsce { font: 400 24px/1 var(--cs-tenor); padding: 10px; margin-bottom: 0 !important; }
.cs-tresc .cs-oferta > p:last-child { margin-bottom: 16px; }
.cs-tresc .cs-oferta p:not([class]) { text-align: justify; }

/* wezwanie do kontaktu */
.cs-tresc .cs-cta { margin: 0; padding: 20px 10px 28px; text-align: center; }
.cs-tresc .cs-cta h4 { font-size: 24px; line-height: 1.2; max-width: 1100px; margin: 0 auto !important; }
.cs-tresc .cs-cta--biale { background: #fff; padding-bottom: 40px; }
.cs-tresc > .cs-cta + .cs-przyciski-para { margin-bottom: 40px; }

/* ---------- sprzedaż ---------- */
.cs-tresc .cs-sprzedaz { background: #fff; padding: 30px 10px 0; margin: 0; text-align: center; }
.cs-tresc .cs-sprzedaz > :not(.cs-ikony) { max-width: 1120px; margin-left: auto; margin-right: auto; }
.cs-tresc .cs-sprzedaz .cs-ikony { margin-top: 57px !important; max-width: 1120px; }

/* ---------- opinie ---------- */
.cs-tresc .cs-polecenia { background: #fff; padding: 61px 10px 12px; margin: 0; text-align: center; }
.cs-tresc .cs-polecenia > :not(.cs-opinie), .cs-tresc .cs-zespol > :not(.cs-osoby) { max-width: 1120px; margin-left: auto; margin-right: auto; }
.cs-tresc .cs-podtytul { font: 400 17px/1 var(--cs-tenor); letter-spacing: 5px; text-transform: uppercase; color: #000; margin-bottom: calc(var(--cs-odstep) + 16px + 20px) !important; }
.cs-tresc .cs-opinie { max-width: var(--cs-kontener); margin: 0 auto !important; text-align: left; }
.cs-tresc .cs-opinie > .wp-block-column { padding: 10px; }
.cs-tresc .cs-opinia { background: #fff; border: 1px solid #ddd; padding: 30px; height: 100%; }
.cs-tresc .cs-opinia > * { margin: 0 !important; }
.cs-tresc .cs-opinia__tresc { font-size: 17px; line-height: 30px; margin-bottom: 20px !important; }
.cs-tresc .cs-opinia__imie { font-weight: 700; font-size: 16px; line-height: 24px; }
.cs-tresc .cs-opinia__rola { color: #808080; font-size: 15px; line-height: 1.5; }

/* ---------- zespół ---------- */
.cs-tresc .cs-zespol { background: #fff; padding: 90px 10px 120px; margin: 0; text-align: center; }
.cs-tresc .cs-zespol .cs-h2 { margin-bottom: calc(var(--cs-odstep) + 16px + 30px + 20px); }
.cs-tresc .cs-osoby { max-width: var(--cs-kontener); margin: 0 auto !important; padding: 0 10px; }
.cs-tresc .cs-osoby { justify-content: center; }
.cs-tresc .cs-osoby > .wp-block-column { padding: 10px; flex: 0 0 25%; }
.cs-tresc .cs-osoba { position: relative; overflow: hidden; cursor: pointer; }
.cs-tresc .cs-osoba > * { margin: 0 !important; }
.cs-tresc .cs-osoba figure img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.cs-tresc .cs-osoba::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, .75)); transition: opacity .3s; pointer-events: none; }
.cs-tresc .cs-osoba__przed, .cs-tresc .cs-osoba__opis { position: absolute !important; inset: 0; z-index: 2; padding: 30px; transition: transform .3s ease; }
.cs-tresc .cs-osoba__przed { display: flex; flex-direction: column; justify-content: flex-end; color: #fff; }
.cs-tresc .cs-osoba__opis { z-index: 3; padding: 30px 20px; display: flex; flex-direction: column; justify-content: center; background: rgba(255, 255, 255, .9); transform: translate3d(100%, 0, 0); }
.cs-tresc .cs-osoba__opis > * { margin: 0 !important; }
.cs-tresc .cs-osoba__info { margin: 20px 0 !important; }
.cs-tresc .cs-osoba__info p { margin: 0 0 16px; }
.cs-tresc .cs-osoba__info p:last-child { margin: 0; }
.cs-tresc .cs-osoba:hover::before { opacity: 0; }
.cs-tresc .cs-osoba:hover .cs-osoba__przed { transform: translate3d(-100%, 0, 0); }
.cs-tresc .cs-osoba:hover .cs-osoba__opis { transform: translate3d(0, 0, 0); }
.cs-osoba__opis .cs-osoba__imie, .cs-osoba__przed .cs-osoba__imie { font-weight: 700; }
.cs-tresc .cs-osoba__przed > * { margin: 0; }

/* ---------- blog ---------- */
.cs-tresc .cs-blog { padding: 80px 0 126px; margin: 0; text-align: center; }
.cs-tresc .cs-blog > :not(.wp-block-query) { max-width: 1120px; margin-left: auto; margin-right: auto; }
.cs-tresc .cs-blog .cs-h2 { margin-bottom: calc(var(--cs-odstep) + 16px); }
.cs-tresc .cs-blog .cs-blog__pod { font-size: 20px; line-height: 20px; letter-spacing: 5px; text-transform: uppercase; color: #000; margin-bottom: calc(var(--cs-odstep) + 16px + 30px) !important; }
.cs-tresc .cs-blog .wp-block-query { max-width: 1340px; margin: 0 auto 23px !important; padding: 0 0 50px; text-align: left; }
.cs-tresc .cs-blog .wp-block-post-template { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 9.33px; align-items: start; list-style: none; margin: 0; padding: 0; }
.cs-tresc .cs-blog .wp-block-post-template > li { padding: 0; margin: 0; }
.cs-tresc .cs-blog .wp-block-post-template > li > * { margin: 0; }
.cs-tresc .cs-blog-karta { background: #fff; }
.cs-tresc .cs-blog .wp-block-post-featured-image { margin: 0 !important; }
.cs-tresc .cs-blog .wp-block-post-featured-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cs-tresc .cs-blog .wp-block-post-featured-image:empty { display: none; }
.cs-tresc .cs-blog__karta-tresc { padding: 20px; margin: 0 !important; }
.cs-tresc .cs-blog__karta-tresc > * { margin: 0 !important; }
.cs-tresc .cs-blog .wp-block-post-title { font: 400 18px/24px var(--cs-tenor); margin-bottom: 8px !important; }
.cs-tresc .cs-blog .wp-block-post-title a:hover { color: var(--cs-zloto); }
.cs-tresc .cs-blog .wp-block-post-excerpt__excerpt { font-size: 15px; line-height: 21px; color: #636363; padding-bottom: 10px; margin: 0; }
.cs-tresc .cs-blog .wp-block-post-excerpt__more-text { margin: 0; line-height: 21px; }
.cs-tresc .cs-blog .wp-block-post-excerpt__more-text a { font-size: 13px; font-weight: 500; color: var(--cs-zloto); }
.cs-tresc .cs-blog .wp-block-buttons { justify-content: center; }
.cs-tresc .cs-blog .cs-btn .wp-block-button__link { padding: 15px 30px; line-height: 20px; }

/* ---------- kontakt ---------- */
.cs-tresc .cs-kontakt { position: relative; overflow: hidden; background: #454545; padding: 150px; margin: 0; text-align: center; color: #fff; }
.cs-tresc .cs-kontakt > * { position: relative; z-index: 2; }
/* tło stoi w miejscu przy przewijaniu (w Elementorze: background-attachment: fixed, pozycja 0 87px) */
.cs-tresc .cs-kontakt > figure.cs-tlo { position: absolute !important; inset: 0; z-index: 0; margin: 0 !important; clip-path: inset(0); }
.cs-tresc .cs-kontakt > figure.cs-tlo img { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh !important; max-width: none; object-fit: cover; object-position: 0 87px; }
.cs-tresc .cs-kontakt > :last-child { margin-bottom: 15px; }
.cs-tresc .cs-kontakt::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(0, 0, 0, .77); }
.cs-tresc .cs-kontakt .cs-h2 { color: #fff; line-height: 1.5; }
.cs-tresc .cs-kontakt .cs-etykieta { color: #fff; }
.cs-tresc .cs-kontakt .wp-block-buttons { justify-content: center; padding-top: 10px; }

/* ---------- stopka ---------- */
.cs-stopka { background: #fff; padding: 30px 15px; text-align: center; font: 300 14px/25px "Montserrat", sans-serif; color: #000; }
.cs-stopka a { color: #000; text-decoration: none; }
.cs-stopka a:hover { color: var(--cs-zloto); }
.cs-stopka__social { display: flex; justify-content: center; flex-wrap: wrap; }
.cs-stopka__social a { display: inline-flex; align-items: center; gap: 8px; margin: 0 5px; padding: 0 10px; }
.cs-stopka__social svg { width: 14px; height: 14px; }
.cs-stopka__menu ul { display: flex; justify-content: center; flex-wrap: wrap; list-style: none; margin: 10px 0; padding: 0; }
.cs-stopka__menu li { margin: 0 10px; }

/* ---------- animacje wejścia (Elementor: fadeInUp itd., wolne = 2 s) ---------- */
.cs-js .cs-tresc [class*="cs-a-"]:not(.cs-widoczny) { visibility: hidden; }
.cs-tresc .cs-widoczny { animation-duration: 2s; animation-fill-mode: both; animation-timing-function: ease; }
.cs-tresc .cs-a-up.cs-widoczny { animation-name: cs-z-dolu; }
.cs-tresc .cs-a-down.cs-widoczny { animation-name: cs-z-gory; }
.cs-tresc .cs-a-left.cs-widoczny { animation-name: cs-z-lewej; }
.cs-tresc .cs-a-fade.cs-widoczny { animation-name: cs-wylanianie; }
.cs-tresc .cs-szybko.cs-widoczny { animation-duration: 1.25s; }
@keyframes cs-z-dolu { from { opacity: 0; transform: translate3d(0, 100%, 0); } to { opacity: 1; transform: none; } }
@keyframes cs-z-gory { from { opacity: 0; transform: translate3d(0, -100%, 0); } to { opacity: 1; transform: none; } }
@keyframes cs-z-lewej { from { opacity: 0; transform: translate3d(-100%, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes cs-wylanianie { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
	.cs-tresc .cs-widoczny { animation: none !important; }
	.cs-tresc .cs-hero__slajdy figure.cs-aktywny img { transform: none; transition: none; }
}

/* ---------- tablet (Elementor ≤ 1024) ---------- */
@media (max-width: 1024px) {
	.cs-tresc .cs-hero__tytul { font-size: 40px; }
	.cs-tresc .cs-hero__opis { font-size: 18px; }
	.cs-tresc .cs-split__tekst, .cs-tresc .cs-kontakt { padding: 50px; }
	.cs-tresc .cs-kontakt > figure.cs-tlo img { position: absolute; width: 100%; height: 100% !important; object-position: center; }
	.cs-tresc .cs-blog .wp-block-post-template { grid-template-columns: repeat(2, 1fr); }
	.cs-tresc .cs-sprzedaz .cs-ikony { display: none; } /* w Elementorze ukryte na tablecie i telefonie */
	.cs-tresc .cs-opinia { padding: 20px; }
	.cs-tresc .cs-blog .wp-block-post-template > li { margin-bottom: 30px; }
}

/* ---------- menu mobilne (Houzez ≤ 991) ---------- */
@media (max-width: 991px) {
	.cs-naglowek, .cs-naglowek.cs-przyklejony, .admin-bar .cs-naglowek, .admin-bar .cs-naglowek.cs-przyklejony { position: relative; top: 0; background: #fff; color: #000; height: 60px; line-height: 1.5; animation: none; }
	.cs-naglowek__wnetrze { height: 60px; justify-content: center; position: relative; }
	.cs-logo__jasne { display: none !important; }
	.cs-logo__zlote { display: block !important; }
	.cs-logo img { width: auto; height: 50px; }
	.cs-telefon { display: none; }
	.cs-burger { display: block; position: absolute; left: 10px; top: 10px; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; padding: 0; }
	.cs-burger span, .cs-burger span::before, .cs-burger span::after { content: ""; position: absolute; left: 10px; width: 20px; height: 2px; background: #000; }
	.cs-burger span { top: 19px; }
	.cs-burger span::before { left: 0; top: -6px; }
	.cs-burger span::after { left: 0; top: 6px; }
	.cs-menu { display: none; position: absolute; top: 60px; left: 0; right: 0; background: #fff; box-shadow: 0 10px 20px rgba(0, 0, 0, .1); }
	.cs-menu-otwarte .cs-menu { display: block; }
	.cs-menu__lista { flex-direction: column; }
	.cs-menu__lista li { border-top: 1px solid #eee; }
	.cs-menu__lista a { padding: 12px 20px; }
	.cs-tresc .cs-hero { margin-top: 0; }
}

/* ---------- telefon (Elementor ≤ 767) ---------- */
@media (max-width: 767px) {
	.cs-tresc .wp-block-columns { flex-wrap: wrap; }
	.cs-tresc .wp-block-column, .cs-tresc .cs-split__tekst, .cs-tresc .cs-split__foto { flex: 0 0 100% !important; }
	.cs-tresc .cs-hero__tytul { font-size: 30px; letter-spacing: 9px; }
	.cs-tresc .cs-hero__opis { font-size: 20px; line-height: 1.5; letter-spacing: 3px; }
	.cs-tresc .cs-hero__witaj { margin-bottom: 5px; }
	.cs-tresc .cs-h2 { font-size: 23px; line-height: 1.5; }
	.cs-tresc .cs-split__tekst, .cs-tresc .cs-split__tekst .cs-etykieta { text-align: center; }
	.cs-tresc .cs-split__tekst { padding: 30px; }
	.cs-tresc .cs-split__tekst .wp-block-buttons { justify-content: center; }
	.cs-tresc .cs-split__foto { height: 520px; }
	.cs-tresc .cs-ikony { padding-bottom: 0; }
	.cs-tresc .cs-cta h4 { padding: 0 10px; }
	.cs-tresc .cs-sprzedaz { padding-bottom: 27px; }
	.cs-tresc .cs-split__wiersz--odwr .cs-split__foto { order: 0; }
	.cs-tresc .cs-przyciski-para { grid-template-columns: 1fr; }
	.cs-tresc .cs-oferta__glowka { flex-direction: column; gap: 20px; padding-right: 10px; }
	.cs-tresc .cs-oferta__cena { text-align: left; }
	.cs-tresc .cs-blog .wp-block-post-template { grid-template-columns: 1fr; }
	.cs-tresc .cs-blog .wp-block-query { padding: 0 20px 50px; }
	.cs-tresc .cs-blog .wp-block-post-template > li { margin-bottom: 0; }
	.cs-tresc .cs-kontakt { padding: 50px 20px; }
	.cs-tresc .cs-podtytul { font-size: 18px; line-height: 1.5; }
	.cs-tresc .cs-zespol { padding-top: 50px; }
	.cs-tresc .cs-blog .cs-blog__pod { font-size: 23px; line-height: 1.5; }
}
