/* ==========================================================================
   GuitarTech Blocks - style wzorcow
   Zmienne dopasuj do palety GeneratePress (Customizer > Colors).
   ========================================================================== */

:root {
	--gt-accent: #c0392b;
	--gt-accent-dark: #96291d;
	--gt-ink: #1c1c1e;
	--gt-muted: #6b6b70;
	--gt-line: #e3e3e6;
	--gt-alt-bg: #f6f6f4;
	--gt-radius: 10px;
	--gt-section-y: 80px;
	--gt-section-y-mobile: 48px;
}

/* --- Sekcje ------------------------------------------------------------- */

.gt-section {
	padding-block: var(--gt-section-y);
}

.gt-section--alt {
	background-color: var(--gt-alt-bg);
}

.gt-h2 {
	margin-bottom: 0.4em;
	font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.3rem);
	line-height: 1.2;
}

.gt-section__lead {
	max-width: 60ch;
	margin-bottom: 2.5rem;
	color: var(--gt-muted);
}

/* --- Hero --------------------------------------------------------------- */

.gt-hero__title {
	font-size: clamp(2rem, 1.2rem + 2.6vw, 3.1rem);
	line-height: 1.12;
	margin-bottom: 0.5em;
}

.gt-lead {
	font-size: 1.15rem;
	line-height: 1.6;
	color: var(--gt-muted);
	max-width: 52ch;
}

.gt-hero__meta {
	margin-top: 1.5rem;
	font-size: 0.9rem;
	color: var(--gt-muted);
}

.gt-hero__image img {
	border-radius: var(--gt-radius);
	width: 100%;
	height: auto;
}

/* --- Przyciski ---------------------------------------------------------- */

.gt-cta-row {
	gap: 0.75rem;
	margin-top: 1.75rem;
}

.gt-btn-primary .wp-block-button__link {
	background-color: var(--gt-accent);
	color: #fff;
	border-radius: 6px;
	padding: 0.9em 1.6em;
	font-weight: 600;
}

.gt-btn-primary .wp-block-button__link:hover,
.gt-btn-primary .wp-block-button__link:focus-visible {
	background-color: var(--gt-accent-dark);
	color: #fff;
}

.gt-btn-secondary .wp-block-button__link {
	border: 2px solid var(--gt-ink);
	color: var(--gt-ink);
	border-radius: 6px;
	padding: 0.85em 1.6em;
	font-weight: 600;
}

.gt-btn-secondary .wp-block-button__link:hover,
.gt-btn-secondary .wp-block-button__link:focus-visible {
	background-color: var(--gt-ink);
	color: #fff;
}

/* --- Pasek zaufania ----------------------------------------------------- */

.gt-trust__item {
	margin: 0;
	line-height: 1.5;
	font-size: 0.95rem;
}

.gt-trust__item strong {
	display: block;
	font-size: 1.05rem;
	margin-bottom: 0.2rem;
}

/* --- Problemy ----------------------------------------------------------- */

.gt-problem {
	margin: 0;
	padding: 1.1rem 1.25rem;
	border-left: 3px solid var(--gt-accent);
	background: #fff;
	border-radius: 0 var(--gt-radius) var(--gt-radius) 0;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
	line-height: 1.5;
}

/* --- Karty uslug -------------------------------------------------------- */

.gt-card {
	background: #fff;
	border: 1px solid var(--gt-line);
	border-radius: var(--gt-radius);
	padding: 1.6rem;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.gt-card:hover,
.gt-card:focus-within {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09);
}

.gt-card__title {
	font-size: 1.2rem;
	margin: 0 0 0.5rem;
}

.gt-card__title a {
	text-decoration: none;
	color: var(--gt-ink);
}

.gt-card__title a:hover {
	color: var(--gt-accent);
}

.gt-card__price {
	margin: 1rem 0 0;
	font-weight: 700;
	color: var(--gt-accent);
}

.gt-card--sm {
	padding: 1.1rem;
	font-size: 0.95rem;
}

/* --- Tabela cennika ----------------------------------------------------- */

.gt-table table {
	border-collapse: collapse;
	width: 100%;
}

.gt-table th,
.gt-table td {
	padding: 0.85rem 1rem;
	border-bottom: 1px solid var(--gt-line);
	text-align: left;
}

.gt-table thead th {
	background: var(--gt-alt-bg);
	font-weight: 700;
}

.gt-table td:last-child {
	font-weight: 700;
	white-space: nowrap;
}

/* --- Proces ------------------------------------------------------------- */

