/*
Theme Name:       SunShine Anapa
Theme URI:        https://kuban23.ru/
Author:           SunShine
Description:      Тема WordPress для гостевого дома «SunShine» в Анапе: современный лендинг, страницы номеров и услуг, галерея, отзывы.
Version:          1.1.0
Requires at least: 6.0
Requires PHP:      7.4
License:          GPL-2.0-or-later
License URI:      https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:      sunshine

Design system:    Florence (florence) — all design tokens are prefixed with --ds-*
*/

/* ==========================================================================
   DESIGN TOKENS — Морская / Южная палитра (Sea & Sand)
   ========================================================================== */
body.florence {
	/* Новая спокойная палитра */
	--ds-accent: #2a9d8f;         /* Спокойный морской бирюзовый (вместо красного) */
	--ds-accent-ink: #ffffff;
	--ds-dark: #264653;           /* Глубокий морской синий (для футера и темных секций) */
	--ds-ink: #2c3e50;            /* Мягкий темный грифель (вместо жесткого черного) */
	--ds-muted: #6b8e9e;          /* Приглушенный серо-голубой для второстепенного текста */
	--ds-bg: #ffffff;
	--ds-surface: #eef5f3;        /* Очень светлый оттенок морской пены / теплый песочный */
	--ds-line: #d4e4e0;           /* Мягкая бирюзовая линия для границ и разделителей */
	--ds-on-dark: #ffffff;

	/* Шрифты и размеры остаются без изменений */
	--ds-font-head: 'Playfair Display', Georgia, serif;
	--ds-font-body: 'Jost', 'Segoe UI', Arial, sans-serif;
	--ds-font-script: 'Playfair Display', Georgia, serif;
	--ds-font-brush: var(--ds-font-script);

	--ds-radius: 10px;
	--ds-radius-pill: 50px;

	--ds-shadow: 0 24px 54px -34px rgba(38, 70, 83, 0.35); /* Тень слегка подкрашена в морской оттенок */
	--ds-container: 1200px;
	--ds-section-y: 90px;
}

/* ==========================================================================
   BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

body.florence { margin: 0; font-family: var(--ds-font-body); color: var(--ds-ink); background: var(--ds-bg); line-height: 1.6; }

body.florence h1, body.florence h2, body.florence h3, body.florence h4 {
	font-family: var(--ds-font-head);
	font-weight: 400;
	line-height: 1.15;
	color: var(--ds-ink);
	margin: 0 0 0.5em;
	text-wrap: balance;
}
body.florence h1:last-child, body.florence h2:last-child, body.florence h3:last-child { margin-bottom: 0; }

body.florence p { margin: 0 0 1em; }
body.florence img { max-width: 100%; height: auto; display: block; }
body.florence a { color: inherit; }
body.florence ul, body.florence ol { margin: 0; padding: 0; list-style: none; }
body.florence section, body.florence footer, body.florence header, body.florence main { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

.sec { font-family: var(--ds-font-body); color: var(--ds-ink); background: var(--ds-bg); }
.sec * { box-sizing: border-box; }
.sec-wrap { width: 100%; max-width: var(--ds-container); margin: 0 auto; padding: 0 24px; }

/* ==========================================================================
   COMMON TYPOGRAPHY + CONTROLS
   ========================================================================== */
.sec-eyebrow {
	font-family: var(--ds-font-body);
	font-weight: 600;
	font-size: 11.5px;
	line-height: 1;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--ds-accent);
}
.sec-eyebrow--light { color: var(--ds-on-dark); opacity: 0.8; }
.sec-eyebrow--center { display: block; text-align: center; }

.sec-title { font-family: var(--ds-font-head); font-weight: 400; line-height: 1.1; color: var(--ds-ink); margin: 0; }
.sec-h1 { font-size: clamp(34px, 4.6vw, 60px); }
.sec-h1--upper { text-transform: uppercase; letter-spacing: 0.01em; }

.sec-lead { font-size: 17px; line-height: 1.75; color: var(--ds-muted); margin: 0; }
.sec-lead--light { color: var(--ds-on-dark); opacity: 0.82; }

.sec-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 32px;
	border: 1px solid transparent;
	border-radius: var(--ds-radius-pill);
	background: var(--ds-accent);
	color: var(--ds-accent-ink);
	font-family: var(--ds-font-body);
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
	transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.sec-btn:hover { transform: translateY(-2px); box-shadow: var(--ds-shadow); }
.sec-btn--ghost { background: transparent; border-color: var(--ds-line); color: var(--ds-ink); }
.sec-btn--ghost:hover { background: var(--ds-ink); border-color: var(--ds-ink); color: var(--ds-bg); }
.sec-btn--light { background: var(--ds-on-dark); color: var(--ds-ink); }
.sec-btn--light:hover { background: var(--ds-surface); }
.sec-btn--ghost-light { background: transparent; border-color: rgba(255, 255, 255, 0.55); color: var(--ds-on-dark); }
.sec-btn--ghost-light:hover { background: var(--ds-on-dark); color: var(--ds-ink); }
.sec-btn--sm { min-height: 44px; padding: 0 22px; font-size: 12px; }
.sec-btn--block { width: 100%; }

/* Ссылки-кнопки: цвет не должен наследоваться от родителя */
body.florence a.sec-btn { color: var(--ds-accent-ink); }
body.florence a.sec-btn--ghost { color: var(--ds-ink); }
body.florence a.sec-btn--ghost:hover { color: var(--ds-bg); }
body.florence a.sec-btn--light { color: var(--ds-ink); }
body.florence a.sec-btn--light:hover { color: var(--ds-ink); }
body.florence a.sec-btn--ghost-light { color: var(--ds-on-dark); }
body.florence a.sec-btn--ghost-light:hover { color: var(--ds-ink); }

.sec-photo {
	background: linear-gradient(155deg, var(--ds-surface) 0%, var(--ds-dark) 130%);
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.55);
	font-family: var(--ds-font-body);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	text-align: center;
	padding: 0 20px;
}
.sec-photo.has-photo { background-size: cover; background-position: center; }
.sec-photo.has-photo > span { display: none; }

