
:root {
	--navy: #16294f;
	--navy_2: #223a6b;
	--red: #e31e24;
	--paper: #f5f6f8;
	--card_bg: #ffffff;
	--line: #e3e6ec;
	--ink: #16294f;
	--ink_soft: #5c6472;
	--open_green: #1f9d5c;
	--closed_slate: #9aa1ac;
	--radius: 14px;
	}

* {
	box-sizing: border-box;
	}

html, body {
	background: #f5f6f8 !important;
	}

#site {
	background: #f5f6f8 !important;
	}

body {
	margin: 0;
	background: var(--paper);
	font-family: 'Inter', sans-serif;
	color: var(--ink);
	-webkit-font-smoothing: antialiased;
	}

/* ---------- Hero ---------- */

.hero {
	position: relative;
	background: linear-gradient(160deg, var(--navy) 0%, var(--navy_2) 100%);
	padding: 64px 24px 56px;
	overflow: hidden;
	}

.hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: radial-gradient(circle, rgba(255,255,255,0.14) 1.5px, transparent 1.5px);
	background-size: 28px 28px;
	mask-image: radial-gradient(ellipse 70% 90% at 30% 20%, black 40%, transparent 85%);
	-webkit-mask-image: radial-gradient(ellipse 70% 90% at 30% 20%, black 40%, transparent 85%);
	}

.hero_inner {
	position: relative;
	max-width: 1280px;
	margin: 0 auto;
	}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #ffb3b0;
	margin-bottom: 14px;
	}

.eyebrow::before {
	content: '';
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--red);
	}

.hero h1 {
	font-family: 'Manrope', sans-serif;
	font-weight: 800;
	font-size: clamp(2rem, 4vw, 2.9rem);
	color: #fff;
	margin: 0 0 12px;
	letter-spacing: -0.01em;
	}

.hero p {
	font-size: 1.05rem;
	color: rgba(255,255,255,0.72);
	max-width: 520px;
	margin: 0;
	line-height: 1.5;
	}

.hero p strong {
	color: #fff;
	font-weight: 600;
	}

/* ---------- Grid секция ---------- */

.office_section {
	max-width: 1600px;
	margin: 0 auto;
	padding: 48px 24px 80px;
	}

.office_grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	}

@media (max-width: 899px) and (min-width: 600px) {
	.office_grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 22px;
		}
	}

@media (max-width: 599px) {
	.office_grid {
		grid-template-columns: 1fr;
		gap: 18px;
		}
	}

/* ---------- Карта на офис ---------- */

.office_card {
	display: block;
	background: var(--card_bg);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	text-decoration: none;
	color: inherit;
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
	}

.office_card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 32px -12px rgba(22,41,79,0.22);
	border-color: transparent;
	}

.office_card:focus-visible {
	outline: 3px solid var(--red);
	outline-offset: 2px;
	}

.office_photo {
	position: relative;
	height: 300px;
	overflow: hidden;
	background: var(--line);
	}

.office_photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
	}

.office_card:hover .office_photo img {
	transform: scale(1.05);
	}

.status_pill {
	position: absolute;
	left: 12px;
	bottom: 12px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 10px 5px 8px;
	border-radius: 999px;
	background: rgba(255,255,255,0.94);
	backdrop-filter: blur(4px);
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--ink);
	}

.status_dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	flex-shrink: 0;
	}

.status_pill.is_open .status_dot {
	background: var(--open_green);
	box-shadow: 0 0 0 0 rgba(31,157,92,0.55);
	animation: pulse 2s infinite;
	}

.status_pill.is_closed .status_dot {
	background: var(--red);
	}

@keyframes pulse {
	0%	{ box-shadow: 0 0 0 0 rgba(31,157,92,0.45); }
	70%	{ box-shadow: 0 0 0 7px rgba(31,157,92,0); }
	100%	{ box-shadow: 0 0 0 0 rgba(31,157,92,0); }
	}

.office_body {
	padding: 18px 18px 20px;
	}

.office_name {
	font-family: 'Manrope', sans-serif;
	font-size: 1.15rem;
	font-weight: 700;
	margin: 0 0 10px;
	color: var(--ink);
	letter-spacing: -0.01em;
	}

.office_meta {
	display: flex;
	align-items: flex-start;
	gap: 7px;
	font-size: 0.87rem;
	color: var(--ink_soft);
	margin: 0 0 6px;
	line-height: 1.4;
	}

.office_meta:last-child {
	margin-bottom: 0;
	}

.office_meta svg {
	flex-shrink: 0;
	margin-top: 2px;
	opacity: 0.7;
	}

/* ---------- Respect prefers-reduced-motion ---------- */

@media (prefers-reduced-motion: reduce) {
	.office_card, .office_photo img, .status_pill.is_open .status_dot {
		transition: none !important;
		animation: none !important;
		}
	}
