/* Contacts page — corporate RF layout */

.indastro-contacts {
	--ic-red: #e4032d;
	--ic-dark: #37383a;
	--ic-muted: #6e7177;
	--ic-border: #d9dde3;
	--ic-bg: #f8f9fb;
	color: var(--ic-dark);
	font-size: 16px;
	line-height: 1.55;
	margin: 0 auto 4rem;
	max-width: 100%;
}

.indastro-contacts__inner {
	box-sizing: border-box;
	margin: 0 auto;
	max-width: 1200px;
	padding-left: 20px;
	padding-right: 20px;
}

.indastro-contacts__hero {
	padding: 2.5rem 0 0.5rem;
}

.indastro-contacts__overline {
	color: var(--ic-red);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	margin: 0 0 0.6rem;
	text-transform: uppercase;
}

.indastro-contacts__h1 {
	font-size: clamp(1.7rem, 3vw, 2.15rem);
	font-weight: 700;
	letter-spacing: 0.01em;
	line-height: 1.2;
	margin: 0 0 1rem;
}

.indastro-contacts__lead {
	color: var(--ic-muted);
	font-size: 1.05rem;
	margin: 0;
	max-width: 720px;
	overflow-wrap: anywhere;
}

.indastro-contacts__section {
	padding: 2.25rem 0;
}

.indastro-contacts__section--muted {
	background: var(--ic-bg);
}

.indastro-contacts__h2 {
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	margin: 0 0 0.85rem;
	text-transform: uppercase;
}

.indastro-contacts__cards {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(4, 1fr);
	list-style: none;
	margin: 0;
	padding: 0;
}

.indastro-contacts__card {
	background: #fff;
	border: 1px solid var(--ic-border);
	border-left: 3px solid var(--ic-red);
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	min-height: 100%;
	padding: 1.15rem 1.2rem 1.2rem;
}

.indastro-contacts__card-label {
	color: var(--ic-muted);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.indastro-contacts__card-value {
	color: var(--ic-dark);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.35;
	text-decoration: none;
	overflow-wrap: anywhere;
}

a.indastro-contacts__card-value:hover {
	color: var(--ic-red);
}

.indastro-contacts__card-note {
	color: var(--ic-muted);
	font-size: 0.85rem;
	line-height: 1.4;
}

.indastro-contacts__split {
	align-items: start;
	display: grid;
	gap: 2.5rem;
	grid-template-columns: 1.05fr 0.95fr;
}

.indastro-contacts__block {
	margin-bottom: 2rem;
}

.indastro-contacts__block:last-child {
	margin-bottom: 0;
}

.indastro-contacts__address {
	display: flex;
	flex-direction: column;
	font-style: normal;
	font-weight: 600;
	gap: 0.15rem;
	margin: 0 0 0.6rem;
}

.indastro-contacts__note {
	color: var(--ic-muted);
	font-size: 0.92rem;
	margin: 0 0 1rem;
}

.indastro-contacts__block#rekvizity {
	scroll-margin-top: 96px;
}

.indastro-contacts__table {
	border-collapse: collapse;
	font-size: 0.92rem;
	margin: 0 0 0.75rem;
	width: 100%;
}

.indastro-contacts__table th,
.indastro-contacts__table td {
	border-bottom: 1px solid var(--ic-border);
	padding: 0.55rem 0.75rem 0.55rem 0;
	text-align: left;
	vertical-align: top;
}

.indastro-contacts__table th {
	color: var(--ic-muted);
	font-weight: 500;
	width: 38%;
}

.indastro-contacts__table td {
	font-weight: 600;
	word-break: break-word;
}

.indastro-contacts__form-wrap {
	background: #fff;
	border: 1px solid var(--ic-border);
	padding: 1.5rem 1.5rem 1.35rem;
}

.indastro-contacts__form {
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
}

.indastro-contacts__hp {
	height: 0;
	left: -9999px;
	overflow: hidden;
	position: absolute;
	width: 0;
}

