/*
Theme Name: Karan
Theme URI: https://karankalisz.pl
Author: Karan
Description: Lekki motyw dla NZOZ Ośrodka Terapii Uzależnień i Współuzależnień KARAN. Strona główna z sekcjami, programy, kadra, kontakt z mapami. Treści edytowalne w Wygląd → Dostosuj.
Version: 2.2.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: karan
*/

:root {
	--red: #c8102e;
	--dark: #232b35;
	--heading: #252a32;
	--text: #5a5f66;
	--gray: #f5f5f5;
	--gray-2: #f8f8f8;
	--border: #ececec;
	--font-head: "Rajdhani", "Arial Narrow", sans-serif;
	--font-body: "Source Sans 3", "Source Sans Pro", Arial, sans-serif;
	--container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.75; color: var(--text); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; transition: color .2s; }
a:hover { color: var(--heading); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--heading); font-weight: 600; line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: 3rem; } h2 { font-size: 2.4rem; } h3 { font-size: 1.6rem; }
p { margin: 0 0 1.2em; }
ul, ol { padding-left: 1.4em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link:focus { position: fixed !important; top: 10px; left: 10px; width: auto; height: auto; clip: auto; z-index: 999; background: #fff; padding: 10px 16px; }

/* ---------- Header ---------- */
.site-header { background: #fff; position: relative; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 120px; }
.custom-logo { max-height: 70px; width: auto; }
.site-title { font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: var(--red); }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 34px; }
.main-nav li { position: relative; }
.main-nav a { font-family: var(--font-head); font-weight: 600; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--heading); }
.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a,
.main-nav .current-menu-ancestor > a,
.main-nav .current_page_parent > a { color: var(--red); }
.main-nav .sub-menu { display: none; position: absolute; top: 100%; left: -16px; background: #fff; min-width: 220px; padding: 10px 0; box-shadow: 0 10px 30px rgba(0,0,0,.08); flex-direction: column; gap: 0; }
.main-nav .sub-menu a { display: block; padding: 6px 16px; }
.main-nav li:hover > .sub-menu { display: flex; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span:not(.screen-reader-text) { display: block; width: 26px; height: 2px; background: var(--heading); margin: 5px 0; }

/* ---------- Page banner ---------- */
.page-banner { background: var(--gray); padding: 80px 0 70px; text-align: center; }
.page-banner h1 { font-size: 3.2rem; margin-bottom: 14px; }
.breadcrumbs { font-family: var(--font-head); font-weight: 600; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--heading); }
.breadcrumbs a { color: var(--heading); }
.breadcrumbs a:hover { color: var(--red); }
.breadcrumbs span { color: #666; }

/* ---------- Generic ---------- */
.section { padding: 110px 0; }
.content-area { padding: 100px 0; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content li { margin-bottom: .2em; }
.entry-content img { margin: 1.5em 0; }
.label { display: inline-flex; align-items: center; gap: 14px; font-family: var(--font-head); font-weight: 700; font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.label::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.label--light { color: #fff; } .label--light::before { background: var(--red); }
.section-head { text-align: center; margin-bottom: 50px; }
.btn { display: inline-flex; align-items: center; gap: 14px; padding: 14px 34px; font-family: var(--font-head); font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; border: 2px solid var(--red); background: var(--red); color: #fff; cursor: pointer; transition: all .2s; }
.btn::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.btn:hover { background: var(--dark); border-color: var(--dark); color: #fff; }
.btn--outline { background: transparent; border-color: var(--dark); color: var(--dark); }
.btn--outline:hover { background: var(--dark); color: #fff; }
.btn-dark, .comment-form .submit { background: var(--dark); border: 0; color: #fff; padding: 20px 50px; font-family: var(--font-head); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.btn-dark:hover, .comment-form .submit:hover { background: var(--red); }

/* ---------- Cards (programs / posts) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.card { border: 1px solid var(--border); background: #fff; padding: 46px 40px 40px; transition: box-shadow .25s, transform .25s; }
.card:hover { box-shadow: 0 18px 40px rgba(0,0,0,.07); transform: translateY(-3px); }
.card h3 { font-size: 1.85rem; margin-bottom: 22px; }
.card h3 a { color: var(--heading); }
.card h3 a:hover { color: var(--red); }
.card .more { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 15px; color: var(--red); }
.card .more::before { content: ""; width: 26px; height: 1px; background: #999; transition: background .2s, width .2s; }
.card:hover .more::before { background: var(--red); width: 32px; }
.card--small { padding: 30px 26px; }
.card--small h3 { font-size: 1.45rem; margin: 0; }
.card--small .label { font-size: 12px; margin-bottom: 4px; }

/* ---------- Front page ---------- */
.hero { position: relative; min-height: 640px; background: linear-gradient(120deg,#e9e4df,#cfc6bd) center/cover no-repeat; display: flex; align-items: center; }
.hero-box { background: #fff; max-width: 470px; margin-left: auto; padding: 50px 40px; box-shadow: 0 20px 50px rgba(0,0,0,.08); }
.hero-box ul { list-style: none; padding: 0; margin: 0; font-size: 15px; line-height: 1.9; color: var(--heading); }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 90px 0 0; }
.about-media { position: relative; background: var(--gray); padding: 60px 30px 90px 10px; align-self: stretch; }
.about-media img { width: 92%; aspect-ratio: 4/3.7; object-fit: cover; }
.about-media .placeholder { width: 92%; aspect-ratio: 4/3.7; background: #ddd; }
.about-media::after { content: ""; position: absolute; right: 30px; top: 90px; width: 34px; height: 46%; background: var(--red); }
.about-text h2 { font-size: 2.6rem; }
.about-text blockquote { margin: 30px 0; padding-left: 40px; position: relative; font-family: var(--font-head); font-size: 1.5rem; line-height: 1.5; color: #777; font-weight: 500; }
.about-text blockquote::before { content: "\201D"; position: absolute; left: 0; top: -6px; font-size: 3rem; color: var(--red); line-height: 1; font-weight: 700; }
.about-text cite { display: block; margin-top: 14px; font-style: normal; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #666; }
.about-text cite::before { content: "— "; }
.btn-row { display: flex; gap: 40px; flex-wrap: wrap; }

.support { background: var(--dark); color: #d5d8dc; position: relative; padding: 110px 0 190px; overflow: hidden; }
.support-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.support h2 { color: #fff; font-size: 2.6rem; }
.support-side { position: absolute; right: 0; top: 0; bottom: 0; width: 13%; object-fit: cover; height: 100%; }
.support-illu img { max-height: 340px; margin: 0 auto; }

.stats { margin-top: -120px; position: relative; z-index: 2; padding-bottom: 110px; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat { background: #fff; padding: 46px 34px; box-shadow: 0 10px 40px rgba(0,0,0,.06); }
.stat strong { display: block; font-family: var(--font-head); font-size: 4.2rem; line-height: 1; color: var(--heading); margin-bottom: 18px; }
.stat strong sup { color: var(--red); font-size: 1.6rem; vertical-align: top; }
.stat p { margin: 0; }
.stat--accent { background: var(--red); color: #fff; }
.stat--accent strong, .stat--accent strong sup { color: #fff; }

.programs { background: var(--gray-2); padding: 20px 0 130px; }
.programs-wrap { background: var(--gray-2); }

/* ---------- Kadra ---------- */
.team-featured { border: 1px solid #c7c3f2; background: #eeedfc; padding: 20px 28px; margin-bottom: 40px; }
.team-featured h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: #3a32a6; margin: 0; }
.team-featured p { margin: 0; font-size: 13px; color: #5048c8; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px 46px; align-items: start; }
.person-head { display: flex; gap: 16px; align-items: center; background: var(--gray); padding: 18px; border-bottom: 1px solid #ddd; }
.person-head h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 400; margin: 0; color: #444; }
.person-head .role { margin: 0; font-size: 13px; line-height: 1.6; color: #666; }
.avatar { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.tags { list-style: none; padding: 0; margin: 18px 0 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 12px; padding: 2px 10px; border-radius: 30px; }
.c-0 { background: #fbe7ec; color: #a5214a; } .c-1 { background: #e2f5ec; color: #1f7550; }
.c-2 { background: #fdf0dc; color: #8c5a12; } .c-3 { background: #e6effd; color: #2556a6; }
.c-4 { background: #eeedfc; color: #4b43b8; } .c-5 { background: #fde9e3; color: #a2402a; }
.person .bio { font-size: 14.5px; line-height: 1.85; color: #555; }
.person .bio p { margin-bottom: .8em; }
.person .places { font-size: 13px; color: #666; padding: 0 6px; margin-top: 14px; }

/* ---------- Kontakt ---------- */
.contact-head { text-align: center; margin-bottom: 40px; }
.contact-head .label { letter-spacing: .14em; }
.contact-head h2 { font-size: 2.8rem; margin-bottom: 20px; }
.contact-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 26px; align-items: start; }
.contact-cards { display: grid; gap: 26px; }
.info-card, .hours-card { border: 1px solid var(--border); padding: 56px 46px; display: flex; gap: 34px; }
.info-card svg { flex: 0 0 auto; width: 56px; height: 56px; color: var(--red); }
.info-card h3, .hours-card h3 { font-size: 1.6rem; margin-bottom: 6px; }
.info-card p, .hours-card p { font-size: 15.5px; margin: 0 0 .8em; }
.hours-card { display: block; padding: 56px 86px; }
.maps { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; }
.maps iframe { width: 100%; height: 560px; border: 0; filter: grayscale(1); display: block; }

/* ---------- Comments ---------- */
.comments-area { margin-top: 70px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment-body { padding: 20px 0; border-bottom: 1px solid var(--border); }
.comment-reply-title { font-size: 2rem; }
.comment-form { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 14px; }
.comment-form > * { grid-column: 1 / -1; margin: 0; }
.comment-form .comment-form-author, .comment-form .comment-form-email, .comment-form .comment-form-url { grid-column: auto; }
.comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea { width: 100%; border: 0; background: var(--gray-2); padding: 18px; font: inherit; font-size: 15px; color: var(--heading); }
.comment-form textarea { min-height: 180px; resize: vertical; }
.comment-form input:focus, .comment-form textarea:focus { outline: 1px solid var(--red); }
.comment-form .form-submit { margin-top: 10px; }

.pagination { margin-top: 50px; text-align: center; }
.pagination .page-numbers { display: inline-block; padding: 6px 14px; border: 1px solid var(--border); margin: 0 3px; color: var(--heading); }
.pagination .current { background: var(--red); border-color: var(--red); color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #c8ccd1; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1fr 2fr 1.15fr; }
.footer-col { padding: 70px 50px 80px; border-left: 1px solid rgba(255,255,255,.06); }
.footer-col:first-child { padding-left: 0; border-left: 0; }
.footer-col:last-child { padding-right: 0; }
.site-footer .widget-title { color: #fff; font-size: 1.6rem; margin-bottom: 36px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 14px; line-height: 1.6; }
.site-footer a { color: #c8ccd1; }
.site-footer a:hover { color: #fff; }
.site-footer .footer-hours p { color: #fff; margin-bottom: 1.1em; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); text-align: center; padding: 34px 0; color: #fff; font-size: 15px; }
.footer-bottom a { color: #c8ccd1; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.card-grid--4 { grid-template-columns: repeat(2, 1fr); }
	.team-grid { grid-template-columns: repeat(2, 1fr); }
	.hours-card { padding: 50px; }
	.support-side { display: none; }
}
@media (max-width: 860px) {
	.nav-toggle { display: block; }
	.main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 10px 20px 24px; box-shadow: 0 12px 20px rgba(0,0,0,.06); }
	.main-nav.is-open { display: block; }
	.main-nav ul { flex-direction: column; gap: 12px; }
	.main-nav .sub-menu { display: flex; position: static; box-shadow: none; padding-left: 14px; }
	.header-inner { min-height: 90px; }
	.card-grid, .stats-grid, .about, .support-inner, .contact-grid, .maps, .footer-grid { grid-template-columns: 1fr; }
	.footer-col { padding: 40px 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.06); }
	.footer-col:first-child { border-top: 0; }
	.page-banner h1 { font-size: 2.3rem; }
	.section, .content-area { padding: 60px 0; }
	.hero { min-height: 480px; padding: 40px 0; }
	.hero-box { margin: 0 auto; }
	.stats { margin-top: -80px; }
	.maps iframe { height: 380px; }
}
@media (max-width: 600px) {
	.card-grid--4, .team-grid, .comment-form { grid-template-columns: 1fr; }
	.info-card { padding: 34px 26px; gap: 20px; }
	.hours-card { padding: 34px 26px; }
	.contact-head h2 { font-size: 2rem; }
}

/* ---------- Karan 2.0: spokojniejszy, nowoczesny interfejs ---------- */
:root { --red:#e63e55; --red-dark:#c92e46; --dark:#1d2b30; --heading:#17272b; --text:#526166; --gray:#f3f6f4; --gray-2:#f8faf9; --border:#dfe7e4; --sage:#7f9b8c; --cream:#f4efe7; --container:1240px; }
body { line-height:1.7; background:#fdfefd; }
.site-header { position:sticky; top:0; box-shadow:0 8px 32px rgba(23,39,43,.06); }
.header-inner { min-height:96px; }
.custom-logo { max-height:62px; }
.site-logo-default { display:block; line-height:0; }
.site-logo-default img { width:auto; height:64px; max-width:190px; object-fit:contain; }
.main-nav a { font-size:14px; letter-spacing:.08em; }
.main-nav a::after { content:""; display:block; width:0; height:2px; margin-top:5px; background:var(--red); transition:width .2s ease; }
.main-nav a:hover::after, .main-nav .current-menu-item > a::after, .main-nav .current-menu-ancestor > a::after { width:100%; }

.hero { min-height:720px; isolation:isolate; background-position:center; }
.hero::before { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,rgba(17,36,40,.75) 0%,rgba(17,36,40,.32) 47%,rgba(17,36,40,.03) 76%); }
.hero .container { display:flex; justify-content:flex-start; }
.hero-box { max-width:610px; margin:0; padding:52px; border-radius:2px 32px 2px 2px; box-shadow:0 30px 80px rgba(8,25,29,.24); }
.hero-box h1 { max-width:520px; font-size:clamp(2.9rem,5vw,4.65rem); letter-spacing:-.035em; margin-bottom:18px; }
.hero-lead { max-width:500px; font-size:1.12rem; color:#46555a; }
.hero-actions { display:flex; align-items:center; gap:28px; margin:30px 0 34px; }
.hero-phone { font-family:var(--font-head); font-size:1.3rem; font-weight:700; color:var(--heading); }
.hero-phone::before { content:"Zadzwoń"; display:block; color:#78868a; font-family:var(--font-body); font-size:.68rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; }
.hero-features-title { display:block; padding-top:22px; border-top:1px solid var(--border); color:var(--heading); font-family:var(--font-head); text-transform:uppercase; letter-spacing:.08em; }
.hero-box ul { display:grid; grid-template-columns:1fr 1fr; gap:4px 20px; margin-top:10px; }
.hero-box li { position:relative; padding-left:17px; }
.hero-box li::before { content:""; position:absolute; left:0; top:.78em; width:6px; height:6px; border-radius:50%; background:var(--red); }

.about { gap:clamp(50px,7vw,96px); padding:120px 0; }
.about-media { min-height:650px; padding:0; background:var(--cream); }
.about-media img { width:100%; height:650px; aspect-ratio:auto; object-fit:cover; }
.about-media::before { content:""; position:absolute; inset:24px -24px -24px 24px; z-index:-1; background:var(--cream); }
.about-media::after { right:-24px; top:auto; bottom:-24px; width:44%; height:8px; }
.about-text h2, .support h2 { font-size:clamp(2.5rem,4vw,3.7rem); letter-spacing:-.025em; }
.about-text > p { font-size:1.05rem; }
.about-text blockquote { margin:34px 0; padding:24px 0 24px 34px; border-left:2px solid var(--red); font-size:1.3rem; background:linear-gradient(90deg,#faf4f1,transparent); }
.about-text blockquote::before { display:none; }

.support { padding:120px 0 200px; background:var(--dark); }
.support-inner { grid-template-columns:.9fr 1.1fr; gap:90px; }
.support-inner > div:first-child { max-width:570px; }
.support-inner p { font-size:1.05rem; }
.support-illu { position:relative; }
.support-illu::before { content:""; position:absolute; inset:-16px 20px 16px -20px; border:1px solid rgba(255,255,255,.18); }
.support-illu img { position:relative; width:100%; max-height:none; aspect-ratio:3/2; object-fit:cover; border-radius:2px 34px 2px 2px; }
.support-side { opacity:.2; filter:grayscale(1); }

.stats { margin-top:-110px; padding-bottom:120px; }
.stats-grid { gap:1px; box-shadow:0 25px 60px rgba(24,42,47,.12); }
.stat { min-height:230px; padding:46px; box-shadow:none; border-top:5px solid var(--sage); }
.stat strong { font-size:4.6rem; }
.stat--accent { border-color:var(--red-dark); }
.programs { padding:25px 0 130px; }
.section-head { margin-bottom:58px; }
.section-head h2 { font-size:3.3rem; }

.page-banner { position:relative; overflow:hidden; padding:88px 0 78px; background:linear-gradient(115deg,#eff4f1,#f7f4ee); }
.page-banner::before { content:""; position:absolute; top:-120px; right:-70px; width:390px; height:390px; border:80px solid rgba(230,62,85,.055); border-radius:50%; }
.page-banner h1 { position:relative; font-size:clamp(2.8rem,5vw,4.2rem); letter-spacing:-.035em; }
.breadcrumbs { position:relative; color:#66767a; }
.section { padding:105px 0 130px; }
.section-intro { max-width:720px; margin:0 auto 64px; text-align:center; }
.section-intro h2 { font-size:clamp(2.35rem,4vw,3.35rem); margin-bottom:18px; }
.section-intro p { max-width:620px; margin:0 auto; font-size:1.08rem; }

.card-grid { gap:24px; align-items:stretch; counter-reset:program; }
.card { position:relative; overflow:hidden; min-height:310px; display:flex; flex-direction:column; padding:42px 38px 36px; border:0; border-top:4px solid var(--sage); border-radius:0 20px 0 0; box-shadow:0 14px 50px rgba(33,56,62,.08); }
.card::before { content:counter(program,decimal-leading-zero); counter-increment:program; color:#dfe7e4; font-family:var(--font-head); font-size:5.2rem; font-weight:700; line-height:1; position:absolute; right:24px; bottom:16px; }
.card:hover { transform:translateY(-7px); box-shadow:0 24px 65px rgba(33,56,62,.14); border-color:var(--red); }
.card h3 { position:relative; z-index:1; font-size:1.72rem; }
.card .more { position:relative; z-index:1; margin-top:auto; }
.card--small { min-height:245px; padding:32px 28px; }
.card--small::before { font-size:4rem; }
.card--small h3 { font-size:1.45rem; }

.team-featured { display:flex; align-items:center; gap:24px; padding:30px 34px; margin-bottom:54px; border:0; border-left:5px solid var(--red); border-radius:0 18px 0 0; background:linear-gradient(110deg,#fff1f2,#f4f7f5); box-shadow:0 12px 38px rgba(33,56,62,.07); }
.team-featured-mark { flex:0 0 68px; width:68px; height:68px; display:grid; place-items:center; border-radius:50%; background:var(--red); color:#fff; font-family:var(--font-head); font-size:1.15rem; font-weight:700; }
.team-featured .eyebrow { color:var(--red); font-size:.72rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; }
.team-featured h3 { margin:2px 0 3px; color:var(--heading); font-family:var(--font-head); font-size:1.65rem; }
.team-featured p { color:#59696d; font-size:.92rem; }
.team-grid { gap:28px; align-items:stretch; }
.person { display:flex; flex-direction:column; padding:0 26px 28px; border:1px solid var(--border); border-radius:0 20px 0 0; background:#fff; box-shadow:0 10px 35px rgba(33,56,62,.055); transition:transform .22s,box-shadow .22s; }
.person:hover { transform:translateY(-5px); box-shadow:0 22px 50px rgba(33,56,62,.11); }
.person-head { margin:0 -26px; padding:22px 26px; border-bottom:0; border-radius:0 20px 0 0; background:#f1f5f3; }
.person-head h3 { font-family:var(--font-head); font-size:1.35rem; font-weight:700; color:var(--heading); }
.avatar { flex-basis:58px; width:58px; height:58px; font-family:var(--font-head); font-weight:700; }
.person .bio { font-size:14px; }
.person .places { margin-top:auto; padding-top:15px; border-top:1px solid var(--border); }

.site-footer { background:#172429; }
.footer-col { padding-top:76px; }
.site-footer .widget-title { position:relative; padding-bottom:14px; }
.site-footer .widget-title::after { content:""; position:absolute; bottom:0; left:0; width:36px; height:2px; background:var(--red); }
.footer-bottom { color:#94a0a4; }

@media (max-width:1024px) {
	.hero { min-height:650px; }
	.hero-box { max-width:560px; }
	.about-media, .about-media img { min-height:560px; height:560px; }
	.support-inner { gap:50px; }
}
@media (max-width:860px) {
	.site-header { position:relative; }
	.site-logo-default img { height:56px; max-width:165px; }
	.main-nav a::after { display:none; }
	.hero { min-height:620px; background-position:65% center; }
	.hero::before { background:rgba(17,36,40,.35); }
	.hero-box { padding:38px 30px; }
	.about { padding:80px 0; }
	.about-media, .about-media img { min-height:0; height:auto; aspect-ratio:4/3; }
	.support { padding:80px 0 160px; }
	.stats-grid { gap:14px; box-shadow:none; }
	.stat { min-height:0; box-shadow:0 12px 34px rgba(24,42,47,.08); }
}
@media (max-width:600px) {
	.hero { min-height:0; padding:48px 0; background-position:68% center; }
	.hero-box h1 { font-size:2.65rem; }
	.hero-box ul { grid-template-columns:1fr; }
	.hero-actions { align-items:flex-start; flex-direction:column; gap:18px; }
	.about-media::before { inset:12px -8px -12px 8px; }
	.about-media::after { right:-8px; bottom:-12px; }
	.section, .content-area { padding:70px 0 90px; }
	.card { min-height:250px; padding:32px 28px; }
	.team-featured { align-items:flex-start; padding:24px 20px; }
	.team-featured-mark { flex-basis:52px; width:52px; height:52px; font-size:.95rem; }
}

/* ---------- Strona O nas ---------- */
.about-page-hero { position:relative; min-height:600px; display:flex; align-items:flex-end; overflow:hidden; background:var(--dark); }
.about-page-hero > img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 42%; }
.about-page-hero-shade { position:absolute; inset:0; background:linear-gradient(90deg,rgba(12,30,35,.9) 0%,rgba(12,30,35,.58) 45%,rgba(12,30,35,.08) 78%); }
.about-page-hero-inner { position:relative; z-index:1; padding-top:120px; padding-bottom:90px; color:#fff; }
.about-page-hero h1 { max-width:700px; color:#fff; font-size:clamp(4rem,8vw,7.2rem); letter-spacing:-.045em; margin-bottom:12px; }
.about-page-hero p { max-width:610px; margin:0; color:#e7eeee; font-size:1.25rem; line-height:1.65; }

.about-page-body { padding:120px 0 140px; }
.about-page-intro { display:grid; grid-template-columns:1.2fr .8fr; gap:80px; align-items:end; margin-bottom:80px; padding-bottom:50px; border-bottom:1px solid var(--border); }
.about-page-intro h2 { max-width:660px; font-size:clamp(2.8rem,5vw,4.4rem); letter-spacing:-.035em; margin:0; }
.about-page-intro > p { max-width:480px; margin:0 0 10px; font-size:1.15rem; }
.about-page-layout { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(360px,.75fr); gap:clamp(60px,8vw,110px); align-items:start; }
.about-page-copy { max-width:760px; font-size:1.05rem; }
.about-page-copy h2 { margin-top:1.6em; font-size:2.45rem; letter-spacing:-.02em; }
.about-page-copy h3 { margin-top:1.8em; font-size:1.8rem; }
.about-page-copy > p:first-child { font-size:1.25rem; line-height:1.75; color:#35484d; }
.about-page-copy blockquote { margin:42px 0; padding:28px 34px; border-left:3px solid var(--red); background:#f5f7f6; font-family:var(--font-head); font-size:1.35rem; color:var(--heading); }
.about-page-gallery { display:grid; gap:30px; }
.about-page-photo { margin:0; }
.about-page-photo img { width:100%; object-fit:cover; box-shadow:0 22px 60px rgba(25,47,52,.12); }
.about-page-photo--room img { aspect-ratio:3/2; border-radius:0 28px 0 0; }
.about-page-photo--care { width:82%; margin-left:auto; }
.about-page-photo--care img { aspect-ratio:4/5; border-radius:28px 0 0 0; }
.about-page-photo figcaption { padding-top:13px; font-size:.86rem; color:#768488; }
.about-page-note { display:flex; align-items:center; gap:22px; margin:-8px 0 2px -60px; padding:24px 28px; background:var(--red); color:#fff; box-shadow:0 18px 45px rgba(201,46,70,.2); }
.about-page-note strong { font-family:var(--font-head); font-size:3rem; line-height:1; }
.about-page-note span { max-width:190px; font-size:.82rem; line-height:1.45; text-transform:uppercase; letter-spacing:.08em; }

.about-values { padding:115px 0 125px; background:var(--dark); color:#cbd4d6; }
.about-values-head { max-width:720px; margin-bottom:60px; }
.about-values-head h2 { color:#fff; font-size:clamp(2.7rem,5vw,4.1rem); letter-spacing:-.035em; }
.about-values-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:rgba(255,255,255,.13); }
.about-values-grid > div { min-height:280px; padding:42px; background:var(--dark); }
.about-values-grid span { display:block; margin-bottom:42px; color:var(--red); font-family:var(--font-head); font-size:1.15rem; font-weight:700; }
.about-values-grid h3 { color:#fff; font-size:1.8rem; }
.about-values-grid p { margin:0; }

.about-page-cta { padding:85px 0; background:#f2f5f3; }
.about-page-cta-inner { display:flex; align-items:center; justify-content:space-between; gap:50px; }
.about-page-cta h2 { margin-bottom:5px; font-size:3rem; }
.about-page-cta p { margin:0; }
.about-page-cta-actions { display:flex; align-items:center; gap:34px; flex:0 0 auto; }

@media (max-width:1024px) {
	.about-page-hero { min-height:520px; }
	.about-page-intro { gap:50px; }
	.about-page-layout { grid-template-columns:minmax(0,1fr) 360px; gap:55px; }
	.about-page-note { margin-left:-30px; }
}
@media (max-width:860px) {
	.about-page-hero { min-height:480px; }
	.about-page-hero-shade { background:linear-gradient(90deg,rgba(12,30,35,.86),rgba(12,30,35,.28)); }
	.about-page-hero-inner { padding-top:90px; padding-bottom:65px; }
	.about-page-intro, .about-page-layout { grid-template-columns:1fr; }
	.about-page-body { padding:80px 0 95px; }
	.about-page-intro { gap:25px; margin-bottom:55px; }
	.about-page-gallery { grid-template-columns:1.15fr .85fr; align-items:start; }
	.about-page-note { grid-column:1/-1; grid-row:2; margin:0; }
	.about-page-photo--care { width:100%; margin:0; }
	.about-values-grid { grid-template-columns:1fr; gap:0; }
	.about-values-grid > div { min-height:0; border-top:1px solid rgba(255,255,255,.13); }
	.about-page-cta-inner { align-items:flex-start; flex-direction:column; }
}
@media (max-width:600px) {
	.about-page-hero { min-height:430px; }
	.about-page-hero > img { object-position:58% center; }
	.about-page-hero h1 { font-size:3.8rem; }
	.about-page-hero p { font-size:1.05rem; }
	.about-page-intro { padding-bottom:36px; }
	.about-page-intro h2 { font-size:2.65rem; }
	.about-page-gallery { grid-template-columns:1fr; }
	.about-page-note { grid-row:auto; }
	.about-page-photo--care { width:86%; margin-left:auto; }
	.about-values { padding:80px 0; }
	.about-values-grid > div { padding:34px 26px; }
	.about-values-grid span { margin-bottom:20px; }
	.about-page-cta-actions { align-items:flex-start; flex-direction:column; }
}
