/* =========================================================================
   Silesia Homes – main.css
   ========================================================================= */

:root {
	--gold: #D4A843;
	--black: #0c0e12;
	--dark: #1A1A1A;
	--ink: #111;
	--muted: #6b7280;
	--white: #fff;
	--green: #4CAF50;
	--teal: #0D9488;
	--orange: #F97316;
	--font: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--max-w: 1200px;
	--pad: 24px;
	--header-h: 72px;
	--radius: 16px;
	--radius-sm: 12px;
	--shadow: 0 4px 14px rgba(0,0,0,.04);
	--speed: .2s;
	--offset: 80px;
}
[id] { scroll-margin-top: var(--offset); }

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0; font-family: var(--font); font-size: 16px;
	line-height: 1.6; color: var(--ink); background: var(--white);
	-webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color var(--speed); }
a:hover { text-decoration: underline; }
button { font-family: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4 { margin: 0 0 .75em; font-weight: 800; line-height: 1.15; letter-spacing: .1px; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 28px; }
h3 { font-size: 1.375rem; }
p { margin: 0 0 1rem; }

/* --- Skip link --- */
.skip-link {
	position: absolute; left: -9999px; top: 0;
	background: var(--gold); color: var(--dark);
	padding: .75rem 1rem; z-index: 9999; font-weight: 700;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* --- Container --- */
.sh-container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad); }

