/* ===================== VARIABLES WCAG AAA ===================== */
:root {
    --primary: #082f61;
    --primary-dark: #0a2a5a;
    --primary-light: #1a5bc2; /* Ciemniejszy dla lepszego kontrastu */
    --secondary: #0089c2; /* Ciemniejszy z 00a3e0 */
    --accent: #1b82ff63;
    --light: #f8f9fa;
    --dark: #0a355e;
    --gray: #555555; /* Ciemniejszy z 6c757d */
    --light-gray: #d1d8e0; /* Ciemniejszy z e9ecef */
    --white: #ffffff;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.12); /* Zwiększony kontrast cienia */
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --focus-outline: 3px solid #0056b3; /* Wyraźny outline dla focus */
    --focus-outline-offset: 3px;
}

/* ===================== HERO SECTION WITH BACKGROUND IMAGE ===================== */
.specialization-hero {
    position: relative;
    height: 50vh;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
    width: 100%;
    margin-top: -70px;
    padding-top: 70px;
}

.specialization-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../zdj/edited/druk/GC010.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    filter: brightness(0.8) saturate(0.8) contrast(0.95);
}

.specialization-hero-bg::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(8, 47, 97, 0.7) 0%, rgba(10, 51, 94, 0.8) 50%, rgba(8, 47, 97, 0.7) 100%);
    z-index: 1;
    pointer-events: none;
}

.specialization-hero .container {
    position: relative;
    z-index: 3;
    max-width: 800px;
    width: 100%;
    padding: 0 20px;
}

.specialization-hero h1 {
    color: var(--white);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.1em;
}

/* Jasny równoległobok dla smaczku */
.specialization-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.1) 100%);
    transform: skewX(-15deg);
    z-index: 2;
}

/* Responsywność */
@media (max-width: 768px) {
    .specialization-hero {
        height: auto;
        min-height: unset;
        padding: 140px 0 40px;
    }

    .specialization-hero h1 {
        font-size: clamp(2rem, 6vw, 3rem);
    }
}

/* css/pages/fizjoterapia-oferta.css - FIZJOTERAPIA OFERTA USŁUG */

/* ===================== CONTENT GRID WCAG AAA ===================== */
.content-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin-bottom: 60px;
}

.content-text {
    max-width: 800px;
    width: 100%;
    padding: 40px;
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;
    animation: fadeInUp 0.8s ease-out;
    text-align: center;
}

.content-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 2px 0 0 2px;
}

.content-text h2 {
    font-size: 2.3rem;
    margin-bottom: 30px;
    color: var(--primary);
    line-height: 1.3;
    font-weight: 700;
    position: relative;
    padding: 25px 20px;
    border-radius: 10px;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.content-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #444444;
    margin-bottom: 35px;
    font-weight: 400;
}

.content-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    height: 400px;
    border: 2px solid rgba(8, 47, 97, 0.1);
}

.content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    background-color: #f0f0f0;
}

.content-image:hover img {
    transform: scale(1.05);
}

/* ===================== FIZJOTERAPIA OFERTA HEADER WCAG AAA ===================== */
.fizjoterapia-oferta-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
    position: relative;
}

.fizjoterapia-oferta-header h1 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    color: var(--primary);
    position: relative;
    display: inline-block;
    padding-bottom: 18px;
    line-height: 1.3;
    font-weight: 800;
}

.fizjoterapia-oferta-header h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

/* ===================== PROSTY MINIMALISTYCZNY LAYOUT ===================== */

/* Główny kontener */
.content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Styling dla głównego tytułu strony */
.content h1 {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
    position: relative;
    font-size: 2.8rem;
    color: var(--primary);
    display: inline-block;
    width: 100%;
    font-weight: 800;
}

.content h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

/* ===================== TREŚCI STRONY ===================== */

/* Główny kontener treści */
.fizjoterapia-oferta-content-container {
    padding: 0;
}

/* Sekcje specjalizacji */
.specialization-description {
    margin: 0;
    padding: 0;
}

.description-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.description-block {
    margin-bottom: 40px;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.description-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.description-block h2 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.description-block h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.description-block h3 {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
    position: relative;
    padding-left: 20px;
}

.description-block h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 12px;
    background: var(--secondary);
    border-radius: 50%;
}

