/* =========================
   TYPOGRAFIA GLOBALNA
   Projekt Stara Cegielnia
========================= */
:root {
	--gscw-font-serif: "Lora", Georgia, "Times New Roman", serif;
	--gscw-font-sans: "Montserrat", Arial, sans-serif;
}

/* Neutralny sans do treści i UI */
body {
	font-family: var(--gscw-font-sans);
}

/* Klasyczne nagłówki jak w projekcie */
h1,
h2,
h3,
h4,
h5,
h6,
.elementor-heading-title {
	font-family: var(--gscw-font-serif);
	font-weight: 400;
}

/* Widgety wtyczki zawsze trzymają ustaloną typografię */
.gscw-header,
.gscw-hero,
.gscw-footer {
	font-family: var(--gscw-font-sans);
}

.gscw-hero__title {
	font-family: var(--gscw-font-serif);
}

/**
 * Grochalski – Stara Cegielnia Widgets
 * Etap 1: Hero + statystyki
 */

.gscw-hero,
.gscw-hero * {
	box-sizing: border-box;
}

.gscw-shell {
	width: min(1180px, calc(100% - 48px));
	margin-inline: auto;
}

.gscw-hero {
	position: relative;
	background: #f4f1ed;
}

.gscw-hero__media {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 620px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	overflow: hidden;
}

.gscw-hero__overlay {
	position: absolute;
	inset: 0;
	background: #000;
	opacity: 48%;
	pointer-events: none;
}

.gscw-hero__inner {
	position: relative;
	z-index: 2;
	padding-top: 110px;
	padding-bottom: 150px;
}

.gscw-hero__content {
	max-width: 640px;
}

.gscw-hero__title {
	margin: 0 0 22px;
	font-family: var(--gscw-font-serif);
	font-size: clamp(44px, 5.3vw, 76px);
	font-weight: 400;
	line-height: 1.02;
	letter-spacing: -0.035em;
	text-wrap: balance;
}

.gscw-hero__description {
	margin-bottom: 28px;
	font-size: 17px;
	line-height: 1.6;
}

.gscw-hero__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 13px 22px;
	border: 1px solid transparent;
	border-radius: 3px;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .055em;
	line-height: 1;
	text-decoration: none;
	transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.gscw-hero__button:hover {
	color: #fff;
	background: transparent !important;
	transform: translateY(-1px);
}

.gscw-stats-wrap {
	position: relative;
	z-index: 5;
	margin-top: -62px;
	padding-bottom: 58px;
}

.gscw-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border-radius: 10px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, .12);
	overflow: hidden;
}

.gscw-stat {
	position: relative;
	display: grid;
	grid-template-columns: 46px 1fr;
	gap: 16px;
	align-items: start;
	min-height: 150px;
	padding: 30px 25px;
	color: #fff;
}

.gscw-stat:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 27px;
	right: 0;
	bottom: 27px;
	width: 1px;
	background: rgba(255, 255, 255, .10);
}

.gscw-stat__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 31px;
	line-height: 1;
}

.gscw-stat__icon svg {
	width: 32px;
	height: 32px;
	fill: currentColor;
}

.gscw-stat__headline {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	column-gap: 7px;
	row-gap: 2px;
}

.gscw-stat__value {
	font-family: var(--gscw-font-serif);
	font-size: 27px;
	font-weight: 400;
	line-height: 1;
}

.gscw-stat__label {
	font-size: 10px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: .045em;
}

.gscw-stat__note {
	margin-top: 10px;
	max-width: 155px;
	color: rgba(255, 255, 255, .64);
	font-size: 10px;
	line-height: 1.4;
}

@media (max-width: 1024px) {
	.gscw-shell {
		width: min(100% - 36px, 920px);
	}

	.gscw-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.gscw-stat:nth-child(2)::after {
		display: none;
	}

	.gscw-stat:nth-child(-n+2) {
		border-bottom: 1px solid rgba(255, 255, 255, .10);
	}
}

@media (max-width: 767px) {
	.gscw-shell {
		width: min(100% - 28px, 620px);
	}

	.gscw-hero__media {
		min-height: 610px;
		align-items: flex-end;
	}

	.gscw-hero__inner {
		padding-top: 130px;
		padding-bottom: 110px;
	}

	.gscw-hero__title {
		font-size: clamp(40px, 12vw, 58px);
	}

	.gscw-hero__description {
		font-size: 15px;
	}

	.gscw-stats-wrap {
		margin-top: -50px;
		padding-bottom: 38px;
	}

	.gscw-stats {
		grid-template-columns: 1fr;
	}

	.gscw-stat {
		min-height: auto;
		padding: 23px 22px;
	}

	.gscw-stat:not(:last-child)::after {
		top: auto;
		left: 22px;
		right: 22px;
		bottom: 0;
		width: auto;
		height: 1px;
	}

	.gscw-stat:nth-child(-n+2) {
		border-bottom: 0;
	}
}


