/* ==========================================================================
   Dorada Partners – style motywu
   ========================================================================== */

/* ---------- Fonty (lokalnie, bez Google Fonts – zgodnie z RODO) ---------- */
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/open-sans-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/open-sans-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Open Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/open-sans-latin-400-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Open Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/open-sans-latin-ext-400-italic.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/open-sans-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/open-sans-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/open-sans-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/open-sans-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/montserrat-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/roboto-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/roboto-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/roboto-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/roboto-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/roboto-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/roboto-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Zmienne ---------- */
:root {
	--terakota: #c36855;
	--czerwony: #c04545;
	--karmin: #c03030;
	--akcent: #c0393b;
	--szary: #e5e5e5;
	--tekst: #111;
	--ikona-jasna: #d98f7b;
	--stopka: #333;
	--header-h: 80px;
	--radius: 20px;
	--font-body: "Open Sans", Arial, sans-serif;
	--font-head: "Montserrat", Arial, sans-serif;
	--font-alt: "Roboto", Arial, sans-serif;
}

/* ---------- Baza ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--tekst); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; line-height: 1.2; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 860px; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: #fff; padding: 10px 16px; }
.skip-link:focus { left: 10px; top: 10px; }

:focus-visible { outline: 3px solid var(--akcent); outline-offset: 3px; }

/* ---------- Przyciski ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 50px; padding: 10px 40px; border: 0; border-radius: 999px;
	font: 700 16px/1.2 var(--font-body); letter-spacing: 3px; text-transform: uppercase; text-decoration: none;
	cursor: pointer; transition: background-color .2s, color .2s, transform .2s;
}
.btn--light { background: #fff; color: var(--tekst); }
.btn--light:hover { background: #222; color: #fff; }
.btn--dark { background: var(--czerwony); color: #fff; }
.btn--dark:hover { background: var(--karmin); }
.btn--block { width: 100%; }

/* ---------- Nagłówek ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; height: var(--header-h); box-shadow: 0 1px 0 rgba(0, 0, 0, .04); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-logo img, .site-logo .custom-logo { width: auto; max-height: 62px; max-width: 200px; }
.site-logo a { display: block; }

.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; }
.site-nav__list a { display: block; padding: 6px 0; font-weight: 700; font-size: 17px; text-decoration: none; color: var(--tekst); transition: color .2s; }
.site-nav__list a:hover,
.site-nav__list .is-active > a { color: var(--akcent); }

.nav-toggle { display: none; position: relative; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; }
.nav-toggle__bar { display: block; height: 3px; width: 24px; margin: 4px 0; background: var(--tekst); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-open .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 991px) {
	.nav-toggle { display: block; }
	.site-nav {
		position: absolute; top: var(--header-h); left: 0; right: 0;
		background: #fff; box-shadow: 0 12px 20px rgba(0, 0, 0, .08);
		max-height: 0; overflow: hidden; transition: max-height .3s ease;
	}
	.nav-open .site-nav { max-height: 420px; }
	.site-nav__list { flex-direction: column; gap: 0; padding: 8px 20px 18px; }
	.site-nav__list a { padding: 12px 0; border-bottom: 1px solid #eee; }
}

/* ---------- Sekcje strony głównej ---------- */
.section-title { font: 500 24px/1.3 var(--font-alt); text-align: center; margin: 0 0 14px; }
html { overflow-x: clip; }
.section { background: var(--section-bg, transparent); color: var(--section-fg, inherit); }
.section--normalne { padding: 50px 0 54px; }
.section--male { padding: 22px 0 40px; }
.section--brak { padding: 0; }
.section .section-title { color: inherit; }
.section__content > :first-child { margin-top: 0; }
.section__content > :last-child { margin-bottom: 0; }
.section__content > * + * { margin-top: 24px; }
.section__content h2, .section__content h3, .section__content h4 { font-family: var(--font-head); font-weight: 700; }
.section__content .wp-block-heading { margin-bottom: 12px; }
.section__content a:not(.wp-block-button__link) { color: inherit; }
.section__content .wp-block-image { margin: 0; }
.section__content .wp-block-columns { gap: 20px; margin-bottom: 0; }
.section__content .wp-block-column > * + * { margin-top: 1em; }
.section__content .wp-block-column > * { margin-bottom: 0; }