.gt-step__num {
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--gt-accent);
	color: #fff;
	font-weight: 700;
	margin: 0 0 0.75rem;
}

.gt-step h3 {
	font-size: 1.1rem;
	margin: 0 0 0.4rem;
}

/* --- Opinie ------------------------------------------------------------- */

.gt-review {
	background: var(--gt-alt-bg);
	border-radius: var(--gt-radius);
	padding: 1.5rem;
}

.gt-review__stars {
	color: #f0a500;
	letter-spacing: 2px;
	margin: 0 0 0.6rem;
}

.gt-review__author {
	margin: 0.8rem 0 0;
	font-size: 0.9rem;
	color: var(--gt-muted);
}

.gt-reviews__summary {
	margin-top: 2rem;
}

/* --- Baner -------------------------------------------------------------- */

.gt-banner {
	background: var(--gt-ink);
	color: #fff;
	border-radius: var(--gt-radius);
	text-align: center;
	padding: 3rem 1.5rem;
}

.gt-banner__title {
	color: #fff;
	margin-bottom: 0.5rem;
}

/* --- FAQ ---------------------------------------------------------------- */

.gt-faq .wp-block-details {
	background: #fff;
	border: 1px solid var(--gt-line);
	border-radius: var(--gt-radius);
	padding: 1rem 1.25rem;
	margin-bottom: 0.75rem;
}

.gt-faq summary {
	cursor: pointer;
	font-weight: 600;
	list-style: none;
}

.gt-faq summary::-webkit-details-marker {
	display: none;
}

.gt-faq summary::after {
	content: "+";
	float: right;
	font-weight: 400;
	font-size: 1.4rem;
	line-height: 1;
	color: var(--gt-accent);
}

.gt-faq details[open] summary::after {
	content: "\2212";
}

/* --- Karta faktow (landing) --------------------------------------------- */

.gt-factbox {
	background: #fff;
	border: 1px solid var(--gt-line);
	border-radius: var(--gt-radius);
	padding: 1.5rem;
	box-shadow: 0 6px 22px rgba(0, 0, 0, 0.07);
}

.gt-factbox__row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	margin: 0 0 0.6rem;
	padding-bottom: 0.6rem;
	border-bottom: 1px solid var(--gt-line);
}

.gt-factbox__row span {
	color: var(--gt-muted);
	font-size: 0.9rem;
}

.gt-factbox .wp-block-buttons {
	margin-top: 1.25rem;
	gap: 0.6rem;
}

@media (min-width: 1025px) {
	.gt-factbox {
		position: sticky;
		top: 110px;
	}
}

/* --- Listy landingowe --------------------------------------------------- */

.gt-checklist,
.gt-symptoms,
.gt-scope {
	line-height: 1.75;
}

.gt-checklist {
	list-style: none;
	padding-left: 0;
}

.gt-checklist li::before {
	content: "\2713";
	color: var(--gt-accent);
	font-weight: 700;
	margin-right: 0.6rem;
}

.gt-note {
	font-size: 0.85rem;
	color: var(--gt-muted);
	font-style: italic;
}

/* --- CTA koncowe -------------------------------------------------------- */

.gt-cta-final {
	background: var(--gt-alt-bg);
	text-align: center;
}

.gt-cta-final .wp-block-buttons {
	justify-content: center;
}

/* --- NAP ---------------------------------------------------------------- */

.gt-nap {
	background: var(--gt-alt-bg);
	border-radius: var(--gt-radius);
	padding: 1.75rem;
}

/* --- Sticky bar (mobile) ------------------------------------------------ */

.gt-sticky-bar {
	display: none;
}

@media (max-width: 768px) {
	.gt-sticky-bar {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		position: fixed;
		inset-inline: 0;
		bottom: 0;
		z-index: 9999;
		background: #fff;
		border-top: 1px solid var(--gt-line);
		box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
	}

	.gt-sticky-bar__item {
		padding: 0.85rem 0.5rem;
		text-align: center;
		font-size: 0.85rem;
		font-weight: 600;
		text-decoration: none;
		color: var(--gt-ink);
	}

	.gt-sticky-bar__item--primary {
		background: var(--gt-accent);
		color: #fff;
	}

	body {
		padding-bottom: 56px;
	}

	.gt-section {
		padding-block: var(--gt-section-y-mobile);
	}
}

/* --- Edytor ------------------------------------------------------------- */

.editor-styles-wrapper .gt-section {
	padding-block: 2.5rem;
}