/* =========================
   HEADER — zgodny z projektem
========================= */
.gscw-header,
.gscw-header * {
	box-sizing: border-box;
}

.gscw-header {
	position: relative;
	z-index: 100;
	width: 100%;
	background: #14191f;
	font-family: var(--gscw-font-sans);
}

.gscw-header--overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	background: transparent;
}

.gscw-header--sticky {
	position: sticky;
	top: 0;
}

.gscw-header--overlay.gscw-header--sticky {
	position: fixed;
}

.gscw-header__inner {
	display: grid;
	grid-template-columns: 106px minmax(0, 1fr) auto;
	align-items: start;
	gap: 30px;
	min-height: 84px;
}

.gscw-header__brand {
	position: relative;
	z-index: 3;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	text-decoration: none;
}

.gscw-header__brand img {
	display: block;
	width: 104px;
	max-width: 100%;
	height: auto;
	max-height: 92px;
	object-fit: contain;
	object-position: top center;
}

.gscw-header__brand span {
	display: block;
	padding-top: 20px;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
}

.gscw-header__nav {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	padding-top: 24px;
}

.gscw-header__menu {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 27px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gscw-header__menu > li {
	position: relative;
	margin: 0;
	padding: 0;
}

.gscw-header__menu > li > a {
	position: relative;
	display: block;
	padding: 8px 0 17px;
	color: #fff;
	font-family: var(--gscw-font-sans);
	font-size: 9px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: .025em;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
	transition: color .2s ease;
}

.gscw-header__menu > li > a:hover,
.gscw-header__menu > .current-menu-item > a {
	color: #c7925f;
}

.gscw-header__menu > li > a::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 8px;
	width: 0;
	height: 1px;
	background: currentColor;
	transform: translateX(-50%);
	transition: width .2s ease;
}

.gscw-header__menu > li > a:hover::after,
.gscw-header__menu > .current-menu-item > a::after {
	width: 100%;
}

.gscw-header__menu .sub-menu {
	display: none;
	position: absolute;
	top: calc(100% - 4px);
	left: -18px;
	z-index: 20;
	min-width: 210px;
	margin: 0;
	padding: 9px 0;
	list-style: none;
	background: rgba(18, 23, 29, .97);
	box-shadow: 0 16px 38px rgba(0, 0, 0, .22);
}

.gscw-header__menu li:hover > .sub-menu {
	display: block;
}

.gscw-header__menu .sub-menu a {
	display: block;
	padding: 10px 18px;
	color: #fff;
	font-size: 10px;
	line-height: 1.35;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}

.gscw-header__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 145px;
	min-height: 34px;
	margin-top: 18px;
	padding: 9px 14px;
	border-radius: 8px;
	background: #c7925f;
	color: #fff !important;
	font-family: var(--gscw-font-sans);
	font-size: 9px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: .02em;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
	transition: transform .2s ease, filter .2s ease;
}

.gscw-header__cta:hover {
	color: #fff !important;
	filter: brightness(1.06);
	transform: translateY(-1px);
}

.gscw-header__cta-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 17px;
	height: 17px;
}

.gscw-header__cta-icon svg {
	display: block;
	width: 17px;
	height: 17px;
}

.gscw-header__toggle {
	display: none;
	align-self: center;
	width: 42px;
	height: 42px;
	margin: 0;
	padding: 9px;
	border: 0;
	background: transparent;
	color: #fff;
	cursor: pointer;
}

.gscw-header__toggle span {
	display: block;
	width: 100%;
	height: 2px;
	margin: 5px 0;
	background: currentColor;
	transition: transform .2s ease, opacity .2s ease;
}

/* Tablet */
@media (max-width: 1050px) {
	.gscw-header__inner {
		grid-template-columns: 92px minmax(0, 1fr) auto;
		gap: 18px;
	}

	.gscw-header__brand img {
		width: 90px;
	}

	.gscw-header__menu {
		gap: 16px;
	}

	.gscw-header__menu > li > a {
		font-size: 8px;
	}

	.gscw-header__cta {
		min-width: 130px;
		padding-left: 11px;
		padding-right: 11px;
		font-size: 8px;
	}
}