.description-block p {
    line-height: 1.7;
    color: #555;
    margin-bottom: 15px;
    font-size: 1rem;
}

.description-block p:last-child {
    margin-bottom: 0;
}

/* ===================== RESPONSIVE DESIGN ===================== */

@media (max-width: 768px) {
    .fizjoterapia-oferta-header h1 {
        font-size: 2.2rem;
    }

    .content h1 {
        font-size: 2.2rem;
    }

    .content-text h2 {
        font-size: 1.8rem;
        padding: 20px 15px;
    }

    .description-content {
        padding: 0 15px;
    }

    .description-block {
        padding: 20px;
        margin-bottom: 30px;
    }

    .description-block h2 {
        font-size: 1.6rem;
    }

    .description-block h3 {
        font-size: 1.3rem;
        padding-left: 18px;
    }

    .description-block h3::before {
        width: 10px;
        height: 10px;
        top: 6px;
    }
}

@media (max-width: 480px) {
    .fizjoterapia-oferta-header h1 {
        font-size: 1.8rem;
    }

    .content h1 {
        font-size: 1.8rem;
    }

    .description-block {
        padding: 15px;
    }

    .description-block h2 {
        font-size: 1.4rem;
    }

    .description-block h3 {
        font-size: 1.2rem;
    }
}

/* ===================== WERTYKALNA KARUZELA TERAPII ===================== */
.main-container {
	display: flex;
	width: 100%;
	max-width: 1200px;
	height: 80vh;
	gap: 60px;
	align-items: center;
	justify-content: center;
	margin: 40px auto;
}

.carousel-section {
	flex: 1;
	display: flex;
	justify-content: center;
	align-items: center;
}

.controls-section {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 40px;
	padding-right: 40px;
}