.ico { display: inline-block; width: 34px; height: 34px; flex: none; }
.ico--s { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ico--f { fill: currentColor; }

.sec-section { padding: var(--ds-section-y) 0; }

@media (max-width: 640px) {
	.sec-wrap { padding: 0 18px; }
	.sec-btn { min-height: 48px; padding: 0 24px; font-size: 12px; }
}

/* ---------- Reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
	[data-wh-reveal] { transition: opacity 900ms cubic-bezier(0.16, 1, 0.3, 1); }
	[data-wh-reveal].wh-reveal-lift { transition: opacity 900ms cubic-bezier(0.16, 1, 0.3, 1), translate 900ms cubic-bezier(0.16, 1, 0.3, 1); }
	[data-wh-reveal].wh-reveal-pending { opacity: 0; }
	[data-wh-reveal].wh-reveal-pending.wh-reveal-lift { translate: 0 26px; }
}
@media print { [data-wh-reveal].wh-reveal-pending { opacity: 1; translate: none; } }

/* ==========================================================================
   HEADER — light
   ========================================================================== */
.sec-header { background: var(--ds-bg); border-bottom: 1px solid var(--ds-line); }
.sec-header__in { display: flex; align-items: center; justify-content: space-between; gap: 26px; min-height: 76px; }
.sec-header__logo { font-family: var(--ds-font-head); font-size: 24px; color: var(--ds-ink); text-decoration: none; line-height: 1; display: inline-flex; flex-direction: column; }
.sec-header__logo span { font-family: var(--ds-font-body); font-size: 9.5px; font-weight: 500; line-height: 1; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ds-muted); margin-top: 7px; }
.sec-header__nav { display: flex; gap: 26px; }
.sec-header__nav a { font-family: var(--ds-font-body); font-size: 13px; font-weight: 500; line-height: 1; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ds-ink); text-decoration: none; position: relative; padding: 6px 0; transition: color 0.3s; }
.sec-header__nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--ds-accent); transform: scaleX(0); transform-origin: left; transition: transform 0.3s; }
.sec-header__nav a:hover, .sec-header__nav a.is-active { color: var(--ds-accent); }
.sec-header__nav a:hover::after, .sec-header__nav a.is-active::after { transform: scaleX(1); }
.sec-header__actions { display: flex; align-items: center; gap: 18px; }
.sec-header__tel { font-family: var(--ds-font-body); font-size: 14px; font-weight: 500; line-height: 1; color: var(--ds-ink); text-decoration: none; white-space: nowrap; }
.sec-header__tel:hover { color: var(--ds-accent); }
.sec-header__burger { display: none; width: 42px; height: 42px; border: 1px solid var(--ds-line); border-radius: var(--ds-radius); background: transparent; cursor: pointer; padding: 11px 9px; }
.sec-header__burger span { display: block; height: 2px; background: var(--ds-ink); border-radius: 2px; }
.sec-header__burger span + span { margin-top: 5px; }
@media (max-width: 1080px) { .sec-header__nav { display: none; } .sec-header__burger { display: block; } }
@media (max-width: 640px) { .sec-header__tel { display: none; } }
/* Keep the full site menu on one line at desktop widths. */
.sec-header__logo { font-size: 21px; white-space: nowrap; }
.sec-header__nav { gap: 20px; }
.sec-header__nav a { font-size: 12px; white-space: nowrap; }
@media (max-width: 1180px) { .sec-header__nav { gap: 14px; } .sec-header__nav a { font-size: 11px; } }

/* Десктоп: держим шапку в одну строку */
@media (min-width: 1081px) {
	.sec-header .sec-wrap { max-width: 1360px; }
	.sec-header__in { gap: 18px; }
	.sec-header__nav { gap: 15px; }
	.sec-header__nav a { font-size: 11.5px; letter-spacing: 0.05em; }
	.sec-header__actions { gap: 14px; }
	.sec-header__tel { font-size: 13px; }
	.sec-header .sec-btn--sm { min-height: 44px; padding: 0 20px; font-size: 11px; letter-spacing: 0.08em; }
}
@media (max-width: 1220px) and (min-width: 1081px) {
	.sec-header__logo span { display: none; }
	.sec-header__logo { font-size: 19px; }
}

/* ==========================================================================
   HERO — full screen
   ========================================================================== */
.sec-hero--full { position: relative; min-height: min(90vh, 780px); display: flex; align-items: center; overflow: hidden; }
.sec-hero--full .sec-hf__bg { position: absolute; inset: 0; }
.sec-hero--full .sec-hf__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9, 15, 23, 0.45), rgba(9, 15, 23, 0.78)); }
.sec-hero--full .sec-hf__in { position: relative; z-index: 2; text-align: center; padding-top: 120px; padding-bottom: 130px; }
.sec-hero--full .sec-hf__title { font-family: var(--ds-font-script); line-height: 1.02; color: var(--ds-on-dark); max-width: 900px; margin: 20px auto 22px; }
.sec-hero--full .sec-hf__lead { max-width: 620px; margin: 0 auto 36px; }
.sec-hero--full .sec-hf__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.sec-hf__nav { position: absolute; left: 0; right: 0; bottom: 30px; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 0 24px; pointer-events: none; }
.sec-hf__nav span { width: 9px; height: 9px; border: 1px solid rgba(255, 255, 255, 0.65); border-radius: var(--ds-radius-pill); background: transparent; pointer-events: auto; cursor: pointer; transition: background 0.3s, border-color 0.3s, width 0.3s; }
.sec-hf__nav span:hover { background: rgba(255, 255, 255, 0.35); }
.sec-hf__nav span.is-active { width: 26px; background: var(--ds-on-dark); border-color: var(--ds-on-dark); }
@media (max-width: 760px) { .sec-hero--full .sec-hf__in { padding-top: 92px; padding-bottom: 96px; } }

/* ==========================================================================
   BOOKING — панель с виджетом HotelPMS
   ========================================================================== */
.sec-booking { background: var(--ds-dark); padding: 64px 0; }
.sec-booking__in { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
body.florence .sec-booking__title { color: var(--ds-on-dark); font-size: clamp(24px, 2.7vw, 36px); margin: 16px 0 16px; }
.sec-booking__note { color: var(--ds-on-dark); opacity: 0.74; font-size: 15.5px; line-height: 1.7; max-width: 420px; margin: 0 0 26px; }
.sec-booking__phone span { display: block; font-family: var(--ds-font-body); font-size: 10.5px; font-weight: 500; line-height: 1; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ds-on-dark); opacity: 0.6; margin-bottom: 9px; }
.sec-booking__phone b { font-family: var(--ds-font-body); font-size: 21px; font-weight: 600; line-height: 1; }
.sec-booking__phone a { color: var(--ds-on-dark); text-decoration: none; }
.sec-booking__phone a:hover { color: var(--ds-accent); }

.sec-booking__panel { background: var(--ds-bg); border-radius: var(--ds-radius); box-shadow: var(--ds-shadow); padding: 22px 24px 18px; }
.sec-booking__widget { min-height: 0; }
.sec-booking__widget:empty { display: none; }

/* Резервный вариант — виден, пока виджет не отрисовался */
.sec-booking__fallback-title { margin: 0 0 14px; font-family: var(--ds-font-head); font-size: 19px; line-height: 1.3; color: var(--ds-ink); text-align: center; }
.sec-booking__fallback-note { margin: 14px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--ds-muted); text-align: center; }
.sec-booking__fallback-note a { color: var(--ds-ink); font-weight: 600; text-decoration: none; white-space: nowrap; }
.sec-booking__fallback-note a:hover { color: var(--ds-accent); }

