/* ==========================================================================
   Lumara Estate — landing skin.

   Loaded after landing.css and deliberately kept separate from it: that file
   is the production bundle this landing was ported from, and keeping it
   untouched means the original rendering stays available for comparison.

   The palette is NOT touched — every colour here comes from the tokens in
   landing.css. What changes is the visual language the agency it was ported
   from is recognisable by: centred all-caps display type, hairline grids
   whose cells flood with teal on hover, emoji icons and letterspaced
   uppercase buttons. In their place: left-aligned sentence-case headings,
   bordered cards, numeric marks and plain-case buttons.

   Mobile rules are repeated inside the same breakpoints landing.css uses
   (900/600px): it redefines several of these selectors there, and a bare
   declaration here would lose to them on a phone.
   ========================================================================== */

:root {
	/* Палитра витрины. Имена токенов остались от бирюзовой схемы бандла —
	   переименовать их значило бы править 56 КБ чужого CSS, — но значения
	   тёплые: глубокий кофейный, песок и приглушённая охра. Тон тот же:
	   неяркий, без чистых насыщенных цветов. */
	--teal: #6F5240;
	--teal-dark: #3A2F27;
	--teal-mid: #7E6049;
	--teal-light: #9B7C62;
	--teal-pale: #F0E7DD;
	--offwhite: #F7F3ED;
	--text-dark: #1E1A17;
	--text-mid: #46403A;
	--text-muted: #7B726A;
	--accent: #CBA15C;
	--gold: #B5894E;

	/* Компоненты для rgba() в landing.css. */
	--brand-rgb: 111 82 64;
	--accent-rgb: 203 161 92;

	--skin-line: rgb(var(--brand-rgb) / .18);
	--skin-line-dark: rgba(255, 255, 255, .16);
	--skin-radius: 10px;
}

/* --------------------------------------------------------------------------
   1. Section headers: left-aligned, with a rule leading the eyebrow.
   -------------------------------------------------------------------------- */

.section-header {
	text-align: left;
	max-width: 760px;
}

.tag {
	display: inline-flex;
	align-items: flex-start;
	gap: 12px;
	font-family: Geologica, sans-serif;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .04em;
	text-transform: none;
	color: var(--text-muted);
}

.tag::before {
	content: '';
	width: 28px;
	height: 1px;
	margin-top: .7em;
	background: var(--accent);
	flex: none;
}

.section-gov .tag,
.section-cta .cta-tag {
	color: rgba(255, 255, 255, .7);
}

.section-title,
.solution-title,
.tenant-title,
.cta-title {
	font-weight: 600;
	letter-spacing: -.015em;
	line-height: 1.18;
	text-transform: none;
}

.section-title {
	font-size: clamp(26px, 3.2vw, 40px);
	margin-top: 18px;
}

/* The lead paragraph under a heading. Replaces the inline `margin: … auto`
   centring the ported markup carried on four sections. */
.section-sub {
	max-width: 560px;
	margin: 16px 0 0;
	font-size: 14px;
	line-height: 1.7;
	color: var(--text-muted);
}

.section-gov .section-sub {
	color: rgba(255, 255, 255, .62);
}

/* --------------------------------------------------------------------------
   2. Buttons: plain case, no lift on hover.
   -------------------------------------------------------------------------- */

.btn-primary,
.btn-outline,
.btn-accent,
.btn-white-outline,
.pkg-cta {
	font-family: Geologica, sans-serif;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .01em;
	text-transform: none;
	border-radius: 6px;
	padding: 15px 28px;
}

.btn-outline,
.btn-white-outline {
	border-width: 1px;
	padding: 14px 28px;
}

/* The header button is styled on its own class in the bundle. */
.nav-cta {
	font-family: Geologica, sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .01em;
	text-transform: none;
	border-radius: 6px;
	padding: 12px 22px;
}

.btn-primary:hover,
.btn-accent:hover {
	transform: none;
}

/* --------------------------------------------------------------------------
   3. Cards: a border instead of a hairline grid, and no full-cell fill.
   -------------------------------------------------------------------------- */

.directions-grid,
.problems-grid {
	gap: 18px;
	background: transparent;
}

.direction-card,
.problem-card,
.how-card,
.benefit-card,
.pkg-card,
.geo-card {
	background: var(--white);
	border: 1px solid var(--skin-line);
	border-radius: var(--skin-radius);
	transition: border-color .2s, box-shadow .2s;
}

