/**
 * Auto-split from main.css — do not edit section order blindly.
 * Source: assets/css/main.css (kept as reference/aggregate).
 */

/* —— Contact —— */
.hm-contact-hero {
	/* Height / navy / trama: unified via .hm-page-hero in contemporaneo.css */
	color: #fff;
}
.hm-contact-hero .hm-breadcrumbs,
.hm-contact-hero .hm-breadcrumbs a {
	color: rgba(255, 255, 255, 0.78);
}
.hm-contact-hero h1 {
	margin: 0 0 0.5rem;
	font-family: var(--font-display);
	font-weight: 600;
	color: #fff;
}
.hm-contact-hero__lead {
	margin: 0;
	max-width: 52ch;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.88);
}
.hm-contact-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.15rem;
}
.hm-contact-hero .hm-btn--ghost {
	border-color: rgba(255, 255, 255, 0.45);
	color: #fff;
}
.hm-contact-hero .hm-btn--ghost:hover {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}
.hm-contact {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
	gap: clamp(1.75rem, 4vw, 3.25rem);
	padding: clamp(2rem, 4vw, 3rem) 0 3.5rem;
	align-items: start;
}
.hm-contact__intro {
	margin: 0 0 1.35rem;
	color: var(--muted);
	font-weight: 300;
	max-width: 42ch;
}
.hm-contact__intro.hm-prose {
	padding: 0;
	max-width: 42ch;
}
.hm-contact__list {
	display: grid;
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0;
}
.hm-contact__row {
	display: flex;
	align-items: flex-start;
	gap: 0.95rem;
	padding: 1rem 0;
	border-bottom: 1px solid var(--line);
	font-weight: 400;
	font-size: 0.95rem;
	line-height: 1.45;
	transition: background var(--hm-ease, 200ms ease);
}
.hm-contact__row:last-child { border-bottom: 0; }
.hm-contact__ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	flex-shrink: 0;
	border: 1px solid var(--line);
	background: var(--paper);
	color: var(--brand);
	transition: transform var(--hm-ease, 200ms ease), border-color var(--hm-ease, 200ms ease);
}
.hm-contact__ico--wa,
.hm-contact__ico .hm-wa-mark { color: #25d366; }
.hm-contact__row:hover .hm-contact__ico { transform: translateY(-2px); border-color: var(--brand); }
.hm-contact__row--wa:hover .hm-contact__ico { border-color: #25d366; }
.hm-contact__meta { display: grid; gap: 0.15rem; min-width: 0; }
.hm-contact__label {
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
}
.hm-contact__value { color: var(--ink); word-break: break-word; }
.hm-contact__list a {
	text-decoration: none !important;
	color: var(--ink);
}
.hm-contact__list a:hover { color: var(--brand); }
.hm-contact__row--wa a:hover { color: #1da851; }
.hm-form {
	padding: 1.5rem 1.4rem 1.6rem;
	box-shadow: var(--shadow);
}
.hm-form--contact {
	scroll-margin-top: calc(var(--header-h, 72px) + 12px);
}
.hm-form__head { margin-bottom: 1.25rem; }
.hm-form__head h2 {
	margin: 0.15rem 0 0.35rem;
	font-weight: 600;
	font-size: clamp(1.35rem, 2.5vw, 1.7rem);
	letter-spacing: -0.025em;
	color: var(--brand);
}
.hm-form__head-lead {
	margin: 0;
	font-weight: 300;
	color: var(--muted);
	font-size: 0.95rem;
}
.hm-form__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 1rem;
}
.hm-form label { font-weight: 500; font-size: 0.88rem; }
.hm-contact-ship {
	position: relative;
	padding: clamp(2.5rem, 5vw, 3.5rem) 0;
	background: #200c80;
	color: #fff;
}
.hm-contact-ship__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
}
.hm-contact-ship__copy {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	max-width: 52rem;
}
.hm-contact-ship__ico {
	display: inline-flex;
	color: #fff;
	flex-shrink: 0;
	opacity: 0.9;
}
.hm-contact-ship h2 {
	margin: 0 0 0.4rem;
	font-weight: 500;
	font-size: clamp(1.35rem, 2.4vw, 1.75rem);
	letter-spacing: -0.02em;
	color: #fff;
}
.hm-contact-ship p { margin: 0; font-weight: 300; color: rgba(255,255,255,0.85); max-width: 48ch; }
.hm-contact-map {
	/* Full-bleed edge-to-edge (no .hm-container gutters). */
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	background: #e8e8ec;
	border-top: 1px solid var(--brand);
}
.hm-contact-map__shell {
	position: relative;
	width: 100%;
	border: 0;
	background: #fff;
	overflow: hidden;
}
.hm-contact-map__canvas {
	display: block;
	width: 100%;
	aspect-ratio: 21 / 9;
	min-height: 280px;
	max-height: 520px;
	background: #e8e8ec;
	z-index: 0;
}
.hm-contact-map__canvas .leaflet-container {
	width: 100%;
	height: 100%;
	font: inherit;
	background: #e8e8ec;
}
.hm-contact-map__canvas .leaflet-control-attribution {
	font-size: 10px;
	background: rgba(255, 255, 255, 0.82) !important;
	color: var(--muted);
	border: 0;
}
.hm-contact-map__canvas .leaflet-control-attribution a { color: var(--brand); }
.hm-contact-map__pin {
	display: block;
	width: 36px;
	height: 44px;
	margin-left: -18px;
	margin-top: -44px;
}
.hm-contact-map__pin svg {
	display: block;
	width: 36px;
	height: 44px;
	filter: drop-shadow(0 2px 4px rgba(10, 4, 40, 0.28));
}
.hm-contact-map__card {
	position: absolute;
	z-index: 420;
	left: clamp(0.85rem, 2.5vw, 1.35rem);
	bottom: clamp(0.85rem, 2.5vw, 1.35rem);
	display: flex;
	align-items: flex-start;
	gap: 0.85rem;
	max-width: min(22rem, calc(100% - 2rem));
	padding: 1rem 1.1rem;
	background: #fff;
	border: 1px solid var(--brand);
	box-shadow: 0 8px 28px rgba(10, 4, 40, 0.12);
	pointer-events: auto;
}
.hm-contact-map__card-ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	flex-shrink: 0;
	border: 1px solid var(--line);
	background: var(--paper);
	color: var(--brand);
}
.hm-contact-map__card-body { display: grid; gap: 0.2rem; min-width: 0; }
.hm-contact-map__card-label {
	font-size: 0.7rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
}
.hm-contact-map__card-addr {
	margin: 0;
	font-weight: 500;
	font-size: 0.95rem;
	line-height: 1.4;
	color: var(--ink);
}
.hm-contact-map__card-hours {
	margin: 0;
	font-weight: 300;
	font-size: 0.85rem;
	color: var(--muted);
}
.hm-contact-map__card-link {
	margin-top: 0.35rem;
	font-weight: 500;
	font-size: 0.88rem;
	color: var(--brand) !important;
	text-decoration: none !important;
}
.hm-contact-map__card-link:hover { text-decoration: underline !important; }
.hm-contact-map__open {
	position: absolute;
	z-index: 420;
	top: clamp(0.85rem, 2.5vw, 1.2rem);
	right: clamp(0.85rem, 2.5vw, 1.2rem);
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 0.95rem;
	font-weight: 500;
	font-size: 0.82rem;
	letter-spacing: 0.02em;
	color: #fff !important;
	background: var(--brand);
	border: 1px solid var(--brand);
	text-decoration: none !important;
	transition: background var(--hm-ease, 200ms ease), color var(--hm-ease, 200ms ease);
}
.hm-contact-map__open:hover {
	background: var(--brand-dark, #16085c);
	color: #fff !important;
}
@media (max-width: 768px) {
	.hm-contact-map__shell {
		display: flex;
		flex-direction: column;
		overflow: visible;
	}
	.hm-contact-map__canvas {
		position: relative;
		aspect-ratio: auto;
		height: 240px;
		min-height: 200px;
		max-height: 280px;
		flex: 0 0 auto;
	}
	/* Un solo CTA Maps primario (barra); ocultar link duplicado en card */
	.hm-contact-map__open {
		position: static;
		order: 2;
		width: 100%;
		justify-content: center;
		min-height: 44px;
		margin: 0;
	}
	.hm-contact-map__card {
		position: static;
		order: 3;
		left: auto;
		right: auto;
		bottom: auto;
		max-width: none;
		width: 100%;
		box-shadow: none;
		border-top: 0;
	}
	.hm-contact-map__card-link {
		display: none;
	}
}

/* —— Contact —— */
body.hm-site .hm-contact__row {
	padding: 1rem 0;
	border-bottom: 1px solid var(--line);
}
body.hm-site .hm-form--contact {
	border: 1px solid var(--line);
	border-top: 3px solid #200c80;
	background: #fff;
	box-shadow: none;
	padding: clamp(1.4rem, 3vw, 2rem);
}
body.hm-site .hm-form input,
body.hm-site .hm-form textarea,
body.hm-site .hm-form select {
	border-radius: 0;
	border: 1px solid var(--line);
	min-height: 48px;
	padding: 0.75rem 1rem;
	font-weight: 300;
	background: #fbfbfc;
	transition: border-color var(--hm-ease), box-shadow var(--hm-ease), background var(--hm-ease);
}
body.hm-site .hm-form textarea {
	min-height: 140px;
}
body.hm-site .hm-form input:focus,
body.hm-site .hm-form textarea:focus,
body.hm-site .hm-form select:focus {
	outline: none;
	border-color: var(--brand);
	background: #fff;
	box-shadow: 0 0 0 3px rgba(32, 12, 128, 0.08);
}
body.hm-site .hm-form .hm-btn {
	width: 100%;
	margin-top: 0.35rem;
}
body.hm-site .hm-form__consent input[type="checkbox"] {
	width: 1.125rem;
	height: 1.125rem;
	min-width: 1.125rem;
	min-height: 1.125rem;
	padding: 0;
	background-color: #fff;
	border: 2px solid #9a9aa8;
	border-radius: 0;
	box-shadow: none;
}
body.hm-site .hm-form__consent input[type="checkbox"]:checked {
	background-color: #200c80;
	border-color: #200c80;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.2L6.4 11.2L12.5 4.5' stroke='%23fff' stroke-width='2.2' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E");
	background-size: 0.75rem 0.75rem;
	background-position: center;
	background-repeat: no-repeat;
	box-shadow: none;
}
body.hm-site .hm-form__consent input[type="checkbox"]:focus,
body.hm-site .hm-form__consent input[type="checkbox"]:focus-visible {
	background-color: #fff;
	box-shadow: none;
}
body.hm-site .hm-form__consent input[type="checkbox"]:checked:focus,
body.hm-site .hm-form__consent input[type="checkbox"]:checked:focus-visible {
	background-color: #200c80;
}
body.hm-site .hm-form__consent a {
	color: var(--brand);
	text-decoration: underline;
	text-underline-offset: 2px;
}
body.hm-site .hm-contact-ship {
	min-height: 200px;
	display: grid;
	align-items: center;
	background: #200c80;
}

@media (max-width: 980px) {
	.hm-contact {
		grid-template-columns: 1fr;
		gap: 1.75rem;
	}
}

@media (max-width: 768px) {
	.hm-contact {
		grid-template-columns: 1fr;
		gap: 1.5rem;
		padding-bottom: calc(3rem + var(--hm-footer-float-clear-y, 5.5rem));
	}
	.hm-contact__intro,
	.hm-contact__intro.hm-prose {
		max-width: none;
	}
	.hm-contact-hero__actions {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 0.65rem;
		width: 100%;
	}
	.hm-contact-hero__actions .hm-btn {
		width: 100%;
		justify-content: center;
		min-height: 48px;
		padding-inline: 0.75rem;
		font-size: 0.78rem;
	}
	.hm-form__grid {
		grid-template-columns: 1fr;
		gap: 0;
	}
	body.hm-site .hm-form__grid {
		grid-template-columns: 1fr;
	}
	.hm-form label,
	body.hm-site .hm-form label {
		font-size: 0.92rem;
		line-height: 1.35;
	}
	body.hm-site .hm-form input,
	body.hm-site .hm-form textarea,
	body.hm-site .hm-form select,
	.hm-form input,
	.hm-form textarea,
	.hm-form select {
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}
	body.hm-site .hm-form--contact {
		padding: 1.25rem 1.1rem 1.4rem;
	}
	.hm-contact-ship__inner {
		flex-direction: column;
		align-items: stretch;
	}
	.hm-contact-ship .hm-btn {
		width: 100%;
		justify-content: center;
	}
}

@media (max-width: 420px) {
	.hm-contact-hero__actions {
		grid-template-columns: 1fr;
	}
}