.sec-booking__panel.is-widget-ready .sec-booking__fallback,
.sec-booking__panel:has(.sec-booking__widget:not(:empty)) .sec-booking__fallback { display: none; }

/* Виджет HotelPMS внутри карточки — не ломаем сетку формы */
.sec-booking__widget form { margin: 0; }
.sec-booking__widget iframe { width: 100%; border: 0; display: block; }

@media (max-width: 900px) {
	.sec-booking { padding: 48px 0; }
	.sec-booking__in { grid-template-columns: minmax(0, 1fr); gap: 30px; }
	.sec-booking__note { max-width: none; }
}
@media (max-width: 560px) {
	.sec-booking { padding: 40px 0; }
	.sec-booking__panel { padding: 14px; }
}

form[data-wh-form] { margin-block: 0; min-width: 0; --wh-control-height: 54px; }
form[data-wh-form] [data-wh-field] { display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; gap: 8px; }
form[data-wh-form] [data-wh-field] > span { margin-bottom: 0; line-height: 1.25; }
form[data-wh-form] :is(input:not([type='checkbox']), select, textarea) { min-width: 0; max-width: 100%; box-sizing: border-box; }
form[data-wh-form] input:not([type='checkbox']), form[data-wh-form] select { height: var(--wh-control-height); min-height: var(--wh-control-height); }
form[data-wh-form] :is(input, select) { width: 100%; min-width: 0; height: var(--wh-control-height); min-height: var(--wh-control-height); padding: 0 14px; border: 1px solid var(--ds-line); border-radius: var(--ds-radius); background: var(--ds-bg); color: var(--ds-ink); font-family: var(--ds-font-body); font-size: 15px; line-height: normal; letter-spacing: normal; text-transform: none; color-scheme: light; }
form[data-wh-form] :is(input, select) option { color: var(--ds-ink); background: var(--ds-bg); }
form[data-wh-form] button[type='submit'] { align-self: end; height: var(--wh-control-height); min-height: var(--wh-control-height); padding-block: 0; line-height: 1.25; }
form[data-wh-form] button[type='submit']:disabled { opacity: 0.65; cursor: wait; }
form[data-wh-form] :is(input, select, textarea, button):focus-visible { outline: 2px solid var(--ds-accent); outline-offset: 3px; }
form[data-wh-form-status] { flex: 1 0 100%; grid-column: 1 / -1; margin: 12px 0 0; padding: 12px 14px; border: 1px solid var(--ds-line); border-radius: var(--ds-radius); background: var(--ds-bg); color: var(--ds-ink); font-family: var(--ds-font-body); font-size: 14px; line-height: 1.5; letter-spacing: normal; text-transform: none; overflow-wrap: anywhere; }
form[data-wh-form-status][hidden] { display: none !important; }
form[data-wh-form-status][data-state='error'] { border-left: 3px solid #a53030; } /* Оставляем красный для ошибок (UX) */
form[data-wh-form-status][data-state='success'] { border-left: 3px solid #287846; } /* Оставляем зеленый для успеха (UX) */
.wh-form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); pointer-events: none; }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.sec-about__grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 70px; align-items: center; }
.sec-about__title { margin: 16px 0 20px; }
.sec-about__text { margin-bottom: 32px; max-width: 520px; }
.sec-about__btns { display: flex; gap: 14px; flex-wrap: wrap; }
.sec-about__media { position: relative; }
.sec-about__photo { aspect-ratio: 4 / 3.5; border-radius: var(--ds-radius); overflow: hidden; box-shadow: var(--ds-shadow); }
.sec-about__photo-sm { position: absolute; left: -34px; bottom: -30px; width: 44%; aspect-ratio: 4 / 3; border: 8px solid var(--ds-bg); border-radius: var(--ds-radius); overflow: hidden; box-shadow: var(--ds-shadow); }
.sec-about__fact { position: absolute; top: -22px; right: -22px; background: var(--ds-bg); border-radius: var(--ds-radius); box-shadow: var(--ds-shadow); padding: 16px 20px; max-width: 160px; }
.sec-about__fact b { display: block; font-family: var(--ds-font-head); font-size: 30px; line-height: 1; color: var(--ds-ink); }
.sec-about__fact span { display: block; margin-top: 8px; font-size: 11.5px; line-height: 1.5; color: var(--ds-muted); }
@media (max-width: 900px) { .sec-about__grid { grid-template-columns: 1fr; gap: 60px; } .sec-about__fact { right: 0; } }

/* ==========================================================================
   ADVANTAGES
   ========================================================================== */
.sec-adv__title { text-align: center; margin: 14px 0 44px; }
.sec-adv__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.sec-adv__item { background: var(--ds-bg); border-radius: var(--ds-radius); padding: 26px 12px 22px; text-align: center; box-shadow: 0 16px 34px -28px rgba(0, 0, 0, 0.45); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.sec-adv__item:hover { transform: translateY(-4px); box-shadow: var(--ds-shadow); }
.sec-adv__item svg { width: 32px; height: 32px; fill: none; stroke: var(--ds-ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.3s; }
.sec-adv__item:hover svg { stroke: var(--ds-accent); }
.sec-adv__item b { display: block; margin-top: 14px; font-family: var(--ds-font-body); font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--ds-ink); }
@media (max-width: 1024px) { .sec-adv__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .sec-adv__grid { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   ROOMS
   ========================================================================== */
.sec-rcd__head { max-width: 620px; margin: 0 0 46px auto; text-align: right; }
.sec-rcd__title { margin-bottom: 16px; }
.sec-rcd__lead { margin: 0 0 0 auto; max-width: 520px; }
.sec-rcd__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.sec-rcd__card { display: flex; flex-direction: column; }
.sec-rcd__photo { aspect-ratio: 4 / 3.2; border-radius: var(--ds-radius); overflow: hidden; }
.sec-rcd__label { display: flex; align-items: center; gap: 12px; margin: 20px 0 10px; font-family: var(--ds-font-body); font-size: 11px; font-weight: 600; line-height: 1; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ds-accent); }
.sec-rcd__label::after { content: ""; flex: 1; height: 1px; background: var(--ds-line); }
.sec-rcd__name { margin: 22px 0 12px; font-family: var(--ds-font-head); font-size: 26px; font-weight: 400; line-height: 1.2; color: var(--ds-ink); }
.sec-rcd__desc { margin: 0 0 22px; font-size: 14.5px; line-height: 1.7; color: var(--ds-muted); }
.sec-rcd__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: auto; }
.sec-rcd__price { text-align: right; }
.sec-rcd__price i { font-style: normal; display: block; font-family: var(--ds-font-body); font-size: 10.5px; font-weight: 500; line-height: 1; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ds-muted); margin-bottom: 4px; }
.sec-rcd__price b { font-family: var(--ds-font-head); font-size: 22px; font-weight: 500; line-height: 1; color: var(--ds-ink); }
@media (max-width: 900px) { .sec-rcd__head { text-align: left; margin-left: 0; } .sec-rcd__grid { grid-template-columns: 1fr; gap: 34px; max-width: 460px; } }

