.db-contacts-page,
.db-contacts-page * {
	box-sizing: border-box;
}

.db-contacts-page {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	-webkit-font-smoothing: antialiased;
	color: #1a1d24;
	background: #ffffff;
}

.db-contacts-page .db-contacts-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 32px;
}

.db-contacts-hero {
	padding: 36px 0 28px;
	background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
	border-bottom: 1px solid #e4e8f0;
}
.db-contacts-hero h1 {
	font-family: 'Inter', sans-serif;
	font-size: 38px;
	font-weight: 800;
	color: #0a0e1a;
	letter-spacing: -0.025em;
	line-height: 1.1;
	margin: 0 0 10px;
}
.db-contacts-hero p {
	font-size: 16px;
	line-height: 1.55;
	color: #5a6478;
	margin: 0;
	max-width: 640px;
}

.db-contacts-main {
	padding: 40px 0;
}
.db-contacts-split {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 24px;
	align-items: stretch;
	margin-bottom: 22px;
}

.db-contacts-map {
	border-radius: 16px;
	overflow: hidden;
	background: #eef2fb;
	border: 1px solid #e4e8f0;
	min-height: 400px;
}
.db-contacts-map iframe {
	width: 100%;
	height: 100%;
	min-height: 400px;
	border: 0;
	display: block;
}

.db-contacts-panel {
	background: #ffffff;
	border: 1px solid #e4e8f0;
	border-radius: 16px;
	padding: 24px;
	position: relative;
	overflow: hidden;
	box-shadow: 0 6px 24px -14px rgba(0, 57, 166, 0.15);
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.db-contacts-panel::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, #0039a6, #d52b1e);
}

.db-contacts-phone {
	display: flex;
	align-items: center;
	gap: 13px;
	padding: 16px 20px;
	background: #0039a6;
	color: #ffffff;
	text-decoration: none;
	border-radius: 12px;
	box-shadow: 0 8px 22px rgba(0, 57, 166, 0.25);
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.db-contacts-phone:hover {
	background: #002b80;
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(0, 57, 166, 0.32);
}
.db-contacts-phone-icon {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.18);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.db-contacts-phone-icon svg {
	width: 19px;
	height: 19px;
}
.db-contacts-phone-text {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
}
.db-contacts-phone-label {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	color: rgba(255, 255, 255, 0.78);
	margin-bottom: 5px;
}
.db-contacts-phone-num {
	font-family: 'Inter', sans-serif;
	font-size: 20px;
	font-weight: 800;
	letter-spacing: -0.018em;
}

.db-contacts-messengers {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}
.db-contacts-msg {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 14px;
	border-radius: 10px;
	color: #ffffff;
	text-decoration: none;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: -0.005em;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.db-contacts-msg:hover {
	color: #ffffff;
	transform: translateY(-1px);
}
.db-contacts-msg svg {
	width: 17px;
	height: 17px;
}
.db-msg-wa {
	background: #25d366;
	box-shadow: 0 6px 16px rgba(37, 211, 102, 0.28);
}
.db-msg-wa:hover {
	box-shadow: 0 10px 22px rgba(37, 211, 102, 0.38);
}
.db-msg-tg {
	background: #229ed9;
	box-shadow: 0 6px 16px rgba(34, 158, 217, 0.28);
}
.db-msg-tg:hover {
	box-shadow: 0 10px 22px rgba(34, 158, 217, 0.38);
}

.db-contacts-mini {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding-top: 4px;
	border-top: 1px solid #e4e8f0;
}
.db-contacts-mini-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 0;
	text-decoration: none;
	color: #1a1d24;
	font-size: 14px;
	font-weight: 600;
	transition: color 0.2s ease;
}
.db-contacts-mini-item:not(.db-contacts-mini-static):hover {
	color: #0039a6;
}
.db-contacts-mini-item svg {
	width: 17px;
	height: 17px;
	color: #0039a6;
	flex-shrink: 0;
}
.db-contacts-mini-static {
	color: #5a6478;
}

.db-offices-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}
.db-office-card {
	background: #ffffff;
	border: 1px solid #e4e8f0;
	border-radius: 14px;
	padding: 20px 22px;
	position: relative;
	overflow: hidden;
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.db-office-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 3px;
	height: 100%;
	background: #0039a6;
}
.db-office-card:nth-child(2)::before {
	background: #d52b1e;
}
.db-office-card:hover {
	border-color: #c0c8d8;
	box-shadow: 0 10px 26px -14px rgba(0, 57, 166, 0.18);
}
.db-office-head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 6px;
}
.db-office-badge {
	display: inline-block;
	padding: 4px 10px;
	background: rgba(0, 57, 166, 0.08);
	color: #0039a6;
	border-radius: 12px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.6px;
}
.db-office-badge-accent {
	background: rgba(213, 43, 30, 0.08);
	color: #d52b1e;
}
.db-office-card h3 {
	font-family: 'Inter', sans-serif;
	font-size: 20px;
	font-weight: 800;
	color: #0a0e1a;
	letter-spacing: -0.015em;
	line-height: 1.2;
	margin: 0;
}
.db-office-addr {
	font-size: 14px;
	line-height: 1.5;
	color: #1a1d24;
	margin: 0 0 8px;
}
.db-office-meta {
	font-size: 13px;
	color: #5a6478;
	font-weight: 500;
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
}
.db-office-dot {
	color: #c0c8d8;
}

