/* Happy Hours — стили темы */

:root {
	--hh-ink: #1E1B2E;
	--hh-ink-2: #2C2842;
	--hh-accent: #FF7A2F;
	--hh-accent-text: #C2410C;
	--hh-lavender: #C9BCF5;
	--hh-cream: #FBF4EA;
	--hh-sand: #EFE5D6;
	--hh-line: #D9CDBB;
	--hh-muted: #5B5670;
	--hh-muted-dark: #CFCADB;
	--hh-white: #FFFFFF;
	--hh-radius: 20px;
	--hh-font-head: 'Unbounded', system-ui, sans-serif;
	--hh-font-body: 'Manrope', system-ui, sans-serif;
}

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

body {
	margin: 0;
	background: var(--hh-cream);
	color: var(--hh-ink);
	font-family: var(--hh-font-body);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--hh-accent-text); }
a:hover { color: #9A3412; }
:focus-visible { outline: 3px solid var(--hh-accent); outline-offset: 2px; }

.hh-skip {
	position: absolute; left: -9999px; top: 8px; z-index: 100;
	background: var(--hh-white); padding: 8px 14px; border-radius: 8px;
}
.hh-skip:focus { left: 8px; }

.hh-container { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.hh-section { padding-top: 64px; padding-bottom: 32px; }

.hh-h2 {
	margin: 0 0 28px;
	font-family: var(--hh-font-head);
	font-weight: 700;
	font-size: clamp(28px, 4vw, 36px);
	line-height: 1.15;
}
.hh-h2--sm { font-size: clamp(24px, 3.4vw, 32px); margin-bottom: 12px; }

.hh-eyebrow {
	display: block; margin-bottom: 16px;
	font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
	color: var(--hh-muted);
}

/* Кнопки и метки */
.hh-btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 48px; padding: 14px 26px;
	border: 0; border-radius: 14px;
	font-family: inherit; font-weight: 700; font-size: 16px; line-height: 1.2;
	text-decoration: none; text-align: center; cursor: pointer;
	transition: transform .15s ease, background-color .15s ease;
}
.hh-btn:hover { transform: translateY(-1px); }
.hh-btn--sm { min-height: 44px; padding: 10px 18px; font-size: 15px; border-radius: 12px; }
.hh-btn--accent { background: var(--hh-accent); color: var(--hh-ink); }
.hh-btn--accent:hover { color: var(--hh-ink); background: #FF8B4A; }
.hh-btn--ghost { background: var(--hh-ink-2); color: var(--hh-cream); }
.hh-btn--ghost:hover { color: var(--hh-cream); background: #3A3556; }
.hh-btn--dark { background: var(--hh-ink); color: var(--hh-cream); }
.hh-btn--dark:hover { color: var(--hh-cream); background: #2C2842; }
.hh-btn[disabled] { opacity: .6; cursor: progress; transform: none; }

.hh-chip {
	display: inline-block; align-self: flex-start;
	padding: 4px 10px; border-radius: 999px;
	font-size: 12px; font-weight: 700;
}
.hh-chip--dark { background: var(--hh-ink); color: var(--hh-cream); }
.hh-chip--soft { background: var(--hh-lavender); color: var(--hh-ink); }

/* Шапка */
.hh-header { background: var(--hh-ink); color: var(--hh-cream); position: relative; z-index: 10; }
.hh-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 16px; padding-bottom: 16px; flex-wrap: wrap; }
.hh-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--hh-cream); text-decoration: none; }
.hh-logo:hover { color: var(--hh-cream); }
.hh-logo__text { font-family: var(--hh-font-head); font-weight: 700; font-size: 20px; }

.hh-nav-toggle { order: 2; }
.hh-nav-toggle__btn { display: none; }
.hh-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-weight: 600; font-size: 15px; }
.hh-nav a { color: var(--hh-cream); text-decoration: none; padding: 8px 0; }
.hh-nav a:hover { color: var(--hh-accent); }

.hh-header__actions { order: 3; display: flex; align-items: center; gap: 16px; }
.hh-lang { display: flex; gap: 4px; margin: 0; padding: 4px; list-style: none; background: var(--hh-ink-2); border-radius: 12px; }
.hh-lang__item { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 9px; font-size: 13px; font-weight: 700; color: var(--hh-muted-dark); text-decoration: none; }
.hh-lang__item:hover { color: var(--hh-cream); }
.hh-lang__item.is-current { background: var(--hh-cream); color: var(--hh-ink); }

@media (max-width: 860px) {
	.hh-nav-toggle { order: 4; width: 100%; }
	.hh-nav-toggle__btn {
		display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
		border-radius: 12px; background: var(--hh-ink-2); font-weight: 700; cursor: pointer; list-style: none;
	}
	.hh-nav-toggle__btn::-webkit-details-marker { display: none; }
	.hh-nav-toggle:not([open]) .hh-nav { display: none; }
	.hh-nav { flex-direction: column; gap: 0; padding-top: 8px; }
	.hh-nav a { padding: 12px 0; border-bottom: 1px solid var(--hh-ink-2); }
}

