/*
Theme Name: PH-Wedding
Theme URI: https://ph-wedding.pl
Author: PH-Wedding
Description: Autorski motyw WordPress dla PH-Wedding — produkcja filmów ślubnych. Strona główna prezentuje ofertę ogólnie, a ukryta podstrona (szablon "Oferta (ukryta)") pokazuje pełen cennik i szczegóły pakietów pod bezpośrednim linkiem.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: ph-wedding
*/

/* ==========================================================================
   0. Fonty — Montserrat (pliki lokalne w assets/fonts)
   ========================================================================== */

@font-face {
	font-family: 'Montserrat';
	src: url('assets/fonts/Montserrat-Regular.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Montserrat';
	src: url('assets/fonts/Montserrat-Medium.ttf') format('truetype');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Montserrat';
	src: url('assets/fonts/Montserrat-SemiBold.ttf') format('truetype');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Montserrat';
	src: url('assets/fonts/Montserrat-Bold.ttf') format('truetype');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Montserrat';
	src: url('assets/fonts/Montserrat-ExtraBold.ttf') format('truetype');
	font-weight: 800;
	font-style: normal;
	font-display: swap;
}

/* ==========================================================================
   1. Reset i zmienne
   ========================================================================== */

:root {
	--navy: #0e1526;
	--blue: #27aae1;
	--blue-soft: #eef8fd;
	--ink: #111827;
	--gray: #6b7280;
	--line: #e5e7eb;
	--bg: #f7f8fa;
	--white: #ffffff;
	--radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: 'Montserrat', Arial, sans-serif;
	font-weight: 400;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3 { font-weight: 700; margin: 0 0 .5em; line-height: 1.2; }

p { margin: 0 0 1em; color: var(--gray); }

.wrap {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 28px;
}

.section { padding: 96px 0; }
.section-alt { background: var(--bg); }

.section-head { max-width: 720px; margin: 0 0 48px; }
.section-head .lead { font-size: 17px; margin-top: 12px; }

.eyebrow {
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--blue);
	margin-bottom: 14px;
}

.accent-line {
	width: 56px;
	height: 3px;
	background: var(--blue);
	border-radius: 3px;
	margin-top: 18px;
}

h2 { font-size: 34px; }

.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 26px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 15px;
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
	white-space: nowrap;
}
.btn-primary {
	background: var(--blue);
	color: var(--white);
	box-shadow: 0 8px 20px rgba(39,170,225,.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(39,170,225,.36); }
.btn-ghost {
	background: rgba(255,255,255,.12);
	color: var(--white);
	border: 1px solid rgba(255,255,255,.5);
}
.btn-ghost:hover { background: rgba(255,255,255,.2); }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-nav {
	background: var(--navy);
	color: var(--white);
	padding: 10px 20px;
	font-size: 14px;
}

/* ==========================================================================
   2. Nagłówek / nawigacja
   ========================================================================== */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255,255,255,.92);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--line);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 84px;
	max-width: none;
	padding-left: 40px;
	padding-right: 40px;
}

.site-logo {
	display: flex;
	align-items: center;
	font-size: 20px;
	font-weight: 800;
	letter-spacing: .04em;
	color: var(--navy);
}
.site-logo span { color: var(--blue); }
.site-logo img { height: 26px; width: auto; display: block; }

.site-nav {
	display: flex;
	align-items: center;
	gap: 32px;
}

.nav-menu {
	display: flex;
	align-items: center;
	gap: 32px;
}
.nav-menu a {
	font-size: 15px;
	font-weight: 600;
	color: var(--ink);
}
.nav-menu a:hover { color: var(--blue); }