/* Przyciski z edytora */
.section .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; min-width: 244px; min-height: 50px; padding: 10px 40px;
	border-radius: 999px; background: var(--czerwony); color: #fff;
	font: 700 16px/1.2 var(--font-body); letter-spacing: 3px; text-transform: uppercase; text-decoration: none;
	transition: background-color .2s, color .2s;
}
.section .wp-block-button__link:hover { background: #222; color: #fff; }
.section.has-bg .wp-block-button__link,
.has-background .wp-block-button__link { background: #fff; color: var(--tekst); }
.section.has-bg .wp-block-button__link:hover,
.has-background .wp-block-button__link:hover { background: #222; color: #fff; }

/* Kafelki (np. trzy kafelki u góry) */
.dp-tile { display: flex; flex-direction: column; border-radius: var(--radius); padding: 24px 24px 30px !important; }
.dp-tile .wp-block-heading { font-size: 26px; line-height: 1.2; margin: 0 0 16px; }
.dp-tile p { margin: 0 0 26px; }
.dp-tile .wp-block-buttons { margin-top: auto !important; justify-content: center; }

/* Góra strony: zdjęcie od krawędzi do krawędzi + nachodzące kafelki */
.dp-hero-image { width: 100vw; max-width: none; margin-left: calc(50% - 50vw) !important; }
.dp-hero-image img { width: 100%; height: clamp(300px, 46vw, 592px); object-fit: cover; object-position: center top; background: #fff; }
.section__content .dp-hero-cards { position: relative; z-index: 2; margin-top: -72px; }
.dp-hero-cards .dp-tile { min-height: 330px; }
@media (max-width: 781px) { .section__content .dp-hero-cards { margin-top: -48px; gap: 16px; } .dp-hero-cards .dp-tile { min-height: 0; } }

/* O firmie: grafika + dwa wiersze (kafelek i tekst wyśrodkowane w pionie względem siebie) */
.dp-about-image img { width: 100%; max-width: 320px; margin: 0 auto; }
.section__content .dp-pair { gap: 22px; }
.section__content .dp-pair + .dp-pair { margin-top: 60px; }
.dp-box { border-radius: var(--radius); padding: 20px 26px 28px; text-align: center; }
.dp-box .wp-block-heading { font-size: 22px; line-height: 1.3; margin: 0 0 12px; }
.dp-box p { margin: 0; }
@media (max-width: 781px) {
	.dp-about-image img { max-width: 240px; }
	.section__content .dp-pair + .dp-pair { margin-top: 20px; }
	.dp-pair--reverse { flex-direction: column-reverse; }
}

/* Usługi: siatka – style kafelków niżej */

/* Nieruchomości: zdjęcie na kolorowym pasie */
.dp-band-image { position: relative; isolation: isolate; }
.dp-band-image::before { content: ""; position: absolute; z-index: -1; top: 17%; bottom: 35%; left: 50%; width: 100vw; transform: translateX(-50%); background: var(--terakota); }
.dp-band-image img { width: 100%; border-radius: var(--radius); }
.section__content .dp-band-image + p { margin-top: 30px; padding-bottom: 8px; }

/* Pasek z certyfikatami – lewa krawędź równo z treścią sekcji powyżej */
.section__content .dp-trust { gap: 30px; }
.dp-trust-title { font: 700 30px/1.2 var(--font-alt) !important; margin-bottom: 18px !important; }
.dp-trust p { font-size: 16.5px; }
.section__content .dp-trust-item { gap: 28px; }
.section__content .dp-trust-item + .dp-trust-item { margin-top: 20px; }
.dp-icon img { width: 56px; height: 56px; filter: brightness(0) invert(1); }

/* Kontakt */
.section__content .dp-contact { gap: 40px; }
.dp-contact-info { font-size: 17px; line-height: 1.55; padding-top: 20px; }
.dp-contact-title { font: 500 24px/1.3 var(--font-alt) !important; }
.dp-office { font: 700 18px/1.3 var(--font-alt) !important; margin: 24px 0 4px !important; }
.dp-contact-info .dp-office + p { margin-top: 0; }
.dp-contact-info a { text-decoration: none; }
.dp-contact-info a:hover { color: var(--akcent); }
.dp-map { display: block; width: 100%; max-width: 388px; border: 0; margin-top: 36px; }
.dp-form-card { border-radius: 30px; padding: 40px 28px 46px; }
.dp-form-title { font-size: 26px !important; margin-bottom: 18px !important; }
@media (max-width: 781px) { .dp-map { max-width: none; } .dp-form-card { padding: 30px 18px 34px; } }

/* Logotypy */
.dp-partners img { width: 100%; }

/* Wzorce dodatkowe */
.dp-callout { border-radius: 30px; padding: 40px 30px; }
.dp-media img { border-radius: var(--radius); }

/* Kolory z palety edytora */
.has-karmin-color { color: var(--karmin) !important; } .has-karmin-background-color { background-color: var(--karmin) !important; }
.has-czerwony-color { color: var(--czerwony) !important; } .has-czerwony-background-color { background-color: var(--czerwony) !important; }
.has-terakota-color { color: var(--terakota) !important; } .has-terakota-background-color { background-color: var(--terakota) !important; }
.has-szary-color { color: var(--szary) !important; } .has-szary-background-color { background-color: var(--szary) !important; }
.has-bialy-color { color: #fff !important; } .has-bialy-background-color { background-color: #fff !important; }
.has-czarny-color { color: var(--tekst) !important; } .has-czarny-background-color { background-color: var(--tekst) !important; }

/* ---------- Usługi ---------- */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.service {
	--bg: #fff; --fg: var(--tekst); --icon-c: var(--ikona-jasna);
	position: relative; height: 309px; border-radius: var(--radius); overflow: hidden;
	background: var(--bg); color: var(--fg); cursor: default; outline-offset: 4px;
}

.service__front, .service__back { position: absolute; inset: 0; transition: opacity .3s ease, transform .3s ease; }
.service__front { display: flex; flex-direction: column; align-items: center; padding: 30px 36px 26px; text-align: center; }
.section .service__title, .service__title { font: 400 22px/1.35 var(--font-alt); letter-spacing: 3px; text-transform: uppercase; margin: 0; }
.service__icon {
	display: block; width: 150px; height: 150px; margin-top: auto; flex-shrink: 0;
	background-color: var(--icon-c);
	-webkit-mask: var(--icon) center / contain no-repeat;
	mask: var(--icon) center / contain no-repeat;
}

.service__back { display: flex; align-items: center; padding: 22px 24px; opacity: 0; transform: translateY(12px); pointer-events: none; }
.service__desc { width: 100%; max-height: 100%; overflow-y: auto; font-size: 14px; line-height: 1.55; scrollbar-width: thin; }
.service__desc p { margin: 0 0 .5em; }

/* Zamiana ikony na opis: najechanie myszą, fokus z klawiatury albo dotknięcie (klasa .is-open z JS). */
@media (hover: hover) {
	.service:hover .service__front { opacity: 0; transform: translateY(-12px); }
	.service:hover .service__back { opacity: 1; transform: none; pointer-events: auto; }
}
.service:focus-visible .service__front,
.service.is-open .service__front { opacity: 0; transform: translateY(-12px); }
.service:focus-visible .service__back,
.service.is-open .service__back { opacity: 1; transform: none; pointer-events: auto; }

/* Po dotknięciu (telefon/tablet) otwarty kafelek rozwija się do pełnej długości opisu (bez przewijania w środku). */
.service.is-open { height: auto; min-height: 309px; }
.service.is-open .service__front { display: none; }
.service.is-open .service__back { position: relative; inset: auto; min-height: 309px; }
.service.is-open .service__desc { max-height: none; overflow: visible; }
@media (max-width: 991px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
	.services__grid { grid-template-columns: 1fr; }
	.service { height: 290px; }
	.service__title { font-size: 20px; }
}

/* ---------- Formularz wbudowany ---------- */
.contact-form .field { margin: 0 0 14px; }
.contact-form label { display: block; font-size: 13px; margin-bottom: 4px; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
	width: 100%; border: 0; border-radius: 0; background: #fff; color: var(--tekst);
	font: 13px/1.4 var(--font-body); padding: 11px 12px; min-height: 41px;
}
.contact-form textarea { min-height: 97px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: 3px solid rgba(255, 255, 255, .55); outline-offset: 0; }
.contact-form .check { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 12px; }
.contact-form .check input { margin: 3px 0 0; flex-shrink: 0; width: 13px; height: 13px; accent-color: var(--karmin); }
.contact-form .check label { margin: 0; line-height: 1.55; }
.contact-form a { color: #fff; text-decoration: underline; }
.contact-form__legal { font-size: 12.5px; line-height: 1.55; text-align: justify; margin: 32px 0 14px; }
.contact-form__legal p { margin-bottom: 1.2em; }
.contact-form .btn { min-height: 32px; font-size: 17px; letter-spacing: 2px; }
.contact-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-notice { padding: 12px 14px; border-radius: 10px; margin-bottom: 18px; font-size: 14px; font-weight: 600; }
.form-notice--ok { background: #fff; color: #1d6b32; }
.form-notice--err { background: #fff; color: var(--karmin); }


/* ---------- Contact Form 7 (gdy w ustawieniach podano jego shortcode) ---------- */
.dp-form-card .wpcf7 { font-size: 13px; }
.dp-form-card .wpcf7 p { margin: 0 0 14px; }
.dp-form-card .wpcf7 label { display: block; font-size: 13px; }
.dp-form-card .wpcf7 br { display: none; }
.dp-form-card .wpcf7 label br, .dp-form-card .wpcf7-acceptance br { display: initial; }
.dp-form-card .wpcf7 input[type="text"],
.dp-form-card .wpcf7 input[type="email"],
.dp-form-card .wpcf7 input[type="tel"],
.dp-form-card .wpcf7 input[type="number"],
.dp-form-card .wpcf7 input[type="date"],
.dp-form-card .wpcf7 select,
.dp-form-card .wpcf7 textarea {
	display: block; width: 100%; margin-top: 4px; border: 0; border-radius: 0; background: #fff; color: var(--tekst);
	font: 13px/1.4 var(--font-body); padding: 11px 12px; min-height: 41px;
}
.dp-form-card .wpcf7 textarea { height: 97px; min-height: 97px; resize: vertical; }
.dp-form-card .wpcf7 input:focus, .dp-form-card .wpcf7 textarea:focus, .dp-form-card .wpcf7 select:focus { outline: 3px solid rgba(255, 255, 255, .55); outline-offset: 0; }
.dp-form-card .wpcf7-list-item { display: block; margin: 0 0 12px; }
.dp-form-card .wpcf7-list-item label { display: flex; gap: 8px; align-items: flex-start; line-height: 1.55; }
.dp-form-card .wpcf7-list-item input { margin: 3px 0 0; flex-shrink: 0; accent-color: var(--karmin); }
.dp-form-card .wpcf7 a { color: #fff; text-decoration: underline; }
.dp-form-card .wpcf7 input[type="submit"] {
	display: block; width: 100%; min-height: 32px; margin-top: 14px; border: 0; border-radius: 999px; background: #fff; color: var(--tekst);
	font: 700 17px/1.2 var(--font-body); letter-spacing: 2px; text-transform: uppercase; cursor: pointer; transition: background-color .2s, color .2s;
}
.dp-form-card .wpcf7 input[type="submit"]:hover { background: #222; color: #fff; }
.dp-form-card .wpcf7 input[type="submit"]:disabled { opacity: .6; cursor: default; }
.dp-form-card .wpcf7-spinner { display: block; margin: 8px auto 0; }
.dp-form-card .wpcf7-not-valid-tip { color: #fff; font-weight: 600; font-size: 12px; margin-top: 4px; }
.dp-form-card .wpcf7 form .wpcf7-response-output { margin: 16px 0 0; padding: 10px 12px; border-radius: 10px; border: 0; background: #fff; color: var(--tekst); font-weight: 600; }
.dp-form-card .wpcf7 form.sent .wpcf7-response-output { color: #1d6b32; }
.dp-form-card .wpcf7 form.invalid .wpcf7-response-output,
.dp-form-card .wpcf7 form.failed .wpcf7-response-output { color: var(--karmin); }

/* ---------- Stopka ---------- */
.site-footer { background: var(--stopka); color: #fff; padding: 14px 0; font-size: 15px; }
.site-footer__inner { position: relative; display: flex; justify-content: center; align-items: center; min-height: 44px; }
.site-footer__copy { text-align: center; margin: 0; line-height: 1.6; }
.site-footer__social { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); display: block; line-height: 0; }
.site-footer__social:hover { opacity: .85; }

/* ---------- Podstrony (polityka prywatności itp.) ---------- */
.page-content { padding: 50px 0 70px; }
.entry + .entry { margin-top: 40px; }
.entry__title { font: 700 32px/1.25 var(--font-head); margin-bottom: 24px; }
.entry__title a { text-decoration: none; }
.entry__content a { color: var(--akcent); }
.entry__content h2, .entry__content h3 { font-family: var(--font-head); margin-top: 1.4em; }
