/* Virtual Telecom — style uzupełniające theme.json */

:root {
	--vt-radius: 18px;
	--vt-radius-sm: 10px;
	--vt-shadow: 0 10px 30px -12px rgba(25, 20, 79, .25);
	--vt-shadow-lg: 0 24px 60px -24px rgba(25, 20, 79, .45);
	--vt-focus: #3341d6;
	--vt-field-border: #77748c;
	--vt-header-h: 76px;
}

/* ---------- podstawy i dostępność ---------- */

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--vt-focus);
	outline-offset: 3px;
	border-radius: 4px;
	box-shadow: 0 0 0 6px rgba(255, 255, 255, .9);
}
:is(.has-navy-background-color, .has-night-gradient-background) :where(a, button, summary):focus-visible,
.vt-footer :where(a, button):focus-visible,
.vt-hero :where(a, button):focus-visible {
	outline-color: #3cf0c5;
	box-shadow: none;
}

.skip-link.screen-reader-text:focus {
	background: var(--wp--preset--color--navy);
	color: #fff;
	font-weight: 700;
	padding: .9rem 1.4rem;
	border-radius: 0 0 var(--vt-radius-sm) 0;
	z-index: 100000;
	top: 0; left: 0;
	clip: auto; clip-path: none; height: auto; width: auto;
}

/* przewijanie do kotwic poniżej przyklejonego nagłówka */
:target { scroll-margin-top: calc(var(--vt-header-h) + 1rem); }

img { height: auto; }
.wp-block-image img { border-radius: var(--vt-radius-sm); }
.wp-block-image.is-style-plain img, .wp-block-site-logo img { border-radius: 0; }

/* treść stron: odstęp od nagłówka i stopki */
main.vt-main { min-height: 50vh; }

/* ---------- nagłówek ---------- */

.vt-topbar {
	font-size: var(--wp--preset--font-size--small);
}
.vt-topbar a { color: #fff; text-decoration: none; }
.vt-topbar a:hover { text-decoration: underline; color: #fff; }
.vt-topbar .wp-block-navigation { font-weight: 400; font-size: var(--wp--preset--font-size--small); }
/* pasek niższy o ~30% (80 → 56 px); linki nadal ≥ 24 px wysokości (WCAG 2.5.8) */
.vt-topbar { line-height: 1.3; padding-top: .85rem !important; padding-bottom: .85rem !important; } /* nadpisuje domyślne 1.25em grupy z tłem */
.vt-topbar > .wp-block-group { padding-top: 0 !important; padding-bottom: 0 !important; min-height: 0; }
.vt-topbar .wp-block-navigation-item__content { padding: .15rem 0; min-height: 24px; display: inline-flex; align-items: center; }
.vt-topbar p { margin: 0; }
.vt-topbar p a { display: inline-flex; align-items: center; min-height: 24px; }
.vt-topbar .vt-phone a { font-weight: 700; white-space: nowrap; }

.vt-header {
	position: sticky;
	top: 0;
	z-index: 50;
	/* bez backdrop-filter: tworzyłby blok zawierający dla position:fixed i więził nakładkę menu mobilnego w nagłówku */
	background: #fff;
	box-shadow: 0 1px 0 var(--wp--preset--color--line);
}
.admin-bar .vt-header { top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px) { .admin-bar .vt-header { top: 0; } }
.vt-header::after {
	content: "";
	position: absolute;
	inset: auto 0 -3px 0;
	height: 3px;
	background: var(--wp--preset--gradient--brand);
}
.vt-header .wp-block-site-logo img { width: auto; max-height: 52px; }
@media (max-width: 480px) {
	.vt-header .wp-block-site-logo img { max-height: 40px; }
	.vt-header-cta .wp-block-button__link { padding: .55em 1em; font-size: .85rem; line-height: 1.15; max-width: 9.5em; text-align: center; }
}

.vt-header .wp-block-navigation .wp-block-navigation-item__content {
	color: var(--wp--preset--color--navy);
	text-decoration: none;
	padding: .55rem .35rem;
	border-radius: 6px;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
}
.vt-header .wp-block-navigation .wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--magenta);
}
.vt-header .wp-block-navigation .current-menu-item > .wp-block-navigation-item__content,
.vt-header .wp-block-navigation [aria-current="page"] {
	color: var(--wp--preset--color--magenta);
	box-shadow: inset 0 -3px 0 var(--wp--preset--color--magenta);
}
.vt-header .wp-block-navigation__submenu-container {
	border: 0 !important;
	border-radius: var(--vt-radius-sm);
	box-shadow: var(--vt-shadow-lg);
	padding: .5rem !important;
	min-width: 220px !important;
}
.vt-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content { width: 100%; padding: .55rem .8rem; }
.vt-header .wp-block-navigation-submenu__toggle { min-width: 24px; min-height: 24px; }
/* strzałka podmenu wchodzi ujemnym marginesem (-0.6em) w prawy padding przycisku — musi go być dość, by nie zasłaniać ostatniej litery */
.vt-header .wp-block-navigation .wp-block-navigation-submenu__toggle { padding-right: 1.15em; }
.vt-header .wp-block-navigation__submenu-icon { margin-left: -0.75em !important; pointer-events: none; }