.direction-card:hover,
.problem-card:hover,
.how-card:hover,
.pkg-card:hover,
.geo-card:hover {
	background: var(--white);
	border-color: var(--teal-light);
	box-shadow: 0 6px 24px rgb(var(--brand-rgb) / .07);
	transform: none;
}

/* The ported hover floods the whole cell with teal and inverts the text.
   Nothing else on the page behaves that way, and it is the single most
   recognisable gesture of the original design. */
.problem-card:hover .problem-icon,
.problem-card:hover .problem-text,
.problem-card:hover .problem-title,
.direction-card:hover .direction-title,
.direction-card:hover .direction-text {
	color: inherit;
}

/* Three cards across the page are filled with teal in the bundle and carry
   white text; the border rule above would have turned them white and taken
   their text with them. */
.geo-card--main,
.geo-card--main:hover,
.pkg-card.featured,
.pkg-card.featured:hover {
	background: var(--teal);
	border-color: var(--teal);
	box-shadow: none;
}

.geo-card--main .geo-flag {
	background: rgba(255, 255, 255, .14);
	color: var(--white);
}

.direction-card--accent,
.direction-card--accent:hover {
	background: var(--teal);
	border-color: var(--teal);
	box-shadow: none;
}

.direction-card--accent .direction-icon {
	background: rgba(255, 255, 255, .14);
	color: var(--white);
}

.direction-link {
	font-family: Geologica, sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .01em;
	text-transform: none;
}

.gov-card,
.tenant-opt {
	border: 1px solid var(--skin-line-dark);
	border-radius: var(--skin-radius);
}

.benefit-card {
	background: var(--offwhite);
}

/* --------------------------------------------------------------------------
   4. Marks in place of the emoji the ported sections used as icons.
   -------------------------------------------------------------------------- */

.direction-icon,
.geo-flag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 8px;
	background: var(--teal-pale);
	color: var(--teal);
	font-family: Unbounded, sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .04em;
}

.geo-card--main .geo-flag {
	background: var(--teal);
	color: var(--white);
}

/* A rule, not a pictogram: the benefit cards carry their meaning in words. */
.benefit-icon {
	display: block;
	width: 26px;
	height: 2px;
	margin-bottom: 14px;
	background: var(--accent);
}

.how-num {
	font-weight: 600;
	color: rgb(var(--brand-rgb) / .10);
}

.promo-mark {
	display: inline-block;
	width: 18px;
	height: 2px;
	background: var(--accent);
	flex: none;
}

/* Two-line programme chips overflowed their own border. */
.gov-tag {
	min-height: 0;
	line-height: 1.35;
	text-align: center;
}

/* The catalogue lead keeps the centring it inherits from the theme sheet. */
.section-objects__lead {
	max-width: 560px;
	margin: 16px 0 0;
	text-align: left;
}

/* --------------------------------------------------------------------------
   5. Hero.
   -------------------------------------------------------------------------- */

.hero-title {
	font-weight: 600;
	letter-spacing: -.02em;
	line-height: 1.12;
}

/* Was a solid teal block behind one line — swapped for an accent underline. */
.hero-title .line-alt {
	background: none;
	color: var(--teal);
	padding: 0 0 4px;
	box-shadow: inset 0 -6px 0 rgb(var(--accent-rgb) / .55);
}

.hero-eyebrow {
	letter-spacing: .04em;
	text-transform: none;
}

.stat-item {
	border-left: 1px solid var(--skin-line);
}

.stat-num {
	font-family: Geologica, sans-serif;
	font-weight: 600;
	font-size: 28px;
	letter-spacing: -.01em;
}

/* --------------------------------------------------------------------------
   6. Section headers that sit on a dark background keep their own colours,
      only the alignment and case change.
   -------------------------------------------------------------------------- */

.solution-eyebrow,
.cta-tag {
	text-transform: none;
	letter-spacing: .04em;
}

.pkg-badge {
	text-transform: none;
	letter-spacing: .02em;
	border-radius: 999px;
}