.carousel-container {
	width: 100%;
	max-width: 500px;
	height: 70vh;
	position: relative;
	perspective: 1000px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.carousel-container .nav-arrow {
	display: none;
}

.carousel-track {
	width: 450px;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: relative;
	transform-style: preserve-3d;
	transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card {
	position: absolute;
	width: 400px;
	height: 225px;
	background: white;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
	transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	text-align: center;
}

.card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: bottom;
	transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	border-radius: 20px;
}

.card.center {
	z-index: 10;
	transform: scale(1.1) translateZ(0);
}

.card.center img {
	filter: none;
}

.card.up-2 {
	z-index: 1;
	transform: translateY(-300px) scale(0.8) translateZ(-300px);
	opacity: 0.7;
}

.card.up-2 img {
	filter: grayscale(100%);
}

.card.up-1 {
	z-index: 5;
	transform: translateY(-150px) scale(0.9) translateZ(-100px);
	opacity: 0.9;
}

.card.up-1 img {
	filter: grayscale(100%);
}

.card.down-1 {
	z-index: 5;
	transform: translateY(150px) scale(0.9) translateZ(-100px);
	opacity: 0.9;
}

.card.down-1 img {
	filter: grayscale(100%);
}

.card.down-2 {
	z-index: 1;
	transform: translateY(300px) scale(0.8) translateZ(-300px);
	opacity: 0.7;
}

.card.down-2 img {
	filter: grayscale(100%);
}

.card.hidden {
	opacity: 0;
	pointer-events: none;
}

.therapy-info {
	text-align: center;
	margin-top: 20px;
	transition: all 0.5s ease-out;
}

.therapy-name {
	color: var(--primary);
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 8px;
	position: relative;
	display: inline-block;
}

.therapy-name::before,
.therapy-name::after {
	content: "";
	position: absolute;
	top: 100%;
	width: 80px;
	height: 2px;
	background: var(--primary);
}

.therapy-name::before {
	left: -100px;
}

.therapy-name::after {
	right: -100px;
}

.therapy-description {
	color: var(--primary);
	font-size: 1.2rem;
	font-weight: 500;
	opacity: 0.8;
	text-transform: none;
	letter-spacing: normal;
	padding: 5px 0;
	margin-top: -10px;
	position: relative;
}

.therapy-link-btn {
	display: inline-block;
	padding: 12px 30px;
	background-color: var(--primary);
	color: var(--white);
	border: none;
	border-radius: var(--border-radius);
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
	font-size: 1rem;
	cursor: pointer;
	transition: var(--transition);
	text-decoration: none;
	text-align: center;
	margin-top: 20px;
}

.therapy-link-btn:hover {
	background-color: var(--primary-dark);
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.dots {
	display: flex;
	justify-content: center;
	gap: 15px;
	align-items: center;
	margin-top: 30px;
	background: rgba(8, 47, 97, 0.7);
	padding: 10px 20px;
	border-radius: 50px;
	backdrop-filter: blur(5px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	width: fit-content;
}

.nav-arrow {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.3);
	color: var(--white);
	width: 35px;
	height: 35px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	font-weight: bold;
	transition: all 0.28s ease;
	backdrop-filter: blur(5px);
}

.nav-arrow:hover {
	background: rgba(255, 255, 255, 0.2);
	transform: scale(1.1);
	box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.3);
	cursor: pointer;
	transition: all 0.28s ease;
	border: 1px solid rgba(255, 255, 255, 0.5);
	padding: 0;
	display: inline-block;
}

.dot:hover {
	background: rgba(255, 255, 255, 0.5);
	transform: scale(1.2);
}

.dot.active {
	background: var(--white);
	transform: scale(1.4);
	box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.nav-arrow {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.3);
	color: var(--white);
	width: 35px;
	height: 35px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	font-weight: bold;
	transition: all 0.28s ease;
	backdrop-filter: blur(5px);
}

.nav-arrow:hover {
	background: rgba(255, 255, 255, 0.2);
	transform: scale(1.1);
	box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.nav-arrow:focus {
	outline: 2px solid var(--primary);
	outline-offset: 2px;
}

/* ===================== RESPONSIVE DESIGN ===================== */
@media (max-width: 1024px) {
	.main-container {
		flex-direction: column;
		height: auto;
		gap: 40px;
		margin: 20px auto;
	}

	.carousel-section {
		order: 2;
	}

	.controls-section {
		order: 1;
		padding-right: 0;
		gap: 30px;
	}

	.carousel-container {
		height: 60vh;
		max-width: 400px;
	}

	.carousel-track {
		width: 350px;
	}

	.card {
		width: 320px;
		height: 180px;
		padding: 15px;
	}

	.card.up-2 {
		transform: translateY(-240px) scale(0.8) translateZ(-240px);
	}

	.card.up-1 {
		transform: translateY(-120px) scale(0.9) translateZ(-80px);
	}

	.card.down-1 {
		transform: translateY(120px) scale(0.9) translateZ(-80px);
	}

	.card.down-2 {
		transform: translateY(240px) scale(0.8) translateZ(-240px);
	}

	.therapy-name {
		font-size: 1.8rem;
	}

	.therapy-name::before,
	.therapy-name::after {
		width: 60px;
	}

	.therapy-name::before {
		left: -80px;
	}

	.therapy-name::after {
		right: -80px;
	}

	.therapy-description {
		font-size: 1.1rem;
	}

	.dots {
		margin-top: 20px;
	}

	.nav-arrow {
		width: 60px;
		height: 60px;
		font-size: 1.2rem;
	}

	.nav-arrow i {
		font-size: 1.5rem;
	}
}

@media (max-width: 768px) {
	.main-container {
		gap: 30px;
		margin: 15px auto;
	}

	.controls-section {
		gap: 20px;
	}

	.carousel-container {
		height: 50vh;
		max-width: 300px;
	}

	.carousel-track {
		width: 280px;
	}

	.card {
		width: 260px;
		height: 146px;
	}

	.card.up-2 {
		transform: translateY(-180px) scale(0.8) translateZ(-180px);
	}

	.card.up-1 {
		transform: translateY(-90px) scale(0.9) translateZ(-60px);
	}

	.card.down-1 {
		transform: translateY(90px) scale(0.9) translateZ(-60px);
	}

	.card.down-2 {
		transform: translateY(180px) scale(0.8) translateZ(-180px);
	}

	.therapy-name {
		font-size: 1.5rem;
	}

	.therapy-name::before,
	.therapy-name::after {
		width: 40px;
	}

	.therapy-name::before {
		left: -60px;
	}

	.therapy-name::after {
		right: -60px;
	}

	.therapy-description {
		font-size: 1rem;
	}

	.dots {
		gap: 8px;
		margin-top: 15px;
	}

	.nav-arrow {
		width: 50px;
		height: 50px;
		font-size: 1rem;
	}

	.nav-arrow i {
		font-size: 1.2rem;
	}

	.nav-arrow.up {
		margin-bottom: 15px;
	}

	.nav-arrow.down {
		margin-top: 15px;
	}
}

@media (max-width: 480px) {
	.main-container {
		gap: 20px;
		margin: 10px auto;
		padding: 0 10px;
	}

	.controls-section {
		gap: 15px;
	}

	.carousel-container {
		height: 40vh;
		max-width: 250px;
	}

	.carousel-track {
		width: 230px;
	}

	.card {
		width: 210px;
		height: 118px;
	}

	.card.up-2 {
		transform: translateY(-140px) scale(0.8) translateZ(-140px);
	}

	.card.up-1 {
		transform: translateY(-70px) scale(0.9) translateZ(-50px);
	}

	.card.down-1 {
		transform: translateY(70px) scale(0.9) translateZ(-50px);
	}

	.card.down-2 {
		transform: translateY(140px) scale(0.8) translateZ(-140px);
	}

	.therapy-name {
		font-size: 1.3rem;
	}

	.therapy-name::before,
	.therapy-name::after {
		width: 30px;
	}

	.therapy-name::before {
		left: -45px;
	}

	.therapy-name::after {
		right: -45px;
	}

	.therapy-description {
		font-size: 0.9rem;
	}

	.dots {
		gap: 6px;
		margin-top: 10px;
	}

	.dot {
		width: 8px;
		height: 8px;
	}

	.nav-arrow {
		width: 40px;
		height: 40px;
		font-size: 0.9rem;
	}

	.nav-arrow i {
		font-size: 1rem;
	}

	.nav-arrow.up {
		margin-bottom: 10px;
	}

	.nav-arrow.down {
		margin-top: 10px;
	}
}

@media (max-width: 480px) {
	.main-container {
		gap: 15px;
		padding: 0 10px;
	}

	.carousel-container {
		height: 50vh;
		max-width: 280px;
	}

	.carousel-track {
		width: 300px;
	}

	.card {
		width: 260px;
		height: 146px;
		padding: 12px;
	}

	.card.up-2 {
		transform: translateY(-120px) scale(0.8) translateZ(-300px);
	}

	.card.up-1 {
		transform: translateY(-60px) scale(0.9) translateZ(-100px);
	}

	.card.down-1 {
		transform: translateY(60px) scale(0.9) translateZ(-100px);
	}

	.card.down-2 {
		transform: translateY(120px) scale(0.8) translateZ(-300px);
	}

	.therapy-name {
		font-size: 1.5rem;
	}

	.therapy-name::before,
	.therapy-name::after {
		width: 30px;
	}

	.therapy-name::before {
		left: -45px;
	}

	.therapy-name::after {
		right: -45px;
	}

	.therapy-description {
		font-size: 0.9rem;
	}

	.dots {
		gap: 6px;
		margin-top: 10px;
	}

	.dot {
		width: 8px;
		height: 8px;
	}

	.nav-arrow {
		width: 40px;
		height: 40px;
		font-size: 0.9rem;
	}

	.nav-arrow i {
		font-size: 1rem;
	}

	.nav-arrow.up {
		margin-bottom: 10px;
	}

	.nav-arrow.down {
		margin-top: 10px;
	}
}

/* ===================== ACCORDION DLA TERAPII ===================== */
.accordion-container {
    margin: 10px 0 30px 0;
}

.accordion-item {
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 2px solid rgba(8,47,97,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-color: rgba(8,47,97,0.2);
}

.accordion-header {
    background: linear-gradient(135deg, rgba(8,47,97,0.05) 0%, rgba(10,51,94,0.08) 100%);
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    position: relative;
}

.accordion-header:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.accordion-header:hover {
    background: linear-gradient(135deg, rgba(8,47,97,0.08) 0%, rgba(10,51,94,0.12) 100%);
}

.accordion-header h3 {
    color: var(--primary);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    margin: 0;
    position: relative;
    z-index: 2;
    font-weight: 600;
}

.accordion-header h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.accordion-header:hover h3::after {
    opacity: 1;
}

.accordion-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.accordion-icon::before {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon::before {
    content: '\f077';
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
}

.accordion-body {
    padding: 30px;
    position: relative;
}

.accordion-body p {
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark);
}

.accordion-body ul {
    margin: 15px 0;
    padding-left: 0;
}

.accordion-body li {
    margin-bottom: 8px;
    line-height: 1.6;
    position: relative;
    padding-left: 20px;
    list-style: none;
    color: var(--dark);
}

.accordion-body li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--secondary);
    border-radius: 50%;
}

/* ===================== THERAPY SECTIONS WCAG AAA ===================== */
.therapy-section {
    padding: 80px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.therapy-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(8,47,97,0.02) 0%, rgba(0,137,194,0.02) 100%);
    z-index: 0;
}