.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
}
.nav-toggle span {
	display: block;
	height: 2px;
	width: 100%;
	background: var(--navy);
	border-radius: 2px;
	transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   3. Hero
   ========================================================================== */

.hero {
	position: relative;
	min-height: 640px;
	display: flex;
	align-items: center;
	padding: 96px 0 80px;
	background: var(--navy);
	color: var(--white);
	overflow: hidden;
}

.hero-media {
	position: absolute;
	inset: 0;
	z-index: 0;
	background: url('assets/img/hero.jpg') center/cover no-repeat;
}

.hero-video-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	background: var(--navy);
}
.hero-video-bg iframe {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 177.78vh; /* 16:9, wyliczone z wysokości, żeby zawsze zakryć kontener */
	height: 56.25vw; /* 16:9, wyliczone z szerokości */
	min-width: 100%;
	min-height: 100%;
	transform: translate(-50%, -50%);
	pointer-events: none;
	border: 0;
	opacity: 0;
	animation: heroVideoReveal .5s ease-out .9s forwards;
}
@keyframes heroVideoReveal {
	from { opacity: 0; }
	to { opacity: 1; }
}

.hero-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(14,21,38,.55) 0%, rgba(14,21,38,.45) 45%, rgba(14,21,38,.88) 100%);
}

.hero-inner {
	position: relative;
	z-index: 2;
	max-width: 760px;
}

.hero .eyebrow { color: #9ed9f2; }

.hero h1 {
	font-size: 52px;
	margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: #9ed9f2; }

.hero p {
	font-size: 18px;
	color: rgba(255,255,255,.78);
	max-width: 560px;
}

.hero-ctas {
	display: flex;
	gap: 16px;
	margin-top: 32px;
	flex-wrap: wrap;
}

/* ==========================================================================
   4. O nas / filary
   ========================================================================== */

.pillars {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	margin-bottom: 48px;
}

.pillar {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 32px 28px;
}

.pillar-num {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--blue-soft);
	color: var(--blue);
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 18px;
}

.pillar h3 { font-size: 18px; }
.pillar p { font-size: 15px; margin: 0; }

.adapt-note {
	background: var(--blue-soft);
	border-radius: var(--radius);
	padding: 28px 32px;
	font-size: 16px;
	color: var(--navy);
	line-height: 1.7;
}

/* ==========================================================================
   4b. Sekcje ze zdjęciem w tle (filozofia, proces) — używane na stronie
   głównej i na ukrytej stronie oferty. Dodaj klasę "has-photo" oraz
   background-image (inline style) do sekcji.
   ========================================================================== */

.has-photo {
	position: relative;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	color: var(--white);
}
.has-photo .eyebrow { color: #9ed9f2; }
.has-photo h2 { color: var(--white); }
.has-photo .section-head .lead,
.has-photo .lead { color: #dbe2f5; }

.has-photo .pillar,
.has-photo .step {
	background: rgba(255,255,255,.95);
}
.has-photo .pillar p,
.has-photo .step p { color: var(--gray); }
.has-photo .step h3 { color: var(--ink); }
.has-photo .step .step-num { color: var(--blue); }
.has-photo .adapt-note { background: rgba(255,255,255,.96); }

.stats-row {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1px;
	margin: 40px 0;
	background: var(--line);
	border-radius: var(--radius);
	overflow: hidden;
}
.stat {
	background: var(--navy);
	padding: 26px 18px;
	text-align: center;
}
.stat .num { font-size: 32px; font-weight: 800; color: var(--white); margin-bottom: 4px; }
.stat .label {
	font-size: 12px;
	color: #c7d0e8;
	line-height: 1.4;
	text-transform: uppercase;
	letter-spacing: .04em;
}

/* ==========================================================================
   5. Pakiety — wersja ogólna (strona główna)
   ========================================================================== */

.pkg-grid-general {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	margin-bottom: 40px;
}

.pkg-card-general {
	position: relative;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 32px 28px;
}
.pkg-card-general.featured {
	border-color: var(--blue);
	box-shadow: 0 12px 30px rgba(39,170,225,.14);
}

.pkg-card-general .badge {
	position: absolute;
	top: -13px;
	left: 28px;
	background: var(--blue);
	color: var(--white);
	font-size: 12px;
	font-weight: 700;
	padding: 5px 14px;
	border-radius: 999px;
}

.pkg-name-label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--gray);
	margin-bottom: 6px;
}

.pkg-title { font-size: 22px; margin-bottom: 10px; }
.pkg-card-general p { font-size: 15px; margin: 0; }

.pkg-cta-box {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px;
	background: var(--navy);
	color: var(--white);
	border-radius: var(--radius);
	padding: 28px 32px;
}
.pkg-cta-box span { font-size: 16px; font-weight: 600; }

/* ==========================================================================
   6. Portfolio
   ========================================================================== */

.portfolio-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-bottom: 32px;
}

