/**
 * Single Ubicación (landing).
 */

.hec-ubicacion {
	background: #fff;
	color: #111;
}

.hec-ubicacion-kicker {
	margin: 0 0 0.55rem;
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: var(--hec-accent, #f47a20);
}

.hec-ubicacion-heading {
	margin: 0;
	font-family: var(--hec-font-heading, var(--hec-font));
	font-size: clamp(1.75rem, 3.4vw, 2.65rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.15;
	color: #111;
}

/* —— Hero —— */
.hec-ubicacion-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: clamp(380px, 68vh, 720px);
	padding: clamp(5.5rem, 14vh, 8rem) 1.5rem 3.75rem;
	color: #fff;
	background-color: #121212;
	background-image: var(--hec-ubicacion-hero-bg);
	background-size: cover;
	isolation: isolate;
	overflow: hidden;
	animation: hec-ubi-fade 0.85s ease both;
}

.hec-ubicacion-hero--fallback {
	background-image:
		radial-gradient(ellipse at 20% 20%, rgba(244, 122, 32, 0.35), transparent 45%),
		linear-gradient(145deg, #2a2118 0%, #121212 55%, #0a0a0a 100%);
}

.hec-ubicacion-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(0, 0, 0, 0.2) 0%,
		rgba(0, 0, 0, 0.55) 45%,
		rgba(0, 0, 0, 0.82) 100%
	);
	z-index: 0;
}

.hec-ubicacion-hero__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
}

.hec-ubicacion-hero__cat {
	margin: 0 0 0.75rem;
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--hec-accent, #f47a20);
}

.hec-ubicacion-hero__title {
	margin: 0 0 1rem;
	max-width: 14ch;
	font-family: var(--hec-font-heading, var(--hec-font));
	font-size: clamp(2.6rem, 7vw, 5rem);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 0.98;
	color: #fff;
}

.hec-ubicacion-hero__excerpt {
	margin: 0 0 1.75rem;
	max-width: 38rem;
	font-size: clamp(1.05rem, 1.6vw, 1.2rem);
	line-height: 1.55;
	opacity: 0.92;
}

.hec-ubicacion-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.1rem 1.5rem;
}

.hec-ubicacion-hero__link {
	color: #fff;
	font-weight: 600;
	font-size: 0.95rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.45);
	padding-bottom: 0.15rem;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.hec-ubicacion-hero__link:hover,