.therapy-section.alternate {
    background: linear-gradient(135deg, var(--light) 0%, rgba(248,249,250,0.8) 100%);
}

.therapy-section.alternate::before {
    background: linear-gradient(135deg, rgba(0,137,194,0.03) 0%, rgba(8,47,97,0.03) 100%);
}

/* Full width title */
.therapy-title-full {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.therapy-title-full h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    line-height: 1.3;
    font-weight: 700;
}

.therapy-title-full h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

/* ===================== NOWY LAYOUT TERAPII ===================== */
.therapy-content-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: start;
    margin-top: 40px;
}

.therapy-accordion-column {
    flex: 1;
}

.therapy-image-column {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: sticky;
    top: 40px;
}

.therapy-image-square {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.therapy-image-square img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===================== RESPONSIVE DESIGN FOR THERAPY SECTIONS ===================== */
@media (max-width: 1024px) {
    .therapy-content-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .therapy-image-column {
        position: static;
        order: -1;
    }

    .therapy-image-square {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .therapy-section {
        padding: 60px 0;
    }

    .therapy-title-full h2 {
        font-size: 2rem;
    }

    .therapy-content-layout {
        gap: 30px;
        margin-top: 30px;
    }
}

@media (max-width: 480px) {
    .therapy-section {
        padding: 40px 0;
    }

    .therapy-title-full {
        margin-bottom: 40px;
    }

    .therapy-title-full h2 {
        font-size: 1.8rem;
    }

    .therapy-content-layout {
        gap: 20px;
        margin-top: 20px;
    }
}

/* ===================== ANIMACJE ===================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* THERAPY BUTTONS */
.therapy-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin: 30px 0;
}

.therapy-btn {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(8, 47, 97, 0.2);
}

.therapy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(8, 47, 97, 0.3);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.therapy-btn:focus {
    outline: var(--focus-outline);
    outline-offset: var(--focus-outline-offset);
}
/* ============================================================ */
/* === MOBILE FIX — match urorehabilitacja layout (CSS-only)  */
/* fizjoterapia-oferta uses flex on .content-grid without a    */
/* mobile column override → image stays on the right.          */
/* Force single-column stack with image first (uro pattern).   */
/* ============================================================ */
@media (max-width: 992px) {
    body.page-template-template-fizjoterapia-oferta .content-grid {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 30px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    body.page-template-template-fizjoterapia-oferta .content-text,
    body.page-template-template-fizjoterapia-oferta .content-image {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        flex: 0 0 auto !important;
    }
    body.page-template-template-fizjoterapia-oferta .content-image {
        order: -1 !important;
        height: 350px !important;
        border-radius: 15px !important;
        overflow: hidden !important;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
        border: 2px solid rgba(8, 47, 97, 0.1) !important;
    }
    body.page-template-template-fizjoterapia-oferta .content-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }
    body.page-template-template-fizjoterapia-oferta .content-text {
        padding: 24px 18px !important;
        text-align: center !important;
    }
}

@media (max-width: 768px) {
    body.page-template-template-fizjoterapia-oferta .content-image {
        height: 300px !important;
    }
    body.page-template-template-fizjoterapia-oferta .content-text {
        padding: 20px 14px !important;
    }
}

@media (max-width: 480px) {
    body.page-template-template-fizjoterapia-oferta .content-image {
        height: 250px !important;
    }
    body.page-template-template-fizjoterapia-oferta .content-text {
        padding: 16px 12px !important;
    }
}