/* --- Buttons --- */
.sh-btn {
	display: inline-block; padding: 18px 44px;
	font: 800 16.5px/1.2 var(--font);
	text-transform: uppercase; letter-spacing: .03em;
	border: 2px solid transparent; border-radius: var(--radius);
	text-decoration: none; text-align: center;
	cursor: pointer; transition: var(--speed);
}
.sh-btn:hover { text-decoration: none; transform: translateY(-1px); }
.sh-btn--gold { background: var(--gold); color: #000; box-shadow: 0 10px 22px rgba(212,168,67,.22); }
.sh-btn--gold:hover { background: #000; color: var(--gold); border-color: var(--gold); box-shadow: 0 12px 26px rgba(212,168,67,.28); }
.sh-btn--teal { background: var(--teal); color: var(--white); box-shadow: 0 8px 20px rgba(13,148,136,.25); }
.sh-btn--teal:hover { background: #0b7a6f; color: var(--white); }
.sh-btn--orange { background: var(--orange); color: var(--white); box-shadow: 0 8px 20px rgba(249,115,22,.25); }
.sh-btn--orange:hover { background: #d65f0c; color: var(--white); }
.sh-btn--lg { padding: 20px 48px; font-size: 17px; }

/* =====================================================================
   HEADER
   ===================================================================== */
.sh-header {
	position: sticky; top: 0; z-index: 100;
	background: var(--dark); min-height: var(--header-h);
	box-shadow: 0 1px 0 rgba(255,255,255,.04);
}
.sh-header__inner {
	display: flex; align-items: center; justify-content: space-between;
	min-height: var(--header-h); gap: 1.5rem;
}
.sh-header__brand {
	font: 800 1.25rem/1 var(--font); letter-spacing: .08em;
	color: var(--gold); text-decoration: none;
}
.sh-header__brand:hover { color: var(--gold); opacity: .9; text-decoration: none; }
.sh-header__nav { display: flex; align-items: center; }
.sh-header__menu { display: flex; align-items: center; gap: 1.75rem; }
.sh-header__menu a {
	position: relative;
	display: inline-block; padding: .5rem 0;
	color: var(--white); font-size: .9375rem; font-weight: 500;
	text-decoration: none;
	transition: color .25s ease;
}
.sh-header__menu a::after {
	content: ''; position: absolute;
	left: 0; right: 0; bottom: -2px;
	height: 3px; width: 100%;
	background: var(--gold); border-radius: 10px;
	transform: scaleX(0); transform-origin: center;
	transition: transform .25s ease, opacity .25s ease;
	opacity: 0;
}
.sh-header__menu a:hover { color: var(--gold); text-decoration: none; }
.sh-header__menu a:hover::after { transform: scaleX(.6); opacity: .6; }
.sh-header__menu a.is-active,
.sh-header__menu .current-menu-item > a.is-active,
.sh-header__menu .current_page_item > a.is-active {
	color: var(--gold); text-decoration: none;
}
.sh-header__menu a.is-active::after { transform: scaleX(1); opacity: 1; }
.sh-header__toggle {
	display: none; flex-direction: column; justify-content: center;
	gap: 5px; width: 40px; height: 40px; padding: 0;
	background: transparent; border: 0;
}
.sh-header__toggle span {
	display: block; width: 24px; height: 2px;
	background: var(--white); margin: 0 auto;
	transition: transform var(--speed), opacity var(--speed);
}

/* =====================================================================
   HEADER — DROPDOWN / SUB-MENU
   ===================================================================== */
.sh-header__menu .menu-item-has-children { position: relative; }

/* Chevron na pozycji-rodzicu (desktop + mobile) */
.sh-header__menu .menu-item-has-children > a { padding-right: 1.2rem; }
.sh-header__menu .menu-item-has-children > a::before {
	content: '';
	position: absolute;
	right: 2px;
	top: 50%;
	width: 7px; height: 7px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	margin-top: -6px;
	transform: rotate(45deg);
	transition: transform .25s ease, margin-top .25s ease, opacity .25s ease;
	opacity: .7;
}
.sh-header__menu .menu-item-has-children:hover > a::before,
.sh-header__menu .menu-item-has-children:focus-within > a::before,
.sh-header__menu .menu-item-has-children.is-open > a::before {
	transform: rotate(-135deg);
	margin-top: -2px;
	opacity: 1;
}

/* DESKTOP: rozwijany panel pod pozycją */
@media (min-width: 769px) {
	.sh-header__menu .sub-menu {
		position: absolute;
		top: calc(100% + 14px);
		left: 50%;
		transform: translateX(-50%) translateY(-8px);
		min-width: 200px;
		background: var(--dark);
		border: 1px solid rgba(255,255,255,.08);
		border-radius: 14px;
		padding: 8px;
		box-shadow: 0 20px 40px rgba(0,0,0,.45), 0 4px 10px rgba(0,0,0,.25);
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transition: opacity .22s ease, transform .22s ease, visibility .22s;
		z-index: 110;
		list-style: none;
		margin: 0;
	}
	.sh-header__menu .sub-menu::before {
		content: '';
		position: absolute;
		top: -6px;
		left: 50%;
		width: 12px; height: 12px;
		background: var(--dark);
		border-left: 1px solid rgba(255,255,255,.08);
		border-top: 1px solid rgba(255,255,255,.08);
		transform: translateX(-50%) rotate(45deg);
	}
	/* Most hovera — żeby kursor nie tracił hovera idąc do panelu */
	.sh-header__menu .menu-item-has-children::after {
		content: '';
		position: absolute;
		top: 100%; left: 0; right: 0;
		height: 14px;
	}
	.sh-header__menu .menu-item-has-children:hover > .sub-menu,
	.sh-header__menu .menu-item-has-children:focus-within > .sub-menu,
	.sh-header__menu .menu-item-has-children.is-open > .sub-menu {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: translateX(-50%) translateY(0);
	}
	.sh-header__menu .sub-menu li { width: 100%; }
	.sh-header__menu .sub-menu a {
		display: block;
		padding: .65rem .95rem;
		border-radius: 10px;
		color: var(--white);
		font-size: .9375rem;
		font-weight: 500;
		white-space: nowrap;
		transition: background .2s ease, color .2s ease, padding-left .2s ease;
	}
	.sh-header__menu .sub-menu a::after { display: none; }
	.sh-header__menu .sub-menu a:hover {
		background: rgba(212,168,67,.12);
		color: var(--gold);
		padding-left: 1.15rem;
	}
	.sh-header__menu .sub-menu .current-menu-item > a,
	.sh-header__menu .sub-menu .current_page_item > a {
		background: rgba(212,168,67,.16);
		color: var(--gold);
	}
}

/* =====================================================================
   SECTIONS
   ===================================================================== */
.sh-section { padding: 80px 0; }
.sh-section--dark { background: var(--black); color: var(--white); }
.sh-section--light { background: linear-gradient(180deg, #fff 0%, #f8f8f9 100%); }
.sh-section--cta { background: var(--white); padding-top: 36px; padding-bottom: 80px; }

.sh-bar { display: block; width: 56px; height: 4px; background: var(--gold); border-radius: 2px; margin-bottom: 16px; }
.sh-bar--center { margin-left: auto; margin-right: auto; }

/* =====================================================================
   HERO — video background
   ===================================================================== */
.sh-hero {
	position: relative; min-height: 100vh; min-height: 100dvh;
	display: flex; align-items: center; overflow: hidden; background: #000;
}
.sh-hero__video {
	position: absolute; inset: 0; width: 100%; height: 100%;
	object-fit: cover; z-index: 0;
}
.sh-hero__overlay {
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.65) 100%);
	z-index: 1;
}
.sh-hero__content {
	position: relative; z-index: 2;
	max-width: 780px; padding: 140px 24px 120px;
}
.sh-hero h1 { color: var(--white); margin-bottom: 20px; }
.sh-hero__lead { color: #e0e0e0; font-size: 18px; line-height: 1.7; max-width: 680px; margin-bottom: 36px; }
.sh-hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; align-items: stretch; }
.sh-phone-short { display: none; }

/* Hero CTA buttons – unified premium look (identical desktop & mobile) */
.sh-hero__ctas .sh-btn {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 18px 34px;
	border-radius: 14px;
	border: none;
	font: 700 16px/1.2 var(--font);
	text-transform: uppercase; letter-spacing: .03em;
	min-height: 56px;
	box-shadow: none;
	transition: background var(--speed) ease, color var(--speed) ease, transform var(--speed) ease, border-color var(--speed) ease;
}
.sh-btn--primary {
	background: #d4a843; color: #111111; border: none;
}
.sh-btn--primary:hover {
	background: #c4972e; color: #111111;
	transform: translateY(-2px);
}
/* Phone CTA in hero – ensure black text on gold background */
.sh-btn--phone { color: #000 !important; }

.sh-btn--ghost {
	background: rgba(255,255,255,.12);
	color: #ffffff;
	border: 1px solid rgba(255,255,255,.22);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}
.sh-btn--ghost:hover {
	background: #ffffff; color: #111111; border-color: #ffffff;
	transform: translateY(-2px);
}

/* Hidden in-page anchor targets (legacy IDs kept for backwards compatibility) */
.sh-legacy-anchor {
	display: block; position: relative; height: 0; width: 0;
	overflow: hidden; visibility: hidden;
}

/* =====================================================================
   KIM JESTEŚMY — premium redesign (#sh-about / .szn-about)
   ===================================================================== */
.szn-about {
	background: #f8f8f8;
}
.szn-about__inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 90px 24px;
}

/* Header */
.szn-about__header {
	text-align: center;
	max-width: 720px;
	margin: 0 auto;
}
.szn-about__bar {
	display: block;
	width: 72px;
	height: 4px;
	background: #d4a843;
	border-radius: 20px;
	margin: 0 auto 20px;
}
.szn-about__title {
	font-size: 52px;
	font-weight: 700;
	line-height: 1.1;
	color: #111111;
	margin: 0 0 16px;
	letter-spacing: -.01em;
}
.szn-about__subtitle {
	font-size: 20px;
	line-height: 1.5;
	color: #555555;
	max-width: 620px;
	margin: 0 auto;
}

/* Grid */
.szn-about__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 30px;
	margin-top: 52px;
}

/* Card */
.szn-about__card {
	background: #ffffff;
	border: 1px solid rgba(0, 0, 0, .05);
	border-radius: 22px;
	padding: 42px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .04);
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.szn-about__card:hover,
.szn-about__card:focus-within {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px rgba(0, 0, 0, .08);
	border-color: rgba(212, 168, 67, .25);
}
.szn-about__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 16px;
	background: rgba(212, 168, 67, .12);
	color: #d4a843;
}
.szn-about__icon svg {
	width: 28px;
	height: 28px;
	display: block;
}
.szn-about__card-title {
	font-size: 28px;
	font-weight: 700;
	line-height: 1.25;
	color: #111111;
	margin: 18px 0 10px;
}
.szn-about__card-text {
	font-size: 17px;
	line-height: 1.7;
	color: #555555;
	margin: 0;
}

/* Premium highlight box */
.szn-about__highlight {
	max-width: 920px;
	margin: 38px auto 0;
	background: linear-gradient(135deg, #0f1115, #171a20);
	border-left: 5px solid #d4a843;
	border-radius: 20px;
	padding: 34px 38px;
	box-shadow: 0 18px 40px rgba(15, 17, 21, .18);
}
.szn-about__highlight-text {
	margin: 0;
	font-size: 22px;
	line-height: 1.6;
	color: #ffffff;
	font-weight: 500;
}
.szn-about__hl {
	color: #d4a843;
	font-weight: 600;
}

/* Reveal on scroll */
.szn-reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity .7s ease, transform .7s ease;
	transition-delay: var(--szn-delay, 0ms);
	will-change: opacity, transform;
}
.szn-reveal.is-visible {
	opacity: 1;
	transform: none;
}
@media (prefers-reduced-motion: reduce) {
	.szn-reveal { opacity: 1; transform: none; transition: none; }
	.szn-about__card { transition: none; }
	.szn-about__card:hover { transform: none; }
}

/* Mobile */
@media (max-width: 768px) {
	.szn-about__inner { padding: 56px 20px; }
	.szn-about__title { font-size: 34px; }
	.szn-about__subtitle { font-size: 17px; }
	.szn-about__grid { grid-template-columns: 1fr; gap: 18px; margin-top: 36px; }
	.szn-about__card { padding: 26px; border-radius: 18px; }
	.szn-about__card-title { font-size: 22px; margin-top: 16px; }
	.szn-about__card-text { font-size: 16px; }
	.szn-about__highlight {
		margin-top: 28px;
		padding: 24px;
		border-radius: 16px;
		border-left-width: 4px;
	}
	.szn-about__highlight-text { font-size: 18px; }
}

/* =====================================================================
   DLACZEGO WARTO — premium card grid with numbers
   ===================================================================== */
.sh-why__head {
	text-align: center;
	margin-bottom: 64px;
}
.sh-why__head h2 {
	margin-bottom: 0;
	font-size: clamp(38px, 5vw, 58px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -.01em;
}
.sh-why__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	background: transparent;
	border: 0;
	border-radius: 0;
	overflow: visible;
}
.sh-why__card {
	padding: 42px;
	background: #ffffff;
	border: 1px solid rgba(0,0,0,.07);
	border-radius: var(--radius);
	transition: transform .25s ease, box-shadow .25s ease;
}
.sh-why__card:hover {
	background: #ffffff;
	transform: translateY(-3px);
	box-shadow: 0 14px 30px rgba(0,0,0,.06);
}
.sh-why__num {
	display: block;
	font-size: 28px;
	font-weight: 700;
	color: var(--gold);
	letter-spacing: .04em;
	margin-bottom: 0;
	line-height: 1;
}
.sh-why__card h4 {
	font-size: 34px;
	margin: 18px 0 16px;
	line-height: 1.2;
	font-weight: 700;
	color: #111;
	letter-spacing: -.005em;
}
.sh-why__card p {
	margin: 0;
	color: #4d4d4d;
	font-size: 21px;
	line-height: 1.6;
	max-width: 90%;
}

/* =====================================================================
   PRICING
   ===================================================================== */
.sh-pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.sh-price-card {
	border-radius: 20px; padding: 48px 40px;
	text-align: center; display: flex; flex-direction: column; align-items: center;
}
.sh-price-card h3 { font-size: 28px; margin-bottom: 8px; }
.sh-price-card__label { color: var(--muted); font-size: 15px; margin: 0 0 12px; }
.sh-price-card__big { font-size: 96px; font-weight: 800; line-height: 1; margin-bottom: 20px; }
.sh-price-card__combo { display: flex; align-items: baseline; gap: 12px; }
.sh-price-card__combo span { font-size: 96px; font-weight: 800; line-height: 1; }
.sh-price-card__combo em { font-size: 24px; font-weight: 800; color: var(--gold); font-style: normal; }
.sh-price-card__desc { font-size: 15px; line-height: 1.65; max-width: 420px; margin-bottom: 28px; }
.sh-price-card--white {
	background: var(--white); border: 1px solid #eef1f5;
	box-shadow: 0 12px 32px rgba(0,0,0,.05); color: var(--ink);
}
.sh-price-card--black {
	background: var(--black); color: var(--white); border: 1px solid #1e2230;
}
.sh-price-card--black .sh-price-card__label { color: #aaa; }
.sh-price-card--black .sh-price-card__desc { color: #ccc; }

/* =====================================================================
   CONTACT
   ===================================================================== */
.sh-contact__title { text-align: center; color: var(--gold); font-size: 2rem; margin-bottom: 48px; }
.sh-contact__info { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; text-align: center; margin-bottom: 56px; }
.sh-contact__info p { margin: 4px 0; font-size: 16px; }

.sh-form__row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; margin-bottom: 20px; }
.sh-form__row--end { grid-template-columns: 1fr 1.5fr auto; align-items: end; }
.sh-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: #999; }
.sh-form input, .sh-form textarea {
	background: transparent; border: none; border-bottom: 1px solid #444;
	color: var(--white); padding: 12px 0; font-size: 16px;
	font-family: inherit; outline: none; width: 100%;
	transition: border-color var(--speed);
}
.sh-form input::placeholder, .sh-form textarea::placeholder { color: #666; }
.sh-form input:focus, .sh-form textarea:focus { border-color: var(--gold); }
.sh-form textarea { resize: vertical; min-height: 40px; }
.sh-form .sh-btn { padding: 16px 48px; white-space: nowrap; align-self: end; margin-bottom: 2px; border: 2px solid transparent; }

/* =====================================================================
   HERO — subpage (image bg + form)
   ===================================================================== */
.sh-hero--page { min-height: auto; padding: 0; }
.sh-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.sh-hero--page__grid {
	position: relative; z-index: 2;
	display: grid; grid-template-columns: 1.15fr .85fr;
	gap: 36px; align-items: center;
	min-height: 78vh; padding: 48px 24px;
}
.sh-hero--page__text h1 { color: var(--white); font-size: clamp(32px, 4.5vw, 48px); }
.sh-hero--page__text .sh-hero__lead { margin-bottom: 16px; }

.sh-bullets { padding: 0; margin: 10px 0 22px; color: var(--white); }
.sh-bullets li {
	margin: 10px 0; padding: 12px 16px 12px 56px;
	background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
	border-radius: var(--radius-sm); position: relative;
}
.sh-bullets li::before {
	content: ""; position: absolute; left: 16px; top: 50%;
	width: 28px; height: 28px; transform: translateY(-50%);
	border-radius: 50%; background: var(--gold);
	box-shadow: 0 4px 10px rgba(212,168,67,.35);
}
.sh-bullets li::after {
	content: "✓"; position: absolute; left: 16px; top: 50%;
	width: 28px; height: 28px; transform: translateY(-50%);
	display: flex; align-items: center; justify-content: center;
	color: #000; font-weight: 900;
}

.sh-kpis { display: flex; gap: 18px; flex-wrap: wrap; }
.sh-kpi {
	background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15);
	backdrop-filter: blur(2px); border-radius: var(--radius-sm);
	padding: 16px 20px; color: var(--white);
}
.sh-kpi span { display: block; font-size: 28px; font-weight: 800; line-height: 1; }
.sh-kpi small { color: #cfcfcf; }

.sh-lead-form {
	background: var(--white); border-radius: var(--radius);
	box-shadow: 0 10px 26px rgba(0,0,0,.18); padding: 22px; color: var(--ink);
}
.sh-lead-form h3 { margin: 0 0 12px; font-size: 20px; }
.sh-lead-form label { display: block; font-size: 14px; margin: 10px 0; color: var(--ink); }
.sh-lead-form input, .sh-lead-form select, .sh-lead-form textarea {
	width: 100%; padding: 12px 14px;
	border: 1px solid #e5e7eb; border-radius: 10px;
	background: var(--white); outline: none; font-family: inherit; font-size: 15px;
	transition: border-color var(--speed), box-shadow var(--speed);
}
.sh-lead-form input:focus, .sh-lead-form select:focus, .sh-lead-form textarea:focus {
	border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,168,67,.25);
}
.sh-legal { font-size: 12px; color: var(--muted); margin-top: 8px; }

/* =====================================================================
   STEPS (subpages)
   ===================================================================== */
.sh-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.sh-step {
	background: #12141a; border: 1px solid #1e2230;
	border-radius: var(--radius); padding: 22px;
}
.sh-step span {
	width: 36px; height: 36px; border-radius: 10px;
	background: var(--gold); color: #000;
	display: inline-flex; align-items: center; justify-content: center;
	font-weight: 800; margin-right: 10px;
	box-shadow: 0 4px 10px rgba(212,168,67,.35);
}
.sh-step b { display: inline-block; margin-left: 8px; font-weight: 800; }
.sh-step p { margin-top: 10px; }

/* =====================================================================
   CARDS (subpages)
   ===================================================================== */
.sh-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.sh-card {
	background: var(--white); border-radius: 18px;
	box-shadow: 0 18px 32px rgba(16,24,40,.06);
	padding: 24px 22px; border: 1px solid #eef1f5;
	transition: transform var(--speed), box-shadow var(--speed);
}
.sh-card h4 { font-size: 22px; line-height: 1.2; margin-bottom: 10px; }
.sh-card p { margin: 0; color: #3b3f46; }
.sh-card:hover { transform: translateY(-3px); box-shadow: 0 22px 36px rgba(16,24,40,.08); }

.sh-cta-box {
	background: #0f1116; color: var(--white);
	border-radius: 18px; padding: 26px 28px;
	display: flex; gap: 22px; align-items: center;
	justify-content: space-between; border: 1px solid #1f2433;
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.sh-footer { background: #111; color: #ccc; padding: 72px 0 0; }
.sh-footer__grid { display: grid; grid-template-columns: 1.3fr .8fr .8fr 1.1fr; gap: 40px; }
.sh-footer__col p { margin: 4px 0; font-size: 14px; line-height: 1.6; }
.sh-footer__col h4 { color: var(--white); font-size: 18px; margin: 0 0 16px; }
.sh-footer__col ul li { margin: 8px 0; }
.sh-footer__col a { color: #ccc; text-decoration: none; font-size: 14px; transition: color var(--speed); }
.sh-footer__col a:hover { color: var(--gold); text-decoration: none; }
.sh-footer__brand {
	display: block; font: 800 22px/1 var(--font);
	color: var(--gold); text-decoration: none; margin-bottom: 14px;
}
.sh-footer__brand:hover { color: var(--gold); text-decoration: none; }
.sh-footer__cta { display: flex; flex-direction: column; gap: 14px; }
.sh-footer__cta .sh-btn { padding: 14px 28px; font-size: 15px; }
.sh-footer__call { color: var(--gold); text-decoration: none; font-weight: 700; font-size: 15px; }
.sh-footer__call:hover { text-decoration: underline; }
.sh-footer__bottom { margin-top: 48px; border-top: 1px solid #222; padding: 20px 0; }
.sh-footer__bottom-inner {
	display: flex; justify-content: space-between; align-items: center;
	font-size: 13px; color: #777;
}
.sh-footer__bottom-inner a { color: #777; text-decoration: none; margin-left: 20px; transition: color var(--speed); }
.sh-footer__bottom-inner a:hover { color: var(--gold); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1024px) {
	.sh-hero--page__grid { grid-template-columns: 1fr; min-height: unset; padding-top: 72px; padding-bottom: 36px; }
	.sh-steps, .sh-cards { grid-template-columns: 1fr 1fr; }
	.sh-why__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
	.sh-header__toggle { display: inline-flex; }
	.sh-header__nav {
		position: absolute; top: var(--header-h); left: 0; right: 0;
		background: var(--dark); max-height: 0; overflow: hidden;
		transition: max-height .3s ease;
	}
	.sh-header__nav.is-open { max-height: 80vh; border-top: 1px solid rgba(255,255,255,.08); }
	.sh-header__menu { flex-direction: column; align-items: stretch; gap: 0; padding: 1rem 0; }
	.sh-header__menu li { width: 100%; }
	.sh-header__menu a { display: block; padding: .875rem var(--pad); border-bottom: 0; }
	.sh-header__menu a::after { display: none; }
	.sh-header__menu a.is-active { background: rgba(212,168,67,.08); }
	.sh-header__menu a:hover { background: rgba(255,255,255,.04); }

	/* Dropdown na mobile — rozwijana lista wewnątrz menu hamburgera */
	.sh-header__menu .menu-item-has-children > a {
		padding-right: calc(var(--pad) + 1.5rem);
	}
	.sh-header__menu .menu-item-has-children > a::before {
		right: var(--pad);
		width: 8px; height: 8px;
		margin-top: -7px;
	}
	/* Twarde ukrycie — niezależne od overflow/max-height */
	.sh-header__menu .sub-menu {
		display: none;
		background: rgba(0,0,0,.28);
		list-style: none;
		margin: 0;
		padding: 0;
	}
	.sh-header__menu .menu-item-has-children.is-open > .sub-menu {
		display: block;
		animation: shSubMenuIn .25s ease both;
	}
	@keyframes shSubMenuIn {
		from { opacity: 0; transform: translateY(-6px); }
		to   { opacity: 1; transform: translateY(0); }
	}
	.sh-header__menu .sub-menu a {
		padding: .8rem var(--pad) .8rem calc(var(--pad) + 1.5rem);
		font-size: .95rem;
		color: rgba(255,255,255,.85);
		border-top: 1px solid rgba(255,255,255,.04);
		position: relative;
	}
	.sh-header__menu .sub-menu a::before {
		content: '';
		position: absolute;
		left: var(--pad);
		top: 50%;
		width: 6px; height: 6px;
		border-radius: 50%;
		background: var(--gold);
		opacity: .5;
		transform: translateY(-50%);
	}
	.sh-header__menu .sub-menu a:hover,
	.sh-header__menu .sub-menu .current-menu-item > a,
	.sh-header__menu .sub-menu .current_page_item > a {
		background: rgba(212,168,67,.10);
		color: var(--gold);
	}
	.sh-header__menu .sub-menu a:hover::before,
	.sh-header__menu .sub-menu .current-menu-item > a::before {
		opacity: 1;
	}

	.sh-hero__content { padding: 100px 20px 80px; }
	.sh-hero h1 { font-size: 32px; }
	.sh-hero__lead { font-size: 16px; }
	.sh-hero__ctas { flex-direction: column; }
	.sh-phone-full { display: none; }
	.sh-phone-short { display: inline; }
	.sh-hero__ctas .sh-btn { width: 100%; }

	.sh-section { padding: 56px 0; }
	.sh-why__head { margin-bottom: 40px; }
	.sh-why__grid { grid-template-columns: 1fr; gap: 14px; }
	.sh-why__card { padding: 24px; }
	.sh-why__card h4 { font-size: 24px; }
	.sh-why__card p { font-size: 17px; max-width: 100%; }
	.sh-pricing { grid-template-columns: 1fr; gap: 24px; }
	.sh-price-card__big, .sh-price-card__combo span { font-size: 72px; }
	.sh-price-card { padding: 36px 24px; }

	.sh-contact__info { grid-template-columns: 1fr; gap: 20px; }
	.sh-form__row, .sh-form__row--end { grid-template-columns: 1fr; }
	.sh-form .sh-btn { width: 100%; }

	.sh-steps, .sh-cards { grid-template-columns: 1fr; }
	.sh-cta-box { flex-direction: column; align-items: flex-start; }

	.sh-footer__grid { grid-template-columns: 1fr; gap: 28px; }
	.sh-footer__bottom-inner { flex-direction: column; gap: 10px; text-align: center; }
	.sh-footer__bottom-inner a { margin: 0 8px; }
}

/* =====================================================================
   TOUCH DEVICES — neutralize :hover states
   ---------------------------------------------------------------------
   iOS Safari (and Android) keep the :hover state "stuck" on a tapped
   element until the user taps somewhere else. When the OS shows a system
   dialog (e.g. tel: auto-dial prompt) the hover stays applied to the
   button, which on .sh-btn--gold means BLACK background — the "czarny
   pasek" effect after tapping "Zadzwoń". Disable hover transforms on
   any pointer that can't truly hover.
   ===================================================================== */
@media (hover: none) {
	.sh-btn:hover { transform: none; }
	.sh-btn--gold:hover {
		background: var(--gold); color: #000; border-color: transparent;
		box-shadow: 0 10px 22px rgba(212,168,67,.22);
	}
	.sh-btn--teal:hover {
		background: var(--teal); color: var(--white);
		box-shadow: 0 8px 20px rgba(13,148,136,.25);
	}
	.sh-btn--orange:hover {
		background: var(--orange); color: var(--white);
		box-shadow: 0 8px 20px rgba(249,115,22,.25);
	}
	.sh-btn--primary:hover {
		background: #d4a843; color: #111111; transform: none;
	}
	.sh-btn--ghost:hover {
		background: rgba(255,255,255,.12); color: #ffffff;
		border-color: rgba(255,255,255,.22); transform: none;
	}
	.sh-header__menu a:hover { background: transparent; }
	.sh-footer__bottom-inner a:hover { color: #777; }
}