/* menu mobilne (overlay) */
.wp-block-navigation__responsive-container.is-menu-open {
	background: var(--wp--preset--gradient--night) !important;
	color: #fff !important;
	padding: 1.5rem clamp(1rem, 5vw, 2rem) !important;
}
.wp-block-navigation__responsive-container.is-menu-open :is(.wp-block-navigation__responsive-container-content, .wp-block-navigation__container, .wp-block-navigation-item) {
	align-items: flex-start !important;
	justify-content: flex-start !important;
	text-align: left;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item {
	width: 100%;
	border-bottom: 1px solid rgba(255, 255, 255, .15);
	padding-bottom: .35rem;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	color: #fff !important;
	font-size: 1.25rem;
	padding: .6rem 0 !important;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
	background: transparent !important;
	box-shadow: none;
	padding: 0 0 0 1rem !important;
}
.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close {
	min-width: 44px; min-height: 44px;
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 8px;
}
.wp-block-navigation__responsive-container-open { background: var(--wp--preset--color--mist); color: var(--wp--preset--color--navy); }
.wp-block-navigation__responsive-container-open::after {
	content: "Menu";
	font-weight: 700;
	margin-left: .4rem;
	font-size: .95rem;
}

/* ---------- typografia i elementy ---------- */

.is-style-vt-gradient.wp-block-heading,
.vt-gradient-text {
	/* gradient powtarzany płynnie co 24em — nagłówek zostaje blokiem na pełną szerokość (wyrównanie jak reszta treści) */
	background-image: linear-gradient(90deg, #d6084f 0%, #7b2cbf 25%, #3341d6 50%, #7b2cbf 75%, #d6084f 100%);
	background-size: 24em 100%;
	background-repeat: repeat;
	-webkit-background-clip: text;
	background-clip: text;
	color: #7b2cbf;
	-webkit-text-fill-color: transparent;
}

.vt-eyebrow {
	text-transform: uppercase;
	letter-spacing: .12em;
	font-weight: 700;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--magenta);
}
:is(.has-navy-background-color, .has-night-gradient-background) .vt-eyebrow,
.vt-hero .vt-eyebrow { color: #3cf0c5; }

.vt-lead { font-size: var(--wp--preset--font-size--large); color: var(--wp--preset--color--muted); }
:is(.has-navy-background-color, .has-night-gradient-background) .vt-lead, .vt-hero .vt-lead { color: rgba(255, 255, 255, .9); }

/* przyciski */
.wp-block-button__link { transition: background-color .2s, color .2s, transform .2s, box-shadow .2s; }
.wp-block-button__link:hover { transform: translateY(-1px); box-shadow: var(--vt-shadow); }

.wp-block-button.is-style-vt-gradient .wp-block-button__link {
	background: var(--wp--preset--gradient--brand);
	background-size: 200% 100%;
	color: #fff;
}
.wp-block-button.is-style-vt-gradient .wp-block-button__link:hover { background-position: 100% 0; color: #fff; }

.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--navy);
	border: 2px solid currentColor;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--wp--preset--color--navy); color: #fff; border-color: var(--wp--preset--color--navy); }

.wp-block-button.is-style-vt-light .wp-block-button__link {
	background: #fff;
	color: var(--wp--preset--color--navy);
}
.wp-block-button.is-style-vt-light .wp-block-button__link:hover { background: #3cf0c5; color: var(--wp--preset--color--navy); }

:is(.has-navy-background-color, .has-night-gradient-background) .wp-block-button.is-style-outline .wp-block-button__link,
.vt-hero .wp-block-button.is-style-outline .wp-block-button__link { color: #fff; }
:is(.has-navy-background-color, .has-night-gradient-background) .wp-block-button.is-style-outline .wp-block-button__link:hover,
.vt-hero .wp-block-button.is-style-outline .wp-block-button__link:hover { background: #fff; color: var(--wp--preset--color--navy); border-color: #fff; }

/* linki w ciemnych sekcjach */
:is(.has-navy-background-color, .has-night-gradient-background) a:not(.wp-block-button__link),
.vt-hero a:not(.wp-block-button__link),
.vt-footer a { color: #fff; }
:is(.has-navy-background-color, .has-night-gradient-background) a:not(.wp-block-button__link):hover,
.vt-footer a:hover { color: #3cf0c5; }

/* lista z ptaszkami — górny „tick” z logo VT (uploads/2019/11/vt.svg, druga ścieżka), kolory logo */
ul.is-style-vt-check { list-style: none; padding-left: 0; }
ul.is-style-vt-check li { position: relative; padding-left: 2.1rem; margin: .45rem 0; }
ul.is-style-vt-check li::before {
	content: "";
	position: absolute; left: 0; top: .32em;
	width: 1.5rem; height: .93rem;
	background: linear-gradient(135deg,#8a1a44 0%,#b0185a 55%,#c41a63 100%);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='22 12 102 63'%3E%3Cpath d='M27.896,49.733c7.675,9.396,26.686,28.841,53.767,22.741c27.077-6.112,35.906-31.822,38.817-43.618c1.789-7.25-1.856-14.884-9.336-15.35c-7.187-0.462-12.49,4.939-12.764,12.241c-0.52,14.603-2.309,35.66-18.402,39.285c-16.077,3.623-26.736-14.632-33.468-27.592c-3.379-6.486-10.48-9.081-16.765-5.588C23.171,35.488,23.162,43.939,27.896,49.733z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='22 12 102 63'%3E%3Cpath d='M27.896,49.733c7.675,9.396,26.686,28.841,53.767,22.741c27.077-6.112,35.906-31.822,38.817-43.618c1.789-7.25-1.856-14.884-9.336-15.35c-7.187-0.462-12.49,4.939-12.764,12.241c-0.52,14.603-2.309,35.66-18.402,39.285c-16.077,3.623-26.736-14.632-33.468-27.592c-3.379-6.486-10.48-9.081-16.765-5.588C23.171,35.488,23.162,43.939,27.896,49.733z'/%3E%3C/svg%3E") center / contain no-repeat;
}
:is(.has-navy-background-color, .has-night-gradient-background, .has-aurora-gradient-background, .vt-hero) ul.is-style-vt-check li::before {
	background: #fff;
}
@media (forced-colors: active) {
	ul.is-style-vt-check li::before { background: CanvasText; forced-color-adjust: none; }
}

/* ---------- hero ---------- */

.vt-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	color: #fff;
}
.vt-hero::before, .vt-hero::after {
	content: "";
	position: absolute;
	z-index: -1;
	border-radius: 50%;
	filter: blur(60px);
	opacity: .55;
	pointer-events: none;
}
.vt-hero::before { width: 520px; height: 520px; background: #3cf0c5; top: -220px; left: -160px; opacity: .28; }
.vt-hero::after { width: 620px; height: 620px; background: #ff3d77; bottom: -320px; right: -200px; opacity: .35; }
.vt-hero h1, .vt-hero h2, .vt-hero p { color: #fff; }
.vt-hero .vt-hero-media img { border-radius: 0; filter: drop-shadow(0 30px 40px rgba(10, 5, 50, .45)); }
@media (max-width: 781px) {
	.vt-hero .vt-hero-media img { max-height: 230px !important; }
	.vt-topbar nav { display: none; }
	.vt-topbar .wp-block-group { justify-content: center !important; }
}

/* kafelki usług */
.vt-services { position: relative; z-index: 2; }
.vt-service {
	background: #fff;
	border-radius: var(--vt-radius);
	box-shadow: var(--vt-shadow);
	padding: 1.5rem !important;
	height: 100%;
	position: relative;
	transition: transform .2s, box-shadow .2s;
}
.vt-service:hover, .vt-service:focus-within { transform: translateY(-3px); box-shadow: var(--vt-shadow-lg); }
.vt-service h3 { font-size: var(--wp--preset--font-size--large); margin: .75rem 0 .35rem; }
.vt-service h3 a { color: var(--wp--preset--color--navy); text-decoration: none; }
/* cała karta klikalna, ale jeden link w drzewie dostępności */
.vt-service h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--vt-radius); }
.vt-service h3 a:focus-visible { outline: none; box-shadow: none; }
.vt-service:has(a:focus-visible) { outline: 3px solid var(--vt-focus); outline-offset: 3px; }
.vt-service p { color: var(--wp--preset--color--muted); margin: 0; font-size: var(--wp--preset--font-size--small); }
.vt-icon {
	width: 56px; height: 56px;
	border-radius: 16px;
	display: grid; place-items: center;
	background: var(--wp--preset--gradient--brand);
	color: #fff;
}
.vt-icon svg { width: 30px; height: 30px; }

/* ---------- karty ---------- */

.is-style-vt-card {
	background: #fff;
	border-radius: var(--vt-radius);
	box-shadow: var(--vt-shadow);
	padding: clamp(1.25rem, 3vw, 2rem);
	border: 1px solid var(--wp--preset--color--line);
}
.has-mist-background-color .is-style-vt-card { border-color: transparent; }
.is-style-vt-card :is(h2, h3, h4) { font-size: var(--wp--preset--font-size--large); font-weight: 700; margin-top: 0; }
.wp-block-group.is-layout-grid > .wp-block-group:not(.is-style-vt-card):not(.vt-service) { background: var(--wp--preset--color--mist); border-radius: var(--vt-radius); padding: 1.25rem 1.5rem; }
.wp-block-group.is-layout-grid > .wp-block-group :is(h2, h3, h4) { font-size: var(--wp--preset--font-size--large); font-weight: 700; margin-top: 0; }

/* licznik („600 Mb/s”) wyśrodkowany nad nagłówkiem */
.vt-stat-block { text-align: center; }
.vt-stat-block > * { margin-inline: auto; }
p.vt-stat {
	font-size: clamp(3.5rem, 11vw, 7rem);
	font-weight: 300;
	line-height: 1;
	margin-bottom: .25em;
	color: var(--wp--preset--color--navy);
}
p.vt-stat strong {
	font-weight: 700;
	background-image: linear-gradient(90deg, #d6084f 0%, #7b2cbf 50%, #3341d6 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: #7b2cbf;
	-webkit-text-fill-color: transparent;
}
@media (forced-colors: active) { p.vt-stat strong { color: CanvasText; -webkit-text-fill-color: CanvasText; background: none; } }

/* wybór dwóch dróg („Formularz online / Zadzwoń do nas”) — wyśrodkowany, z linią podziału na środku */
.wp-block-columns.vt-choice {
	max-width: 900px;
	margin-inline: auto !important;
	gap: 0 !important;
	background: #fff;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--vt-radius);
	box-shadow: var(--vt-shadow);
	overflow: hidden;
}
.vt-choice > .wp-block-column { padding: clamp(1.5rem, 4vw, 2.5rem); flex-basis: 0 !important; flex-grow: 1; }
.vt-choice > .wp-block-column + .wp-block-column { border-left: 1px solid var(--wp--preset--color--line); }
.vt-choice :is(h2, h3) { font-size: var(--wp--preset--font-size--x-large); margin-top: 0; }
@media (max-width: 781px) {
	.vt-choice > .wp-block-column + .wp-block-column { border-left: 0; border-top: 1px solid var(--wp--preset--color--line); }
}

/* nagłówek i podtytuł sekcji z kartami wyboru — wyśrodkowane, tak jak karty */
.wp-block-group:has(> .vt-choice) > :is(h2, h3, h4, p) { text-align: center; margin-inline: auto; }

/* karty wyboru klikalne w całości (jeden link w nagłówku rozciągnięty na kartę) */
.vt-choice-links > .wp-block-column { position: relative; transition: background-color .2s; }
.vt-choice-links > .wp-block-column:hover { background: var(--wp--preset--color--mist); }
.vt-choice-links :is(h2, h3, h4) a { color: var(--wp--preset--color--navy); text-decoration: none; }
.vt-choice-links :is(h2, h3, h4) a::after { content: ""; position: absolute; inset: 0; }
.vt-choice-links :is(h2, h3, h4)::after {
	/* strzałka jako grafika — nie trafia do nazwy dostępnej nagłówka */
	content: "";
	display: block;
	width: 28px; height: 28px;
	margin: .5rem auto 0;
	background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b10e55' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
	transition: transform .2s;
}
.vt-choice-links > .wp-block-column:hover :is(h2, h3, h4)::after { transform: translateX(4px); }
.vt-choice-links > .wp-block-column:has(a:focus-visible) { outline: 3px solid var(--vt-focus); outline-offset: -3px; }
.vt-choice-links :is(h2, h3, h4) a:focus-visible { outline: none; box-shadow: none; }

/* zdjęcie z podpisem-linkiem (dla Ciebie / dla biznesu / dla mieszkań) */
.vt-photo-card {
	position: relative;
	border-radius: var(--vt-radius);
	overflow: hidden;
	box-shadow: var(--vt-shadow);
	isolation: isolate;
	margin: 0 !important;
}
.vt-photo-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; border-radius: 0 !important; transition: transform .5s; }
.vt-photo-card:hover img, .vt-photo-card:focus-within img { transform: scale(1.04); }
.vt-photo-card figcaption, .vt-photo-card .wp-element-caption {
	position: absolute; inset: auto 0 0 0;
	margin: 0 !important;
	padding: 3rem 1.5rem 1.25rem;
	background: linear-gradient(180deg, rgba(25, 20, 79, 0) 0%, rgba(25, 20, 79, .92) 70%);
	color: #fff !important;
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 300;
	text-align: left;
}
.vt-photo-card figcaption a { color: #fff; text-decoration: none; }
.vt-photo-card figcaption a::after { content: ""; position: absolute; inset: 0; }
.vt-photo-card figcaption a::before { content: "→"; float: right; transition: transform .2s; }
.vt-photo-card:hover figcaption a::before { transform: translateX(4px); }
.vt-photo-card:has(a:focus-visible) { outline: 3px solid var(--vt-focus); outline-offset: 3px; }
.vt-photo-card figcaption a:focus-visible { outline: none; box-shadow: none; }

/* ---------- komunikaty ---------- */

.vt-news .wp-block-post-template { gap: 1.25rem; }
.vt-news .wp-block-post {
	background: #fff;
	border-radius: var(--vt-radius);
	border: 1px solid var(--wp--preset--color--line);
	padding: 1.25rem 1.5rem;
	position: relative;
	display: flex; flex-direction: column; gap: .5rem;
	transition: box-shadow .2s, transform .2s;
}
.vt-news .wp-block-post:hover, .vt-news .wp-block-post:focus-within { box-shadow: var(--vt-shadow); transform: translateY(-2px); }
.vt-news .wp-block-post-title { font-size: var(--wp--preset--font-size--large); font-weight: 700; margin: 0; }
.vt-news .wp-block-post-title a { color: var(--wp--preset--color--navy); text-decoration: none; }
.vt-news .wp-block-post-title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--vt-radius); }
.vt-news .wp-block-post-title a:focus-visible { outline: none; box-shadow: none; }
.vt-news .wp-block-post:has(a:focus-visible) { outline: 3px solid var(--vt-focus); outline-offset: 3px; }
.vt-news .wp-block-post-excerpt { color: var(--wp--preset--color--muted); font-size: var(--wp--preset--font-size--small); margin: 0; }
.vt-news .wp-block-post-excerpt__excerpt {
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 0;
}
.vt-news .wp-block-post-date { order: -1; }
.vt-news .wp-block-post-terms a { position: relative; z-index: 1; font-size: var(--wp--preset--font-size--small); }
.vt-news-more::after { content: " →"; }

/* lista komunikatów na stronie archiwum */
.vt-news-list .wp-block-post { border-bottom: 1px solid var(--wp--preset--color--line); padding-block: 1.25rem; }

/* ---------- zakładki (progressive enhancement, vt.js) ---------- */

.vt-tabs-nav {
	display: flex; flex-wrap: wrap; gap: .5rem;
	margin: 0 0 1.5rem; padding: .35rem;
	background: var(--wp--preset--color--mist);
	border-radius: 999px;
	width: fit-content; max-width: 100%;
}
.vt-tabs-nav button {
	font: inherit; font-weight: 700;
	border: 0; cursor: pointer;
	min-height: 44px;
	padding: .55rem 1.25rem;
	border-radius: 999px;
	background: transparent;
	color: var(--wp--preset--color--navy);
}
.vt-tabs-nav button[aria-selected="true"] { background: var(--wp--preset--color--navy); color: #fff; }
.vt-tabs-nav button:hover:not([aria-selected="true"]) { background: #fff; }
.vt-tabs.is-enhanced > .vt-tab-panel > .vt-tab-title { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
.vt-tab-panel[hidden] { display: none !important; }

/* ---------- karty cenowe (oferty) ---------- */

.vt-price-grid { align-items: stretch; margin-top: var(--wp--preset--spacing--30); }
.vt-price-card {
	position: relative;
	display: flex; flex-direction: column;
	background: #fff;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--vt-radius);
	box-shadow: var(--vt-shadow);
	padding: 1.75rem 1.5rem 1.5rem !important;
	gap: .5rem;
	transition: transform .2s, box-shadow .2s;
}
.vt-price-card:hover { transform: translateY(-3px); box-shadow: var(--vt-shadow-lg); }
.vt-price-card > * { margin-block: 0 !important; }
.vt-price-card h3 { font-size: var(--wp--preset--font-size--x-large); font-weight: 700; color: var(--wp--preset--color--navy); }
.vt-price-card .vt-eyebrow { font-size: .78rem; }
.vt-price-card .wp-block-list { font-size: var(--wp--preset--font-size--small); margin-top: .5rem !important; }
.vt-price-card .wp-block-buttons { margin-top: auto !important; padding-top: 1rem; }
.vt-price-card .wp-block-button, .vt-price-card .wp-block-button__link { width: 100%; text-align: center; justify-content: center; }
.vt-price-card.is-featured {
	border: 2px solid transparent;
	background: linear-gradient(#fff, #fff) padding-box, var(--wp--preset--gradient--brand) border-box;
	box-shadow: var(--vt-shadow-lg);
}
@media (min-width: 782px) { .vt-price-card.is-featured { transform: translateY(-8px); } .vt-price-card.is-featured:hover { transform: translateY(-11px); } }
p.vt-badge {
	position: absolute; top: -.85rem; left: 1.5rem;
	background: var(--wp--preset--gradient--brand);
	color: #fff; font-weight: 700; font-size: .78rem;
	padding: .3rem .8rem; border-radius: 999px;
	letter-spacing: .02em;
}
p.vt-price { font-size: 1rem; line-height: 1; color: var(--wp--preset--color--muted); margin-top: .25rem !important; }
p.vt-price strong {
	font-size: clamp(2.4rem, 5vw, 3rem); font-weight: 700; letter-spacing: -.02em;
	color: var(--wp--preset--color--magenta);
}
.vt-price-card.is-featured p.vt-price strong {
	background-image: var(--wp--preset--gradient--brand);
	-webkit-background-clip: text; background-clip: text; color: #7b2cbf; -webkit-text-fill-color: transparent;
}
p.vt-price-note { font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--muted); }

.vt-benefits { margin-top: var(--wp--preset--spacing--30); }
.vt-benefits > .wp-block-group { background: var(--wp--preset--color--mist); border-radius: var(--vt-radius); padding: 1.25rem 1.5rem; }
.vt-benefits h3 { font-size: var(--wp--preset--font-size--large); font-weight: 700; margin-top: 0; }

.vt-cta-band h2 { color: #fff; }
h2.vt-fine-title { font-size: var(--wp--preset--font-size--large); font-weight: 700; }
.vt-fine-print { font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--muted); }
.vt-fine-print li { margin: .35rem 0; }
.vt-cta-band .wp-block-buttons { margin-top: var(--wp--preset--spacing--20); }

@media (forced-colors: active) {
	.vt-price-card.is-featured { border: 3px solid CanvasText; }
	p.vt-price strong, .vt-price-card.is-featured p.vt-price strong { color: CanvasText; -webkit-text-fill-color: CanvasText; background: none; }
	p.vt-badge { border: 1px solid CanvasText; }
}

/* link „Zapytaj o dostępność” pod przyciskiem karty */
p.vt-ask { text-align: center; font-size: var(--wp--preset--font-size--small); margin-top: .35rem !important; }
p.vt-ask a { display: inline-flex; align-items: center; min-height: 24px; font-weight: 700; }

/* media społecznościowe */
.vt-social { display: flex; gap: .5rem; align-items: center; margin: 0; }
.vt-social a { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-width: 32px; min-height: 32px; text-decoration: none; }
.vt-topbar .vt-social a { border-radius: 6px; }
.vt-topbar .vt-social a:hover { color: #3cf0c5; }
.vt-social-footer a { padding: .25rem .6rem .25rem .4rem; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; }
@media (max-width: 781px) { .vt-topbar .vt-social { display: none; } }

/* ---------- logotypy kanałów TV ---------- */

ul.vt-channels {
	list-style: none;
	padding: 0;
	margin: 1rem 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
	gap: .5rem;
}
ul.vt-channels a {
	display: flex; align-items: center; justify-content: center;
	min-height: 64px; height: 100%;
	padding: .4rem;
	background: #fff;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--vt-radius-sm);
	text-decoration: none;
	color: var(--wp--preset--color--navy);
	text-align: center;
	font-size: .8rem; font-weight: 700; line-height: 1.2;
}
ul.vt-channels a:hover { border-color: var(--wp--preset--color--magenta); box-shadow: var(--vt-shadow); }
ul.vt-channels img { max-width: 100%; max-height: 48px; width: auto; height: auto; border-radius: 0 !important; }

.wp-block-table a.vt-table-btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 44px; padding: .5em 1.4em;
	border-radius: 999px;
	background: var(--wp--preset--gradient--brand);
	color: #fff; font-weight: 700; text-decoration: none;
}
.wp-block-table a.vt-table-btn:hover { box-shadow: var(--vt-shadow); color: #fff; }

/* ---------- akordeony ---------- */

.wp-block-details {
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--vt-radius-sm);
	padding: 0;
	background: #fff;
}
.wp-block-details + .wp-block-details { margin-top: .75rem; }
.wp-block-details summary {
	cursor: pointer;
	font-weight: 700;
	color: var(--wp--preset--color--navy);
	padding: 1rem 3rem 1rem 1.25rem;
	position: relative;
	list-style: none;
	min-height: 44px;
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after {
	content: "";
	position: absolute; right: 1.25rem; top: 50%;
	width: .6rem; height: .6rem;
	border: solid var(--wp--preset--color--magenta); border-width: 0 2px 2px 0;
	transform: translateY(-70%) rotate(45deg);
	transition: transform .2s;
}
.wp-block-details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.wp-block-details > :not(summary) { padding-inline: 1.25rem; }
.wp-block-details > :last-child { padding-bottom: 1rem; }

/* ---------- tabele / cenniki ---------- */

.wp-block-table { overflow-x: auto; }
.wp-block-table table { border-collapse: collapse; width: 100%; }
.wp-block-table th, .wp-block-table td { border: 1px solid var(--wp--preset--color--line); padding: .7rem .9rem; text-align: left; vertical-align: top; }
.wp-block-table thead th { background: var(--wp--preset--color--navy); color: #fff; border-color: var(--wp--preset--color--navy); }
.wp-block-table tbody tr:nth-child(even) { background: var(--wp--preset--color--mist); }
.wp-block-table figcaption { text-align: left; }

.is-style-vt-price table { border-radius: var(--vt-radius-sm); overflow: hidden; }
.is-style-vt-price td:not(:first-child), .is-style-vt-price th:not(:first-child) { text-align: center; }
.is-style-vt-price tbody th { background: var(--wp--preset--color--mist); color: var(--wp--preset--color--navy); }

/* ---------- formularze (vt-core) ---------- */

.vt-form, .vt-form *, .vt-form *::before, .vt-form *::after { box-sizing: border-box; }
.vt-form .vt-row > * { min-width: 0; }

.vt-form { display: grid; gap: 1rem; }
.vt-form .vt-field { display: grid; gap: .35rem; }
.vt-form .vt-row { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.vt-form label, .vt-form legend { font-weight: 700; color: var(--wp--preset--color--navy); }
.vt-form .vt-req { color: var(--wp--preset--color--magenta); }
.vt-form input[type="text"], .vt-form input[type="email"], .vt-form input[type="tel"], .vt-form input[type="date"], .vt-form input[type="number"],
.vt-form select, .vt-form textarea {
	font: inherit;
	width: 100%;
	min-height: 48px;
	padding: .65rem .85rem;
	border: 2px solid var(--vt-field-border);
	border-radius: var(--vt-radius-sm);
	background: #fff;
	color: var(--wp--preset--color--ink);
}
.vt-form textarea { min-height: 140px; resize: vertical; }
.vt-form :is(input, select, textarea):focus-visible { border-color: var(--vt-focus); }
.vt-form [aria-invalid="true"] { border-color: #b3261e; }
.vt-form .vt-help { font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--muted); }
.vt-form .vt-error { color: #b3261e; font-weight: 700; font-size: var(--wp--preset--font-size--small); }
.vt-form .vt-check { display: flex; gap: .65rem; align-items: flex-start; font-weight: 400; }
.vt-form .vt-check input { width: 24px; height: 24px; margin-top: .15rem; flex: none; accent-color: var(--wp--preset--color--magenta); }
.vt-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: .5rem; }
.vt-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.vt-form :is(button[type="submit"], input[type="submit"]) {
	font: inherit; font-weight: 700;
	justify-self: start;
	border: 0; cursor: pointer;
	min-height: 48px;
	padding: .8em 1.8em;
	border-radius: 999px;
	background: var(--wp--preset--gradient--brand);
	color: #fff;
}
.vt-form :is(button[type="submit"], input[type="submit"]):hover { box-shadow: var(--vt-shadow); transform: translateY(-1px); }
.vt-form-summary, .vt-form-success {
	border-radius: var(--vt-radius-sm);
	padding: 1rem 1.25rem;
	border-left: 6px solid;
}
.vt-form-summary { background: #fdecea; border-color: #b3261e; color: #5c1a14; }
.vt-form-summary a { color: #5c1a14; }
.vt-form-success { background: #e6f6f1; border-color: #0b7a5c; color: #0a3d30; }
.vt-form-success:focus, .vt-form-summary:focus { outline: 3px solid var(--vt-focus); outline-offset: 3px; }

/* Contact Form 7 */
.wpcf7 form { position: relative; }
.wpcf7-form-control-wrap { display: block; }
.wpcf7-not-valid { border-color: #b3261e !important; }
.wpcf7-not-valid-tip { color: #b3261e; font-weight: 700; font-size: var(--wp--preset--font-size--small); margin-top: .25rem; display: block; }
.wpcf7 .wpcf7-response-output { margin: 1rem 0 0 !important; padding: 1rem 1.25rem !important; border-radius: var(--vt-radius-sm); border: 0 !important; border-left: 6px solid !important; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.spam .wpcf7-response-output { background: #fdecea; border-color: #b3261e !important; color: #5c1a14; }
.wpcf7 form.sent .wpcf7-response-output { background: #e6f6f1; border-color: #0b7a5c !important; color: #0a3d30; }
.wpcf7-list-item { display: block; margin: .35rem 0 !important; }
.wpcf7-list-item label { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; color: var(--wp--preset--color--ink); }
.wpcf7-list-item input { width: 22px; height: 22px; margin-top: .15rem; flex: none; accent-color: var(--wp--preset--color--magenta); }
.vt-consent .wpcf7-list-item label, .vt-consent label { font-size: var(--wp--preset--font-size--small); }
.wpcf7-spinner { margin: 0 0 0 1rem; vertical-align: middle; }

/* ---------- stopka ---------- */

.vt-footer { position: relative; font-size: var(--wp--preset--font-size--small); }
.vt-footer::before {
	content: "";
	position: absolute; inset: 0 0 auto 0;
	height: 4px;
	background: var(--wp--preset--gradient--aurora);
}
.vt-footer h2 { color: #fff; font-size: var(--wp--preset--font-size--medium); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.vt-footer p, .vt-footer li { color: rgba(255, 255, 255, .88); }
.vt-footer ul { list-style: none; padding: 0; margin: 0; }
.vt-footer li { margin: .4rem 0; }
.vt-footer a { text-decoration: none; }
.vt-footer a:hover { text-decoration: underline; }
.vt-footer .vt-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .18); }
.vt-lang { align-items: center; gap: 1.25rem; }
.vt-lang select {
	font: inherit; font-size: var(--wp--preset--font-size--small);
	min-height: 40px; padding: .35rem 2rem .35rem .75rem;
	border-radius: 8px; border: 1px solid rgba(255, 255, 255, .55);
	background: var(--wp--preset--color--navy-2); color: #fff;
}
:is(.has-navy-background-color, .has-night-gradient-background) .wp-element-caption,
.vt-hero .wp-element-caption { color: rgba(255, 255, 255, .85) !important; }

/* ---------- osadzenia ---------- */

.vt-embed iframe { width: 100%; min-height: 70vh; border: 0; border-radius: var(--vt-radius-sm); }
.vt-map iframe { width: 100%; height: 380px; border: 0; border-radius: var(--vt-radius); }

/* ---------- ruch i tryby specjalne ---------- */

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
	.vt-photo-card:hover img { transform: none; }
}

@media (forced-colors: active) {
	.is-style-vt-gradient.wp-block-heading, .vt-gradient-text { color: CanvasText; -webkit-text-fill-color: CanvasText; background: none; }
	.vt-service, .is-style-vt-card, .vt-news .wp-block-post { border: 1px solid CanvasText; }
	.vt-icon { border: 1px solid CanvasText; }
}

@media print {
	.vt-header, .vt-topbar, .vt-footer, .wp-block-navigation { display: none !important; }
	a { color: #000; }
}

/* Infrastruktura: ikony z białym tłem (stare PNG) — wtapiamy w paski tabeli */
.wp-block-table img[src*="/img/infra/"] { mix-blend-mode: multiply; display: block; }