.portfolio-placeholder {
	aspect-ratio: 4 / 5;
	border-radius: var(--radius);
	background: var(--bg);
	border: 1.5px dashed var(--line);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: var(--gray);
	font-size: 14px;
	font-weight: 600;
	padding: 16px;
}

.video-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-bottom: 32px;
}

.video-card {
	position: relative;
	display: block;
	height: 0;
	padding-bottom: 125%; /* proporcje 4:5 — działa niezależnie od wsparcia przeglądarki dla aspect-ratio */
	border-radius: var(--radius);
	background-color: var(--navy);
	background-size: cover;
	background-position: center;
	overflow: hidden;
}
.video-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(14,21,38,.08), rgba(14,21,38,.4));
}

.video-placeholder-label {
	position: absolute;
	bottom: 16px;
	left: 16px;
	right: 16px;
	color: rgba(255,255,255,.55);
	font-size: 12px;
	font-weight: 600;
	text-align: center;
}

.video-card .play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 1;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: rgba(255,255,255,.94);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform .15s ease;
}
.video-card:hover .play { transform: translate(-50%, -50%) scale(1.08); }
.video-card .play svg { width: 22px; height: 22px; fill: var(--navy); margin-left: 2px; }

.playlist-box {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px;
	background: var(--blue-soft);
	border-radius: var(--radius);
	padding: 24px 30px;
}
.playlist-box span { font-weight: 600; color: var(--navy); font-size: 15px; }

/* ==========================================================================
   7. Kontakt
   ========================================================================== */

.contact-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 28px;
	background: var(--navy);
	color: var(--white);
	border-radius: var(--radius);
	padding: 40px 44px;
}
.contact-card h3 { font-size: 22px; margin-bottom: 8px; }
.contact-card p { color: rgba(255,255,255,.72); margin: 0; }

.contact-links {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 15px;
	color: rgba(255,255,255,.85);
}
.contact-links a:hover { color: var(--blue); }

/* ==========================================================================
   8. Stopka
   ========================================================================== */

.site-footer {
	background: var(--navy);
	color: rgba(255,255,255,.6);
	padding: 32px 0;
	font-size: 13px;
}
.footer-inner {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
}

/* ==========================================================================
   9. Zwykłe podstrony (page.php / index.php)
   ========================================================================== */

.page-content { font-size: 16px; max-width: 760px; }
.page-content p { color: var(--ink); }
.page-content h2 { font-size: 22px; margin-top: 1.6em; }
.page-content h3 { font-size: 17px; margin-top: 1.3em; }
.page-content ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.page-content ul li { color: var(--ink); margin-bottom: .4em; }
.page-content a { color: var(--blue); text-decoration: underline; }

.page-back-link { margin-top: 40px; }
.page-back-link a { color: var(--blue); font-weight: 600; font-size: 14.5px; }
.page-back-link a:hover { text-decoration: underline; }

/* ==========================================================================
   10. Responsywność — strona główna / motyw ogólny
   ========================================================================== */