/* Mobile */
@media (max-width: 767px) {
	.gscw-header {
		background: rgba(17, 22, 28, .96);
	}

	.gscw-header--overlay {
		background: linear-gradient(to bottom, rgba(8, 12, 16, .82) 0%, rgba(8, 12, 16, .36) 72%, rgba(8, 12, 16, 0) 100%);
	}

	.gscw-header__inner {
		grid-template-columns: 82px 1fr auto;
		align-items: start;
		gap: 14px;
		min-height: 76px;
	}

	.gscw-header__brand img {
		width: 80px;
		max-height: 74px;
	}

	.gscw-header__toggle {
		display: block;
		grid-column: 3;
		grid-row: 1;
		margin-top: 13px;
	}

	.gscw-header.is-open .gscw-header__toggle span:nth-child(1) {
		transform: translateY(7px) rotate(45deg);
	}

	.gscw-header.is-open .gscw-header__toggle span:nth-child(2) {
		opacity: 0;
	}

	.gscw-header.is-open .gscw-header__toggle span:nth-child(3) {
		transform: translateY(-7px) rotate(-45deg);
	}

	.gscw-header__nav {
		display: none;
		grid-column: 1 / -1;
		grid-row: 2;
		justify-content: stretch;
		margin: 0 -14px;
		padding: 18px 14px 24px;
		background: rgba(17, 22, 28, .98);
	}

	.gscw-header.is-open .gscw-header__nav {
		display: block;
	}

	.gscw-header__menu {
		display: block;
	}

	.gscw-header__menu > li > a {
		padding: 12px 0;
		font-size: 11px;
	}

	.gscw-header__menu > li > a::after {
		display: none;
	}

	.gscw-header__menu .sub-menu {
		display: block;
		position: static;
		min-width: 0;
		padding: 0 0 0 16px;
		background: transparent;
		box-shadow: none;
	}

	.gscw-header__cta {
		display: none;
	}
}

/* =========================
   FOOTER
========================= */
.gscw-footer,
.gscw-footer * {
	box-sizing: border-box;
}

.gscw-footer {
	padding-top: 76px;
	background: #f4f4f3;
	color: #4b4d50;
}

.gscw-footer a {
	color: inherit;
}

.gscw-footer__grid {
	display: grid;
	grid-template-columns: 280px 315px minmax(0, 1fr);
	gap: 0;
	align-items: stretch;
	padding-bottom: 80px;
}

.gscw-footer__brand,
.gscw-footer__contact,
.gscw-footer__form {
	min-width: 0;
}

.gscw-footer__brand {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	padding: 5px 55px 0 0;
	text-align: center;
}

.gscw-footer__logo {
	display: block;
	width: 118px;
	height: 118px;
	margin: 0 auto 17px;
	object-fit: contain;
}

.gscw-footer__brand p {
	margin: 0;
	font-size: 14px;
	font-weight: 400;
	line-height: 2.05;
}

.gscw-footer__social {
	display: flex;
	justify-content: center;
	gap: 16px;
	margin-top: 15px;
}

.gscw-footer__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 2px solid #c69460;
	border-radius: 50%;
	color: #c69460;
	text-decoration: none;
	transition: opacity .2s ease, transform .2s ease;
}

.gscw-footer__social a:hover {
	opacity: .75;
	transform: translateY(-1px);
}

.gscw-footer__social svg {
	width: 22px;
	height: 22px;
}

.gscw-footer__contact {
	padding: 0 54px 0 63px;
	border-left: 1px solid #dedede;
	border-right: 1px solid #dedede;
}

.gscw-footer__eyebrow {
	margin: 0 0 25px;
	color: #c69460;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: .03em;
}

.gscw-footer__contact-row {
	display: grid;
	grid-template-columns: 24px minmax(0, 1fr);
	gap: 14px;
	align-items: start;
	margin-bottom: 20px;
	font-size: 14px;
	line-height: 1.65;
}

.gscw-footer__contact-row a {
	text-decoration: none;
}

.gscw-footer__contact-row--hours {
	margin-bottom: 0;
}

.gscw-footer__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	color: #c69460;
}

.gscw-footer__icon svg {
	width: 22px;
	height: 22px;
}

.gscw-footer__form {
	padding-left: 62px;
}

.gscw-footer__form .wpcf7 {
	margin: 0;
}

.gscw-footer__form .wpcf7-form,
.gscw-footer__form form {
	margin: 0;
}

.gscw-footer__form .gscw-form-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px;
}

