/* Homepage 1: samostatné styly, ostatní stránky i rezervační systém zůstávají beze změny. */
body.home { --ink: #103e52; --water: #0b6077; --foam: #faf8f3; --text: #3e5662; --shell: min(1300px, calc(100vw - 80px)); background: var(--foam); }
body.home h1, body.home h2, body.home h3, body.home .site-branding__name { font-family: Manrope, Arial, sans-serif; font-weight: 500; letter-spacing: -.045em; }
body.home h2 { font-size: clamp(2.45rem, 4vw, 3.7rem); line-height: .98; }
body.home .eyebrow { color: var(--ink); font-size: .7rem; font-weight: 600; letter-spacing: .18em; }
body.home .button { background: var(--water); border-color: var(--water); font-size: .79rem; font-weight: 600; padding: 13px 24px; box-shadow: 0 5px 12px rgba(8, 71, 87, .11); }
body.home .button--outline { background: rgba(255,255,255,.36); border-color: var(--water); box-shadow: none; color: var(--ink) !important; }
body.home .button--outline:hover { background: var(--water); color: white !important; }
body.home .button-row { gap: 14px; }
.handwritten { font-family: Caveat, cursive; font-weight: 400; line-height: 1; }
#o-nas, #terapie, #komunita, #kontakt { scroll-margin-top: 95px; }

body.home .site-header { background: linear-gradient(180deg, rgba(250,248,243,.89), rgba(250,248,243,.25)); border: 0; position: absolute; z-index: 30; inset: 0 0 auto; }
body.home .site-header__inner { min-height: 90px; gap: 18px; }
body.home .site-branding { min-width: 165px; }
body.home .site-branding__link { position: relative; }
body.home .site-branding__name { font-size: 1.82rem; line-height: .9; letter-spacing: -.055em; }
body.home .site-branding__wave { display: block; width: 42px; height: 8px; margin: 5px 0 0; border-top: 2px solid var(--water); border-radius: 50%; transform: skewX(-25deg); }
body.home .site-branding__tagline { font-size: .68rem; letter-spacing: .06em; text-transform: none; margin: -4px 0 0 47px; }
body.home .site-branding__logo + .site-branding__tagline { margin: -2px 0 0 0; font-size: .65rem; letter-spacing: .025em; }
body.home .main-navigation { gap: 25px; }
body.home .main-navigation ul { gap: clamp(9px, 1.6vw, 24px); }
body.home .main-navigation a { font-size: 1rem; }
body.home .main-navigation .button--small { color: white; white-space: nowrap; font-size: .9rem; padding: 0; }

.home-hero { min-height: 640px; display: flex; align-items: center; position: relative; overflow: hidden; background: #c8dcda; }
.home-hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 63% center; }
.home-hero__wash { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(250,248,243,.98) 0%, rgba(250,248,243,.94) 26%, rgba(250,248,243,.67) 44%, rgba(250,248,243,.06) 67%); }
.home-hero::after { content: ''; position: absolute; z-index: 2; bottom: -57px; left: -2%; width: 104%; height: 92px; background: var(--foam); border-radius: 49% 53% 0 0 / 70% 65% 0 0; transform: rotate(.5deg); }
.home-hero__inner { position: relative; z-index: 3; padding-top: 96px; padding-bottom: 80px; display: flex; align-items: center; justify-content: space-between; }
.home-hero__copy { max-width: 665px; }
.home-hero .eyebrow { margin-bottom: 13px; }
.home-hero h1 { font-size: clamp(3.2rem, 5.2vw, 5.2rem); max-width: 665px; line-height: 1.06; margin: 0 0 25px; white-space: pre-line; }
.home-hero__text { max-width: 420px; font-size: .98rem; line-height: 1.48; }
.home-hero__text p { margin: 0; }
.home-hero .button-row { margin-top: 24px; }
.home-hero__note { position: absolute; right: 15px; top: 48%; color: white; font-size: clamp(1.6rem, 2.7vw, 2.6rem); transform: rotate(-8deg); text-shadow: 0 2px 9px rgba(0,0,0,.48); }