/* ==========================================================================
   SERVICES
   ========================================================================== */
.sec-services__head { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 48px; align-items: end; margin-bottom: 48px; }
.sec-services__title { margin-top: 14px; max-width: 460px; }
.sec-services__lead { max-width: 460px; }
.sec-services__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; }
.sec-services__item { padding: 20px 0; border-top: 1px solid var(--ds-line); }
.sec-services__item b { display: block; font-family: var(--ds-font-head); font-size: 18px; font-weight: 500; line-height: 1.3; color: var(--ds-ink); margin-bottom: 6px; }
.sec-services__item span { font-size: 14.5px; line-height: 1.6; color: var(--ds-muted); }
@media (max-width: 860px) { .sec-services__head, .sec-services__grid { grid-template-columns: 1fr; } .sec-services__head { gap: 14px; } }

/* ==========================================================================
   GALLERY — bento
   ========================================================================== */
.sec-gbento__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.sec-gbento__title { margin-top: 14px; }
.sec-gbento__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 225px; gap: 16px; }
.sec-gbento__i { border-radius: var(--ds-radius); overflow: hidden; }
.sec-gbento__i--big { grid-column: span 2; grid-row: span 2; }
@media (max-width: 860px) { .sec-gbento__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; } }

/* ==========================================================================
   STATS
   ========================================================================== */
.sec-stats2 { padding: 56px 0; }
.sec-stats2__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.sec-stats2__item { text-align: center; padding: 8px 22px; border-left: 1px solid var(--ds-line); }
.sec-stats2__item:first-child { border-left: 0; }
.sec-stats2__item b { display: block; font-family: var(--ds-font-head); font-size: 46px; font-weight: 400; line-height: 1; color: var(--ds-ink); }
.sec-stats2__item span { display: block; margin-top: 12px; font-family: var(--ds-font-body); font-size: 11.5px; font-weight: 500; line-height: 1.5; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ds-muted); }
@media (max-width: 860px) { .sec-stats2__grid { grid-template-columns: repeat(2, 1fr); gap: 30px 0; } .sec-stats2__item:nth-child(3) { border-left: 0; } }
@media (max-width: 480px) { .sec-stats2__grid { grid-template-columns: 1fr; gap: 0; } .sec-stats2__item { border-left: 0; border-top: 1px solid var(--ds-line); padding: 22px; } .sec-stats2__item:first-child { border-top: 0; } }

/* ==========================================================================
   REVIEWS
   ========================================================================== */
.sec-rbq__grid { display: grid; grid-template-columns: 260px 1fr; gap: 60px; align-items: center; }
.sec-rbq__who { text-align: center; }
.sec-rbq__ava { width: 180px; height: 180px; margin: 0 auto 18px; border-radius: var(--ds-radius-pill); overflow: hidden; }
.sec-rbq__who b { display: block; font-family: var(--ds-font-head); font-size: 18px; font-weight: 500; line-height: 1.3; color: var(--ds-ink); }
.sec-rbq__who span { display: block; margin-top: 8px; font-family: var(--ds-font-body); font-size: 11px; font-weight: 500; line-height: 1.4; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ds-muted); }
.sec-rbq__q { font-family: var(--ds-font-head); font-size: 76px; font-weight: 400; line-height: 0.6; color: var(--ds-line); height: 40px; }
.sec-rbq__quote { margin: 0; font-family: var(--ds-font-head); font-style: italic; font-size: 26px; font-weight: 400; line-height: 1.55; color: var(--ds-ink); }
.sec-rbq__nav { display: flex; gap: 12px; justify-content: flex-end; margin-top: 30px; }
.sec-rbq__nav span { width: 48px; height: 48px; border-radius: var(--ds-radius-pill); background: var(--ds-accent); color: var(--ds-accent-ink); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; cursor: pointer; transition: opacity 0.3s; }
.sec-rbq__nav span:first-child { background: var(--ds-surface); color: var(--ds-ink); }
.sec-rbq__nav span:hover { opacity: 0.85; }
@media (max-width: 860px) { .sec-rbq__grid { grid-template-columns: 1fr; gap: 30px; text-align: center; } .sec-rbq__quote { font-size: 20px; } .sec-rbq__q { height: auto; } .sec-rbq__nav { justify-content: center; } }

/* ==========================================================================
   LOCATION
   ========================================================================== */
.sec-loc2 { position: relative; }
.sec-loc2__map { height: 540px; }
.sec-loc2__in { position: absolute; left: 0; right: 0; bottom: 52px; }
.sec-loc2__card { background: var(--ds-bg); border-radius: var(--ds-radius); box-shadow: var(--ds-shadow); padding: 30px 32px 28px; max-width: 420px; }
.sec-loc2__logo { font-family: var(--ds-font-head); font-size: 22px; font-weight: 500; line-height: 1; color: var(--ds-ink); margin-bottom: 12px; }
.sec-loc2__logo b { color: var(--ds-accent); font-weight: inherit; }
.sec-loc2__rate { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ds-muted); margin-bottom: 18px; }
.sec-loc2__stars { color: var(--ds-accent); letter-spacing: 2px; }
.sec-loc2__list { list-style: none; margin: 0 0 22px; padding: 0; }
.sec-loc2__list li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--ds-line); font-size: 14.5px; line-height: 1.5; color: var(--ds-ink); }
.sec-loc2__list li:last-child { border-bottom: 1px solid var(--ds-line); }
.sec-loc2__list i { font-style: normal; color: var(--ds-accent); font-size: 11px; margin-top: 4px; }
.sec-loc2__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.sec-loc2__list a { color: inherit; text-decoration: none; }
.sec-loc2__list a:hover { color: var(--ds-accent); }
@media (max-width: 760px) { .sec-loc2__map { height: 320px; } .sec-loc2__in { position: static; } .sec-loc2__card { max-width: none; margin: -44px 0 0; position: relative; } }

/* ==========================================================================
   FAQ
   ========================================================================== */
.sec-fqg__title { text-align: center; margin: 14px 0 44px; }
.sec-fqg__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
.sec-fqg__card { padding: 22px 0; border-top: 1px solid var(--ds-line); }
.sec-fqg__card b { display: block; font-family: var(--ds-font-head); font-size: 18px; font-weight: 500; line-height: 1.3; color: var(--ds-ink); margin-bottom: 8px; }
.sec-fqg__card span { font-size: 14.5px; line-height: 1.7; color: var(--ds-muted); }
@media (max-width: 860px) { .sec-fqg__grid { grid-template-columns: 1fr; gap: 0; } }