.gscw-footer__form p {
	margin: 0 0 16px;
}

.gscw-footer__form .wpcf7-form-control-wrap {
	display: block;
	width: 100%;
}

.gscw-footer__form input:not([type="submit"]),
.gscw-footer__form textarea,
.gscw-footer__form select {
	display: block;
	width: 100%;
	min-height: 42px;
	margin: 0;
	padding: 8px 0 10px;
	border: 0;
	border-bottom: 1px solid #dcdcdc;
	border-radius: 0;
	outline: 0;
	background: transparent;
	color: #4b4d50;
	box-shadow: none;
	font-family: inherit;
	font-size: 14px;
	line-height: 1.4;
}

.gscw-footer__form textarea {
	min-height: 56px;
	height: 56px;
	resize: none;
}

.gscw-footer__form input::placeholder,
.gscw-footer__form textarea::placeholder {
	color: #4b4d50;
	opacity: 1;
}

.gscw-footer__form input:focus,
.gscw-footer__form textarea:focus,
.gscw-footer__form select:focus {
	border-bottom-color: #b9b9b9;
}

.gscw-footer__form input[type="submit"],
.gscw-footer__form button[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 276px;
	max-width: 100%;
	min-height: 44px;
	margin-top: 10px;
	padding: 12px 24px;
	border: 0;
	border-radius: 7px;
	background: #c69460;
	color: #fff;
	box-shadow: none;
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .01em;
	cursor: pointer;
}

.gscw-footer__form .wpcf7-spinner {
	vertical-align: middle;
}

.gscw-footer__form .wpcf7-response-output {
	margin: 14px 0 0 !important;
	padding: 10px 12px !important;
	font-size: 12px;
}

.gscw-footer__form-placeholder {
	padding: 18px 0;
	border-top: 1px dashed #ccc;
	border-bottom: 1px dashed #ccc;
	font-size: 12px;
}

.gscw-footer__bottom {
	border-top: 1px solid #dedede;
}

.gscw-footer__bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	min-height: 72px;
	padding-top: 18px;
	padding-bottom: 18px;
	font-size: 11px;
	line-height: 1.5;
}

.gscw-footer__bottom a {
	text-decoration: none;
}

@media (max-width: 1100px) {
	.gscw-footer__grid {
		grid-template-columns: 240px 285px minmax(0, 1fr);
	}

	.gscw-footer__brand {
		padding-right: 38px;
	}

	.gscw-footer__contact {
		padding-left: 40px;
		padding-right: 40px;
	}

	.gscw-footer__form {
		padding-left: 40px;
	}
}

@media (max-width: 900px) {
	.gscw-footer {
		padding-top: 56px;
	}

	.gscw-footer__grid {
		grid-template-columns: 1fr 1fr;
		gap: 0;
		padding-bottom: 55px;
	}

	.gscw-footer__brand {
		padding: 0 34px 36px 0;
	}

	.gscw-footer__contact {
		padding: 0 0 36px 38px;
		border-right: 0;
	}

	.gscw-footer__form {
		grid-column: 1 / -1;
		padding: 38px 0 0;
		border-top: 1px solid #dedede;
	}
}

@media (max-width: 767px) {
	.gscw-footer {
		padding-top: 44px;
	}

	.gscw-footer__grid {
		grid-template-columns: 1fr;
		padding-bottom: 40px;
	}

	.gscw-footer__brand {
		padding: 0 0 34px;
		text-align: center;
	}

	.gscw-footer__brand p {
		line-height: 1.8;
	}

	.gscw-footer__contact {
		padding: 34px 0;
		border-top: 1px solid #dedede;
		border-left: 0;
		border-right: 0;
	}

	.gscw-footer__form {
		grid-column: auto;
		padding-top: 34px;
	}

	.gscw-footer__form .gscw-form-row {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.gscw-footer__form input[type="submit"],
	.gscw-footer__form button[type="submit"] {
		width: 100%;
	}

	.gscw-footer__bottom-inner {
		flex-direction: column;
		align-items: flex-start;
		justify-content: center;
		gap: 7px;
		min-height: 86px;
	}
}


.gscw-header__menu a,
.gscw-header__cta,
.gscw-footer,
.gscw-footer input,
.gscw-footer textarea,
.gscw-footer button {
	font-family: var(--gscw-font-sans);
}

.gscw-footer__eyebrow,
.gscw-stat__label,
.gscw-hero__button {
	font-family: var(--gscw-font-sans);
}

.gscw-stat__value {
	font-family: var(--gscw-font-serif);
}