.home-features { padding: 34px 0 52px; background: var(--foam); }
.home-features__grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); }
.home-feature { padding: 0 26px 5px; text-align: center; position: relative; border-right: 1px solid rgba(14,78,98,.11); }
.home-feature:first-child { padding-left: 0; }
.home-feature:last-child { padding-right: 0; border-right: 0; }
.home-feature__number { position: absolute; top: -3px; left: 23px; width: 43px; height: 43px; border-radius: 50%; display: grid; place-items: center; background: #eee8dd; color: var(--ink); font-size: .81rem; font-weight: 600; }
.home-feature:first-child .home-feature__number { left: 0; }
.home-feature__icon { margin: 7px auto 17px; width: 86px; height: 86px; border-radius: 50%; background: #e7eff0; display: grid; place-items: center; color: var(--water); }
.home-feature__icon img { width: 47px; height: 47px; object-fit: contain; }
.home-feature__icon span { font-family: Georgia,serif; font-size: 3.3rem; line-height: 1; }
.home-feature h2 { font-size: 1.78rem !important; line-height: 1.04; margin-bottom: 8px; }
.home-feature h2 a { text-decoration: none; }
.home-feature p { margin: 0 auto; max-width: 245px; font-size: .86rem; line-height: 1.5; }

.home-therapy { display: grid; grid-template-columns: 50% minmax(0,1fr); align-items: center; gap: 0; padding: 10px max(40px, calc((100vw - 1300px) / 2)) 34px 0; position: relative; }
.home-therapy::before { content: ''; position: absolute; z-index: 0; right: 0; top: 0; width: 27vw; height: 100%; background: radial-gradient(ellipse at 80% 50%, #e8f2f2, transparent 65%); pointer-events: none; }
.home-therapy__visual { position: relative; z-index: 1; width: 100%; height: clamp(340px, 31vw, 465px); overflow: hidden; border-radius: 0 49% 43% 0 / 0 49% 43% 0; background: #bedcdf; }
.home-therapy__visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,44,61,.34), transparent 55%); }
.home-therapy__visual img { width: 100%; height: 100%; object-fit: cover; }
.home-therapy__note { position: absolute; z-index: 2; bottom: 35px; left: 8%; color: white; font-size: clamp(1.8rem, 2.8vw, 3rem); transform: rotate(-8deg); text-shadow: 0 2px 6px rgba(0,0,0,.4); }
.home-therapy__copy { position: relative; z-index: 1; max-width: 530px; margin-left: clamp(35px, 5vw, 95px); padding-right: 10px; }
.home-therapy h2 { max-width: 570px; white-space: pre-line; }
.home-therapy__text { max-width: 485px; font-size: .96rem; line-height: 1.55; }
.home-therapy .button { margin-top: 10px; }

.home-courses { padding-top: 80px; padding-bottom: 80px; }
.home-courses__head { display: grid; grid-template-columns: 1.5fr .85fr; align-items: end; gap: 60px; margin-bottom: 25px; }
.home-courses__head h2 { margin: 0; white-space: pre-line; }
.home-courses__text { max-width: 390px; font-size: .95rem; line-height: 1.45; }
.home-courses__text p { margin: 0; }
.home-courses__cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.home-course-card { display: block; text-decoration: none; border-radius: 6px; background: white; overflow: hidden; box-shadow: 0 8px 24px rgba(30,60,67,.08); }
.home-course-card img { width: 100%; height: clamp(160px, 14vw, 225px); object-fit: cover; transition: transform .3s ease; }
.home-course-card:hover img { transform: scale(1.03); }
.home-course-card__caption { display: flex; align-items: center; justify-content: space-between; min-height: 82px; padding: 16px 24px; color: var(--ink); }
.home-course-card__caption span:first-child { max-width: 280px; font: 500 1.2rem/1.2 Manrope,Arial,sans-serif; white-space: pre-line; }
.home-course-card__caption span:last-child { font-size: 1.45rem; }

.home-cta { position: relative; min-height: 170px; background: #dcecf0; overflow: hidden; display: flex; align-items: center; }
.home-cta::before, .home-cta::after { content: ''; position: absolute; z-index: 2; width: 105%; left: -2%; height: 48px; background: var(--foam); border-radius: 50%; }
.home-cta::before { top: -36px; }
.home-cta::after { bottom: -37px; }
.home-cta__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .29; }
.home-cta__inner { position: relative; z-index: 3; display: flex; align-items: center; gap: 35px; padding-top: 37px; padding-bottom: 34px; }
.home-cta__copy { flex: 1; }
.home-cta h2 { font-size: clamp(2.5rem, 3.8vw, 3.5rem); margin: 0 0 5px; }
.home-cta p { font-size: .88rem; margin: 0; }
.home-cta .button-row { margin: 0; flex-wrap: nowrap; }
.home-cta .button { white-space: nowrap; }
.home-cta__note { color: var(--water); font-size: 2rem !important; transform: rotate(-10deg); text-align: center; }

.home-news { padding-top: 74px; padding-bottom: 80px; }
.home-news__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 19px; }
.home-news__head .eyebrow { margin: 0; }
.home-news__head a { font-size: .8rem; text-decoration: none; }
.home-news__cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.home-news-card { background: #fffdfa; border: 1px solid rgba(12,65,82,.07); border-radius: 6px; overflow: hidden; box-shadow: 0 5px 22px rgba(32,62,67,.05); }
.home-news-card img { width: 100%; height: clamp(150px, 13vw, 210px); object-fit: cover; }
.home-news-card__body { padding: 13px 23px 20px; }
.home-news-card time { display: block; color: #58707a; font-size: .67rem; letter-spacing: .03em; }
.home-news-card time { display: none; }
.home-news-card h2 { margin: 3px 0 5px; font-size: 1.6rem; line-height: 1.04; }
.home-news-card h2 a { text-decoration: none; }
.home-news-card p { margin: 0 0 9px; font-size: .85rem; line-height: 1.45; }
.home-news-card__link { color: var(--water); text-decoration: none; font-size: .79rem; font-weight: 600; }

body.home .site-footer { background: var(--foam); border-top: 1px solid rgba(15,72,87,.07); }
body.home .site-footer__main { padding-top: 55px; padding-bottom: 40px; }
body.home .site-footer__brand .site-branding__name { display: block; font-size: 1.88rem; }
body.home .site-footer__brand .site-branding__tagline { display: block; margin: -3px 0 15px 47px; text-transform: none; }
body.home .site-footer__motto { font-family: Caveat,cursive; font-size: 2rem; line-height: .93; transform: rotate(-6deg); }

@media (min-width: 901px) and (max-width: 1240px) {
	body.home .site-branding { width: 100%; min-width: 0; }
	body.home .site-header__inner { flex-wrap: wrap; }
	body.home .main-navigation { margin: 0; }
	.home-hero__inner { padding-top: 145px; }
}

@media (max-width: 1100px) {
	body.home .site-header__inner { gap: 12px; }
	body.home .main-navigation ul { gap: 11px; }
	body.home .main-navigation a { font-size: .94rem; }
	.home-hero__note { right: 5px; }
	.home-cta__note { display: none; }
}
@media (max-width: 980px) {
	body.home .site-header { position: absolute; }
	body.home .main-navigation { background: var(--foam); }
	.home-hero { min-height: 600px; }
	.home-hero__wash { background: linear-gradient(90deg, rgba(250,248,243,.98), rgba(250,248,243,.86) 45%, rgba(250,248,243,.1) 100%); }
	.home-feature { padding: 0 12px; }
	.home-feature__number { left: 4px; }
	.home-feature h2 { font-size: 1.53rem !important; }
	.home-therapy__copy { margin-left: 35px; }
	.home-cta__inner { flex-wrap: wrap; }
	.home-cta__copy { flex-basis: 100%; }
}
@media (max-width: 700px) {
	body.home { --shell: min(100% - 34px, 1300px); }
	body.home .site-header__inner { min-height: 75px; }
	.home-hero { min-height: 750px; align-items: start; }
	.home-hero__image { object-position: 59% bottom; }
	.home-hero__wash { background: linear-gradient(180deg, rgba(250,248,243,.98) 0%, rgba(250,248,243,.97) 38%, rgba(250,248,243,.45) 68%, rgba(250,248,243,.07) 100%); }
	.home-hero__inner { padding-top: 145px; padding-bottom: 140px; }
	.home-hero h1 { font-size: clamp(4rem, 16vw, 5.8rem); }
	.home-hero__text { font-size: .9rem; max-width: 345px; }
	.home-hero .button-row .button { width: auto; }
	.home-hero__note { display: none; }
	.home-features { padding: 35px 0; }
	.home-features__grid { grid-template-columns: repeat(2,1fr); gap: 33px 0; }
	.home-feature:nth-child(2) { border-right: 0; }
	.home-feature:nth-child(3) .home-feature__number { left: 0; }
	.home-feature p { font-size: .77rem; }
	.home-therapy { display: block; padding: 10px 0 30px; }
	.home-therapy__visual { width: 92%; height: 360px; }
	.home-therapy__copy { margin: 37px 17px 0; padding: 0; }
	.home-courses { padding-top: 50px; padding-bottom: 55px; }
	.home-courses__head { grid-template-columns: 1fr; gap: 12px; }
	.home-courses__cards, .home-news__cards { grid-template-columns: 1fr; gap: 15px; }
	.home-course-card img, .home-news-card img { height: 220px; }
	.home-cta__inner { padding-top: 45px; padding-bottom: 45px; }
	.home-cta .button-row { flex-wrap: wrap; }
	.home-news { padding-top: 55px; padding-bottom: 60px; }
}
@media (max-width: 360px) {
	.home-features__grid { grid-template-columns: 1fr; gap: 26px; }
	.home-feature, .home-feature:first-child, .home-feature:last-child { border-right: 0; border-bottom: 1px solid rgba(14,78,98,.11); padding: 0 8px 26px; }
	.home-feature:last-child { border-bottom: 0; }
	.home-feature__number, .home-feature:first-child .home-feature__number, .home-feature:nth-child(3) .home-feature__number { left: 8px; }
	.home-feature p { max-width: 270px; font-size: .88rem; }
}