/* ==========================================================================
   CTA — photo banner
   ========================================================================== */
.sec-cta { position: relative; overflow: hidden; }
.sec-cta__bg { position: absolute; inset: 0; }
.sec-cta__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9, 15, 23, 0.62), rgba(9, 15, 23, 0.86)); }
.sec-cta__in { position: relative; z-index: 2; text-align: center; padding-top: 110px; padding-bottom: 110px; }
body.florence .sec-cta__title { color: var(--ds-on-dark); max-width: 820px; margin: 0 auto 20px; }
.sec-cta__text { max-width: 540px; margin: 0 auto 34px; }

/* ==========================================================================
   FOOTER — dark
   ========================================================================== */
.sec-ftr2 { background: var(--ds-dark); color: var(--ds-on-dark); padding: 64px 0 30px; }
.sec-ftr2__top { display: grid; grid-template-columns: 1.2fr 0.8fr 1fr 1.1fr; gap: 36px; align-items: start; }
.sec-ftr2__logo { font-family: var(--ds-font-head); font-size: 24px; font-weight: 500; line-height: 1; margin-bottom: 16px; color: var(--ds-on-dark); }
.sec-ftr2__logo b { color: var(--ds-accent); font-weight: inherit; }
.sec-ftr2__about { font-size: 14px; line-height: 1.7; opacity: 0.72; margin: 0 0 20px; max-width: 320px; }
.sec-ftr2__social { display: flex; gap: 10px; }
.sec-ftr2__social a { width: 40px; height: 40px; border-radius: var(--ds-radius-pill); border: 1px solid rgba(255, 255, 255, 0.25); display: inline-flex; align-items: center; justify-content: center; font-family: var(--ds-font-body); font-size: 12px; font-weight: 600; line-height: 1; text-transform: uppercase; color: var(--ds-on-dark); text-decoration: none; transition: background 0.3s, border-color 0.3s; }
.sec-ftr2__social a:hover { background: var(--ds-accent); border-color: var(--ds-accent); }
.sec-ftr2__col > b { display: block; font-family: var(--ds-font-body); font-size: 12px; font-weight: 600; line-height: 1; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.6; margin-bottom: 18px; }
.sec-ftr2__nav a, .sec-ftr2__col > a:not(.sec-btn) { display: block; font-family: var(--ds-font-body); font-size: 14.5px; font-weight: 400; line-height: 1.6; color: var(--ds-on-dark); opacity: 0.85; text-decoration: none; padding: 6px 0; transition: opacity 0.3s, color 0.3s; }
.sec-ftr2__nav a:hover, .sec-ftr2__col > a:not(.sec-btn):hover { opacity: 1; color: var(--ds-accent); }
.sec-ftr2__col > span { display: block; font-size: 14.5px; line-height: 1.6; opacity: 0.85; padding: 6px 0; }
.sec-ftr2__route { margin-top: 16px; }
.sec-ftr2__map { aspect-ratio: 4 / 3.4; border-radius: var(--ds-radius); overflow: hidden; }
.sec-ftr2__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 12.5px; opacity: 0.65; }
.sec-ftr2__bottom a { color: inherit; }
@media (max-width: 980px) { .sec-ftr2__top { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 620px) { .sec-ftr2__top { grid-template-columns: 1fr; } }

/* ==========================================================================
   CONTACT WIDGET — floating buttons + bottom bar
   ========================================================================== */
body.florence .cw { position: fixed; right: 20px; bottom: 20px; z-index: 8000; display: flex; flex-direction: column; gap: 12px; }
body.florence .cw__btn { position: relative; display: grid; place-items: center; width: 52px; height: 52px; margin: 0; padding: 0; border: 0; border-radius: var(--ds-radius-pill); background: var(--ds-dark); color: var(--ds-on-dark); text-decoration: none; box-shadow: 0 14px 28px -16px rgba(0, 0, 0, 0.65); cursor: pointer; transition: transform 0.3s ease, box-shadow 0.3s ease; }
body.florence .cw__btn:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 18px 32px -16px rgba(0, 0, 0, 0.7); }
body.florence .cw__btn svg { width: 24px; height: 24px; }
body.florence .cw__btn--whatsapp { background: #25d366; } /* Бренд-цвет WhatsApp сохраняем */
body.florence .cw__btn--whatsapp svg { fill: #ffffff; stroke: none; }
body.florence .cw__btn--max { background: linear-gradient(135deg, #00c4ff 0%, #2d2dff 55%, #8114ff 100%); } /* Бренд-цвет MAX сохраняем */
body.florence .cw__btn--max svg { fill: #ffffff; }
body.florence .cw__btn--phone { background: var(--ds-accent); }
body.florence .cw__btn--phone svg { fill: #ffffff; }
body.florence .cw__btn--mobile { display: none; }
body.florence .cw__label { position: absolute; right: calc(100% + 10px); top: 50%; transform: translate(6px, -50%); opacity: 0; pointer-events: none; padding: 7px 12px; border-radius: 6px; background: var(--ds-dark); color: var(--ds-on-dark); font-family: var(--ds-font-body); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; line-height: 1.2; text-transform: uppercase; white-space: nowrap; transition: opacity 0.25s ease, transform 0.25s ease; }
body.florence .cw__label::after { content: ""; position: absolute; left: 100%; top: 50%; margin-top: -5px; border: 5px solid transparent; border-left-color: var(--ds-dark); }
body.florence .cw__btn:hover .cw__label,
body.florence .cw__btn:focus-visible .cw__label { opacity: 1; transform: translate(0, -50%); }

body.florence .cw-bar { display: none; }

@media (max-width: 900px) {
	body.florence .cw { display: none; }
	body.florence .cw-bar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 8000; background: var(--ds-surface); color: var(--ds-ink); font-family: var(--ds-font-body); border-top: 1px solid var(--ds-line); box-shadow: 0 -12px 30px -20px rgba(0, 0, 0, 0.4); padding-bottom: env(safe-area-inset-bottom, 0px); }
	body.florence .cw-bar__inner { max-width: var(--ds-container); margin: 0 auto; padding: 8px 12px; display: flex; justify-content: center; gap: 8px; }
	body.florence .cw-bar__item { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: 1 1 0; padding: 10px 8px; color: var(--ds-ink); text-decoration: none; font-size: 12.5px; font-weight: 500; letter-spacing: 0.02em; line-height: 1.2; background: transparent; border: 0; border-radius: var(--ds-radius); cursor: pointer; }
	body.florence .cw-bar__item + .cw-bar__item { border-left: 1px solid var(--ds-line); }
	body.florence .cw-bar__item:active { background: var(--ds-bg); }
	body.florence .cw-bar__item svg { width: 17px; height: 17px; flex: 0 0 auto; fill: currentColor; }
	body.florence .cw-bar__item--whatsapp svg { fill: #25d366; }
	body.florence footer#footer { padding-bottom: 72px; }
}

/* ==========================================================================
   COOKIE NOTICE
   ========================================================================== */
.wh-cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 8500; background: var(--ds-bg); border: 1px solid var(--ds-line); border-radius: var(--ds-radius); box-shadow: var(--ds-shadow); padding: 20px 22px; max-width: 520px; margin: 0 auto; }
.wh-cookie__text { font-size: 13px; line-height: 1.6; color: var(--ds-muted); margin: 0 0 14px; }
.wh-cookie__actions { display: flex; gap: 10px; }
.wh-cookie__button { min-height: 44px; padding: 0 20px; border-radius: var(--ds-radius-pill); border: 1px solid var(--ds-ink); background: transparent; color: var(--ds-ink); font-family: var(--ds-font-body); font-size: 12px; font-weight: 500; line-height: 1; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; }
.wh-cookie__button--primary { background: var(--ds-accent); border-color: var(--ds-accent); color: var(--ds-accent-ink); }

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
.wh-photo { cursor: zoom-in; }
.wh-photo:focus-visible { outline: 3px solid #fff; outline-offset: -3px; }
.wh-lb { position: fixed; inset: 0; z-index: 9000; display: flex; align-items: center; justify-content: center; }
.wh-lb[hidden] { display: none; }
.wh-lb__backdrop { position: absolute; inset: 0; background: rgba(10, 10, 10, 0.92); }
.wh-lb__fig { position: relative; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.wh-lb__img { display: block; max-width: min(1200px, 92vw); max-height: 82vh; width: auto; height: auto; background: #141414; }
.wh-lb__cap { color: #fff; font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 14px; font-weight: 400; line-height: 1.5; text-align: center; max-width: 70ch; margin: 0; }
.wh-lb__count { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); color: rgba(255, 255, 255, 0.72); font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 12px; font-weight: 500; line-height: 1; letter-spacing: 0.12em; }
.wh-lb__nav, .wh-lb__close { position: absolute; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0; border: 0; background: rgba(255, 255, 255, 0.14); color: #fff; font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; cursor: pointer; transition: background 0.2s ease; }
.wh-lb__nav:hover, .wh-lb__close:hover { background: rgba(255, 255, 255, 0.3); }
.wh-lb__nav[hidden] { display: none; }
.wh-lb__nav--prev { top: 50%; left: 18px; transform: translateY(-50%); }
.wh-lb__nav--next { top: 50%; right: 18px; transform: translateY(-50%); }
.wh-lb__close { top: 16px; right: 18px; font-size: 28px; }
@media (max-width: 640px) { .wh-lb__img { max-height: 68vh; } .wh-lb__nav { width: 40px; height: 40px; font-size: 22px; } .wh-lb__nav--prev { left: 8px; } .wh-lb__nav--next { right: 8px; } .wh-lb__close { top: 10px; right: 10px; } }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 980px) {
	.sec-rcd__head { text-align: left; margin-left: 0; }
	.sec-rcd__grid { grid-template-columns: 1fr; gap: 34px; max-width: 460px; }
	.sec-ftr2__top { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 900px) {
	.sec-about__grid { grid-template-columns: 1fr; gap: 60px; }
	.sec-about__fact { right: 0; }
}

@media (max-width: 860px) {
	.sec-adv__grid { grid-template-columns: repeat(3, 1fr); }
	.sec-services__head, .sec-services__grid { grid-template-columns: 1fr; }
	.sec-services__head { gap: 14px; }
	.sec-fqg__grid { grid-template-columns: 1fr; gap: 0; }
	.sec-stats2__grid { grid-template-columns: repeat(2, 1fr); gap: 30px 0; }
	.sec-stats2__item:nth-child(3) { border-left: 0; }
	.sec-rbq__grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
	.sec-rbq__quote { font-size: 20px; }
	.sec-rbq__q { height: auto; }
	.sec-rbq__nav { justify-content: center; }
}

@media (max-width: 760px) {
	.sec-loc2__map { height: 320px; }
	.sec-loc2__in { position: static; }
	.sec-loc2__card { max-width: none; margin: -44px 0 0; position: relative; }
}

/* ==========================================================================
   WORDPRESS — служебные классы, меню, страницы контента
   ========================================================================== */
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body.menu-open { overflow: hidden; }
.admin-bar .sec-header { top: 0; }
.admin-bar .sec-header__nav-wrap { top: 76px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed; top: 12px; left: 12px; z-index: 100000;
	width: auto; height: auto; clip: auto; margin: 0; padding: 12px 18px;
	background: var(--ds-accent); color: #fff; text-decoration: none;
}
body.florence img { max-width: 100%; height: auto; }

/* ---------- Навигация в шапке ---------- */
.sec-header__nav-wrap { display: flex; align-items: center; }
.sec-header__nav { list-style: none; margin: 0; padding: 0; align-items: center; }
.sec-header__nav li { position: relative; }
.sec-header__nav .sub-menu {
	position: absolute; top: 100%; left: 0; z-index: 40;
	min-width: 240px; padding: 12px 0; margin: 0; list-style: none;
	background: var(--ds-bg); border: 1px solid var(--ds-line);
	box-shadow: var(--ds-shadow); opacity: 0; visibility: hidden;
	transform: translateY(6px); transition: opacity .25s, transform .25s, visibility .25s;
}
.sec-header__nav li:hover > .sub-menu,
.sec-header__nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sec-header__nav .sub-menu a { display: block; padding: 9px 20px; text-transform: none; letter-spacing: .02em; font-size: 14px; }
.sec-header__nav .sub-menu a::after { display: none; }
.sec-header__drawer-cta { display: none; }
.sec-header__drawer-tel {
	display: block; text-align: center; font-family: var(--ds-font-head);
	font-size: 22px; color: var(--ds-ink); text-decoration: none;
}

@media (max-width: 1080px) {
	.sec-header__nav-wrap {
		position: fixed; left: 0; right: 0; top: 76px; z-index: 9000;
		display: none; flex-direction: column; align-items: stretch; gap: 0;
		padding: 8px 24px 26px; background: var(--ds-bg);
		border-bottom: 1px solid var(--ds-line); box-shadow: var(--ds-shadow);
		max-height: calc(100vh - 76px); overflow-y: auto;
	}
	.sec-header__nav-wrap.is-open { display: flex; }
	.sec-header__nav { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
	.sec-header__nav li { border-bottom: 1px solid var(--ds-line); }
	.sec-header__nav a { display: block; padding: 15px 0; font-size: 13px; }
	.sec-header__nav a::after { display: none; }
	.sec-header__nav .sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none;
		box-shadow: none; border: 0; padding: 0 0 8px 16px; min-width: 0;
	}
	.sec-header__nav .sub-menu a { padding: 10px 0; font-size: 13px; color: var(--ds-muted); }
	.sec-header__drawer-cta { display: grid; gap: 14px; margin-top: 22px; }
}

/* ---------- Заголовок страницы и хлебные крошки ---------- */
.sec-page-head { padding: 66px 0 34px; background: var(--ds-surface); border-bottom: 1px solid var(--ds-line); }
.sec-page-head .sec-h1 { margin-bottom: 0; }
.sec-page-head__lead { margin-top: 18px; max-width: 720px; }
.sec-page-head__meta { margin: 14px 0 0; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ds-muted); }
.sec-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 12px; letter-spacing: .06em; color: var(--ds-muted); }
.sec-crumbs a { color: var(--ds-muted); text-decoration: none; }
.sec-crumbs a:hover { color: var(--ds-accent); }
.sec-crumbs span[aria-current] { color: var(--ds-ink); }

/* ---------- Страница с контентом ---------- */
.sec-page__grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 56px; align-items: start; }
.entry-content { font-family: var(--ds-font-body); font-size: 16.5px; line-height: 1.78; color: #3a3c40; }
.entry-content > * + * { margin-top: 1.05em; }
.entry-content h2 { font-size: 30px; margin: 1.8em 0 .6em; }
.entry-content h3 { font-size: 23px; margin: 1.6em 0 .5em; }
.entry-content h4 { font-size: 19px; margin: 1.4em 0 .4em; }
.entry-content p { margin: 0 0 1em; }
.entry-content a { color: var(--ds-accent); text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.25em; margin: 0 0 1em; }
.entry-content li { margin-bottom: .45em; }
.entry-content img { height: auto; }
.entry-content figure { margin: 1.6em 0; }
.entry-content figcaption { margin-top: .6em; font-size: 12.5px; color: var(--ds-muted); }
.entry-content blockquote {
	margin: 1.6em 0; padding: 6px 0 6px 26px;
	border-left: 2px solid var(--ds-accent);
	font-family: var(--ds-font-head); font-size: 22px; line-height: 1.55; color: var(--ds-ink);
}
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 15px; }
.entry-content th, .entry-content td { padding: 11px 14px; border-bottom: 1px solid var(--ds-line); text-align: left; vertical-align: top; }
.entry-content th { font-weight: 600; color: var(--ds-ink); }
.entry-content iframe { max-width: 100%; border: 0; }
.entry-content hr { border: 0; border-top: 1px solid var(--ds-line); margin: 2.2em 0; }

/* ---------- Список номеров из Joomla (страница «Номера и цены») ---------- */
.entry-content .rooms-item {
	display: grid;
	grid-template-columns: minmax(0, 330px) minmax(0, 1fr);
	gap: 8px 34px;
	align-items: start;
	padding: 34px 0;
	margin: 0;
	border-bottom: 1px solid var(--ds-line);
}
.entry-content .rooms-item:first-child { padding-top: 0; }
.entry-content .rooms-item:last-of-type { border-bottom: 0; }
.entry-content .rooms-item > p { display: none; }

.entry-content .rooms-item h3 {
	grid-column: 1 / -1;
	margin: 0 0 12px;
	font-family: var(--ds-font-head);
	font-size: 27px;
	font-weight: 400;
	line-height: 1.22;
	color: var(--ds-ink);
}
.entry-content .rooms-item h3 a { color: inherit; text-decoration: none; }
.entry-content .rooms-item h3 a:hover { color: var(--ds-accent); }

.entry-content .room-preview { grid-column: 1; margin: 0; }
.entry-content .room-preview a { display: block; }
.entry-content .room-preview img,
.entry-content .rooms-item img {
	display: block;
	width: 100%;
	max-width: none;
	height: auto;
	border-radius: var(--ds-radius);
}

.entry-content .room-right-col { grid-column: 2; min-width: 0; }
.entry-content .room-right-col > p:first-child {
	margin: 0 0 18px;
	font-family: var(--ds-font-body);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
	color: var(--ds-ink);
}
.entry-content .room-right-col > p:first-child br { display: none; }
.entry-content .room-right-col > p:last-child {
	margin: 0;
	font-size: 15.5px;
	line-height: 1.75;
	color: var(--ds-muted);
}

.entry-content .room-rate { font-family: var(--ds-font-head); font-size: 20px; color: var(--ds-ink); }
.entry-content .price-value { font-weight: 600; }
.entry-content .booking-button,
.entry-content .btn,
.entry-content .readmore {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 46px; padding: 0 26px; margin: 0 0 16px;
	background: var(--ds-accent); color: #fff;
	font-family: var(--ds-font-body); font-size: 12px; font-weight: 500;
	letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
	border: 0; border-radius: var(--ds-radius-pill); cursor: pointer;
	transition: background .3s, color .3s;
}
.entry-content .booking-button:hover,
.entry-content .btn:hover { background: var(--ds-dark); color: #fff; }

@media (max-width: 760px) {
	.entry-content .rooms-item { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 28px 0; }
	.entry-content .room-preview { grid-column: 1; margin-bottom: 18px; }
	.entry-content .room-right-col { grid-column: 1; }
	.entry-content .rooms-item h3 { font-size: 23px; margin-bottom: 14px; }
}
.entry-content center { display: block; }

/* ---------- Боковая карточка ---------- */
.sec-page__aside { position: sticky; top: 96px; display: grid; gap: 18px; }
.sec-card { padding: 30px 26px; background: var(--ds-surface); border: 1px solid var(--ds-line); }
.sec-card__title { display: block; font-family: var(--ds-font-head); font-size: 22px; font-weight: 500; margin-bottom: 12px; }
.sec-card p { margin: 0 0 18px; font-size: 14px; line-height: 1.65; color: var(--ds-muted); }
.sec-card .sec-btn + .sec-btn { margin-top: 10px; }
.sec-card__phone { display: block; margin-top: 16px; font-family: var(--ds-font-head); font-size: 21px; color: var(--ds-ink); text-decoration: none; }
.sec-card__phone:hover { color: var(--ds-accent); }
.sec-card__note { display: block; margin-top: 10px; font-size: 12.5px; color: var(--ds-muted); }
.sec-card--muted { background: transparent; }
.sec-card__list { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.sec-card__list li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--ds-line); }
.sec-card__list li:last-child { border-bottom: 0; }
.sec-card__list a { color: var(--ds-ink); text-decoration: none; }
.sec-card__list a:hover { color: var(--ds-accent); }
.sec-card__list span { color: var(--ds-muted); white-space: nowrap; }
.sec-page__thumb { margin: 0 0 26px; }
.sec-page__thumb img { width: 100%; }

@media (max-width: 980px) {
	.sec-page__grid { grid-template-columns: 1fr; gap: 38px; }
	.sec-page__aside { position: static; }
}

/* ---------- Галерея (страница из Joomla/Phoca) ---------- */
.sec-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.sec-gallery__item { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ds-surface); }
.sec-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.16,1,.3,1); }
.sec-gallery__item:hover img { transform: scale(1.06); }
@media (max-width: 900px) { .sec-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .sec-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }

/* ---------- Бенто-галерея как ссылки ---------- */
a.sec-gbento__i { display: block; text-decoration: none; color: inherit; }

/* ---------- Карточки номеров ---------- */
.sec-rcd__name a { color: inherit; text-decoration: none; }
.sec-rcd__name a:hover { color: var(--ds-accent); }
.sec-services__item b a { color: inherit; text-decoration: none; }
.sec-services__item b a:hover { color: var(--ds-accent); }

/* ---------- Отзывы: карусель ---------- */
.sec-rbq__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
.sec-rbq__head .sec-title { margin: 10px 0 0; }
.sec-rbq__nav { margin-top: 0; }
.sec-rbq__nav button {
	width: 48px; height: 48px; padding: 0; border: 0; border-radius: var(--ds-radius-pill);
	background: var(--ds-accent); color: var(--ds-accent-ink);
	font-family: var(--ds-font-body); font-size: 22px; line-height: 1; cursor: pointer;
	transition: background .3s, opacity .3s;
}
.sec-rbq__nav button:hover { background: var(--ds-dark); }
.sec-rbq__nav button:disabled { opacity: .35; cursor: default; }
.sec-rbq__track {
	display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
	padding-bottom: 6px; scrollbar-width: none; -ms-overflow-style: none;
	padding-left: max(24px, calc((100vw - var(--ds-container)) / 2));
	padding-right: 24px;
}
.sec-rbq__track::-webkit-scrollbar { display: none; }
.sec-rbq__track > .sec-rbq__grid {
	flex: 0 0 min(700px, 86vw); scroll-snap-align: start;
	padding: 34px 32px; background: var(--ds-surface); border: 1px solid var(--ds-line);
	grid-template-columns: 200px minmax(0, 1fr);
}
.sec-rbq__track .sec-rbq__ava {
	width: 96px; height: 96px; margin: 0 auto 16px;
	display: grid; place-items: center;
	background: var(--ds-accent); color: #fff;
	font-family: var(--ds-font-head); font-size: 30px; letter-spacing: .04em;
}
.sec-rbq__track .sec-rbq__quote { font-size: 19px; line-height: 1.6; }
.sec-rbq__track > .sec-rbq__grid > a {
	font-size: 12px; letter-spacing: .04em; color: var(--ds-muted);
	text-decoration: underline; text-underline-offset: 3px; grid-column: 1 / -1;
}
.sec-rbq__all { margin: 30px 0 0; font-size: 14px; color: var(--ds-muted); }
.sec-rbq__all a { color: var(--ds-accent); }
@media (max-width: 860px) {
	.sec-rbq__head { flex-direction: column; align-items: flex-start; }
	.sec-rbq__track > .sec-rbq__grid { grid-template-columns: 1fr; gap: 24px; padding: 26px 22px; }
	.sec-rbq__track .sec-rbq__who { text-align: left; display: flex; align-items: center; gap: 14px; }
	.sec-rbq__track .sec-rbq__ava { width: 56px; height: 56px; margin: 0; font-size: 20px; flex: none; }
	.sec-rbq__track .sec-rbq__who span { margin-top: 4px; }
}

/* ---------- Hero-слайдер ---------- */
.sec-hf__nav span.is-active { background: #fff; opacity: 1; }

/* ---------- FAQ ---------- */
.sec-fqg__card summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.sec-fqg__card summary::-webkit-details-marker { display: none; }
.sec-fqg__card summary b { margin-bottom: 0; }
.sec-fqg__card summary::after { content: "+"; font-family: var(--ds-font-body); font-size: 20px; line-height: 1; color: var(--ds-accent); }
.sec-fqg__card[open] summary::after { content: "–"; }
.sec-fqg__card[open] summary { margin-bottom: 12px; }
.sec-fqg__more { margin: 34px 0 0; text-align: center; }

/* ---------- 404 ---------- */
.sec-404__in { max-width: 620px; }
.sec-404__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Список записей ---------- */
.sec-list { display: grid; gap: 34px; max-width: 820px; }
.sec-list__title { font-size: 28px; margin: 0 0 8px; }
.sec-list__title a { color: inherit; text-decoration: none; }
.sec-list__meta { margin: 0 0 10px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ds-muted); }

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   КАСТОМНЫЕ ДОБАВЛЕНИЯ (Кликабельные фото, Меню, Бронирование)
   ========================================================================== */

/* --- Кликабельное фото номера с эффектом --- */
.sec-rcd__photo-link {
    display: block;
    position: relative;
    border-radius: var(--ds-radius);
    overflow: hidden;
    cursor: pointer;
}
.sec-rcd__photo-link::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 1;
}
.sec-rcd__card:hover .sec-rcd__photo {
    transform: translateY(-6px) scale(1.02);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.sec-rcd__card:hover .sec-rcd__photo-link::after {
    background: rgba(0, 0, 0, 0.12);
}
.sec-rcd__photo {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.sec-rcd__photo-link .sec-rcd__photo {
    width: 100%;
    height: 100%;
}

/* --- Безопасное исправление выпадающего меню --- */
@media (min-width: 1081px) {
    #site-navigation .menu-item-has-children {
        position: relative !important;
    }
    #site-navigation .sub-menu {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        z-index: 9999 !important;
        min-width: 240px !important;
        padding: 12px 0 !important;
        margin: 0 !important;
        list-style: none !important;
        background: #ffffff !important;
        border: 1px solid var(--ds-line) !important;
        box-shadow: var(--ds-shadow) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateY(6px) !important;
        transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease !important;
        padding-top: 15px !important;
        overflow: visible !important;
    }
    #site-navigation .menu-item-has-children:hover > .sub-menu,
    #site-navigation .menu-item-has-children:focus-within > .sub-menu,
    #site-navigation .sub-menu:hover {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(0) !important;
    }
    #site-navigation .sub-menu a {
        display: block !important;
        padding: 9px 20px !important;
        font-family: var(--ds-font-body) !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        line-height: 1 !important;
        letter-spacing: 0.02em !important;
        text-transform: none !important;
        color: var(--ds-ink) !important;
        text-decoration: none !important;
        white-space: nowrap !important;
        transition: color 0.3s !important;
    }
    #site-navigation .sub-menu a:hover {
        color: var(--ds-accent) !important;
    }
    #site-navigation .sub-menu a::after {
        display: none !important;
    }
}