/* Обложка */
.hh-hero {
	color: var(--hh-cream);
	background-color: var(--hh-ink);
	background-image:
		linear-gradient(90deg, rgba(30,27,46,.95) 0%, rgba(30,27,46,.85) 40%, rgba(30,27,46,.25) 100%),
		var(--hh-hero-img);
	background-size: cover;
	background-position: center;
}
.hh-hero__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; min-height: 420px; padding-top: 96px; padding-bottom: 112px; }
.hh-hero__text { flex: 0 1 620px; display: flex; flex-direction: column; gap: 24px; }
.hh-hero__chip { align-self: flex-start; padding: 6px 14px; border-radius: 999px; background: var(--hh-ink-2); color: #FF9A5C; font-size: 13px; font-weight: 700; }
.hh-hero__title { margin: 0; font-family: var(--hh-font-head); font-weight: 700; font-size: clamp(34px, 5.2vw, 56px); line-height: 1.05; }
.hh-hero__lead { margin: 0; max-width: 560px; font-size: 19px; line-height: 1.55; color: var(--hh-muted-dark); }
.hh-hero__actions { margin-left: auto; align-self: flex-end; display: flex; flex-direction: column; gap: 12px; min-width: 240px; }

@media (max-width: 760px) {
	.hh-hero { background-image: linear-gradient(rgba(30,27,46,.84), rgba(30,27,46,.84)), var(--hh-hero-img); }
	.hh-hero__inner { padding-top: 56px; padding-bottom: 64px; min-height: 0; gap: 32px; }
	.hh-hero__actions { width: 100%; min-width: 0; margin-left: 0; }
}

/* Каталог */
.hh-offers__head { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin: -12px 0 24px; }
.hh-filter {
	min-height: 44px; padding: 10px 18px; border: 0; border-radius: 999px;
	background: var(--hh-sand); color: var(--hh-ink);
	font-family: inherit; font-weight: 600; font-size: 15px; cursor: pointer;
}
.hh-filter[aria-pressed="true"] { background: var(--hh-ink); color: var(--hh-cream); }
.hh-grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; }
.hh-offers__empty { padding: 32px; border-radius: var(--hh-radius); background: var(--hh-white); color: var(--hh-muted); }

