/* ==========================================================================
   Kehnoo Simple – hotel front page (front-page.php)
   ========================================================================== */

.kn-front #home-content { padding-top: 0; }
.kn-home { display: block; }
.kn-container { max-width: var(--kn-max); margin-inline: auto; padding-inline: 24px; box-sizing: border-box; width: 100%; }
.kn-section { margin-top: 88px; }
.kn-home h1, .kn-home h2, .kn-home h3 { margin: 0; }
.kn-home p { margin: 0; }
.kn-home a { text-decoration: none; }

.kn-eyebrow {
	display: inline-block; font-size: 13px; font-weight: 700; color: var(--kn-accent-dark);
	background: rgba(59, 130, 246, .1); padding: 2px 12px; border-radius: 99px; margin-bottom: 10px;
}
.kn-head { text-align: center; margin-bottom: 32px; }
.kn-head--start { text-align: start; margin-bottom: 20px; }
.kn-head h2 { font-size: 32px; line-height: 1.5; }
.kn-head p { max-width: 640px; margin: 10px auto 0; color: var(--kn-muted); }

/* buttons */
.kn-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	padding: 11px 22px; border-radius: 12px; font-size: 15px; font-weight: 700; line-height: 1.6;
	transition: background-size .25s, transform .2s, box-shadow .25s, background-color .2s; cursor: pointer;
}
.kn-btn--primary {
	color: #fff !important; background: linear-gradient(to top, var(--kn-accent-dark), var(--kn-accent));
	background-size: 100% 100%; background-position: bottom; box-shadow: 0 4px 14px rgba(37, 99, 235, .28);
}
.kn-btn--primary:hover { background-size: 100% 150%; transform: translateY(-1px); }
.kn-btn--glass { color: #fff !important; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .4); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.kn-btn--glass:hover { background: rgba(255, 255, 255, .28); }
.kn-btn--light { color: #111827 !important; background: #fff; }
.kn-btn--light:hover { background: #f3f4f6; }
.kn-btn--ghost { color: #111827 !important; background: #fff; border: 1px solid var(--kn-line); }
.kn-btn--ghost:hover { background: #f9fafb; }
.kn-chip { display: inline-block; font-size: 13px; font-weight: 600; color: #fff; padding: 4px 14px; border-radius: 99px; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

/* ---------- Hero ---------- */
.kn-hero {
	position: relative; isolation: isolate; overflow: hidden;
	max-width: calc(var(--kn-max) - 48px); margin: 16px auto 0;
	min-height: min(78vh, 640px); display: flex; align-items: flex-end;
	border-radius: 28px; background: #1f2937; box-shadow: 0 24px 50px rgba(0, 0, 0, .16);
}
@media (max-width: 1200px) { .kn-hero { margin-inline: 16px; } }
.kn-hero__bg, .kn-hero__shade { position: absolute; inset: 0; z-index: -1; }
.kn-hero__bg { background: linear-gradient(135deg, #7c4a1d, #3b2412); }
.kn-hero__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: kn-fade 18s infinite; }
.kn-hero__slide:nth-child(2) { animation-delay: 6s; }
.kn-hero__slide:nth-child(3) { animation-delay: 12s; }
.kn-hero__slide:only-child { opacity: 1; animation: none; }
@keyframes kn-fade { 0% { opacity: 0; transform: scale(1.04); } 6% { opacity: 1; } 33% { opacity: 1; } 40% { opacity: 0; transform: scale(1); } 100% { opacity: 0; } }
.kn-hero__shade { background: linear-gradient(to top, rgba(17, 24, 39, .82) 8%, rgba(17, 24, 39, .35) 55%, rgba(17, 24, 39, .1)); }
.kn-hero__content { padding-block: 56px 76px; color: #fff; }
.kn-hero__title { color: #fff; font-size: clamp(34px, 6vw, 62px); line-height: 1.35; font-weight: 900; margin: 16px 0 12px; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.kn-hero__text { max-width: 620px; font-size: 18px; color: #e5e7eb; margin-bottom: 26px; }
.kn-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Highlights ---------- */
.kn-highlights { margin-top: -34px; position: relative; z-index: 2; }
.kn-highlights ul {
	list-style: none; margin: 0; padding: 18px 8px; display: grid; grid-template-columns: repeat(var(--n, 4), 1fr);
	background: rgba(255, 255, 255, .95); border: 1px solid var(--kn-line); border-radius: 22px;
	box-shadow: 0 18px 40px rgba(0, 0, 0, .08);
}
.kn-highlights li { text-align: center; padding: 6px 12px; border-inline-start: 1px solid var(--kn-line); }
.kn-highlights li:first-child { border-inline-start: 0; }
.kn-highlights strong { display: block; font-size: 30px; line-height: 1.4; color: var(--kn-accent-dark); font-weight: 900; }
.kn-highlights span { font-size: 13px; color: var(--kn-muted); line-height: 1.7; display: block; }

/* ---------- About ---------- */
.kn-about { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.kn-about__media { position: relative; }
.kn-about__media::before { content: ""; position: absolute; inset: 18px -14px -14px 18px; border: 1px solid #cbd5e1; border-radius: 26px; z-index: 0; }
[dir="rtl"] .kn-about__media::before, .rtl .kn-about__media::before { inset: 18px 18px -14px -14px; }
.kn-about__media img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; display: block; box-shadow: 0 18px 40px rgba(0, 0, 0, .14); }
.kn-about__media:empty { display: none; }
.kn-about__body h2 { font-size: 32px; line-height: 1.5; margin-bottom: 14px; }
.kn-about__body p { color: var(--kn-muted); margin-bottom: 14px; font-size: 16px; }
.kn-about__body .kn-btn { margin-top: 8px; }

/* ---------- Rooms ---------- */
.kn-rooms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.kn-room { position: relative; display: block; min-height: 380px; border-radius: 24px; overflow: hidden; background: #3b2412; box-shadow: var(--kn-shadow); isolation: isolate; }
.kn-room img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; z-index: -2; }
.kn-room:hover img { transform: scale(1.05); }
.kn-room__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(17, 24, 39, .85), rgba(17, 24, 39, 0) 65%); z-index: -1; }
.kn-room__body { position: absolute; inset-inline: 0; bottom: 0; padding: 26px; color: #fff; display: flex; flex-direction: column; gap: 6px; }
.kn-room__body strong { font-size: 24px; line-height: 1.5; color: #fff; }
.kn-room__body span { color: #e5e7eb; font-size: 15px; }
.kn-room__body em { font-style: normal; font-weight: 700; color: #bfdbfe; margin-top: 4px; }

/* ---------- Cards ---------- */
.kn-grid { display: grid; gap: 22px; }
.kn-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kn-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kn-card { display: flex; flex-direction: column; background: var(--kn-card); border: 1px solid var(--kn-line); border-radius: 20px; overflow: hidden; box-shadow: var(--kn-shadow); transition: transform .25s, box-shadow .25s; color: inherit; }
.kn-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(0, 0, 0, .09); }
.kn-card__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #f3f4f6; }
.kn-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.kn-card:hover .kn-card__img img { transform: scale(1.05); }
.kn-card__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 20px; }
.kn-card__body strong { color: #111827; font-size: 16px; line-height: 1.7; }
.kn-card__body span { color: var(--kn-muted); font-size: 14px; line-height: 1.9; }
.kn-card--wide { flex-direction: row; }
.kn-card--wide .kn-card__img { flex: 0 0 42%; aspect-ratio: auto; min-height: 190px; }
.kn-card--wide .kn-card__body { padding: 20px; justify-content: center; }

/* ---------- Reservation band ---------- */
.kn-reserve { margin-top: 88px; }
.kn-reserve__box {
	position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
	background: #111827; color: #e5e7eb; border-radius: 28px; padding: 40px;
}
.kn-reserve__box::after { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: var(--kn-accent); filter: blur(100px); opacity: .45; inset-block-start: -140px; inset-inline-start: -80px; pointer-events: none; }
.kn-reserve__box > * { position: relative; z-index: 1; }
.kn-reserve h2 { color: #fff; font-size: 28px; line-height: 1.6; margin-bottom: 8px; }
.kn-reserve p { color: #cbd5e1; max-width: 460px; }
.kn-reserve__phones { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.kn-reserve__phones a:not(.kn-btn) { display: flex; flex-direction: column; gap: 2px; padding: 12px 18px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 14px; color: #fff; transition: background .2s; text-align: center; }
.kn-reserve__phones a:not(.kn-btn):hover { background: rgba(255, 255, 255, .16); }
.kn-reserve__phones small { color: #cbd5e1; font-size: 12px; }
.kn-reserve__phones strong { font-size: 18px; letter-spacing: 0; }

/* ---------- News + guests ---------- */
.kn-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.kn-news__item { display: flex; gap: 14px; align-items: center; padding: 12px; background: #fff; border: 1px solid var(--kn-line); border-radius: 18px; margin-bottom: 12px; box-shadow: var(--kn-shadow); color: inherit; transition: transform .2s; }
.kn-news__item:hover { transform: translateY(-2px); }
.kn-news__item img { width: 92px; height: 72px; object-fit: cover; border-radius: 12px; flex: 0 0 auto; }
.kn-news__item span { display: flex; flex-direction: column; gap: 2px; }
.kn-news__item small { color: #6b7280; font-size: 12px; }
.kn-news__item strong { color: #111827; font-size: 15px; line-height: 1.8; }
.kn-quote { margin: 0 0 12px; padding: 18px 20px; background: #fff; border: 1px solid var(--kn-line); border-radius: 18px; box-shadow: var(--kn-shadow); }
.kn-quote blockquote { font-style: normal; margin: 0 0 12px; padding: 0; border: 0; background: none; color: #374151; font-size: 15px; line-height: 2; }
.kn-quote blockquote::before { content: "“"; font-size: 34px; line-height: 0; vertical-align: -12px; color: var(--kn-accent); margin-inline-end: 6px; }
.kn-quote figcaption { display: flex; align-items: center; gap: 10px; font-weight: 700; color: #111827; font-size: 14px; }
.kn-quote figcaption img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.kn-more { display: inline-block; margin-top: 6px; font-weight: 700; color: var(--kn-accent-dark); }

/* ---------- Map ---------- */
.kn-map { display: grid; grid-template-columns: .9fr 1.3fr; gap: 32px; align-items: stretch; }
.kn-map__info h2 { font-size: 30px; line-height: 1.5; margin-bottom: 12px; }
.kn-map__info p { color: var(--kn-muted); margin-bottom: 8px; }
.kn-map__en { direction: ltr; text-align: start; font-size: 13px; color: #6b7280 !important; margin-bottom: 20px !important; }
.kn-map__info { background: #fff; border: 1px solid var(--kn-line); border-radius: 24px; padding: 30px; box-shadow: var(--kn-shadow); }
.kn-map__frame { border-radius: 24px; overflow: hidden; border: 1px solid var(--kn-line); box-shadow: var(--kn-shadow); min-height: 320px; background: #e5e7eb; }
.kn-map__frame iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* ---------- Menu button + mobile call bar (all pages) ---------- */
.main-navigation li.kn-menu-cta > a, .main-navigation .kn-menu-cta a {
	background: linear-gradient(to top, var(--kn-accent-dark), var(--kn-accent)); color: #fff !important; margin-inline-start: 8px; font-weight: 700;
}
.main-navigation li.kn-menu-cta:hover > a { background: linear-gradient(to top, #1d4ed8, #2563eb); color: #fff; }
.kn-callbar { display: none; }
@media (max-width: 768px) {
	.kn-callbar {
		display: flex; align-items: center; justify-content: center; gap: 8px; position: fixed; z-index: 90; inset-inline: 12px; bottom: 12px;
		padding: 12px 16px; border-radius: 16px; color: #fff !important; font-weight: 700; font-size: 15px; text-decoration: none;
		background: linear-gradient(to top, var(--kn-accent-dark), var(--kn-accent)); box-shadow: 0 10px 28px rgba(37, 99, 235, .4);
	}
	body { padding-bottom: 76px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
	.kn-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.kn-about, .kn-map, .kn-duo { grid-template-columns: 1fr; }
	.kn-about { gap: 28px; }
	.kn-highlights ul { grid-template-columns: repeat(2, 1fr); row-gap: 14px; }
	.kn-highlights li:nth-child(3) { border-inline-start: 0; }
}
@media (max-width: 640px) {
	.kn-section { margin-top: 64px; }
	.kn-container { padding-inline: 16px; }
	.kn-hero { min-height: 540px; border-radius: 22px; }
	.kn-hero__content { padding-block: 40px 58px; }
	.kn-head h2, .kn-about__body h2 { font-size: 26px; }
	.kn-rooms, .kn-grid--2 { grid-template-columns: 1fr; }
	.kn-room { min-height: 320px; }
	.kn-grid--4 { grid-template-columns: 1fr 1fr; gap: 14px; }
	.kn-card--wide { flex-direction: column; }
	.kn-card--wide .kn-card__img { flex: none; aspect-ratio: 16 / 10; }
	.kn-reserve__box { padding: 28px 22px; }
	.kn-reserve h2 { font-size: 22px; }
	.kn-reserve__phones { width: 100%; }
	.kn-reserve__phones a:not(.kn-btn) { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.kn-hero__slide { animation: none; }
	.kn-hero__slide:first-child { opacity: 1; }
}
