/* ==========================================================================
   HIESOFT - Mapa de cobertura
   Colores de marca: #d11a2a (rojo), #0b0e27 (navy), #f4f6f9 (gris claro)
   ========================================================================== */

.hiesoft-cob {
	margin: 30px auto;
	max-width: 1100px;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	color: #2c3043;
}

/* --------------------------------------------------------------------------
   Tester de direcciones
   -------------------------------------------------------------------------- */

.hiesoft-cob__tester {
	background: #fff;
	border: 1px solid #e6e8ef;
	border-radius: 14px;
	padding: 26px 28px;
	box-shadow: 0 8px 24px rgba(11, 14, 39, .06);
	margin-bottom: 22px;
}

.hiesoft-cob__label {
	display: block;
	font-size: 21px;
	font-weight: 700;
	color: #0b0e27;
	margin-bottom: 14px;
	line-height: 1.3;
}

.hiesoft-cob__fila {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.hiesoft-cob__input {
	flex: 1 1 320px;
	min-width: 0;
	padding: 14px 16px;
	font-size: 16px;
	font-family: inherit;
	color: #0b0e27;
	background: #f4f6f9;
	border: 2px solid #e6e8ef;
	border-radius: 10px;
	transition: border-color .2s, background .2s;
}

.hiesoft-cob__input::placeholder {
	color: #8a8fa3;
}

.hiesoft-cob__input:focus {
	outline: none;
	background: #fff;
	border-color: #d11a2a;
}

.hiesoft-cob__boton {
	padding: 14px 28px;
	font-size: 16px;
	font-weight: 600;
	font-family: inherit;
	color: #fff;
	background: #d11a2a;
	border: none;
	border-radius: 10px;
	cursor: pointer;
	white-space: nowrap;
	transition: background .2s, transform .1s;
}

.hiesoft-cob__boton:hover {
	background: #b01523;
}

.hiesoft-cob__boton:active {
	transform: translateY(1px);
}

.hiesoft-cob__boton:disabled {
	background: #b8bcc9;
	cursor: not-allowed;
}

.hiesoft-cob__ayuda {
	font-size: 13px;
	color: #6b7085;
	margin: 10px 0 0;
}

/* --------------------------------------------------------------------------
   Tarjeta de resultado
   -------------------------------------------------------------------------- */

.hiesoft-cob__resultado {
	margin-top: 20px;
	padding: 20px 22px;
	border-radius: 12px;
	border-left: 5px solid #d11a2a;
	background: #f4f6f9;
}

.hiesoft-cob__resultado[hidden] {
	display: none;
}

.hiesoft-cob__resultado.is-error {
	border-left-color: #b8860b;
	background: #fdf8e8;
}

.hiesoft-cob__badge {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .07em;
	text-transform: uppercase;
	padding: 5px 11px;
	border-radius: 20px;
	margin-bottom: 10px;
}

.hiesoft-cob__badge--ftth {
	background: #d11a2a;
	color: #fff;
}

.hiesoft-cob__badge--wisp {
	background: #0b0e27;
	color: #fff;
}

.hiesoft-cob__badge--estudio {
	background: #8a8fa3;
	color: #fff;
}

.hiesoft-cob__zona {
	font-size: 21px;
	font-weight: 700;
	color: #0b0e27;
	margin: 0 0 6px;
	line-height: 1.3;
}

.hiesoft-cob__ubicacion {
	font-size: 14px;
	color: #6b7085;
	margin: 0 0 12px;
	word-break: break-word;
}

.hiesoft-cob__descripcion {
	font-size: 15px;
	line-height: 1.6;
	margin: 0 0 16px;
}

.hiesoft-cob__cta {
	display: inline-block;
	padding: 12px 24px;
	background: #d11a2a;
	color: #fff !important;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	border-radius: 9px;
	transition: background .2s;
}

.hiesoft-cob__cta:hover {
	background: #b01523;
}

/* --------------------------------------------------------------------------
   Mapa
   -------------------------------------------------------------------------- */

.hiesoft-cob__mapa-wrap {
	position: relative;
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid #e6e8ef;
	box-shadow: 0 8px 24px rgba(11, 14, 39, .06);
}

#hiesoft-cob-mapa {
	width: 100%;
	height: 520px;
	z-index: 1;
	background: #e8eaef;
}

@media (max-width: 768px) {
	#hiesoft-cob-mapa {
		height: 400px;
	}

	.hiesoft-cob__boton {
		width: 100%;
	}
}

.hiesoft-cob__leyenda {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	padding: 14px 20px;
	background: #fff;
	border-top: 1px solid #e6e8ef;
	font-size: 14px;
	color: #2c3043;
}

.hiesoft-cob__leyenda-item {
	display: flex;
	align-items: center;
	gap: 8px;
}

.hiesoft-cob__punto {
	width: 14px;
	height: 14px;
	border-radius: 3px;
	display: inline-block;
	flex-shrink: 0;
}

.hiesoft-cob__punto--ftth {
	background: #d11a2a;
}

.hiesoft-cob__punto--wisp {
	background: #0b0e27;
}

.hiesoft-cob__punto--estudio {
	background: #8a8fa3;
}

/* --------------------------------------------------------------------------
   Explicacion
   -------------------------------------------------------------------------- */

.hiesoft-cob__nota {
	margin-top: 34px;
	background: #fff;
	border: 1px solid #e6e8ef;
	border-radius: 14px;
	padding: 28px;
}

.hiesoft-cob__nota h2 {
	font-size: 24px;
	font-weight: 700;
	color: #0b0e27;
	margin: 0 0 16px;
}

.hiesoft-cob__nota p {
	font-size: 15px;
	line-height: 1.7;
	margin: 0 0 12px;
	color: #444a5c;
}

.hiesoft-cob__nota p:last-child {
	margin-bottom: 0;
}

.hiesoft-cob__nota .hiesoft-cob__aviso {
	margin: 20px 0 0;
	padding: 14px 16px;
	background: #f4f6fb;
	border-left: 3px solid #1f4fd8;
	border-radius: 0 8px 8px 0;
	font-size: 14px;
	color: #333a4d;
}

.hiesoft-cob__noscript {
	padding: 20px;
	background: #fdf8e8;
	border-radius: 10px;
	font-size: 15px;
	line-height: 1.6;
	margin: 0;
}

/* --------------------------------------------------------------------------
   Tooltip del mapa
   -------------------------------------------------------------------------- */

.hiesoft-cob__popup h3 {
	font-size: 16px;
	font-weight: 700;
	color: #0b0e27;
	margin: 0 0 6px;
}

.hiesoft-cob__popup p {
	font-size: 14px;
	line-height: 1.55;
	margin: 0 0 10px;
	color: #4a5062;
}

.hiesoft-cob__popup .hiesoft-cob__popup-tag {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	padding: 3px 9px;
	border-radius: 14px;
	color: #fff;
	margin-bottom: 8px;
}

/* Leaflet sobreescribe el zoom control con su estilo por defecto */
.leaflet-container {
	font-family: inherit;
}