.hh-card { display: flex; flex-direction: column; background: var(--hh-white); border-radius: var(--hh-radius); overflow: hidden; box-shadow: 0 1px 0 #E6DACA; }
.hh-card__media { position: relative; height: 200px; background: #6B4B3A; display: flex; align-items: flex-end; padding: 14px; }
.hh-card.is-soon .hh-card__media { background: #3A3350; justify-content: center; }
.hh-card.is-soon:nth-child(3n) .hh-card__media { background: #A0705A; }
.hh-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.hh-card__plate { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding-bottom: 16px; color: #F3E6DA; }
.hh-card__caption { position: relative; font-size: 12px; color: #F3E6DA; align-self: flex-end; }
.hh-badge {
	position: absolute; top: 14px; right: 14px;
	width: 76px; height: 76px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: var(--hh-accent); color: var(--hh-ink);
	font-family: var(--hh-font-head); font-weight: 700; font-size: 18px;
}
.hh-card__body { display: flex; flex-direction: column; gap: 8px; flex-grow: 1; padding: 18px 20px 20px; }
.hh-card__title { margin: 0; font-family: var(--hh-font-head); font-weight: 700; font-size: 20px; line-height: 1.25; }
.hh-card__terms { margin: 0; font-size: 14px; line-height: 1.45; color: var(--hh-muted); }
.hh-card__link { margin-top: auto; padding-top: 8px; font-weight: 700; font-size: 15px; }

/* Шаги */
.hh-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.hh-step { display: flex; flex-direction: column; gap: 12px; padding: 28px; background: var(--hh-white); border-radius: var(--hh-radius); }
.hh-step__num { width: 52px; height: 52px; border-radius: 50%; background: var(--hh-accent); display: flex; align-items: center; justify-content: center; font-family: var(--hh-font-head); font-weight: 700; font-size: 20px; }
.hh-step__title { font-size: 19px; }
.hh-step__text { font-size: 15px; color: var(--hh-muted); }

/* Калькуляторы */
.hh-calc { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; padding: 40px; border-radius: 28px; background: var(--hh-white); }
.hh-calc--dark { background: var(--hh-ink); color: var(--hh-cream); }
.hh-calc__title { margin: 0 0 8px; font-family: var(--hh-font-head); font-weight: 700; font-size: clamp(24px, 3vw, 30px); line-height: 1.2; }
.hh-calc__lead { margin: 0 0 24px; color: var(--hh-muted); }
.hh-calc--dark .hh-calc__lead, .hh-calc--dark .hh-calc__note { color: var(--hh-muted-dark); }
.hh-calc__fields { display: flex; flex-direction: column; gap: 20px; }
.hh-field { display: flex; flex-direction: column; gap: 8px; }
.hh-field__label { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 600; }
.hh-field__value { font-family: var(--hh-font-head); font-weight: 700; }
.hh-input, .hh-select {
	width: 100%; min-height: 48px; padding: 12px 16px;
	border: 1px solid var(--hh-line); border-radius: 12px;
	background: var(--hh-cream); color: var(--hh-ink);
	font-family: inherit; font-size: 16px;
}
.hh-input[aria-invalid="true"] { border-color: #B42318; }
.hh-range { width: 100%; accent-color: var(--hh-accent); min-height: 32px; }
.hh-calc__result { display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 28px; border-radius: var(--hh-radius); background: var(--hh-cream); }
.hh-calc--dark .hh-calc__result { background: var(--hh-ink-2); }
.hh-result { display: flex; flex-direction: column; gap: 2px; }
.hh-result__label { font-size: 14px; color: var(--hh-muted); }
.hh-calc--dark .hh-result__label { color: var(--hh-muted-dark); }
.hh-result__value { font-family: var(--hh-font-head); font-weight: 700; font-size: 26px; line-height: 1.2; }
.hh-result--big .hh-result__value { font-size: clamp(30px, 4vw, 40px); color: var(--hh-accent-text); }
.hh-calc--dark .hh-result--big .hh-result__value { color: var(--hh-accent); }
.hh-calc__note { margin: 0; font-size: 13px; color: var(--hh-muted); }

@media (max-width: 860px) {
	.hh-calc { grid-template-columns: 1fr; padding: 24px; }
}

/* Галерея */
.hh-gallery { background: var(--hh-ink); color: var(--hh-cream); margin-top: 48px; }
.hh-gallery .hh-section { padding-bottom: 72px; }
.hh-gallery .hh-h2 { margin-bottom: 10px; }
.hh-gallery__lead { margin: 0 0 28px; max-width: 620px; font-size: 17px; color: var(--hh-muted-dark); }
.hh-gallery__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.hh-gallery__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; }
.hh-admin-hint { padding: 16px; border: 2px dashed var(--hh-muted); border-radius: 12px; color: var(--hh-muted-dark); }

/* Преимущества */
.hh-benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.hh-benefit__title { margin: 0 0 10px; font-family: var(--hh-font-head); font-weight: 700; font-size: 20px; }
.hh-benefit__text { margin: 0; font-size: 15px; color: var(--hh-muted); }

/* Партнёрам */
.hh-partners { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 32px; align-items: center; padding: 48px; border-radius: 28px; background: var(--hh-accent); }
.hh-partners__text p { margin: 0 0 24px; font-size: 17px; }
.hh-partners .hh-calc { padding: 28px; grid-template-columns: 1fr; gap: 24px; }
@media (max-width: 960px) {
	.hh-partners { grid-template-columns: 1fr; padding: 24px; }
}

/* Форма */
.hh-contact { display: flex; flex-wrap: wrap; gap: 32px 48px; align-items: center; padding: 48px; border-radius: 28px; background: var(--hh-white); }
.hh-contact__text { flex: 1 1 360px; }
.hh-contact__text .hh-h2 { margin-bottom: 12px; }
.hh-contact__text p { margin: 0; font-size: 18px; color: var(--hh-muted); }
.hh-contact__form { flex: 1 1 380px; }
.hh-form { display: flex; flex-direction: column; gap: 16px; }
.hh-form__error { margin: 0; font-size: 13px; color: #B42318; }
.hh-form__consent { margin: 0; font-size: 13px; color: var(--hh-muted); }
.hh-form__status { margin: 0; padding: 14px 16px; border-radius: 12px; background: var(--hh-sand); font-weight: 600; }
.hh-form__status.is-ok { background: #E6F4EA; color: #14532D; }
.hh-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 760px) { .hh-contact { padding: 24px; } }

/* Реклама */
.hh-ads { padding-bottom: 72px; }
.hh-ads__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.hh-ads__item img { width: 100%; border-radius: var(--hh-radius); }
.hh-ads__placeholder { min-height: 140px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 20px; text-align: center; border: 2px dashed var(--hh-line); border-radius: var(--hh-radius); color: var(--hh-muted); }
.hh-ads__placeholder strong { color: var(--hh-ink); }

/* Подвал */
.hh-footer { background: var(--hh-ink); color: var(--hh-muted-dark); font-size: 14px; }
.hh-footer a { color: var(--hh-muted-dark); }
.hh-footer a:hover { color: var(--hh-cream); }
.hh-footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 40px; padding-bottom: 40px; }
.hh-footer__links { display: flex; flex-wrap: wrap; gap: 20px; }
.hh-footer__legal { border-top: 1px solid var(--hh-ink-2); }
.hh-footer__legal-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 8px 32px; padding-top: 24px; padding-bottom: 24px; font-size: 13px; color: #A9A3BC; }
.hh-footer__company { display: flex; flex-direction: column; }
.hh-footer__company strong { color: var(--hh-muted-dark); font-weight: 600; }

/* Обычные страницы */
.hh-page { max-width: 820px; padding-bottom: 72px; }
.hh-page__content { font-size: 17px; }

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
}
html { scroll-behavior: smooth; }

@media (max-width: 760px) {
	.hh-offers__head { justify-content: flex-start; margin-top: -8px; }
}
