/*
 * Holispace — warstwa minimalistyczna (wzorzec: Medycyna estetyczna).
 * Ładowana jako ostatnia na wszystkich stronach.
 * Czcionki: Jost (główna) + Cormorant Garamond italic (akcenty).
 * Kolory: czarny #111111, zieleń #1F3A30, złoto #B39058; tła: biel, #F5F5F3, zieleń.
 */
:root {
	--hs-black: #111111;
	--hs-green: #1F3A30;
	--hs-gold: #B39058;
	--hs-gold-ink: #8A6A35;
	--hs-grey: #F5F5F3;
	--hs-line: #E6E4DF;
}

body {
	font-family: 'Jost', 'Helvetica Neue', sans-serif;
	font-size: 19.8px; /* v1.38.0: +10% */
	font-weight: 400;
	line-height: 1.7;
	color: var(--hs-black);
	background: #FFFFFF;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Jost', 'Helvetica Neue', sans-serif !important;
	font-weight: 400;
	letter-spacing: 0.01em;
}
h1, h2 { text-transform: uppercase; line-height: 1.1; font-weight: 400 !important; }
h1 strong, h2 strong, h3 strong, h1 b, h2 b { font-weight: 600; }

/* Akcenty: kursywa Cormorant Garamond (jak hasło i „Estetyka w duchu Longevity") */
h1 em, h2 em, h3 em, h1 i, h2 i, h3 i, blockquote, q {
	font-family: 'Cormorant Garamond', Georgia, serif !important;
	font-style: italic;
	font-weight: 500;
	text-transform: none;
}

h1 .subtitle-line, h2 .subtitle-line {
	font-family: 'Cormorant Garamond', Georgia, serif !important;
	font-style: italic;
	text-transform: none;
	color: var(--hs-green);
}

p, li, dd, td { font-weight: 400; }

/* Przyciski — kwadratowe, wersaliki, jak w medycynie estetycznej */
.btn, .button, button, input[type="submit"], .nav-cta, .hs-call-btn, .tmember-btn {
	font-family: 'Jost', 'Helvetica Neue', sans-serif !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	font-size: 14px;
	font-weight: 500;
	min-height: 44px;
}
.btn-gold, .btn-primary, .btn-ink, .btn-green, .btn-final, .nav-cta {
	background: var(--hs-black) !important;
	border: 1px solid var(--hs-black) !important;
	color: #FFFFFF !important;
}
.btn-gold:hover, .btn-primary:hover, .btn-ink:hover, .btn-green:hover, .btn-final:hover, .nav-cta:hover {
	background: var(--hs-green) !important;
	border-color: var(--hs-green) !important;
	color: #FFFFFF !important;
}
.btn-line, .btn-ghost, .btn-sm-outline, .btn-final-ghost {
	background: transparent !important;
	border: 1px solid currentColor !important;
}

/* Przycisk w menu — zwarty, żeby nagłówek mieścił się w szerokości */
.nav-links, .nav-links a, .nav-tel { letter-spacing: 0.02em !important; }
.nav-links { gap: 1rem !important; }
@media (max-width: 560px) {
	.nav-inner { grid-template-columns: minmax(0, 1fr) auto auto !important; }
	.nav-inner .brand { width: 120px; max-width: 100%; }
	.nav-inner .brand .brand-logo { background-size: contain; background-position: left center; }
}
.nav-cta { letter-spacing: 0.06em !important; font-size: 12px !important; padding: 10px 14px !important; white-space: nowrap; }
@media (max-width: 560px) { .nav-cta { letter-spacing: 0.04em !important; font-size: 12px !important; padding: 10px 12px !important; min-height: 40px; } }

/* Minimalizm: bez cieni i zaokrągleń, bez teł graficznych w sekcjach */
*, *::before, *::after { box-shadow: none !important; text-shadow: none !important; }
img { border-radius: 0; }

a { text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* Telefon: większa czytelność */
@media (max-width: 767px) {
	body { font-size: 18.7px; } /* v1.38.0: +10% */
	[style*="letter-spacing: 0.3"], [style*="letter-spacing: 0.2"] { letter-spacing: 0.14em !important; }
}

/* Szerokie ekrany pośrednie: nagłówek bez numeru telefonu, żeby się mieścił */
/* Menu mobilne (hamburger) od 1180 px, bo menu w Jost jest szersze */
@media (max-width: 1180px) {
	.nav-links { display: none !important; }
}

/* Kolumny w siatkach nie rozpychają strony na telefonie */
.fizjo-row > *, [class*="-grid"] > *, [class*="-row"] > * { min-width: 0; }
.spec-name, .spec-info { overflow-wrap: anywhere; }

/* Większa czcionka nie może rozpychać kolumn ani przycisków */
body div, body article, body aside, body li, body section { min-width: 0; }
.nav-links, .nav-links > *, .nav-inner > * { min-width: auto !important; flex-shrink: 0; }
body p, body h1, body h2, body h3, body h4, body li { overflow-wrap: break-word; }
.btn, .button { max-width: 100%; white-space: normal; text-align: center; }
@media (max-width: 767px) {
	.btn, .button { letter-spacing: 0.1em; }
	.spec-price { white-space: normal !important; }
}
/* Nagłówek sekcji „Lokalizacja" w stopce — może się zawijać */
.h-display { white-space: normal !important; }
.spec-list li > * { min-width: 0; max-width: 100%; }
.spec-info { flex-basis: 100% !important; }
@media (min-width: 768px) { .spec-info { flex-basis: 240px !important; } }
.spec-info > * { min-width: 0; white-space: normal; }
@media (max-width: 767px) { .rehab-page .spec-name, .ortopeda-page .spec-name { white-space: normal; } }