/* --------------------------------------------------------------------------
   7. The breakpoints landing.css redefines these selectors in.
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {

	.hero-title {
		font-weight: 600;
		letter-spacing: -.02em;
	}

	.hero-title .line-alt {
		background: none;
		color: var(--teal);
		padding: 0 0 4px;
		box-shadow: inset 0 -5px 0 rgb(var(--accent-rgb) / .55);
	}

	.btn-primary,
	.btn-outline,
	.btn-accent,
	.btn-white-outline,
	.pkg-cta {
		text-transform: none;
		letter-spacing: .01em;
		font-family: Geologica, sans-serif;
	}

	.stat-num {
		font-family: Geologica, sans-serif;
		font-weight: 600;
	}

	.how-num {
		font-weight: 600;
		color: rgb(var(--brand-rgb) / .10);
	}

	.directions-grid,
	.problems-grid {
		gap: 14px;
	}
}

@media (max-width: 600px) {

	.section-header {
		text-align: left;
	}

	.direction-icon,
	.geo-flag {
		width: 40px;
		height: 40px;
	}
}

/* The bundle brightens the accent button to a lime on hover. */
.btn-accent:hover {
	background: #D9B06A;
}

/* --------------------------------------------------------------------------
   8. Цвета, зашитые в бандл мимо токенов. Их не видно в :root, но без них
      на тёплой странице остаются холодные пятна.
   -------------------------------------------------------------------------- */

/* Карточка поверх фото в hero — была морская зелень. */
.hero-card {
	background: rgb(58 47 39 / 72%);
	border-color: rgba(255, 255, 255, .18);
}

/* Подложка под кадрами офиса, пока картинка грузится. */
.office-img {
	background: var(--teal-pale);
}

/* Заглушка карточки объекта в каталожном блоке лендинга. */
.object-card__placeholder {
	background: linear-gradient(135deg, var(--teal-pale) 0%, #E6D9C9 100%);
}

/* --------------------------------------------------------------------------
   9. Ширина полосы. Бандл вёл шапку по своей сетке: 1420px при отступах
      60px, тогда как остальной сайт живёт в 1120px при 32px. Логотип на
      главной стоял на 70px от края, на каталоге — на 192px, и переход между
      страницами дёргал всю полосу.

      Приведено к теме: те же 1120/32, что у `.container` в main.css. Вместе
      с шапкой выровнен и `.container` лендинга — иначе шапка совпала бы с
      каталогом, но разъехалась бы с секциями под ней на те же 28px.
   -------------------------------------------------------------------------- */

.nav-inner,
.container {
	max-width: 1120px;
	padding-left: clamp(16px, 4vw, 32px);
	padding-right: clamp(16px, 4vw, 32px);
}

.nav-inner {
	padding-top: 18px;
	padding-bottom: 18px;
}

/* Hero — единственная секция без `.container`: это полосная раскладка на всю
   ширину окна. Левую колонку выводим на ту же линию, что и шапка с заголовками
   секций. Проценты в padding у grid-элемента считаются от его колонки, а она —
   ровно половина окна, поэтому `100% - 528px` даёт край контейнера
   (`(ширина - 1120) / 2 + 32`) и, в отличие от `vw`, не врёт на ширину
   полосы прокрутки. `max()` держит отступ, когда колонки схлопываются. */
.hero-left {
	/* Делитель — удвоенная доля колонки в сетке hero (2 × 0.56 = 1.12).
	   При делении 50/50 это была просто `100%`; сменится пропорция —
	   менять здесь, иначе текст уедет от края контейнера. */
	padding-left: max(40px, calc(100% / 1.12 - 528px));
}

@media (max-width: 900px) {

	.nav-inner {
		padding-top: 16px;
		padding-bottom: 16px;
	}

	.hero-left {
		padding-left: 40px;
	}
}

/* --------------------------------------------------------------------------
   10. Hero в один экран.

   Выравнивание по сетке (§9) добавило левой колонке 152px отступа слева, и
   при делении 50/50 под текст осталось 488px вместо 640px: заголовок стал
   переноситься пятью строками и выдавливал кнопки со статистикой за нижний
   край на ноутбучных 720px.

   Поэтому колонка расширена, кегль уменьшен, а вертикальные интервалы
   подтянуты — первый экран должен заканчиваться статистикой, а не обрываться
   на середине кнопок.
   -------------------------------------------------------------------------- */

.hero {
	/* svh считает высоту без адресной строки мобильного браузера. */
	min-height: 100svh;
	grid-template-columns: 1.12fr 0.88fr;
	padding-top: 92px;
}

.hero-title {
	font-size: clamp(27px, 3.1vw, 44px);
	line-height: 1.1;
	margin-bottom: 22px;
}

.hero-sub {
	max-width: 480px;
	font-size: clamp(14px, 1.15vw, 16px);
	line-height: 1.6;
	margin-bottom: 28px;
}

.hero-actions {
	margin-bottom: 32px;
}

.hero-actions .btn-primary,
.hero-actions .btn-outline {
	padding-top: 13px;
	padding-bottom: 13px;
}

.hero-eyebrow {
	margin-bottom: 18px;
}

@media (max-width: 900px) {

	.hero {
		grid-template-columns: 1fr;
		padding-top: 84px;
	}

	.hero-title {
		font-size: clamp(26px, 7vw, 38px);
		margin-bottom: 18px;
	}

	.hero-sub {
		margin-bottom: 24px;
	}

	.hero-actions {
		margin-bottom: 28px;
	}
}

/* --------------------------------------------------------------------------
   11. Подвал и формат сотрудничества.

   Подвал в бандле был подвалом агентства-донора: четыре равные колонки, а
   вместо услуг — его проценты. Разметка переписана (`lum-foot__*`), поэтому
   старые правила `.footer-*` к ней не применяются и стиль задаётся здесь.
   -------------------------------------------------------------------------- */

.lum-foot {
	/* В бандле фон подвала был записан мимо токенов — тёмная бирюза. */
	background: #2A221C;
	padding: 56px 0 26px;
	color: rgba(255, 255, 255, .72);
}

.lum-foot__head {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 32px;
	padding-bottom: 30px;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.lum-foot__logo img {
	display: block;
	width: 86px;
	height: auto;
}

.lum-foot__line {
	max-width: 520px;
	font-size: 14px;
	line-height: 1.7;
	color: rgba(255, 255, 255, .6);
}

.lum-foot__actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.lum-foot__actions .btn-accent,
.lum-foot__actions .btn-white-outline {
	padding: 12px 22px;
	font-size: 13px;
}

.lum-foot__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.5fr);
	gap: 32px;
	padding: 34px 0;
}

