/* Neto UI — contact switchboard [neto_ui_page_contact] */

.neto-contact {
	position: relative;
	z-index: 1;
	isolation: isolate;
	padding-block: clamp(0.75rem, 2.5vh, 1.75rem) clamp(2.25rem, 5.5vh, 3.5rem);
	margin: 0;
	font-family: var(--neto-font);
	color: var(--neto-ink);
	overflow: hidden;
}

.neto-contact__wrap {
	position: relative;
	z-index: 1;
	width: min(100% - 1.75rem, var(--neto-content-max, 1300px));
	max-width: none;
	margin-inline: auto;
	padding-inline: 0;
	box-sizing: border-box;
}

@media (max-width: 640px) {
	.neto-contact__wrap {
		width: min(100% - 1.25rem, var(--neto-content-max, 1300px));
	}
}

.neto-contact__board {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
	gap: clamp(1.25rem, 3vw, 2.5rem);
	align-items: start;
}

@media (max-width: 900px) {
	.neto-contact__board {
		grid-template-columns: 1fr;
	}
}

/* —— Story column —— */
.neto-contact__story {
	position: relative;
	padding: clamp(1.35rem, 3vw, 2rem);
	border-radius: 1.5rem;
	border: 1px solid color-mix(in srgb, var(--neto-brand) 14%, var(--neto-line));
	background:
		linear-gradient(155deg, color-mix(in srgb, var(--neto-brand) 9%, #fff) 0%, #fff 48%, color-mix(in srgb, var(--neto-page, #f4f7fd) 70%, #fff) 100%);
	overflow: hidden;
	min-height: 100%;
}

html[data-neto-ui-theme="dark"] .neto-contact__story {
	border-color: #27272a;
	background:
		linear-gradient(155deg, rgba(0, 77, 119, 0.35) 0%, #191919 45%, #111113 100%);
}

.neto-contact__story::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: 12%;
	bottom: 12%;
	width: 3px;
	border-radius: 999px;
	background: linear-gradient(180deg, transparent, var(--neto-brand), transparent);
}

html[data-neto-ui-theme="dark"] .neto-contact__story::before {
	background: linear-gradient(180deg, transparent, #00d7ff, transparent);
}

.neto-contact__intro {
	margin: 0 0 0.85rem;
	padding-inline: 0.25rem;
}

.neto-contact__map-head {
	position: relative;
	z-index: 1;
	margin: 0 0 0.75rem;
}

.neto-contact__map-label {
	margin: 0 0 0.25rem;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--neto-brand);
}

html[data-neto-ui-theme="dark"] .neto-contact__map-label {
	color: #00d7ff;
}

.neto-contact__company {
	margin: 0;
	font-size: 0.92rem;
	font-weight: 650;
	letter-spacing: -0.01em;
	line-height: 1.5;
	color: var(--neto-ink);
	text-wrap: balance;
}

html[data-neto-ui-theme="dark"] .neto-contact__company {
	color: #fafafa;
}

.neto-contact__lead {
	position: relative;
	z-index: 1;
	margin: 0;
	max-width: none;
	font-size: 0.95rem;
	line-height: 1.9;
	color: var(--neto-muted);
}

.neto-contact__lead p {
	margin: 0 0 0.55rem;
}

.neto-contact__lead p:last-child {
	margin-bottom: 0;
}

.neto-contact__lead a {
	color: var(--neto-brand);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

html[data-neto-ui-theme="dark"] .neto-contact__lead a {
	color: #00d7ff;
}

.neto-contact__map {
	position: relative;
	z-index: 1;
	margin: 0;
	padding: 0;
	border-radius: 1rem;
	overflow: hidden;
	border: 1px solid color-mix(in srgb, var(--neto-brand) 16%, var(--neto-line));
	background: color-mix(in srgb, var(--neto-page, #f4f7fd) 80%, #fff);
	aspect-ratio: 4 / 3;
	min-height: 14rem;
	flex: 1 1 auto;
}

html[data-neto-ui-theme="dark"] .neto-contact__map {
	border-color: #27272a;
	background: #111113;
}

.neto-contact__map-frame {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	filter: grayscale(0.15) contrast(1.02);
}

html[data-neto-ui-theme="dark"] .neto-contact__map-frame {
	filter: grayscale(0.25) brightness(0.85) contrast(1.05);
}

/* —— Switchboard —— */
.neto-contact__switch {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	min-width: 0;
}

.neto-contact__switch-label {
	margin: 0 0 0.15rem;
	padding-inline: 0.25rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--neto-muted);
}

.neto-contact__lines {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	position: relative;
}

.neto-contact__lines::before {
	content: "";
	position: absolute;
	inset-inline-start: 1.45rem;
	top: 0.9rem;
	bottom: 0.9rem;
	width: 1px;
	background: linear-gradient(
		180deg,
		transparent,
		color-mix(in srgb, var(--neto-brand) 28%, var(--neto-line)),
		transparent
	);
	pointer-events: none;
}

html[data-neto-ui-theme="dark"] .neto-contact__lines::before {
	background: linear-gradient(180deg, transparent, rgba(0, 215, 255, 0.25), transparent);
}

@media (max-width: 640px) {
	.neto-contact__lines::before {
		display: none;
	}
}

.neto-contact__line {
	margin: 0;
	opacity: 0;
	transform: translateX(12px);
	animation: netoContactIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
	animation-delay: calc(0.06s * var(--neto-c-i, 1));
}

@keyframes netoContactIn {
	to {
		opacity: 1;
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.neto-contact__line {
		opacity: 1;
		transform: none;
		animation: none;
	}
}

.neto-contact__line-link {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	align-items: center;
	gap: 0.75rem 1rem;
	padding: 0.95rem 1rem 0.95rem 1.05rem;
	border-radius: 1.15rem;
	border: 1px solid var(--neto-line);
	background: linear-gradient(180deg, #fff 0%, #f7fbff 100%);
	color: inherit;
	text-decoration: none !important;
	overflow: hidden;
	box-sizing: border-box;
	transition:
		transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
		border-color 0.25s ease,
		box-shadow 0.28s ease,
		background 0.25s ease;
}

html[data-neto-ui-theme="dark"] .neto-contact__line-link {
	border-color: #27272a;
	background: linear-gradient(180deg, #171719, #121214);
}

.neto-contact__line-link::before {
	content: "";
	position: absolute;
	inset-block: 0;
	inset-inline-start: 0;
	width: 0;
	background: linear-gradient(90deg, color-mix(in srgb, var(--neto-brand) 16%, transparent), transparent);
	transition: width 0.3s ease;
}

html[data-neto-ui-theme="dark"] .neto-contact__line-link::before {
	background: linear-gradient(90deg, rgba(0, 215, 255, 0.12), transparent);
}

.neto-contact__line-link:hover,
.neto-contact__line-link:focus-visible {
	transform: translateX(-4px);
	border-color: color-mix(in srgb, var(--neto-brand) 40%, var(--neto-line));
	box-shadow: 0 14px 32px rgba(5, 43, 66, 0.1);
	outline: none;
}

html[data-neto-ui-theme="dark"] .neto-contact__line-link:hover,
html[data-neto-ui-theme="dark"] .neto-contact__line-link:focus-visible {
	border-color: rgba(0, 215, 255, 0.35);
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.neto-contact__line-link:hover::before,
.neto-contact__line-link:focus-visible::before {
	width: 100%;
}

.neto-contact__line-meta {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-width: 0;
}

.neto-contact__line-icon {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 2.35rem;
	height: 2.35rem;
	border-radius: 0.75rem;
	border: 1px solid color-mix(in srgb, var(--neto-brand) 18%, var(--neto-line));
	background: color-mix(in srgb, var(--neto-brand) 8%, #fff);
	color: var(--neto-brand);
}

.neto-contact__line-icon svg {
	width: 1.15rem;
	height: 1.15rem;
}

html[data-neto-ui-theme="dark"] .neto-contact__line-icon {
	border-color: #27272a;
	background: rgba(0, 77, 119, 0.4);
	color: #00d7ff;
}

.neto-contact__line-tags {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	min-width: 0;
}

.neto-contact__line-tags strong {
	font-size: 0.88rem;
	font-weight: 750;
	color: var(--neto-ink);
}

html[data-neto-ui-theme="dark"] .neto-contact__line-tags strong {
	color: #fafafa;
}

.neto-contact__line-tags small {
	font-size: 0.72rem;
	color: var(--neto-muted);
}

.neto-contact__line-value {
	position: relative;
	z-index: 1;
	font-size: clamp(0.95rem, 1.4vw, 1.1rem);
	font-weight: 750;
	letter-spacing: -0.01em;
	color: var(--neto-brand);
	text-align: left;
	overflow-wrap: anywhere;
}

html[data-neto-ui-theme="dark"] .neto-contact__line-value {
	color: #00d7ff;
}

.neto-contact__line-go {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 2rem;
	height: 2rem;
	border-radius: 999px;
	border: 1px solid var(--neto-line);
	color: var(--neto-muted);
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

html[data-neto-ui-theme="dark"] .neto-contact__line-go {
	border-color: #27272a;
}

.neto-contact__line-go svg {
	width: 0.95rem;
	height: 0.95rem;
	transform: scaleX(-1);
}

.neto-contact__line-link:hover .neto-contact__line-go,
.neto-contact__line-link:focus-visible .neto-contact__line-go {
	background: var(--neto-brand);
	border-color: transparent;
	color: #fff;
	transform: translateX(-2px);
}

html[data-neto-ui-theme="dark"] .neto-contact__line-link:hover .neto-contact__line-go,
html[data-neto-ui-theme="dark"] .neto-contact__line-link:focus-visible .neto-contact__line-go {
	background: #004d77;
	color: #00d7ff;
}

@media (max-width: 640px) {
	.neto-contact__line-link {
		grid-template-columns: 1fr auto;
		grid-template-areas:
			"meta go"
			"value value";
	}

	.neto-contact__line-meta { grid-area: meta; }
	.neto-contact__line-go { grid-area: go; }
	.neto-contact__line-value {
		grid-area: value;
		text-align: right;
		padding-inline-start: 2.9rem;
	}
}

/* —— Place / map band —— */
.neto-contact__place {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.9rem;
	margin-top: 0.35rem;
	padding: 1.1rem 1.15rem;
	border-radius: 1.25rem;
	border: 1px dashed color-mix(in srgb, var(--neto-brand) 32%, var(--neto-line));
	background:
		repeating-linear-gradient(
			-18deg,
			transparent,
			transparent 10px,
			color-mix(in srgb, var(--neto-brand) 4%, transparent) 10px,
			color-mix(in srgb, var(--neto-brand) 4%, transparent) 11px
		),
		linear-gradient(120deg, color-mix(in srgb, var(--neto-brand) 8%, #fff), #fff);
	color: inherit;
	text-decoration: none !important;
	overflow: hidden;
	transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

html[data-neto-ui-theme="dark"] .neto-contact__place {
	border-color: rgba(0, 215, 255, 0.28);
	background:
		repeating-linear-gradient(
			-18deg,
			transparent,
			transparent 10px,
			rgba(0, 215, 255, 0.04) 10px,
			rgba(0, 215, 255, 0.04) 11px
		),
		linear-gradient(120deg, rgba(0, 77, 119, 0.35), #151517);
}

.neto-contact__place:hover,
.neto-contact__place:focus-visible {
	transform: translateY(-2px);
	border-style: solid;
	border-color: var(--neto-brand);
	box-shadow: 0 16px 36px rgba(5, 43, 66, 0.1);
	outline: none;
}

html[data-neto-ui-theme="dark"] .neto-contact__place:hover,
html[data-neto-ui-theme="dark"] .neto-contact__place:focus-visible {
	border-color: #00d7ff;
}

.neto-contact__place-pin {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 2.6rem;
	height: 2.6rem;
	border-radius: 999px;
	background: var(--neto-brand);
	color: #fff;
	box-shadow: 0 10px 22px rgba(0, 77, 119, 0.28);
}

html[data-neto-ui-theme="dark"] .neto-contact__place-pin {
	background: #004d77;
	color: #00d7ff;
	box-shadow: none;
}

.neto-contact__place-pin svg {
	width: 1.2rem;
	height: 1.2rem;
}

.neto-contact__place-copy {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}

.neto-contact__place-copy strong {
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--neto-muted);
}

.neto-contact__place-copy span {
	font-size: 0.95rem;
	font-weight: 650;
	line-height: 1.55;
	color: var(--neto-ink);
}

html[data-neto-ui-theme="dark"] .neto-contact__place-copy span {
	color: #fafafa;
}

/* Elementor red kill */
.neto-contact a,
.neto-contact a:hover,
.neto-contact a:focus,
.neto-contact a:active,
body[class*="elementor"] .neto-contact a,
body[class*="elementor"] .neto-contact a:hover {
	text-decoration: none !important;
	background-image: none !important;
}

@media (prefers-reduced-motion: reduce) {
	.neto-contact__line-link,
	.neto-contact__place {
		transition: none;
	}

	.neto-contact__line-link:hover,
	.neto-contact__place:hover {
		transform: none;
	}
}