.hec-ubicacion-hero__link:focus {
	color: var(--hec-accent, #f47a20);
	border-color: var(--hec-accent, #f47a20);
}

/* —— Highlights —— */
.hec-ubicacion-highlights {
	padding: clamp(3rem, 6vw, 4.5rem) 1.5rem;
	background: #f7f5f2;
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.hec-ubicacion-highlights__inner {
	max-width: 1180px;
	margin: 0 auto;
}

.hec-ubicacion-highlights__header {
	margin-bottom: 2rem;
	max-width: 36rem;
}

.hec-ubicacion-highlights__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(1.25rem, 2.5vw, 2rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.hec-ubicacion-highlights__item {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.85rem;
	align-items: start;
	animation: hec-ubi-rise 0.7s ease both;
}

.hec-ubicacion-highlights__item:nth-child(2) { animation-delay: 0.08s; }
.hec-ubicacion-highlights__item:nth-child(3) { animation-delay: 0.16s; }
.hec-ubicacion-highlights__item:nth-child(4) { animation-delay: 0.24s; }

.hec-ubicacion-highlights__mark {
	width: 10px;
	height: 10px;
	margin-top: 0.45rem;
	background: var(--hec-accent, #f47a20);
	flex-shrink: 0;
}

.hec-ubicacion-highlights__name {
	display: block;
	margin-bottom: 0.35rem;
	font-family: var(--hec-font-heading, var(--hec-font));
	font-size: 1.1rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #111;
}

.hec-ubicacion-highlights__desc {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.5;
	color: #555;
}

/* —— Info + card —— */
.hec-ubicacion-info {
	padding: clamp(3.5rem, 7vw, 5.5rem) 1.5rem;
}

.hec-ubicacion-info__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.7fr);
	gap: clamp(2rem, 4vw, 3.75rem);
	align-items: start;
	max-width: 1180px;
	margin: 0 auto;
}

.hec-ubicacion-info__body {
	font-size: 1.08rem;
	line-height: 1.75;
	color: #333;
}

.hec-ubicacion-info__body > *:first-child {
	margin-top: 0;
}

.hec-ubicacion-info__body h2,
.hec-ubicacion-info__body h3 {
	font-family: var(--hec-font-heading, var(--hec-font));
	letter-spacing: -0.02em;
	color: #111;
}

.hec-ubicacion-info__body p {
	margin: 0 0 1.15rem;
}

.hec-ubicacion-info__aside {
	position: sticky;
	top: 1.5rem;
}

.hec-ubicacion-card {
	padding: 1.85rem 1.6rem;
	background: #111;
	color: #fff;
}

.hec-ubicacion-card__eyebrow {
	margin: 0 0 0.4rem;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hec-accent, #f47a20);
}

.hec-ubicacion-card__title {
	margin: 0 0 1.35rem;
	font-family: var(--hec-font-heading, var(--hec-font));
	font-size: 1.45rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.hec-ubicacion-card__row {
	margin: 0 0 1.05rem;
	display: grid;
	gap: 0.25rem;
}

.hec-ubicacion-card__label {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	opacity: 0.6;
}

.hec-ubicacion-card__value {
	font-size: 1rem;
	line-height: 1.45;
	color: #fff;
	text-decoration: none;
}

a.hec-ubicacion-card__value:hover,
a.hec-ubicacion-card__value:focus {
	color: var(--hec-accent, #f47a20);
}

.hec-ubicacion-card__cta {
	display: inline-flex;
	margin-top: 0.85rem;
	width: 100%;
	justify-content: center;
}

/* —— Sizes —— */
.hec-ubicacion-sizes {
	padding: clamp(3.5rem, 7vw, 5.5rem) 1.5rem;
	background: #fff;
	border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.hec-ubicacion-sizes__inner {
	max-width: 1180px;
	margin: 0 auto;
}

.hec-ubicacion-sizes__header {
	margin-bottom: 2.25rem;
	max-width: 34rem;
}

.hec-ubicacion-sizes__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.25rem;
}

.hec-ubicacion-sizes__item {
	padding: 1.5rem 1.25rem 1.6rem;
	border-top: 3px solid var(--hec-accent, #f47a20);
	background: #f7f5f2;
	transition: transform 0.25s ease, background-color 0.25s ease;
}

.hec-ubicacion-sizes__item:hover {
	transform: translateY(-3px);
	background: #f0ebe4;
}

.hec-ubicacion-sizes__m2 {
	display: block;
	margin-bottom: 0.65rem;
	font-family: var(--hec-font-heading, var(--hec-font));
	font-size: 1.65rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: #111;
}

.hec-ubicacion-sizes__name {
	display: block;
	margin-bottom: 0.45rem;
	font-size: 1.05rem;
	font-weight: 700;
}

.hec-ubicacion-sizes__desc {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.5;
	color: #555;
}

/* —— Zone —— */
.hec-ubicacion-zone {
	padding: clamp(4rem, 8vw, 6rem) 1.5rem;
	color: #fff;
	background: var(--hec-grad-from, #e86a12);
}

.hec-ubicacion-zone__inner {
	max-width: 820px;
	margin: 0 auto;
	text-align: center;
}

.hec-ubicacion-zone__eyebrow {
	margin: 0 0 0.65rem;
	font-size: 0.95rem;
	font-weight: 600;
	opacity: 0.92;
}

.hec-ubicacion-zone__title {
	margin: 0 0 1.1rem;
	font-family: var(--hec-font-heading, var(--hec-font));
	font-size: clamp(1.85rem, 3.8vw, 2.85rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.15;
	color: #fff;
}

.hec-ubicacion-zone__text {
	margin: 0;
	font-size: 1.08rem;
	line-height: 1.7;
	opacity: 0.95;
}

/* —— Mapa —— */
.hec-ubicacion-map {
	background: #f4f4f4;
}

.hec-ubicacion-map__caption {
	max-width: 1180px;
	margin: 0 auto;
	padding: 2.75rem 1.5rem 1.35rem;
	text-align: center;
}

.hec-ubicacion-map__frame {
	position: relative;
	width: 100%;
	min-height: clamp(320px, 52vh, 520px);
	overflow: hidden;
	background: #e0e0e0;
}

.hec-ubicacion-map__frame iframe {
	display: block;
	width: 100%;
	height: clamp(320px, 52vh, 520px);
	border: 0;
	filter: grayscale(0.15) contrast(1.02);
}

/* —— CTA band —— */
.hec-ubicacion-cta {
	padding: clamp(3.25rem, 6vw, 4.5rem) 1.5rem;
	background: #111;
	color: #fff;
}

.hec-ubicacion-cta__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.75rem 2.5rem;
	max-width: 1180px;
	margin: 0 auto;
}

.hec-ubicacion-cta__eyebrow {
	margin: 0 0 0.45rem;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--hec-accent, #f47a20);
}

.hec-ubicacion-cta__title {
	margin: 0 0 0.55rem;
	font-family: var(--hec-font-heading, var(--hec-font));
	font-size: clamp(1.55rem, 3vw, 2.15rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.15;
	color: #fff;
}

.hec-ubicacion-cta__text {
	margin: 0;
	max-width: 40rem;
	font-size: 1rem;
	line-height: 1.55;
	opacity: 0.85;
}

.hec-ubicacion-cta__btn {
	flex-shrink: 0;
	background: #fff !important;
	color: #111 !important;
}

.hec-ubicacion-cta__btn:hover,
.hec-ubicacion-cta__btn:focus {
	background: #f3f3f3 !important;
	color: #111 !important;
}

/* —— Mini directorio por zona —— */
.hec-ubicacion-directory {
	padding: clamp(3.5rem, 7vw, 5.5rem) 1.5rem;
	background: #f7f7f8;
}

.hec-ubicacion-directory--others {
	background: #fff;
}

.hec-ubicacion-directory__inner {
	max-width: 1180px;
	margin: 0 auto;
}

.hec-ubicacion-directory__header {
	max-width: 720px;
	margin: 0 auto 2.25rem;
	text-align: center;
}

.hec-ubicacion-directory__desc {
	margin: 0.85rem 0 0;
	color: #5b6472;
	font-size: 1rem;
	line-height: 1.7;
}

.hec-ubicacion-directory__list {
	display: grid;
	gap: 1rem;
}

.hec-ubicacion-directory__item {
	position: relative;
	display: grid;
	grid-template-columns: 140px minmax(0, 1fr) auto;
	align-items: center;
	gap: 1.25rem;
	padding: 1.1rem;
	border: 1px solid rgba(17, 17, 17, 0.08);
	border-radius: 1rem;
	background: #fff;
	color: inherit;
	text-decoration: none;
	box-shadow: 0 10px 30px rgba(17, 17, 17, 0.04);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.hec-ubicacion-directory__cover {
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: inherit;
}

.hec-ubicacion-directory__thumb,
.hec-ubicacion-directory__body,
.hec-ubicacion-directory__action,
.hec-ubicacion-directory__phone {
	position: relative;
	z-index: 2;
}

.hec-ubicacion-directory--others .hec-ubicacion-directory__item {
	background: #fbfbfc;
}

.hec-ubicacion-directory__action {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.85rem 1.1rem;
	border-radius: 999px;
	background: #111;
	color: #fff;
	font-size: 0.86rem;
	font-weight: 600;
	white-space: nowrap;
	text-decoration: none;
}

.hec-ubicacion-directory__item:not(.is-current):hover,
.hec-ubicacion-directory__item:not(.is-current):focus-within {
	transform: translateY(-2px);
	border-color: rgba(244, 122, 32, 0.28);
	box-shadow: 0 16px 40px rgba(17, 17, 17, 0.08);
}

.hec-ubicacion-directory__item:not(.is-current):hover .hec-ubicacion-directory__action,
.hec-ubicacion-directory__item:not(.is-current):focus-within .hec-ubicacion-directory__action {
	background: var(--hec-accent, #f47a20);
}

.hec-ubicacion-directory__thumb {
	width: 140px;
	height: 110px;
	border-radius: 0.85rem;
	background-size: cover;
	background-position: center;
	background-color: #1a1a1a;
}

.hec-ubicacion-directory__thumb--fallback {
	background-image:
		radial-gradient(circle at 20% 20%, rgba(244, 122, 32, 0.35), transparent 45%),
		linear-gradient(145deg, #2a2118 0%, #121212 100%);
}

.hec-ubicacion-directory__body {
	min-width: 0;
}

.hec-ubicacion-directory__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.55rem;
	margin-bottom: 0.45rem;
}

.hec-ubicacion-directory__zone {
	display: inline-flex;
	padding: 0.28rem 0.65rem;
	border-radius: 999px;
	background: rgba(244, 122, 32, 0.1);
	color: var(--hec-accent, #f47a20);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hec-ubicacion-directory__badge {
	display: inline-flex;
	padding: 0.28rem 0.65rem;
	border-radius: 999px;
	background: #111;
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.hec-ubicacion-directory__name {
	margin: 0 0 0.45rem;
	font-family: var(--hec-font-heading, var(--hec-font));
	font-size: clamp(1.15rem, 2vw, 1.45rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.2;
	color: #111;
}

.hec-ubicacion-directory__excerpt {
	margin: 0 0 0.75rem;
	color: #5b6472;
	font-size: 0.94rem;
	line-height: 1.6;
}

.hec-ubicacion-directory__meta {
	display: grid;
	gap: 0.45rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hec-ubicacion-directory__meta li {
	display: grid;
	gap: 0.15rem;
}

.hec-ubicacion-directory__label {
	color: #8a93a0;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hec-ubicacion-directory__value {
	color: #2a3140;
	font-size: 0.92rem;
	line-height: 1.45;
	text-decoration: none;
}

a.hec-ubicacion-directory__value:hover,
a.hec-ubicacion-directory__value:focus {
	color: var(--hec-accent, #f47a20);
}

.hec-ubicacion-directory__item.is-current {
	border-color: rgba(244, 122, 32, 0.45);
	box-shadow: 0 16px 40px rgba(244, 122, 32, 0.1);
}

/* —— Relacionadas (legacy) —— */
.hec-ubicacion-related {
	padding: clamp(3.5rem, 7vw, 5.5rem) 1.5rem;
	background: #fff;
}

.hec-ubicacion-related__inner {
	max-width: 1180px;
	margin: 0 auto;
}

.hec-ubicacion-related__header {
	margin-bottom: 2.25rem;
	text-align: center;
}

.hec-ubicacion-related__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
}

.hec-ubicacion-related__item {
	position: relative;
	display: block;
	overflow: hidden;
	color: #fff;
	text-decoration: none;
	background: #1a1a1a;
	min-height: 280px;
}

.hec-ubicacion-related__media {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transition: transform 0.5s ease;
}

.hec-ubicacion-related__item:hover .hec-ubicacion-related__media,
.hec-ubicacion-related__item:focus .hec-ubicacion-related__media {
	transform: scale(1.06);
}

.hec-ubicacion-related__meta {
	position: absolute;
	inset: auto 0 0;
	z-index: 1;
	padding: 1.35rem;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
	display: grid;
	gap: 0.25rem;
}

.hec-ubicacion-related__cat {
	font-size: 0.8rem;
	opacity: 0.9;
}

.hec-ubicacion-related__name {
	font-family: var(--hec-font-heading, var(--hec-font));
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

@keyframes hec-ubi-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes hec-ubi-rise {
	from {
		opacity: 0;
		transform: translateY(14px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 1000px) {
	.hec-ubicacion-highlights__list,
	.hec-ubicacion-sizes__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.hec-ubicacion-info__inner {
		grid-template-columns: 1fr;
	}

	.hec-ubicacion-info__aside {
		position: static;
	}

	.hec-ubicacion-related__grid {
		grid-template-columns: 1fr;
	}

	.hec-ubicacion-directory__item {
		grid-template-columns: 1fr;
	}

	.hec-ubicacion-directory__thumb {
		width: 100%;
		height: 180px;
	}

	.hec-ubicacion-directory__action {
		justify-self: start;
	}
}

@media (max-width: 560px) {
	.hec-ubicacion-highlights__list,
	.hec-ubicacion-sizes__grid {
		grid-template-columns: 1fr;
	}

	.hec-ubicacion-hero {
		min-height: 70vh;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hec-ubicacion-hero,
	.hec-ubicacion-highlights__item,
	.hec-ubicacion-sizes__item,
	.hec-ubicacion-related__media {
		animation: none;
		transition: none;
	}
}