@media (max-width: 900px) {
	h2 { font-size: 28px; }
	.hero, .offer-hero { min-height: 560px; }
	.hero h1 { font-size: 38px; }
	.pillars, .pkg-grid-general { grid-template-columns: 1fr; }
	.portfolio-grid, .video-grid { grid-template-columns: repeat(2, 1fr); }

	.nav-toggle { display: flex; }
	.site-nav {
		position: absolute;
		top: 84px;
		left: 0;
		right: 0;
		background: var(--white);
		border-bottom: 1px solid var(--line);
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		padding: 8px 28px 20px;
		display: none;
	}
	.site-nav.is-open { display: flex; }
	.nav-menu {
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		width: 100%;
	}
	.nav-menu a { display: block; padding: 14px 0; width: 100%; border-bottom: 1px solid var(--line); }
	.site-nav .btn-nav { margin-top: 16px; }

	.contact-card, .pkg-cta-box, .playlist-box { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
	.section { padding: 64px 0; }
	.portfolio-grid, .video-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.hero, .offer-hero { min-height: 480px; }
	.hero h1 { font-size: 32px; }
	.header-inner, .offer-hero-topbar { padding-left: 20px; padding-right: 20px; }
}

/* ==========================================================================
   11. Ukryta strona oferty (template-oferta.php)
   ========================================================================== */

.offer-page { background: var(--white); }

.offer-hero {
	position: relative;
	min-height: 640px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background: var(--navy);
	color: var(--white);
	padding: 64px 0 72px;
	overflow: hidden;
}
.offer-hero-media {
	position: absolute;
	inset: 0;
	z-index: 0;
	background: url('assets/img/hero.jpg') center/cover no-repeat;
}
.offer-hero-topbar { position: relative; z-index: 2; max-width: none; margin: 0 0 40px; padding-left: 40px; padding-right: 40px; }
.offer-hero-inner { position: relative; z-index: 2; max-width: 760px; margin: 0; }

.offer-logo {
	display: flex;
	align-items: center;
	font-size: 18px;
	font-weight: 800;
	letter-spacing: .04em;
}
.offer-logo span { color: #9ed9f2; }
.offer-logo img { height: 24px; width: auto; display: block; }

.offer-hero .eyebrow { color: #9ed9f2; }
.offer-hero h1 { font-size: 42px; margin-bottom: 16px; }
.offer-hero h1 em { font-style: normal; color: #9ed9f2; }
.offer-hero p { color: rgba(255,255,255,.78); font-size: 17px; max-width: 540px; margin: 0; }

.offer-section { padding: 80px 0; }
.offer-alt { background: var(--bg); }

.table-scroll { overflow-x: auto; }

.compare {
	width: 100%;
	border-collapse: collapse;
	background: var(--white);
	border-radius: var(--radius);
	overflow: hidden;
	min-width: 640px;
}
.compare th, .compare td {
	padding: 14px 18px;
	text-align: left;
	font-size: 14.5px;
	border-bottom: 1px solid var(--line);
}
.compare thead th {
	background: var(--navy);
	color: var(--white);
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .04em;
	font-weight: 700;
}
.compare td:first-child { color: var(--gray); font-weight: 600; }
.compare .highlight-col { background: var(--blue-soft); }
.compare thead th.highlight-col { background: var(--blue); color: var(--white); }
.compare tbody tr:last-child td { border-bottom: none; }

.addon-table {
	width: 100%;
	border-collapse: collapse;
	background: var(--white);
	border-radius: var(--radius);
	overflow: hidden;
	min-width: 560px;
}
.addon-table th, .addon-table td {
	padding: 16px 20px;
	text-align: left;
	font-size: 15px;
	border-bottom: 1px solid var(--line);
}
.addon-table thead th {
	background: var(--navy);
	color: var(--white);
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .04em;
	font-weight: 700;
}
.addon-table td:nth-child(2) { color: var(--gray); }
.addon-table .price { font-weight: 700; color: var(--navy); text-align: right; }
.addon-table thead th.price { text-align: right; }
.addon-table tbody tr:last-child td { border-bottom: none; }
.addon-table .group-row td {
	background: var(--navy);
	color: var(--white);
	font-size: 12.5px;
	text-transform: uppercase;
	letter-spacing: .04em;
	font-weight: 700;
	padding: 10px 20px;
}
.table-note {
	font-size: 13px;
	color: var(--gray);
	margin: 14px 2px 0;
	line-height: 1.6;
}

/* Pakiety — wersja szczegółowa (ukryta oferta) */

.pkg-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.pkg-card {
	position: relative;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 32px 28px;
	display: flex;
	flex-direction: column;
}
.pkg-card.featured {
	border-color: var(--blue);
	box-shadow: 0 16px 34px rgba(39,170,225,.16);
	transform: translateY(-6px);
}

.pkg-card .badge {
	position: absolute;
	top: -13px;
	left: 28px;
	background: var(--blue);
	color: var(--white);
	font-size: 12px;
	font-weight: 700;
	padding: 5px 14px;
	border-radius: 999px;
}

.pkg-card .pkg-price {
	font-size: 34px;
	font-weight: 800;
	color: var(--navy);
	margin-bottom: 6px;
}
.pkg-card .pkg-tagline {
	font-size: 13px;
	color: var(--gray);
	margin-bottom: 22px;
	padding-bottom: 22px;
	border-bottom: 1px solid var(--line);
}

.pkg-feats { margin-bottom: 20px; flex-grow: 1; }
.pkg-feats li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14.5px;
	color: var(--ink);
	padding: 6px 0;
}
.pkg-feats li:last-child {
	color: var(--gray);
	font-size: 13px;
	font-style: italic;
	padding-top: 12px;
}
.pkg-feats .check {
	flex-shrink: 0;
	width: 18px;
	color: var(--blue);
	font-weight: 800;
}
.pkg-feats li.pkg-feat-off {
	text-decoration: line-through;
	color: var(--gray);
}
.pkg-feats li.pkg-feat-off .check {
	text-decoration: none;
}
.pkg-feats li.pkg-feat-highlight {
	color: var(--blue);
	font-weight: 700;
}

.pkg-for {
	font-size: 13.5px;
	color: var(--gray);
	line-height: 1.6;
	margin-bottom: 22px;
}

.pkg-card .pkg-cta {
	display: block;
	text-align: center;
	background: var(--navy);
	color: var(--white);
	border-radius: 999px;
	padding: 13px 20px;
	font-weight: 600;
	font-size: 14.5px;
	transition: background .15s ease;
}
.pkg-card .pkg-cta:hover { background: var(--blue); }
.pkg-card.featured .pkg-cta { background: var(--blue); }

/* Kroki dalszej współpracy */

.steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin-bottom: 48px;
}
.step {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 26px 22px;
}
.step-num {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--blue-soft);
	color: var(--blue);
	font-weight: 800;
	font-size: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 14px;
}
.step h3 { font-size: 15.5px; margin-bottom: 6px; }
.step p { font-size: 13.5px; margin: 0; }

.offer-footer {
	background: var(--navy);
	color: rgba(255,255,255,.55);
	text-align: center;
	padding: 28px;
	font-size: 13px;
}

/* Zamykający baner CTA (pełne zdjęcie w tle + mocne wezwanie do działania) */

.cta-banner {
	position: relative;
	min-height: 420px;
	display: flex;
	align-items: flex-end;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	color: var(--white);
	overflow: hidden;
}
.cta-banner-inner {
	position: relative;
	width: 100%;
	padding: 56px 0;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 28px;
	flex-wrap: wrap;
}
.cta-banner .eyebrow { color: #9ed9f2; }
.cta-banner h2 { color: var(--white); font-size: 30px; max-width: 560px; }
.cta-banner p { color: rgba(255,255,255,.8); max-width: 480px; margin: 0; }
.cta-banner-text { max-width: 600px; }

@media (max-width: 900px) {
	.pkg-grid, .steps { grid-template-columns: 1fr; }
	.pkg-card.featured { transform: none; }
	.video-grid { grid-template-columns: repeat(2, 1fr); }
	.offer-hero h1 { font-size: 32px; }
	.stats-row { grid-template-columns: repeat(2, 1fr); }
	.cta-banner-inner { align-items: flex-start; }
}

/* ==========================================================================
   12. Przerywnik ze zdjęciem (divider) — pełna szerokość + hasło sprzedażowe.
   Używany np. poniżej filozofii pracy i pomiędzy portfolio a pakietami.
   ========================================================================== */

.divider {
	position: relative;
	min-height: 340px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	color: var(--white);
	overflow: hidden;
}
.divider-inner {
	position: relative;
	max-width: 680px;
	padding: 64px 28px;
	margin: 0 auto;
}
.divider .eyebrow { color: #9ed9f2; }
.divider h2 { color: var(--white); font-size: 30px; margin: 0; }
.divider p { color: rgba(255,255,255,.82); font-size: 16px; margin: 14px 0 0; }

/* ==========================================================================
   13. Wideo w hero — zarezerwowane miejsce, link dodacie w functions.php
   (stała PHW_HERO_VIDEO_URL).
   ========================================================================== */

.hero-video {
	position: relative;
	margin-top: 56px;
	width: 100%;
}
.hero-video-box {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	max-height: 640px;
	overflow: hidden;
	background: rgba(255,255,255,.06);
	border-top: 1px solid rgba(255,255,255,.12);
	border-bottom: 1px solid rgba(255,255,255,.12);
}
.hero-video-box iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.hero-video-placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	color: rgba(255,255,255,.55);
	font-size: 13px;
	font-weight: 600;
	text-align: center;
	padding: 20px;
	line-height: 1.5;
}
.hero-video-placeholder .play-ghost {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	border: 1.5px solid rgba(255,255,255,.4);
	display: flex;
	align-items: center;
	justify-content: center;
}
.hero-video-placeholder .play-ghost svg { width: 20px; height: 20px; fill: rgba(255,255,255,.6); margin-left: 2px; }

/* ==========================================================================
   14. Formularz kontaktowy
   ========================================================================== */

.contact-form-wrap {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 36px 40px;
	margin-top: 28px;
}
.contact-form-wrap h3 { font-size: 20px; margin-bottom: 4px; }
.contact-form-wrap .form-sub { font-size: 14px; color: var(--gray); margin-bottom: 24px; }

.form-grid {
	display: flex;
	flex-direction: column;
	gap: 18px;
	max-width: 460px;
}
.form-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: 100%;
}
.form-field label { font-size: 13px; font-weight: 600; color: var(--navy); }
.form-field input {
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 12px 14px;
	font-family: inherit;
	font-size: 14.5px;
	color: var(--ink);
	background: var(--bg);
	width: 100%;
	box-sizing: border-box;
}
.form-field input:focus { outline: 2px solid var(--blue); outline-offset: 1px; background: var(--white); }

.form-honeypot { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-captcha { flex-direction: row; align-items: center; gap: 10px; flex-wrap: wrap; }
.form-captcha label { width: 100%; }
.form-captcha .captcha-sum { font-weight: 700; color: var(--blue); }
.form-captcha input { max-width: 110px; }

.form-submit-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 22px;
}
.form-note { font-size: 12.5px; color: var(--gray); max-width: 360px; margin: 0; }

.form-message { border-radius: 10px; padding: 14px 18px; font-size: 14px; margin-bottom: 20px; }
.form-message.success { background: #e7f6ec; color: #1c7a3d; }
.form-message.error { background: #fdecec; color: #c53030; }

/* ==========================================================================
   15. Baner cookies
   ========================================================================== */

.cookie-banner {
	position: fixed;
	left: 20px;
	right: 20px;
	bottom: 20px;
	z-index: 300;
	max-width: 640px;
	margin: 0 auto;
	background: var(--navy);
	color: rgba(255,255,255,.88);
	border-radius: var(--radius);
	padding: 22px 26px;
	box-shadow: 0 18px 44px rgba(14,21,38,.35);
	display: none;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { color: rgba(255,255,255,.78); font-size: 13.5px; margin: 0 0 16px; }
.cookie-banner a { color: #9ed9f2; text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cookie-banner .btn-cookie {
	padding: 10px 20px;
	border-radius: 999px;
	font-size: 13.5px;
	font-weight: 600;
	cursor: pointer;
	border: none;
	font-family: inherit;
}
.cookie-banner .btn-accept { background: var(--blue); color: var(--white); }
.cookie-banner .btn-reject { background: rgba(255,255,255,.12); color: var(--white); border: 1px solid rgba(255,255,255,.3); }

/* ==========================================================================
   16. Pływający widget kontaktowy (e-mail / WhatsApp)
   ========================================================================== */

.contact-fab {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 250;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 12px;
}
.contact-fab-menu {
	display: none;
	flex-direction: column;
	gap: 10px;
	background: var(--white);
	border-radius: var(--radius);
	box-shadow: 0 16px 40px rgba(14,21,38,.22);
	padding: 14px;
	min-width: 230px;
}
.contact-fab.is-open .contact-fab-menu { display: flex; }
.contact-fab-menu a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 600;
	color: var(--ink);
}
.contact-fab-menu a:hover { background: var(--bg); }
.contact-fab-menu a.whatsapp { color: #1f9e57; }
.contact-fab-menu a.email { color: var(--blue); }
.contact-fab-toggle {
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: var(--blue);
	color: var(--white);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 14px 30px rgba(39,170,225,.4);
	border: none;
	cursor: pointer;
}
.contact-fab-toggle svg { width: 24px; height: 24px; }

/* ==========================================================================
   17. FAQ (SEO / GEO)
   ========================================================================== */

.faq-list { max-width: 820px; }
.faq-item {
	border-bottom: 1px solid var(--line);
	padding: 22px 0;
}
.faq-item:first-child { padding-top: 0; }
.faq-item h3 { font-size: 16.5px; margin-bottom: 8px; }
.faq-item p { font-size: 14.5px; margin: 0; }

/* ==========================================================================
   18. Rozszerzona responsywność — nowe komponenty + dopięcie mobile/tablet
   ========================================================================== */

@media (min-width: 901px) {
	.divider { min-height: 560px; }
}

@media (max-width: 900px) {
	.divider h2 { font-size: 25px; }
	.contact-form-wrap { padding: 28px 24px; }
	.form-grid { max-width: none; }
	.contact-fab { right: 16px; bottom: 16px; }
	.cookie-banner { left: 14px; right: 14px; bottom: 14px; padding: 18px 20px; }
}

@media (max-width: 560px) {
	.divider { min-height: 280px; }
	.divider-inner { padding: 44px 20px; }
	.divider h2 { font-size: 22px; }
	.hero-video { margin-top: 28px; }
	.contact-form-wrap { padding: 22px 18px; }
	.form-submit-row { flex-direction: column; align-items: stretch; }
	.form-submit-row .btn { width: 100%; justify-content: center; }
	.contact-fab-toggle { width: 52px; height: 52px; }
	.contact-fab-menu { min-width: 200px; }
	.cookie-banner-actions { flex-direction: column; }
	.cookie-banner .btn-cookie { width: 100%; text-align: center; }
}

@media (max-width: 400px) {
	.hero h1 { font-size: 27px; }
	.section { padding: 52px 0; }
	.divider h2 { font-size: 20px; }
}

/* ==========================================================================
   19. Ekran hasła (ochrona strony oferty)
   ========================================================================== */

.password-gate {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(160deg, var(--navy) 0%, #16233f 60%, var(--navy) 100%);
	padding: 40px 20px;
}
.password-gate-box {
	max-width: 420px;
	width: 100%;
	text-align: center;
	color: var(--white);
}
.password-gate-box .offer-logo { justify-content: center; margin-bottom: 28px; font-size: 18px; font-weight: 800; letter-spacing: .04em; }
.password-gate-box .offer-logo span { color: #9ed9f2; }
.password-gate-box .offer-logo img { height: 26px; width: auto; }
.password-gate-box h1 { font-size: 26px; margin-bottom: 12px; }
.password-gate-box p { color: rgba(255,255,255,.75); font-size: 15px; margin-bottom: 28px; }

/* Formularz generowany przez WordPress (get_the_password_form) —
   domyślny znacznik to <form class="post-password-form">, wewnątrz dwa
   akapity: pierwszy z opisem (ukrywamy go, bo mamy własny tekst wyżej),
   drugi z etykietą, polem hasła i przyciskiem. */
.password-gate-box .post-password-form { text-align: left; }
.password-gate-box .post-password-form > p:first-child { display: none; }
.password-gate-box .post-password-form p:last-child {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
}
.password-gate-box label { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.85); }
.password-gate-box input[type="password"] {
	display: block;
	width: 100%;
	border: 1px solid rgba(255,255,255,.25);
	border-radius: 10px;
	padding: 13px 14px;
	font-family: inherit;
	font-size: 15px;
	background: rgba(255,255,255,.08);
	color: var(--white);
	box-sizing: border-box;
}
.password-gate-box input[type="submit"] {
	display: block;
	width: 100%;
	border: none;
	border-radius: 999px;
	padding: 14px 26px;
	font-weight: 600;
	font-size: 15px;
	font-family: inherit;
	background: var(--blue);
	color: var(--white);
	cursor: pointer;
	transition: transform .15s ease, box-shadow .15s ease;
}
.password-gate-box input[type="submit"]:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(39,170,225,.36); }

/* ==========================================================================
   20. Współpraca z fotografem (partner) + Pakiet łączony (ukryta oferta)
   ========================================================================== */

.partner-grid {
	display: grid;
	grid-template-columns: 380px 1fr;
	gap: 40px;
	align-items: start;
	margin-top: 36px;
}

.partner-quote {
	background: var(--navy);
	color: var(--white);
	border-radius: var(--radius);
	padding: 36px 32px;
}
.quote-mark { font-size: 48px; line-height: 1; font-weight: 800; color: var(--blue); margin-bottom: 6px; }
.quote-text { font-size: 18px; font-weight: 700; line-height: 1.5; margin: 0; }
.quote-author { font-weight: 700; font-size: 15px; margin-top: 22px; }
.quote-role { color: rgba(255,255,255,.6); font-size: 13px; margin-top: 2px; }

.partner-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	margin-top: 26px;
	background: rgba(255,255,255,.14);
	border-radius: 10px;
	overflow: hidden;
}
.partner-stats .stat { background: transparent; padding: 16px 6px; }

.partner-details p { margin-bottom: 16px; }
.partner-list-label { font-weight: 700; color: var(--navy); margin: 22px 0 12px; }

.partner-feats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2px 24px;
}
.partner-feats li, .combo-feats li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14.5px;
	color: var(--ink);
	padding: 6px 0;
}
.partner-feats li .check, .combo-feats li .check {
	flex-shrink: 0;
	width: 18px;
	color: var(--blue);
	font-weight: 800;
}

.partner-note {
	background: var(--blue-soft);
	border-radius: var(--radius);
	padding: 20px 24px;
	font-size: 14.5px;
	color: var(--navy);
	line-height: 1.6;
	margin-top: 24px;
}

.partner-cta {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
	margin-top: 26px;
}
.partner-cta-link { font-size: 14px; color: var(--gray); }
.partner-cta-link a { color: var(--blue); font-weight: 600; }
.partner-cta-link a:hover { text-decoration: underline; }

.combo-grid {
	display: grid;
	grid-template-columns: 1fr auto 1fr auto 1fr;
	align-items: center;
	gap: 18px;
	margin-top: 36px;
	margin-bottom: 28px;
}
.combo-op { font-size: 26px; font-weight: 800; color: var(--blue); text-align: center; }

.combo-card {
	position: relative;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 28px 24px;
	height: 100%;
	box-sizing: border-box;
}
.combo-badge {
	display: inline-block;
	background: var(--blue-soft);
	color: var(--blue);
	font-size: 11.5px;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: 999px;
	margin-bottom: 12px;
}
.combo-card .pkg-name-label { margin-bottom: 4px; }
.combo-sub { font-size: 13px; color: var(--gray); margin: 4px 0 16px; }
.combo-card .pkg-price { font-size: 28px; font-weight: 800; color: var(--navy); margin: 0; }

.combo-total {
	background: var(--navy);
	border-color: var(--navy);
	color: var(--white);
	text-align: center;
}
.combo-total .pkg-name-label { color: #c7d0e8; }
.combo-total .combo-sub { color: rgba(255,255,255,.65); }
.combo-was { text-decoration: line-through; color: rgba(255,255,255,.5); font-size: 15px; margin-bottom: 2px; }
.combo-total .pkg-price { color: var(--white); }
.combo-save {
	display: inline-block;
	background: var(--blue);
	color: var(--white);
	font-size: 13px;
	font-weight: 700;
	padding: 6px 16px;
	border-radius: 999px;
	margin: 12px 0 18px;
}
.combo-total .btn { width: 100%; box-sizing: border-box; justify-content: center; }

.combo-feats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2px 24px;
	margin-bottom: 8px;
}

@media (max-width: 900px) {
	.partner-grid { grid-template-columns: 1fr; }
	.combo-grid { grid-template-columns: 1fr; }
	.combo-op { transform: rotate(90deg); padding: 4px 0; }
	.partner-feats, .combo-feats { grid-template-columns: 1fr; }
}