.db-contacts-requisites {
	padding: 28px 0 40px;
	background: #ffffff;
}
.db-requisites-card {
	background: #ffffff;
	border: 1px solid #e4e8f0;
	border-radius: 14px;
	overflow: hidden;
}
.db-requisites-head {
	padding: 20px 24px;
	background: #f7f9fc;
	border-bottom: 1px solid #e4e8f0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	flex-wrap: wrap;
}
.db-requisites-label {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	color: #5a6478;
	margin-bottom: 4px;
}
.db-requisites-title {
	font-family: 'Inter', sans-serif;
	font-size: 22px;
	font-weight: 800;
	color: #0a0e1a;
	letter-spacing: -0.018em;
	line-height: 1.2;
}
.db-requisites-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 18px;
	background: #0039a6;
	color: #ffffff;
	text-decoration: none;
	border-radius: 9px;
	font-size: 13.5px;
	font-weight: 700;
	letter-spacing: -0.005em;
	transition: background 0.2s ease, transform 0.2s ease;
}
.db-requisites-btn:hover {
	background: #002b80;
	color: #ffffff;
	transform: translateY(-1px);
}
.db-requisites-btn svg {
	width: 15px;
	height: 15px;
}
.db-requisites-list {
	margin: 0;
	padding: 6px 24px 16px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
}
.db-requisites-row {
	padding: 14px 16px 14px 0;
	border-bottom: 1px solid #e4e8f0;
	display: flex;
	flex-direction: column;
	gap: 3px;
}
.db-requisites-row-wide {
	grid-column: 1 / -1;
	padding-right: 0;
}
.db-requisites-row dt {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #5a6478;
}
.db-requisites-row dd {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	color: #0a0e1a;
	letter-spacing: -0.005em;
}

.db-contacts-form-section {
	padding: 20px 0 40px;
	background: #ffffff;
}
.db-contacts-form-section .db-order-form-wrap {
	padding: 0;
	background: none;
}

.db-contacts-faq {
	padding: 40px 0 60px;
	background: #f7f9fc;
}
.db-faq-head {
	margin-bottom: 24px;
}
.db-faq-head h2 {
	font-family: 'Inter', sans-serif;
	font-size: 28px;
	font-weight: 800;
	color: #0a0e1a;
	letter-spacing: -0.02em;
	line-height: 1.2;
	margin: 0;
}
.db-faq-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.db-faq-item {
	background: #ffffff;
	border: 1px solid #e4e8f0;
	border-radius: 12px;
	overflow: hidden;
	transition: border-color 0.2s ease;
}
.db-faq-item[open] {
	border-color: #c0c8d8;
}
.db-faq-question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 16px 20px;
	cursor: pointer;
	font-family: 'Inter', sans-serif;
	font-size: 15.5px;
	font-weight: 700;
	color: #0a0e1a;
	letter-spacing: -0.008em;
	line-height: 1.4;
	list-style: none;
	transition: color 0.2s ease;
}
.db-faq-question::-webkit-details-marker {
	display: none;
}
.db-faq-question:hover {
	color: #0039a6;
}
.db-faq-icon {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: rgba(0, 57, 166, 0.08);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #0039a6;
	flex-shrink: 0;
	transition: transform 0.3s ease, background 0.2s ease;
}
.db-faq-icon svg {
	width: 14px;
	height: 14px;
}
.db-faq-item[open] .db-faq-icon {
	transform: rotate(180deg);
	background: #0039a6;
	color: #ffffff;
}
.db-faq-answer {
	padding: 0 20px 18px;
}
.db-faq-answer p {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.6;
	color: #5a6478;
}

@media (max-width: 1024px) {
	.db-contacts-split {
		grid-template-columns: 1fr;
	}
	.db-contacts-map,
	.db-contacts-map iframe {
		min-height: 340px;
	}
}

@media (max-width: 720px) {
	.db-contacts-page .db-contacts-container { padding: 0 16px; }
	.db-contacts-hero { padding: 28px 0 24px; }
	.db-contacts-hero h1 { font-size: 28px; }
	.db-contacts-hero p { font-size: 14.5px; }
	.db-contacts-main { padding: 28px 0; }

	.db-contacts-panel { padding: 20px; gap: 14px; }
	.db-contacts-phone { padding: 14px 16px; }
	.db-contacts-phone-num { font-size: 18px; }

	.db-offices-grid { grid-template-columns: 1fr; }
	.db-office-card { padding: 18px 20px; }

	.db-contacts-requisites { padding: 18px 0 32px; }
	.db-requisites-head {
		padding: 16px 20px;
		gap: 14px;
	}
	.db-requisites-title { font-size: 19px; }
	.db-requisites-btn { width: 100%; justify-content: center; }
	.db-requisites-list {
		grid-template-columns: 1fr;
		padding: 4px 20px 12px;
	}
	.db-requisites-row {
		padding: 12px 0;
	}

	.db-contacts-form-section { padding: 14px 0 32px; }
	.db-contacts-faq { padding: 32px 0 44px; }
	.db-faq-head h2 { font-size: 24px; }
	.db-faq-question { padding: 14px 16px; font-size: 14.5px; gap: 14px; }
	.db-faq-answer { padding: 0 16px 16px; }
	.db-faq-answer p { font-size: 13.5px; }
}