.lum-foot__col h3 {
	font-family: Geologica, sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: none;
	color: var(--accent);
	margin-bottom: 14px;
}

.lum-foot__col a {
	display: block;
	margin-bottom: 9px;
	font-size: 14px;
	color: rgba(255, 255, 255, .72);
	text-decoration: none;
	transition: color .18s;
}

.lum-foot__col a:hover {
	color: #fff;
}

/* Районы — плитками: их восемь, колонкой они растянули бы подвал вдвое. */
.lum-foot__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.lum-foot__chips a {
	margin: 0;
	padding: 7px 12px;
	font-size: 13px;
	line-height: 1.2;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 999px;
	transition: border-color .18s, color .18s;
}

.lum-foot__chips a:hover {
	border-color: var(--accent);
	color: #fff;
}

.lum-foot__bottom {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 28px;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, .1);
	font-size: 13px;
	color: rgba(255, 255, 255, .45);
}

.lum-foot__bottom a {
	color: rgba(255, 255, 255, .62);
	text-decoration: none;
}

.lum-foot__bottom a:hover {
	color: #fff;
}

.lum-foot__bottom p:last-child {
	margin-left: auto;
}

/* Формат сотрудничества вместо тарифа: место процента занял подзаголовок. */
.pkg-lead {
	margin-top: 6px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--text-muted);
}

.pkg-card.featured .pkg-lead {
	color: rgba(255, 255, 255, .72);
}

.pkg-note {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	margin-top: 28px;
	padding: 20px 24px;
	background: var(--teal-pale);
	border-radius: var(--skin-radius);
}

.pkg-note p {
	flex: 1 1 320px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--text-mid);
}

@media (max-width: 900px) {

	.lum-foot__head {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.lum-foot__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 26px;
	}

	.lum-foot__col--districts {
		grid-column: 1 / -1;
	}

	.lum-foot__bottom p:last-child {
		margin-left: 0;
	}
}

@media (max-width: 600px) {

	.lum-foot__grid {
		grid-template-columns: 1fr;
	}
}