.indastro-contacts__field {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.indastro-contacts__field span {
	color: var(--ic-muted);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.indastro-contacts__field abbr {
	color: var(--ic-red);
	text-decoration: none;
}

.indastro-contacts__field input,
.indastro-contacts__field textarea {
	background: #fff;
	border: 1px solid var(--ic-border);
	border-radius: 0;
	box-shadow: none;
	box-sizing: border-box;
	color: var(--ic-dark);
	font: inherit;
	padding: 0.65rem 0.8rem;
	width: 100%;
}

.indastro-contacts__field input:focus,
.indastro-contacts__field textarea:focus {
	border-color: var(--ic-dark);
	outline: none;
}

.indastro-contacts__field textarea {
	min-height: 140px;
	resize: vertical;
}

.indastro-contacts__row {
	display: grid;
	gap: 0.9rem;
	grid-template-columns: 1fr 1fr;
}

.indastro-contacts__consent {
	align-items: flex-start;
	color: var(--ic-muted);
	display: flex;
	font-size: 0.85rem;
	gap: 0.6rem;
	line-height: 1.45;
}

.indastro-contacts__consent input {
	accent-color: var(--ic-red);
	flex: 0 0 auto;
	height: 18px;
	margin-top: 0.15rem;
	width: 18px;
}

.indastro-contacts__consent a {
	color: var(--ic-dark);
	text-decoration: underline;
}

.indastro-contacts__consent a:hover {
	color: var(--ic-red);
}

.indastro-contacts__submit {
	align-self: flex-start;
	background: var(--ic-red);
	border: 1px solid var(--ic-red);
	border-radius: 0;
	color: #fff;
	cursor: pointer;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	padding: 0.85rem 1.4rem;
	text-transform: uppercase;
}

.indastro-contacts__submit:hover {
	background: #c90327;
	border-color: #c90327;
	color: #fff;
}

.indastro-contacts__hint {
	color: var(--ic-muted);
	font-size: 0.8rem;
	margin: 0;
}

.indastro-contacts__alert {
	border-left: 3px solid var(--ic-border);
	font-size: 0.92rem;
	margin: 0 0 1rem;
	padding: 0.75rem 0.9rem;
}

.indastro-contacts__alert--ok {
	background: #f3f8f4;
	border-left-color: #2f7d4a;
	color: #245c37;
}

.indastro-contacts__alert--err {
	background: #fdf2f3;
	border-left-color: var(--ic-red);
	color: #8a1024;
}

.indastro-contacts__map {
	background: var(--ic-bg);
	border: 1px solid var(--ic-border);
	height: 380px;
	margin-top: 0.35rem;
	overflow: hidden;
}

.indastro-contacts__map iframe {
	border: 0;
	display: block;
	height: 100%;
	width: 100%;
}

.indastro-contacts__faq {
	border-top: 1px solid var(--ic-border);
	margin-top: 0.5rem;
}

.indastro-contacts__faq-item {
	border-bottom: 1px solid var(--ic-border);
}

.indastro-contacts__faq-item summary {
	cursor: pointer;
	font-weight: 600;
	list-style: none;
	padding: 0.95rem 2rem 0.95rem 0;
	position: relative;
}

.indastro-contacts__faq-item summary::-webkit-details-marker {
	display: none;
}

.indastro-contacts__faq-item summary::after {
	color: var(--ic-red);
	content: "+";
	font-size: 1.2rem;
	font-weight: 500;
	line-height: 1;
	position: absolute;
	right: 0;
	top: 0.95rem;
}

.indastro-contacts__faq-item[open] summary {
	color: var(--ic-red);
}

.indastro-contacts__faq-item[open] summary::after {
	content: "–";
}

.indastro-contacts__faq-item p {
	color: var(--ic-muted);
	margin: 0 0 1rem;
	max-width: 820px;
	padding-right: 2rem;
}

@media (max-width: 991px) {
	.indastro-contacts__cards,
	.indastro-contacts__split,
	.indastro-contacts__row {
		grid-template-columns: 1fr 1fr;
	}

	.indastro-contacts__map {
		height: 300px;
	}
}

@media (max-width: 639px) {
	.indastro-contacts__cards,
	.indastro-contacts__split,
	.indastro-contacts__row {
		grid-template-columns: 1fr;
	}

	.indastro-contacts__hero {
		padding-top: 1.5rem;
	}

	.indastro-contacts__form-wrap {
		padding: 1.15rem;
	}

	.indastro-contacts__submit {
		width: 100%;
	}

	.indastro-contacts__inner {
		padding-left: 16px;
		padding-right: 16px;
	}

	.indastro-contacts__table th,
	.indastro-contacts__table td {
		display: block;
		width: 100%;
		padding-right: 0;
	}

	.indastro-contacts__table th {
		border-bottom: 0;
		padding-bottom: 0.15rem;
	}
}
