/*
 * ELNIQ GEO — Contact page (/contact/) section styles. Loaded only on
 * this page template. Values copied verbatim from "Contact.dc.html".
 * URL is /contact/ (flattened from /company/contact/ — see the
 * URL-restructure note in site-header.php); the #contact-form anchor
 * (used by Pricing's Enterprise "Contact Sales" button) is unchanged.
 */

.eg-contact-hero {
	padding: 72px 24px 40px;
}
.eg-contact-hero__inner {
	max-width: 700px;
	margin: 0 auto;
	text-align: center;
}
.eg-contact-hero__inner h1 {
	font-size: clamp(32px, 4.6vw, 52px);
	font-weight: 800;
	color: var(--eg-text-heading);
	margin: 0 0 18px;
	letter-spacing: -0.01em;
	line-height: 1.08;
}
.eg-contact-hero__inner p {
	font-size: 17.5px;
	color: var(--eg-text-secondary);
	margin: 0;
	line-height: 1.65;
}

.eg-contact-methods {
	padding: 24px 24px 24px;
}
.eg-contact-methods__grid {
	max-width: 900px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}
@media (min-width: 900px) {
	.eg-contact-methods__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
.eg-contact-method {
	background: #fff;
	border: 1px solid var(--eg-border-light);
	border-radius: 18px;
	box-shadow: 0 10px 32px rgba(16, 35, 95, 0.06);
	padding: 36px 32px;
}
.eg-contact-method__icon {
	width: 50px;
	height: 50px;
	border-radius: 12px;
	background: rgba(21, 93, 252, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
}
.eg-contact-method h3 {
	font-size: 19px;
	font-weight: 800;
	color: var(--eg-text-heading);
	margin: 0 0 8px;
	letter-spacing: -0.005em;
}
.eg-contact-method p {
	font-size: 14.5px;
	color: var(--eg-text-secondary);
	line-height: 1.55;
	margin: 0 0 14px;
}
.eg-contact-method p:last-child {
	margin-bottom: 0;
}
.eg-contact-method a {
	font-size: 15.5px;
	font-weight: 700;
}

.eg-contact-form-section {
	padding: 40px 24px 96px;
	scroll-margin-top: 96px;
}
.eg-contact-form-card {
	max-width: 560px;
	margin: 0 auto;
	background: #fff;
	border: 1px solid var(--eg-border-light);
	border-radius: 20px;
	box-shadow: 0 12px 40px rgba(16, 35, 95, 0.08);
	padding: 44px;
}
.eg-contact-form {
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.eg-contact-form label.eg-contact-form__label {
	display: block;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--eg-text-heading);
	margin-bottom: 6px;
}
.eg-contact-form__required {
	color: var(--eg-blue);
}
.eg-contact-form input[type="text"],
.eg-contact-form input[type="email"],
.eg-contact-form textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #E2E8F0;
	border-radius: 8px;
	font-size: 14.5px;
	color: var(--eg-text-heading);
	outline: none;
	transition: border-color 0.15s ease;
	font-family: inherit;
}
.eg-contact-form input[type="text"]:focus,
.eg-contact-form input[type="email"]:focus,
.eg-contact-form textarea:focus {
	border-color: var(--eg-blue);
}
.eg-contact-form textarea {
	resize: vertical;
}
.eg-contact-form__consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 13px;
	color: var(--eg-text-secondary);
	line-height: 1.5;
	cursor: pointer;
}
.eg-contact-form__consent input[type="checkbox"] {
	margin-top: 2px;
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	accent-color: var(--eg-blue);
	cursor: pointer;
}
.eg-contact-form__consent a {
	font-weight: 600;
}
.eg-contact-form__submit {
	margin-top: 6px;
	font-size: 15px;
	padding: 14px 20px;
	border-radius: 8px;
	box-shadow: none;
}
.eg-contact-form__submit:hover,
.eg-contact-form__submit:focus-visible {
	box-shadow: 0 8px 20px rgba(21, 93, 252, 0.32);
	filter: brightness(1.05);
}

.eg-contact-form-success {
	text-align: center;
	padding: 12px 0;
	display: none;
}
.eg-contact-form-success.is-visible {
	display: block;
}
.eg-contact-form-success__icon {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: rgba(22, 163, 74, 0.12);
	color: var(--eg-accent-green);
	font-size: 26px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
}
.eg-contact-form-success h2 {
	font-size: 22px;
	font-weight: 800;
	color: var(--eg-text-heading);
	margin: 0 0 14px;
	letter-spacing: -0.01em;
}
.eg-contact-form-success p {
	font-size: 15px;
	line-height: 1.65;
	color: var(--eg-text-secondary);
	margin: 0 0 28px;
}
.eg-contact-form-success__cta {
	display: inline-block;
	font-size: 14.5px;
	padding: 13px 28px;
	border-radius: 8px;
	box-shadow: none;
}
.eg-contact-form-success__cta:hover,
.eg-contact-form-success__cta:focus-visible {
	box-shadow: 0 8px 20px rgba(21, 93, 252, 0.32);
	filter: brightness(1.05);
}

.eg-contact-social {
	padding: 0 24px 96px;
}
.eg-contact-social__inner {
	max-width: 560px;
	margin: 0 auto;
	text-align: center;
}
.eg-contact-social__eyebrow {
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--eg-blue);
	margin-bottom: 16px;
}
.eg-contact-social__icons {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
}
.eg-contact-social__icons a {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #fff;
	border: 1px solid var(--eg-border-light);
	box-shadow: 0 6px 20px rgba(16, 35, 95, 0.05);
	display: flex;
	align-items: center;
	justify-content: center;
}
.eg-contact-social__icons a:hover,
.eg-contact-social__icons a:focus-visible {
	border-color: var(--eg-blue);
	box-shadow: 0 8px 22px rgba(21, 93, 252, 0.18);
}
